<?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=MoonUnit</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=MoonUnit"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/MoonUnit"/>
	<updated>2026-04-29T12:30:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Small_Drive_Unit_(%22SDU%22)&amp;diff=6131</id>
		<title>Tesla Model S/X Small Drive Unit (&quot;SDU&quot;)</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Small_Drive_Unit_(%22SDU%22)&amp;diff=6131"/>
		<updated>2026-04-18T15:23:16Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: Added a link to RSDU coolant port 3D files i created.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Tesla uses the Small Drive Unit (SDU) in dual-motor versions of the Model S/X. The Front SDU (FDU) is found in performance and non-performance dual-motor models, while the Rear SDU (RDSU) is only found in non-performance dual motor models.&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
[[File:Drive Inverter Front Connector.png|thumb|Small Drive Unit (&amp;quot;SDU&amp;quot;) Data Connector|alt=]]&lt;br /&gt;
=== Low Voltage Data Connector ===&lt;br /&gt;
[[File:Drive Inverter Front Connector Schematic.png|thumb|Small Front Drive Unit (&amp;quot;SDU&amp;quot;) Data Schematic|alt=]]&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Housing&#039;&#039;&#039; ===&lt;br /&gt;
Molex MX150 33472-2002 (key “B”) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pins:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
22 AWG:      Molex 33012-2003&lt;br /&gt;
&lt;br /&gt;
18-20 AWG: Molex 33012-2002&lt;br /&gt;
&lt;br /&gt;
14-16 AWG: Molex 33012-2001&lt;br /&gt;
&lt;br /&gt;
=== High Voltage Power Connectors===&lt;br /&gt;
Although the connectors are known ([https://www.rosenberger.com/product/hpk/ Rosenberger HPK series]), they are not available through conventional vendors.&lt;br /&gt;
&lt;br /&gt;
=== Internal connectors ===&lt;br /&gt;
20-pole Molex: 75757-5101&lt;br /&gt;
&lt;br /&gt;
2-pole temp sensor: S02BA-AIT2-1AK&lt;br /&gt;
&lt;br /&gt;
6-pole encoder: S06B-AIT2-1AK&lt;br /&gt;
&lt;br /&gt;
24-pole inverter: CES-112-02-T-D&lt;br /&gt;
&lt;br /&gt;
==Drop-in control board==&lt;br /&gt;
[[File:Tesla SDU controller connections.png|thumb|Tesla SDU drop-in board]]&lt;br /&gt;
&lt;br /&gt;
This board replaces the original board  that comes with the OEM Tesla drive train. As opposed to the latter this board lets you use the drive train in the first place and allows you to fine-tune driving behaviour with the usual set of openinverter parameters. It does not restrict you in power output or regen input.&lt;br /&gt;
&lt;br /&gt;
You can fully control the board via CAN or via a set of digital and analog inputs.&lt;br /&gt;
&lt;br /&gt;
Dual Pot mode, connect pot 2 to pin 10, BRAKE TRANSDUCER SIGNAL. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Note: see this thread regarding throttle pedal safety https://openinverter.org/forum/viewtopic.php?p=75841 this applies to the SDU boards.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
&#039;&#039;&#039;Wiring&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Tesla-Front-Drive-Unit/blob/master/SDU_Wiring_Connections.pdf Wiring connections]&lt;br /&gt;
&lt;br /&gt;
[[:File:Zombieverter SDU Wiring.png|Wiring with Zombieverter]]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/Tesla-Front-Drive-Unit/blob/master/FDU_Main_conn_pinout_V1.ods Pinout]&lt;br /&gt;
&lt;br /&gt;
[https://www.thingiverse.com/thing:6230844 MX150 male header receptacle STL on Thingiverse]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Buying&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=62 Purchase in openinverter shop]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tuning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=2558 SDU Tuning Optimization Forum Thread]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/parameters/view.html?id=15 Original Parameters from Johannes]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/parameters/view.html?id=27 Parameters tuned by catphish]&lt;br /&gt;
&lt;br /&gt;
[[Setup FAQ]]&lt;br /&gt;
&lt;br /&gt;
===Application Info===&lt;br /&gt;
The board comes programmed with a recent software version. Please check [https://github.com/jsphuebner/stm32-sine/releases github] for recent software releases. In addition the board comes with a set of parameters appropriate to run the Tesla SDU. So it will work out of the box. Parameters that must not be changed are hidden to eliminate sources of error.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;background-color:#ffffcc;&amp;quot; cellpadding=&amp;quot;10&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;It is essential that the tripmode parameter is set to 1 &amp;quot;DcSwOn&amp;quot;&#039;&#039;&#039;. Also do not use a low value fuse while testing. On over current trips some energy is still stored in the motor and it has nowhere to go if the contactor/fuse opens leading to immediate destruction of your inverter.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You will need to solder the supplied connectors and the current sensors embedded into the inverter assembly to the board, see [https://youtu.be/VVSRzmP-fRw this video].&lt;br /&gt;
&lt;br /&gt;
To test run your drive unit, supply the board with 12V and GND on Conn6.13 and Conn6.19, respectively. Also supply 12V to Conn6.5 to select forward direction.&lt;br /&gt;
&lt;br /&gt;
Supply inverter with some high voltage. For first tests it is recommended to put a large resistor/heating element/kettle in series.&lt;br /&gt;
&lt;br /&gt;
You can start in manual mode using the button on the web interface and enter like 1Hz for „Fslipspnt“ and some value between 10-50 for „ampnom“ to see if the motor spins up. Be careful because manual mode does not enforce a motor speed limit!&lt;br /&gt;
&lt;br /&gt;
You may also set parameter „udcsw“ and „udcmin“ to 0 and start drive mode by pulsing 12V on Conn6.9. Then connect a pot between Conn6.4, Conn6.7 and Conn6.8 (wiper). This will also spin the motor AND enforce a speed limit.&lt;br /&gt;
&lt;br /&gt;
==Cooling ==&lt;br /&gt;
&lt;br /&gt;
===Small Front Drive Unit (FDU)===&lt;br /&gt;
[[File:Tesla FDU cooling.jpg|none|thumb|Tesla FDU cooling]]&lt;br /&gt;
&lt;br /&gt;
===Small Rear Drive Unit (SRDU)===&lt;br /&gt;
[[File:Tesla SRDU cooling.png|none|thumb|Tesla SRDU cooling]]Various step files for printing your own coolant port here:&lt;br /&gt;
&lt;br /&gt;
https://www.printables.com/model/1693168-tesla-model-s-rear-sdu-coolant-port&lt;br /&gt;
&lt;br /&gt;
There are three files - a dxf which is the basic outline if you want to cut your own plate and thread it yourself. There is a BSPT version, which has a 3/8in thread for a hosetail, or a complete version with outlet attached. You will need to make your own choice regarding material to use.&lt;br /&gt;
[[Category:Tesla]]&lt;br /&gt;
[[Category:Motor]]&lt;br /&gt;
[[Category:Inverter]]&lt;br /&gt;
[[Category:Gearbox]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=6010</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=6010"/>
		<updated>2026-01-07T15:33:51Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: added  para 5 for info on overcurrent error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small and large drive unit support threads of the forum.  If you have an issue and find/get a solution, please add to this page.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Persistent overcurrent error&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Powerup with only 12v. No hv. Is the error there? if yes then change the sign of the parameter ocurlim. Some versions of firmware require this to be negative. Newer versions it must be positive. When testing I flip this sign to simulate an error and sometimes forget to flip it back before saving parameters.&lt;br /&gt;
&lt;br /&gt;
2)If the error is present when only 12v is applied regardless of ocurlim parameter polarity then one of 2 things are at fault. The logic board or the inverter. To determine which is the problem requires some diagnostic testing of the signals coming from the current sensors to the logic board and the value of voltage at 2 test points on the logic board.These test points may be found in the bottom right hand side of the board adjacent to R45 and R58. Using a multimeter on DC volts measure the voltage between each test point and 12v ground. At idle (no hv no throttle no run signals) a voltage of approx 1.65v should be present here. &lt;br /&gt;
&lt;br /&gt;
3) If the error occurs when starting the inverter , then remove hv , set udcsw to 0 and try to start with no hv. If the error occurs then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
4)if the error occurs only with hv present then disconnect the inverter from the motor and try again. If the error is still present then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
5) [for v9 SDU board, running 5.35R sine, may also apply to other versions of board / software and with no DC HV connected] - the HVIL disable jumper (conn2) needs to be bridged in order to set pin 6 on IC5 high. Additionally, the SDU board needs to be physically installed in the inverter via conn5 and board powered with 12V so that Fault A, B, C and UVLO are also high at IC5. If any of these are low OVERCURRENT is reported.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor is only turning slowly when I press the throttle&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The symptom of the motor turning slowly is almost certainly caused by a missing or inverted encoder signal. The encoder output consists of two channels : A and B. The signal from these is used by the microcontroller to determine the speed and direction of rotation of the motor. If for example the A and B signals are swapped then the inverter will be trying to drive the motor in one direction and the encoder signal will tell it the motor is running backwards hence this behavior. If either or both signals are missing then the microcontroller has no speed or direction information and the same symptoms result.&lt;br /&gt;
&lt;br /&gt;
In some versions of the LDU the encoder wiring is swapped.  If the motor will only turn slowly, try swapping the two encoder wires.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor turns but is not smooth&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you ever have issues getting a stable spinning motor, Always plot your rpm/Fstat as if that is really jumpy it means the encoder signal is dirty.&lt;br /&gt;
&lt;br /&gt;
Shielded cable is a must, without it the encoder pulses are not clean enough.  Use either the factory harness or cat5e/cat6 shielded cable.  The shield is connected on the 23-pin ampseal connector but not connected on the encoder plug.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;My motor was spinning when high voltage was cut by a contactor opening or fuse.  Now it won&#039;t run.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The back EMF from the spinning motor fried the inverter.  A replacement inverter or full drive unit replacement is needed.&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshoot]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4655</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4655"/>
		<updated>2024-06-16T14:42:05Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: actuator feedback information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Charge inlet backshell.jpg|thumb|Backshell showing LED connector at top and actuator middle]]&lt;br /&gt;
[[File:CCS inlet rhs.jpg|thumb|Shows 2.7K resistor block on right hand side of inlet, LED connector on top]]&lt;br /&gt;
The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are orange plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables which can be removed, and a cable release for manually releasing the charge port lock pin if it gets stuck in the inlet.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]The charge port inlet has a two part backshell, with DC HV cables exiting via a right angle backshell. These are fairly easily removed but the plastic tabs are weak. The charge port lock actuator screws to the left side of the charge port and a manual wire pull release attaches to it to pull the locking pin back out if required.&lt;br /&gt;
&lt;br /&gt;
The actuator requires 12V across orange and blue wires, reversed to change the actuator direction. The other two wires (red and yellow) from the actuator are a feedback mechanism. If the lock is powered closed (ie pin fully extended), 1K is then measured across red and yellow. &lt;br /&gt;
&lt;br /&gt;
An LED is mounted in the top of the port, above the AC input.&lt;br /&gt;
&lt;br /&gt;
On the right hand side is a resistor block containing a 2.7K resistor between PE and PP.&lt;br /&gt;
[[File:14 way connector top side.jpg|thumb|Wire side of 14 way connector, top side. Pin 1 top right: brown-black, pin 8 below it: black.]]&lt;br /&gt;
[[File:14 way connector bottom view.jpg|thumb|Bottom view of 14 way connector. Bottom row starts at pin 8, black, at the top]]&lt;br /&gt;
There is a &#039;commoning block&#039; that connects the AC cable shielding, the paired CP/PP cable shielding and PE itself to a common wire (pin 12) into the 14 way connector.&lt;br /&gt;
&lt;br /&gt;
The inlet has only one thermistor, positioned between the two DC HV cables in the inlet.&lt;br /&gt;
&lt;br /&gt;
There is a 3 way AC connector for the on board charger.&lt;br /&gt;
&lt;br /&gt;
The 14 way connector pinout is described below. Pin numbering starts at the top right pin when looking from the wire side of the plug, and is black/brown. Pin 8 starts on right hand side of bottom row, black.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pinout:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Colour&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 11 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|yellow&lt;br /&gt;
|Actuator lock feedback, 1K resistance appears across pins 2 and 3 when lock is powered closed.&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|red&lt;br /&gt;
|Actuator lock feedback, 1K resistance appears across pins 2 and 3 when lock is powered closed.&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|blue&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|orange&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|white&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|brown&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|black&lt;br /&gt;
|Charge port LED -ve&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|red/black&lt;br /&gt;
|Charge port LED +ve&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|not used&lt;br /&gt;
|not used&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 1 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|black&lt;br /&gt;
|PE, also connected to pins 1 and 11&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|2 white wires&lt;br /&gt;
|PP. One white wire direct to PP pin at inlet, one white wire to one side of detachable 2.7K resistor. Other side&lt;br /&gt;
of resistor (thin blue) goes to commoning block and eventually pin 12, PE.&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|green&lt;br /&gt;
|CP&lt;br /&gt;
|}&lt;br /&gt;
Note that there are no resistors in the inlet CP to 14 way plug, nor from the inlet PP to the 14 way plug, but there is a 2.7K detachable resistor between PP and PE.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Foccci&amp;diff=4639</id>
		<title>Foccci</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Foccci&amp;diff=4639"/>
		<updated>2024-06-12T13:02:39Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: added version 4.5b pinout&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Disclaimer: This Page is still work in progress! Any information written here is a draft only and should be handled as such. Contributions more then welcome. If you have questions please ask them in the discussion section of the page or in the OpenInvert Forum.&lt;br /&gt;
[[File:Foccci pinout.svg|thumb|Foccci (v4.5) pinout]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Foccci 4.5b pinout.png|thumb|Foccci 4.5b pinout]]&lt;br /&gt;
This page is about FOCCCI. FOCCCI is an open source CCS Charge Controller started by Uhi and developed by the OpenInverter Community.&lt;br /&gt;
&lt;br /&gt;
Here you will find documentation on the Hardware, where to get it (or how to build it yourself), News regarding the development and many more great things.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On Foccci runs the reference software [[CCS32Clara]] (also referred to as Clara).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://github.com/uhi22/foccci Foccci on Github.]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=3727 Foccci in the OpenInverter Forum.]&lt;br /&gt;
&lt;br /&gt;
== Pin description ==&lt;br /&gt;
&lt;br /&gt;
=== External connector (&amp;quot;Deutsch Header&amp;quot;) ===&lt;br /&gt;
Starting version 4.5b the pins were reshuffled to allow one wiring loom going to the charge port and one to the car side. Changed pins are &#039;&#039;&#039;bold&#039;&#039;&#039;.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Short name&lt;br /&gt;
!Pin up to 4.5a&lt;br /&gt;
!Pin from 4.5b&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|TEMP1&lt;br /&gt;
|A1&lt;br /&gt;
|A1&lt;br /&gt;
|Power pin temperature sensor. It is pulled up to 3.3V with 10k and the sensor must pull down to GND. Sensor characteristics are configurable in software&lt;br /&gt;
|-&lt;br /&gt;
|TEMP2&lt;br /&gt;
|A2&lt;br /&gt;
|A2&lt;br /&gt;
|As above&lt;br /&gt;
|-&lt;br /&gt;
|TEMP3&lt;br /&gt;
|A3&lt;br /&gt;
|A3&lt;br /&gt;
|As Above&lt;br /&gt;
|-&lt;br /&gt;
|LOCKFB&lt;br /&gt;
|A4&lt;br /&gt;
|A4&lt;br /&gt;
|Feedback signal from connector lock. Pulled up to 3.3V with 10k, so feedback must pull down to GND. Thresholds configurable in software&lt;br /&gt;
|-&lt;br /&gt;
|IN_U_HV&lt;br /&gt;
|A5&lt;br /&gt;
|&#039;&#039;&#039;B10&#039;&#039;&#039;&lt;br /&gt;
|Analog input 0 to 5V, with pull-down-resistor. Can be used to measure the charge port voltage, using a converter board, e.g. the &amp;quot;muehlpower board&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|CP&lt;br /&gt;
|A6&lt;br /&gt;
|A6&lt;br /&gt;
|CP (Control Pilot) pin from charge port&lt;br /&gt;
|-&lt;br /&gt;
|SW2(_LS)&lt;br /&gt;
|A7&lt;br /&gt;
|&#039;&#039;&#039;B4&#039;&#039;&#039;&lt;br /&gt;
|Output for charge port contactor 2. Low side switch until Foccci 4.4, high side switch starting 4.5&lt;br /&gt;
Controls one of the contactors to make the connection between the HV battery and the vehicle inlet.&lt;br /&gt;
&lt;br /&gt;
The output can drive inductive load without additional circuits. It will clamp the turn-off voltage to ~40V. The driver has protection against shortcut and thermal overload.&lt;br /&gt;
&lt;br /&gt;
The output can be configured to be just digital on/off, and can also be configured to use PWM. BUT: In Foccci versions 4.2 and 4.3 (maybe more) the output driver is only capable of slow PWM, which is hearable and may cause trouble with the contactors. So it is recommended to NOT use the PWM feature, and instead use contactors which do not require economizing or use external economizers. In case you want the PWM nevertheless, you need a external freewheeling diode.&lt;br /&gt;
&lt;br /&gt;
Starting Foccci 4.5 PWM is working as intended at 18 kHz. It is a high side output starting v4.5, so the other side of the contactor must be connected to GND. Before v4.5 it is a low side output so the other side must be connected to 12V&lt;br /&gt;
|-&lt;br /&gt;
|LOCK_MOT2&lt;br /&gt;
|A8&lt;br /&gt;
|A8&lt;br /&gt;
|Motor driver output for charge port lock servo&lt;br /&gt;
|-&lt;br /&gt;
|LOCK_MOT1&lt;br /&gt;
|A9&lt;br /&gt;
|A9&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PP&lt;br /&gt;
|A10&lt;br /&gt;
|&#039;&#039;&#039;A5&#039;&#039;&#039;&lt;br /&gt;
|PP (Proximity Pilot) pin from charge port. If you want Foccci to wake up when an unpowered charge cord is plugged in you must close JP3 to pin 1 (towards R7). There mustn&#039;t be a pull-down resistor in the charge port in this case as that would permanently keep Foccci awake&lt;br /&gt;
|-&lt;br /&gt;
|5V&lt;br /&gt;
|A11&lt;br /&gt;
|&#039;&#039;&#039;B11&#039;&#039;&#039;&lt;br /&gt;
|5V, 500mA e.g. for supplying voltage sense board. This is an OUTPUT of Foccci. Do not apply an external voltage source here. Foccci contains a step-down-converter from the 12V supply to this 5V output.&lt;br /&gt;
|-&lt;br /&gt;
|GND&lt;br /&gt;
|A12&lt;br /&gt;
|&#039;&#039;&#039;B12&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|CANH&lt;br /&gt;
|B1&lt;br /&gt;
|B1&lt;br /&gt;
|CAN communication&lt;br /&gt;
|-&lt;br /&gt;
|CANL&lt;br /&gt;
|B2&lt;br /&gt;
|B2&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|n.c.&lt;br /&gt;
|B3&lt;br /&gt;
|&lt;br /&gt;
|Unused pins were assigned GND in 4.5b&lt;br /&gt;
|-&lt;br /&gt;
|n.c.&lt;br /&gt;
|B4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|GND&lt;br /&gt;
|B5&lt;br /&gt;
|B5, &#039;&#039;&#039;B3&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SW1(_LS)&lt;br /&gt;
|B6&lt;br /&gt;
|B6&lt;br /&gt;
|Output for the charge port contactor 1. See description of SW2(_LS).&lt;br /&gt;
|-&lt;br /&gt;
|WAKEUP&lt;br /&gt;
|B7&lt;br /&gt;
|B7&lt;br /&gt;
|Wakeup bus. Momentarily (or constantly) applying 12V wakes up the board. In the other direction Foccci can wake up (or supply with up to 1A) other devices via a 12V high side switch&lt;br /&gt;
|-&lt;br /&gt;
|12V&lt;br /&gt;
|B8&lt;br /&gt;
|B8&lt;br /&gt;
|Supply voltage, always on. 9 to 24V are fine.&lt;br /&gt;
|-&lt;br /&gt;
|LED_RED&lt;br /&gt;
|B9&lt;br /&gt;
|&#039;&#039;&#039;A12&#039;&#039;&#039;&lt;br /&gt;
|Status LEDs&lt;br /&gt;
|-&lt;br /&gt;
|LED_GREEN&lt;br /&gt;
|B10&lt;br /&gt;
|&#039;&#039;&#039;A11&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|LED_BLUE&lt;br /&gt;
|B11&lt;br /&gt;
|&#039;&#039;&#039;A10&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BUTTON&lt;br /&gt;
|B12&lt;br /&gt;
|&#039;&#039;&#039;A7&#039;&#039;&#039;&lt;br /&gt;
|Wakes up Foccci or stops an ongoing charging session&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Internal connectors ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!short name&lt;br /&gt;
!description&lt;br /&gt;
|-&lt;br /&gt;
|UART TX&lt;br /&gt;
|Provides logging information, 921600 Baud. See also https://github.com/uhi22/ccs32clara/blob/main/doc/clara_user_manual.md#serial-logging&lt;br /&gt;
|-&lt;br /&gt;
|UART RX&lt;br /&gt;
|Not used&lt;br /&gt;
|-&lt;br /&gt;
|SWCLK&lt;br /&gt;
|for flashing with STLINK&lt;br /&gt;
|-&lt;br /&gt;
|SWDIO&lt;br /&gt;
|for flashing with STLINK&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Hardware detection ==&lt;br /&gt;
[[File:3.3v Addressing Voltage Divider.png|thumb]]&lt;br /&gt;
To allow software to reliably detect which version hardware it runs on, in HW version 4.1 a version indication resistor was added. As opposed to some other boards that run at 5.3V, the voltage here is 3.3V.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Variant&lt;br /&gt;
!R1&lt;br /&gt;
!R2&lt;br /&gt;
!voltage&lt;br /&gt;
!ADC&lt;br /&gt;
!-3%&lt;br /&gt;
!+3%&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|2,7&lt;br /&gt;
|0,179&lt;br /&gt;
|222&lt;br /&gt;
|216&lt;br /&gt;
|229&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|3,3&lt;br /&gt;
|0,217&lt;br /&gt;
|269&lt;br /&gt;
|261&lt;br /&gt;
|277&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|3,9&lt;br /&gt;
|0,253&lt;br /&gt;
|314&lt;br /&gt;
|304&lt;br /&gt;
|323&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|4,7&lt;br /&gt;
|0,300&lt;br /&gt;
|372&lt;br /&gt;
|361&lt;br /&gt;
|383&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|5,1&lt;br /&gt;
|0,323&lt;br /&gt;
|401&lt;br /&gt;
|389&lt;br /&gt;
|413&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|5,6&lt;br /&gt;
|0,351&lt;br /&gt;
|436&lt;br /&gt;
|423&lt;br /&gt;
|449&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|6,8&lt;br /&gt;
|0,417&lt;br /&gt;
|518&lt;br /&gt;
|502&lt;br /&gt;
|533&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|7,5&lt;br /&gt;
|0,454&lt;br /&gt;
|564&lt;br /&gt;
|547&lt;br /&gt;
|580&lt;br /&gt;
|-&lt;br /&gt;
|4.0 with economizer&lt;br /&gt;
|47&lt;br /&gt;
|8,2&lt;br /&gt;
|0,490&lt;br /&gt;
|608&lt;br /&gt;
|590&lt;br /&gt;
|627&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
|47&lt;br /&gt;
|9,1&lt;br /&gt;
|0,535&lt;br /&gt;
|664&lt;br /&gt;
|644&lt;br /&gt;
|684&lt;br /&gt;
|-&lt;br /&gt;
|4.2&lt;br /&gt;
|47&lt;br /&gt;
|10&lt;br /&gt;
|0,579&lt;br /&gt;
|718&lt;br /&gt;
|697&lt;br /&gt;
|740&lt;br /&gt;
|-&lt;br /&gt;
|4.3&lt;br /&gt;
|47&lt;br /&gt;
|12&lt;br /&gt;
|0,671&lt;br /&gt;
|833&lt;br /&gt;
|808&lt;br /&gt;
|858&lt;br /&gt;
|-&lt;br /&gt;
|4.4&lt;br /&gt;
|47&lt;br /&gt;
|15&lt;br /&gt;
|0,798&lt;br /&gt;
|991&lt;br /&gt;
|961&lt;br /&gt;
|1020&lt;br /&gt;
|-&lt;br /&gt;
|4.5&lt;br /&gt;
|47&lt;br /&gt;
|18&lt;br /&gt;
|0,914&lt;br /&gt;
|1134&lt;br /&gt;
|1100&lt;br /&gt;
|1168&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|47&lt;br /&gt;
|22&lt;br /&gt;
|1,052&lt;br /&gt;
|1306&lt;br /&gt;
|1266&lt;br /&gt;
|1345&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|47&lt;br /&gt;
|27&lt;br /&gt;
|1,204&lt;br /&gt;
|1494&lt;br /&gt;
|1449&lt;br /&gt;
|1539&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|47&lt;br /&gt;
|33&lt;br /&gt;
|1,361&lt;br /&gt;
|1689&lt;br /&gt;
|1639&lt;br /&gt;
|1740&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|47&lt;br /&gt;
|39&lt;br /&gt;
|1,497&lt;br /&gt;
|1857&lt;br /&gt;
|1801&lt;br /&gt;
|1913&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|47&lt;br /&gt;
|47&lt;br /&gt;
|1,650&lt;br /&gt;
|2048&lt;br /&gt;
|1986&lt;br /&gt;
|2109&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|47&lt;br /&gt;
|56&lt;br /&gt;
|1,794&lt;br /&gt;
|2226&lt;br /&gt;
|2160&lt;br /&gt;
|2293&lt;br /&gt;
|}&lt;br /&gt;
[[Category:ChaDeMo‏‎]] [[Category:CCS]] [[Category:Rapid Charging]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Foccci_4.5b_pinout.png&amp;diff=4638</id>
		<title>File:Foccci 4.5b pinout.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Foccci_4.5b_pinout.png&amp;diff=4638"/>
		<updated>2024-06-12T13:01:48Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Foccci (v4.5b) pinout&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4627</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4627"/>
		<updated>2024-06-06T17:05:47Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Charge inlet backshell.jpg|thumb|Backshell showing LED connector at top and actuator middle]]&lt;br /&gt;
[[File:CCS inlet rhs.jpg|thumb|Shows 2.7K resistor block on right hand side of inlet, LED connector on top]]&lt;br /&gt;
The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are orange plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables which can be removed, and a cable release for manually releasing the charge port lock pin if it gets stuck in the inlet.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]The charge port inlet has a two part backshell, with DC HV cables exiting via a right angle backshell. These are fairly easily removed but the plastic tabs are weak. The charge port lock actuator screws to the left side of the charge port and a manual wire pull release attaches to it to pull the locking pin back out if required.&lt;br /&gt;
&lt;br /&gt;
The actuator requires 12V across orange and blue wires, reversed to change the actuator direction. The other two wires (red and yellow) from the actuator are probably a feedback mechanism, but is not resistance-based feedback. &lt;br /&gt;
&lt;br /&gt;
An LED is mounted in the top of the port, above the AC input.&lt;br /&gt;
&lt;br /&gt;
On the right hand side is a resistor block containing a 2.7K resistor between PE and PP.&lt;br /&gt;
[[File:14 way connector top side.jpg|thumb|Wire side of 14 way connector, top side. Pin 1 top right: brown-black, pin 8 below it: black.]]&lt;br /&gt;
[[File:14 way connector bottom view.jpg|thumb|Bottom view of 14 way connector. Bottom row starts at pin 8, black, at the top]]&lt;br /&gt;
There is a &#039;commoning block&#039; that connects the AC cable shielding, the paired CP/PP cable shielding and PE itself to a common wire (pin 12) into the 14 way connector.&lt;br /&gt;
&lt;br /&gt;
The inlet has only one thermistor, positioned between the two DC HV cables in the inlet.&lt;br /&gt;
&lt;br /&gt;
There is a 3 way AC connector for the on board charger.&lt;br /&gt;
&lt;br /&gt;
The 14 way connector pinout is described below. Pin numbering starts at the top right pin when looking from the wire side of the plug, and is black/brown. Pin 8 starts on right hand side of bottom row, black.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pinout:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Colour&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 11 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|yellow&lt;br /&gt;
|Actuator lock feedback, presumed&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|red&lt;br /&gt;
|Actuator lock feedback, presumed&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|blue&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|orange&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|white&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|brown&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|black&lt;br /&gt;
|Charge port LED -ve&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|red/black&lt;br /&gt;
|Charge port LED +ve&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|not used&lt;br /&gt;
|not used&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 1 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|black&lt;br /&gt;
|PE, also connected to pins 1 and 11&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|2 white wires&lt;br /&gt;
|PP. One white wire direct to PP pin at inlet, one white wire to one side of detachable 2.7K resistor. Other side&lt;br /&gt;
of resistor (thin blue) goes to commoning block and eventually pin 12, PE.&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|green&lt;br /&gt;
|CP&lt;br /&gt;
|}&lt;br /&gt;
Note that there are no resistors in the inlet CP to 14 way plug, nor from the inlet PP to the 14 way plug, but there is a 2.7K detachable resistor between PP and PE.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4626</id>
		<title>Category:Hyundai</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4626"/>
		<updated>2024-06-06T16:59:02Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: changed link to point at redirected target page, which I moved because I misspelt the title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hyundai Ioniq CCS Charge Inlet 91684-G7010|Hyundai Ioniq CCS charge inlet]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundia_Ioniq_CCS_Charge_Inlet_9184-G7010&amp;diff=4625</id>
		<title>Hyundia Ioniq CCS Charge Inlet 9184-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundia_Ioniq_CCS_Charge_Inlet_9184-G7010&amp;diff=4625"/>
		<updated>2024-06-06T16:57:00Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: MoonUnit moved page Hyundia Ioniq CCS Charge Inlet 9184-G7010 to Hyundai Ioniq CCS Charge Inlet 91684-G7010: misspelt original page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Hyundai Ioniq CCS Charge Inlet 91684-G7010]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4624</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4624"/>
		<updated>2024-06-06T16:57:00Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: MoonUnit moved page Hyundia Ioniq CCS Charge Inlet 9184-G7010 to Hyundai Ioniq CCS Charge Inlet 91684-G7010: misspelt original page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Charge inlet backshell.jpg|thumb|Backshell showing LED connector at top and actuator middle]]&lt;br /&gt;
[[File:CCS inlet rhs.jpg|thumb|Shows 2.7K resistor block on right hand side of inlet, LED connector on top]]&lt;br /&gt;
The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]The charge port inlet has a two part backshell, with DC HV cables exiting via a right angle backshell. These are fairly easily removed but the plastic tabs are weak. The charge port lock actuator screws to the left side of the charge port and a manual wire pull release attaches to it to pull the locking pin back out.&lt;br /&gt;
&lt;br /&gt;
An LED is mounted in the top of the port, above the AC input.&lt;br /&gt;
&lt;br /&gt;
On the right hand side is a resistor block containing a 2.7K resistor between PE and PP.&lt;br /&gt;
[[File:14 way connector top side.jpg|thumb|Wire side of 14 way connector, top side. Pin 1 top right: brown-black, pin 8 below it: black.]]&lt;br /&gt;
[[File:14 way connector bottom view.jpg|thumb|Bottom view of 14 way connector. Bottom row starts at pin 8, black, at the top]]&lt;br /&gt;
There is a &#039;commoning block&#039; that connects the AC cable shielding, the paired CP/PP cable shielding and PE itself to a common wire into the 14 way connector.&lt;br /&gt;
&lt;br /&gt;
The inlet has only one thermistor, positioned between the two DC HV cables in the inlet.&lt;br /&gt;
&lt;br /&gt;
There is a 3 way AC connector for the on board charger.&lt;br /&gt;
&lt;br /&gt;
The 14 way connector pinout is described below. Pin numbering starts at the top right pin when looking from the wire side of the plug, and is black/brown. Pin 8 starts on right hand side of bottom row, black.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pinout:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Colour&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 11 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|yellow&lt;br /&gt;
|Actuator lock feedback, presumed&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|red&lt;br /&gt;
|Actuator lock feedback, presumed&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|blue&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|orange&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|white&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|brown&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|black&lt;br /&gt;
|Charge port LED -ve&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|red/black&lt;br /&gt;
|Charge port LED +ve&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|not used&lt;br /&gt;
|not used&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 1 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|black&lt;br /&gt;
|PE, also connected to pins 1 and 11&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|2 white wires&lt;br /&gt;
|PP. One white wire direct to PP pin at inlet, one white wire to one side of detachable 2.7K resistor. Other side&lt;br /&gt;
of resistor (thin blue) goes to commoning block and eventually pin 12, PE.&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|green&lt;br /&gt;
|CP&lt;br /&gt;
|}&lt;br /&gt;
Note that there are no resistors in the inlet CP to 14 way plug, but there is a 2.7K detachable resistor between PP and PE.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4619</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4619"/>
		<updated>2024-06-06T07:11:54Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: text edits&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Charge inlet backshell.jpg|thumb|Backshell showing LED connector at top and actuator middle]]&lt;br /&gt;
[[File:CCS inlet rhs.jpg|thumb|Shows 2.7K resistor block on right hand side of inlet, LED connector on top]]&lt;br /&gt;
The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]The charge port inlet has a two part backshell, with DC HV cables exiting via a right angle backshell. These are fairly easily removed but the plastic tabs are weak. The charge port lock actuator screws to the left side of the charge port and a manual wire pull release attaches to it to pull the locking pin back out.&lt;br /&gt;
&lt;br /&gt;
An LED is mounted in the top of the port, above the AC input.&lt;br /&gt;
&lt;br /&gt;
On the right hand side is a resistor block containing a 2.7K resistor between PE and PP.&lt;br /&gt;
[[File:14 way connector top side.jpg|thumb|Wire side of 14 way connector, top side. Pin 1 top right: brown-black, pin 8 below it: black.]]&lt;br /&gt;
[[File:14 way connector bottom view.jpg|thumb|Bottom view of 14 way connector. Bottom row starts at pin 8, black, at the top]]&lt;br /&gt;
There is a &#039;commoning block&#039; that connects the AC cable shielding, the paired CP/PP cable shielding and PE itself to a common wire into the 14 way connector.&lt;br /&gt;
&lt;br /&gt;
The inlet has only one thermistor, positioned between the two DC HV cables in the inlet.&lt;br /&gt;
&lt;br /&gt;
There is a 3 way AC connector for the on board charger.&lt;br /&gt;
&lt;br /&gt;
The 14 way connector pinout is described below. Pin numbering starts at the top right pin when looking from the wire side of the plug, and is black/brown. Pin 8 starts on right hand side of bottom row, black.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pinout:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Colour&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 11 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|yellow&lt;br /&gt;
|Actuator lock feedback, presumed&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|red&lt;br /&gt;
|Actuator lock feedback, presumed&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|blue&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|orange&lt;br /&gt;
|Actuator lock motor&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|white&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|brown&lt;br /&gt;
|Thermistor, presumed NTC 10K, DC cable pair&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|black&lt;br /&gt;
|Charge port LED -ve&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|red/black&lt;br /&gt;
|Charge port LED +ve&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|not used&lt;br /&gt;
|not used&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|black/brown&lt;br /&gt;
|Shielding of CP/PP pair, also connected to pin 1 and PE earth (pin 12), and shielding of AC cable&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|black&lt;br /&gt;
|PE, also connected to pins 1 and 11&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|2 white wires&lt;br /&gt;
|PP. One white wire direct to PP pin at inlet, one white wire to one side of detachable 2.7K resistor. Other side&lt;br /&gt;
of resistor (thin blue) goes to commoning block and eventually pin 12, PE.&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|green&lt;br /&gt;
|CP&lt;br /&gt;
|}&lt;br /&gt;
Note that there are no resistors in the inlet CP to 14 way plug, but there is a 2.7K detachable resistor between PP and PE.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:14_way_connector_bottom_view.jpg&amp;diff=4618</id>
		<title>File:14 way connector bottom view.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:14_way_connector_bottom_view.jpg&amp;diff=4618"/>
		<updated>2024-06-06T06:47:11Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;14 way connector, wire side bottom view&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4617</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4617"/>
		<updated>2024-06-06T06:45:26Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Charge inlet backshell.jpg|thumb|Backshell showing LED connector at top and actuator middle]]&lt;br /&gt;
[[File:CCS inlet rhs.jpg|thumb|Shows 2.7K resistor block on right hand side of inlet, LED connector on top]]&lt;br /&gt;
The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]The charge port inlet has a two part backshell, with DC HV cables exiting via a right angle backshell. These are fairly easily removed but the plastic tabs are weak. The charge port lock actuator screws to the left side of the charge port and a manual wire pull release attaches to it to pull the locking pin back out.&lt;br /&gt;
&lt;br /&gt;
An LED is mounted in the top of the port, above the AC input.&lt;br /&gt;
&lt;br /&gt;
On the right hand side is a resistor block containing a 2.7K resistor between PE and PP.&lt;br /&gt;
[[File:14 way connector top side.jpg|thumb|Wire side of 14 way connector, top side. Pin 1 top right: brown-black, pin 8 below it: black.]]&lt;br /&gt;
There is a &#039;commoning block&#039; that connects the AC cable shielding, the paired CP/PP cable shielding and PE itself to a common wire into the 14 way connector.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:14_way_connector_top_side.jpg&amp;diff=4616</id>
		<title>File:14 way connector top side.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:14_way_connector_top_side.jpg&amp;diff=4616"/>
		<updated>2024-06-06T06:44:08Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Wire side of 14 way connector, top side.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4613</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4613"/>
		<updated>2024-06-05T07:52:47Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Charge inlet backshell.jpg|thumb|Backshell showing LED connector at top and actuator middle]]&lt;br /&gt;
[[File:CCS inlet rhs.jpg|thumb|Shows 2.7K resistor block on right hand side of inlet, LED connector on top]]&lt;br /&gt;
The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]The charge port inlet has a two part backshell, with DC HV cables exiting via a right angle backshell. These are fairly easily removed but the plastic tabs are weak. The charge port lock actuator screws to the left side of the charge port and a manual wire pull release attaches to it to pull the locking pin back out.&lt;br /&gt;
&lt;br /&gt;
An LED is mounted in the top of the port, above the AC input.&lt;br /&gt;
&lt;br /&gt;
On the right hand side is a resistor block containing a 2.7K resistor between PE and PP.&lt;br /&gt;
&lt;br /&gt;
There is a &#039;commoning block&#039; that connects the AC cable shielding, the paired CP/PP cable shielding and PE itself to a common wire into the 14 way connector.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:CCS_inlet_rhs.jpg&amp;diff=4612</id>
		<title>File:CCS inlet rhs.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:CCS_inlet_rhs.jpg&amp;diff=4612"/>
		<updated>2024-06-05T07:47:23Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CCS inlet right hand side showing 2.7K resistor block&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4611</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4611"/>
		<updated>2024-06-05T07:44:51Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Charge inlet backshell.jpg|thumb|Backshell showing LED connector at top and actuator middle]]&lt;br /&gt;
The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Charge_inlet_backshell.jpg&amp;diff=4610</id>
		<title>File:Charge inlet backshell.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Charge_inlet_backshell.jpg&amp;diff=4610"/>
		<updated>2024-06-05T07:43:56Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Charge inlet backshell&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4609</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4609"/>
		<updated>2024-06-05T07:41:58Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb|Full cable assembly with charge inlet, battery connector, OBC connector]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4608</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4608"/>
		<updated>2024-06-05T07:35:05Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb]]&lt;br /&gt;
[[File:CCS inlet.jpg|thumb|CCS inlet. Charge port LED shown at top]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:CCS_inlet.jpg&amp;diff=4607</id>
		<title>File:CCS inlet.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:CCS_inlet.jpg&amp;diff=4607"/>
		<updated>2024-06-05T07:34:21Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CCS inlet&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4606</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4606"/>
		<updated>2024-06-05T07:31:55Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller. There are plastic &#039;pass through&#039; mouldings that mount and route the HV DC cables, and a cable release for manually releasing the charge port lock pin.&lt;br /&gt;
&lt;br /&gt;
[[File:Hyundai CCS charge port.jpg|thumb]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Hyundai_CCS_charge_port.jpg&amp;diff=4605</id>
		<title>File:Hyundai CCS charge port.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Hyundai_CCS_charge_port.jpg&amp;diff=4605"/>
		<updated>2024-06-05T07:30:05Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hyundai Ioniq AE 91864-G7010 charge port assembly&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4604</id>
		<title>Category:Hyundai</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4604"/>
		<updated>2024-06-05T07:24:06Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hyundia Ioniq CCS Charge Inlet 9184-G7010|Hyundai Ioniq CCS charge inlet]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4603</id>
		<title>Category:Hyundai</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4603"/>
		<updated>2024-06-05T07:22:35Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hyundai Ioniq CCS Charge Inlet 91864-G7010|Hyundai Ioniq CCS charge inlet]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4602</id>
		<title>Category:Hyundai</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4602"/>
		<updated>2024-06-05T07:19:52Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hyundai Ioniq CCS Charge Inlet 91864-G7010|Hyundia Ioniq CCS charge inlet]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4601</id>
		<title>Hyundai Ioniq CCS Charge Inlet 91684-G7010</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai_Ioniq_CCS_Charge_Inlet_91684-G7010&amp;diff=4601"/>
		<updated>2024-06-05T07:17:27Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: creating page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Hyundai Ioniq AE CCS Charge Inlet part number 91864-G7010 combines a Type 2 charge port (single phase) with a CCS2 DC inlet. The full part is shown below with approx. 2M of shielded DC cable, a TE AMP+ connector for the Hyundai battery pack, connector to onboard charger and 14-way plug presumably connecting to the car&#039;s charge controller.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4600</id>
		<title>Category:Hyundai</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4600"/>
		<updated>2024-06-05T07:05:44Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: deleted sub category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4599</id>
		<title>Category:Hyundai</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Category:Hyundai&amp;diff=4599"/>
		<updated>2024-06-05T07:01:42Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: adding a sub category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hyundai Ioniq AE CCS combo charge inlet&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter&amp;diff=4454</id>
		<title>Toyota Prius Gen2 Inverter</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter&amp;diff=4454"/>
		<updated>2024-03-07T20:08:59Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Gen 2 inverter montage.jpg|alt=|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 inverter internals.jpg|alt=|thumb|Internal look at the Prius Gen2 Inverter]]&lt;br /&gt;
[[File:Prius Gen 2 Layout.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Priuses have been made in large numbers for 20 years and spares are inexpensive.&lt;br /&gt;
* High affordability. Prius inverters are available for around $150 from scrapyards everywhere.&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
* Respectable performance. Rated for 50kW output, but tested to handle 600v, and [https://www.youtube.com/watch?v=y6mlXahM9B0 350+A for MG2 inverter, 250+A for MG1 inverter], 360kW total (480hp)&lt;br /&gt;
* Ease of re-purposing. Emulating the original ECU seems reasonably feasible.&lt;br /&gt;
&lt;br /&gt;
The Gen2 Prius (2004-2009 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
* 2 high power inverters, for the 2 motors MG1 (starter) capable of handling 250 amps, and MG2 (drive motor) capable of handling 350 amps.&lt;br /&gt;
* A DC-DC converter to provide 12v and up to 100amps power supply to the automotive systems and accessories.&lt;br /&gt;
* A tertiary power inverter to run the A/C, CAN controlled via the &amp;quot;BEAN&amp;quot; (????) network&lt;br /&gt;
* A boost module to boost the 200v battery pack up to 500v, which looks to be able to function as a battery charger (wish list for future development)&lt;br /&gt;
* See this video for a thorough disassembly and explanation of the Gen2 Inverter (Timestamp 1:15:30): https://www.youtube.com/watch?v=Y7Vm-C4MsW8&amp;amp;t=4531&lt;br /&gt;
* See this video for a more brief explanation of the above noted disassembled Gen2 HV System Operation: https://www.youtube.com/watch?v=UxuqHcUbSQ0&lt;br /&gt;
&lt;br /&gt;
Note that there is also a [[Toyota_Prius_Gen3_Board]] for the 2010-2015 model years.&lt;br /&gt;
&lt;br /&gt;
== Replacement Controllers ==&lt;br /&gt;
&lt;br /&gt;
Re-purposing a Prius Gen2 Inverter outside of a Prius is done simply with add-on controllers that replace the vehicle&#039;s wiring harness and ECU.&lt;br /&gt;
&lt;br /&gt;
* [[Toyota Prius Gen2 EVBMW Throughhole Board]] - Details on the now-deprecated EVBMW &amp;quot;Blue Pill&amp;quot;-based easy-to-solder controller board, diagrams, instructions, pinouts, etc. Don&#039;t use this.&lt;br /&gt;
* [[Toyota Prius Gen2 Inverter Controller]] - Details on the newer OpenInverter controller board and kits to repurpose the Gen 2 Prius inverter. Use this.&lt;br /&gt;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
&lt;br /&gt;
Note: Wire colors on the male/female side of the 32-pin &amp;quot;i10&amp;quot; connector do not match. The inverter-side plug uses an almost unique color scheme, but the wiring harness side reuses many colors - unique only to a given shielded cable (of which there are 5), plus some extra unbundled wires. To save time chasing wires, you can find anything in the same bundle, and know the rest by noting which other colors are in that cable. There are also a few loose wires not bundled into a cable or shielded.&lt;br /&gt;
&lt;br /&gt;
Note 2: The 12v supply rail for the &amp;quot;i9&amp;quot; connector also changes color at the wiring harness. The thicker blue loose wire is positive, the thick loose white-black wire is the ground.&lt;br /&gt;
&lt;br /&gt;
Note 3: There is also an enclosure safety connector, this is the thin blue loose wire on the wiring harness.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Prius_Inverter_-_Pin_Numbering_2.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_3.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_2.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_5.jpg|thumb|500x500px|32-pin Prius Harness Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_4.jpg|thumb|500x500px|32-pin Prius Harness Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_6.jpg|thumb|500x500px|32-pin Prius Inverter Colors]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_7.jpg|thumb|500x500px|32-pin Prius Inverter Harness Connections]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_8.jpg|thumb|500x500px|32-pin Prius Inverter i9 12v DC]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_9.jpg|thumb|500x500px|32-pin Prius Inverter Harness Cables]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Pin # !! Designation !! Description!!Wire Color&lt;br /&gt;
(Inverter Side)&lt;br /&gt;
&lt;br /&gt;
(See pictures to the right)&lt;br /&gt;
!Wire Color&lt;br /&gt;
(Harness Side)&lt;br /&gt;
|-&lt;br /&gt;
|1||||vacant||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V||LightGreen&lt;br /&gt;
|White - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LightGreen-Black&lt;br /&gt;
|Green - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed Signal Wave|| Blue-Yellow&lt;br /&gt;
|White - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|14|| CT ||Boost converter temperature sensor||Green-Red&lt;br /&gt;
|Red - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W||Grey&lt;br /&gt;
|Red - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|20|| GSDN ||MG1 Shutdown||Brown-Black&lt;br /&gt;
|Red - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail||White-Grey&lt;br /&gt;
|Grey&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W||Grey-Green&lt;br /&gt;
|Red - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail||White&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage||Pink&lt;br /&gt;
|Brown&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal||Brown-White&lt;br /&gt;
|White - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal||White-Red&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal||Pink-Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground||Black-Red&lt;br /&gt;
|Green - Cable 5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(Article continues below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
[[File:Toyota gen2 dimension.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C 5 Connector Pinout.png|alt=|thumb|DC-DC converter &amp;quot;C 5&amp;quot; connector]]&lt;br /&gt;
The onboard DC-DC Converter is powered by the high voltage traction battery to supply 12v and up to 100A for low-voltage automotive components and 12 battery maintenance, equivalent to an alternator  or generator. Direct control of the converter is simple, only one 12v wire connected to Pin#1 of connector &amp;quot;C5&amp;quot; is necessary to activate it, but a second input can be added at Pin#4, to enhance control.&lt;br /&gt;
&lt;br /&gt;
All 6-pin connectors are Yazaki 7283-7062-40, including the resolver connections on the transaxle.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector terminal positions and harness-side colors:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Pin # !! Designation !! Description !! Wire Color&lt;br /&gt;
|-&lt;br /&gt;
|1||IGCT|| 12v+ || Blue&lt;br /&gt;
|-&lt;br /&gt;
|2||ID1|| Not Needed || Purple&lt;br /&gt;
|-&lt;br /&gt;
|3||S||B+ (opt)|| White&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Ppl/Gld&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO||Not Needed||Blue&lt;br /&gt;
|-&lt;br /&gt;
|6|||| ||Vacant&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal), just as an alternator or generator would be.&lt;br /&gt;
&lt;br /&gt;
With the HV bus energized and switched 12v applied to Pin#1 of &amp;quot;C5&amp;quot;, the DC-DC will produce 13.2-15.2 Vdc on the large C6 single-conductor connector nearby, which is equivalent to a 12v alternator/generator positive terminal.  Depending on voltage applied to pin 4 (if used), output can be tailored; when grounded, it will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero. No base load is required to produce voltage.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt;&#039;&#039;&#039; The output at C6 (large grey connector) is not internally fused and not disabled unless power to Pin#1 of C5 is off, or Pin#4 is grounded, but the DC-DC converter can only produce output when the HV bus is energized.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - The DC-DC system is not designed to charge up a low 12v battery and certainly not one that&#039;s completely dead, doing so can damage the inverter/converter.  Pin#1 can be tied directly to the same ignition switch signal as the control board receives as this circuit draws only about 6.3mA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Buck/Boost Converter ==&lt;br /&gt;
&lt;br /&gt;
The inverter also has an onboard buck/boost converter that - when needed - can boost the ~200v battery pack up to 600v to send to the motors, and buck down high voltage generated by the motors in regen mode to recharge the batteries. See &#039;Charging&#039; section below for how the buck/boost converter has been used for AC charging. See link below for another method of controlling the buck/boost converter.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Alternative Method:&#039;&#039; [https://openinverter.org/wiki/Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application Control of Prius Gen2 Buck/Boost converter for low voltage CCS charging]&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
The inverter is liquid cooled, coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the Hybrid Synergy Drive (HSD) cooling system reservoir.  Some type of circulating pump and radiator are needed to use Toyota inverters, many compact options are available.&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
Details on connectors and terminals have been posted on the IH8MUD website: https://www.ih8mud.com/tech/WireHarnessRepairParts.php  &lt;br /&gt;
&lt;br /&gt;
Alternatively, the Toyota wire repair book can be found here: https://www.toyota-tech.eu/wire_harness_rm/RM06H0E.pdf&lt;br /&gt;
&lt;br /&gt;
Please use either or both of the above to identify the connector and terminal numbers needed for your project.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Connector&lt;br /&gt;
!Male&lt;br /&gt;
!Female&lt;br /&gt;
|-&lt;br /&gt;
|C5&lt;br /&gt;
|90980-10988&lt;br /&gt;
|90980-10987&lt;br /&gt;
|-&lt;br /&gt;
|B+ (DC-DC output)&lt;br /&gt;
|&lt;br /&gt;
|90980-11963&lt;br /&gt;
|-&lt;br /&gt;
|32-pin connector&lt;br /&gt;
|&lt;br /&gt;
|TE 1318747-1 (&amp;amp; 1123343-1 for pins)&lt;br /&gt;
|-&lt;br /&gt;
|28-pin connector (on inverter logic board)&lt;br /&gt;
|&lt;br /&gt;
|TE 1565380-1 (&amp;amp; 1123343-1 for pins)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Charging ==&lt;br /&gt;
The gen 2 can only charge in buck mode. So maximum charge voltage is limited to the rectified AC input. E.G. From a 230 VAC source the inverter can only charge up to around 320VDC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Relevant Parameters&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Charge mode:Buck&lt;br /&gt;
&lt;br /&gt;
Chargecur: 1.5&lt;br /&gt;
&lt;br /&gt;
Chargekp 20&lt;br /&gt;
&lt;br /&gt;
Chargeki: 10&lt;br /&gt;
&lt;br /&gt;
Chargeflt 2 dig&lt;br /&gt;
&lt;br /&gt;
Charge pwmmin: 10	(Change this to get equivalent to min battery voltage.)&lt;br /&gt;
&lt;br /&gt;
udcswbuck: x (HV bus voltage at which point Ground signal is used to control AC and HV battery relays)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Relevant Pins&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* CSDN (pin 29 on inverter) &lt;br /&gt;
** Shuts down high and low IGBTs when fed 12v, via 470R&lt;br /&gt;
** When CSDN is HIGH both IGBTs are OFF.&lt;br /&gt;
* CPWM(pin 31 on control board, 13 on inverter)&lt;br /&gt;
** Enables charge mode when fed 12v via 470R&lt;br /&gt;
** When CPWM is HIGH, the LOW side IGBT is on(shorts out battery), when CPWM is LOW the HIGH side IGBT is on.&lt;br /&gt;
* Forward and reverse (11 and 12 on control board)&lt;br /&gt;
** Both must be high to enable charging&lt;br /&gt;
* DCSW switch(15 in control board)&lt;br /&gt;
** Controls DC relay switch.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Physical setup&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* 240v AC plugs into two MG1 phases, with a precharge resistor always on.&lt;br /&gt;
** Relay controlled by DCSW pin connected to ground side of relay signal wires.&lt;br /&gt;
* HV Battery connected with precharge resistor&lt;br /&gt;
** Relay controlled from DCSW pin connect to ground side of relay wires.&lt;br /&gt;
* CPWM to 12v via 470R resistor. Pulled high to when you want to charge&lt;br /&gt;
* CSDN pin to 12v via 470R resistor. Pulled high to when you want to charge&lt;br /&gt;
** CSDN pin also tied to DCSW signal pin, which pulls it down when precharge is complete.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Process&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Fwd and reverse signals high, relays open&lt;br /&gt;
# CPWM and CSDN pulled high via 470R .&lt;br /&gt;
# Connect AC input voltage with precharge&lt;br /&gt;
## DCSW will then close relays and pull down CSDN pin to activate charging.&lt;br /&gt;
# Activate buck on charger. (By manual web interface or does just having FWD and Reverse high activate this?&lt;br /&gt;
# To stop, can change chargecur to 0 or switch off inverter power.&lt;br /&gt;
&lt;br /&gt;
== Offgrid AC Use ==&lt;br /&gt;
&lt;br /&gt;
There has been moderate success using the Prius Gen 2 inverter to generate AC outlet voltages for offgrid use.&lt;br /&gt;
&lt;br /&gt;
See: https://openinverter.org/forum/viewtopic.php?p=22886&lt;br /&gt;
&lt;br /&gt;
See: https://github.com/jsphuebner/stm32-island&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=Xl87abBl9-A - Physical destructive teardown of the Gen2 inverter.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Toyota]] [[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4453</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4453"/>
		<updated>2024-03-05T10:11:24Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: /* Control of the buck/boost converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack. The CCS standard does not support charging below 200V so for battery packs lower than this, it&#039;s not been possible to use CCS charging. This project may change that and make rapid charging available to lower voltage packs but at said low voltages, current handling will be the limiting factor for charging speeds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. This is essentially complete. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;br /&gt;
&lt;br /&gt;
==Control of the buck/boost converter==&lt;br /&gt;
&lt;br /&gt;
The buck/boost converter’s Intelligent Power Module is a Mitsubishi PM400DV1A400. It has an 16 pin input plug P/N: 1318386-1, crimps 1123343-1 from TE. These plugs are pretty small and necessitate a thin wire gauge (c. 20-23 AWG at a guess). &lt;br /&gt;
&lt;br /&gt;
Pin numbering and colouring can be found in the Toyota wiring guide, p106 [find a link] and these connect into the 32 pin Prius Inverter plug as show in the wiki [https://openinverter.org/wiki/Toyota_Prius_Gen2_Inverter Prius Gen 2 Wiki] with the exception of the modules power, ground and OVH wire (more on that below).&lt;br /&gt;
[[File:IPM wiring.jpg|thumb|Block diagram from Toyota for the Mitsubishi IPM]]&lt;br /&gt;
Block diagram shown.&lt;br /&gt;
&lt;br /&gt;
The pin numbering is shown below. Pin numbers start with pin 1 at the top, right side of the TE plug when looking at the wire entry side. So the red 12V power input is pin 8, and the orange voltage sense wire is pin 1.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Toyota colour&lt;br /&gt;
!Toyota name&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Green/Red&lt;br /&gt;
|CT&lt;br /&gt;
|Temp dependent voltage signal&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Purple&lt;br /&gt;
|VL&lt;br /&gt;
|1:100 scaled isolated voltage of orange wire&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Pink&lt;br /&gt;
|OVH&lt;br /&gt;
|IPM Enable line, 5V on, 0V off&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Blue&lt;br /&gt;
|CPWM&lt;br /&gt;
|0-100% duty cycle PWM 12V - 0V, 5kHz&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Black&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Red&lt;br /&gt;
|12V&lt;br /&gt;
|12V&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Orange&lt;br /&gt;
|?&lt;br /&gt;
|Isolated voltage sense wire&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|?&lt;br /&gt;
|OVL&lt;br /&gt;
|not known&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|white/red&lt;br /&gt;
|FCV&lt;br /&gt;
|Fault reporting line. More detail needed&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|black/red&lt;br /&gt;
|GCNV&lt;br /&gt;
|Held at ground, more detail needed&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|brown/white&lt;br /&gt;
|CSDN&lt;br /&gt;
|Shutdown line. If high, IPM shuts down. Held low.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Johannes has demonstrated control using his own boards and software, see Resources below. The following describes generic control, should you want to use your own harware/software. I have not yet used CT for temp sensing, FCV for fault reporting, and have had limited sucess with the VL voltage sensing (it may be the voltage I was testing on is just too low). Johannes does show it working. &lt;br /&gt;
&lt;br /&gt;
=== Boosting control ===&lt;br /&gt;
Control is achieved as follows. To start up the boost module safely without it doing any boosting the CPWM duty cycle must be set to 0%, so 0V, the OVH line also held low, and GCNV, CSDN grounded. 12V is then applied to pin 8. &lt;br /&gt;
&lt;br /&gt;
Use a pre-charge mechanism, feed the &amp;quot;low&amp;quot; voltage from the pack to the DC battery input posts of the inverter module. This will mean the big capacitor in the inverter/controller will see pack voltage, hence the need to pre-charge before applying the main pack voltage.&lt;br /&gt;
&lt;br /&gt;
See Johannes&#039; charger videos linked below and see the main Prius wiki to make sure you understand how the IPM works with regards to the top and bottom IGBTs, because it is easy to short out the battery pack.&lt;br /&gt;
&lt;br /&gt;
Next, supply 5V to OVH and this enables the IPM. Then, by increasing the CPWM duty cycle, the battery voltage can be boosted and this higher voltage can now be seen on the DC rails (shown in blue in the Buck/Boost for CCS diagram above).&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that the CPMW is set to zero when starting and to ensure this, I used a very simple circuit with two transistors as shown, because during the boot/power on of the Teensy the output pin is floating until it&#039;s explicity set low, and this circuit makes sure that CPWM is set low from the beginning. To stop, remove 5V from OVH and open contactors to battery to remove input DC. There is a bleed resistor board in the inverter which will drain the voltage on the capacitor but take care none the less. It may be wise to reduce the boosting to zero before setting OVH low, I don&#039;t know.&lt;br /&gt;
[[File:Pwm circuit hold low.png|thumb|Keeping PWM low during boot]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
[[File:Possible ccs take off.png|thumb|Possible CCS take off points circled in red]]&lt;br /&gt;
The idea is to boost the battery voltage to the output voltage of the charger, then allow the charger to connect to either the DC bus rails circled below in red in picture labelled &#039;possible CCS take-off&#039; (but confirmation needed on this), OR, to two of the MG1 terminals. The latter does mean that the current will flow through the diodes on the inverter circuit, and this may not be desirable because a) it might limit the current that can be drawn and b) it means keeping the inverter circuitry even though we don&#039;t use it for this application and could perhaps discard it to save space. Either way, once the voltages are matched, the charger can be allowed to connect to the DC bus rails (in theory without its own pre-charge circuitry but that might not be wise). Assuming the charger voltage and the boosted pack voltage are the same, no current will flow. By reducing the boosting by reducing the PWM duty cycle, current can be drawn towards the pack. The pack will see the bucked down voltage level and by controlling the amount of boosting the amount of current can also be controlled.&lt;br /&gt;
&lt;br /&gt;
Note: the above is conceptual and I have been successful using very low voltages to test charging a 12V battery from an 18V battery. Scaling this up to charging a 120V battery from a 400V EVSE is a different kettle of fish altogether, and I could use some help from the community to confirm where best to connect the EVSE HV to (see blue lines on Buck/Boost for CCS schematic above) and general advice regarding safety and best practice.&lt;br /&gt;
&lt;br /&gt;
== Power ==&lt;br /&gt;
It is not clear how much power we can pass through the buck/boost converter, and hence what charging speeds we could achieve, however even if it’s as low as 10kW it’s an improvement over the 6.6kW typical max charge rate for a low voltage EV conversion and importantly means CCS chargers can be used when AC chargers are not available. It’s been suggested that the maximum current the Gen 2 inverter/controller can push out through the DC lines is 100A, which would limit the charging rate to c. 12kW maximum. The IPM may be rated at up to 400A [https://openinverter.org/forum/viewtopic.php?t=4745 Prius boost module PM400DV1A120] which may mean a higher rate is possible. More info needed.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also possible that two (or more) of these buck/boost converters could be run in parallel with essentialy the one control code.&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;br /&gt;
&lt;br /&gt;
The MITM needs to be able to communicate with the CCS controller, and hopefully the FOCCCI and CLARA CSS projects here on OI will be suitable. I hope to establish what Clara needs for battery pack info, and its operational flow chart so I can work out the logic for the MITM and how it will interface between Clara and my BMS. Updates to follow.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Johannes has some videos, linked below, showing AC charging using the buck/boost controller and Damien also demontrates it. These things are potentially pretty dangerous so do watch these first.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=hkCRddO3Clc Damien&#039;s charging demonstration]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=_BDJ7N_YjAU Johannes&#039; charger]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=E62nOUprQYI&amp;amp;t=721s Johannes&#039; Lab Update #42]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=mPp13zctjfY Johannes&#039;s Lab Update #45]&lt;br /&gt;
&lt;br /&gt;
Any suggestions/ideas/corrections very welcome.&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=4530 forum discussion thread]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Possible_ccs_take_off.png&amp;diff=4452</id>
		<title>File:Possible ccs take off.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Possible_ccs_take_off.png&amp;diff=4452"/>
		<updated>2024-03-05T10:02:28Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Possible CCS take off points circled in red&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter&amp;diff=4451</id>
		<title>Toyota Prius Gen2 Inverter</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter&amp;diff=4451"/>
		<updated>2024-03-04T21:21:12Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: /* Buck/Boost Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Gen 2 inverter montage.jpg|alt=|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 inverter internals.jpg|alt=|thumb|Internal look at the Prius Gen2 Inverter]]&lt;br /&gt;
[[File:Prius Gen 2 Layout.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Priuses have been made in large numbers for 20 years and spares are inexpensive.&lt;br /&gt;
* High affordability. Prius inverters are available for around $150 from scrapyards everywhere.&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
* Respectable performance. Rated for 50kW output, but tested to handle 600v, and [https://www.youtube.com/watch?v=y6mlXahM9B0 350+A for MG2 inverter, 250+A for MG1 inverter], 360kW total (480hp)&lt;br /&gt;
* Ease of re-purposing. Emulating the original ECU seems reasonably feasible.&lt;br /&gt;
&lt;br /&gt;
The Gen2 Prius (2004-2009 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
* 2 high power inverters, for the 2 motors MG1 (starter) capable of handling 250 amps, and MG2 (drive motor) capable of handling 350 amps.&lt;br /&gt;
* A DC-DC converter to provide 12v and up to 100amps power supply to the automotive systems and accessories.&lt;br /&gt;
* A tertiary power inverter to run the A/C, CAN controlled via the &amp;quot;BEAN&amp;quot; (????) network&lt;br /&gt;
* A boost module to boost the 200v battery pack up to 500v, which looks to be able to function as a battery charger (wish list for future development)&lt;br /&gt;
* See this video for a thorough disassembly and explanation of the Gen2 Inverter (Timestamp 1:15:30): https://www.youtube.com/watch?v=Y7Vm-C4MsW8&amp;amp;t=4531&lt;br /&gt;
* See this video for a more brief explanation of the above noted disassembled Gen2 HV System Operation: https://www.youtube.com/watch?v=UxuqHcUbSQ0&lt;br /&gt;
&lt;br /&gt;
Note that there is also a [[Toyota_Prius_Gen3_Board]] for the 2010-2015 model years.&lt;br /&gt;
&lt;br /&gt;
== Replacement Controllers ==&lt;br /&gt;
&lt;br /&gt;
Re-purposing a Prius Gen2 Inverter outside of a Prius is done simply with add-on controllers that replace the vehicle&#039;s wiring harness and ECU.&lt;br /&gt;
&lt;br /&gt;
* [[Toyota Prius Gen2 EVBMW Throughhole Board]] - Details on the now-deprecated EVBMW &amp;quot;Blue Pill&amp;quot;-based easy-to-solder controller board, diagrams, instructions, pinouts, etc. Don&#039;t use this.&lt;br /&gt;
* [[Toyota Prius Gen2 Inverter Controller]] - Details on the newer OpenInverter controller board and kits to repurpose the Gen 2 Prius inverter. Use this.&lt;br /&gt;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
&lt;br /&gt;
Note: Wire colors on the male/female side of the 32-pin &amp;quot;i10&amp;quot; connector do not match. The inverter-side plug uses an almost unique color scheme, but the wiring harness side reuses many colors - unique only to a given shielded cable (of which there are 5), plus some extra unbundled wires. To save time chasing wires, you can find anything in the same bundle, and know the rest by noting which other colors are in that cable. There are also a few loose wires not bundled into a cable or shielded.&lt;br /&gt;
&lt;br /&gt;
Note 2: The 12v supply rail for the &amp;quot;i9&amp;quot; connector also changes color at the wiring harness. The thicker blue loose wire is positive, the thick loose white-black wire is the ground.&lt;br /&gt;
&lt;br /&gt;
Note 3: There is also an enclosure safety connector, this is the thin blue loose wire on the wiring harness.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Prius_Inverter_-_Pin_Numbering_2.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_3.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_2.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_5.jpg|thumb|500x500px|32-pin Prius Harness Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_4.jpg|thumb|500x500px|32-pin Prius Harness Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_6.jpg|thumb|500x500px|32-pin Prius Inverter Colors]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_7.jpg|thumb|500x500px|32-pin Prius Inverter Harness Connections]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_8.jpg|thumb|500x500px|32-pin Prius Inverter i9 12v DC]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_9.jpg|thumb|500x500px|32-pin Prius Inverter Harness Cables]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Pin # !! Designation !! Description!!Wire Color&lt;br /&gt;
(Inverter Side)&lt;br /&gt;
&lt;br /&gt;
(See pictures to the right)&lt;br /&gt;
!Wire Color&lt;br /&gt;
(Harness Side)&lt;br /&gt;
|-&lt;br /&gt;
|1||||vacant||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V||LightGreen&lt;br /&gt;
|White - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LightGreen-Black&lt;br /&gt;
|Green - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed Signal Wave|| Blue-Yellow&lt;br /&gt;
|White - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|14|| CT ||Boost converter temperature sensor||Green-Red&lt;br /&gt;
|Red - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W||Grey&lt;br /&gt;
|Red - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|20|| GSDN ||MG1 Shutdown||Brown-Black&lt;br /&gt;
|Red - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail||White-Grey&lt;br /&gt;
|Grey&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W||Grey-Green&lt;br /&gt;
|Red - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail||White&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage||Pink&lt;br /&gt;
|Brown&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal||Brown-White&lt;br /&gt;
|White - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal||White-Red&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal||Pink-Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground||Black-Red&lt;br /&gt;
|Green - Cable 5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(Article continues below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
[[File:Toyota gen2 dimension.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C 5 Connector Pinout.png|alt=|thumb|DC-DC converter &amp;quot;C 5&amp;quot; connector]]&lt;br /&gt;
The onboard DC-DC Converter is powered by the high voltage traction battery to supply 12v and up to 100A for low-voltage automotive components and 12 battery maintenance, equivalent to an alternator  or generator. Direct control of the converter is simple, only one 12v wire connected to Pin#1 of connector &amp;quot;C5&amp;quot; is necessary to activate it, but a second input can be added at Pin#4, to enhance control.&lt;br /&gt;
&lt;br /&gt;
All 6-pin connectors are Yazaki 7283-7062-40, including the resolver connections on the transaxle.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector terminal positions and harness-side colors:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Pin # !! Designation !! Description !! Wire Color&lt;br /&gt;
|-&lt;br /&gt;
|1||IGCT|| 12v+ || Blue&lt;br /&gt;
|-&lt;br /&gt;
|2||ID1|| Not Needed || Purple&lt;br /&gt;
|-&lt;br /&gt;
|3||S||B+ (opt)|| White&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Ppl/Gld&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO||Not Needed||Blue&lt;br /&gt;
|-&lt;br /&gt;
|6|||| ||Vacant&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal), just as an alternator or generator would be.&lt;br /&gt;
&lt;br /&gt;
With the HV bus energized and switched 12v applied to Pin#1 of &amp;quot;C5&amp;quot;, the DC-DC will produce 13.2-15.2 Vdc on the large C6 single-conductor connector nearby, which is equivalent to a 12v alternator/generator positive terminal.  Depending on voltage applied to pin 4 (if used), output can be tailored; when grounded, it will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero. No base load is required to produce voltage.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt;&#039;&#039;&#039; The output at C6 (large grey connector) is not internally fused and not disabled unless power to Pin#1 of C5 is off, or Pin#4 is grounded, but the DC-DC converter can only produce output when the HV bus is energized.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - The DC-DC system is not designed to charge up a low 12v battery and certainly not one that&#039;s completely dead, doing so can damage the inverter/converter.  Pin#1 can be tied directly to the same ignition switch signal as the control board receives as this circuit draws only about 6.3mA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Buck/Boost Converter ==&lt;br /&gt;
&lt;br /&gt;
The inverter also has an onboard buck/boost converter that - when needed - can boost the ~200v battery pack up to 600v to send to the motors, and buck down high voltage generated by the motors in regen mode to recharge the batteries. See &#039;Charging&#039; section below for how the buck/boost converter has been used for AC charging. See link below for another method of controlling the buck/boost converter.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Main Article:&#039;&#039; [https://openinverter.org/wiki/Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application Control of Buck/Boost converter for low voltage CCS charging]&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
The inverter is liquid cooled, coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the Hybrid Synergy Drive (HSD) cooling system reservoir.  Some type of circulating pump and radiator are needed to use Toyota inverters, many compact options are available.&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
Details on connectors and terminals have been posted on the IH8MUD website: https://www.ih8mud.com/tech/WireHarnessRepairParts.php  &lt;br /&gt;
&lt;br /&gt;
Alternatively, the Toyota wire repair book can be found here: https://www.toyota-tech.eu/wire_harness_rm/RM06H0E.pdf&lt;br /&gt;
&lt;br /&gt;
Please use either or both of the above to identify the connector and terminal numbers needed for your project.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Connector&lt;br /&gt;
!Male&lt;br /&gt;
!Female&lt;br /&gt;
|-&lt;br /&gt;
|C5&lt;br /&gt;
|90980-10988&lt;br /&gt;
|90980-10987&lt;br /&gt;
|-&lt;br /&gt;
|B+ (DC-DC output)&lt;br /&gt;
|&lt;br /&gt;
|90980-11963&lt;br /&gt;
|-&lt;br /&gt;
|32-pin connector&lt;br /&gt;
|&lt;br /&gt;
|TE 1318747-1 (&amp;amp; 1123343-1 for pins)&lt;br /&gt;
|-&lt;br /&gt;
|28-pin connector (on inverter logic board)&lt;br /&gt;
|&lt;br /&gt;
|TE 1565380-1 (&amp;amp; 1123343-1 for pins)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Charging ==&lt;br /&gt;
The gen 2 can only charge in buck mode. So maximum charge voltage is limited to the rectified AC input. E.G. From a 230 VAC source the inverter can only charge up to around 320VDC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Relevant Parameters&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Charge mode:Buck&lt;br /&gt;
&lt;br /&gt;
Chargecur: 1.5&lt;br /&gt;
&lt;br /&gt;
Chargekp 20&lt;br /&gt;
&lt;br /&gt;
Chargeki: 10&lt;br /&gt;
&lt;br /&gt;
Chargeflt 2 dig&lt;br /&gt;
&lt;br /&gt;
Charge pwmmin: 10	(Change this to get equivalent to min battery voltage.)&lt;br /&gt;
&lt;br /&gt;
udcswbuck: x (HV bus voltage at which point Ground signal is used to control AC and HV battery relays)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Relevant Pins&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* CSDN (pin 29 on inverter) &lt;br /&gt;
** Shuts down high and low IGBTs when fed 12v, via 470R&lt;br /&gt;
** When CSDN is HIGH both IGBTs are OFF.&lt;br /&gt;
* CPWM(pin 31 on control board, 13 on inverter)&lt;br /&gt;
** Enables charge mode when fed 12v via 470R&lt;br /&gt;
** When CPWM is HIGH, the LOW side IGBT is on(shorts out battery), when CPWM is LOW the HIGH side IGBT is on.&lt;br /&gt;
* Forward and reverse (11 and 12 on control board)&lt;br /&gt;
** Both must be high to enable charging&lt;br /&gt;
* DCSW switch(15 in control board)&lt;br /&gt;
** Controls DC relay switch.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Physical setup&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* 240v AC plugs into two MG1 phases, with a precharge resistor always on.&lt;br /&gt;
** Relay controlled by DCSW pin connected to ground side of relay signal wires.&lt;br /&gt;
* HV Battery connected with precharge resistor&lt;br /&gt;
** Relay controlled from DCSW pin connect to ground side of relay wires.&lt;br /&gt;
* CPWM to 12v via 470R resistor. Pulled high to when you want to charge&lt;br /&gt;
* CSDN pin to 12v via 470R resistor. Pulled high to when you want to charge&lt;br /&gt;
** CSDN pin also tied to DCSW signal pin, which pulls it down when precharge is complete.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Process&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Fwd and reverse signals high, relays open&lt;br /&gt;
# CPWM and CSDN pulled high via 470R .&lt;br /&gt;
# Connect AC input voltage with precharge&lt;br /&gt;
## DCSW will then close relays and pull down CSDN pin to activate charging.&lt;br /&gt;
# Activate buck on charger. (By manual web interface or does just having FWD and Reverse high activate this?&lt;br /&gt;
# To stop, can change chargecur to 0 or switch off inverter power.&lt;br /&gt;
&lt;br /&gt;
== Offgrid AC Use ==&lt;br /&gt;
&lt;br /&gt;
There has been moderate success using the Prius Gen 2 inverter to generate AC outlet voltages for offgrid use.&lt;br /&gt;
&lt;br /&gt;
See: https://openinverter.org/forum/viewtopic.php?p=22886&lt;br /&gt;
&lt;br /&gt;
See: https://github.com/jsphuebner/stm32-island&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=Xl87abBl9-A - Physical destructive teardown of the Gen2 inverter.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Toyota]] [[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4450</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4450"/>
		<updated>2024-03-04T21:18:15Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack. The CCS standard does not support charging below 200V so for battery packs lower than this, it&#039;s not been possible to use CCS charging. This project may change that and make rapid charging available to lower voltage packs but at said low voltages, current handling will be the limiting factor for charging speeds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. This is essentially complete. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;br /&gt;
&lt;br /&gt;
==Control of the buck/boost converter==&lt;br /&gt;
&lt;br /&gt;
The buck/boost converter’s Intelligent Power Module is a Mitsubishi PM400DV1A400. It has an 16 pin input plug P/N: 1318386-1, crimps 1123343-1 from TE. These plugs are pretty small and necessitate a thin wire gauge (c. 20-23 AWG at a guess). &lt;br /&gt;
&lt;br /&gt;
Pin numbering and colouring can be found in the Toyota wiring guide, p106 [find a link] and these connect into the 32 pin Prius Inverter plug as show in the wiki [https://openinverter.org/wiki/Toyota_Prius_Gen2_Inverter Prius Gen 2 Wiki] with the exception of the modules power, ground and OVH wire (more on that below).&lt;br /&gt;
[[File:IPM wiring.jpg|thumb|Block diagram from Toyota for the Mitsubishi IPM]]&lt;br /&gt;
Block diagram shown.&lt;br /&gt;
&lt;br /&gt;
The pin numbering is shown below. Pin numbers start with pin 1 at the top, right side of the TE plug when looking at the wire entry side. So the red 12V power input is pin 8, and the orange voltage sense wire is pin 1.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Toyota colour&lt;br /&gt;
!Toyota name&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Green/Red&lt;br /&gt;
|CT&lt;br /&gt;
|Temp dependent voltage signal&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Purple&lt;br /&gt;
|VL&lt;br /&gt;
|1:100 scaled isolated voltage of orange wire&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Pink&lt;br /&gt;
|OVH&lt;br /&gt;
|IPM Enable line, 5V on, 0V off&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Blue&lt;br /&gt;
|CPWM&lt;br /&gt;
|0-100% duty cycle PWM 12V - 0V, 5kHz&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Black&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Red&lt;br /&gt;
|12V&lt;br /&gt;
|12V&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Orange&lt;br /&gt;
|?&lt;br /&gt;
|Isolated voltage sense wire&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|?&lt;br /&gt;
|OVL&lt;br /&gt;
|not known&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|white/red&lt;br /&gt;
|FCV&lt;br /&gt;
|Fault reporting line. More detail needed&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|black/red&lt;br /&gt;
|GCNV&lt;br /&gt;
|Held at ground, more detail needed&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|brown/white&lt;br /&gt;
|CSDN&lt;br /&gt;
|Shutdown line. If high, IPM shuts down. Held low.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Johannes has demonstrated control using his own boards and software, see Resources below. The following describes generic control, should you want to use your own harware/software. &lt;br /&gt;
&lt;br /&gt;
Control is achieved as follows. To start up the boost module safely without it doing any boosting the CPWM duty cycle must be set to 0%, so 0V, the OVH line also held low, and GCNV, CSDN grounded. 12V is then applied to pin 8. &lt;br /&gt;
&lt;br /&gt;
Use a pre-charge mechanism to feed the &amp;quot;low&amp;quot; voltage from the pack to the DC input posts of the inverter module. This will mean the big capacitor in the inverter/controller will see pack voltage, hence the need to pre-charge before applying the main pack voltage.&lt;br /&gt;
&lt;br /&gt;
See Johannes&#039; charger videos linked below and see the main Prius wiki to make sure you understand how the IPM works with regards to the top and bottom IGBTs, because it is easy to short out the battery pack.&lt;br /&gt;
&lt;br /&gt;
Next, by increasing the CPWM duty cycle, the battery voltage can be boosted and this higher voltage can now be seen on the DC rails (shown in blue in the Buck/Boost for CCS diagram above).&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that the CPMW is set to zero when starting and to ensure this, I used a very simple circuit with two transistors as shown, because during the boot/power on of the Teensy the output pin is floating until it&#039;s explicity set low, and this circuit makes sure that it&#039;s set low from the beginning.&lt;br /&gt;
[[File:Pwm circuit hold low.png|thumb|Keeping PWM low during boot]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The idea is to boost the battery voltage to the output voltage of the charger, then allow the charger to connect to either the DC bus rails circled below in red (confirmation needed on this), OR, to two of the MG1 terminals. The latter does mean that the current will flow through the diodes on the inverter circuit, and this may not be desirable because a) it might limit the current that can be drawn and b) it means keeping the inverter circuitry even though we don&#039;t use it for this application and could perhaps discard it to save space. Either way, once the voltages are matched, the charger can be allowed to connect to the DC bus rails in theory without its own pre-charge circuitry but that might not be wise. Assuming the charger voltage and the boosted pack voltage are the same, no current will flow. By reducing the boosting by reducing the PWM duty cycle, current can be drawn towards the pack. The pack will see the bucked down voltage level and by controlling the amount of boosting the amount of current can also be controlled.&lt;br /&gt;
&lt;br /&gt;
Note: the above is conceptual and I have been successful using very low voltages to test charging a 12V battery from an 18V battery. Scaling this up to charging a 120V battery from a 400V EVSE is a different kettle of fish altogether, and I could use some help from the community to confirm where best to connect the EVSE HV to (see blue lines on Buck/Boost for CCS schematic above) and general advice regarding safety and best practice.&lt;br /&gt;
&lt;br /&gt;
== Power ==&lt;br /&gt;
It is not clear how much power we can pass through the buck/boost converter, and hence what charging speeds we could achieve, however even if it’s as low as 10kW it’s an improvement over the 6.6kW typical max charge rate for a low voltage EV conversion and importantly means CCS chargers can be used when AC chargers are not available. It’s been suggested that the maximum current the Gen 2 inverter/controller can push out through the DC lines is 100A, which would limit the charging rate to c. 12kW maximum. The IPM may be rated at up to 400A [https://openinverter.org/forum/viewtopic.php?t=4745 Prius boost module PM400DV1A120] which may mean a higher rate is possible. More info needed.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also possible that two (or more) of these buck/boost converters could be run in parallel with essentialy the one control code.&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;br /&gt;
&lt;br /&gt;
The MITM needs to be able to communicate with the CCS controller, and hopefully the FOCCCI and CLARA CSS projects here on OI will be suitable. I hope to establish what Clara needs for battery pack info, and its operational flow chart so I can work out the logic for the MITM and how it will interface between Clara and my BMS. Updates to follow.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Johannes has some videos, linked below, showing AC charging using the buck/boost controller and Damien also demontrates it. These things are potentially pretty dangerous so do watch these first.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=hkCRddO3Clc Damien&#039;s charging demonstration]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=_BDJ7N_YjAU Johannes&#039; charger]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=E62nOUprQYI&amp;amp;t=721s Johannes&#039; Lab Update #42]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=mPp13zctjfY Johannes&#039;s Lab Update #45]&lt;br /&gt;
&lt;br /&gt;
Any suggestions/ideas/corrections very welcome.&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=4530 forum discussion thread]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4449</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4449"/>
		<updated>2024-03-04T21:16:12Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack. The CCS standard does not support charging below 200V so for battery packs lower than this, it&#039;s not been possible to use CCS charging. This project may change that and make rapid charging available to lower voltage packs but at said low voltages, current handling will be the limiting factor for charging speeds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. This is essentially complete. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;br /&gt;
&lt;br /&gt;
==Control of the buck/boost converter==&lt;br /&gt;
&lt;br /&gt;
The buck/boost converter’s Intelligent Power Module is a Mitsubishi PM400DV1A400. It has an 16 pin input plug P/N: 1318386-1, crimps 1123343-1 from TE. These plugs are pretty small and necessitate a thin wire gauge (c. 20-23 AWG at a guess). &lt;br /&gt;
&lt;br /&gt;
Pin numbering and colouring can be found in the Toyota wiring guide, p106 [find a link] and these connect into the 32 pin Prius Inverter plug as show in the wiki [url][[Toyota Prius Gen2 Inverter]][/url] with the exception of the modules power, ground and OVH wire (more on that below).&lt;br /&gt;
[[File:IPM wiring.jpg|thumb|Block diagram from Toyota for the Mitsubishi IPM]]&lt;br /&gt;
Block diagram shown.&lt;br /&gt;
&lt;br /&gt;
The pin numbering is shown below. Pin numbers start with pin 1 at the top, right side of the TE plug when looking at the wire entry side. So the red 12V power input is pin 8, and the orange voltage sense wire is pin 1.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Toyota colour&lt;br /&gt;
!Toyota name&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Green/Red&lt;br /&gt;
|CT&lt;br /&gt;
|Temp dependent voltage signal&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Purple&lt;br /&gt;
|VL&lt;br /&gt;
|1:100 scaled isolated voltage of orange wire&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Pink&lt;br /&gt;
|OVH&lt;br /&gt;
|IPM Enable line, 5V on, 0V off&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Blue&lt;br /&gt;
|CPWM&lt;br /&gt;
|0-100% duty cycle PWM 12V - 0V, 5kHz&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Black&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Red&lt;br /&gt;
|12V&lt;br /&gt;
|12V&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Orange&lt;br /&gt;
|?&lt;br /&gt;
|Isolated voltage sense wire&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|?&lt;br /&gt;
|OVL&lt;br /&gt;
|not known&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|white/red&lt;br /&gt;
|FCV&lt;br /&gt;
|Fault reporting line. More detail needed&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|black/red&lt;br /&gt;
|GCNV&lt;br /&gt;
|Held at ground, more detail needed&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|brown/white&lt;br /&gt;
|CSDN&lt;br /&gt;
|Shutdown line. If high, IPM shuts down. Held low.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Johannes has demonstrated control using his own boards and software, see Resources below. The following describes generic control, should you want to use your own harware/software. &lt;br /&gt;
&lt;br /&gt;
Control is achieved as follows. To start up the boost module safely without it doing any boosting the CPWM duty cycle must be set to 0%, so 0V, the OVH line also held low, and GCNV, CSDN grounded. 12V is then applied to pin 8. &lt;br /&gt;
&lt;br /&gt;
Use a pre-charge mechanism to feed the &amp;quot;low&amp;quot; voltage from the pack to the DC input posts of the inverter module. This will mean the big capacitor in the inverter/controller will see pack voltage, hence the need to pre-charge before applying the main pack voltage.&lt;br /&gt;
&lt;br /&gt;
See Johannes&#039; charger videos linked below and see the main Prius wiki to make sure you understand how the IPM works with regards to the top and bottom IGBTs, because it is easy to short out the battery pack.&lt;br /&gt;
&lt;br /&gt;
Next, by increasing the CPWM duty cycle, the battery voltage can be boosted and this higher voltage can now be seen on the DC rails (shown in blue in the Buck/Boost for CCS diagram above).&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that the CPMW is set to zero when starting and to ensure this, I used a very simple circuit with two transistors as shown, because during the boot/power on of the Teensy the output pin is floating until it&#039;s explicity set low, and this circuit makes sure that it&#039;s set low from the beginning.&lt;br /&gt;
[[File:Pwm circuit hold low.png|thumb|Keeping PWM low during boot]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The idea is to boost the battery voltage to the output voltage of the charger, then allow the charger to connect to either the DC bus rails circled below in red (confirmation needed on this), OR, to two of the MG1 terminals. The latter does mean that the current will flow through the diodes on the inverter circuit, and this may not be desirable because a) it might limit the current that can be drawn and b) it means keeping the inverter circuitry even though we don&#039;t use it for this application and could perhaps discard it to save space. Either way, once the voltages are matched, the charger can be allowed to connect to the DC bus rails in theory without its own pre-charge circuitry but that might not be wise. Assuming the charger voltage and the boosted pack voltage are the same, no current will flow. By reducing the boosting by reducing the PWM duty cycle, current can be drawn towards the pack. The pack will see the bucked down voltage level and by controlling the amount of boosting the amount of current can also be controlled.&lt;br /&gt;
&lt;br /&gt;
Note: the above is conceptual and I have been successful using very low voltages to test charging a 12V battery from an 18V battery. Scaling this up to charging a 120V battery from a 400V EVSE is a different kettle of fish altogether, and I could use some help from the community to confirm where best to connect the EVSE HV to (see blue lines on Buck/Boost for CCS schematic above) and general advice regarding safety and best practice.&lt;br /&gt;
&lt;br /&gt;
== Power ==&lt;br /&gt;
It is not clear how much power we can pass through the buck/boost converter, and hence what charging speeds we could achieve, however even if it’s as low as 10kW it’s an improvement over the 6.6kW typical max charge rate for a low voltage EV conversion and importantly means CCS chargers can be used when AC chargers are not available. It’s been suggested that the maximum current the Gen 2 inverter/controller can push out through the DC lines is 100A, which would limit the charging rate to c. 12kW maximum. The IPM may be rated at up to 400A [https://openinverter.org/forum/viewtopic.php?t=4745 Prius boost module PM400DV1A120] which may mean a higher rate is possible. More info needed.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also possible that two (or more) of these buck/boost converters could be run in parallel with essentialy the one control code.&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;br /&gt;
&lt;br /&gt;
The MITM needs to be able to communicate with the CCS controller, and hopefully the FOCCCI and CLARA CSS projects here on OI will be suitable. I hope to establish what Clara needs for battery pack info, and its operational flow chart so I can work out the logic for the MITM and how it will interface between Clara and my BMS. Updates to follow.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Johannes has some videos, linked below, showing AC charging using the buck/boost controller and Damien also demontrates it. These things are potentially pretty dangerous so do watch these first.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=hkCRddO3Clc Damien&#039;s charging demonstration]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=_BDJ7N_YjAU Johannes&#039; charger]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=E62nOUprQYI&amp;amp;t=721s Johannes&#039; Lab Update #42]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=mPp13zctjfY Johannes&#039;s Lab Update #45]&lt;br /&gt;
&lt;br /&gt;
Any suggestions/ideas/corrections very welcome.&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=4530 forum discussion thread]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4448</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4448"/>
		<updated>2024-03-04T21:06:22Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: new page text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;br /&gt;
&lt;br /&gt;
==Control of the buck/boost converter==&lt;br /&gt;
&lt;br /&gt;
The buck/boost converter’s Intelligent Power Module is a Mitsubishi PM400DV1A400. It has an 16 pin input plug P/N: 1318386-1, crimps 1123343-1 from TE. These plugs are pretty small and necessitate a thin wire gauge (c. 20-23 AWG at a guess). &lt;br /&gt;
&lt;br /&gt;
Pin numbering and colouring can be found in the Toyota wiring guide, p106 [find a link] and these connect into the 32 pin Prius Inverter plug as show in the wiki [url][[Toyota Prius Gen2 Inverter]][/url] with the exception of the modules power, ground and OVH wire (more on that below).&lt;br /&gt;
[[File:IPM wiring.jpg|thumb|Block diagram from Toyota for the Mitsubishi IPM]]&lt;br /&gt;
Block diagram shown.&lt;br /&gt;
&lt;br /&gt;
The pin numbering is shown below. Pin numbers start with pin 1 at the top, right side of the TE plug when looking at the wire entry side. So the red 12V power input is pin 8, and the orange voltage sense wire is pin 1.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Toyota colour&lt;br /&gt;
!Toyota name&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Green/Red&lt;br /&gt;
|CT&lt;br /&gt;
|Temp dependent voltage signal&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Purple&lt;br /&gt;
|VL&lt;br /&gt;
|1:100 scaled isolated voltage of orange wire&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Pink&lt;br /&gt;
|OVH&lt;br /&gt;
|IPM Enable line, 5V on, 0V off&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Blue&lt;br /&gt;
|CPWM&lt;br /&gt;
|0-100% duty cycle PWM 12V - 0V, 5kHz&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Black&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Red&lt;br /&gt;
|12V&lt;br /&gt;
|12V&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Orange&lt;br /&gt;
|?&lt;br /&gt;
|Isolated voltage sense wire&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|?&lt;br /&gt;
|OVL&lt;br /&gt;
|not known&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|white/red&lt;br /&gt;
|FCV&lt;br /&gt;
|Fault reporting line. More detail needed&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|black/red&lt;br /&gt;
|GCNV&lt;br /&gt;
|Held at ground, more detail needed&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|brown/white&lt;br /&gt;
|CSDN&lt;br /&gt;
|Shutdown line. If high, IPM shuts down. Held low.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Control is achieved as follows. To start up the boost module safely without it doing any boosting the CPWM duty cycle must be set to 0%, so 0V, the OVH line also held low, and GCNV, CSDN grounded. 12V is then applied to pin 8. &lt;br /&gt;
&lt;br /&gt;
Use a pre-charge mechanism to feed the low voltage from the pack to the DC input posts of the inverter module. This will mean the big capacitor in the inverter/controller will see pack voltage, hence the need to pre-charge before applying the main pack voltage.&lt;br /&gt;
&lt;br /&gt;
See Johannes&#039; charger videos linked below and see the main Prius wiki to make sure you understand how the IPM works with regards to the top and bottom IGBTs, because it is easy to short out the battery pack.&lt;br /&gt;
&lt;br /&gt;
Next, by increasing the CPWM duty cycle, the battery voltage can be boosted and this higher voltage can now be seen on the DC rails (shown in blue in the Buck/Boost for CCS diagram above).&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that the CPMW is set to zero when starting and to ensure this, I used a very simple circuit with two transistors as shown, because during the boot/power on of the Teensy the output pin is floating until it&#039;s explicity set low, and this circuit makes sure that it&#039;s set low from the beginning.&lt;br /&gt;
[[File:Pwm circuit hold low.png|thumb|Keeping PWM low during boot]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The idea is to boost the battery voltage to the output voltage of the charger, then allow the charger to connect to either the DC bus rails circled below in red (confirmation needed on this), OR, to two of the MG1 terminals. The latter does mean that the current will flow through the diodes on the inverter circuit, and this may not be desirable because a) it might limit the current that can be drawn and b) it means keeping the inverter circuitry even though we don&#039;t use it for this application and could perhaps discard it to save space. Either way, once the voltages are matched, the charger can be allowed to output voltage to the DC bus rails in theory without its own pre-charge circuitry but that might not be wise. Assuming the charger voltage and the boosted pack voltage are the same, no current will flow. By reducing the boosting by reducing the PWM duty cycle, current can be drawn towards the pack. The pack will see the bucked down voltage level and by controlling the amount of boosting the amount of current can also be controlled.&lt;br /&gt;
&lt;br /&gt;
Note: the above is conceptual and I have been successful using very low voltages to test charging a 12V battery from an 18V battery. Scaling this up to charging a 120V battery from a 400V EVSE is a different kettle of fish altogether, and I could use some help from the community to confirm where best to connect the EVSE HV to (see blue lines on Buck/Boost for CCS schematic above).&lt;br /&gt;
&lt;br /&gt;
== Power ==&lt;br /&gt;
It is not clear how much power we can pass through the buck/boost converter, and hence what charging speeds we could achieve, however even if it’s as low as 10kW it’s an improvement over the 6.6kW typical max charge rate for a low voltage EV conversion and importantly means CCS chargers can be used when AC chargers are not available. It’s been suggested that the maximum current the Gen 2 inverter/controller can push out through the DC lines is 100A, which would limit the charging rate to c. 12kW maximum. The IPM may be rated at up to 400A [url]https://openinverter.org/forum/viewtopic.php?t=4745&amp;lt;nowiki&amp;gt;t[/url] which may mean a higher rate is possible. More info needed.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s also possible that two (or more) of these buck/boost converters could be run in parallel with essentialy the one control code.&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;br /&gt;
&lt;br /&gt;
The MITM needs to be able to communicate with the CCS controller, and hopefully the FOCCCI and CLARA CSS projects here on OI will be suitable. I hope to establish what Clara needs for battery pack info, and its operational flow chart so I can work out the logic for the MITM and how it will interface between Clara and my BMS. Updates to follow.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
Johannes has some videos, linked below, showing AC charging using the buck/boost controller and Damien also demontrates it. These things are potentially pretty dangerous so do watch these first.&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=hkCRddO3Clc Damien&#039;s charging demonstration]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=_BDJ7N_YjAU Johannes&#039; charger]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=E62nOUprQYI&amp;amp;t=721s Johannes&#039; Lab Update #42]&lt;br /&gt;
&lt;br /&gt;
[https://www.youtube.com/watch?v=mPp13zctjfY Johannes&#039;s Lab Update #45]&lt;br /&gt;
&lt;br /&gt;
Any suggestions/ideas/corrections very welcome.&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=4530 forum discussion thread]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4447</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4447"/>
		<updated>2024-03-04T20:56:04Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: new page text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;br /&gt;
&lt;br /&gt;
==Control of the buck/boost converter==&lt;br /&gt;
&lt;br /&gt;
The buck/boost converter’s Intelligent Power Module is a Mitsubishi PM400DV1A400. It has an 16 pin input plug P/N: 1318386-1, crimps 1123343-1 from TE. These plugs are pretty small and necessitate a thin wire gauge (c. 20-23 AWG at a guess). &lt;br /&gt;
&lt;br /&gt;
Pin numbering and colouring can be found in the Toyota wiring guide, p106 [find a link] and these connect into the 32 pin Prius Inverter plug as show in the wiki [url][[Toyota Prius Gen2 Inverter]][/url] with the exception of the modules power, ground and OVH wire (more on that below).&lt;br /&gt;
[[File:IPM wiring.jpg|thumb|Block diagram from Toyota for the Mitsubishi IPM]]&lt;br /&gt;
Block diagram shown.&lt;br /&gt;
&lt;br /&gt;
The pin numbering is shown below. Pin numbers start with pin 1 at the top, right side of the TE plug when looking at the wire entry side. So the red 12V power input is pin 8, and the orange voltage sense wire is pin 1.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Toyota colour&lt;br /&gt;
!Toyota name&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Green/Red&lt;br /&gt;
|CT&lt;br /&gt;
|Temp dependent voltage signal&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Purple&lt;br /&gt;
|VL&lt;br /&gt;
|1:100 scaled isolated voltage of orange wire&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Pink&lt;br /&gt;
|OVH&lt;br /&gt;
|IPM Enable line, 5V on, 0V off&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Blue&lt;br /&gt;
|CPWM&lt;br /&gt;
|0-100% duty cycle PWM 12V - 0V, 5kHz&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Black&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Red&lt;br /&gt;
|12V&lt;br /&gt;
|12V&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Orange&lt;br /&gt;
|?&lt;br /&gt;
|Isolated voltage sense wire&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|?&lt;br /&gt;
|OVL&lt;br /&gt;
|not known&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|white/red&lt;br /&gt;
|FCV&lt;br /&gt;
|Fault reporting line. More detail needed&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|black/red&lt;br /&gt;
|GCNV&lt;br /&gt;
|Held at ground, more detail needed&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|brown/white&lt;br /&gt;
|CSDN&lt;br /&gt;
|Shutdown line. If high, IPM shuts down. Held low.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Control is achieved as follows. To start up the boost module safely without it doing any boosting the CPWM duty cycle must be set to 0%, so 0V, the OVH line also held low, and GCNV, CSDN grounded. 12V is then applied to pin 8. &lt;br /&gt;
&lt;br /&gt;
Use a pre-charge mechanism to feed the low voltage from the pack to the DC input posts of the inverter module. This will mean the big capacitor in the inverter/controller will see pack voltage, hence the need to pre-charge before applying the main pack voltage.&lt;br /&gt;
&lt;br /&gt;
See Johannes&#039; charger videos linked below and see the main Prius wiki to make sure you understand how the IPM works with regards to the top and bottom IGBTs, because it is easy to short out the battery pack.&lt;br /&gt;
&lt;br /&gt;
Next, by increasing the CPWM duty cycle, the battery voltage can be boosted and this higher voltage can now be seen on the DC rails (shown in blue in the Buck/Boost for CCS diagram above).&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that the CPMW is set to zero when starting and to ensure this, I used a very simple circuit with two transistors as shown, because during the boot/power on of the Teensy the output pin is floating until it&#039;s explicity set low, and this circuit makes sure that it&#039;s set low from the beginning.&lt;br /&gt;
[[File:Pwm circuit hold low.png|thumb|Keeping PWM low during boot]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The idea is to boost the battery voltage to the output voltage of the charger, then allow the charger to connect to either the DC bus rails circled below in red (confirmation needed on this), OR, to two of the MG1 terminals. The latter does mean that the current will flow through the diodes on the inverter circuit, and this may not be desirable because a) it might limit the current that can be drawn and b) it means keeping the inverter circuitry even though we don&#039;t use it for this application and could perhaps discard it to save space. Either way, once the voltages are matched, the charger can be allowed to output voltage to the DC bus rails in theory without its own pre-charge circuitry but that might not be wise. Assuming the charger voltage and the boosted pack voltage are the same, no current will flow. By reducing the boosting by reducing the PWM duty cycle, current can be drawn towards the pack. The pack will see the bucked down voltage level and by controlling the amount of boosting the amount of current can also be controlled.&lt;br /&gt;
&lt;br /&gt;
Note: the above is conceptual and I have been successful using very low voltages to test charging a 12V battery from an 18V battery. Scaling this up to charging a 120V battery from a 400V EVSE is a different kettle of fish altogether, and I could use some help from the community to confirm where best to connect the EVSE HV to (see blue lines on Buck/Boost for CCS schematic above).&lt;br /&gt;
&lt;br /&gt;
== Power ==&lt;br /&gt;
It is not clear how much power we can pass through the buck/boost converter, and hence what charging speeds we could achieve, however even if it’s as low as 10kW it’s an improvement over the 6.6kW typical max charge rate for a low voltage EV conversion and importantly means CCS chargers can be used when AC chargers are not available. It’s been suggested that the maximum current the Gen 2 inverter/controller can push out through the DC lines is 100A, which would limit the charging rate to c. 12kW maximum. The IPM may be rated at up to 400A [url]https://openinverter.org/forum/viewtopic.php?t=4745&amp;lt;nowiki&amp;gt;t[/url] which may mean a higher rate is possible. More info needed.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s also possible that two (or more) of these buck/boost converters could be run in parallel with essentialy the one control code.&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;br /&gt;
&lt;br /&gt;
The MITM needs to be able to communicate with the CCS controller, and hopefully the FOCCCI and CLARA CSS projects here on OI will be suitable. I hope to establish what Clara needs for battery pack info, and its operational flow chart so I can work out the logic for the MITM and how it will interface between Clara and my BMS. Updates to follow.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4446</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4446"/>
		<updated>2024-03-04T20:53:51Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: new page text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;br /&gt;
&lt;br /&gt;
==Control of the buck/boost converter==&lt;br /&gt;
&lt;br /&gt;
The buck/boost converter’s Intelligent Power Module is a Mitsubishi PM400DV1A400. It has an 16 pin input plug P/N: 1318386-1, crimps 1123343-1 from TE. These plugs are pretty small and necessitate a thin wire gauge (c. 20-23 AWG at a guess). &lt;br /&gt;
&lt;br /&gt;
Pin numbering and colouring can be found in the Toyota wiring guide, p106 [find a link] and these connect into the 32 pin Prius Inverter plug as show in the wiki [url][[Toyota Prius Gen2 Inverter]][/url] with the exception of the modules power, ground and OVH wire (more on that below).&lt;br /&gt;
[[File:IPM wiring.jpg|thumb|Block diagram from Toyota for the Mitsubishi IPM]]&lt;br /&gt;
Block diagram shown.&lt;br /&gt;
&lt;br /&gt;
The pin numbering is shown below. Pin numbers start with pin 1 at the top, right side of the TE plug when looking at the wire entry side. So the red 12V power input is pin 8, and the orange voltage sense wire is pin 1.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Toyota colour&lt;br /&gt;
!Toyota name&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Green/Red&lt;br /&gt;
|CT&lt;br /&gt;
|Temp dependent voltage signal&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Purple&lt;br /&gt;
|VL&lt;br /&gt;
|1:100 scaled isolated voltage of orange wire&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Pink&lt;br /&gt;
|OVH&lt;br /&gt;
|IPM Enable line, 5V on, 0V off&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Blue&lt;br /&gt;
|CPWM&lt;br /&gt;
|0-100% duty cycle PWM 12V - 0V, 5kHz&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Black&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Red&lt;br /&gt;
|12V&lt;br /&gt;
|12V&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Orange&lt;br /&gt;
|?&lt;br /&gt;
|Isolated voltage sense wire&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|?&lt;br /&gt;
|OVL&lt;br /&gt;
|not known&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|white/red&lt;br /&gt;
|FCV&lt;br /&gt;
|Fault reporting line. More detail needed&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|black/red&lt;br /&gt;
|GCNV&lt;br /&gt;
|Held at ground, more detail needed&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|brown/white&lt;br /&gt;
|CSDN&lt;br /&gt;
|Shutdown line. If high, IPM shuts down. Held low.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Control is achieved as follows. To start up the boost module safely without it doing any boosting the CPWM duty cycle must be set to 0%, so 0V, the OVH line also held low, and GCNV, CSDN grounded. 12V is then applied to pin 8. &lt;br /&gt;
&lt;br /&gt;
Use a pre-charge mechanism to feed the low voltage from the pack to the DC input posts of the inverter module. This will mean the big capacitor in the inverter/controller will see pack voltage, hence the need to pre-charge before applying the main pack voltage.&lt;br /&gt;
&lt;br /&gt;
See Johannes&#039; charger videos linked below and see the main Prius wiki to make sure you understand how the IPM works with regards to the top and bottom IGBTs, because it is easy to short out the battery pack.&lt;br /&gt;
&lt;br /&gt;
Next, by increasing the CPWM duty cycle, the battery voltage can be boosted and this higher voltage can now be seen on the DC rails (shown in blue in the Buck/Boost for CCS diagram above).&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that the CPMW is set to zero when starting and to ensure this, I used a very simple circuit with two transistors as shown, because during the boot/power on of the Teensy the output pin is floating until it&#039;s explicity set low, and this circuit makes sure that it&#039;s set low from the beginning.&lt;br /&gt;
[[File:Pwm circuit hold low.png|thumb|Keeping PWM low during boot]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The idea is to boost the battery voltage to the output voltage of the charger, then allow the charger to connect to either the DC bus rails circled below in red (confirmation needed on this), OR, to two of the MG1 terminals. The latter does mean that the current will flow through the diodes on the inverter circuit, and this may not be desirable because a) it might limit the current that can be drawn and b) it means keeping the inverter circuitry even though we don&#039;t use it for this application and could perhaps discard it to save space. Either way, once the voltages are matched, the charger can be allowed to output voltage to the DC bus rails in theory without its own pre-charge circuitry but that might not be wise. Assuming the charger voltage and the boosted pack voltage are the same, no current will flow. By reducing the boosting by reducing the PWM duty cycle, current can be drawn towards the pack. The pack will see the bucked down voltage level and by controlling the amount of boosting the amount of current can also be controlled.&lt;br /&gt;
&lt;br /&gt;
Note: the above is conceptual and I have been successful using very low voltages to test charging a 12V battery from an 18V battery. Scaling this up to charging a 120V battery from a 400V EVSE is a different kettle of fish altogether, and I could use some help from the community to confirm where best to connect the EVSE HV to (see blue lines on Buck/Boost for CCS schematic above).&lt;br /&gt;
&lt;br /&gt;
== Power ==&lt;br /&gt;
It is not clear how much power we can pass through the buck/boost converter, and hence what charging speeds we could achieve, however even if it’s as low as 10kW it’s an improvement over the 6.6kW typical max charge rate for a low voltage EV conversion and importantly means CCS chargers can be used when AC chargers are not available. It’s been suggested that the maximum current the Gen 2 inverter/controller can push out through the DC lines is 100A, which would limit the charging rate to c. 12kW maximum. The IPM may be rated at up to 400A [url]https://openinverter.org/forum/viewtopic.php?t=4745&amp;lt;nowiki&amp;gt;t[/url] which may mean a higher rate is possible. More info needed.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s also possible that two (or more) of these buck/boost converters could be run in parallel with essentialy the one control code.&lt;br /&gt;
&lt;br /&gt;
== Next Steps ==&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4445</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4445"/>
		<updated>2024-03-04T20:46:38Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: new page text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;br /&gt;
&lt;br /&gt;
==Control of the buck/boost converter==&lt;br /&gt;
&lt;br /&gt;
The buck/boost converter’s Intelligent Power Module is a Mitsubishi PM400DV1A400. It has an 16 pin input plug P/N: 1318386-1, crimps 1123343-1 from TE. These plugs are pretty small and necessitate a thin wire gauge (c. 20-23 AWG at a guess). &lt;br /&gt;
&lt;br /&gt;
Pin numbering and colouring can be found in the Toyota wiring guide, p106 [find a link] and these connect into the 32 pin Prius Inverter plug as show in the wiki [url][[Toyota Prius Gen2 Inverter]][/url] with the exception of the modules power, ground and OVH wire (more on that below).&lt;br /&gt;
[[File:IPM wiring.jpg|thumb|Block diagram from Toyota for the Mitsubishi IPM]]&lt;br /&gt;
Block diagram shown.&lt;br /&gt;
&lt;br /&gt;
The pin numbering is shown below. Pin numbers start with pin 1 at the top, right side of the TE plug when looking at the wire entry side. So the red 12V power input is pin 8, and the orange voltage sense wire is pin 1.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin&lt;br /&gt;
!Toyota colour&lt;br /&gt;
!Toyota name&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Green/Red&lt;br /&gt;
|CT&lt;br /&gt;
|Temp dependent voltage signal&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Purple&lt;br /&gt;
|VL&lt;br /&gt;
|1:100 scaled isolated voltage of orange wire&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Pink&lt;br /&gt;
|OVH&lt;br /&gt;
|IPM Enable line, 5V on, 0V off&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Blue&lt;br /&gt;
|CPWM&lt;br /&gt;
|0-100% duty cycle PWM 12V - 0V, 5kHz&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Black&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Red&lt;br /&gt;
|12V&lt;br /&gt;
|12V&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Orange&lt;br /&gt;
|?&lt;br /&gt;
|Isolated voltage sense wire&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|?&lt;br /&gt;
|OVL&lt;br /&gt;
|not known&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|white/red&lt;br /&gt;
|FCV&lt;br /&gt;
|Fault reporting line. More detail needed&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|black/red&lt;br /&gt;
|GCNV&lt;br /&gt;
|Held at ground, more detail needed&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|brown/white&lt;br /&gt;
|CSDN&lt;br /&gt;
|Shutdown line. If high, IPM shuts down. Held low.&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
Control is achieved as follows. To start up the boost module safely without it doing any boosting the CPWM duty cycle must be set to 0%, so 0V, the OVH line also held low, and GCNV, CSDN grounded. 12V is then applied to pin 8. &lt;br /&gt;
&lt;br /&gt;
Use a pre-charge mechanism to feed the low voltage from the pack to the DC input posts of the inverter module. This will mean the big capacitor in the inverter/controller will see pack voltage, hence the need to pre-charge before applying the main pack voltage.&lt;br /&gt;
&lt;br /&gt;
See Johannes&#039; charger videos linked below and see the main Prius wiki to make sure you understand how the IPM works with regards to the top and bottom IGBTs, because it is easy to short out the battery pack.&lt;br /&gt;
&lt;br /&gt;
Next, by increasing the CPWM duty cycle, the battery voltage can be boosted and this higher voltage can now be seen on the DC rails (shown in blue in the Buck/Boost for CCS diagram above).&lt;br /&gt;
&lt;br /&gt;
It&#039;s important that the CPMW is set to zero when starting and to ensure this, I used a very simple circuit with two transistors as shown, because during the boot/power on of the Teensy the output pin is floating until it&#039;s explicity set low, and this circuit makes sure that it&#039;s set low from the beginning.&lt;br /&gt;
[[File:Pwm circuit hold low.png|thumb|Keeping PWM low during boot]]&lt;br /&gt;
&lt;br /&gt;
=== Charging ===&lt;br /&gt;
The idea is to boost the battery voltage to the output voltage of the charger, then allow the charger to connect to either the DC bus rails circled below in red (confirmation needed on this), OR, to two of the MG1 terminals. The latter does mean that the current will flow through the diodes on the inverter circuit, and this may not be desirable because a) it might limit the current that can be drawn and b) it means keeping the inverter circuitry even though we don&#039;t use it for this application and could perhaps discard it to save space. Either way, once the voltages are matched, the charger can be allowed to output voltage to the DC bus rails in theory without its own pre-charge circuitry but that might not be wise. Assuming the charger voltage and the boosted pack voltage are the same, no current will flow. By reducing the boosting by reducing the PWM duty cycle, current can be drawn towards the pack. The pack will see the bucked down voltage level and by controlling the amount of boosting the amount of current can also be controlled.&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Pwm_circuit_hold_low.png&amp;diff=4444</id>
		<title>File:Pwm circuit hold low.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Pwm_circuit_hold_low.png&amp;diff=4444"/>
		<updated>2024-03-04T20:37:01Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Basic example for holding PWM low at boot up&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:IPM_wiring.jpg&amp;diff=4443</id>
		<title>File:IPM wiring.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:IPM_wiring.jpg&amp;diff=4443"/>
		<updated>2024-03-04T20:13:57Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;block diagram of the buck/boost wiring&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4442</id>
		<title>Operating the buck/boost converter for a low voltage CCS charging application</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Operating_the_buck/boost_converter_for_a_low_voltage_CCS_charging_application&amp;diff=4442"/>
		<updated>2024-03-04T20:09:37Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: new page text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The aim of this project is to enable ‘low’ voltage battery packs (c. 120V) to be charged using CCS chargers, which will not operate below 200V and more typically operate around 400V.&lt;br /&gt;
&lt;br /&gt;
The plan is to use the Buck/Boost converter found in the Gen 2 Prius inverter/converter module which the Prius uses to boost battery voltage to c. 400V to power the car’s motors, and to buck that voltage back down to pack voltage of c. 200V when in regen mode.&lt;br /&gt;
&lt;br /&gt;
In this project, the plan is to boost the battery pack voltage to c. 400V, connect to the EVSE charger using a CCS controller, and then reduce the voltage boosting in order to draw current from the EVSE and charge the car’s battery pack.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 1 is to demonstrate control of the Prius buck/boost converter. &lt;br /&gt;
&lt;br /&gt;
Step 2 is to implement a ‘man in the middle’ solution, which will:&lt;br /&gt;
&lt;br /&gt;
* Control the buck/boost converter;&lt;br /&gt;
* Control any battery-side contactors;&lt;br /&gt;
* Receive charging requirements and restrictions from the BMS via CAN;&lt;br /&gt;
* Translate these low-volage requirements into higher voltage requirements for the CCS controller to pass to the EVSE.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
A schematic of the buck/boost converter and the inverter is below, with the converter boxed in red.&lt;br /&gt;
&lt;br /&gt;
If the inverter stage were to be bypassed, as shown in blue, the boosted battery voltage could match that output from a CCS charger and in theory at least allow for a sub 200V pack to be charged.&lt;br /&gt;
[[File:Clanger boost idea.png|thumb|Buck boost for CCS]]&lt;br /&gt;
A man-in-the-middle board will interface with the car&#039;s BMS and accept the low-voltage charging requirements and restrictions, and translate these into high voltage requirements and restrictions and pass this onto whatever CCS controller we end up using. The BMS will never &#039;know&#039; it&#039;s taking in high voltage as it will only see the pack voltage levels that the buck/booster reduces the EVSE level to, and the EVSE will not &#039;know&#039; its charging a sub 200V pack, since it sees c. 400V and is instructed to provide said volage by the CCS controller. I hope to use FOCCCI and CLARA for the CCS controller and at present the MITM board for controlling pre-charging and the buck/boost controller is a simple Teensy 4.1.&lt;br /&gt;
[[File:Prius Gen2 inverter schematic.gif|thumb|Buck-Boost converter]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Clanger_boost_idea.png&amp;diff=4441</id>
		<title>File:Clanger boost idea.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Clanger_boost_idea.png&amp;diff=4441"/>
		<updated>2024-03-04T20:02:55Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Boosted HV output / EVSE input&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Prius_Gen2_inverter_schematic.gif&amp;diff=4440</id>
		<title>File:Prius Gen2 inverter schematic.gif</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Prius_Gen2_inverter_schematic.gif&amp;diff=4440"/>
		<updated>2024-03-04T19:59:35Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;buck-boost&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter&amp;diff=4439</id>
		<title>Toyota Prius Gen2 Inverter</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter&amp;diff=4439"/>
		<updated>2024-03-04T19:51:38Z</updated>

		<summary type="html">&lt;p&gt;MoonUnit: /* Boost Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Gen 2 inverter montage.jpg|alt=|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 inverter internals.jpg|alt=|thumb|Internal look at the Prius Gen2 Inverter]]&lt;br /&gt;
[[File:Prius Gen 2 Layout.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Priuses have been made in large numbers for 20 years and spares are inexpensive.&lt;br /&gt;
* High affordability. Prius inverters are available for around $150 from scrapyards everywhere.&lt;br /&gt;
* Durability. Toyota engineers appear to have made the inverters foolproof, many inputs and outputs gracefully handle fault conditions.&lt;br /&gt;
* Respectable performance. Rated for 50kW output, but tested to handle 600v, and [https://www.youtube.com/watch?v=y6mlXahM9B0 350+A for MG2 inverter, 250+A for MG1 inverter], 360kW total (480hp)&lt;br /&gt;
* Ease of re-purposing. Emulating the original ECU seems reasonably feasible.&lt;br /&gt;
&lt;br /&gt;
The Gen2 Prius (2004-2009 model years) has a variety of useful components inside the inverter package:&lt;br /&gt;
* 2 high power inverters, for the 2 motors MG1 (starter) capable of handling 250 amps, and MG2 (drive motor) capable of handling 350 amps.&lt;br /&gt;
* A DC-DC converter to provide 12v and up to 100amps power supply to the automotive systems and accessories.&lt;br /&gt;
* A tertiary power inverter to run the A/C, CAN controlled via the &amp;quot;BEAN&amp;quot; (????) network&lt;br /&gt;
* A boost module to boost the 200v battery pack up to 500v, which looks to be able to function as a battery charger (wish list for future development)&lt;br /&gt;
* See this video for a thorough disassembly and explanation of the Gen2 Inverter (Timestamp 1:15:30): https://www.youtube.com/watch?v=Y7Vm-C4MsW8&amp;amp;t=4531&lt;br /&gt;
* See this video for a more brief explanation of the above noted disassembled Gen2 HV System Operation: https://www.youtube.com/watch?v=UxuqHcUbSQ0&lt;br /&gt;
&lt;br /&gt;
Note that there is also a [[Toyota_Prius_Gen3_Board]] for the 2010-2015 model years.&lt;br /&gt;
&lt;br /&gt;
== Replacement Controllers ==&lt;br /&gt;
&lt;br /&gt;
Re-purposing a Prius Gen2 Inverter outside of a Prius is done simply with add-on controllers that replace the vehicle&#039;s wiring harness and ECU.&lt;br /&gt;
&lt;br /&gt;
* [[Toyota Prius Gen2 EVBMW Throughhole Board]] - Details on the now-deprecated EVBMW &amp;quot;Blue Pill&amp;quot;-based easy-to-solder controller board, diagrams, instructions, pinouts, etc. Don&#039;t use this.&lt;br /&gt;
* [[Toyota Prius Gen2 Inverter Controller]] - Details on the newer OpenInverter controller board and kits to repurpose the Gen 2 Prius inverter. Use this.&lt;br /&gt;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
&lt;br /&gt;
Note: Wire colors on the male/female side of the 32-pin &amp;quot;i10&amp;quot; connector do not match. The inverter-side plug uses an almost unique color scheme, but the wiring harness side reuses many colors - unique only to a given shielded cable (of which there are 5), plus some extra unbundled wires. To save time chasing wires, you can find anything in the same bundle, and know the rest by noting which other colors are in that cable. There are also a few loose wires not bundled into a cable or shielded.&lt;br /&gt;
&lt;br /&gt;
Note 2: The 12v supply rail for the &amp;quot;i9&amp;quot; connector also changes color at the wiring harness. The thicker blue loose wire is positive, the thick loose white-black wire is the ground.&lt;br /&gt;
&lt;br /&gt;
Note 3: There is also an enclosure safety connector, this is the thin blue loose wire on the wiring harness.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Prius_Inverter_-_Pin_Numbering_2.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_3.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_2.jpg|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_5.jpg|thumb|500x500px|32-pin Prius Harness Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_4.jpg|thumb|500x500px|32-pin Prius Harness Pin Numbering]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_6.jpg|thumb|500x500px|32-pin Prius Inverter Colors]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_7.jpg|thumb|500x500px|32-pin Prius Inverter Harness Connections]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_8.jpg|thumb|500x500px|32-pin Prius Inverter i9 12v DC]]&lt;br /&gt;
[[File:Prius_Inverter_Wire_Colors_9.jpg|thumb|500x500px|32-pin Prius Inverter Harness Cables]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Pin # !! Designation !! Description!!Wire Color&lt;br /&gt;
(Inverter Side)&lt;br /&gt;
&lt;br /&gt;
(See pictures to the right)&lt;br /&gt;
!Wire Color&lt;br /&gt;
(Harness Side)&lt;br /&gt;
|-&lt;br /&gt;
|1||||vacant||&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V||LightGreen&lt;br /&gt;
|White - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LightGreen-Black&lt;br /&gt;
|Green - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed Signal Wave|| Blue-Yellow&lt;br /&gt;
|White - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|14|| CT ||Boost converter temperature sensor||Green-Red&lt;br /&gt;
|Red - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W||Grey&lt;br /&gt;
|Red - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green - Cable 1&lt;br /&gt;
|-&lt;br /&gt;
|20|| GSDN ||MG1 Shutdown||Brown-Black&lt;br /&gt;
|Red - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White - Cable 2&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail||White-Grey&lt;br /&gt;
|Grey&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W||Grey-Green&lt;br /&gt;
|Red - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black - Cable 3&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue - Cable 4&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail||White&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage||Pink&lt;br /&gt;
|Brown&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal||Brown-White&lt;br /&gt;
|White - Cable 5&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal||White-Red&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal||Pink-Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground||Black-Red&lt;br /&gt;
|Green - Cable 5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
(Article continues below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
[[File:Toyota gen2 dimension.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C 5 Connector Pinout.png|alt=|thumb|DC-DC converter &amp;quot;C 5&amp;quot; connector]]&lt;br /&gt;
The onboard DC-DC Converter is powered by the high voltage traction battery to supply 12v and up to 100A for low-voltage automotive components and 12 battery maintenance, equivalent to an alternator  or generator. Direct control of the converter is simple, only one 12v wire connected to Pin#1 of connector &amp;quot;C5&amp;quot; is necessary to activate it, but a second input can be added at Pin#4, to enhance control.&lt;br /&gt;
&lt;br /&gt;
All 6-pin connectors are Yazaki 7283-7062-40, including the resolver connections on the transaxle.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector terminal positions and harness-side colors:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Pin # !! Designation !! Description !! Wire Color&lt;br /&gt;
|-&lt;br /&gt;
|1||IGCT|| 12v+ || Blue&lt;br /&gt;
|-&lt;br /&gt;
|2||ID1|| Not Needed || Purple&lt;br /&gt;
|-&lt;br /&gt;
|3||S||B+ (opt)|| White&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Ppl/Gld&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO||Not Needed||Blue&lt;br /&gt;
|-&lt;br /&gt;
|6|||| ||Vacant&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal), just as an alternator or generator would be.&lt;br /&gt;
&lt;br /&gt;
With the HV bus energized and switched 12v applied to Pin#1 of &amp;quot;C5&amp;quot;, the DC-DC will produce 13.2-15.2 Vdc on the large C6 single-conductor connector nearby, which is equivalent to a 12v alternator/generator positive terminal.  Depending on voltage applied to pin 4 (if used), output can be tailored; when grounded, it will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero. No base load is required to produce voltage.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;u&amp;gt;Note:&amp;lt;/u&amp;gt;&#039;&#039;&#039; The output at C6 (large grey connector) is not internally fused and not disabled unless power to Pin#1 of C5 is off, or Pin#4 is grounded, but the DC-DC converter can only produce output when the HV bus is energized.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - The DC-DC system is not designed to charge up a low 12v battery and certainly not one that&#039;s completely dead, doing so can damage the inverter/converter.  Pin#1 can be tied directly to the same ignition switch signal as the control board receives as this circuit draws only about 6.3mA.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br clear=all&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Buck/Boost Converter ==&lt;br /&gt;
&lt;br /&gt;
The inverter also has an onboard buck/boost converter that - when needed - can boost the ~200v battery pack up to 600v to send to the motors, and buck down high voltage generated by the motors in regen mode to recharge the batteries. See &#039;Charging&#039; section below for how the buck/boost converter has been used for AC charging. See link below for another method of controlling the buck/boost converter.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Main Article:&#039;&#039; [[Operating the buck/boost converter for a low voltage CCS charging application|Prius Gen2 Boost Converter]]&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
The inverter is liquid cooled, coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the Hybrid Synergy Drive (HSD) cooling system reservoir.  Some type of circulating pump and radiator are needed to use Toyota inverters, many compact options are available.&lt;br /&gt;
&lt;br /&gt;
== Wiring ==&lt;br /&gt;
Details on connectors and terminals have been posted on the IH8MUD website: https://www.ih8mud.com/tech/WireHarnessRepairParts.php  &lt;br /&gt;
&lt;br /&gt;
Alternatively, the Toyota wire repair book can be found here: https://www.toyota-tech.eu/wire_harness_rm/RM06H0E.pdf&lt;br /&gt;
&lt;br /&gt;
Please use either or both of the above to identify the connector and terminal numbers needed for your project.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Connector&lt;br /&gt;
!Male&lt;br /&gt;
!Female&lt;br /&gt;
|-&lt;br /&gt;
|C5&lt;br /&gt;
|90980-10988&lt;br /&gt;
|90980-10987&lt;br /&gt;
|-&lt;br /&gt;
|B+ (DC-DC output)&lt;br /&gt;
|&lt;br /&gt;
|90980-11963&lt;br /&gt;
|-&lt;br /&gt;
|32-pin connector&lt;br /&gt;
|&lt;br /&gt;
|TE 1318747-1 (&amp;amp; 1123343-1 for pins)&lt;br /&gt;
|-&lt;br /&gt;
|28-pin connector (on inverter logic board)&lt;br /&gt;
|&lt;br /&gt;
|TE 1565380-1 (&amp;amp; 1123343-1 for pins)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Charging ==&lt;br /&gt;
The gen 2 can only charge in buck mode. So maximum charge voltage is limited to the rectified AC input. E.G. From a 230 VAC source the inverter can only charge up to around 320VDC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Relevant Parameters&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Charge mode:Buck&lt;br /&gt;
&lt;br /&gt;
Chargecur: 1.5&lt;br /&gt;
&lt;br /&gt;
Chargekp 20&lt;br /&gt;
&lt;br /&gt;
Chargeki: 10&lt;br /&gt;
&lt;br /&gt;
Chargeflt 2 dig&lt;br /&gt;
&lt;br /&gt;
Charge pwmmin: 10	(Change this to get equivalent to min battery voltage.)&lt;br /&gt;
&lt;br /&gt;
udcswbuck: x (HV bus voltage at which point Ground signal is used to control AC and HV battery relays)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Relevant Pins&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* CSDN (pin 29 on inverter) &lt;br /&gt;
** Shuts down high and low IGBTs when fed 12v, via 470R&lt;br /&gt;
** When CSDN is HIGH both IGBTs are OFF.&lt;br /&gt;
* CPWM(pin 31 on control board, 13 on inverter)&lt;br /&gt;
** Enables charge mode when fed 12v via 470R&lt;br /&gt;
** When CPWM is HIGH, the LOW side IGBT is on(shorts out battery), when CPWM is LOW the HIGH side IGBT is on.&lt;br /&gt;
* Forward and reverse (11 and 12 on control board)&lt;br /&gt;
** Both must be high to enable charging&lt;br /&gt;
* DCSW switch(15 in control board)&lt;br /&gt;
** Controls DC relay switch.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Physical setup&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* 240v AC plugs into two MG1 phases, with a precharge resistor always on.&lt;br /&gt;
** Relay controlled by DCSW pin connected to ground side of relay signal wires.&lt;br /&gt;
* HV Battery connected with precharge resistor&lt;br /&gt;
** Relay controlled from DCSW pin connect to ground side of relay wires.&lt;br /&gt;
* CPWM to 12v via 470R resistor. Pulled high to when you want to charge&lt;br /&gt;
* CSDN pin to 12v via 470R resistor. Pulled high to when you want to charge&lt;br /&gt;
** CSDN pin also tied to DCSW signal pin, which pulls it down when precharge is complete.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Process&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Fwd and reverse signals high, relays open&lt;br /&gt;
# CPWM and CSDN pulled high via 470R .&lt;br /&gt;
# Connect AC input voltage with precharge&lt;br /&gt;
## DCSW will then close relays and pull down CSDN pin to activate charging.&lt;br /&gt;
# Activate buck on charger. (By manual web interface or does just having FWD and Reverse high activate this?&lt;br /&gt;
# To stop, can change chargecur to 0 or switch off inverter power.&lt;br /&gt;
&lt;br /&gt;
== Offgrid AC Use ==&lt;br /&gt;
&lt;br /&gt;
There has been moderate success using the Prius Gen 2 inverter to generate AC outlet voltages for offgrid use.&lt;br /&gt;
&lt;br /&gt;
See: https://openinverter.org/forum/viewtopic.php?p=22886&lt;br /&gt;
&lt;br /&gt;
See: https://github.com/jsphuebner/stm32-island&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
https://www.youtube.com/watch?v=Xl87abBl9-A - Physical destructive teardown of the Gen2 inverter.&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Toyota]] [[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>MoonUnit</name></author>
	</entry>
</feed>