Simp BMS

Topics concerning OEM and open source BMSes
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 »

Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt
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 »

mdrobnak wrote: Fri Oct 23, 2020 6:50 am
Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt
Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
Bratitude
Posts: 783
Joined: Thu Jan 02, 2020 7:35 pm
Location: Canada
Has thanked: 57 times
Been thanked: 170 times
Contact:

Re: Simp BMS

Post by Bratitude »

tom91 wrote: Fri Oct 23, 2020 9:24 am
mdrobnak wrote: Fri Oct 23, 2020 6:50 am
Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt
Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.
right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.
https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
P.S.Mangelsdorf
Posts: 770
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 95 times
Been thanked: 94 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
If I remember correctly, no because of the way the Chevy BMS slaves are addressed.

EDIT: Thought I posted this before the other replies, did not mean to be redundant
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
User avatar
bexander
Posts: 835
Joined: Tue Jun 16, 2020 6:00 pm
Location: Gothenburg, Sweden
Has thanked: 63 times
Been thanked: 89 times

Re: Simp BMS

Post by bexander »

Bratitude wrote: Fri Oct 23, 2020 10:57 am
tom91 wrote: Fri Oct 23, 2020 9:24 am
mdrobnak wrote: Fri Oct 23, 2020 6:50 am

It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt
Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.
right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.
May I suggest that the use of an extra CAN-controller+tranceiver should do the trick. No need for an extra micro controller.
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 »

bexander wrote: Fri Oct 23, 2020 3:25 pm
Bratitude wrote: Fri Oct 23, 2020 10:57 am
tom91 wrote: Fri Oct 23, 2020 9:24 am

Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.
right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.
May I suggest that the use of an extra CAN-controller+tranceiver should do the trick. No need for an extra micro controller.
If you want to re write the code to do this, feel free to do so.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
bexander
Posts: 835
Joined: Tue Jun 16, 2020 6:00 pm
Location: Gothenburg, Sweden
Has thanked: 63 times
Been thanked: 89 times

Re: Simp BMS

Post by bexander »

tom91 wrote: Fri Oct 23, 2020 5:04 pm
bexander wrote: Fri Oct 23, 2020 3:25 pm
Bratitude wrote: Fri Oct 23, 2020 10:57 am

right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.
May I suggest that the use of an extra CAN-controller+tranceiver should do the trick. No need for an extra micro controller.
If you want to re write the code to do this, feel free to do so.
Reading my post above again I realize that it did not come out right.
I do not have the knowledge to re write the code. I was only trying to suggest that it could be done with another CAN-controller but the firmware have to be adjusted accordingly.
I think what is done here is great, but even so, it can be improved further.
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 »

bexander wrote: Sat Oct 24, 2020 4:46 am
Reading my post above again I realize that it did not come out right.
I do not have the knowledge to re write the code. I was only trying to suggest that it could be done with another CAN-controller but the firmware have to be adjusted accordingly.
I think what is done here is great, but even so, it can be improved further.
Ofcourse anything can be improved and changed to meet different requirements. This is why I am working, all be it slowly, on a V3 with 3 can busses.
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 »

Has anyone had an issue with charge input not working, I have 12v in J5 pin 6 but nothing comes up on input in debug. Not sure if I've set something up wrong, no errors and input for drive mode works fine.
Attachments
Screenshot (11).png
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Simp BMS

Post by joromy »

I think you have an old manual, d/l ver. 0.9 (or newer)
It should be pin 2 IN2.

Edit:
Sorry wrong again, you have the right pin!!!
There was swapped pins in old manual it's fixed i new manuals.
conn5.JPG
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
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 »

Maybe input has pull up. Test if you need to show it GND? Some of the pins are active high and some active low.
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Simp BMS

Post by joromy »

Don't think that is necessary, the inputs are opto inputs and active high.
More important is to connect the right pin ;)

Edit:
Sorry wrong again, you have the right pin!!!
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
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 »

Hmmmm. where do you get that manual from? I'm using manual v0.23 off the simpbms GitHub. Pin2 is alt charge current in that table.
Attachments
Screenshot_20201108-180317.png
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 »

Pin 6 is charge enable / AC present.

Have a measure on the opto coupler to see if it changes.

Please ensure you are running the latest firmware.
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 »

Thanks Tom, on a closer look I found the opto coupler had a dry joint. I've resoldered and flashed the latest firmware. I'll hopefully be able to test after work tonight. (Australia time)
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 noticed in Dusty4's output the same thing I see - 0V for middle cells...Is this a known issue? And is it simply ignored by the ignore cell with voltage less than threshold setting?
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 »

mdrobnak wrote: Mon Nov 09, 2020 10:15 pm I noticed in Dusty4's output the same thing I see - 0V for middle cells...Is this a known issue? And is it simply ignored by the ignore cell with voltage less than threshold setting?
The reason for this is purely down to can decoding. I do not map it exactly but do it as "simple" as possible. Some slaves might skip one or two fields and leave those at "0.0 V", but not to worry the code does not care as long as your cell count says the amount of cells connected you are fine.
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 »

Hey Tom, I've got it hooked up again and inputs work correctly now :) . I've got a problem with the tc charger I'm using, the bms is in charge mode, plug in the charger and I get red,green,red led (bad communication). I see in the serial terminal the expansion module is set to 500kbps (I'm unable to change it) and the charger has the option of 250kbps or 500kbps. I'm not sure what the charger would be set at, and I got very little documentation with it. What is your thought?
Attachments
Screenshot (20).png
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 »

Dusty4 wrote: Sat Nov 14, 2020 11:06 am Hey Tom, I've got it hooked up again and inputs work correctly now :) . I've got a problem with the tc charger I'm using, the bms is in charge mode, plug in the charger and I get red,green,red led (bad communication). I see in the serial terminal the expansion module is set to 500kbps (I'm unable to change it) and the charger has the option of 250kbps or 500kbps. I'm not sure what the charger would be set at, and I got very little documentation with it. What is your thought?
What are your charger settings? Do you have any can sniffer tool to check the data coming out of the charger without the bms attached, you just need to give it AC voltage for it to start spitting out canbus.

I do not recall still having an issue with a canbus expansion module, are you on the latest firmware?
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 »

Charger setting in pic, firmware 311020. I should be able to check CAN data tomorrow morning.
Attachments
Screenshot (21).png
Screenshot (21).png (9.17 KiB) Viewed 3106 times
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 »

Good news Tom, This morning I've plugged the CAN module into a serial adaptor and I was able to change the baud rate to 250kbps, I was then able to change the expansion setting in the serial terminal to 250kbps. Connected it all up and it's happily charging👍 Thanks for your help
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 »

sorry to be a pain Tom, my display isn't displaying any data from the BMS. how can I check if the BMS is sending anything? Or would it be worth reflashing the display?
Attachments
PXL_20201108_070800824_crop_17.jpg
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 »

If absolutely nothing is shown, usually reversing RX and TX wires might be the fix
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 »

Yeah, that was my first thought.. no difference :?
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 »

Try flashing the display.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Post Reply