BMW i3 CCS/charge port controller

Development and discussion of fast charging systems eg Chademo , CCS etc
Sidemips
Posts: 8
Joined: Tue Jul 26, 2022 5:33 pm
Location: FRANCE+GERMANY
Been thanked: 1 time

Re: BMW i3 CCS/charge port controller

Post by Sidemips »

I edited my previous post as I was wrong regarding the lack of this jumper on OEM I3 harnesses, they have the jumper...

The BMW IX3 has a different connector so I can't with compare with that one... but the i8 has the same connector and also the Jumper between 2B-3 and 2B-4, the BMW 330e HV loom has also the Jumper and like on the MINI the jumper is between 2B-4 and 2B-5:
Attachments
BMW IX3
BMW IX3
BMW330E
BMW330E
BMW330E
BMW330E
BMW I8
BMW I8
Jeff - FRANCE & GERMANY
"800V" charging infrastructure deployment project manager
V2H / V2G / V2X and ESS engineering
bitterandreal
Posts: 55
Joined: Fri Jan 15, 2021 2:30 pm
Location: Netherlands
Has thanked: 2 times

Re: BMW i3 CCS/charge port controller

Post by bitterandreal »

The wiki states some states which are not implemented in the code.
Can anyone confirm that these steps are required to get past the Pre-charge state with a new LIM?

The CAN log's shows 0x88 in byte 2 of message 0x12F and the DBC decodes it as "KLR_ON"
In https://github.com/damienmaguire/Stm32- ... /i3LIM.cpp byte 2 is constantly set to 0x8a
And the wiki says 0x88 = OFF.
It seems 0x8a and 0x88 are both working.

https://openinverter.org/wiki/BMW_I3_Fa ... actor_Test
Contactor Test
This is required before the LIM will proceed past the Precharge state during ccs charging.
To get it to do a contactor test following procedure has been determined

For LIMs 61 35 6 828 052 and later (to be confirmed)
  • HV battery voltage to be present at vehicle side of contactors
  • Charge Port door state is closed, feedback in 0x272 byte 2 // How can the door be closed if the connector is in there?
  • Charge Port Voltage Sense feedback with contactors open needs to be above 60V
    Fault set in 0x272 byte 2
  • Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a
  • LIM will cycle contactors during weld test and clear fault in 0x272 byte 2
User avatar
asavage
Posts: 327
Joined: Sat May 14, 2022 10:57 pm
Location: Oak Harbor, Washington, USA
Has thanked: 267 times
Been thanked: 103 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by asavage »

Contactor Test
This is required before the LIM will proceed past the Precharge state during ccs charging.
To get it to do a contactor test following procedure has been determined

For LIMs 61 35 6 828 052 and later (to be confirmed)

HV battery voltage to be present at vehicle side of contactors

Charge Port door state is closed, feedback in 0x272 byte 2 // How can the door be closed if the connector is in there?
I haven't looked hard at the code. I think that the door must be closed to perform the contactor weld test. The contactor weld test happens (long) before a charging event starts. I would think the contactor weld test happens when the ZV (or equivalent) inits the LIM on powerup, which might be minutes/hours/days before the next CCS charge. The status byte holds the result of the test until something occurs that makes it necessary to perform the test again.

There is no nozzle inserted during this test, yes?
Al Savage
2014 RAV4 EV
NissanDiesel
User avatar
muehlpower
Posts: 570
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 96 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

The door must be closed. The Weld Test is done after charging and closing the door or when unexpected voltage is detected at the port. If there is no successful test, charging will not take place. A successful test is displayed on 272h byte 2, bit 4-7 with 0.
christoph
Posts: 39
Joined: Fri Sep 09, 2022 9:40 pm
Been thanked: 5 times

Re: BMW i3 CCS/charge port controller

Post by christoph »

Hi

I have a problem charging at a HyperCharger station. It gets inte state 5 but then waits for the connectors to close. But apparently they dont. I havent really be able to figure out why. Any hints? See attached log. Ignore the CHAdeMO frames in it ;-)

Thanks
Christoph
Attachments
per.log
(839.84 KiB) Downloaded 62 times
DerekSavage
Posts: 13
Joined: Wed Mar 01, 2023 12:36 am
Has thanked: 1 time

Re: BMW i3 CCS/charge port controller

Post by DerekSavage »

muehlpower wrote: Sat Aug 13, 2022 1:23 pm I looked at your CAN log. A lot of this is unimportant switch positions etc or comes from the LIM. C0h is the alive signal from the gateway, 3ACh and 3BEh keeps kl30 and kl15 alive. The most interesting is 388h, it reflects the vehicle series and the country code. And the VIN with 380h is also transferred and saved i think.
I have read through the wiki pages and this thread extensively. I bought most of the materials, and now I am at the stage where I need to program my LIM because I bought it new. If I sent my LIM over to Damien to program, would it be programmed with these parameters? I am from the U.S. and I worry that charging stations would be confused if my LIM thinks it is operating a type 2 CCS plug.

I am sorry in advanced if this is a basic question.
User avatar
muehlpower
Posts: 570
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 96 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

I don't know how Damien does it, but I can choose which country and standard. I can also edit the VIN.
User avatar
Bigpie
Posts: 1579
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 74 times
Been thanked: 295 times

Re: BMW i3 CCS/charge port controller

Post by Bigpie »

Has anyone tried replaying the can logs here to see if it works without all the other hardware?
https://github.com/damienmaguire/BMW-i3 ... mming/Logs

Video of Damien programming the LIM is here:
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
bitterandreal
Posts: 55
Joined: Fri Jan 15, 2021 2:30 pm
Location: Netherlands
Has thanked: 2 times

Re: BMW i3 CCS/charge port controller

Post by bitterandreal »

muehlpower wrote: Wed Mar 01, 2023 9:47 am I don't know how Damien does it, but I can choose which country and standard. I can also edit the VIN.
How are you doing that?
User avatar
asavage
Posts: 327
Joined: Sat May 14, 2022 10:57 pm
Location: Oak Harbor, Washington, USA
Has thanked: 267 times
Been thanked: 103 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by asavage »

The VIN gets transmitted via CAN, sure, but it doesn't go across the PLC to the EVSE, so whatever the VIN is, it's not needed for our DIY add-on projects. It probably needs to be a valid VIN of some kind, but beyond that I doubt it matters what it is.
https://openinverter.org/forum/viewtopic.php?p=44098#p44098

I doubt you can replay CAN to a virgin LIM to initialize it, due to the use of UDS authentication.
https://openinverter.org/forum/viewtopic.php?p=43972#p43972

Nobody has said they've tried it, though. CAN log from a coding session: https://openinverter.org/forum/viewtopic.php?p=43882#p43882 Give it a shot.
Al Savage
2014 RAV4 EV
NissanDiesel
User avatar
EV_Builder
Posts: 1197
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by EV_Builder »

If it's UDS a simple replay won't work indeed. Save your time.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
windydrew
Posts: 25
Joined: Sat Oct 26, 2019 1:05 pm
Location: Kansas, USA
Has thanked: 2 times
Been thanked: 3 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by windydrew »

I'm trying to get ahold of the voltage measuring board for my LIM CCS Conversion. Can someone provide one for me to purchase?
User avatar
asavage
Posts: 327
Joined: Sat May 14, 2022 10:57 pm
Location: Oak Harbor, Washington, USA
Has thanked: 267 times
Been thanked: 103 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by asavage »

windydrew wrote: Sun Mar 05, 2023 3:44 pm I'm trying to get ahold of the voltage measuring board for my LIM CCS Conversion. Can someone provide one for me to purchase?
If PM'ing muehlpower doesn't work, Lars sells them as well.

https://www.evcreate.com/shop/charging/voltage-sense-board-bmw-i3-lim

The two boards are not the same, but they do the same thing.
Al Savage
2014 RAV4 EV
NissanDiesel
User avatar
muehlpower
Posts: 570
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 96 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

I played around with coding the LIM today. I use a Vector CANoe card and E-Sys, with which I can establish a direct connection to the LIM. I also have an FA (Fahrzeugauftrag) as a file, so I don't need another BMW device. After reading out the coding, there are many setting options, such as AC connector type 1 or type 2, resistor 2k7 yes/no, many timeouts, etc.
bitterandreal
Posts: 55
Joined: Fri Jan 15, 2021 2:30 pm
Location: Netherlands
Has thanked: 2 times

Re: BMW i3 CCS/charge port controller

Post by bitterandreal »

muehlpower wrote: Sun Mar 05, 2023 7:33 pm I played around with coding the LIM today. I use a Vector CANoe card and E-Sys, with which I can establish a direct connection to the LIM. I also have an FA (Fahrzeugauftrag) as a file, so I don't need another BMW device. After reading out the coding, there are many setting options, such as AC connector type 1 or type 2, resistor 2k7 yes/no, many timeouts, etc.
Thanks for the explanation. Sounds very interesting.
User avatar
EV_Builder
Posts: 1197
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 16 times
Been thanked: 33 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by EV_Builder »

muehlpower wrote: Sun Mar 05, 2023 7:33 pm After reading out the coding, there are many setting options, such as AC connector type 1 or type 2, resistor 2k7 yes/no, many timeouts, etc.
Can you elaborate on that? All UDS registers?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
christoph
Posts: 39
Joined: Fri Sep 09, 2022 9:40 pm
Been thanked: 5 times

Re: BMW i3 CCS/charge port controller

Post by christoph »

christoph wrote: Sun Feb 26, 2023 1:58 pm Hi

I have a problem charging at a HyperCharger station. It gets inte state 5 but then waits for the connectors to close. But apparently they dont. I havent really be able to figure out why. Any hints? See attached log. Ignore the CHAdeMO frames in it ;-)

Thanks
Christoph
Noone has any clue what could be wrong here?
User avatar
Bigpie
Posts: 1579
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 74 times
Been thanked: 295 times

Re: BMW i3 CCS/charge port controller

Post by Bigpie »

muehlpower wrote: Sun Mar 05, 2023 7:33 pm I played around with coding the LIM today. I use a Vector CANoe card and E-Sys, with which I can establish a direct connection to the LIM. I also have an FA (Fahrzeugauftrag) as a file, so I don't need another BMW device. After reading out the coding, there are many setting options, such as AC connector type 1 or type 2, resistor 2k7 yes/no, many timeouts, etc.
Does this mean you was able to code a fresh LIM without the BDC simulator, BMW i3 BDC and key?
Could you provide instructions for the wiki on this method?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
ginetto
Posts: 13
Joined: Tue Apr 07, 2020 7:29 am
Has thanked: 8 times
Been thanked: 3 times

Re: BMW i3 CCS/charge port controller

Post by ginetto »

Bigpie wrote: Thu Mar 16, 2023 6:47 pm Does this mean you was able to code a fresh LIM without the BDC simulator, BMW i3 BDC and key?
Could you provide instructions for the wiki on this method?
Look into Damien Macquire youtube channel... there is a video about this (and reference to github repos)
User avatar
asavage
Posts: 327
Joined: Sat May 14, 2022 10:57 pm
Location: Oak Harbor, Washington, USA
Has thanked: 267 times
Been thanked: 103 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by asavage »

I follow Damien's videos pretty closely, and the only coding video for the LIM that I recall viewing involves using a salvage BMW BDC and a matching key.

Can you provide a URL to the video you referred to above?

Better yet, can you post it to the LIM wiki?
Al Savage
2014 RAV4 EV
NissanDiesel
User avatar
muehlpower
Posts: 570
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 96 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

As already written, I use nothing but a Vector CAN card, 12V supply and E-Sys. I have the Fahrzeugauftrag (FA) as a file and do not need to read it from the key. Due to the direct connection with the Vector Card, I don't need a BCD as a gateway either.
I don't know how to sort the pictures, so I numbered them.
The pictures are in the wrong order, bottom to top is correct. The first shows the FA editor, with it I can edit and save the VIN and options. Then you can see how I establish the connection, read the code from the LIM and how I can change the code. As an example, I unfolded two folders.
20230317_172253.jpg
Attachments
20230317_172208.jpg
20230317_172011.jpg
20230317_171940.jpg
20230317_171911.jpg
User avatar
Bigpie
Posts: 1579
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 74 times
Been thanked: 295 times

Re: BMW i3 CCS/charge port controller

Post by Bigpie »

Are you able to attach/share the FA file?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
User avatar
asavage
Posts: 327
Joined: Sat May 14, 2022 10:57 pm
Location: Oak Harbor, Washington, USA
Has thanked: 267 times
Been thanked: 103 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by asavage »

In the Wiki, I've created a stub to describe this method of LIM configuration programming. Could someone with more detailed knowledge please take a few minutes and update it?

https://openinverter.org/wiki/BMW_I3_Fast_Charging_LIM_Module#Programming_LIM_using_Vector_CAN_and_Fahrzeugauftrag_file
Al Savage
2014 RAV4 EV
NissanDiesel
User avatar
asavage
Posts: 327
Joined: Sat May 14, 2022 10:57 pm
Location: Oak Harbor, Washington, USA
Has thanked: 267 times
Been thanked: 103 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by asavage »

muehlpower wrote: Fri Mar 17, 2023 4:49 pm As already written, I use nothing but a Vector CAN card . . .
I'm unfamiliar with this hardware, and ten minutes with Google isn't enlightening. Can you elaborate on this hardware?
muehlpower wrote: Fri Mar 17, 2023 4:49 pm . . . 12V supply and E-Sys.
What version of BMW E-Sys are you using? The "easy" versions I can get are quite old (2014-ish) v3.23 or thereabouts. I can get newer versions for an add'l fee, but is that necessary?
muehlpower wrote: Fri Mar 17, 2023 4:49 pmI have the Fahrzeugauftrag (FA) as a file and do not need to read it from the key.
For those of us who aren't familiar with using E-Sys and coding BMW parts, where can we obtain this configuration file? Is is supplied with E-Sys, or do we have to get is somewhere else?

[I have experience with several other manufacturers' proprietary software, but not BMW's. E-Sys can't be any worse than MB's Star Diagnostic/Xsentry/DAS suite.]
Al Savage
2014 RAV4 EV
NissanDiesel
User avatar
muehlpower
Posts: 570
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 96 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

I have E-Sys 3.34.0. On this site i found a download for 3.30. https://bmwtune.com/ I think that works too. I have the configuration file on the computer and can give it to you.

the hardware looks like this:
CANcardXLe.jpg
Post Reply