<?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=JeremyMakesThings</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=JeremyMakesThings"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/JeremyMakesThings"/>
	<updated>2026-04-29T04:26:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter&amp;diff=6059</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=6059"/>
		<updated>2026-02-19T14:42:37Z</updated>

		<summary type="html">&lt;p&gt;JeremyMakesThings: Added part number for ACinverter 6 pin logic connection&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;
== A/C Inverter ==&lt;br /&gt;
The onboard A/C inverter is powered by the high voltage traction battery to supply 3 phase power to the A/C pump. It&#039;s controlled by a propriety SPI like 12v interface. &lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;I11&amp;quot; connector (Yazaki PN: 7283-7064-40) terminal positions and inverter side colours:&lt;br /&gt;
[[File:Prius Gen2 A-C inverter control.gif|thumb]]&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||GND|| GND || Black/White&lt;br /&gt;
|-&lt;br /&gt;
|2||TOECU(ITE)|| Data from inverter || Green/White&lt;br /&gt;
|-&lt;br /&gt;
|3||TOINV(ETI)||Data to inverter|| Yellow/White&lt;br /&gt;
|-&lt;br /&gt;
|4||CLK|| serial clock ||Brown/White&lt;br /&gt;
|-&lt;br /&gt;
|5||STB||chip select||Blue/White&lt;br /&gt;
|-&lt;br /&gt;
|6||IG|| 12v+||Red/White&lt;br /&gt;
|}&lt;br /&gt;
The CLK and ITE signals comes alive when supplying12V to IG and &amp;gt;40V to the main DC Power supply inlet and pull-up/pull-down connected to them(CLK and ITE).   For the inverter to start you need higher voltage &amp;gt;200V to main DC Power supply inlet, STB to GND and send appropriate 10 byte messages to the inverter on ETI.  For more information, logs, how to connect and example code to control See https://github.com/hakanrolsson/Prius-Gen2-A-C-compressor-inverter &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;
[[Category:Toyota]] [[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>JeremyMakesThings</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter_Controller&amp;diff=5958</id>
		<title>Toyota Prius Gen2 Inverter Controller</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Inverter_Controller&amp;diff=5958"/>
		<updated>2025-11-21T15:29:41Z</updated>

		<summary type="html">&lt;p&gt;JeremyMakesThings: Edited CPWM instructions reguarding pull up resistor&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The OpenInverter Prius Gen 2 Inverter Controller is an open-source board designed to repurpose the [[Toyota Prius Gen2 Inverter]] by replacing the essential components of the Prius wiring harness and electronics. It runs the OpenInverter.org software for vehicle control. It derives from the (now-deprecated) earlier Prius Gen 2 work done by Damien Maguire of EVBMW.com and is Damien&#039;s recommended replacement for the [[Toyota Prius Gen2 EVBMW Throughhole Board]].&lt;br /&gt;
&lt;br /&gt;
== Purchase ==&lt;br /&gt;
&lt;br /&gt;
2 versions are available, one mostly-assembled kit with all connectors and an enclosure, and a less expensive incomplete barebones kit:&lt;br /&gt;
&lt;br /&gt;
Full kit: https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=63&lt;br /&gt;
&lt;br /&gt;
PCB-only kit: https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=68&lt;br /&gt;
&lt;br /&gt;
== Project ==&lt;br /&gt;
&lt;br /&gt;
(Note: Links to Github/etc design files here?)&lt;br /&gt;
&lt;br /&gt;
== Hardware Notes ==&lt;br /&gt;
&lt;br /&gt;
(Note: this section is pretty sloppy, if you&#039;re looking to contribute, this would be a nice area to start)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enclosure Details&#039;&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+The SMD board was designed to work the the following enclosure and connectors:&lt;br /&gt;
!Description&lt;br /&gt;
!Part Number&lt;br /&gt;
!Data Sheet&lt;br /&gt;
|-&lt;br /&gt;
|Cinch Header 12 + 20 &lt;br /&gt;
|5810132011&lt;br /&gt;
|https://www.mouser.co.uk/datasheet/2/643/Bel_07192016_Modice%20ME-MX-1216545.pdf&lt;br /&gt;
|-&lt;br /&gt;
|Modice Enclosure &lt;br /&gt;
|5810130075&lt;br /&gt;
|https://www.mouser.co.uk/datasheet/2/643/dr-CCS-ICE-5810130065-75-1551287.pdf&lt;br /&gt;
|-&lt;br /&gt;
|Molex 12-Pin Connector&lt;br /&gt;
|0334721202&lt;br /&gt;
|https://www.mouser.co.uk/datasheet/2/276/0334721202_CRIMP_HOUSINGS-162938.pdf&lt;br /&gt;
|-&lt;br /&gt;
|Molex 20-Pin Connector&lt;br /&gt;
|0334722001&lt;br /&gt;
|https://www.mouser.co.uk/datasheet/2/276/0334722001_CRIMP_HOUSINGS-162940.pdf&lt;br /&gt;
|-&lt;br /&gt;
|WIFI Module&lt;br /&gt;
|MOD-WIFI-ESP8266&lt;br /&gt;
|https://www.ebay.co.uk/itm/194313893813?epid=2280174677&amp;amp;hash=item2d3e02b7b5:g:v-MAAOSw4ulhJ1wg&lt;br /&gt;
|-&lt;br /&gt;
|WIFI Pins&lt;br /&gt;
|10-way IDC Box Header Connector&lt;br /&gt;
|https://www.ebay.co.uk/itm/153727472406&lt;br /&gt;
|}&lt;br /&gt;
Pin Mapping - Note : Smaller 12-pin socket is the interface to the inverter &amp;amp; 20-pin to the motor&lt;br /&gt;
[[File:32 Pin Main Inverter connector .png|thumb|32 Pin Main white connector Gen 2 Inverter emplacement]]&lt;br /&gt;
&#039;&#039;&#039;20 - Pin socket&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pin#01 - ENC_B/S3&lt;br /&gt;
&lt;br /&gt;
Pin#02 - S1S4&lt;br /&gt;
&lt;br /&gt;
Pin#03 - ENC_A/S2&lt;br /&gt;
&lt;br /&gt;
Pin#04 - R1&lt;br /&gt;
&lt;br /&gt;
Pin#05 - R2&lt;br /&gt;
&lt;br /&gt;
Pin#06 - 5V&lt;br /&gt;
&lt;br /&gt;
Pin#07 - THROTTLE 1&lt;br /&gt;
&lt;br /&gt;
Pin#08 - THROTTLE 2&lt;br /&gt;
[[File:VCU to Prius Gen2 v1.1.png|alt=|thumb|VCU to Prius Gen2 wiring v1.1]]&lt;br /&gt;
Pin#09 - START_IN (12V) &#039;&#039;&#039;Push button type switch - not a permanent 12v input&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V) &#039;&#039;&#039;Push button type switch - not a permanent 12v input&#039;&#039;&#039;&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) &#039;&#039;&#039;(1, 2 or 3 way switch) Do not connect permanently - selected AFTER START&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  &#039;&#039;&#039;(1, 2 or 3 way switch) Do not connect permanently - selected AFTER START&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pin#13 - Motor Temp -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - Motor Temp +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DC (HV) Switch Control (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - Pre-ChARGE Control (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#17 -  CAN L&lt;br /&gt;
&lt;br /&gt;
Pin#18 - CAN H&lt;br /&gt;
&lt;br /&gt;
Pin#19 - Ground&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V &amp;quot;Ignition&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;12 - Pin socket ( starts at pin number #21) - Corresponding pin on Main White 32 pin Inverter connector is in brackets.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pin#21 - GIVA (2)&lt;br /&gt;
&lt;br /&gt;
Pin#22 - MIVA (7)&lt;br /&gt;
&lt;br /&gt;
Pin#23 - GIWA (18)&lt;br /&gt;
&lt;br /&gt;
Pin#24 - MIWA (23)&lt;br /&gt;
&lt;br /&gt;
Pin#25 - VH (12)&lt;br /&gt;
&lt;br /&gt;
Pin#26 - MIVT (26)&lt;br /&gt;
&lt;br /&gt;
Pin#27 - MFIV (27)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin#28 - MUU (9)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin#29 - MVU (10)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin#30 - MWU (11)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pin#31 - CPWM (13)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Pin#32 - GINV/GCNV (16/32)&lt;br /&gt;
&lt;br /&gt;
Connect MSDN Pin#25 in inverter (not 25 on controller) permanently to 12V to enable the MG2 Inverter (can be tied to same 12v source as &amp;quot;I9&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor to enable the Buck/Boost convert if using the DC/DC converter or charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (&amp;quot;I9&amp;quot;) inside inverter to 12V and Ground to power up inverter electronics.&lt;br /&gt;
&lt;br /&gt;
Make sure to connect Pin #32 and #16 GINV/GCNV to vehicle ground.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Initial Set up&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039; : Solder relevant (and included) connector pins to the Adapter Board&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039; : Plug in Wifi Adapter  and connect ONLY Pin#19 - GROUND and Pin#20 - 12 Volts power supply&lt;br /&gt;
&lt;br /&gt;
Confirm PWR LED lights up along with WIFI LED. Confirm ALIVE LED flashes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039; : Connect computer/laptop to the wifi network (Example - Inverter 7)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039; : Go to browser toolbar and type in 192.168.4.1 + Enter. (allow pop ups/Trusted site). Confirm Web based Interface appears and list of parameters appear.&lt;br /&gt;
&lt;br /&gt;
If parameters appear, you are now connected to the Adapter board and the Web based Interface - Congratulations -  You are now in the Matrix !&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039; : Wire up &#039;&#039;&#039;12 Pin SMD&#039;&#039;&#039; board connector to corresponding &#039;&#039;&#039;32 Pin Inverter&#039;&#039;&#039; connector, permanent 12 volt supply to Pin #25 (MSDN) of Inverter, and 12V and Ground to 2-pole Inverter connector (next to main 32 pin white connector)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039; : Connect fused 12 volt and Ground  to HV Inputs (battery), along with 55 watt light bulb in series (resistor) on the Positive line&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 7&#039;&#039;&#039; : Connect fused 12 volt power supply for SMD board , Pin #25, and Inverter 2-pole connector - You are now set up for basic Open Loop motor spinning!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 8&#039;&#039;&#039; : Connect 21 watt light bulbs in Delta connection to the 3 PWM outputs in Inverter (&#039;&#039;&#039;no motor&#039;&#039;&#039;) - https://openinverter.org/forum/download/file.php?id=4273&amp;amp;mode=view&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 9&#039;&#039;&#039; : Web Interface Basic parameters ( stm32_sine. bin) set up - to confirm PWM outputs : Full boost (curki= 20000 min) with 12v supply, default forward, ampnom @ 70%, and fslipspnt @1 Hz. Select - &amp;quot;&#039;&#039;&#039;Start Inverter in Manual Mode&#039;&#039;&#039;&amp;quot; Confirm flashing lights.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 10&#039;&#039;&#039; : Connect motor phase wires to inverter PWM outputs. Repeat Step 9 and change &amp;quot;fslipspnt&amp;quot; by 1 unit at a time, until motor spins smoothly. (I noticed Light bulb resistor on HV line lights up when no spinning) along with high current values. Once you have the motor spinning, continue to increase the &amp;quot;fslipspnt&amp;quot; value whilst monitoring the current (ampmeter on PWM output wire) You will also notice the light bulb starting to fade untill there is no more light. Optimal motor spinning in Open Loop Mode ! (these values are related to a 12 volt HV supply - re using these parameters is still to be verified at greater supply voltages)&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
The Control Board runs Open Inverter software. A set of known-good default inverter parameters can be found here: https://openinverter.org/wiki/Configuration_Files#Toyota_Prius_Gen2_Inverter&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;&amp;lt;u&amp;gt;Do NOT program a deadtime value over 0 for the Gen2 inverter.&amp;lt;/u&amp;gt;&#039;&#039;&#039;&#039;&#039; It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;br /&gt;
[[Category:Toyota]] [[Category:Inverter]]&lt;/div&gt;</summary>
		<author><name>JeremyMakesThings</name></author>
	</entry>
</feed>