Simp BMS

Topics concerning OEM and open source BMSes
Dusty4
Posts: 83
Joined: Tue Dec 25, 2018 12:41 pm
Location: Western Australia
Has thanked: 11 times
Been thanked: 7 times

Re: Simp BMS

Post by Dusty4 »

tom91 wrote: Sun Nov 15, 2020 2:38 pm Try flashing the display.
Flashed the display yesterday Tom, still nothing mate 👎
Dusty4
Posts: 83
Joined: Tue Dec 25, 2018 12:41 pm
Location: Western Australia
Has thanked: 11 times
Been thanked: 7 times

Re: Simp BMS

Post by Dusty4 »

I found a resolution to my problem today, a new screen got delivered in the mail. Flashed the screen and plugged in. Worked straight away. 👍👍
User avatar
BogdanT
Posts: 9
Joined: Thu Dec 17, 2020 7:52 am
Location: Romania

Re: Simp BMS

Post by BogdanT »

Jumping aboard this train. Is anyone using Volt/Ampera + SIMP BMS up for some testing? I noticed that the balancing code on the SIMP is not ok, and would like to push a patch but not before testing on some different setups. Shoot me a PM if balancing is not working on your side and would like to test.
User avatar
Boxster EV
Posts: 434
Joined: Fri Jul 26, 2019 9:32 pm
Location: UK
Has thanked: 35 times
Been thanked: 26 times

Re: Simp BMS

Post by Boxster EV »

BogdanT wrote: Thu Dec 17, 2020 8:17 am Jumping aboard this train. Is anyone using Volt/Ampera + SIMP BMS up for some testing? I noticed that the balancing code on the SIMP is not ok, and would like to push a patch but not before testing on some different setups. Shoot me a PM if balancing is not working on your side and would like to test.
How do you know it’s not balancing (looking at display or debug)?
Porsche 986 powered by a Tesla large drive unit. Backwards. Build documented here and Instagram @tesla_porsche here.
User avatar
BogdanT
Posts: 9
Joined: Thu Dec 17, 2020 7:52 am
Location: Romania

Re: Simp BMS

Post by BogdanT »

No, neither debug or display will show if it's actually working.

Checking the code I noticed that balancing on Volt/Ampera was never enabled (bug) - I sent it to Tom and he reactivated the balancing commands 2 days ago.
Then, when I tested, it froze my BICMs. I checked the balance code and noticed that it doesn't send the data as per the spec. Further testing revealed some bugs in the voltage decode method.
I'm chatting to Tom but as he doesn't have a test rig I need to try and sort it out before I send the code to him to merge.

On my side it's balancing now, and I'm just waiting to see if the BICMs can discharge 'all' the cells, or if I need to trigger that for odd/even cells sequentially. Testing the balancing takes some time (12hours to discharge ~30mV)
User avatar
mdrobnak
Posts: 692
Joined: Thu Mar 05, 2020 5:08 pm
Location: Colorado, United States
Has thanked: 1 time
Been thanked: 5 times

Re: Simp BMS

Post by mdrobnak »

I have the Volt BICMs but have only wired up module 4. I have the Chrysler Pacifica / LG cells that I will being using it with. I hope to be further along with battery testing within a month. Need to get my Rust ISA shunt library written first.
User avatar
BogdanT
Posts: 9
Joined: Thu Dec 17, 2020 7:52 am
Location: Romania

Re: Simp BMS

Post by BogdanT »

So far so good on my side. Balanced to 15mV now back to charging.
I do see some modules that report a constant temperature (17C)... Maybe the sensors are broken?
Attachments
2020-12-17 21_16_01-[offline] (Teensy).png
User avatar
Boxster EV
Posts: 434
Joined: Fri Jul 26, 2019 9:32 pm
Location: UK
Has thanked: 35 times
Been thanked: 26 times

Re: Simp BMS

Post by Boxster EV »

BogdanT wrote: Thu Dec 17, 2020 7:18 pm So far so good on my side. Balanced to 15mV now back to charging.
I do see some modules that report a constant temperature (17C)... Maybe the sensors are broken?
Good work. Care to share the changes you’ve made to the code?
Porsche 986 powered by a Tesla large drive unit. Backwards. Build documented here and Instagram @tesla_porsche here.
User avatar
BogdanT
Posts: 9
Joined: Thu Dec 17, 2020 7:52 am
Location: Romania

Re: Simp BMS

Post by BogdanT »

I'll ping you in 1-2 days, it's a bit of a mess now as I got carried away and updated a bunch on the program logic + the display. it'll probably require SIMP & display update.
Dusty4
Posts: 83
Joined: Tue Dec 25, 2018 12:41 pm
Location: Western Australia
Has thanked: 11 times
Been thanked: 7 times

Re: Simp BMS

Post by Dusty4 »

BogdanT wrote: Sun Dec 20, 2020 5:02 pm I'll ping you in 1-2 days, it's a bit of a mess now as I got carried away and updated a bunch on the program logic + the display. it'll probably require SIMP & display update.
Hi BogdanT, how did you get on with this update? I have noticed that mine is not balancing, I can test on my setup if you like.
tom91
Posts: 1305
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 102 times
Been thanked: 216 times

Re: Simp BMS

Post by tom91 »

There is a Chevy volt update to the firmware to correct balancing issues.

It can be found here: https://github.com/tomdebree/AmperaBatt ... /VoltBMSV2
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Dusty4
Posts: 83
Joined: Tue Dec 25, 2018 12:41 pm
Location: Western Australia
Has thanked: 11 times
Been thanked: 7 times

Re: Simp BMS

Post by Dusty4 »

Cool, thanks Tom. 👍
User avatar
BogdanT
Posts: 9
Joined: Thu Dec 17, 2020 7:52 am
Location: Romania

Re: Simp BMS

Post by BogdanT »

I'm currently testing some updates on the balance process (only Volt/Ampera version) with Paul (speed in particular). Can you share your results with the main branch software?
PS: if you want to test the updates send me a PM
jon volk
Posts: 572
Joined: Wed Apr 10, 2019 7:47 pm
Location: Connecticut
Been thanked: 2 times

Re: Simp BMS

Post by jon volk »

BogdanT wrote: Tue Jan 05, 2021 10:19 pm I'm currently testing some updates on the balance process (only Volt/Ampera version) with Paul (speed in particular). Can you share your results with the main branch software?
PS: if you want to test the updates send me a PM
I pulled your latest last night and after a couple mods for my hardware am happy to report the balancing is working quite well. One pack has always had a 165mV delta. Its down to 75 after around 22hours.
Formerly 92 E30 BMW Cabrio with Tesla power
User avatar
BogdanT
Posts: 9
Joined: Thu Dec 17, 2020 7:52 am
Location: Romania

Re: Simp BMS

Post by BogdanT »

Awesome! Could you also look out for something I noticed with Paul?

Balancing process seems to drain the other cells as well (as of now assumed to be due to constant voltage sampling @200ms during balancing). At 100mV discharged (by balance) from the top cells you should also see around 30mV discharged from all other cells.

If that is consistent across various setups I'm thinking of starting the balance process ONLY on AC present, and fully stop voltage sampling when BMS is in "Ready" state. This is because even in "Ready" without balancing, the current code is still sampling voltages every second, and that might be risky if the car sits for a couple of months with the BMS on.
jon volk
Posts: 572
Joined: Wed Apr 10, 2019 7:47 pm
Location: Connecticut
Been thanked: 2 times

Re: Simp BMS

Post by jon volk »

I would have to make it a point to log over a set period with a 12v trickle charger plugged in. My 12v battery is just about done so my car kicks the dc/dc on a bunch of times throughout that day lately. So there will be some drain present from that.
Formerly 92 E30 BMW Cabrio with Tesla power
User avatar
Boxster EV
Posts: 434
Joined: Fri Jul 26, 2019 9:32 pm
Location: UK
Has thanked: 35 times
Been thanked: 26 times

Re: Simp BMS

Post by Boxster EV »

My pack was horribly out of balance to the tune of like 300mV at full charge.

After some testing with Bogdan over Christmas the new code is balancing at >20mV per day. Delta is now tiny. He’s also introduced some refined logic so that charging will not be allowed until balancing criteria has been met.

I’ll report back as further testing progresses.

Top work, even if I do now have a Trabant as a splash screen upon starting the display.😉

Would be great to figure out how to get the Teensy to sleep when it’s not doing anything. I’m running three of the buggers in my car and the 12v battery is not impressed.

Cheers,
Paul
Porsche 986 powered by a Tesla large drive unit. Backwards. Build documented here and Instagram @tesla_porsche here.
jon volk
Posts: 572
Joined: Wed Apr 10, 2019 7:47 pm
Location: Connecticut
Been thanked: 2 times

Re: Simp BMS

Post by jon volk »

Pretty happy with the results. This pack was 165mV out last week.
Attachments
E0F0BBAC-4146-4D13-90AE-85D464FC8457.jpeg
Formerly 92 E30 BMW Cabrio with Tesla power
tom91
Posts: 1305
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 102 times
Been thanked: 216 times

Re: Simp BMS

Post by tom91 »

jon volk wrote: Wed Jan 20, 2021 4:29 pm Pretty happy with the results. This pack was 165mV out last week.
Jon, thanks for the feedback. The balancing code has been rolled into my main branch already.

If anyone else finds quirks in the code / missing items they have a fix for please let me know and I can implement these in the main branches for everyone to enjoy.

Example: I have support for the Isa Shunt running stock canbus configuration, but not pushed to all branches yet until someone wants it and can test it.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
jon volk
Posts: 572
Joined: Wed Apr 10, 2019 7:47 pm
Location: Connecticut
Been thanked: 2 times

Re: Simp BMS

Post by jon volk »

I could probably do some ISA testing. I was going to roll the ISA into the next iteration of my main VCU, but could utilize it from the BMS level.

The current BMS code that Im running stripped out all but the necessities so Ill likely need to adapt it but can validate the functionality.
Formerly 92 E30 BMW Cabrio with Tesla power
User avatar
rstevens81
Posts: 352
Joined: Sun Dec 22, 2019 10:36 am
Location: Bristol, UK
Has thanked: 23 times
Been thanked: 92 times

Re: Simp BMS

Post by rstevens81 »

Hi tom,

I have 2x VW (passat) battery packs for my project, I have now managed to get the modules to talk to your teensy (3.2/3.6) quite happily.
[I don't want to digress about the issues of eddies with dual pack setups, am trying to find ways to be productive on the project without spending any money in the current climate :) ]
I understand that Simp BMS can only (currently) talk to a maximum of 1 full pack due to the limitation of CAN ID's.
My Intention was to use a Arduino Due / ESP32 to act as a CAN Man in the middle to basic offset the ID's from the second pack to overcome the ID Limit (I know i would require to mod the firmware), the idea being that if i got it work it could be useful to others without messing with the Simp BMS hardware (Which i would do if i based it around a teensy 3.6).
So i started to look at your code for get a better understanding of things, noticed something interesting ...
you seem to have already added code for extenders? there seems to be an entire extra battery packs worth of id's is this a previous attempt to use a second battery pack using the serial expansion? (there seems to be a lot of serial expansion code commented out).



For anyone reading this this only seems to apply to the VWBMS code

Code: Select all

    ///////////////// one extender increment//////////
    
    case (0x1D0):
      CMU = 9;
      Id = 0;
      break;
    case (0x1D1):
      CMU = 9;
      Id = 1;
      break;
    case (0x1D2):
      CMU = 9;
      Id = 2;
      break;

    case (0x1D4):
      CMU = 10;
      Id = 0;
      break;
    case (0x1D5):
      CMU = 10;
      Id = 1;
      break;
    case (0x1D6):
      CMU = 10;
      Id = 2;
      break;
    case (0x1D8):
      CMU = 11;
      Id = 0;
      break;
    case (0x1D9):
      CMU = 11;
      Id = 1;
      break;
    case (0x1DA):
      CMU = 11;
      Id = 2;
      break;
    case (0x1DC):
      CMU = 12;
      Id = 0;
      break;
    case (0x1DD):
      CMU = 12;
      Id = 1;
      break;
    case (0x1DE):
      CMU = 12;
      Id = 2;
      break;

    case (0x1E0):
      CMU = 13;
      Id = 0;
      break;
    case (0x1E1):
      CMU = 13;
      Id = 1;
      break;
    case (0x1E2):
      CMU = 13;
      Id = 2;
      break;

    case (0x1E4):
      CMU = 14;
      Id = 0;
      break;
    case (0x1E5):
      CMU = 14;
      Id = 1;
      break;
    case (0x1E6):
      CMU = 14;
      Id = 2;
      break;

    case (0x1E8):
      CMU = 15;
      Id = 0;
      break;
    case (0x1E9):
      CMU = 15;
      Id = 1;
      break;
    case (0x1EA):
      CMU = 15;
      Id = 2;
      break;

    case (0x1EC):
      CMU = 16;
      Id = 0;
      break;
    case (0x1ED):
      CMU = 16;
      Id = 1;
      break;
    case (0x1EE):
      CMU = 16;
      Id = 2;
      break;


    ///////////////////////standard ids////////////////
    

    case (0x1B0):
      CMU = 1;
      Id = 0;
      break;
    case (0x1B1):
      CMU = 1;
      Id = 1;
      break;
    case (0x1B2):
      CMU = 1;
      Id = 2;
      break;

    case (0x1B4):
      CMU = 2;
      Id = 0;
      break;
    case (0x1B5):
      CMU = 2;
      Id = 1;
      break;
    case (0x1B6):
      CMU = 2;
      Id = 2;
      break;

    case (0x1B8):
      CMU = 3;
      Id = 0;
      break;
    case (0x1B9):
      CMU = 3;
      Id = 1;
      break;
    case (0x1BA):
      CMU = 3;
      Id = 2;
      break;

    case (0x1BC):
      CMU = 4;
      Id = 0;
      break;
    case (0x1BD):
      CMU = 4;
      Id = 1;
      break;
    case (0x1BE):
      CMU = 4;
      Id = 2;
      break;

    case (0x1C0):
      CMU = 5;
      Id = 0;
      break;
    case (0x1C1):
      CMU = 5;
      Id = 1;
      break;
    case (0x1C2):
      CMU = 5;
      Id = 2;
      break;

    case (0x1C4):
      CMU = 6;
      Id = 0;
      break;
    case (0x1C5):
      CMU = 6;
      Id = 1;
      break;
    case (0x1C6):
      CMU = 6;
      Id = 2;
      break;

    case (0x1C8):
      CMU = 7;
      Id = 0;
      break;
    case (0x1C9):
      CMU = 7;
      Id = 1;
      break;
    case (0x1CA):
      CMU = 7;
      Id = 2;
      break;

    case (0x1CC):
      CMU = 8;
      Id = 0;
      break;
    case (0x1CD):
      CMU = 8;
      Id = 1;
      break;
    case (0x1CE):
      CMU = 8;
      Id = 2;
      break;
Rule 1 of EV Club is don't buy a rust bucket....
Which rule does everyone forget 🤪
tom91
Posts: 1305
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 102 times
Been thanked: 216 times

Re: Simp BMS

Post by tom91 »

rstevens81 wrote: Wed Jan 20, 2021 10:33 pm So i started to look at your code for get a better understanding of things, noticed something interesting ...
you seem to have already added code for extenders? there seems to be an entire extra battery packs worth of id's is this a previous attempt to use a second battery pack using the serial expansion? (there seems to be a lot of serial expansion code commented out).
Correct this is in the VW code, however the canbridge used in testing did not give consistent enough results. So if you want to do some testing you can enable the sections relation to the additional Ids.

The biggest down side of the VW code right now is the fact balancing has not been figured out yet.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
boekel
Posts: 110
Joined: Mon Nov 25, 2019 4:37 pm
Has thanked: 2 times
Been thanked: 11 times

Re: Simp BMS

Post by boekel »

about multiple VW packs: I've experienced heavily unbalanced modules when using a CANbus brigde to offset addresses. Not sure what happened but might have to do with the modules seeing those messages and doing strange things...
arber333
Posts: 3261
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 232 times
Contact:

Re: Simp BMS

Post by arber333 »

boekel wrote: Sun Jan 31, 2021 10:01 pm about multiple VW packs: I've experienced heavily unbalanced modules when using a CANbus bridge to offset addresses. Not sure what happened but might have to do with the modules seeing those messages and doing strange things...
Hm... what if you would use and connect those cells in paralel modules with some 2.5mm2 wires? That should stabilise individual cells inside parallel modules. Then you only need a single BMS circuit? Can you get to the top(sides) of the cells? There should be bolts to connect to.
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Simp BMS

Post by Ev8 »

I’m trying to do the same thing with bmw phev packs, I currently have 3 whole packs and am going to run into address limits, I had thought about paralleling cell taps but I would rather use all 15 slaves if possible, I suppose the other way would be run 3 complete simp bms. CAN is still new to me so creating a way of offsetting addresses is beyond my skill set!
Post Reply