<?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=ZooKeeper</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=ZooKeeper"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/ZooKeeper"/>
	<updated>2026-04-29T04:50:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1632</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1632"/>
		<updated>2021-07-17T17:18:28Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: Inverter cooling and wire connector information&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| CT ||Boost converter temperature sensor||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| GSDN ||MG1 Shutdown||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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;
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;
== 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;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New &#039;&#039;&#039;SMD control board&#039;&#039;&#039; with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (1, 2 or 3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (1, 2 or 3 way switch)&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 for 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 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 set up - to confirm PWM outputs : Full boost 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 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;
&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;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1017</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1017"/>
		<updated>2020-08-27T16:32:57Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* New SMT control board with enclosure and designated pinouts */&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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;
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;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (1, 2 or 3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (1, 2 or 3 way switch)&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 for 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;
&#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;
== 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 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;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:VCU_to_Prius_Gen2_v1.1.png&amp;diff=1016</id>
		<title>File:VCU to Prius Gen2 v1.1.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:VCU_to_Prius_Gen2_v1.1.png&amp;diff=1016"/>
		<updated>2020-08-27T16:32:31Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Updated v1.1 diagram, corrected Brake &amp;amp; Start pins.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1007</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1007"/>
		<updated>2020-08-22T22:05:58Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* Wire Connections */&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&lt;br /&gt;
Note: Colors below are for the internal wiring&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;
!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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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;
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;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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 Gen2 Inverter.png|thumb|VCU to Prius Gen2 wiring]]&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (1, 2 or 3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (1, 2 or 3 way switch)&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 for 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;
&#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;
== 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 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;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1006</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1006"/>
		<updated>2020-08-22T21:56:26Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC 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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&lt;br /&gt;
Note: Colors below are for the internal wiring&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;
!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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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;
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;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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 Gen2 Inverter.png|thumb|VCU to Prius Gen2 wiring]]&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1005</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1005"/>
		<updated>2020-08-22T21:54:38Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC 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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&lt;br /&gt;
Note: Colors below are for the internal wiring&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;
!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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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;
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;
This 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;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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 Gen2 Inverter.png|thumb|VCU to Prius Gen2 wiring]]&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1004</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1004"/>
		<updated>2020-08-22T21:53:31Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC 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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&lt;br /&gt;
Note: Colors below are for the internal wiring&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;
!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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 to, but a second can be added at Pin#4, to enhance control.&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;
This 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;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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 Gen2 Inverter.png|thumb|VCU to Prius Gen2 wiring]]&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1003</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1003"/>
		<updated>2020-08-22T21:48:45Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC 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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&lt;br /&gt;
Note: Colors below are for the internal wiring&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;
!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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (aka: alternator / 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 to, but a second can be added at Pin#4, to enhance control.&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;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby, which is equivalent to a car&#039;s 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;
Note that the output at C6 (large grey connector) is un-fused and not disabled unless power from Pin#1 of C5 is off, or Pin#4 is grounded, but can only produce output when the HV bus is powered.  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;
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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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 Gen2 Inverter.png|thumb|VCU to Prius Gen2 wiring]]&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1002</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=1002"/>
		<updated>2020-08-22T21:33:34Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* 32-pin Prius Inverter Pin mapping */&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|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;
&lt;br /&gt;
Note: Colors below are for the internal wiring&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;
!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&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Purple-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||Blue-Red&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Yellow&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LIghtGreen-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||Purple-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Blue-Black&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Blue-Yellow&lt;br /&gt;
|White&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Yellow-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||Purple&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||Blue&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||Green-Red&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||Purple-White&lt;br /&gt;
|Yellow&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||Black-White&lt;br /&gt;
|Yellow&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&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||Grey-Black&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||Brown-Black&lt;br /&gt;
|Red&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||Green-Black&lt;br /&gt;
|White&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&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||Grey-Red&lt;br /&gt;
|Black&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||Brown&lt;br /&gt;
|Green&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||Green&lt;br /&gt;
|Light Blue&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&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&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v alternator positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on and IGCT draws about 6.3mA.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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 Gen2 Inverter.png|thumb|VCU to Prius Gen2 wiring]]&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=996</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=996"/>
		<updated>2020-08-21T15:35:52Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* New SMT control board with enclosure and designated pinouts */&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]Note: Colors below are for the internal wiring&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V||LG&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| V-R&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||L&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||L-R&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Y&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LG-B&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||V-Y&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| L-B&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| L-Y&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Y-B&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||V&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||L&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||G-R&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||V-W&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||B-W&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W||GR&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||GR-B&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||BR-B&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||G-B&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail||W-G&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W||GR-G&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||GR-R&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||BR&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||G&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail||W&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage||P&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal||BR-W&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal||W-R&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal||P-L&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground||B-R&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v alternator positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on and IGCT draws about 6.3mA.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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 Gen2 Inverter.png|thumb|VCU to Prius Gen2 wiring]]&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:VCU_to_Gen2_Inverter.png&amp;diff=995</id>
		<title>File:VCU to Gen2 Inverter.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:VCU_to_Gen2_Inverter.png&amp;diff=995"/>
		<updated>2020-08-20T17:20:16Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Huebner VCU to Prius Gen2 wiring.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Adapter_board_pin_outs.png&amp;diff=994</id>
		<title>File:Adapter board pin outs.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Adapter_board_pin_outs.png&amp;diff=994"/>
		<updated>2020-08-20T16:20:46Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: ZooKeeper uploaded a new version of File:Adapter board pin outs.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Adapter Boards Gen 2&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=993</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=993"/>
		<updated>2020-08-19T15:16:29Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC 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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]Note: Colors below are for the internal wiring&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V||LG&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| V-R&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||L&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||L-R&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Y&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LG-B&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||V-Y&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| L-B&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| L-Y&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Y-B&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||V&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||L&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||G-R&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||V-W&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||B-W&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W||GR&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||GR-B&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||BR-B&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||G-B&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail||W-G&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W||GR-G&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||GR-R&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||BR&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||G&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail||W&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage||P&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal||BR-W&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal||W-R&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal||P-L&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground||B-R&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v alternator positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on and IGCT draws about 6.3mA.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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;
&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:2005_Prius_Inverter_Internal_Connections.png&amp;diff=992</id>
		<title>File:2005 Prius Inverter Internal Connections.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:2005_Prius_Inverter_Internal_Connections.png&amp;diff=992"/>
		<updated>2020-08-16T22:28:58Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interior Gen2 Prius Inverter-Converter Connector IDs.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=991</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=991"/>
		<updated>2020-08-16T19:34:46Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* 32-pin Prius Inverter Pin mapping */&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]Note: Colors below are for the internal wiring&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V||LG&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| V-R&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave||L&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave||L-R&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave||Y&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V ||LG-B&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V||V-Y&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| L-B&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| L-Y&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Y-B&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage||V&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal||L&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown||G-R&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage||V-W&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground ||B-W&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W||GR&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W ||GR-B&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor||BR-B&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature||G-B&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail||W-G&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W||GR-G&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W||GR-R&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown||BR&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature||G&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail||W&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage||P&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal||BR-W&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal||W-R&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal||P-L&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground||B-R&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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;
&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
[[File:Adapter board pin outs.png|thumb|Adapter Board Pin out locations]]&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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 search enginge (Google/Firefox etc) 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;
== 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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Category:Toyota&amp;diff=983</id>
		<title>Category:Toyota</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Category:Toyota&amp;diff=983"/>
		<updated>2020-08-14T14:30:16Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: Gen2 Prius entry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A landing page to start adding references to Toyota/Lexus and their suppliers part numbers and what vehicles that you might find them in.&lt;br /&gt;
&lt;br /&gt;
The table below shows the part numbers of inverter units as labelled and as referenced by Toyota in their parts catalogue. Assembly part numbers may include a hyphen in the part number on some records. Label part numbers on the Lexus items are based on the lowest assembly part number. Links to part details are to the US sites for Toyota and Lexus.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Toyota/Lexus Inverter/Converter versions and Transaxle models&lt;br /&gt;
!Generation&lt;br /&gt;
!Board&lt;br /&gt;
!Label Part Number&lt;br /&gt;
!Assembly Part Number(s)&lt;br /&gt;
!Logic Board Part Number(s)&lt;br /&gt;
!Power Board Part Number(s)&lt;br /&gt;
!Model(s)&lt;br /&gt;
!Transaxle&lt;br /&gt;
!Model Code(s)&lt;br /&gt;
!Model Years&lt;br /&gt;
|-&lt;br /&gt;
|Gen 1&lt;br /&gt;
|[[Lexus GS450h Inverter|Lexus GS450h VCU]]&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CON/69496914/G920030180.html G9200-30040]&lt;br /&gt;
|G920030040&lt;br /&gt;
G920030051&lt;br /&gt;
&lt;br /&gt;
G920030061&lt;br /&gt;
&lt;br /&gt;
G920030180 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|L110&lt;br /&gt;
|GWS191&lt;br /&gt;
|2007-2011&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|G9200-30132&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus IS300h&lt;br /&gt;
Lexus GS300h&lt;br /&gt;
&lt;br /&gt;
Toyota Crown Hybrid&lt;br /&gt;
|L210&lt;br /&gt;
|AVE30&lt;br /&gt;
&lt;br /&gt;
AWS210/AWS211&lt;br /&gt;
|2013-2019&lt;br /&gt;
|-&lt;br /&gt;
|Gen 1&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/INVERTER-ASSEMBLY---WITH-CONVERTER/63294333/G920033050.html G9200-33050]&lt;br /&gt;
|G920033010&lt;br /&gt;
G920033020&lt;br /&gt;
&lt;br /&gt;
G920033050&lt;br /&gt;
&lt;br /&gt;
G920033100&lt;br /&gt;
&lt;br /&gt;
G920033101 (Current)&lt;br /&gt;
|F1759-30010-01&lt;br /&gt;
|&lt;br /&gt;
|Toyota Camry Hybrid&lt;br /&gt;
|P311&lt;br /&gt;
|AHV40&lt;br /&gt;
|2007-2011&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|G9200-33171&lt;br /&gt;
|G920033171&lt;br /&gt;
&lt;br /&gt;
G920033172&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Avalon Hybrid&lt;br /&gt;
Toyota Camry Hybrid&lt;br /&gt;
&lt;br /&gt;
Lexus ES300h&lt;br /&gt;
|P314&lt;br /&gt;
|XX40&lt;br /&gt;
AVV50R&lt;br /&gt;
&lt;br /&gt;
XVV60&lt;br /&gt;
|2012-2018&lt;br /&gt;
2012-2017&lt;br /&gt;
&lt;br /&gt;
2012-2015&lt;br /&gt;
|-&lt;br /&gt;
|Gen 1&lt;br /&gt;
|N/A&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/Drive-Motor-Inverter/69384290/G920047071.html G9200-47070]&lt;br /&gt;
|G920047070&lt;br /&gt;
G920047071&lt;br /&gt;
&lt;br /&gt;
G920047080&lt;br /&gt;
&lt;br /&gt;
G920047090&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Prius&lt;br /&gt;
|P110&lt;br /&gt;
|NHW11&lt;br /&gt;
|2000-2003&lt;br /&gt;
|-&lt;br /&gt;
|Gen 2&lt;br /&gt;
|Toyota Prius Gen2 [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=63]&lt;br /&gt;
|G9200-47110&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Prius&lt;br /&gt;
|P112&lt;br /&gt;
|NHW20&lt;br /&gt;
|2004-2009&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/INVERTER-ASSEMBLY---WITH-CONVERTER/63391527/G920047150.html G9200-47150]&lt;br /&gt;
|G920047150&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Prius&lt;br /&gt;
|&lt;br /&gt;
|ZVW35&lt;br /&gt;
|2010&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|G9200-47190&lt;br /&gt;
|G920047190&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Auris Hybrid&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2010&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|G9200-47210&lt;br /&gt;
|G920047210&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Prius&lt;br /&gt;
|&lt;br /&gt;
|ZVW30&lt;br /&gt;
|2010-2015&lt;br /&gt;
|-&lt;br /&gt;
|TBC&lt;br /&gt;
|[[Lexus GS450h Inverter|Lexus GS450h VCU]] (TBC)&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/62982728/G920050064.html G9200-50040]&lt;br /&gt;
|G920050040&lt;br /&gt;
G920050060&lt;br /&gt;
&lt;br /&gt;
G920050061&lt;br /&gt;
&lt;br /&gt;
G920050063&lt;br /&gt;
&lt;br /&gt;
G920050064 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus LS600h L&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus_2012_/TRANSMISSION-ASSEMBLY---HYBRID-VEHICLE-WITH-TRANSFER--CABLE/62916922/3093050050.html L110f]&lt;br /&gt;
|UVF46&lt;br /&gt;
|2007-2018&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|G9200-52010&lt;br /&gt;
|G920052010&lt;br /&gt;
G920152011&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Aqua Hybrid&lt;br /&gt;
|P510&lt;br /&gt;
|NHP10&lt;br /&gt;
|2012-2017&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/Drive-Motor-Inverter/62976717/G920059035.html G9200-52011]&lt;br /&gt;
|G920059015&lt;br /&gt;
G92A052020&lt;br /&gt;
&lt;br /&gt;
G920059035 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Prius C&lt;br /&gt;
|P510&lt;br /&gt;
|NHP10R&lt;br /&gt;
|2012-2017&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|G9200-52031&lt;br /&gt;
|G920052031&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Yaris Hybrid&lt;br /&gt;
|P510&lt;br /&gt;
|NHP130R&lt;br /&gt;
|2011-2017&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/INVERTER-ASSEMBLY---WITH-CONVERTER/69107417/G920059065.html G9200-52060]&lt;br /&gt;
|G920059065 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Prius C&lt;br /&gt;
|P510&lt;br /&gt;
|NHP10R&lt;br /&gt;
|2016&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3?&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/INVERTER-ASSEMBLY---WITH-CONVERTER/62982729/G920074010.html G9200-74010]&lt;br /&gt;
|G920074010&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota EQ EV&lt;br /&gt;
Scion iQ EV&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/TRANSAXLE-ASSEMBLY---EV-WITH-MOTOR/62916912/3060074010.html 30600-74010]&lt;br /&gt;
|KPJ10&lt;br /&gt;
|2012-2013&lt;br /&gt;
|-&lt;br /&gt;
|TBC&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CON/69498445/G920075011.html G9200-75010]&lt;br /&gt;
|G920075010&lt;br /&gt;
G920075011 (Current) &lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus HS250h&lt;br /&gt;
|P311&lt;br /&gt;
|ANF10&lt;br /&gt;
|2009-2012&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/63355368/G920079035.html G9200-79015]&lt;br /&gt;
|G920079015&lt;br /&gt;
G920079025&lt;br /&gt;
&lt;br /&gt;
G920079035 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus CT200h&lt;br /&gt;
|P410&lt;br /&gt;
|ZWA10&lt;br /&gt;
|2011-2017&lt;br /&gt;
|-&lt;br /&gt;
|Gen 4&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/77706116/G920079045.html G9200-79045]&lt;br /&gt;
|G920079045 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus UX250h&lt;br /&gt;
|&lt;br /&gt;
|MZAH10&lt;br /&gt;
|2018-&lt;br /&gt;
|-&lt;br /&gt;
|Gen 4&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/Drive-Motor-Inverter/75857868/G920079055.html G9200-79055]&lt;br /&gt;
|G920079055&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus UX250h&lt;br /&gt;
|&lt;br /&gt;
|MZAH15&lt;br /&gt;
|2018-&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3?&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/70034186/G92A011010.html G92A0-11010]&lt;br /&gt;
|G92A011010&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus LC500h&lt;br /&gt;
|&lt;br /&gt;
|GWZ100&lt;br /&gt;
|2017&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3?&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/63540961/G92A030020.html G92A0-30020]&lt;br /&gt;
|G92A030020 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus GS350h&lt;br /&gt;
|&lt;br /&gt;
|GWL10&lt;br /&gt;
|2012-2014&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3?&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/Drive-Motor-Inverter/62982961/G92A033021.html G92A0-33020]&lt;br /&gt;
|G92A033020&lt;br /&gt;
G92A033021 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota Avalon Hybrid&lt;br /&gt;
Toyota Camry Hybrid&lt;br /&gt;
&lt;br /&gt;
Lexus ES300h&lt;br /&gt;
|&lt;br /&gt;
|AVX40&lt;br /&gt;
AVV50&lt;br /&gt;
&lt;br /&gt;
AVV60&lt;br /&gt;
|2012-2017&lt;br /&gt;
|-&lt;br /&gt;
|Gen 4&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/Drive-Motor-Inverter/73183449/G92A033031.html G92A0-33031]&lt;br /&gt;
|G92A033031 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus ES300h&lt;br /&gt;
|&lt;br /&gt;
|AXZH10&lt;br /&gt;
|2018-2019&lt;br /&gt;
|-&lt;br /&gt;
|Gen 4&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.toyota.com/p/Toyota__/INVERTER-ASSEMBLY---WITH-CONVERTER/78448014/G92A042070.html G92A0-42070]&lt;br /&gt;
|G92A042070&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Toyota RAV4 Hybrid&lt;br /&gt;
|&lt;br /&gt;
|AXAH54&lt;br /&gt;
|2019-&lt;br /&gt;
|-&lt;br /&gt;
|TBC&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/66841640/G92A048260.html G92A0-48051]&lt;br /&gt;
|G92A048051&lt;br /&gt;
G92A048121 G92A048122&lt;br /&gt;
&lt;br /&gt;
G92A048260 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus RX450h FWD&lt;br /&gt;
|P313?&lt;br /&gt;
|GYL10&lt;br /&gt;
|2009-2015&lt;br /&gt;
|-&lt;br /&gt;
|TBC&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/66841639/G92A048250.html G92A0-48111]&lt;br /&gt;
|G92A048111 G92A048112&lt;br /&gt;
G92A048250 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus RX450h AWD&lt;br /&gt;
|P313?&lt;br /&gt;
|GYL15&lt;br /&gt;
|2009-2015&lt;br /&gt;
|-&lt;br /&gt;
|TBC&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/66841636/G92A048230.html G92A0-48230]&lt;br /&gt;
|G92A048230&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus RX450h&lt;br /&gt;
|P313?&lt;br /&gt;
|GYL20&lt;br /&gt;
|2015-&lt;br /&gt;
|-&lt;br /&gt;
|TBC&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/66841638/G92A048240.html G92A0-48240]&lt;br /&gt;
|G92A048240&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus RX450h&lt;br /&gt;
|P313?&lt;br /&gt;
|GYL25&lt;br /&gt;
|2015-&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3?&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/INVERTER-ASSEMBLY---WITH-CONVERTER/66841632/G92A042040.html G92A0-78020]&lt;br /&gt;
|G92A078020&lt;br /&gt;
G92A042040 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus NX300h&lt;br /&gt;
|P314&lt;br /&gt;
|AYZ10&lt;br /&gt;
|2015-2016&lt;br /&gt;
|-&lt;br /&gt;
|Gen 3?&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/Drive-Motor-Inverter/66841630/G92A042050.html G92A0-58020]&lt;br /&gt;
|G92A042050 (Current)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus NX300h&lt;br /&gt;
|P314&lt;br /&gt;
|AYZ15&lt;br /&gt;
|2017-&lt;br /&gt;
|-&lt;br /&gt;
|Gen 4&lt;br /&gt;
|&lt;br /&gt;
|[https://parts.lexus.com/p/Lexus__/Drive-Motor-Inverter-Rear/75693091/G92B047011.html G92B0-47011]&lt;br /&gt;
|G92B047011&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Lexus UX250h (Rear)&lt;br /&gt;
|&lt;br /&gt;
|MZAH15&lt;br /&gt;
|2019-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=982</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=982"/>
		<updated>2020-08-14T14:22:09Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC 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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== 32-pin Prius Inverter Pin mapping ==&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Through Hole Control Board ==&lt;br /&gt;
[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
=== How To Use ===&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
=== Wire Connections ===&lt;br /&gt;
[[File:Prius Control Board Wiring Diagram.jpg|alt=|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== New SMT control board with enclosure and designated pinouts ==&lt;br /&gt;
Please add pictures and description.&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;
&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;
&lt;br /&gt;
Pin#09 - START_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#10 - BRAKE_IN (12V)&lt;br /&gt;
&lt;br /&gt;
Pin#11 - FORWARD_IN (12V) (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#12 - REVERSE_IN (12V)  (3 way switch)&lt;br /&gt;
&lt;br /&gt;
Pin#13 - MTEMP -&lt;br /&gt;
&lt;br /&gt;
Pin#14 - MTEMP +&lt;br /&gt;
&lt;br /&gt;
Pin#15 - DCSW_OUT (Ground signal)&lt;br /&gt;
&lt;br /&gt;
Pin#16 - PRECARGE_OUT (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 - GND&lt;br /&gt;
&lt;br /&gt;
Pin#20 - 12V&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 connecter 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&lt;br /&gt;
&lt;br /&gt;
Connect CPWM to 12V via a 470 Ohm resistor for charge mode.&lt;br /&gt;
&lt;br /&gt;
Connect the 2-pole white power connector (inside inveretr) to 12V and Ground to power up inverter electronics.&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;
Do NOT program a deadtime value for the Gen2 inverter. It only uses 1 PWM per phase and the inverter itself generates a low-side and high-side signal WITH deadtime.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=559</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=559"/>
		<updated>2020-04-22T01:14:52Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuit board. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) micro controller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32-pin Prius Inverter Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=558</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=558"/>
		<updated>2020-04-22T01:12:13Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32-pin Prius Inverter Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act as a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=557</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=557"/>
		<updated>2020-04-20T23:02:28Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32-pin Prius Inverter Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector or the HV inputs are off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=556</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=556"/>
		<updated>2020-04-20T23:01:21Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32-pin Prius Inverter Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on.  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.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=555</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=555"/>
		<updated>2020-04-20T23:00:48Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32-pin Prius Inverter Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on.  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. It needs some amount of 12v to exist to first wake up.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=554</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=554"/>
		<updated>2020-04-20T22:57:38Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* Prius Inverter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32-pin Prius Inverter Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&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 (plays the role of a traditional alternator). Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
Note on Limitations - As the signal to turn on the 12v converter (which converts the HV traction battery voltage down to 12v) requires some 12v power to turn itself on, it can charge up a low 12v battery but not one that&#039;s completely dead. It needs some amount of 12v to exist to first wake up.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=549</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=549"/>
		<updated>2020-04-18T22:11:19Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* Wire Connections */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
The Toyota Prius is a hybrid vehicle. Their inverters are suitable and attractive for DIY EVs because of:&lt;br /&gt;
* Large part availability, Prii 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connector - try to retrieve this connector and part of wiring loom when sourcing your inverter. Picture of connector further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is integrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
&#039;&#039;&#039;Control Board Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;32-pin Prius Inverter Pin mapping:&#039;&#039;&#039;&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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||||vacant||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17||||vacant|| &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C5 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 (plays the role of a traditional alternator). It is not designed to charge or re-charge a low 12v battery!  Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=548</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=548"/>
		<updated>2020-04-18T22:05:11Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
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.&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 repurposing. 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C5 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 (plays the role of a traditional alternator). It is not designed to charge or re-charge a low 12v battery!  Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be added in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=547</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=547"/>
		<updated>2020-04-18T22:02:40Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
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.&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 repurposing. 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C5 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 (plays the role of a traditional alternator). It is not designed to charge or re-charge a low 12v battery!  Direct control of the converter is simple as only 1 wire is necessary to activate it, but a second can be used in addition in order to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=546</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=546"/>
		<updated>2020-04-18T22:01:56Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
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.&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 repurposing. 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C5 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 (plays the role of a traditional alternator). It is not designed to charge or re-charge a low 12v battery!  Direct control of the converter is simple as only 1 wire is necessary to activate it, but two can be used to enhance control.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=545</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=545"/>
		<updated>2020-04-18T22:01:26Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
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.&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 repurposing. 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C5 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 (plays the role of a traditional alternator). It is not designed to charge or re-charge a low 12v battery!  Direct control of the converter is simple as only 1 wire are necessary to activate it, but two can be used.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=544</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=544"/>
		<updated>2020-04-18T22:00:32Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* DC-DC Converter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&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;
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.&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 repurposing. 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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|300x300px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== DC-DC Converter ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.|284x284px]]&lt;br /&gt;
[[File:Prius GEN 2 C5 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 (plays the role of a traditional alternator). It is not designed to charge or re-charge a low 12v battery!  Direct control of the converter is simple as only 2 wires are necessary to activate it.&lt;br /&gt;
&lt;br /&gt;
The 6-pin &amp;quot;C5&amp;quot; connector on the inverter needs to be wired as thus:&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|| ?? || 12v+ || ??&lt;br /&gt;
|-&lt;br /&gt;
|2|| Unused? || Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|3||Unused?||Unused?|| ??&lt;br /&gt;
|-&lt;br /&gt;
|4||NODD|| 0-5v+ ||Not Req.&lt;br /&gt;
|-&lt;br /&gt;
|5||VLO|| Unused? || ??&lt;br /&gt;
|-&lt;br /&gt;
|6|| Unused? || Unused? || ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The case of the inverter must be vehicle ground (12v battery negative terminal).&lt;br /&gt;
&lt;br /&gt;
This will produce 13.2-15.2 VDC on the large C6 single-conductor connector nearby (equivalent to a car&#039;s 12v battery positive terminal), depending on voltage applied to pin 4 (if used). No base load is required to produce voltage. Pin 4, when grounded, will act a a &amp;quot;KILL&amp;quot; input and DC-DC output will drop to zero.&lt;br /&gt;
&lt;br /&gt;
Note that this output is unfused and uncontrolled, and not disabled when the main inverter ignition is off (it will be on all the time unless pin 1 of the C5 connector is off). It could be tied directly to the ignition switch same as the control board ignition receives (TB1-8 on the control board ... Or should that be TB1-1/TB1-2 which is controlled by ignition???), or it could have separate power-on control if desired.&lt;br /&gt;
&lt;br /&gt;
== Inverter Cooling ==&lt;br /&gt;
&lt;br /&gt;
Inverter 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.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=528</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=528"/>
		<updated>2020-04-17T12:39:51Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&gt;
[[File:Prius Gen 2 Inverter.jpg|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 Inverter - Internal.jpg|thumb|Internal look at the Prius Gen2 Inverter]]&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.&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 repurposing. 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 power supply to the automotive systems and accessories.&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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|220x220px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Additional Inverter / Converter details: ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.]]&lt;br /&gt;
Inverter coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the HSD cooling system reservoir.    &lt;br /&gt;
&lt;br /&gt;
The DC-DC charging connections on the Gen2 Prius Inverter are on the rear, they are &amp;quot;C5&amp;quot; (6 pin gray) &amp;amp; &amp;quot;C6&amp;quot; (1 large pin gray).&lt;br /&gt;
&lt;br /&gt;
Here is what is needed for the Gen2 Inverter DC-DC to work...12v on pins #1 &amp;amp; #3, 5v on pin #4 of connector &amp;quot;C5&amp;quot; (gray one) and the case grounded.  It is not required to have a load applied to the large gray 12v connector (C6) to obtain an output.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=527</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=527"/>
		<updated>2020-04-17T12:38:52Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: Added photo of C5 connector with pin map.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&gt;
[[File:Prius Gen 2 Inverter.jpg|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 Inverter - Internal.jpg|thumb|Internal look at the Prius Gen2 Inverter]]&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.&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 repurposing. 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 power supply to the automotive systems and accessories.&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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|220x220px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Additional Inverter / Converter details: ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.]]&lt;br /&gt;
Inverter coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the HSD cooling system reservoir.    &lt;br /&gt;
&lt;br /&gt;
The DC-DC charging connections on the Gen2 Prius Inverter are on the rear, they are &amp;quot;C5&amp;quot; (6 pin gray) &amp;amp; &amp;quot;C6&amp;quot; (1 large pin gray).&lt;br /&gt;
&lt;br /&gt;
Here is what is needed for the Gen2 Inverter DC-DC to work...12v on pins #1 &amp;amp; #3, 5v on pin #4 of connector &amp;quot;C5&amp;quot; (gray one) and the case grounded.  It is not required to have a load applied to the large gray 12v connector (C6) to obtain an output.&lt;br /&gt;
&lt;br /&gt;
[[Images/thumb/4/4f/2005 Prius C5 Connector Pin Numbers.jpg.png/1155px-2005 Prius C5 Connector Pin Numbers.jpg.png]]&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=526</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=526"/>
		<updated>2020-04-17T12:34:06Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: Added text for 12v power supply&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board, connected to the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&gt;
[[File:Prius Gen 2 Inverter.jpg|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 Inverter - Internal.jpg|thumb|Internal look at the Prius Gen2 Inverter]]&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.&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 repurposing. 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 power supply to the automotive systems and accessories.&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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
[[File:Prius Gen 2 inverter lower casing internals.png|thumb|220x220px|Prius gen 2 inverter lower casing internals]]&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control. It is also connected from the outside via the main (32 pin white) OEM connecter - try to retrieve this connecter and part of wiring loom when sourcing your inverter. Picture of connecter further down in wiki.&lt;br /&gt;
&lt;br /&gt;
The  control board design incorporates the use of the existing inverter Current Sensors - if FOC option is to be used (Gen 2 Transaxle MG2), bandwidth should be a multiple of control loop frequency which is 8.8kHz. (link to how to modify original setup?)&lt;br /&gt;
&lt;br /&gt;
Functionality of the existing resolver is intergrated as well.  &lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Additional Inverter / Converter details: ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.]]&lt;br /&gt;
Inverter coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the HSD cooling system reservoir.    &lt;br /&gt;
&lt;br /&gt;
The DC-DC charging connections on the Gen2 Prius Inverter are on the rear, they are &amp;quot;C5&amp;quot; (6 pin gray) &amp;amp; &amp;quot;C6&amp;quot; (1 large pin gray).&lt;br /&gt;
&lt;br /&gt;
Here is what is needed for the Gen2 Inverter DC-DC to work...12v on pins #1 &amp;amp; #3, 5v on pin #4 of connector &amp;quot;C5&amp;quot; (gray one) and the case grounded.  It is not required to have a load applied to the large gray 12v connector (C6) to obtain an output.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:2005_Prius_C5_Connector_Pin_Numbers.jpg.png&amp;diff=525</id>
		<title>File:2005 Prius C5 Connector Pin Numbers.jpg.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:2005_Prius_C5_Connector_Pin_Numbers.jpg.png&amp;diff=525"/>
		<updated>2020-04-17T02:33:14Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Connector &amp;quot;C5&amp;quot; pin mapping, Gen2 (2005) Prius Inverter.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gen2_Prius_DC-DC_Connections.jpg&amp;diff=524</id>
		<title>File:Gen2 Prius DC-DC Connections.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gen2_Prius_DC-DC_Connections.jpg&amp;diff=524"/>
		<updated>2020-04-17T02:28:40Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: ZooKeeper uploaded a new version of File:Gen2 Prius DC-DC Connections.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Gen2 Prius DC-DC connection identification.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=519</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=519"/>
		<updated>2020-04-14T02:00:10Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board in the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&gt;
[[File:Prius Gen 2 Inverter.jpg|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 Inverter - Internal.jpg|thumb|Internal look at the Prius Gen2 Inverter]]&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.&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 repurposing. 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 power supply to the automotive systems and accessories.&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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control.&lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Additional Inverter / Converter details: ==&lt;br /&gt;
[[File:Gen2 Prius DC-DC Connections.jpg|thumb|Prius Gen2 DC-DC connections.]]&lt;br /&gt;
Inverter coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the HSD cooling system reservoir.    &lt;br /&gt;
&lt;br /&gt;
The DC-DC charging connections on the Gen2 Prius Inverter are on the rear, they are &amp;quot;C5&amp;quot; &amp;amp; &amp;quot;C6&amp;quot;.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gen2_Prius_DC-DC_Connections.jpg&amp;diff=518</id>
		<title>File:Gen2 Prius DC-DC Connections.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gen2_Prius_DC-DC_Connections.jpg&amp;diff=518"/>
		<updated>2020-04-14T01:59:32Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Gen2 Prius DC-DC connection identification.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=517</id>
		<title>Toyota Prius Gen2 Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Toyota_Prius_Gen2_Board&amp;diff=517"/>
		<updated>2020-04-14T01:57:06Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: /* Prius Inverter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Prius Board v1.jpg|thumb|Prius Board v1]]&lt;br /&gt;
&lt;br /&gt;
The Toyota Prius Gen2 Board is an open source project to repurpose 2004-2009 Toyota Prius inverters for DIY EV use. It consists of a circuit board and programming that replaces the original logic board in the inverter and allows independent control of it without communicating with a Prius ECU. &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;
== Prius Inverter ==&lt;br /&gt;
[[File:Prius Gen 2 Inverter.jpg|thumb|Prius Gen 2 Inverter Montage]]&lt;br /&gt;
[[File:Prius Gen2 Inverter - Internal.jpg|thumb|Internal look at the Prius Gen2 Inverter]]&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.&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 repurposing. 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 power supply to the automotive systems and accessories.&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;
&lt;br /&gt;
== Control Board ==&lt;br /&gt;
&lt;br /&gt;
As designed by Damien Maguire, the open source hardware for the control board can be purchased as blank, unpopulated boards on his website: [https://evbmw.com/index.php/evbmw-webshop/toyota-bare-boards/prius-gen-2-inverter-bare-logic-board Prius Gen2 Logic Board on EVBMW&#039;s Webshop]&lt;br /&gt;
&lt;br /&gt;
== How To Use ==&lt;br /&gt;
&lt;br /&gt;
The Prius Gen2 Board is suitable to control any (please add: motor types here) motors.&lt;br /&gt;
&lt;br /&gt;
Note: There is a mistake in the printing on the v1 circuitboard. The parts labelled T1, T2, and T3 - which are the small black transistors in the upper right of the board - are all drawn backwards to how they need to be inserted. These parts should be installed with the flat side of the component facing the opposite direction as the printing shows. The flat side should be to the right.&lt;br /&gt;
&lt;br /&gt;
Schematics, Bill of Materials, and other documentation are available on [https://github.com/damienmaguire/Prius-Gen-2-Inverter Damien&#039;s Project Github]&lt;br /&gt;
(note: flesh out bill of materials here, or post changes to Damien to update his documentation directly?)&lt;br /&gt;
&lt;br /&gt;
The control board utilizes the Blue Pill (link?) microcontroller, and takes advantage of the OpenInverter.org software (link?) for control.&lt;br /&gt;
&lt;br /&gt;
Assembly notes?&lt;br /&gt;
Blue Pill programming notes or just links to Blue Pill section?&lt;br /&gt;
&lt;br /&gt;
Try to get all the wiring harness bits that plug into the inverter when you purchase it. Else, the 32-pin connector inside the inverter part number is: 1318747-1, and the pins to wire it are: 1123343-1 &lt;br /&gt;
&lt;br /&gt;
Terminal Block Connection list (rough, in-progress):&lt;br /&gt;
&lt;br /&gt;
== Wire Connections ==&lt;br /&gt;
[[File:Prius Control Board - Wiring Map.png|thumb|700x700px|Prius Control Board - Wiring Map (click to see fullsize details)]]&lt;br /&gt;
Control Board Pinout:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Pin # !! Designation !! Description&lt;br /&gt;
|-&lt;br /&gt;
|TB1-1&lt;br /&gt;
||12v-in&lt;br /&gt;
||Primary 12v supply from ignition on&lt;br /&gt;
|-&lt;br /&gt;
|TB1-2&lt;br /&gt;
|GND&lt;br /&gt;
||Primary ground connection to 12v negative. All grounds are common&lt;br /&gt;
|-&lt;br /&gt;
|TB1-3&lt;br /&gt;
|5v VCC&lt;br /&gt;
||5V supply from board for use with throttle pot or hall pedal&lt;br /&gt;
|-&lt;br /&gt;
|TB1-4&lt;br /&gt;
|Throttle In&lt;br /&gt;
||0-5v variable voltage input from throttle pedal or pot&lt;br /&gt;
|-&lt;br /&gt;
|TB1-5&lt;br /&gt;
|Regen In &lt;br /&gt;
||0-5v variable voltage input. Can be used as second throttle channel or control regen from a brake pressure sensor&lt;br /&gt;
|-&lt;br /&gt;
|TB1-6&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|TB1-7&lt;br /&gt;
|Brake In &lt;br /&gt;
||12v digital input from brake light switch.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-8&lt;br /&gt;
|Start In &lt;br /&gt;
||12v digital input from &amp;quot;Start&amp;quot; position on a traditional ignition switch. Momentary action push button can be used.&lt;br /&gt;
|-&lt;br /&gt;
|TB1-9&lt;br /&gt;
|For In &lt;br /&gt;
||12v digital input commands motor to run in forward direction&lt;br /&gt;
|-&lt;br /&gt;
|TB1-10&lt;br /&gt;
|Rev In &lt;br /&gt;
||12v digital input commands motor to run in reverse direction&lt;br /&gt;
|-&lt;br /&gt;
|TB3-1&lt;br /&gt;
| +12v VCC &lt;br /&gt;
||12v output to inverter IGCT terminal (Not on the 32-pin connector, the red wire on the 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-2&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground, but used to connect to inverter GND terminal (Not on the 32-pin connector, the black wire on 2-pin connector next to it).&lt;br /&gt;
|-&lt;br /&gt;
|TB3-3&lt;br /&gt;
|Phase U ||&lt;br /&gt;
Phase U output. Connect to Inverter MUU terminal for MG2 inverter drive or GUU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-4&lt;br /&gt;
|Phase Y&lt;br /&gt;
||Phase V output. Connect to Inverter MVU terminal for MG2 inverter drive or GVU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-5&lt;br /&gt;
|Phase W&lt;br /&gt;
||Phase W output. Connect to Inverter MWU terminal for MG2 inverter drive or GWU for MG1 inverter drive&lt;br /&gt;
|-&lt;br /&gt;
|TB3-6&lt;br /&gt;
|Current U&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-7&lt;br /&gt;
|Current Y&lt;br /&gt;
||Phase currents from inverter. Requires external divider circuit. Not required to run motor or inverter.&lt;br /&gt;
|-&lt;br /&gt;
|TB3-8&lt;br /&gt;
|MG2 Enable&lt;br /&gt;
||Connect to Inverter MSDN to run MG2 inverter or GSDN to run MG1 inverter&lt;br /&gt;
|-&lt;br /&gt;
|TB3-9&lt;br /&gt;
|MG2 Fault&lt;br /&gt;
||Connect to MFIV for MG2 or GFIV for MG1&lt;br /&gt;
|-&lt;br /&gt;
|TB3-10&lt;br /&gt;
|DC Bus&lt;br /&gt;
||Connect to inverter VH to measure DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|TB2-1&lt;br /&gt;
| +5V VCC &lt;br /&gt;
||5v output to encoder for induction motor&lt;br /&gt;
|-&lt;br /&gt;
|TB2-2&lt;br /&gt;
|ENCA In &lt;br /&gt;
||Encoder input A&lt;br /&gt;
|-&lt;br /&gt;
|TB2-3&lt;br /&gt;
|ENCB In&lt;br /&gt;
||Encoder input B&lt;br /&gt;
|-&lt;br /&gt;
|TB2-4&lt;br /&gt;
|GND&lt;br /&gt;
|Encoder ground&lt;br /&gt;
|-&lt;br /&gt;
|TB2-5&lt;br /&gt;
|HS Temp&lt;br /&gt;
||Heatsink temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB2-6&lt;br /&gt;
|MOT Temp&lt;br /&gt;
||Motor temp sensor input&lt;br /&gt;
|-&lt;br /&gt;
|TB4-1&lt;br /&gt;
|GND&lt;br /&gt;
|Common ground&lt;br /&gt;
|-&lt;br /&gt;
|TB4-2&lt;br /&gt;
|Main Con&lt;br /&gt;
||Main HV contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-3&lt;br /&gt;
|Precharge&lt;br /&gt;
||HV precharge contactor control low side switch&lt;br /&gt;
|-&lt;br /&gt;
|TB4-4&lt;br /&gt;
| +12 V VCC &lt;br /&gt;
||Spare 12v output&lt;br /&gt;
|-&lt;br /&gt;
|TB4-5&lt;br /&gt;
|CAN L&lt;br /&gt;
||Can bus low signal&lt;br /&gt;
|-&lt;br /&gt;
|TB4-6&lt;br /&gt;
|CAN H&lt;br /&gt;
||Can bus high signal&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
32-pin Prius Inverter Pinout:&lt;br /&gt;
[[File:Prius Inverter - Pin Numbering.png|thumb|500x500px|32-pin Prius Inverter Pin Numbering]]&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|| NC ||Not connected||&lt;br /&gt;
|-&lt;br /&gt;
|2||GIVA||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|3|| GIVB ||MG1 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|4|| GUU ||MG1 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|5|| GVU ||MG1 PWM V - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|6|| GWU ||MG1 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|7|| MIVA || MG2 Phase Current V || Example&lt;br /&gt;
|-&lt;br /&gt;
|8|| MIVB ||MG2 Phase Current V|| Example&lt;br /&gt;
|-&lt;br /&gt;
|9|| MUU ||MG2 PWM U - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|10|| MVU ||MG2 PWM V - Speed SIgnal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|11|| MWU ||MG2 PWM W - Speed Signal Wave|| Example&lt;br /&gt;
|-&lt;br /&gt;
|12|| VH ||Inverter Capacitor Voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|13|| CPWM ||Boost converter PWM switch signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|14|| GSDN ||MG1 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|15|| VL ||Boost converter input voltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|16|| GINV || Inverter Ground || Example&lt;br /&gt;
|-&lt;br /&gt;
|17|| NC || Not connected || &lt;br /&gt;
|-&lt;br /&gt;
|18|| GIWA ||MG1 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|19|| GIWB || MG1 Phase Current W || Example&lt;br /&gt;
|-&lt;br /&gt;
|20|| CT ||Boost converter temperature sensor|| Example&lt;br /&gt;
|-&lt;br /&gt;
|21|| GIVT ||MG1 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|22|| GFIV ||MG1 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|23|| MIWA ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|24|| MIWB ||MG2 Phase Current W|| Example&lt;br /&gt;
|-&lt;br /&gt;
|25|| MSDN ||MG2 Shutdown|| Example&lt;br /&gt;
|-&lt;br /&gt;
|26|| MIVT ||MG2 Inverter Temperature|| Example&lt;br /&gt;
|-&lt;br /&gt;
|27|| MFIV ||MG2 Inverter Fail|| Example&lt;br /&gt;
|-&lt;br /&gt;
|28|| OVH ||Overvoltage|| Example&lt;br /&gt;
|-&lt;br /&gt;
|29|| CSDN ||Boost converter shutdown signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|30|| FCV ||Boost converter fail signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|31|| OVL ||Boost converter over voltage signal|| Example&lt;br /&gt;
|-&lt;br /&gt;
|32|| GCNV ||Boost converter ground|| Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Additional Inverter / Converter details: ==&lt;br /&gt;
Inverter coolant enters at the front and exits the rear of the inverter housing from the o-ring port connected to the HSD cooling system reservoir.  &lt;br /&gt;
&lt;br /&gt;
The DC-DC charging connections on the Gen2 Prius Inverter are on the rear, they are &amp;quot;C5&amp;quot; &amp;amp; &amp;quot;C6&amp;quot;.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Coolant_Inlet-Outlet.jpg&amp;diff=516</id>
		<title>File:Coolant Inlet-Outlet.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Coolant_Inlet-Outlet.jpg&amp;diff=516"/>
		<updated>2020-04-14T01:44:54Z</updated>

		<summary type="html">&lt;p&gt;ZooKeeper: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Coolant inlet is on the &amp;quot;front&amp;quot; inboard side and the outlet is normally to the HSD Coolant bottle connection at the &amp;quot;rear&amp;quot; inboard side as normally fitted.&lt;/div&gt;</summary>
		<author><name>ZooKeeper</name></author>
	</entry>
</feed>