BMW i3 CCS/charge port controller

Development and discussion of fast charging systems eg Chademo , CCS etc
Post Reply
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

No it will be used with a Model 3 PCS for AC charging in the grey goose. Thanks muehlpower I had worked out the battery voltage but not the other parts of 0x112. Will update the DBC. 0x100 also seem to contain current.

0x3b4 byte 2 with no proximity 0x8c , with proximity 0x8d. I'm guessing this is how it detects a plug.
byte 4 0xb8 with no pilot, changes to 0xbe then to 0xb9 on standard pilot. Goes to 0xbc on a 5% fc pilot.
I'm going to need a hacksaw
User avatar
cloudy
Posts: 208
Joined: Wed Oct 02, 2019 12:15 am
Location: UK
Been thanked: 6 times

Re: BMW i3 CCS/charge port controller

Post by cloudy »

I'm not sure if this info was shared earlier in the thread, but attached page 126 (as marked on the bottom of each page) has some interesting info on the LIM (and charging in general)
Attachments
i3-High-voltage-ComponentsGB.pdf
(4.5 MiB) Downloaded 1318 times
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

Thanks cloudy I have that. Updated the dbc with pilot detection from low nibble of 0x3b4 byte 4 :
0x8 : No pilot present
0x9 : AC pilot
0xc : 5% DC pilot
0xa : AC charging
0xd : CCS comms greenphy
I'm going to need a hacksaw
User avatar
muehlpower
Posts: 680
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 14 times
Been thanked: 133 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

Jack Bauer wrote: Wed May 26, 2021 2:02 pm No it will be used with a Model 3 PCS for AC charging in the grey goose. Thanks muehlpower I had worked out the battery voltage but not the other parts of 0x112. Will update the DBC. 0x100 also seem to contain current.

0x3b4 byte 2 with no proximity 0x8c , with proximity 0x8d. I'm guessing this is how it detects a plug.
byte 4 0xb8 with no pilot, changes to 0xbe then to 0xb9 on standard pilot. Goes to 0xbc on a 5% fc pilot.
0x100 is not received by the LIM

0x3B4 D4 low nible: status pilot
0=no pilot
1=10-96%PWM not charge ready
2=10-96%PWM charge ready
3=error
4=5% not charge ready
5=5% charge ready
6=pilot static

there are also locking status of plug and door and current charge mode (AC type1 /type2, DC) and the DC voltage on the connector (your signal on from the KLE)
User avatar
muehlpower
Posts: 680
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 14 times
Been thanked: 133 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

0x3B4 D7 DC voltage on CP x2V (0-500V) 0xFB means AC or negative DC, 0xFE error, 0xFC not available.
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

Excellent thanks. DBC updated. Turning out to be quite a nice module.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

I have added an open task for a Wiki page :
viewtopic.php?f=18&t=1667
I'm going to need a hacksaw
Scott166
Posts: 107
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England
Has thanked: 1 time
Been thanked: 1 time

Re: BMW i3 CCS/charge port controller

Post by Scott166 »

Wow, I didn't check this for a week and you've done so much, so the wires I was trying to read are the wrong ones? I'm going to have to try and read and understand this thread all over again now 😃
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Scott166
Posts: 107
Joined: Thu Jun 04, 2020 12:23 pm
Location: Dorset, England
Has thanked: 1 time
Been thanked: 1 time

Re: BMW i3 CCS/charge port controller

Post by Scott166 »

Jack Bauer wrote: Wed May 19, 2021 1:44 pm Update : Seems PT-CAN1 goes to the car via connector X558 3B under the bonnet. Could be an easy point to get access by back probing the connector.

Update 2 : Wire colours. RED=PT-CAN-L , Blue/RED = PT-CAN-H
Thanks Damien
Sorry I've not been on this, work has been busy and kids football etc stopping me from getting on with it.
I'll try again Saturday
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done :lol:
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
User avatar
Bratitude
Posts: 965
Joined: Thu Jan 02, 2020 7:35 pm
Location: Canada
Has thanked: 154 times
Been thanked: 334 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Bratitude »

https://bratindustries.net/ leaf motor couplers, adapter plates, custom drive train components
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

Yep its easy to get to PT-CAN under the bonnet. I'll start filling out the wiki. Appreciate the help:)
I'm going to need a hacksaw
User avatar
EV_Builder
Posts: 1205
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 18 times
Been thanked: 37 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by EV_Builder »

This is flying! I'm in! I discovered that at 900metres from my house there is a public CCS charger ...:) On the parking 🅿️ of a camp-site...

Guess I need to order the 'club card' for it ..
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

Welcome aboard. V2 of the arduino due sketch now on the repo. Have almost work out all the signals in 0x3E9. This is where all the action happens.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

So a little bit of info. The LIM will engage AC charging if the DC contactors are missing but not if the signal from the HV voltage detect circuit is missing.
I'm going to need a hacksaw
User avatar
muehlpower
Posts: 680
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 14 times
Been thanked: 133 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

Jack Bauer wrote: Fri May 28, 2021 11:22 am Welcome aboard. V2 of the arduino due sketch now on the repo. Have almost work out all the signals in 0x3E9. This is where all the action happens.
is the DBC file for the 2013-17 model or 2017+? because i have found some differences to my records.
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

Well my logs are from a 2014 and 2015 model so far and my lims are 2014 and 2017 so that's what I'm working from. Not surprised if it changed with the newer batteries in later models.
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

One thing I did notice is my 2014 has a rather nasty hardware flaw. If the charge plug is inserted and you kill the 12v supply it kicks the evse on! Does'nt happen with the 2017.
I'm going to need a hacksaw
User avatar
muehlpower
Posts: 680
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 14 times
Been thanked: 133 times

Re: BMW i3 CCS/charge port controller

Post by muehlpower »

Jack Bauer wrote: Fri May 28, 2021 2:30 pm One thing I did notice is my 2014 has a rather nasty hardware flaw. If the charge plug is inserted and you kill the 12v supply it kicks the evse on! Does'nt happen with the 2017.
I read something about an emergency charge function in case the 12V battery is empty.
i3-High-voltage-ComponentsGB (1).pdf
(4.5 MiB) Downloaded 320 times
page 127.

the main difference I found is the variable for DC_I_ target. 10bit vs. 8bit or 1000A vs. 250A.
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

2017 LIM wired into the Grey Goose and tested working on AC. Next up integrating it into the VCU and canbus then DC experiments begin:)

Question : Can someone please tell me with LIM stands for?
Attachments
2021-05-29 12.30.25.jpg
2021-05-29 11.48.37.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

Started roughing out a crude due program for dc. Still a lot to figure in the relationship between 0x3e9 and the additional 0x2f1 and 0x2fa used in the DC mode. Also updated the dbc with soc value in 0x112.
I'm going to need a hacksaw
User avatar
larsrengersen
Posts: 136
Joined: Tue May 28, 2019 9:42 am
Has thanked: 10 times
Been thanked: 28 times

Re: BMW i3 CCS/charge port controller

Post by larsrengersen »

First an opportunity to say: amazing work, thanks for sharing all this.
Jack Bauer wrote: Sat May 29, 2021 5:38 pm Question : Can someone please tell me with LIM stands for?
ladegerät interface module perhaps?
User avatar
Jack Bauer
Posts: 3639
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 9 times
Been thanked: 275 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by Jack Bauer »

My pleasure:) Kind of amazed really that this module has been around for so long without being hacked...
I'm going to need a hacksaw
User avatar
EV_Builder
Posts: 1205
Joined: Tue Apr 28, 2020 3:50 pm
Location: The Netherlands
Has thanked: 18 times
Been thanked: 37 times
Contact:

Re: BMW i3 CCS/charge port controller

Post by EV_Builder »

muehlpower wrote: Fri May 28, 2021 1:14 pm
Jack Bauer wrote: Fri May 28, 2021 11:22 am Welcome aboard. V2 of the arduino due sketch now on the repo. Have almost work out all the signals in 0x3E9. This is where all the action happens.
is the DBC file for the 2013-17 model or 2017+? because i have found some differences to my records.
I bought a 2018 version. It was compatible with all cars except the 120ah version. That LIM version wasn't compatible with the other cars.

Can you please clone the DBC file and add the differences?
If the CANId is different then we should add it to both versions.

As soon as this info spreads we soon will know the why and how atleast the work is then done. :)

Wish I had my car built / ready for this phase...
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
bitterandreal
Posts: 56
Joined: Fri Jan 15, 2021 2:30 pm
Location: Netherlands
Has thanked: 3 times

Re: BMW i3 CCS/charge port controller

Post by bitterandreal »

Very nice work!
I played a few times with the Advantics CCS module in the past months and learned a lot about the different charging standards.
I'm wondering if the newer LIM's do ISO 15118 AC and DC charging or only DIN 70121 for DC and J1772 for AC?
Would be interesting to test if features like plug and charge or even V2G (bidirectional power transfer) are supported by the LIM?

By the way, the German BMW dealers call it "LIM Lade-Interface-Modul Steuergerät" => Charge interface module controller
Post Reply