<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openinverter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bitterandreal</id>
	<title>openinverter.org wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://openinverter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bitterandreal"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Bitterandreal"/>
	<updated>2026-05-01T09:28:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:CCS_setup_LIM_2-02.png&amp;diff=3825</id>
		<title>File:CCS setup LIM 2-02.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:CCS_setup_LIM_2-02.png&amp;diff=3825"/>
		<updated>2023-05-06T20:41:10Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:CCS setup LIM 2-02.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CCS inlet lock&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3821</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3821"/>
		<updated>2023-05-06T11:29:36Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: updated CCS 2 charge port information.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new, it comes without firmware loaded, and it must be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|(?Hirschmann 805-587-545?)&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;Auto-Click UK Part link has Pin 13 through 16 blocked. Received a Mercedes Part from them instead of BMW using this part number. Please check the part for proper compatibility&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM Connectors and Pin Numbering]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal input and output +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description (BMW)&lt;br /&gt;
!Description (MINI)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=51484#p51484&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) &lt;br /&gt;
Some charge ports need additional 620 ohms to GND.&lt;br /&gt;
|Pilot (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|PE / GND&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|Connected to Pin 5&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|PE / GND&lt;br /&gt;
|Ground (charge port earth)&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
| -&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|N/C (TBD if used for US CCS1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW I3 2016 Factory Workshop Service Repair Manual 2563-4b.png|thumb|1000x1000px|left|BMW i3 DCFC CCS factory wiring (simplified) (1-phase version, probably US)]]&lt;br /&gt;
&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
&lt;br /&gt;
A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  &lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]An alternative voltage sense board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
[[File:BMW-i3-LIM-CCS-charging-voltage-sense-board-measuring.jpg|none|thumb|BMW i3 LIM voltage sense board by EVcreate]]&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available from [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SAE J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)&amp;lt;/s&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe has no PP - PE resistor. &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistance values. &lt;br /&gt;
&lt;br /&gt;
The CP communication for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports is similar, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used, and it would be convenient to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS_setup_LIM_2-02.png|alt=Duosida combo CCS 2 inlet lock actuator connection]][[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033]&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=32096#p32096&amp;lt;/ref&amp;gt; or Hirschmann 805122541&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=49346#p49346&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
==== Locks in other charge ports ====&lt;br /&gt;
&lt;br /&gt;
* Peugeot: 2 motor pins, 2 feedback pins. Feedback is some sort of 2 pin semiconductor device, maybe hall effect. Feed 12V via 1k resistor, outputs about 10V when locked, 3V when open. A solution is needed for converting this to the LIM.&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Wake/sleep ===&lt;br /&gt;
The LIM will wake up under any of these circumstances:&lt;br /&gt;
&lt;br /&gt;
* When 12V is applied to the hardware wake up line (1B-8).&lt;br /&gt;
* On plug insertion.&lt;br /&gt;
* On opening of the charge port door.&lt;br /&gt;
* When the LIM sees CAN message 0x12F.&lt;br /&gt;
&lt;br /&gt;
The hardware wake up line works in both directions. I.e., the LIM can be woken by 12V on the hardware wake up line, but, similarly, when the LIM wakes up it will put 12V on the wake up line itself. This can be used to do things like waking up an OBC on plug insertion.&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you purchase a new LIM, there is no configuration loaded; it is &amp;quot;virgin&amp;quot;, and must be configured before use.&lt;br /&gt;
&lt;br /&gt;
There are at least two ways to program a virgin BMW i3 LIM: &lt;br /&gt;
&lt;br /&gt;
* Use BMW E-Sys software in combination with a salvaged Body Domain Controller, and possibly requiring a matching physical key&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=43848#p43848&amp;lt;/ref&amp;gt;;&lt;br /&gt;
* Use a Vector CAN (or similar) and a Fahrzeugauftrag (FA) file to edit and write information to the LIM without E-Sys&amp;lt;ref&amp;gt;[https://openinverter.org/forum/viewtopic.php?p=54432&amp;amp;sid=e276b6583092e79d1ba390a24c652ece#p54432 https://openinverter.org/forum/viewtopic.php?p=54432]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Programming LIM using E-Sys and a BDC/Key ===&lt;br /&gt;
Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session: https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. In the meantime, Damien is offering LIM programming as a service: https://www.evbmw.com/index.php/evbmw-webshop/evbmw-serv/limprg.&lt;br /&gt;
&lt;br /&gt;
====== Basic shopping list if you want to program a LIM: ======&lt;br /&gt;
*Software: &lt;br /&gt;
**Esys 3.36 from here: https://disk.yandex.ru/d/3XLfVVYHFq8qQw&lt;br /&gt;
**pszdata lite from here: https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&lt;br /&gt;
*Hardware: &lt;br /&gt;
**BMW LIM ([[#LIM hardware|see &amp;quot;LIM hardware&amp;quot; section below]]), connectors and pins ([[#Connectors and Pinouts|see &amp;quot;Connectors and Pinouts&amp;quot; section above]]).&lt;br /&gt;
**BMW i3 BDC (Body Domain Controller): basically the main ecu in the i3 that gates all the data around the car. &lt;br /&gt;
***Damien sourced his from: https://www.evbreakers.com/ noting &#039;&#039;They even threw in the plugs and few cm of harness for free.&#039;&#039;&lt;br /&gt;
***According to realoem.com, the first BDC (used in 2014) was p/n 61359354010&lt;br /&gt;
****A fuller list of the various BDCs over the subsequent years can be found here here:https://www.realoem.com/bmw/enUS/partxref?q=61359354010. Thankfully, there is a very wide retro/cross-compatibility&lt;br /&gt;
****Also found some part numbers in ebay listings not seen in the realoem list (maybe a North America vs EU thing?):&lt;br /&gt;
*****61-35-8-715-974, 61-35-5-A40-2F9&lt;br /&gt;
**Car key from the same car as the BDC. EDIT: this may not be necessary as the BDC can be put into &amp;quot;on&amp;quot; mode by running the full fault delete function using ISTA &amp;lt;ref&amp;gt; https://openinverter.org/forum/viewtopic.php?p=44069#p44069&amp;lt;/ref&amp;gt;&lt;br /&gt;
***Wondering if a non-matching used or new fob could be used/reprogrammed if the BDC donor&#039;s VIN was known?&lt;br /&gt;
**BDC simulator: https://www.aliexpress.com/item/1005002317110375.html&lt;br /&gt;
**Enet cable: https://bcables.com/&lt;br /&gt;
** USB to Ethernet adapter if your PC / laptop does not have a spare Ethernet port.&lt;br /&gt;
**Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
*DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
=== Programming LIM using Vector CAN and Fahrzeugauftrag (FA) file ===&lt;br /&gt;
&lt;br /&gt;
* Hardware requirement: TBD&lt;br /&gt;
** Vector CAN (can other hardware be used?)&lt;br /&gt;
* Software requirement: BMW E-sys v3.34 (tested&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=54452#p54452&amp;lt;/ref&amp;gt;)&lt;br /&gt;
* Advantages/Disadvantages&lt;br /&gt;
&lt;br /&gt;
== Charge control==&lt;br /&gt;
The EVSE (charging station) shares its charging capacity limits via PWM during IEC 61851/ J1772 AC charging, or via PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car cannot handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state closed (charge door feedback pin 4B-12 floating)&lt;br /&gt;
##charge door feedback is set to locked in 0x272 byte 2&lt;br /&gt;
#Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
##Fault set in 0x272 byte 2&lt;br /&gt;
#Ignition in 0x12F byte 2 needs to toggle from OFF 0x88 to ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#12V permanent to be connected to the LIM&lt;br /&gt;
#Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;celeron55&#039;s notes&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
Some detail of a tested 61 35 6 828 052 unit that may or may not be of interest to anyone:&lt;br /&gt;
# The intention is to make the LIM do this test at vehicle power up. In Zombie terms that means when going into the MOD_RUN state.&lt;br /&gt;
# The LIM will do the contactor test if it sees for a duration of 3 seconds that:&lt;br /&gt;
## The charge door is closed according to feedback (feedback line at 12V). 0x272 byte 2 bits 0 and 1. On Zombie that&#039;s the CP_DOOR parameter.&lt;br /&gt;
## The inlet voltage sensor is giving a low enough value (the limit is 60V according to above). 0x3B4 byte 7. On Zombie that&#039;s the CCS_V_Con parameter.&lt;br /&gt;
## The CAN ignition bit in 0x12F byte 2 was OFF earlier. (0x8a=ON, 0x86=OFF)&lt;br /&gt;
## The CAN ignition bit in 0x12F byte 2 is ON currently. On Zombie this gets set when opmode==MOD_RUN. Charging is disabled in opmode==MOD_RUN, so afterwards before charging it needs to be changed yet again to another value.&lt;br /&gt;
# What happens in the contactor test is that the LIM closes the contactors for a bit and then opens them. If the LIM likes what it sees, this clears the 0x272 byte 2 contactor bits to 0. On Zombie that&#039;s the CCS_Contactor parameter.&lt;br /&gt;
# On the bench, the LIM doesn&#039;t seem to care if the inlet voltage sensor doesn&#039;t sense a voltage during the test. However on the bench it was impossible to tell whether it would actually proceed to charge or not.&lt;br /&gt;
# The meaning of the CCS_Contactor values are as follows. Values other than 0 and !=0 may not be visible in UIs, but due to the nature of how the value is read from CAN, it can have other values than 0 and 1.&lt;br /&gt;
## 0 = Open&lt;br /&gt;
## 1 = Closed (Assuming)&lt;br /&gt;
## 8 = Doing contactor test&lt;br /&gt;
## 24 = Inlet voltage high / udc low&lt;br /&gt;
## 28 = Waiting for ignition cycle or unplugging the cable&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. (Not yet implemented to the STM32 / ZombieVerter VCU project) &lt;br /&gt;
&lt;br /&gt;
However, this temperature measurement is also done on the charger side, on the CCS cable itself. Chargers will protect themselves from overheating the CCS pins.The absolute max pin temperature allowed can range from 70-90*C depending on quickcharger brand. &lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
| VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms (4s)&lt;br /&gt;
| needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms (4s)&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x397&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;OBD&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|1000ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x330&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Range info&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) not needed&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) not needed&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
| OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
| (constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x380&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Vin&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;s&amp;gt;not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x2EF&lt;br /&gt;
|Min. available voltage from the CCS charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.  Any VIN, or none, can be used.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
=== Physical dimensions ===&lt;br /&gt;
The main body is 170mm x 42mm x 104mm. There are 2 mounting brackets with 192mm hole spacing. Total width is 215mm. The connectors on the front have additional 16mm to the main body.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=51061#p51061&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
! Used until&lt;br /&gt;
! Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
| 2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
| TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
| LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:CCS_setup_LIM_2-02.png&amp;diff=3820</id>
		<title>File:CCS setup LIM 2-02.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:CCS_setup_LIM_2-02.png&amp;diff=3820"/>
		<updated>2023-05-06T11:26:29Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:CCS setup LIM 2-02.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CCS inlet lock&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3768</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3768"/>
		<updated>2023-04-20T12:04:56Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: minor fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new, it comes without firmware loaded, and it must be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|(?Hirschmann 805-587-545?)&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;Auto-Click UK Part link has Pin 13 through 16 blocked. Received a Mercedes Part from them instead of BMW using this part number. Please check the part for proper compatibility&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM Connectors and Pin Numbering]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal input and output +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description (BMW)&lt;br /&gt;
!Description (MINI)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=51484#p51484&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) &lt;br /&gt;
Some charge ports need additional 620 ohms to GND.&lt;br /&gt;
|Pilot (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|PE / GND&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|Connected to Pin 5&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|PE / GND&lt;br /&gt;
|Ground (charge port earth)&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
| -&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|N/C (TBD if used for US CCS1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW I3 2016 Factory Workshop Service Repair Manual 2563-4b.png|thumb|1000x1000px|left|BMW i3 DCFC CCS factory wiring (simplified) (1-phase version, probably US)]]&lt;br /&gt;
&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
&lt;br /&gt;
A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  &lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]An alternative voltage sense board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
[[File:BMW-i3-LIM-CCS-charging-voltage-sense-board-measuring.jpg|none|thumb|BMW i3 LIM voltage sense board by EVcreate]]&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available from [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SAE J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistance values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used, and it would be convenient to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033]&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=32096#p32096&amp;lt;/ref&amp;gt; or Hirschmann 805122541&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=49346#p49346&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
==== Locks in other charge ports ====&lt;br /&gt;
&lt;br /&gt;
* Peugeot: 2 motor pins, 2 feedback pins. Feedback is some sort of 2 pin semiconductor device, maybe hall effect. Feed 12V via 1k resistor, outputs about 10V when locked, 3V when open. A solution is needed for converting this to the LIM.&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Wake/sleep ===&lt;br /&gt;
The LIM will wake up under any of these circumstances:&lt;br /&gt;
&lt;br /&gt;
* When 12V is applied to the hardware wake up line (1B-8).&lt;br /&gt;
* On plug insertion.&lt;br /&gt;
* On opening of the charge port door.&lt;br /&gt;
* When the LIM sees CAN message 0x12F.&lt;br /&gt;
&lt;br /&gt;
The hardware wake up line works in both directions. I.e., the LIM can be woken by 12V on the hardware wake up line, but, similarly, when the LIM wakes up it will put 12V on the wake up line itself. This can be used to do things like waking up an OBC on plug insertion.&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you purchase a new LIM, there is no configuration loaded; it is &amp;quot;virgin&amp;quot;, and must be configured before use.&lt;br /&gt;
&lt;br /&gt;
There are at least two ways to program a virgin BMW i3 LIM: &lt;br /&gt;
&lt;br /&gt;
* Use BMW E-Sys software in combination with a salvaged Body Domain Controller, and possibly requiring a matching physical key&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=43848#p43848&amp;lt;/ref&amp;gt;;&lt;br /&gt;
* Use a Vector CAN (or similar) and a Fahrzeugauftrag (FA) file to edit and write information to the LIM without E-Sys&amp;lt;ref&amp;gt;[https://openinverter.org/forum/viewtopic.php?p=54432&amp;amp;sid=e276b6583092e79d1ba390a24c652ece#p54432 https://openinverter.org/forum/viewtopic.php?p=54432]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Programming LIM using E-Sys and a BDC/Key ===&lt;br /&gt;
Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session: https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. In the meantime, Damien is offering LIM programming as a service: https://www.evbmw.com/index.php/evbmw-webshop/evbmw-serv/limprg.&lt;br /&gt;
&lt;br /&gt;
====== Basic shopping list if you want to program a LIM: ======&lt;br /&gt;
*Software: &lt;br /&gt;
**Esys 3.36 from here: https://disk.yandex.ru/d/3XLfVVYHFq8qQw&lt;br /&gt;
**pszdata lite from here: https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&lt;br /&gt;
*Hardware: &lt;br /&gt;
**BMW LIM ([[#LIM hardware|see &amp;quot;LIM hardware&amp;quot; section below]]), connectors and pins ([[#Connectors and Pinouts|see &amp;quot;Connectors and Pinouts&amp;quot; section above]]).&lt;br /&gt;
**BMW i3 BDC (Body Domain Controller): basically the main ecu in the i3 that gates all the data around the car. &lt;br /&gt;
***Damien sourced his from: https://www.evbreakers.com/ noting &#039;&#039;They even threw in the plugs and few cm of harness for free.&#039;&#039;&lt;br /&gt;
***According to realoem.com, the first BDC (used in 2014) was p/n 61359354010&lt;br /&gt;
****A fuller list of the various BDCs over the subsequent years can be found here here:https://www.realoem.com/bmw/enUS/partxref?q=61359354010. Thankfully, there is a very wide retro/cross-compatibility&lt;br /&gt;
****Also found some part numbers in ebay listings not seen in the realoem list (maybe a North America vs EU thing?):&lt;br /&gt;
*****61-35-8-715-974, 61-35-5-A40-2F9&lt;br /&gt;
**Car key from the same car as the BDC. EDIT: this may not be necessary as the BDC can be put into &amp;quot;on&amp;quot; mode by running the full fault delete function using ISTA &amp;lt;ref&amp;gt; https://openinverter.org/forum/viewtopic.php?p=44069#p44069&amp;lt;/ref&amp;gt;&lt;br /&gt;
***Wondering if a non-matching used or new fob could be used/reprogrammed if the BDC donor&#039;s VIN was known?&lt;br /&gt;
**BDC simulator: https://www.aliexpress.com/item/1005002317110375.html&lt;br /&gt;
**Enet cable: https://bcables.com/&lt;br /&gt;
** USB to Ethernet adapter if your PC / laptop does not have a spare Ethernet port.&lt;br /&gt;
**Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
*DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
=== Programming LIM using Vector CAN and Fahrzeugauftrag (FA) file ===&lt;br /&gt;
&lt;br /&gt;
* Hardware requirement: TBD&lt;br /&gt;
** Vector CAN (can other hardware be used?)&lt;br /&gt;
* Software requirement: BMW E-sys v3.34 (tested&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=54452#p54452&amp;lt;/ref&amp;gt;)&lt;br /&gt;
* Advantages/Disadvantages&lt;br /&gt;
&lt;br /&gt;
== Charge control==&lt;br /&gt;
The EVSE (charging station) shares its charging capacity limits via PWM during IEC 61851/ J1772 AC charging, or via PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car cannot handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state closed (charge door feedback pin 4B-12 floating)&lt;br /&gt;
##charge door feedback is set to locked in 0x272 byte 2&lt;br /&gt;
#Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
##Fault set in 0x272 byte 2&lt;br /&gt;
#Ignition in 0x12F byte 2 needs to toggle from OFF 0x88 to ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#12V permanent to be connected to the LIM&lt;br /&gt;
#Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;celeron55&#039;s notes&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
Some detail of a tested 61 35 6 828 052 unit that may or may not be of interest to anyone:&lt;br /&gt;
# The intention is to make the LIM do this test at vehicle power up. In Zombie terms that means when going into the MOD_RUN state.&lt;br /&gt;
# The LIM will do the contactor test if it sees for a duration of 3 seconds that:&lt;br /&gt;
## The charge door is closed according to feedback (feedback line at 12V). 0x272 byte 2 bits 0 and 1. On Zombie that&#039;s the CP_DOOR parameter.&lt;br /&gt;
## The inlet voltage sensor is giving a low enough value (the limit is 60V according to above). 0x3B4 byte 7. On Zombie that&#039;s the CCS_V_Con parameter.&lt;br /&gt;
## The CAN ignition bit in 0x12F byte 2 was OFF earlier. (0x8a=ON, 0x86=OFF)&lt;br /&gt;
## The CAN ignition bit in 0x12F byte 2 is ON currently. On Zombie this gets set when opmode==MOD_RUN. Charging is disabled in opmode==MOD_RUN, so afterwards before charging it needs to be changed yet again to another value.&lt;br /&gt;
# What happens in the contactor test is that the LIM closes the contactors for a bit and then opens them. If the LIM likes what it sees, this clears the 0x272 byte 2 contactor bits to 0. On Zombie that&#039;s the CCS_Contactor parameter.&lt;br /&gt;
# On the bench, the LIM doesn&#039;t seem to care if the inlet voltage sensor doesn&#039;t sense a voltage during the test. However on the bench it was impossible to tell whether it would actually proceed to charge or not.&lt;br /&gt;
# The meaning of the CCS_Contactor values are as follows. Values other than 0 and !=0 may not be visible in UIs, but due to the nature of how the value is read from CAN, it can have other values than 0 and 1.&lt;br /&gt;
## 0 = Open&lt;br /&gt;
## 1 = Closed (Assuming)&lt;br /&gt;
## 8 = Doing contactor test&lt;br /&gt;
## 24 = Inlet voltage high / udc low&lt;br /&gt;
## 28 = Waiting for ignition cycle&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. (Not yet implemented to the STM32 / ZombieVerter VCU project) &lt;br /&gt;
&lt;br /&gt;
However, this temperature measurement is also done on the charger side, on the CCS cable itself. Chargers will protect themselves from overheating the CCS pins.The absolute max pin temperature allowed can range from 70-90*C depending on quickcharger brand. &lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
| VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms (4s)&lt;br /&gt;
| needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms (4s)&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x397&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;OBD&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|1000ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x330&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Range info&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) not needed&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) not needed&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
| OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
| (constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x380&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Vin&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;s&amp;gt;not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x2EF&lt;br /&gt;
|Min. available voltage from the CCS charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.  Any VIN, or none, can be used.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
=== Physical dimensions ===&lt;br /&gt;
The main body is 170mm x 42mm x 104mm. There are 2 mounting brackets with 192mm hole spacing. Total width is 215mm. The connectors on the front have additional 16mm to the main body.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=51061#p51061&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
! Used until&lt;br /&gt;
! Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
| 2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
| TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
| LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3491</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3491"/>
		<updated>2023-03-09T19:46:06Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Connectors and Pinouts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new, it comes without firmware loaded, and it must be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|(?Hirschmann 805-587-545?)&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;Auto-Click UK Part link has Pin 13 through 16 blocked. Received a Mercedes Part from them instead of BMW using this part number. Please check the part for proper compatibility&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM Connectors and Pin Numbering]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal input and output +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description (BMW)&lt;br /&gt;
!Description (MINI)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=51484#p51484&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|Pilot (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|PE / GND&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|Connected to Pin 5&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|PE / GND&lt;br /&gt;
|Ground (charge port earth)&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
| -&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|N/C (TBD if used for US CCS1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW I3 2016 Factory Workshop Service Repair Manual 2563-4b.png|thumb|1000x1000px|left|BMW i3 DCFC CCS factory wiring (simplified) (1-phase version, probably US)]]&lt;br /&gt;
&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
&lt;br /&gt;
A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  &lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]An alternative voltage sense board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
[[File:BMW-i3-LIM-CCS-charging-voltage-sense-board-measuring.jpg|none|thumb|BMW i3 LIM voltage sense board by EVcreate]]&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available from [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SAE J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistance values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used, and it would be convenient to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033]&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=32096#p32096&amp;lt;/ref&amp;gt; or Hirschmann 805122541&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=49346#p49346&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Wake/sleep ===&lt;br /&gt;
The LIM will wake up under any of these circumstances:&lt;br /&gt;
&lt;br /&gt;
* When 12V is applied to the hardware wake up line (1B-8).&lt;br /&gt;
* On plug insertion.&lt;br /&gt;
* On opening of the charge port door.&lt;br /&gt;
* When the LIM sees CAN message 0x12F.&lt;br /&gt;
&lt;br /&gt;
The hardware wake up line works in both directions. I.e., the LIM can be woken by 12V on the hardware wake up line, but, similarly, when the LIM wakes up it will put 12V on the wake up line itself. This can be used to do things like waking up an OBC on plug insertion.&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you order a new LIM there is no configuration loaded but our hero Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=43848#p43848&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session: https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. In the meantime, Damien is offering LIM programming as a service: https://www.evbmw.com/index.php/evbmw-webshop/evbmw-serv/limprg.&lt;br /&gt;
&lt;br /&gt;
====Basic shopping list if you want to program a LIM:====&lt;br /&gt;
&lt;br /&gt;
*Software: &lt;br /&gt;
**Esys 3.36 from here: https://disk.yandex.ru/d/3XLfVVYHFq8qQw&lt;br /&gt;
**pszdata lite from here: https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&lt;br /&gt;
*Hardware: &lt;br /&gt;
**BMW LIM ([[#LIM hardware|see &amp;quot;LIM hardware&amp;quot; section below]]), connectors and pins ([[#Connectors and Pinouts|see &amp;quot;Connectors and Pinouts&amp;quot; section above]]).&lt;br /&gt;
**BMW i3 BDC (Body Domain Controller): basically the main ecu in the i3 that gates all the data around the car. &lt;br /&gt;
***Damien sourced his from: https://www.evbreakers.com/ noting &#039;&#039;They even threw in the plugs and few cm of harness for free.&#039;&#039;&lt;br /&gt;
***According to realoem.com, the first BDC (used in 2014) was p/n 61359354010&lt;br /&gt;
****A fuller list of the various BDCs over the subsequent years can be found here here:https://www.realoem.com/bmw/enUS/partxref?q=61359354010. Thankfully, there is a very wide retro/cross-compatibility&lt;br /&gt;
****Also found some part numbers in ebay listings not seen in the realoem list (maybe a North America vs EU thing?):&lt;br /&gt;
*****61-35-8-715-974, 61-35-5-A40-2F9&lt;br /&gt;
**Car key from the same car as the BDC. EDIT: this may not be necessary as the BDC can be put into &amp;quot;on&amp;quot; mode by running the full fault delete function using ISTA &amp;lt;ref&amp;gt; https://openinverter.org/forum/viewtopic.php?p=44069#p44069&amp;lt;/ref&amp;gt;&lt;br /&gt;
***Wondering if a non-matching used or new fob could be used/reprogrammed if the BDC donor&#039;s VIN was known?&lt;br /&gt;
**BDC simulator: https://www.aliexpress.com/item/1005002317110375.html&lt;br /&gt;
**Enet cable: https://bcables.com/&lt;br /&gt;
** USB to Ethernet adapter if your PC / laptop does not have a spare Ethernet port.&lt;br /&gt;
**Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
*DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
== Charge control==&lt;br /&gt;
The EVSE (charging station) shares its charging capacity limits via PWM during IEC 61851/ J1772 AC charging, or via PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car cannot handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state closed (charge door feedback pin 4B-12 floating)&lt;br /&gt;
##charge door feedback is set to locked in 0x272 byte 2&lt;br /&gt;
#Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
##Fault set in 0x272 byte 2&lt;br /&gt;
#Ignition in 0x12F byte 2 needs to toggle from OFF 0x88 to ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#12V permanent to be connected to the LIM&lt;br /&gt;
#Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. (Not yet implemented to the STM32 / ZombieVerter VCU project) &lt;br /&gt;
&lt;br /&gt;
However, this temperature measurement is also done on the charger side, on the CCS cable itself. Chargers will protect themselves from overheating the CCS pins.The absolute max pin temperature allowed can range from 70-90*C depending on quickcharger brand. &lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
| VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms (4s)&lt;br /&gt;
| needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms (4s)&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x397&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;OBD&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|1000ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x330&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Range info&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x512&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management edme&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
| &amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x560&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management kombi&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
| OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
| (constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x380&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Vin&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;s&amp;gt;not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x2EF&lt;br /&gt;
|Min. available voltage from the CCS charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.  Any VIN, or none, can be used.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
=== Physical dimensions ===&lt;br /&gt;
The main body is 170mm x 42mm x 104mm. There are 2 mounting brackets with 192mm hole spacing. Total width is 215mm. The connectors on the front have additional 16mm to the main body.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=51061#p51061&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
! Used until&lt;br /&gt;
! Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
| 2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
| TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
| LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3421</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3421"/>
		<updated>2023-02-26T15:57:34Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Connectors and Pinouts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new, it comes without firmware loaded, and it must be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM Connectors and Pin Numbering]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal input and output +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|PE / GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description (BMW)&lt;br /&gt;
!Description (MINI)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=51484#p51484&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|Pilot (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|Connected to Pin 5&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|N/C (TBD if used for US CCS1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW I3 2016 Factory Workshop Service Repair Manual 2563-4b.png|thumb|1000x1000px|left|BMW i3 DCFC CCS factory wiring (simplified) (1-phase version, probably US)]]&lt;br /&gt;
&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
&lt;br /&gt;
A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  &lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]An alternative voltage sense board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
[[File:BMW-i3-LIM-CCS-charging-voltage-sense-board-measuring.jpg|none|thumb|BMW i3 LIM voltage sense board by EVcreate]]&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available from [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SAE J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistance values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used, and it would be convenient to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033]&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=32096#p32096&amp;lt;/ref&amp;gt; or Hirschmann 805122541&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=49346#p49346&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Wake/sleep ===&lt;br /&gt;
The LIM will wake up under any of these circumstances:&lt;br /&gt;
&lt;br /&gt;
* When 12V is applied to the hardware wake up line (1B-8).&lt;br /&gt;
* On plug insertion.&lt;br /&gt;
* On opening of the charge port door.&lt;br /&gt;
* When the LIM sees CAN message 0x12F.&lt;br /&gt;
&lt;br /&gt;
The hardware wake up line works in both directions. I.e., the LIM can be woken by 12V on the hardware wake up line, but, similarly, when the LIM wakes up it will put 12V on the wake up line itself. This can be used to do things like waking up an OBC on plug insertion.&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you order a new LIM there is no configuration loaded but our hero Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=43848#p43848&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session: https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. In the meantime, Damien is offering LIM programming as a service: https://www.evbmw.com/index.php/evbmw-webshop/evbmw-serv/limprg.&lt;br /&gt;
&lt;br /&gt;
====Basic shopping list if you want to program a LIM:====&lt;br /&gt;
&lt;br /&gt;
*Software: &lt;br /&gt;
**Esys 3.36 from here: https://disk.yandex.ru/d/3XLfVVYHFq8qQw&lt;br /&gt;
**pszdata lite from here: https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&lt;br /&gt;
*Hardware: &lt;br /&gt;
**BMW LIM ([[#LIM hardware|see &amp;quot;LIM hardware&amp;quot; section below]]), connectors and pins ([[#Connectors and Pinouts|see &amp;quot;Connectors and Pinouts&amp;quot; section above]]).&lt;br /&gt;
**BMW i3 BDC (Body Domain Controller): basically the main ecu in the i3 that gates all the data around the car. &lt;br /&gt;
***Damien sourced his from: https://www.evbreakers.com/ noting &#039;&#039;They even threw in the plugs and few cm of harness for free.&#039;&#039;&lt;br /&gt;
***According to realoem.com, the first BDC (used in 2014) was p/n 61359354010&lt;br /&gt;
****A fuller list of the various BDCs over the subsequent years can be found here here:https://www.realoem.com/bmw/enUS/partxref?q=61359354010. Thankfully, there is a very wide retro/cross-compatibility&lt;br /&gt;
****Also found some part numbers in ebay listings not seen in the realoem list (maybe a North America vs EU thing?):&lt;br /&gt;
*****61-35-8-715-974, 61-35-5-A40-2F9&lt;br /&gt;
**Car key from the same car as the BDC. EDIT: this may not be necessary as the BDC can be put into &amp;quot;on&amp;quot; mode by running the full fault delete function using ISTA &amp;lt;ref&amp;gt; https://openinverter.org/forum/viewtopic.php?p=44069#p44069&amp;lt;/ref&amp;gt;&lt;br /&gt;
***Wondering if a non-matching used or new fob could be used/reprogrammed if the BDC donor&#039;s VIN was known?&lt;br /&gt;
**BDC simulator: https://www.aliexpress.com/item/1005002317110375.html&lt;br /&gt;
**Enet cable: https://bcables.com/&lt;br /&gt;
** USB to Ethernet adapter if your PC / laptop does not have a spare Ethernet port.&lt;br /&gt;
**Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
*DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
== Charge control==&lt;br /&gt;
The EVSE (charging station) shares its charging capacity limits via PWM during IEC 61851/ J1772 AC charging, or via PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car cannot handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state closed (charge door feedback pin 4B-12 floating)&lt;br /&gt;
##charge door feedback is set to locked in 0x272 byte 2&lt;br /&gt;
#Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
##Fault set in 0x272 byte 2&lt;br /&gt;
#Ignition in 0x12F byte 2 needs to toggle from OFF 0x88 to ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#12V permanent to be connected to the LIM&lt;br /&gt;
#Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. (Not yet implemented to the STM32 / ZombieVerter VCU project) &lt;br /&gt;
&lt;br /&gt;
However, this temperature measurement is also done on the charger side, on the CCS cable itself. Chargers will protect themselves from overheating the CCS pins.The absolute max pin temperature allowed can range from 70-90*C depending on quickcharger brand. &lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
| VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms (4s)&lt;br /&gt;
| needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms (4s)&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x397&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;OBD&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|1000ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x330&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Range info&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x512&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management edme&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
| &amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x560&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management kombi&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
| OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
| (constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x380&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Vin&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;s&amp;gt;not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x2EF&lt;br /&gt;
|Min. available voltage from the CCS charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.  Any VIN, or none, can be used.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
=== Physical dimensions ===&lt;br /&gt;
The main body is 170mm x 42mm x 104mm. There are 2 mounting brackets with 192mm hole spacing. Total width is 215mm. The connectors on the front have additional 16mm to the main body.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=51061#p51061&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
! Used until&lt;br /&gt;
! Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
| 2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
| TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
| LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3406</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3406"/>
		<updated>2023-02-26T02:19:31Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Contactor Test */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new, it comes without firmware loaded, and it must be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM Connectors and Pin Numbering]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description (BMW)&lt;br /&gt;
!Description (MINI)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=51484#p51484&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|Pilot (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|Connected to Pin 5&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|N/C (TBD if used for US CCS1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW I3 2016 Factory Workshop Service Repair Manual 2563-4b.png|thumb|1000x1000px|left|BMW i3 DCFC CCS factory wiring (simplified) (1-phase version, probably US)]]&lt;br /&gt;
&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
&lt;br /&gt;
A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  &lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]An alternative voltage sense board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
[[File:BMW-i3-LIM-CCS-charging-voltage-sense-board-measuring.jpg|none|thumb|BMW i3 LIM voltage sense board by EVcreate]]&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available from [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SAE J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistance values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used, and it would be convenient to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033]&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=32096#p32096&amp;lt;/ref&amp;gt; or Hirschmann 805122541&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=49346#p49346&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Wake/sleep ===&lt;br /&gt;
The LIM will wake up under any of these circumstances:&lt;br /&gt;
&lt;br /&gt;
* When 12V is applied to the hardware wake up line (1B-8).&lt;br /&gt;
* On plug insertion.&lt;br /&gt;
* On opening of the charge port door.&lt;br /&gt;
* When the LIM sees CAN message 0x12F.&lt;br /&gt;
&lt;br /&gt;
The hardware wake up line works in both directions. I.e., the LIM can be woken by 12V on the hardware wake up line, but, similarly, when the LIM wakes up it will put 12V on the wake up line itself. This can be used to do things like waking up an OBC on plug insertion.&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you order a new LIM there is no configuration loaded but our hero Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=43848#p43848&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session: https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. In the meantime, Damien is offering LIM programming as a service: https://www.evbmw.com/index.php/evbmw-webshop/evbmw-serv/limprg.&lt;br /&gt;
&lt;br /&gt;
====Basic shopping list if you want to program a LIM:====&lt;br /&gt;
&lt;br /&gt;
*Software: &lt;br /&gt;
**Esys 3.36 from here: https://disk.yandex.ru/d/3XLfVVYHFq8qQw&lt;br /&gt;
**pszdata lite from here: https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&lt;br /&gt;
*Hardware: &lt;br /&gt;
**BMW LIM ([[#LIM hardware|see &amp;quot;LIM hardware&amp;quot; section below]]), connectors and pins ([[#Connectors and Pinouts|see &amp;quot;Connectors and Pinouts&amp;quot; section above]]).&lt;br /&gt;
**BMW i3 BDC (Body Domain Controller): basically the main ecu in the i3 that gates all the data around the car. &lt;br /&gt;
***Damien sourced his from: https://www.evbreakers.com/ noting &#039;&#039;They even threw in the plugs and few cm of harness for free.&#039;&#039;&lt;br /&gt;
***According to realoem.com, the first BDC (used in 2014) was p/n 61359354010&lt;br /&gt;
****A fuller list of the various BDCs over the subsequent years can be found here here:https://www.realoem.com/bmw/enUS/partxref?q=61359354010. Thankfully, there is a very wide retro/cross-compatibility&lt;br /&gt;
****Also found some part numbers in ebay listings not seen in the realoem list (maybe a North America vs EU thing?):&lt;br /&gt;
*****61-35-8-715-974, 61-35-5-A40-2F9&lt;br /&gt;
**Car key from the same car as the BDC. EDIT: this may not be necessary as the BDC can be put into &amp;quot;on&amp;quot; mode by running the full fault delete function using ISTA &amp;lt;ref&amp;gt; https://openinverter.org/forum/viewtopic.php?p=44069#p44069&amp;lt;/ref&amp;gt;&lt;br /&gt;
***Wondering if a non-matching used or new fob could be used/reprogrammed if the BDC donor&#039;s VIN was known?&lt;br /&gt;
**BDC simulator: https://www.aliexpress.com/item/1005002317110375.html&lt;br /&gt;
**Enet cable: https://bcables.com/&lt;br /&gt;
** USB to Ethernet adapter if your PC / laptop does not have a spare Ethernet port.&lt;br /&gt;
**Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
*DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
== Charge control==&lt;br /&gt;
The EVSE (charging station) shares its charging capacity limits via PWM during IEC 61851/ J1772 AC charging, or via PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car cannot handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state closed (charge door feedback pin 4B-12 floating)&lt;br /&gt;
##charge door feedback is set to locked in 0x272 byte 2&lt;br /&gt;
#Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
##Fault set in 0x272 byte 2&lt;br /&gt;
#Ignition in 0x12F byte 2 needs to toggle from OFF 0x88 to ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#12V permanent to be connected to the LIM&lt;br /&gt;
#Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. (Not yet implemented to the STM32 / ZombieVerter VCU project) &lt;br /&gt;
&lt;br /&gt;
However, this temperature measurement is also done on the charger side, on the CCS cable itself. Chargers will protect themselves from overheating the CCS pins.The absolute max pin temperature allowed can range from 70-90*C depending on quickcharger brand. &lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
| VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms (4s)&lt;br /&gt;
| needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms (4s)&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x397&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;OBD&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|1000ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x330&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Range info&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x512&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management edme&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
| &amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x560&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management kombi&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
| OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
| (constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x380&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Vin&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;s&amp;gt;not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x2EF&lt;br /&gt;
|Min. available voltage from the CCS charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.  Any VIN, or none, can be used.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
=== Physical dimensions ===&lt;br /&gt;
The main body is 170mm x 42mm x 104mm. There are 2 mounting brackets with 192mm hole spacing. Total width is 215mm. The connectors on the front have additional 16mm to the main body.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=51061#p51061&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
! Used until&lt;br /&gt;
! Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
| 2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
| TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
| LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3332</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=3332"/>
		<updated>2023-02-16T12:33:39Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* CAN communication */ updated needed messages and timing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new, it comes without firmware loaded, and it must be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM Connectors and Pin Numbering]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description (BMW)&lt;br /&gt;
!Description (MINI)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=51484#p51484&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|Pilot (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|Connected to Pin 5&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|N/C (TBD if used for US CCS1)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;(Contactor coil resistance must be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW I3 2016 Factory Workshop Service Repair Manual 2563-4b.png|thumb|1000x1000px|left|BMW i3 DCFC CCS factory wiring (simplified) (1-phase version, probably US)]]&lt;br /&gt;
&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
&lt;br /&gt;
A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  &lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]An alternative voltage sense board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
[[File:BMW-i3-LIM-CCS-charging-voltage-sense-board-measuring.jpg|none|thumb|BMW i3 LIM voltage sense board by EVcreate]]&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available from [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SAE J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistance values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used, and it would be convenient to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033]&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=32096#p32096&amp;lt;/ref&amp;gt; or Hirschmann 805122541&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=49346#p49346&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Wake/sleep ===&lt;br /&gt;
The LIM will wake up under any of these circumstances:&lt;br /&gt;
&lt;br /&gt;
* When 12V is applied to the hardware wake up line (1B-8).&lt;br /&gt;
* On plug insertion.&lt;br /&gt;
* On opening of the charge port door.&lt;br /&gt;
* When the LIM sees CAN message 0x12F.&lt;br /&gt;
&lt;br /&gt;
The hardware wake up line works in both directions. I.e., the LIM can be woken by 12V on the hardware wake up line, but, similarly, when the LIM wakes up it will put 12V on the wake up line itself. This can be used to do things like waking up an OBC on plug insertion.&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you order a new LIM there is no configuration loaded but our hero Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=43848#p43848&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session: https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. In the meantime, Damien is offering LIM programming as a service: https://www.evbmw.com/index.php/evbmw-webshop/evbmw-serv/limprg.&lt;br /&gt;
&lt;br /&gt;
====Basic shopping list if you want to program a LIM:====&lt;br /&gt;
&lt;br /&gt;
*Software: &lt;br /&gt;
**Esys 3.36 from here: https://disk.yandex.ru/d/3XLfVVYHFq8qQw&lt;br /&gt;
**pszdata lite from here: https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&lt;br /&gt;
*Hardware: &lt;br /&gt;
**BMW LIM ([[#LIM hardware|see &amp;quot;LIM hardware&amp;quot; section below]]), connectors and pins ([[#Connectors and Pinouts|see &amp;quot;Connectors and Pinouts&amp;quot; section above]]).&lt;br /&gt;
**BMW i3 BDC (Body Domain Controller): basically the main ecu in the i3 that gates all the data around the car. &lt;br /&gt;
***Damien sourced his from: https://www.evbreakers.com/ noting &#039;&#039;They even threw in the plugs and few cm of harness for free.&#039;&#039;&lt;br /&gt;
***According to realoem.com, the first BDC (used in 2014) was p/n 61359354010&lt;br /&gt;
****A fuller list of the various BDCs over the subsequent years can be found here here:https://www.realoem.com/bmw/enUS/partxref?q=61359354010. Thankfully, there is a very wide retro/cross-compatibility&lt;br /&gt;
****Also found some part numbers in ebay listings not seen in the realoem list (maybe a North America vs EU thing?):&lt;br /&gt;
*****61-35-8-715-974, 61-35-5-A40-2F9&lt;br /&gt;
**Car key from the same car as the BDC. EDIT: this may not be necessary as the BDC can be put into &amp;quot;on&amp;quot; mode by running the full fault delete function using ISTA &amp;lt;ref&amp;gt; https://openinverter.org/forum/viewtopic.php?p=44069#p44069&amp;lt;/ref&amp;gt;&lt;br /&gt;
***Wondering if a non-matching used or new fob could be used/reprogrammed if the BDC donor&#039;s VIN was known?&lt;br /&gt;
**BDC simulator: https://www.aliexpress.com/item/1005002317110375.html&lt;br /&gt;
**Enet cable: https://bcables.com/&lt;br /&gt;
** USB to Ethernet adapter if your PC / laptop does not have a spare Ethernet port.&lt;br /&gt;
**Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
*DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
== Charge control==&lt;br /&gt;
The EVSE (charging station) shares its charging capacity limits via PWM during IEC 61851/ J1772 AC charging, or via PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car cannot handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
##Fault set in 0x272 byte 2&lt;br /&gt;
#Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
#HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
#Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
#12V permanent to be connected to the LIM&lt;br /&gt;
#Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
#LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. (Not yet implemented to the STM32 / ZombieVerter VCU project) &lt;br /&gt;
&lt;br /&gt;
However, this temperature measurement is also done on the charger side, on the CCS cable itself. Chargers will protect themselves from overheating the CCS pins.The absolute max pin temperature allowed can range from 70-90*C depending on quickcharger brand. &lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
| VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms (4s)&lt;br /&gt;
| needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms (4s)&lt;br /&gt;
|(constant values) &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x397&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;OBD&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|1000ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x330&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Range info&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
| 200ms&lt;br /&gt;
| (constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x512&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management edme&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
| &amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x560&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Network management kombi&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;200ms&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;(constant values) not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
| OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
| (constant values)&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;s&amp;gt;0x380&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;Vin&amp;lt;/s&amp;gt;&lt;br /&gt;
|&amp;lt;s&amp;gt;VCU&amp;lt;/s&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|&amp;lt;s&amp;gt;not needed&amp;lt;/s&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x2EF&lt;br /&gt;
|Min. available voltage from the CCS charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.  Any VIN, or none, can be used.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
=== Physical dimensions ===&lt;br /&gt;
The main body is 170mm x 42mm x 104mm. There are 2 mounting brackets with 192mm hole spacing. Total width is 215mm. The connectors on the front have additional 16mm to the main body.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=51061#p51061&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
! Used until&lt;br /&gt;
! Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
| 2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
| TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
| LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2681</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2681"/>
		<updated>2022-08-14T14:38:09Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Programming a new LIM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new it comes without firmware and it needs to be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  Alternative board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ from EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033] ([https://openinverter.org/forum/viewtopic.php?p=32096#p32096 ref. jon volk])&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you order a new LIM there is no configuration loaded but our hero Damien managed to program a brand new LIM with a i3 BDC (Body Domain Controller).&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=43848#p43848&lt;br /&gt;
&lt;br /&gt;
He caught a CAN log of the programming session https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. Otherwise he might offers LIM programming as a service.&lt;br /&gt;
&lt;br /&gt;
==== Basic shopping list if you want to program a LIM: ====&lt;br /&gt;
&lt;br /&gt;
* Software : Esys 3.36 from here : &amp;lt;nowiki&amp;gt;https://disk.yandex.ru/d/3XLfVVYHFq8qQw&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* pszdata lite from here : &amp;lt;nowiki&amp;gt;https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Hardware : LIM (duh!), connectors and pins. &lt;br /&gt;
* BMW i3 BDC (Body Domain Controller) basically the main ecu in the i3 the gates all the data around the car. &amp;lt;nowiki&amp;gt;https://www.evbreakers.com/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Car key from the same car as the BDC.&lt;br /&gt;
* BDC simulator : &amp;lt;nowiki&amp;gt;https://www.aliexpress.com/item/1005002317110375.html&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Enet cable : &amp;lt;nowiki&amp;gt;https://bcables.com/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* USB to ethernet adapter if your PC / laptop does not have a spare ethernet port.&lt;br /&gt;
* Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
* DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares its limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
## Fault set in 0x272 byte 2&lt;br /&gt;
# Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# 12V permanent to be connected to the LIM&lt;br /&gt;
# Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
| 0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
| Main LIM control&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
| VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
| Min. available voltage from the CCS charger.&lt;br /&gt;
| LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
! ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
===Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2680</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2680"/>
		<updated>2022-08-14T07:55:58Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Added information about Programming a new LIM&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new it comes without firmware and it needs to be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  Alternative board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ from EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033] ([https://openinverter.org/forum/viewtopic.php?p=32096#p32096 ref. jon volk])&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Programming a new LIM ==&lt;br /&gt;
If you order a new LIM there is no firmware loaded but our hero Damien managed to program a brand new LIM.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=43848#p43848&lt;br /&gt;
&lt;br /&gt;
Damien also caught a CAN log of the programming session https://github.com/damienmaguire/BMW-i3-CCS/tree/main/Programming/Logs&lt;br /&gt;
&lt;br /&gt;
Hopefully we figure out how to do it with a few CAN messages. Otherwise he might offering it as a service.&lt;br /&gt;
&lt;br /&gt;
==== Basic shopping list if you want to program a LIM: ====&lt;br /&gt;
&lt;br /&gt;
* Software : Esys 3.36 from here : &amp;lt;nowiki&amp;gt;https://disk.yandex.ru/d/3XLfVVYHFq8qQw&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* pszdata lite from here : &amp;lt;nowiki&amp;gt;https://disk.yandex.ru/d/Y0w0r5T1ElMVdA&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Hardware : LIM (duh!), connectors and pins. &lt;br /&gt;
* BMW i3 BDC (Body Domain Controller) basically the main ecu in the i3 the gates all the data around the car. &amp;lt;nowiki&amp;gt;https://www.evbreakers.com/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Car key from the same car as the BDC.&lt;br /&gt;
* BDC simulator : &amp;lt;nowiki&amp;gt;https://www.aliexpress.com/item/1005002317110375.html&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Enet cable : &amp;lt;nowiki&amp;gt;https://bcables.com/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* USB to ethernet adapter if your PC / laptop does not have a spare ethernet port.&lt;br /&gt;
* Two extra pins for Conn8 on the BDC to bring out PT CAN.&lt;br /&gt;
* DC power supply or 12v battery.&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares its limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
## Fault set in 0x272 byte 2&lt;br /&gt;
# Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# 12V permanent to be connected to the LIM&lt;br /&gt;
# Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
| 0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
| Main LIM control&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
| VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
| Min. available voltage from the CCS charger.&lt;br /&gt;
| LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
! ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
===Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2679</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2679"/>
		<updated>2022-08-14T07:38:47Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: new LIM comes without firmware&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM is also available new from BMW spare parts suppliers for € 240. If you get it new it comes without firmware and it needs to be programmed first.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  Alternative board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ from EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033] ([https://openinverter.org/forum/viewtopic.php?p=32096#p32096 ref. jon volk])&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
==Charge control==&lt;br /&gt;
The EVSE (charging station) shares its limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
## Fault set in 0x272 byte 2&lt;br /&gt;
# Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# 12V permanent to be connected to the LIM&lt;br /&gt;
# Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
| 0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
| Main LIM control&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
| VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
| Min. available voltage from the CCS charger.&lt;br /&gt;
| LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
! ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
===Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2673</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2673"/>
		<updated>2022-08-04T19:39:33Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* CCS DC charging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIMs are available new from BMW spare parts suppliers for € 240, but it is not confirmed if they come with firmware loaded, or if they need to be programmed at the dealer.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  Alternative board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ from EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033] ([https://openinverter.org/forum/viewtopic.php?p=32096#p32096 ref. jon volk])&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
==Charge control==&lt;br /&gt;
The EVSE (charging station) shares its limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
## Fault set in 0x272 byte 2&lt;br /&gt;
# Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# 12V permanent to be connected to the LIM&lt;br /&gt;
# Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
| 0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
| Main LIM control&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
| VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
| Min. available voltage from the CCS charger.&lt;br /&gt;
| LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
! ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
===Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This [https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee Design Guide for Combined Charging Systems] by CharIn describes the basics of CCS charging very well.&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/download/file.php?id=1712&amp;amp;sid=59cf27578e4021c1e6dc01c73f46d8ee&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2672</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2672"/>
		<updated>2022-08-04T16:45:08Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* AC charging */ IEC61851 charging sequence diagram&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIMs are available new from BMW spare parts suppliers for € 240, but it is not confirmed if they come with firmware loaded, or if they need to be programmed at the dealer.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  Alternative board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ from EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033] ([https://openinverter.org/forum/viewtopic.php?p=32096#p32096 ref. jon volk])&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
==Charge control==&lt;br /&gt;
The EVSE (charging station) shares its limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
## Fault set in 0x272 byte 2&lt;br /&gt;
# Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# 12V permanent to be connected to the LIM&lt;br /&gt;
# Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
| 0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
| Main LIM control&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
| VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
| Min. available voltage from the CCS charger.&lt;br /&gt;
| LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
! ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
===Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|1000x1000px|standard IEC61851 / J1772 charging sequence.|alt=]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/figure/CCS-Charging-sequence-with-a-simplified-architecture-on-system-level_fig14_338586995 CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since most of the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2671</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2671"/>
		<updated>2022-08-04T16:43:21Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:IEC61851 charging sequence.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2670</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2670"/>
		<updated>2022-08-04T15:50:41Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:IEC61851 charging sequence.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2669</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2669"/>
		<updated>2022-08-04T14:08:24Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:IEC61851 charging sequence.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2668</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2668"/>
		<updated>2022-08-04T13:01:56Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:IEC61851 charging sequence.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2667</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2667"/>
		<updated>2022-08-04T12:59:51Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:IEC61851 charging sequence.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2666</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2666"/>
		<updated>2022-08-04T12:58:40Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal reverted File:IEC61851 charging sequence.png to an old version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2665</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2665"/>
		<updated>2022-08-04T12:58:20Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Bitterandreal uploaded a new version of File:IEC61851 charging sequence.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2657</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=2657"/>
		<updated>2022-07-27T12:48:38Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* AC charging */ added standard IEC61851 / J1772 charging sequence diagram.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller.  It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIMs are available new from BMW spare parts suppliers for € 240, but it is not confirmed if they come with firmware loaded, or if they need to be programmed at the dealer.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/index.php?route=product/product&amp;amp;product_id=1344&amp;lt;/ref&amp;gt; / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;(CHAdeMO models only)&amp;lt;/span&amp;gt;&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/805-587-545&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967616-1&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://www.mouser.com/ProductDetail/571-1-967616-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/5-962885-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&amp;lt;ref&amp;gt;https://www.auto-click.co.uk/1-967067-1&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|(for the connector on the i3&#039;s Charge Port Cable Lock, &lt;br /&gt;
see [[BMW I3 Fast Charging LIM Module#Charge port lock|the Charge Port Lock section]])&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
| LED_S &lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Charge Port Lighting (not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Motor, and reference for 1B-16.&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Port &#039;&#039;cable&#039;&#039; Lock Feedback (1k unlocked, 11k locked), referenced to 1B-5&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=30636#p30636&amp;lt;/ref&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proximity (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Port DC Voltage (current input 3-20mA?)(1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red    charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue   charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24597#p24597&amp;lt;/ref&amp;gt;)(&#039;&#039;&#039;To be left floating for&#039;&#039;&#039; contactors weld test)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]Note [18Jun2022 ALS]: In the above diagram, some details may be non-current, eg the Charge Port Cover sensor is not shown, but its line @ 4B-12 must be floating (signalling that the Charge Port Cover is closed (?)) in order for the LIM to proceed with its welded contact tests; 4B-12 is tied to Ground (?) to indicate that the cover is open&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=41590#p41590&amp;lt;/ref&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC, PLC, or other communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal (or: 1.42V for 0V HV, linear to 4.8V for 500V HV)&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=24613#p24613&amp;lt;/ref&amp;gt; from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|Isolated DC Voltage sense board by muehlpower]]A circuit of a voltage sense board is shared [https://openinverter.org/forum/viewtopic.php?p=28143#p28143 here] and can be purchased [https://openinverter.org/forum/viewtopic.php?p=41641#p41641 here].  Alternative board is available [https://www.evcreate.nl/shop/charging/voltage-sense-board-bmw-i3-lim/ here].&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
The BMW OEM fast charge contactor relays, located in the KLE, are (2) TE EVC135 RELAY, SPST-NO, DM (# 2138011-1).&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Similar, though not exact, replacements are available [https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ from EVcreate]&lt;br /&gt;
&lt;br /&gt;
==== Larger contactor control ====&lt;br /&gt;
If you want to use larger contactors with PWM economizer or dual coil, use small relays to drive them and place a 15 ohm resistor (with heat sink) in parallel with each to simulate the original contactor coil&#039;s impedance.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistors must dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure via the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS(2) inlet|alt=DUOSIDA / MIDA CCS(2) inlet]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original BMW i3 Type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE, as J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The Type 2 charge port used in Europe probably has 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port.  Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US Type 1 (1-phase) and EU Type 2 (3-phase) charge ports, but the PP circuit is different.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
In the BMW i3 a quite expensive Phoenix/Delphi CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|alt=BMW i3 CCS inlet lock actuator|BMW i3 CCS inlet lock actuator]]&lt;br /&gt;
[[File:I3 ccs port wiring.jpg|none|alt=BMW i3 CCS inlet lock motor actuator wiring w/pinouts|BMW i3 CCS inlet lock motor actuator wiring w/pinouts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If using an OEM BMW i3 CCS charge port, the Kuster cable lock uses these connector parts:&lt;br /&gt;
&lt;br /&gt;
* Connector shell: [https://www.fcpeuro.com/products/bmw-socket-housing-4polig-12527549033 BMW 12527549033] ([https://openinverter.org/forum/viewtopic.php?p=32096#p32096 ref. jon volk])&lt;br /&gt;
* Terminals: [https://www.fcpeuro.com/products/bmw-socket-terminal-mqs-61131393724 BMW 61131393724]&lt;br /&gt;
* Terminal seals: [https://www.fcpeuro.com/products/bmw-sealing-grommet-61138366245 BMW 61138366245]&lt;br /&gt;
&lt;br /&gt;
===RGB charge indication light===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with an integrated RGB LED are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU.  The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
==Charge control==&lt;br /&gt;
The EVSE (charging station) shares its limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions, but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current values are needed by the LIM to check the response of the charging station.  In this setup, the battery voltage and current are measured by an Isabellenhütte IVT CAN bus sensor, but these values could also be measured and shared on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Contactor Test&#039;&#039;&#039; ===&lt;br /&gt;
This is required before the LIM will proceed past the Precharge state during ccs charging. &lt;br /&gt;
&lt;br /&gt;
To get it to do a contactor test following procedure has been determined&lt;br /&gt;
&lt;br /&gt;
For LIMs 61 35 6 828 052 &#039;&#039;and later&#039;&#039; (to be confirmed)&lt;br /&gt;
&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# Charge Port Voltage Sense feedback with contactors open needs to be above 60V&lt;br /&gt;
## Fault set in 0x272 byte 2&lt;br /&gt;
# Ignition in 0x12F byte 2 needs to toggle from to OFF 0x88 to ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For LIMs &#039;&#039;before&#039;&#039; 61 35 6 828 052 (to be confirmed)&lt;br /&gt;
# HV battery voltage to be present at vehicle side of contactors&lt;br /&gt;
# Charge Port door state is closed, feedback in 0x272 byte 2&lt;br /&gt;
# 12V permanent to be connected to the LIM&lt;br /&gt;
# Ignition in 0x12F byte 2 needs be ON 0x8a&lt;br /&gt;
# LIM will cycle contactors during weld test and clear fault in 0x272 byte 2&lt;br /&gt;
&lt;br /&gt;
===Battery-dependent charging current control===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependent current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===CCS inlet temperature sensors===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The BMW&#039;s LIM has no temperature sensor inputs, but the VCU/charge controller could be connected to these sensors (usually PT1000 or NTC) and charging current could be reduced if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
===AC charging (on board charger control)===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car-side charge controllers connected to the pilot line simultaneously.  It is recommended to control the charger by CAN bus. If your charger needs the pilot signal, you will have to emulate it or switch the pilot connection wiring over to the active charger during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the onboard charger accepts an AC current limit, this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Because we don&#039;t know the actual AC current, we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
==CAN communication==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
| 0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
| Main LIM control&lt;br /&gt;
| VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
| 0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
| 0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
| VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
| Min. available voltage from the CCS charger.&lt;br /&gt;
| LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Voltage as measured by the CCS charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 0x3B4&lt;br /&gt;
|EVSE info: CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==LIM logs==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
==Observations==&lt;br /&gt;
A VIN value is not required for AC or DC fast charging to function.&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
==LIM hardware==&lt;br /&gt;
&lt;br /&gt;
===LIM versions===&lt;br /&gt;
Only &amp;quot;LIM_AC_DC&#039;&#039;&#039;O&#039;&#039;&#039;&amp;quot; versions work for CCS.   Look for both &amp;quot;LIM_AC_DCO&amp;quot; &amp;lt;u&amp;gt;and&amp;lt;/u&amp;gt; a MAC address on the label!  If no MAC, the LIM is either AC-only (&amp;quot;LIM_AC&amp;quot;) or AC + CHAdeMO (&amp;quot;LIM_AC_DCC&amp;quot;), and not useful for CCS. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!Part No.&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
! ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
| x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| 61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 828 052&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Aug 2019&amp;lt;ref&amp;gt;https://bimmercat.com/bmw/en/parts/info/Control+unit%2C+charging+interf.module+LIM/61356828052&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
| x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Power Limits===&lt;br /&gt;
The limits for pre-2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
===Chips on the LIM board===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Charging protocols==&lt;br /&gt;
&lt;br /&gt;
===Signaling circuit===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
===AC charging===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well, but it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default, the the EVSE (charging station) outputs +12V on the CP pin, and when connected to an EV will be reduced to 9V because of a load resistor present in the Electric Vehicle; this signals the EVSE that the connector has been plugged into a EV.  After this, the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver.  If the EV is okay with that value of current, then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V, after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851, where untethered charging stations are allowed, the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US, with J1772, where charging stations need to be tethered, the PP pin is used to detect if the manual unlocking mechanism is pressed, to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|More information: https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
[[File:IEC61851 charging sequence.png|none|thumb|600x600px|standard IEC61851 / J1772 charging sequence.]]&lt;br /&gt;
&lt;br /&gt;
===CCS DC charging===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/figure/CCS-Charging-sequence-with-a-simplified-architecture-on-system-level_fig14_338586995 CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and &#039;&#039;Smart Charging Solutions for Full Size Urban Heavy Duty Applications&#039;&#039;, but since most of the protocols used are similar it has comparable sequence diagrams, with descriptions for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply-initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV-initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] &lt;br /&gt;
[[Category:BMW]] &lt;br /&gt;
[[Category:Charger]]&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2656</id>
		<title>File:IEC61851 charging sequence.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IEC61851_charging_sequence.png&amp;diff=2656"/>
		<updated>2022-07-27T12:46:19Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;standard IEC61851 charging sequence&lt;br /&gt;
No error, charging terminated by user&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1993</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1993"/>
		<updated>2021-12-02T09:31:11Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Wiring notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but it is not confirmed if they come with firmware loaded or if they need to be programmed at the dealer.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure you mount the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.&lt;br /&gt;
&lt;br /&gt;
Bad pilot wiring can result in SLAC or other PLC communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== AC charging (on board charger control) ===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car side charge controllers connected to the pilot line. It is recommended to control the charger by CAN bus. If your charger needs the pilot you have to emulate it or switch the pilot over during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM hardware ==&lt;br /&gt;
&lt;br /&gt;
=== LIM versions ===&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
=== Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
=== AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
Some new charging stations support AC charging with ISO 15118 high level protocol as well. But it is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default the the EVSE (charging station) outputs +12V on the CP pin, this when connected to an EV will get reduced to 9V because of a load resistor present in the Electric Vehicle, this signals the EVSE that the connector has been plugged into a EV. After this the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver. If the EV is okay with that value of current then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851 where untethered charging stations are allowed the PP pin is used to detect the maximum power rating of the cable.&lt;br /&gt;
&lt;br /&gt;
In the US with J1772 where charging stations need to be tethered the PP pin is used to detect if the manual unlocking mechanisme is pressed to stop the current flow before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|more information https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
&lt;br /&gt;
=== CCS DC charging ===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/figure/CCS-Charging-sequence-with-a-simplified-architecture-on-system-level_fig14_338586995 CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1992</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1992"/>
		<updated>2021-12-01T14:02:43Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: Added information to the charging protocols and rearranged the document.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but it is not confirmed if they come with firmware loaded or if they need to be programmed at the dealer.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure to keep the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.Bad pilot wiring can result in SLAC or other PLC communication problems.&lt;br /&gt;
&lt;br /&gt;
== Additional components for a LIM installation ==&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== AC charging (on board charger control) ===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car side charge controllers connected to the pilot line. It is recommended to control the charger by CAN bus. If your charger needs the pilot you have to emulate it or switch the pilot over during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM hardware ==&lt;br /&gt;
&lt;br /&gt;
=== LIM versions ===&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
=== Chips on the LIM board ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Charging protocols ==&lt;br /&gt;
&lt;br /&gt;
=== Signaling circuit ===&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|none|thumb|1500x1500px|CCS1 vs CCS2 combo signaling circuit]]&lt;br /&gt;
&lt;br /&gt;
=== AC charging ===&lt;br /&gt;
Usually the J1772 (US) or IEC61851 (EU) protocol is used for AC charging.&lt;br /&gt;
&lt;br /&gt;
AC charging with ISO 15118 high level protocol is possible too. It is not confirmed which versions of the LIM support it.&lt;br /&gt;
&lt;br /&gt;
By default the the EVSE (charging station) outputs +12V on the CP pin, this when connected to an EV will get reduced to 9V because of a load resistor present in the Electric Vehicle, this signals the EVSE that the connector has been plugged into a EV. After this the EVSE will send a 1khz +12V to ‐12V square wave (PWM signal) and the duty cycle value corresponding to the maximum current it could deliver. If the EV is okay with that value of current then it performs a handshake by changing the load resistance and dropping the PWM voltage to 6V after which the charging begins.&lt;br /&gt;
&lt;br /&gt;
In IEC61851 the PP pin is used to detect the maximum power rating of the cable for untethered charging stations.&lt;br /&gt;
&lt;br /&gt;
In the US with J1772 where charging stations need to be tethered the PP pin is used to detect if the manual unlocking mechanisme is pressed to stop charging before the plug is removed.&lt;br /&gt;
&lt;br /&gt;
[[wikipedia:SAE_J1772|more information https://en.wikipedia.org/wiki/SAE_J1772]]&lt;br /&gt;
&lt;br /&gt;
=== CCS DC charging ===&lt;br /&gt;
DIN 70121 and ISO 15118 are quite complex high level protocols transmitted over PLC (power line communication) on the CP pin.&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/figure/CCS-Charging-sequence-with-a-simplified-architecture-on-system-level_fig14_338586995 CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1986</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1986"/>
		<updated>2021-11-29T08:00:29Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Wiring Diagram notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
==== Wiring notes ====&lt;br /&gt;
Make sure to keep the LIM as close to the charge socket as possible and keep the pilot wire separate from the high power wiring.Bad pilot wiring can result in SLAC or other PLC communication problems.&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|80ms...1s&lt;br /&gt;
|needed (low interval during CCS start up)&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|alt=|none|thumb|1200x1200px|signaling circuit]]&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== AC charging (on board charger control) ===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car side charge controllers connected to the pilot line. It is recommended to control the charger by CAN bus. If your charger needs the pilot you have to emulate it or switch the pilot over during AC charging.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1985</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1985"/>
		<updated>2021-11-29T07:35:55Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge control */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit 2.png|alt=|none|thumb|1200x1200px|signaling circuit]]&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== AC charging (on board charger control) ===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car side charge controllers connected to the pilot line. It is recommended to control the charger by CAN bus.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:CCS1_vs_CCS2_signaling_circuit_2.png&amp;diff=1984</id>
		<title>File:CCS1 vs CCS2 signaling circuit 2.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:CCS1_vs_CCS2_signaling_circuit_2.png&amp;diff=1984"/>
		<updated>2021-11-29T07:34:57Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;lower level signaling circuit for CCS1 and CCS2&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1983</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1983"/>
		<updated>2021-11-29T07:30:38Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: AC charging notes and lower level signaling circuit diagram for CCS1 / CCS2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
[[File:CCS1 vs CCS2 signaling circuit.png|none|thumb|1200x1200px|signaling circuit]]&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== AC charging (on board charger control) ===&lt;br /&gt;
The LIM also handles the (lower level J1772 / IEC61851) communication during AC charging and shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
It is not possible to have two car side charge controllers connected to the pilot line. It is recommended to control the charger by CAN bus.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:CCS1_vs_CCS2_signaling_circuit.png&amp;diff=1982</id>
		<title>File:CCS1 vs CCS2 signaling circuit.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:CCS1_vs_CCS2_signaling_circuit.png&amp;diff=1982"/>
		<updated>2021-11-29T07:23:03Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;the lower level signaling circuit for CCS1 and CCS2 charging&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1907</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1907"/>
		<updated>2021-10-27T06:46:55Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1906</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1906"/>
		<updated>2021-10-26T17:48:26Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has 2.7 kΩ between PP and PE and no connection between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably 4.7 kΩ  between PP and PE. (from Phoenix datasheet. Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is a bit different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1905</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1905"/>
		<updated>2021-10-26T15:32:44Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
[https://www.researchgate.net/publication/338586995_EV_Charging_Definitions_Modes_Levels_Communication_Protocols_and_Applied_Standards EV Charging Definitions, Modes, Levels, Communication Protocols and Applied Standards]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC 61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has a 2.7K resistor between PP and PE and no resistor between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
The type 2 charge port used in Europe has probably no resistors like described in IEC 61851. (Not confirmed!)  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The CP communication is similar for US type 1 (1-phase) and EU type 2 (3-phase) charge ports but the PP circuit is a bit different and the lock mechanism is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1904</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1904"/>
		<updated>2021-10-26T12:17:50Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has a 2.7K resistor between PP and PE and no resistor between CP and PE like J1772 describes.  &lt;br /&gt;
&lt;br /&gt;
Make sure to match these if you want to use a different charge port. Some brands use different resistor values. &lt;br /&gt;
&lt;br /&gt;
The protocol and the electrical communication is similar for type 1 (1-phase) and type 2 (3-phase) charge ports but there is a difference in the lock mechanism which is motorised for type 2 and manual for type 1. &lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1903</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1903"/>
		<updated>2021-10-26T11:03:16Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Fast charge contactor control */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/connector-kit-for-bmw-i3-lim-ccs-charging-module/ LIM Connector Kit]&lt;br /&gt;
&lt;br /&gt;
[https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/ LIM Compatible Contactors]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Fast charge contactor ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
TE EVC135 RELAY, SPST-NO, DM (# 2138011-1) is used as fast charge contactor in the KLE.&lt;br /&gt;
&lt;br /&gt;
https://www.te.com/usa-en/product-2138011-1.html&lt;br /&gt;
&lt;br /&gt;
Available from EV Create https://www.evcreate.nl/shop/charging/contactor-matching-lim-ccs-charging-module-from-bmw-i3/&lt;br /&gt;
&lt;br /&gt;
==== Large contactor control ====&lt;br /&gt;
If you want to use a larger contactor with PWM economizer or dual coil use a smal relais to drive it and place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
Resistor values for each charging stage of the lower level protocol are described in the protocols but car manufacturers seem to place them in the charge port or in the charge controller or partly in both. Make sure the values are correct if you mix up parts from different cars.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The protocol and the electrical communication is similar for type 1 (1-phase) and type 2 (3-phase) charge ports but there is a difference in the lock mechanism which is motorised for type 2 and manual for type 1.&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has a ~637 ohms resistor between CP and PE &lt;br /&gt;
&lt;br /&gt;
and no resistor between PP and PE. Make sure to match these if you want to use a different charge port.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1897</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1897"/>
		<updated>2021-10-24T17:22:02Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet|alt=]]&lt;br /&gt;
SEA J1772 (US) and IEC61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
Resistor values for each charging stage of the lower level protocol are described in the protocols but car manufacturers seem to place them in the charge port or in the charge controller or partly in both. Make sure the values are correct if you mix up parts from different cars.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The protocol and the electrical communication is similar for type 1 (1-phase) and type 2 (3-phase) charge ports but there is a difference in the lock mechanism which is motorised for type 2 and manual for type 1.&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has a ~637 ohms resistor between CP and PE &lt;br /&gt;
&lt;br /&gt;
and no resistor between PP and PE. Make sure to match these if you want to use a different charge port.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1891</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1891"/>
		<updated>2021-10-24T13:05:46Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
SEA J1772 (US) / IEC61851 (international) cover the general physical, electrical, communication protocol, and performance requirements for the electric vehicle conductive charge system and coupler.&lt;br /&gt;
&lt;br /&gt;
Resistor values for each charge stage of the lower level protocol are given but car manufacturers seem to place them in the charge port or in the charge controller or partly in both. Make sure the total values are correct if you mix up parts from different cars.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
The protocol and the electrical communication is similar for type 1 (1-phase) and type 2 (3-phase) charge ports.&lt;br /&gt;
&lt;br /&gt;
But there is a difference in the lock mechanism which is motorised for type 2 and manual for type 1.&lt;br /&gt;
&lt;br /&gt;
The original i3 type 1 charge port has a ~637 ohms resistor between CP and GND &lt;br /&gt;
&lt;br /&gt;
and no resistor between PP and GND. Make sure to match these if you use a different port.&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
&#039;&#039;&#039;Only important for type 2 (3-phase) charge ports.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1890</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1890"/>
		<updated>2021-10-23T21:43:05Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge port  and lock feedback */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Charge port ===&lt;br /&gt;
The same protocols are used for the CCS-1 (US single phase AC) and the CCS-2 (EU 3-phase AC) inlet but there is a difference in the lock mechanism.&lt;br /&gt;
&lt;br /&gt;
The original charge port has a ~637 ohms resistor between CP and GND &lt;br /&gt;
&lt;br /&gt;
and no resistor between PP and GND. Make sure to match these if you use a different port.&lt;br /&gt;
&lt;br /&gt;
SEA J1772 describes the lower level protocol which is used for AC charging. &lt;br /&gt;
&lt;br /&gt;
Example car side resistor values for are given but car manufacturers seem to place them in the charge port or in the charge controller or partly in both. Make sure the total values are correct if you mix up parts from different cars.&lt;br /&gt;
&lt;br /&gt;
https://en.wikipedia.org/wiki/SAE_J1772#Signaling&lt;br /&gt;
&lt;br /&gt;
=== Charge port lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
In the i3 a quite expensive Phoenix CCS charge port is used and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1889</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1889"/>
		<updated>2021-10-23T10:05:11Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: CP - GND resistance info added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Port Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (charge port) ~620 ohms to GND is needed if no original i3 charge port is used!&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (charge port)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge port DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Port Cover motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Port Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Port Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed (constant values work)&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|(constant values) 10ms works needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|(constant values) needed?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS charge port and it would be nice to be able to use the cheaper Duosida CCS charge ports.&lt;br /&gt;
&lt;br /&gt;
The original charge port has a ~637 ohms resistor between CP and GND. Make sure to match these if you use a different port.&lt;br /&gt;
&lt;br /&gt;
The charge port lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS charge ports have DC and AC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU / charge controller could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1736</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1736"/>
		<updated>2021-09-29T11:59:04Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* CAN communication */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|needed constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|display SoC needed&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|constant values every 10ms works&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values. Rex only?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|needed&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|constant values&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1735</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1735"/>
		<updated>2021-09-29T11:31:32Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* On board charger control */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage and charger efficiency.&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1734</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1734"/>
		<updated>2021-09-29T11:25:51Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Charge control */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 ZombieVerter VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU or BMS&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during IEC 61851/ J1772 AC charging or PLC during DIN 70121 or ISO 15118 CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the respond of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (CAN message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors to avoid overheating if the contact resistance is high for some reason. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot. &lt;br /&gt;
&lt;br /&gt;
(Not yet implemented to the STM32 / ZombieVerter VCU project)&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares measured PP (charging cable) and CP (charging station) AC current limits in the CAN message 0x3B4 EVSE info.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage, efficiency...&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1733</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1733"/>
		<updated>2021-09-28T23:44:36Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Duosida inlet lock feedback */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during AC charging or PLC during CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
The actual battery voltage and battery current is needed by the LIM to check the proper working of the charging station. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors for safety. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot.&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares PP (charging cable) and CP (charging station) AC current limits in the 0x3B4 EVSE info CAN message.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage, efficiency...&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1732</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1732"/>
		<updated>2021-09-28T23:38:21Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* LIM control */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Duosida inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== Charge control ==&lt;br /&gt;
The EVSE (charging station) shares it’s limits with PWM during AC charging or PLC during CCS sessions but often the car can not handle the max available power of the charging station.&lt;br /&gt;
&lt;br /&gt;
=== Battery voltage and battery current ===&lt;br /&gt;
The actual battery voltage and current is needed by the LIM. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Battery dependant charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temperature dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS or VCU should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors for safety. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot.&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares PP (charging cable) and CP (charging station) AC current limits in the 0x3B4 EVSE info CAN message.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage, efficiency...&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1731</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1731"/>
		<updated>2021-09-28T23:22:42Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* CCS charging sequence */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Duosida inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== LIM control ==&lt;br /&gt;
&lt;br /&gt;
=== Battery voltage and battery current ===&lt;br /&gt;
Battery voltage and current is needed. In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== Charging current control ===&lt;br /&gt;
During (fast) charging a cell voltage and cell temp dependant current limit is very important.&lt;br /&gt;
&lt;br /&gt;
The BMS should limit this value according to the battery specifications and protect the cells from damage and ageing at all times.&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors for safety. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot.&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares PP (charging cable) and CP (charging station) AC current limits in the 0x3B4 EVSE info CAN message.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a AC current limit this value can be directly used but some chargers can only be controlled with DC current commands.  &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage, efficiency...&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== LIM logs ==&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1730</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1730"/>
		<updated>2021-09-28T12:34:58Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: CCS charging sequence logs, CAN communication updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== CAN communication ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!sent by&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|VCU&lt;br /&gt;
|10ms&lt;br /&gt;
|could also be sent by BMS&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|VCU&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|VCU&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|VCU&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|VCU&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;5&amp;quot; |&#039;&#039;&#039;Messages sent by LIM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|0x29E&lt;br /&gt;
|CCS charger specs&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2EF&lt;br /&gt;
|Min available voltage from the ccs charger.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2B2&lt;br /&gt;
|Current and Votage as measured by the ccs charger&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3B4&lt;br /&gt;
|EVSE info CP, PP &amp;amp; inlet voltage&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x272&lt;br /&gt;
|CCS contactor state and charge flap open/close status.&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x337&lt;br /&gt;
|Inlet lock status&lt;br /&gt;
|LIM&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Duosida inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Battery voltage and battery current ===&lt;br /&gt;
In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard on the CAN bus by the BMS. (message 0x112)&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors for safety. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot.&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares the PP (charging cable) and CP (charging station) AC current limits for AC charging.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a max AC current this limits can be directly used but some chargers can only be controlled with a max DC current. &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage, efficiency...&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
Here you can find some CAN logs of AC and DC charging sessions. https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs&lt;br /&gt;
&lt;br /&gt;
Some QCA7005 SPI captures on Damien&#039;s GitHub https://github.com/damienmaguire/BMW-i3-CCS/tree/main/SPI_Caps&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1729</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1729"/>
		<updated>2021-09-28T11:12:49Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* LIM peripheral boards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Required CAN messages ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|10ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|100ms&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripherals ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Duosida inlet lock feedback ===&lt;br /&gt;
[[File:CCS2-inlet.jpg|thumb|262x262px|DUOSIDA / MIDA CCS inlet]]&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
=== Battery voltage and current ===&lt;br /&gt;
In this setup the battery voltage and current gets measured by a Isabellenhütte IVT CAN bus sensor but those values could also be measured and shard by the BMS.&lt;br /&gt;
&lt;br /&gt;
=== CCS inlet temperature sensors ===&lt;br /&gt;
Many CCS inlets have DC contact temperature sensors for safety. The LIM has no temperature sensor inputs but the VCU could be connected to the sensors (usually PT1000 or NTC) and reduce charging speed if the inlet gets too hot.&lt;br /&gt;
&lt;br /&gt;
=== On board charger control ===&lt;br /&gt;
The LIM shares the PP (charging cable) and CP (charging station) AC current limits for AC charging.&lt;br /&gt;
&lt;br /&gt;
If the on board charger accepts a max AC current this limits can be directly used but some chargers can only be controlled with a max DC current. &lt;br /&gt;
&lt;br /&gt;
Since we don&#039;t know the actual AC current we can only estimate it with a fixed AC voltage, efficiency...&lt;br /&gt;
 DC_current = fixed_AC_voltage * CP_PP_current_limit * phase_count * charger_efficiency / DC_voltage&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:CCS2-inlet.jpg&amp;diff=1728</id>
		<title>File:CCS2-inlet.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:CCS2-inlet.jpg&amp;diff=1728"/>
		<updated>2021-09-28T10:50:43Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CCS2-inlet&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1727</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1727"/>
		<updated>2021-09-28T10:26:34Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Large fast charging contactor control board */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Required CAN messages ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|10ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|100ms&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripheral boards ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]The circuit of the voltage sense board is shared here https://openinverter.org/forum/viewtopic.php?p=28143#p28143&lt;br /&gt;
&lt;br /&gt;
=== Large fast charge contactor control ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the positive and negative fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a 15 ohms resistor (with heat sink) in parallel to simulate the original contactor coil and a small relais to drive the large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Each of the two 15 ohm resistor has to dissipate ~6W @ 13.4V, 50% PWM.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
[[File:Gigavac contactor driver circuit.png|none|thumb|500x500px|Gigavac contactor driver circuit]]&lt;br /&gt;
&lt;br /&gt;
=== Duosida inlet lock feedback ===&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gigavac_contactor_driver_circuit.png&amp;diff=1726</id>
		<title>File:Gigavac contactor driver circuit.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gigavac_contactor_driver_circuit.png&amp;diff=1726"/>
		<updated>2021-09-28T10:10:45Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Gigavac contactor driver circuit&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1724</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1724"/>
		<updated>2021-09-26T16:04:50Z</updated>

		<summary type="html">&lt;p&gt;Bitterandreal: /* Large fast charging contactor control board */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Required CAN messages ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|10ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|100ms&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripheral boards ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]&lt;br /&gt;
&lt;br /&gt;
=== Large fast charging contactor control board ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the pos and neg fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a +/-20 watt 15 ohms (wire wound) resistor in parallel to simulate the original contactor coil and a small relais to drive a large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
&lt;br /&gt;
=== Duosida inlet lock feedback ===&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bitterandreal</name></author>
	</entry>
</feed>