Peugeot e-208 CATL modules BMS interface  [SOLVED]

Topics concerning OEM and open source BMSes
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

Has any work been done to interface to the BMS on these?

CATL Battery Module 2P6S 2.74kWh 21.9v 2737Wh

taken from Peugeot e-208
tom91
Posts: 1274
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 97 times
Been thanked: 204 times

Re: Peugeot e-208 CATL modules BMS interface

Post by tom91 »

These modules do not have any BMS system in the modules. Or are you talking about the BMS ecus?
Founder Volt Influx https://www.voltinflux.com/
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

I assumed all manufacturers where putting the bms on the modules now and saw some advertised on eBay, which stated bms on board
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

These CATL modules are using a MAX17823B chip.
Data sheet is available for it seems to be a dedicated BMS chip.
Looking at the loom its wired in a daisy chain.

Has anyone interfaced to these before ?
Might just save me some work

See images attached
Attachments
IMG_3504.PNG
IMG_3506.jpg
IMG_3512.jpg
User avatar
VWJoe
Posts: 55
Joined: Wed Feb 16, 2022 8:39 am
Has thanked: 7 times
Been thanked: 9 times

Re: Peugeot e-208 CATL modules BMS interface

Post by VWJoe »

Hi Chris,

Did you get any further with these batteries?
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

Yes they use a max17823 chips which other manufacture's have used, There is a max17841 interface chip which make interfacing allot easier. data sheets arfe easy avala ble if you google the chip numbers.

Also have a read through this
https://openinverter.org/forum/viewtopi ... 335#p20335

I got one of the interface boards using the max17841 developed by 'bexander' and 'Clanarn'. The base code used was from 'bexander'

I have comm's to all 13 of the packs i have in the pack i have built for my proiject. i am in the process of intergrating the code into SIMBMS.

It appears the different manufacturer's are using the same chip even different battery configurations as this chip can monitor upto 12 cells.
User avatar
VWJoe
Posts: 55
Joined: Wed Feb 16, 2022 8:39 am
Has thanked: 7 times
Been thanked: 9 times

Re: Peugeot e-208 CATL modules BMS interface

Post by VWJoe »

Thank for the info, good to hear you got it working with the OEM boards. I will see about getting an interface board.

If possible as you have the same batteries, do you have the pinouts for the batteries to hand.

Thanks
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

I am just away on holiday but can supply the pin out when I get back. I asked the breaker to supply the comms cable from the donor car, small things like that can really help
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

looking at the connecter starting pin 1 top left, 6 top right ,7 bottom left, 12 bottom right
pin 10 TX1, pin5 TX1
pin 6 RX1, pin12 RX10
Pin1 TX2 (next module), pin7 TX2 (next module)
Pin3 RX2 (next module), pin8 RX2(next module).
to daisy chain modules:
pin 1 connect to pin 12 of the next board
pin 7 connect to pin6 of the next board
pin3 connect to pin10 of the next board
pin8 connect to pin 5 of the next board
repeat for the number of modules you have then terminate last module by connecting pin1 to pin 8 and pin3 to pin7.
to give you a quick check measure with a multi meter if you have the correct tx pins they will show up as low resistance as they use a isolating transformer to tx the output signal this shows up as low résistance on a multi meter.
User avatar
VWJoe
Posts: 55
Joined: Wed Feb 16, 2022 8:39 am
Has thanked: 7 times
Been thanked: 9 times

Re: Peugeot e-208 CATL modules BMS interface

Post by VWJoe »

Thank Chris, most helpful
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Peugeot e-208 CATL modules BMS interface

Post by EV_Builder »

Would there be interest if i would realize an nice module with housing for this interface?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Joes
Posts: 2
Joined: Tue Jun 21, 2022 9:06 pm
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by Joes »

Hello
I have a complete e208 battery pack and wanting to use it with my victron setup so i am after something like the Simpbms, i am not that good with Arduino IDE but i can design, manufactured, assembled PCB through my work, so if i can be any help let me know or i would be interested in what you have.

Thanks Joe
User avatar
VWJoe
Posts: 55
Joined: Wed Feb 16, 2022 8:39 am
Has thanked: 7 times
Been thanked: 9 times

Re: Peugeot e-208 CATL modules BMS interface

Post by VWJoe »

Hi Joe,
Good choice of batteries, one advantage of these batteries is they have a build-in balancing circuit using the MAX17823B chip. This is then controlled by a Master board using a MAX17841B chip.
I got a board from Clanarn, but I'm not sure if he has any left, but the data sheet can be found here
https://datasheets.maximintegrated.com/ ... 17841B.pdf and it should not be too difficult to make up a board if you got the facilities.
I'm at the stage of writing coding for the chip, I'm using 16 modules. Just using it to monitor voltage, balancing, and warnings. SOC will be via the VCU.
Early days for me too, but look up into this post a couple of links may help you.

Kind regards,
Joe
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

Joes wrote: Tue Jun 21, 2022 9:22 pm Hello
I have a complete e208 battery pack and wanting to use it with my victron setup so i am after something like the Simpbms, i am not that good with Arduino IDE but i can design, manufactured, assembled PCB through my work, so if i can be any help let me know or i would be interested in what you have.

Thanks Joe
Hi Joe
There's a few people around that had developed PCB's Around the SIMPBMS (with CAN interface's) but no one has yet integrated the MAX 17841 chip, i am using a PCB board from 'aot93' he has based it around the SIMPBMS (teensy 3.2 processor) so it can us the code but most of the board can be populated using cheap boards from ebay that are just soldered in place. but as it was not designed to have the max chip so i have had to piggy back 'Clanarn's board onto it. So it would be ideal if some could make a PCB with the MAX chip. I think there is not so many people using these yet but it may grow as the battery's become easier to get hold of so not sure how much interest you will get.
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Peugeot e-208 CATL modules BMS interface

Post by EV_Builder »

EV_Builder wrote: Mon Jun 13, 2022 9:12 am Would there be interest if i would realize an nice module with housing for this interface?
Does someone have a slave board for me?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
User avatar
VWJoe
Posts: 55
Joined: Wed Feb 16, 2022 8:39 am
Has thanked: 7 times
Been thanked: 9 times

Re: Peugeot e-208 CATL modules BMS interface

Post by VWJoe »

Chris - I notices that you have had one of the boards off one of the batteries, did you work out what cells contact to what pins. Is it a straight C0 to C6 or are they gaps? Also, do the batteries have one or two thermistors. Thanks
User avatar
VWJoe
Posts: 55
Joined: Wed Feb 16, 2022 8:39 am
Has thanked: 7 times
Been thanked: 9 times

Re: Peugeot e-208 CATL modules BMS interface

Post by VWJoe »

EV_Builder wrote: Fri Jun 24, 2022 5:10 pm
EV_Builder wrote: Mon Jun 13, 2022 9:12 am Would there be interest if i would realize an nice module with housing for this interface?
Does someone have a slave board for me?
Still, early days for these as I think the model only went on sale late year.
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

VWJoe wrote: Fri Jun 24, 2022 6:29 pm Chris - I notices that you have had one of the boards off one of the batteries, did you work out what cells contact to what pins. Is it a straight C0 to C6 or are they gaps? Also, do the batteries have one or two thermistors. Thanks
Yes these modules use the first 6, although the code I have written auto detects and can handle any config, I have the die temp working and a reading the thermistors the first thermistor I get a value but does not seem like a correct value I need to check the calculations. The second I am just getting 0.
User avatar
VWJoe
Posts: 55
Joined: Wed Feb 16, 2022 8:39 am
Has thanked: 7 times
Been thanked: 9 times

Re: Peugeot e-208 CATL modules BMS interface

Post by VWJoe »

chris01290 wrote: Fri Jun 24, 2022 7:30 pm
VWJoe wrote: Fri Jun 24, 2022 6:29 pm Chris - I notices that you have had one of the boards off one of the batteries, did you work out what cells contact to what pins. Is it a straight C0 to C6 or are they gaps? Also, do the batteries have one or two thermistors. Thanks
Yes these modules use the first 6, although the code I have written auto detects and can handle any config, I have the die temp working and a reading the thermistors the first thermistor I get a value but does not seem like a correct value I need to check the calculations. The second I am just getting 0.
Could you post your code and I will have a look at the calculation
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

VWJoe wrote: Sat Jun 25, 2022 8:39 am
chris01290 wrote: Fri Jun 24, 2022 7:30 pm
VWJoe wrote: Fri Jun 24, 2022 6:29 pm Chris - I notices that you have had one of the boards off one of the batteries, did you work out what cells contact to what pins. Is it a straight C0 to C6 or are they gaps? Also, do the batteries have one or two thermistors. Thanks
Yes these modules use the first 6, although the code I have written auto detects and can handle any config, I have the die temp working and a reading the thermistors the first thermistor I get a value but does not seem like a correct value I need to check the calculations. The second I am just getting 0.
Could you post your code and I will have a look at the calculation
I cannot take credit for all this code the base code came from the guys who developed the Max interface board.

void storeCellTemperature(uint8_t Data, uint8_t readRegisterData[29])
{

for (int i = 0; i < NumModulesFound; i++)
{
uint16_t beta = 3800;
uint16_t measTemperature = ((readRegisterData[3 + (i * 2)] << 8) + readRegisterData[2 + (i * 2)]);
measTemperature = (measTemperature >> 4);
int8_t temperature = beta / (log((float)measTemperature / (4095 - measTemperature)) + beta / 298.15) - 273;
if(Data==0x2d)
cellBlockTemp[0] = temperature;
else
cellBlockTemp[1] = temperature;

}
}
if any one is interested i can post the whole project?
Joes
Posts: 2
Joined: Tue Jun 21, 2022 9:06 pm
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by Joes »

yes i would be interested in the whole project please
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

Sorry for the delay cannot post files on the forum so i have uploaded it to drop box link is below.
I am still working on the version using the SIMPBMS code and 'aot93' board.
My goal is to get the BMS working with the outlander charger and a CAN current sensor.
I have currently blown my teensy board (doing some thing stupid without thinking) and there seems to be none available. :(

https://www.dropbox.com/s/k8uenjo2g4pc4 ... 2.zip?dl=0
chris01290
Posts: 15
Joined: Mon Jan 03, 2022 10:28 am
Location: Ayrshire
Has thanked: 1 time
Been thanked: 1 time

Re: Peugeot e-208 CATL modules BMS interface

Post by chris01290 »

EV_Builder wrote: Fri Jun 24, 2022 5:10 pm
EV_Builder wrote: Mon Jun 13, 2022 9:12 am Would there be interest if i would realize an nice module with housing for this interface?
Does someone have a slave board for me?
sorry i do not have any spares
usus
Posts: 34
Joined: Sun Jul 10, 2022 7:45 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Peugeot e-208 CATL modules BMS interface

Post by usus »

I am new in this. I have a pack from a Peugeot e-208 and i wild like to have minimal functionality.(balance/relay disconnect). I have experience with smart and basic BMS but don't want to reap all the batteries BMS and install Smart BMS.
Can somebody post a minimum part list to start CATL BMS's with above code?

Thanks.
User avatar
EV_Builder
Posts: 1199
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: Peugeot e-208 CATL modules BMS interface

Post by EV_Builder »

VWJoe wrote: Fri Jun 24, 2022 6:32 pm
EV_Builder wrote: Fri Jun 24, 2022 5:10 pm
EV_Builder wrote: Mon Jun 13, 2022 9:12 am Would there be interest if i would realize an nice module with housing for this interface?
Does someone have a slave board for me?
Still, early days for these as I think the model only went on sale late year.
Ok; I will make a commercial device with this chip then.
Stay tuned.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Post Reply