BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post Reply
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

Hi all,

This might become a general thread for Generation 5 packs used in BMW IX3 and other models since 2021/2022.

I'm opening up a Gen 5 BMW EV pack, a ~80kWh one.
They come in different sizes up to 111kWh, but they all use the same cells. Typically in 2p but I think the 111kWh uses 3p?

Anyway, mine has 8 modules of 9s2p and 2 modules with 11s2p making 94s.

I intent to reuse this, with hopefully not too much effort.
Earlier BMW packs like the Hybrid packs and the i3 were all managed with CSC slave boards on the modules.

These Generation 5 packs don't have slave boards on the modules, as the modules can very too much for that (I think that is the reason)
So the whole wiring loom goes to one place.
But what I have found is that the central managing module is also called CSC, and in fact CSC-6M.
It just seems to be 6 times 16s CSC modules on one PCB. With a very clear CAN bus connection.
What is not clear is how to power it, and if it is 12v or 5v.

But since it seems like 6 CSC modules, I have good hopes that it follows the same CAN bus communication as the BMW plugin hybrid packs (also 16s) and that it is already manageable with SIMPBMS / EVS-BMS or other.

My question is, how do you guys figure out the pinning of all of this?
I have some CAN tools, and I just want to power up the CSC board to see the CAN bus data.
But I am very reluctant to just guess what the power wires are, and possibly destroying 5v stuff with 12v or other kind of malfunctions.

At this point I wasn't able to open up the CSC-6M completely, perhaps later.
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

For now I just have some rough measurements of the modules.
They are ~11cm high including a liquid cooling plate under it.
They are 31.5cm wide without the flange, which seems to be 2cm on each side.
The 9s block seems about 56.5cm long and the 11s seems 68 to 69cm long. (4 cells more)

IMG_20240314_125116.jpg
IMG_20240314_124309.jpg
CSC 6M module for all the cell voltages and temps
IMG_20240314_113246.jpg
IMG_20240314_113241.jpg
2 Wire interface labeled as COM which must be the CAN bus.
IMG_20240314_125701.jpg
There is a connector from the main PCB to the small CAN board, so 2 of the 4 wires must be for power. 5 volt most likely?
IMG_20240314_123446.jpg
This is the module where the low voltage connector is on the outside of the pack.
This connector comes into the pack and should have 12v and CAN amongst others

IMG_20240314_125601.jpg
The CPC boards on the modules. Same PCB for 9s and 11s, you can count the cell wires. Temp sensors probably on the other side?
IMG_20240314_113817.jpg
IMG_20240314_113804.jpg
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

So the main question is how you guys always figure out the wiring?
My knowledge is good enough to work on this safely and reuse these kind of modules, but for the wiring it would be great to have some source of info.
tom91
Posts: 1308
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 103 times
Been thanked: 216 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by tom91 »

Like this pack?

viewtopic.php?t=4763

These packs do not use CAN internally but a protocol unique to the chips used int the BMS.

If you label and disconnect the CSC connectors and open it to take a better pictures of the PCB we can analyse it further.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

Ha Daniel also has one, great. I missed that topic for some reason.

Even though the i4 pack is a bit different in the cell setup, the rest is the same.
And so the BMS setup will be the same.

If it is not CAN it is going to be a lot more effort.

Hopefully the temp sensors are the same as in other BMWs so the 16s CMUs can de be used directly
yasko
Posts: 17
Joined: Tue Mar 14, 2023 7:11 pm
Location: Sofia, BG
Has thanked: 5 times
Been thanked: 3 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by yasko »

Interesting BMS solution.
I suspect that communication is some variant of the ISO-SPI protocol. It usually uses a two-wire connection, and I see a small PCB in the picture with two wires and an isolation transformer. This link probably goes to the central BMS.

If you can give me the part number of the chip in the CSC, I can probably tell you more about the communication protocol.
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

yasko wrote: Thu Mar 14, 2024 9:27 pm
tom91 wrote: Thu Mar 14, 2024 3:29 pm
I opened the main CMU, it is glued but not to hard to open.

It consists of a single COM port PCB, and two PCBs which read the cells. These two PCBs actually consist out of 3 PCBs onto one PCB.
Everything is connected through with 4 wires. So most likely 2 wires for communication and 5v and GND.

The main chip is Panasonic AN84912UA 12584040, 6 times.

Here is a PDF Datasheet of a comparable one, though it only manages 10 cells instead of 16s.
https://www.datasheets360.com/pdf/954756336527486306

It mentions a 5v and 3.3v VDD.
panasonicBMSchip.png
I think this is different from the NXP and TI solutions I have seen here before for reverse engineered BMS boards that aren't CAN.
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

IMG_20240318_102740.jpg
IMG_20240318_113236.jpg
IMG_20240318_112108.jpg
IMG_20240318_113300.jpg
tom91
Posts: 1308
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 103 times
Been thanked: 216 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by tom91 »

that makes it a pain, as it will be Panasonics take on how to do ISO-SPI/ISO-Whatever.

So not directly reusable without reverse engineering it from a signal level.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

tom91 wrote: Mon Mar 18, 2024 11:03 am that makes it a pain, as it will be Panasonics take on how to do ISO-SPI/ISO-Whatever.

So not directly reusable without reverse engineering it from a signal level.
Yes. I think, at this point if I want any quick results, I'm probably better of putting on a different BMS.
But I don't see what kind of temperature sensors are being used.

I have BMW 16s CMU boards from a PHEV pack, so with your BMS I can manage this pack. (94s compared to 96s)
But, I'm not sure on the temperature sensors. If I can just connect the temp sensors to the BMW 16s CMU or add my own.
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: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by EV_Builder »

I will investigate. Maybe I build the BMS and try it.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

EV_Builder wrote: Mon Mar 18, 2024 7:07 pm I will investigate. Maybe I build the BMS and try it.
You must have some info on the protocol, or have some of the hardware to investigate it?

Anyway, it might be more useful to talk to the BMU, the battery pack as a whole.
yasko
Posts: 17
Joined: Tue Mar 14, 2023 7:11 pm
Location: Sofia, BG
Has thanked: 5 times
Been thanked: 3 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by yasko »

Swing wrote: Mon Mar 18, 2024 10:28 am The main chip is Panasonic AN84912UA 12584040, 6 times.
What a wired BMS solution! I can't find any information about this chip.

Panasonic transferred its semiconductor business to Nuvoton. Now, there are some BMS chips:
https://www.nuvoton.com/products/batter ... qualified/
But these are new-generation chips, and of course, there is now a publicly available datasheet.

I'm sure AN84912UA uses ISO-SPI for communication and probably supports 20S cell configuration.
But it will require serious hacking without documentation.

In this case, being at the BMU level will be easier. I'm interested in seeing what the BMU looks like :)
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

In the BMW i4 thread some pictures of the BMU but no detailed pics of the main chip although its likely the main chip from Panasonic
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

Ok so I opened the BMU. That should give some people some more clues.

I didn't do any power up and checking for communication or anything, just opening and taking pictures.

The BMU is on a liquid cooling plate.

It turns out the main BMU PCB has an Infineon tricore mictrocontroller on there. I guess that is not a very specific chip to deduct anything.
At this point it is probably more useful to try and power it up and figure out where the can bus is.

IMG_20240407_114841.jpg
These 4 blocks are probably contactors...
The BMU seems to have a lot of high voltage connections, I think it has seperate charge point and drive point take of on it.
IMG_20240407_115255.jpg
The bottom is also a PCB with major power lines on it.
I am assuming there are only measurement functions on there but haven't checked properly.
As can been seen, this part is liquid cooled
IMG_20240407_115847.jpg
IMG_20240407_120005.jpg
This is the main PCB where the only recognizable chip is the Infineon Tricore mcu
IMG_20240407_120135.jpg
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

Here the full Infineon microcontroller part number

https://www.infineon.com/cms/en/product ... 4f200n-dc/
Schermafbeelding 2024-04-07 204410.png
So, it seems this MCU talks to the Panasonic BMICs to get the cell data.

I think this BMU is pretty complex and specific, and not common enough, to put in a lot of effort to reuse as a whole.
But, if there is an easy way for it to dump the cell values, it could be convenient.

I don't have a proper (usb) scope for that to check the SPI bus, and I don't know where to apply 5v or 12v
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

EV_Builder wrote: Mon Mar 18, 2024 7:07 pm I will investigate. Maybe I build the BMS and try it.
yasko wrote: Tue Mar 19, 2024 11:14 am In this case, being at the BMU level will be easier. I'm interested in seeing what the BMU looks like :)
Does the above answer some of your questions?

Probably not, it may require some signal level debugging.
I don't have a (usb protocol) scope for that
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

By the way, these are the temperature sensors, two per module.
I haven't tried much other than to measure resistance over pins that weren't giving any cell voltage (so they must be sensor related) but I could measure any resistance value over any combination.
So probably something digital or something to apply a voltage over?
IMG_20240408_093329.jpg
yasko
Posts: 17
Joined: Tue Mar 14, 2023 7:11 pm
Location: Sofia, BG
Has thanked: 5 times
Been thanked: 3 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by yasko »

I think these sensors are NTC, probably 10k. They are used widely for temperature measurement in batteries.

Regarding Infineon MCU, I've seen the same in Pegout e208 BMU. In that implementation, the BMS gives much information, including cell voltages. More info in this thread: viewtopic.php?t=2675

But I can't guarantee that both BMUs are similar. We must see some CAN traffic. This will require powering the BMU and sniffing the CAN bus.

For communication with Panasonic BMICs, there should be some transceiver chip on the board. Usually, the MCU talks to it over SPI, and then this chip translates the signals.
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

Ok thats great.
It sure would be nice to have the pinout, although it probably just requires some trying to apply 12v and what not. I don't really have a clue to start on, it will just be trying.
Hopefully I can identify the CAN wires as they are often twisted.

But yeah, I'm sure there is a pretty big chance once you know the wires, you will get some useful data on the CAN bus without sending anything.
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

I'm struggling with the pinout. The CAN bus was very quickly found, a twisted wire and measuring 120 Ohm.
There are enough indications of what 12v+ is, the ground perhaps also, but probably needs a wakeup / key on kind of extra signal.

I'll post some pics later
tom91
Posts: 1308
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 103 times
Been thanked: 216 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by tom91 »

You need to reverse engineer the power supply on the board, look for big caps, diodes and chips with big heat sink or on big pads. then look at datasheets.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Swing
Posts: 63
Joined: Mon Jan 27, 2020 2:03 pm
Has thanked: 13 times
Been thanked: 7 times

Re: BMW GENERATION 5 packs (IX3 etc) - opening / reuse / reverse engineering

Post by Swing »

tom91 wrote: Wed Apr 10, 2024 12:12 pm You need to reverse engineer the power supply on the board, look for big caps, diodes and chips with big heat sink or on big pads. then look at datasheets.
Well, these are the times I notice I am a software engineer :shock:

But it seems that the positive and negative are not that hard.
This is the PCB of the low voltage connector on the front of the pack.
Below is the connector outside the pack.
There is a copper part sticking out that had connection to the battery pack casing, but it is not connected (directly) to one of the pins. So it doesn't seem to be 12v ground.

Anyway, there is a bigger component that is connected to two groups of 3 pins each. That clearly seems to be 12v positive and negative.
The pins are combined on this PCB.

On the main BMU PCB they are not combined, there they have seperate paths.
IMG_20240410_145658.png
Here, on the main BMU PCB, you can see the 3 wires coming on on the top left (now on the white connector). No longer combined, but on the other PCB they are.
These 3 wires on the top left are colors RED, BLACK+RED and BLACK+BLUE.
The other wires are all a variant of BROWN, which is a common color with BMW for ground.
So that seems to make sense.
IMG_20240410_145634.jpg
I am not at the battery pack anymore, but it seems I should have probably connected at least 3 pins to 12v+ and 3 pins to 12v ground.
I had 5 at most. So that might explain something.

But, I probably will still need to apply 12v to some other pin as well for an ON signal.
Post Reply