<?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=Mjc506</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=Mjc506"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Mjc506"/>
	<updated>2026-05-01T12:48:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=3042</id>
		<title>Main Page Old</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=3042"/>
		<updated>2022-12-08T14:17:43Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Started a &amp;#039;required knowledge&amp;#039; section, Category:Request_for_Review&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Before you begin: =&lt;br /&gt;
&#039;&#039;&#039;Please take the time to read.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You undertake &#039;&#039;&#039;your&#039;&#039;&#039; project at &#039;&#039;&#039;your own risk.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The information provided on this wiki and the support forums is intended as information only&#039;&#039;&#039;.  The Open Inverter project and contributors to the forums and this wiki take no responsibility for how you use the information on this site, nor any liability for injuries, or death, that may result from your actions.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Developers&#039;s time is best spent developing;&#039;&#039;&#039; &#039;&#039;&#039;Support is best found in the forums&#039;&#039;&#039; - Developers of various projects are often bombarded with private messages and emails. Managing these emails and questions is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don&#039;t understand a topic. Developers are not your personal support team, unless you want to pay them directly for their time.     &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Consider donating to the many developers&#039;&#039;&#039; that have made all this possible and to help keep making things possible: &lt;br /&gt;
&lt;br /&gt;
[https://www.patreon.com/openinverter www.patreon.com/openinverter], &lt;br /&gt;
&lt;br /&gt;
https://www.evbmw.com/, &lt;br /&gt;
&lt;br /&gt;
https://www.paypal.com/paypalme/celeron55    &lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/index.php &#039;&#039;&#039;Always check the forums&#039;&#039;&#039;], new developments and solutions are coming along every day, questions being answered, or perhaps you can answer. we work better as a community sharing our knowledge...    &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...update this wiki.&#039;&#039;&#039; Answers and solutions should find their way here so they don&#039;t remain buried in a 30 page long support thread. To edit the wiki, login with your forum credentials.    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Welcome to the open inverter community&#039;&#039;&#039;&lt;br /&gt;
= Legalities=&lt;br /&gt;
*[[Legalities|Legalities around conversion projects]]&lt;br /&gt;
Different countries have different legislation, if you want your car to certified for the road in your country please take the time to review this section. It might save you going down the wrong direction and creating something that can never be driven, or incur costs.&lt;br /&gt;
= Introduction =&lt;br /&gt;
The open inverter started as a scratch built inverter and control board led by Johannes Hübner who designed and built his open open source AC motor controller dubbed the &amp;quot;open inverter&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Since then, the community has established and documented hardware and software approaches to reuse OEM inverters with the Open control board, and has more recently started on controlling OEM inverters over CAN, a process which doesn&#039;t require replacing any internal parts. &lt;br /&gt;
&lt;br /&gt;
The main goal of the open inverter community is to reverse engineer many of these components for use in a variety of projects such as: &lt;br /&gt;
&lt;br /&gt;
* EV conversion&lt;br /&gt;
* Energy storage&lt;br /&gt;
* Power generation&lt;br /&gt;
* Charging infrastructure&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
Open inverter projects now span over many different areas surrounding PEV, HEV, and PHEV components, such as: &lt;br /&gt;
* Motor Controllers&lt;br /&gt;
* 1-3 phase power converters&lt;br /&gt;
* DC/DC converters&lt;br /&gt;
* buck/boost converters&lt;br /&gt;
* Battery Management Systems (BMS)&lt;br /&gt;
* Vehicle integration&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
As a result, there is a growing collection of open source software and hardware designed for the never ending list of OEM parts.  &lt;br /&gt;
&lt;br /&gt;
There&#039;s a variety of methods of repurposing these OEM components. Methods here are generally chosen with future proofing in mind , reducing chances of firmware or software updates from the manufacture &amp;quot;bricking&amp;quot; or blocking the open source control efforts.  &lt;br /&gt;
&lt;br /&gt;
such efforts include:  &lt;br /&gt;
&lt;br /&gt;
* Mainboard/brain replacement&lt;br /&gt;
*[[Getting started with CAN bus|CANBUS/LINBUS]]&lt;br /&gt;
*[[wikipedia:Synchronous_serial_communication|Sync serial]]&lt;br /&gt;
*[[wikipedia:FlexRay|FlexRay]]&lt;br /&gt;
*[[wikipedia:Pulse-width_modulation|PWM]]&lt;br /&gt;
* Sirmware/software reprogramming&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
Resulting in many bespoke boards running the main open inverter software or other open/semi-open source code designed to ether replace OEM motherboards or VCUs.  &lt;br /&gt;
&lt;br /&gt;
This has lead to a large collection of different boards and software, many with redundant features.  To unify many of these development projects, the community at large is focused on making a set of standard VCUs and replacement control boards which handle the ever growing list of OEM components.    &lt;br /&gt;
&lt;br /&gt;
=== Many of the VCU and replacement boards consist of these 3 main parts: ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Hardware&lt;br /&gt;
!Firmware&lt;br /&gt;
!Web Interface&lt;br /&gt;
|-&lt;br /&gt;
|The design and development of the [[Main Board Version 3|control hardware]] based around an STM32F103 chip. This provides the control signals to the power stage and on to the attached components.&lt;br /&gt;
|The development of the code that goes on the STM32F103 chips and determines, amongst other things what signals are sent to the power stage and the attached components.&lt;br /&gt;
|Using an ESP8266 chip, the development of a simple [[Web Interface|web based interface]] to adjust the parameters on the firmware chip and to display values returned from the chip, for example motor speed (RPM).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note:&#039;&#039;&#039; Performing a &#039;full&#039; EV conversion can often be more straight forward than trying to make small modifications to OEM vehicles - an OEM system will normally require a set of components all talking to each other and keeping each other happy! Trying to, for example, add a different battery charger, or bypassing certain restrictions will often require significant reverse engineering of the existing system to ensure that the new component(s) do not cause errors or problems in the system which can avalanche into significant problems! A full EV conversion, in comparison, can usually focus on just keeping one component happy at a time (although integrating these different components can still require a lot of work).&lt;br /&gt;
&lt;br /&gt;
The Community is focused on the electrical systems required for an EV, and may not be best placed to assist with mechanical issues specific to your vehicle.&lt;br /&gt;
&lt;br /&gt;
===Glossary of Terms===&lt;br /&gt;
It is recommended you read the &#039;&#039;&#039;[[Glossary of Terms]]&#039;&#039;&#039; before you begin. Often you&#039;ll find TLAs (three letter acronyms) peppered through the support forum and on this wiki, take the time to familiarise yourself with them before hand, remember this exists, or bookmark/favourite it so you can referent back to it.&lt;br /&gt;
&lt;br /&gt;
===EV conversions:===&lt;br /&gt;
A few main parts are needed for an EV conversion, such as:&lt;br /&gt;
*[[Motors]]&lt;br /&gt;
*[[:Category:Inverter|Inverter]]&lt;br /&gt;
**(&#039;&#039;&#039;Note:&#039;&#039;&#039; ZombieVerter projects require a matched pair of Inverter and Motor as they would have come out of a vehicle)&lt;br /&gt;
*[[Batteries]]&lt;br /&gt;
*[[:Category:Charger|Chargers / Charge Controllers]]&lt;br /&gt;
*[[:Category:DC/DC|DC/DC Converters]]&lt;br /&gt;
*[[:Category:HVJB|HV Junction Box]]&lt;br /&gt;
*[[Heaters]]&lt;br /&gt;
*[[:Category:HVAC|HVAC]]&lt;br /&gt;
*Brake Assist &lt;br /&gt;
**Vacuum Pumps&lt;br /&gt;
**Electronic Brake Boosters&lt;br /&gt;
*[[:Category:Power Steering|Power Steering]]&lt;br /&gt;
*[[Rapid Charging]]&lt;br /&gt;
&lt;br /&gt;
Existing information on these items can be found on the &amp;lt;u&amp;gt;[[EV Conversion Parts]]&amp;lt;/u&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
===OEM Parts: ===&lt;br /&gt;
A variety of [[:Category:OEM|OEM]] parts members of the community have reversed engineered for custom use cases:&lt;br /&gt;
*[[:Category:BMW|BMW]]&lt;br /&gt;
*[[:Category:Chevrolet|Chevrolet]]&lt;br /&gt;
*[[:Category:Ford|Ford]]&lt;br /&gt;
*[[:Category:Hyundai|Hyundai]]&lt;br /&gt;
*[[Isabellenhütte Heusler]]&lt;br /&gt;
*[[:Category:Mercedes-Benz|Mercedes-Benz]]&lt;br /&gt;
*[[:Category:Mitsubishi|Mitsubishi]]&lt;br /&gt;
*[[Nissan]]&lt;br /&gt;
*[[:Category:Opel|Opel/Vauxhall]]&lt;br /&gt;
*[[:Category:Tesla|Tesla]]&lt;br /&gt;
*[[Toyota|Toyota/Lexus]]&lt;br /&gt;
*[[:Category:VAG|VAG (VW, Audi, Skoda, Seat, Porsche, ...)]]&lt;br /&gt;
*[[:Category:Volvo|Volvo]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required skills/Knowledge===&lt;br /&gt;
[[Category:Request_for_Review]]&lt;br /&gt;
To perform a successful EV conversion, you may require the following skills and/or knowledge (this is not an exhaustive list)&lt;br /&gt;
&lt;br /&gt;
*You will need to have the skills, knowledge and tools required to perform significant mechanical work on your vehicle. A service or workshop manual will be useful.&lt;br /&gt;
*Basic DC electrical knowledge, such as using a multimeter, soldering, identifying components.&lt;br /&gt;
*A willingness and ability to troubleshoot problems (mechanical, electrical, code...).&lt;br /&gt;
*Safety in relation to high voltage DC systems. &#039;&#039;&#039;HV DC can be more dangerous than AC mains voltages!&#039;&#039;&#039;&lt;br /&gt;
*Basic understanding on the purposes of various EV components (motor, inverter, DC-DC...)&lt;br /&gt;
*A grasp of 3 phase motor control concepts can be useful (especially if using an openinverter control board)&lt;br /&gt;
*An understanding of CAN (and other digital communication systems) will be very useful&lt;br /&gt;
*The legal restrictions and requirements for your country/state&lt;br /&gt;
&lt;br /&gt;
===FAQ===&lt;br /&gt;
&lt;br /&gt;
*[[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
*[[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
*[[Electronics Basics]] - general advice for troubleshooting electronic circuits&lt;br /&gt;
*[[I want a cheap ev conversion|cheap EV conversions]] - this entry point for the penny pinchers&lt;br /&gt;
*[[I want a powerful ev conversion|performant EV conversions]]  - where torque trumps money&lt;br /&gt;
&lt;br /&gt;
=Mechanical Design Database=&lt;br /&gt;
[[Mechanical design database]]&lt;br /&gt;
&lt;br /&gt;
here you will find measurements, models, files, etc for a variety of components  such as:&lt;br /&gt;
&lt;br /&gt;
*adapter plates&lt;br /&gt;
*motor couplers&lt;br /&gt;
*drive shaft flanges&lt;br /&gt;
*battery mounts&lt;br /&gt;
*etc.&lt;br /&gt;
&lt;br /&gt;
=Open Inverter Projects=&lt;br /&gt;
&lt;br /&gt;
===Open Inverter (Core Project/s)===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
!Description  / Notes&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;ZombieVerter VCU&#039;&#039;&#039;&lt;br /&gt;
*[[ZombieVerter VCU]]&lt;br /&gt;
*[[Web Interface (ZombieVerter VCU)|Web Interface]]&lt;br /&gt;
*[[OEM component compatibility]]&lt;br /&gt;
|Designed around a matched pair of Inverter and Motor taken from the original OEM vehicle the ZombieVerter is there to make those two components believe they are still in the original vehicle and are fed necessary commands to act as if they still are and interpret and responses back from the equipment for feedback (regen / rpm / etc)&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Open Inverter Hardware&#039;&#039;&#039;&lt;br /&gt;
*[[Hardware Theory of Operation]]&lt;br /&gt;
*[[Schematics and Instructions]] - for the &amp;quot;vanilla&amp;quot; inverter kit.&lt;br /&gt;
*[[Mini Mainboard]]&lt;br /&gt;
*[[Main Board Version 3]]&lt;br /&gt;
*[[Main Board Version 2]]&lt;br /&gt;
*[[Main Board Version 1]]&lt;br /&gt;
*[[Sense Boards]]&lt;br /&gt;
*[[Gate Driver]]&lt;br /&gt;
*[[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
*[[OEM Repurposing]]&lt;br /&gt;
|Quite flexible in its application. The Open Inverter can be used to build a custom inverter itself where you supply the high power and high voltage components to create your own inverter, or to be used as the basis to take over control of OEM inverters so that they can drive nearly any attached motor to that inverter.&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |&#039;&#039;&#039;Open Inverter Software&#039;&#039;&#039;&lt;br /&gt;
*[[Using FOC Software]]&lt;br /&gt;
*[[Downloads]]&lt;br /&gt;
*[[Features]]&lt;br /&gt;
*[[Web Interface]]&lt;br /&gt;
*[[Battery Charging]]&lt;br /&gt;
*[[Errors]]&lt;br /&gt;
*[[CAN communication]]&lt;br /&gt;
*[[Parameters]] (Tune your inverter)&lt;br /&gt;
*[[Configuration Files]]&lt;br /&gt;
*[[Software Theory of Operation]]&lt;br /&gt;
*[[Open Inverter Testing]]&lt;br /&gt;
|Two of the more important software aspects to master are below.&amp;lt;!-- Just repurposed the can comms and parameters text. didn&#039;t want to get rid, but also perhaps more from the left column could be here? --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;CAN communication&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Common across boards is the ability to communicate with a CAN Bus, which is a &#039;control area network&#039; or a technical way of saying how various components, sensors, controls, etc communicate with one another within the car. &#039;&#039;&#039;Read more about [[CAN communication|CAN Communication]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There is also a project to standardise the messages across the various control boards, [[Introduction CAN STD|read more]]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The openinverter firmware uses a set of about 70 parameters to adapt it to different inverter power stages, motors and position feedback systems. Also it lets you calibrate the throttle pedal, change regenerative braking settings and so on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameter definitions can be found here: [[Parameters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Working parameter sets can be found in the [https://openinverter.org/parameters openinverter parameter database]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Open Inverter Related Projects (Control Boards/VCUs)===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Project&lt;br /&gt;
!Description  / Notes&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Tesla|Tesla Small Drive and Large Drive Units:]]&#039;&#039;&#039;&lt;br /&gt;
|Commonly there is a large drive unit and small drive unit available from the Model S. &amp;lt;!-- Model 3 options? --&amp;gt;&lt;br /&gt;
These combine the inverter and motor into a single package.  &lt;br /&gt;
&lt;br /&gt;
The control boards for these replace the existing control board within them. &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Lexus GS450h Drivetrain]]:&#039;&#039;&#039;&lt;br /&gt;
|The GS450h contains a gearbox (where the motors are located).&lt;br /&gt;
Using the [[ZombieVerter VCU]], the inverter and the gearbox itself provide  &lt;br /&gt;
&lt;br /&gt;
a powerful set up suitable for rear wheel drive set ups, replacing the existing longitudinally mounted gearbox.  &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Toyota Prius Gen3 Board|Prius Generation 3 Inverter:]]&#039;&#039;&#039;&lt;br /&gt;
|A cheap available inverter from the popular Prius hybrid, this&lt;br /&gt;
board goes inside that inverter and allows you to control the features of it.&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Auris/Yaris Inverter:]]&#039;&#039;&#039;&lt;br /&gt;
|Similar to the Prius board, there&#039;s subtle differences between them&lt;br /&gt;
and therefore the need for a separate board. &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Nissan Leaf Gen2 Board]]&#039;&#039;&#039;&lt;br /&gt;
|Replaces the nissan OEM logic board with a rev 3 openiverter main board&lt;br /&gt;
|-&lt;br /&gt;
|[[Ford ranger ev board|&#039;&#039;&#039;Ford ranger ev board&#039;&#039;&#039;]]&lt;br /&gt;
|openinverter kit for the ford ranger ev&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |[[OEM Repurposing|&#039;&#039;&#039;All Control Boards / OEM Inverters&#039;&#039;&#039;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Use inverter as a battery Charger===&lt;br /&gt;
Both the open inverter and some OEM inverters can be used as a battery charger, further saving on component costs. You can read more about how the open inverter and the theory of charging [[Battery Charging|here]].&lt;br /&gt;
&lt;br /&gt;
===Open Inverter Renewables Projects===&lt;br /&gt;
Recently added to the forums are projects and discussions around turning the Open Inverter project towards capturing, storing and using renewable energy.&amp;lt;!--&amp;gt;&lt;br /&gt;
If you need help with your EV conversion check out my &amp;lt;u&amp;gt;consulting offers&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, if you want to support the project &amp;lt;u&amp;gt;visit the shop&amp;lt;/u&amp;gt;, become a &amp;lt;u&amp;gt;Patron&amp;lt;/u&amp;gt; or send donations to paypal &#039;at&#039; johanneshuebner.com .&lt;br /&gt;
&amp;lt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Open Inverter CAN std.=&lt;br /&gt;
*[[Introduction CAN STD|Introduction]]&lt;br /&gt;
*[[CAN table CAN STD|CAN table]]&lt;br /&gt;
*[[Getting started with CAN bus]]&lt;br /&gt;
&lt;br /&gt;
=Conversion Projects=&lt;br /&gt;
*[[VW Polo 86C Conversion]]&lt;br /&gt;
*[[Touran Conversion]]&lt;br /&gt;
*[[Audi A2 Conversion]]&lt;br /&gt;
*[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=326&amp;amp;hilit=gt86 toyota gt86 nissan leaf motor]&lt;br /&gt;
*[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=210 Porsche Boxster 986 Tesla conversion]&lt;br /&gt;
*[https://openinverter.org/forum/viewforum.php?f=11 Further Projects on the forum]&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=3041</id>
		<title>Main Page Old</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=3041"/>
		<updated>2022-12-08T14:03:08Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Added a warning to the &amp;#039;Getting started&amp;#039; section about trying to modify OEM EVs, and mechical issues on donor vehicles&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Before you begin: =&lt;br /&gt;
&#039;&#039;&#039;Please take the time to read.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You undertake &#039;&#039;&#039;your&#039;&#039;&#039; project at &#039;&#039;&#039;your own risk.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The information provided on this wiki and the support forums is intended as information only&#039;&#039;&#039;.  The Open Inverter project and contributors to the forums and this wiki take no responsibility for how you use the information on this site, nor any liability for injuries, or death, that may result from your actions.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Developers&#039;s time is best spent developing;&#039;&#039;&#039; &#039;&#039;&#039;Support is best found in the forums&#039;&#039;&#039; - Developers of various projects are often bombarded with private messages and emails. Managing these emails and questions is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don&#039;t understand a topic. Developers are not your personal support team, unless you want to pay them directly for their time.     &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Consider donating to the many developers&#039;&#039;&#039; that have made all this possible and to help keep making things possible: &lt;br /&gt;
&lt;br /&gt;
[https://www.patreon.com/openinverter www.patreon.com/openinverter], &lt;br /&gt;
&lt;br /&gt;
https://www.evbmw.com/, &lt;br /&gt;
&lt;br /&gt;
https://www.paypal.com/paypalme/celeron55    &lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/index.php &#039;&#039;&#039;Always check the forums&#039;&#039;&#039;], new developments and solutions are coming along every day, questions being answered, or perhaps you can answer. we work better as a community sharing our knowledge...    &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...update this wiki.&#039;&#039;&#039; Answers and solutions should find their way here so they don&#039;t remain buried in a 30 page long support thread. To edit the wiki, login with your forum credentials.    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Welcome to the open inverter community&#039;&#039;&#039;&lt;br /&gt;
= Legalities=&lt;br /&gt;
*[[Legalities|Legalities around conversion projects]]&lt;br /&gt;
Different countries have different legislation, if you want your car to certified for the road in your country please take the time to review this section. It might save you going down the wrong direction and creating something that can never be driven, or incur costs.&lt;br /&gt;
= Introduction =&lt;br /&gt;
The open inverter started as a scratch built inverter and control board led by Johannes Hübner who designed and built his open open source AC motor controller dubbed the &amp;quot;open inverter&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Since then, the community has established and documented hardware and software approaches to reuse OEM inverters with the Open control board, and has more recently started on controlling OEM inverters over CAN, a process which doesn&#039;t require replacing any internal parts. &lt;br /&gt;
&lt;br /&gt;
The main goal of the open inverter community is to reverse engineer many of these components for use in a variety of projects such as: &lt;br /&gt;
&lt;br /&gt;
* EV conversion&lt;br /&gt;
* Energy storage&lt;br /&gt;
* Power generation&lt;br /&gt;
* Charging infrastructure&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
Open inverter projects now span over many different areas surrounding PEV, HEV, and PHEV components, such as: &lt;br /&gt;
* Motor Controllers&lt;br /&gt;
* 1-3 phase power converters&lt;br /&gt;
* DC/DC converters&lt;br /&gt;
* buck/boost converters&lt;br /&gt;
* Battery Management Systems (BMS)&lt;br /&gt;
* Vehicle integration&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
As a result, there is a growing collection of open source software and hardware designed for the never ending list of OEM parts.  &lt;br /&gt;
&lt;br /&gt;
There&#039;s a variety of methods of repurposing these OEM components. Methods here are generally chosen with future proofing in mind , reducing chances of firmware or software updates from the manufacture &amp;quot;bricking&amp;quot; or blocking the open source control efforts.  &lt;br /&gt;
&lt;br /&gt;
such efforts include:  &lt;br /&gt;
&lt;br /&gt;
* Mainboard/brain replacement&lt;br /&gt;
*[[Getting started with CAN bus|CANBUS/LINBUS]]&lt;br /&gt;
*[[wikipedia:Synchronous_serial_communication|Sync serial]]&lt;br /&gt;
*[[wikipedia:FlexRay|FlexRay]]&lt;br /&gt;
*[[wikipedia:Pulse-width_modulation|PWM]]&lt;br /&gt;
* Sirmware/software reprogramming&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
Resulting in many bespoke boards running the main open inverter software or other open/semi-open source code designed to ether replace OEM motherboards or VCUs.  &lt;br /&gt;
&lt;br /&gt;
This has lead to a large collection of different boards and software, many with redundant features.  To unify many of these development projects, the community at large is focused on making a set of standard VCUs and replacement control boards which handle the ever growing list of OEM components.    &lt;br /&gt;
&lt;br /&gt;
=== Many of the VCU and replacement boards consist of these 3 main parts: ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Hardware&lt;br /&gt;
!Firmware&lt;br /&gt;
!Web Interface&lt;br /&gt;
|-&lt;br /&gt;
|The design and development of the [[Main Board Version 3|control hardware]] based around an STM32F103 chip. This provides the control signals to the power stage and on to the attached components.&lt;br /&gt;
|The development of the code that goes on the STM32F103 chips and determines, amongst other things what signals are sent to the power stage and the attached components.&lt;br /&gt;
|Using an ESP8266 chip, the development of a simple [[Web Interface|web based interface]] to adjust the parameters on the firmware chip and to display values returned from the chip, for example motor speed (RPM).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note:&#039;&#039;&#039; Performing a &#039;full&#039; EV conversion can often be more straight forward than trying to make small modifications to OEM vehicles - an OEM system will normally require a set of components all talking to each other and keeping each other happy! Trying to, for example, add a different battery charger, or bypassing certain restrictions will often require significant reverse engineering of the existing system to ensure that the new component(s) do not cause errors or problems in the system which can avalanche into significant problems! A full EV conversion, in comparison, can usually focus on just keeping one component happy at a time (although integrating these different components can still require a lot of work).&lt;br /&gt;
&lt;br /&gt;
The Community is focused on the electrical systems required for an EV, and may not be best placed to assist with mechanical issues specific to your vehicle.&lt;br /&gt;
&lt;br /&gt;
===Glossary of Terms===&lt;br /&gt;
It is recommended you read the &#039;&#039;&#039;[[Glossary of Terms]]&#039;&#039;&#039; before you begin. Often you&#039;ll find TLAs (three letter acronyms) peppered through the support forum and on this wiki, take the time to familiarise yourself with them before hand, remember this exists, or bookmark/favourite it so you can referent back to it.&lt;br /&gt;
&lt;br /&gt;
===EV conversions:===&lt;br /&gt;
A few main parts are needed for an EV conversion, such as:&lt;br /&gt;
*[[Motors]]&lt;br /&gt;
*[[:Category:Inverter|Inverter]]&lt;br /&gt;
**(&#039;&#039;&#039;Note:&#039;&#039;&#039; ZombieVerter projects require a matched pair of Inverter and Motor as they would have come out of a vehicle)&lt;br /&gt;
*[[Batteries]]&lt;br /&gt;
*[[:Category:Charger|Chargers / Charge Controllers]]&lt;br /&gt;
*[[:Category:DC/DC|DC/DC Converters]]&lt;br /&gt;
*[[:Category:HVJB|HV Junction Box]]&lt;br /&gt;
*[[Heaters]]&lt;br /&gt;
*[[:Category:HVAC|HVAC]]&lt;br /&gt;
*Brake Assist &lt;br /&gt;
**Vacuum Pumps&lt;br /&gt;
**Electronic Brake Boosters&lt;br /&gt;
*[[:Category:Power Steering|Power Steering]]&lt;br /&gt;
*[[Rapid Charging]]&lt;br /&gt;
&lt;br /&gt;
Existing information on these items can be found on the &amp;lt;u&amp;gt;[[EV Conversion Parts]]&amp;lt;/u&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
===OEM Parts: ===&lt;br /&gt;
A variety of [[:Category:OEM|OEM]] parts members of the community have reversed engineered for custom use cases:&lt;br /&gt;
*[[:Category:BMW|BMW]]&lt;br /&gt;
*[[:Category:Chevrolet|Chevrolet]]&lt;br /&gt;
*[[:Category:Ford|Ford]]&lt;br /&gt;
*[[:Category:Hyundai|Hyundai]]&lt;br /&gt;
*[[Isabellenhütte Heusler]]&lt;br /&gt;
*[[:Category:Mercedes-Benz|Mercedes-Benz]]&lt;br /&gt;
*[[:Category:Mitsubishi|Mitsubishi]]&lt;br /&gt;
*[[Nissan]]&lt;br /&gt;
*[[:Category:Opel|Opel/Vauxhall]]&lt;br /&gt;
*[[:Category:Tesla|Tesla]]&lt;br /&gt;
*[[Toyota|Toyota/Lexus]]&lt;br /&gt;
*[[:Category:VAG|VAG (VW, Audi, Skoda, Seat, Porsche, ...)]]&lt;br /&gt;
*[[:Category:Volvo|Volvo]]&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
===FAQ===&lt;br /&gt;
&lt;br /&gt;
*[[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
*[[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
*[[Electronics Basics]] - general advice for troubleshooting electronic circuits&lt;br /&gt;
*[[I want a cheap ev conversion|cheap EV conversions]] - this entry point for the penny pinchers&lt;br /&gt;
*[[I want a powerful ev conversion|performant EV conversions]]  - where torque trumps money&lt;br /&gt;
&lt;br /&gt;
=Mechanical Design Database=&lt;br /&gt;
[[Mechanical design database]]&lt;br /&gt;
&lt;br /&gt;
here you will find measurements, models, files, etc for a variety of components  such as:&lt;br /&gt;
&lt;br /&gt;
*adapter plates&lt;br /&gt;
*motor couplers&lt;br /&gt;
* drive shaft flanges&lt;br /&gt;
*battery mounts&lt;br /&gt;
*etc.&lt;br /&gt;
&lt;br /&gt;
=Open Inverter Projects=&lt;br /&gt;
&lt;br /&gt;
===Open Inverter (Core Project/s)===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
!Description  / Notes&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;ZombieVerter VCU&#039;&#039;&#039;&lt;br /&gt;
*[[ZombieVerter VCU]]&lt;br /&gt;
*[[Web Interface (ZombieVerter VCU)|Web Interface]]&lt;br /&gt;
*[[OEM component compatibility]]&lt;br /&gt;
|Designed around a matched pair of Inverter and Motor taken from the original OEM vehicle the ZombieVerter is there to make those two components believe they are still in the original vehicle and are fed necessary commands to act as if they still are and interpret and responses back from the equipment for feedback (regen / rpm / etc)&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Open Inverter Hardware&#039;&#039;&#039;&lt;br /&gt;
*[[Hardware Theory of Operation]]&lt;br /&gt;
*[[Schematics and Instructions]] - for the &amp;quot;vanilla&amp;quot; inverter kit.&lt;br /&gt;
*[[Mini Mainboard]]&lt;br /&gt;
*[[Main Board Version 3]]&lt;br /&gt;
*[[Main Board Version 2]]&lt;br /&gt;
*[[Main Board Version 1]]&lt;br /&gt;
*[[Sense Boards]]&lt;br /&gt;
*[[Gate Driver]]&lt;br /&gt;
*[[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
*[[OEM Repurposing]]&lt;br /&gt;
|Quite flexible in its application. The Open Inverter can be used to build a custom inverter itself where you supply the high power and high voltage components to create your own inverter, or to be used as the basis to take over control of OEM inverters so that they can drive nearly any attached motor to that inverter.&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |&#039;&#039;&#039;Open Inverter Software&#039;&#039;&#039;&lt;br /&gt;
*[[Using FOC Software]]&lt;br /&gt;
*[[Downloads]]&lt;br /&gt;
*[[Features]]&lt;br /&gt;
*[[Web Interface]]&lt;br /&gt;
*[[Battery Charging]]&lt;br /&gt;
*[[Errors]]&lt;br /&gt;
*[[CAN communication]]&lt;br /&gt;
*[[Parameters]] (Tune your inverter)&lt;br /&gt;
*[[Configuration Files]]&lt;br /&gt;
*[[Software Theory of Operation]]&lt;br /&gt;
*[[Open Inverter Testing]]&lt;br /&gt;
|Two of the more important software aspects to master are below.&amp;lt;!-- Just repurposed the can comms and parameters text. didn&#039;t want to get rid, but also perhaps more from the left column could be here? --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;CAN communication&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Common across boards is the ability to communicate with a CAN Bus, which is a &#039;control area network&#039; or a technical way of saying how various components, sensors, controls, etc communicate with one another within the car. &#039;&#039;&#039;Read more about [[CAN communication|CAN Communication]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There is also a project to standardise the messages across the various control boards, [[Introduction CAN STD|read more]]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The openinverter firmware uses a set of about 70 parameters to adapt it to different inverter power stages, motors and position feedback systems. Also it lets you calibrate the throttle pedal, change regenerative braking settings and so on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameter definitions can be found here: [[Parameters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Working parameter sets can be found in the [https://openinverter.org/parameters openinverter parameter database]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Open Inverter Related Projects (Control Boards/VCUs)===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Project&lt;br /&gt;
!Description  / Notes&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Tesla|Tesla Small Drive and Large Drive Units:]]&#039;&#039;&#039;&lt;br /&gt;
|Commonly there is a large drive unit and small drive unit available from the Model S. &amp;lt;!-- Model 3 options? --&amp;gt;&lt;br /&gt;
These combine the inverter and motor into a single package.  &lt;br /&gt;
&lt;br /&gt;
The control boards for these replace the existing control board within them. &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Lexus GS450h Drivetrain]]:&#039;&#039;&#039;&lt;br /&gt;
|The GS450h contains a gearbox (where the motors are located).&lt;br /&gt;
Using the [[ZombieVerter VCU]], the inverter and the gearbox itself provide  &lt;br /&gt;
&lt;br /&gt;
a powerful set up suitable for rear wheel drive set ups, replacing the existing longitudinally mounted gearbox.  &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Toyota Prius Gen3 Board|Prius Generation 3 Inverter:]]&#039;&#039;&#039;&lt;br /&gt;
|A cheap available inverter from the popular Prius hybrid, this&lt;br /&gt;
board goes inside that inverter and allows you to control the features of it.&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Auris/Yaris Inverter:]]&#039;&#039;&#039;&lt;br /&gt;
|Similar to the Prius board, there&#039;s subtle differences between them&lt;br /&gt;
and therefore the need for a separate board. &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Nissan Leaf Gen2 Board]]&#039;&#039;&#039;&lt;br /&gt;
|Replaces the nissan OEM logic board with a rev 3 openiverter main board&lt;br /&gt;
|-&lt;br /&gt;
|[[Ford ranger ev board|&#039;&#039;&#039;Ford ranger ev board&#039;&#039;&#039;]]&lt;br /&gt;
|openinverter kit for the ford ranger ev&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |[[OEM Repurposing|&#039;&#039;&#039;All Control Boards / OEM Inverters&#039;&#039;&#039;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Use inverter as a battery Charger===&lt;br /&gt;
Both the open inverter and some OEM inverters can be used as a battery charger, further saving on component costs. You can read more about how the open inverter and the theory of charging [[Battery Charging|here]].&lt;br /&gt;
&lt;br /&gt;
===Open Inverter Renewables Projects===&lt;br /&gt;
Recently added to the forums are projects and discussions around turning the Open Inverter project towards capturing, storing and using renewable energy.&amp;lt;!--&amp;gt;&lt;br /&gt;
If you need help with your EV conversion check out my &amp;lt;u&amp;gt;consulting offers&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, if you want to support the project &amp;lt;u&amp;gt;visit the shop&amp;lt;/u&amp;gt;, become a &amp;lt;u&amp;gt;Patron&amp;lt;/u&amp;gt; or send donations to paypal &#039;at&#039; johanneshuebner.com .&lt;br /&gt;
&amp;lt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Open Inverter CAN std.=&lt;br /&gt;
*[[Introduction CAN STD|Introduction]]&lt;br /&gt;
*[[CAN table CAN STD|CAN table]]&lt;br /&gt;
*[[Getting started with CAN bus]]&lt;br /&gt;
&lt;br /&gt;
=Conversion Projects=&lt;br /&gt;
*[[VW Polo 86C Conversion]]&lt;br /&gt;
*[[Touran Conversion]]&lt;br /&gt;
*[[Audi A2 Conversion]]&lt;br /&gt;
*[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=326&amp;amp;hilit=gt86 toyota gt86 nissan leaf motor]&lt;br /&gt;
*[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=210 Porsche Boxster 986 Tesla conversion]&lt;br /&gt;
*[https://openinverter.org/forum/viewforum.php?f=11 Further Projects on the forum]&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=3038</id>
		<title>Main Page Old</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=3038"/>
		<updated>2022-12-08T13:53:02Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Capitalisation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Before you begin: =&lt;br /&gt;
&#039;&#039;&#039;Please take the time to read.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You undertake &#039;&#039;&#039;your&#039;&#039;&#039; project at &#039;&#039;&#039;your own risk.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The information provided on this wiki and the support forums is intended as information only&#039;&#039;&#039;.  The Open Inverter project and contributors to the forums and this wiki take no responsibility for how you use the information on this site, nor any liability for injuries, or death, that may result from your actions.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Developers&#039;s time is best spent developing;&#039;&#039;&#039; &#039;&#039;&#039;Support is best found in the forums&#039;&#039;&#039; - Developers of various projects are often bombarded with private messages and emails. Managing these emails and questions is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don&#039;t understand a topic. Developers are not your personal support team, unless you want to pay them directly for their time.     &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Consider donating to the many developers&#039;&#039;&#039; that have made all this possible and to help keep making things possible: &lt;br /&gt;
&lt;br /&gt;
[https://www.patreon.com/openinverter www.patreon.com/openinverter], &lt;br /&gt;
&lt;br /&gt;
https://www.evbmw.com/, &lt;br /&gt;
&lt;br /&gt;
https://www.paypal.com/paypalme/celeron55    &lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/index.php &#039;&#039;&#039;Always check the forums&#039;&#039;&#039;], new developments and solutions are coming along every day, questions being answered, or perhaps you can answer. we work better as a community sharing our knowledge...    &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;...update this wiki.&#039;&#039;&#039; Answers and solutions should find their way here so they don&#039;t remain buried in a 30 page long support thread. To edit the wiki, login with your forum credentials.    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Welcome to the open inverter community&#039;&#039;&#039;&lt;br /&gt;
= Legalities=&lt;br /&gt;
*[[Legalities|Legalities around conversion projects]]&lt;br /&gt;
Different countries have different legislation, if you want your car to certified for the road in your country please take the time to review this section. It might save you going down the wrong direction and creating something that can never be driven, or incur costs.&lt;br /&gt;
= Introduction =&lt;br /&gt;
The open inverter started as a scratch built inverter and control board led by Johannes Hübner who designed and built his open open source AC motor controller dubbed the &amp;quot;open inverter&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Since then, the community has established and documented hardware and software approaches to reuse OEM inverters with the Open control board, and has more recently started on controlling OEM inverters over CAN, a process which doesn&#039;t require replacing any internal parts. &lt;br /&gt;
&lt;br /&gt;
The main goal of the open inverter community is to reverse engineer many of these components for use in a variety of projects such as: &lt;br /&gt;
&lt;br /&gt;
* EV conversion&lt;br /&gt;
* Energy storage&lt;br /&gt;
* Power generation&lt;br /&gt;
* Charging infrastructure&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
Open inverter projects now span over many different areas surrounding PEV, HEV, and PHEV components, such as: &lt;br /&gt;
* Motor Controllers&lt;br /&gt;
* 1-3 phase power converters&lt;br /&gt;
* DC/DC converters&lt;br /&gt;
* buck/boost converters&lt;br /&gt;
* Battery Management Systems (BMS)&lt;br /&gt;
* Vehicle integration&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
As a result, there is a growing collection of open source software and hardware designed for the never ending list of OEM parts.  &lt;br /&gt;
&lt;br /&gt;
There&#039;s a variety of methods of repurposing these OEM components. Methods here are generally chosen with future proofing in mind , reducing chances of firmware or software updates from the manufacture &amp;quot;bricking&amp;quot; or blocking the open source control efforts.  &lt;br /&gt;
&lt;br /&gt;
such efforts include:  &lt;br /&gt;
&lt;br /&gt;
* Mainboard/brain replacement&lt;br /&gt;
*[[Getting started with CAN bus|CANBUS/LINBUS]]&lt;br /&gt;
*[[wikipedia:Synchronous_serial_communication|Sync serial]]&lt;br /&gt;
*[[wikipedia:FlexRay|FlexRay]]&lt;br /&gt;
*[[wikipedia:Pulse-width_modulation|PWM]]&lt;br /&gt;
* Sirmware/software reprogramming&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
Resulting in many bespoke boards running the main open inverter software or other open/semi-open source code designed to ether replace OEM motherboards or VCUs.  &lt;br /&gt;
&lt;br /&gt;
This has lead to a large collection of different boards and software, many with redundant features.  To unify many of these development projects, the community at large is focused on making a set of standard VCUs and replacement control boards which handle the ever growing list of OEM components.    &lt;br /&gt;
&lt;br /&gt;
=== Many of the VCU and replacement boards consist of these 3 main parts: ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Hardware&lt;br /&gt;
!Firmware&lt;br /&gt;
!Web Interface&lt;br /&gt;
|-&lt;br /&gt;
|The design and development of the [[Main Board Version 3|control hardware]] based around an STM32F103 chip. This provides the control signals to the power stage and on to the attached components.&lt;br /&gt;
|The development of the code that goes on the STM32F103 chips and determines, amongst other things what signals are sent to the power stage and the attached components.&lt;br /&gt;
|Using an ESP8266 chip, the development of a simple [[Web Interface|web based interface]] to adjust the parameters on the firmware chip and to display values returned from the chip, for example motor speed (RPM).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
===Glossary of Terms===&lt;br /&gt;
It is recommended you read the &#039;&#039;&#039;[[Glossary of Terms]]&#039;&#039;&#039; before you begin. Often you&#039;ll find TLAs (three letter acronyms) peppered through the support forum and on this wiki, take the time to familiarise yourself with them before hand, remember this exists, or bookmark/favourite it so you can referent back to it.&lt;br /&gt;
&lt;br /&gt;
===EV conversions:===&lt;br /&gt;
A few main parts are needed for an EV conversion, such as:&lt;br /&gt;
*[[Motors]]&lt;br /&gt;
*[[:Category:Inverter|Inverter]]&lt;br /&gt;
**(&#039;&#039;&#039;Note:&#039;&#039;&#039; ZombieVerter projects require a matched pair of Inverter and Motor as they would have come out of a vehicle)&lt;br /&gt;
*[[Batteries]]&lt;br /&gt;
*[[:Category:Charger|Chargers / Charge Controllers]]&lt;br /&gt;
*[[:Category:DC/DC|DC/DC Converters]]&lt;br /&gt;
*[[:Category:HVJB|HV Junction Box]]&lt;br /&gt;
*[[Heaters]]&lt;br /&gt;
*[[:Category:HVAC|HVAC]]&lt;br /&gt;
*Brake Assist &lt;br /&gt;
**Vacuum Pumps&lt;br /&gt;
**Electronic Brake Boosters&lt;br /&gt;
*[[:Category:Power Steering|Power Steering]]&lt;br /&gt;
*[[Rapid Charging]]&lt;br /&gt;
&lt;br /&gt;
Existing information on these items can be found on the &amp;lt;u&amp;gt;[[EV Conversion Parts]]&amp;lt;/u&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
===OEM Parts: ===&lt;br /&gt;
A variety of [[:Category:OEM|OEM]] parts members of the community have reversed engineered for custom use cases:&lt;br /&gt;
*[[:Category:BMW|BMW]]&lt;br /&gt;
*[[:Category:Chevrolet|Chevrolet]]&lt;br /&gt;
*[[:Category:Ford|Ford]]&lt;br /&gt;
*[[:Category:Hyundai|Hyundai]]&lt;br /&gt;
*[[Isabellenhütte Heusler]]&lt;br /&gt;
*[[:Category:Mercedes-Benz|Mercedes-Benz]]&lt;br /&gt;
*[[:Category:Mitsubishi|Mitsubishi]]&lt;br /&gt;
*[[Nissan]]&lt;br /&gt;
*[[:Category:Opel|Opel/Vauxhall]]&lt;br /&gt;
*[[:Category:Tesla|Tesla]]&lt;br /&gt;
*[[Toyota|Toyota/Lexus]]&lt;br /&gt;
*[[:Category:VAG|VAG (VW, Audi, Skoda, Seat, Porsche, ...)]]&lt;br /&gt;
*[[:Category:Volvo|Volvo]]&amp;lt;br /&amp;gt;&lt;br /&gt;
===FAQ===&lt;br /&gt;
&lt;br /&gt;
*[[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
*[[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
*[[Electronics Basics]] - general advice for troubleshooting electronic circuits&lt;br /&gt;
*[[I want a cheap ev conversion|cheap EV conversions]] - this entry point for the penny pinchers&lt;br /&gt;
*[[I want a powerful ev conversion|performant EV conversions]]  - where torque trumps money&lt;br /&gt;
&lt;br /&gt;
=Mechanical Design Database=&lt;br /&gt;
[[Mechanical design database]]&lt;br /&gt;
&lt;br /&gt;
here you will find measurements, models, files, etc for a variety of components  such as:&lt;br /&gt;
&lt;br /&gt;
*adapter plates&lt;br /&gt;
*motor couplers&lt;br /&gt;
* drive shaft flanges&lt;br /&gt;
*battery mounts&lt;br /&gt;
*etc.&lt;br /&gt;
&lt;br /&gt;
=Open Inverter Projects=&lt;br /&gt;
&lt;br /&gt;
===Open Inverter (Core Project/s)===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
!Description  / Notes&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;ZombieVerter VCU&#039;&#039;&#039;&lt;br /&gt;
*[[ZombieVerter VCU]]&lt;br /&gt;
*[[Web Interface (ZombieVerter VCU)|Web Interface]]&lt;br /&gt;
*[[OEM component compatibility]]&lt;br /&gt;
|Designed around a matched pair of Inverter and Motor taken from the original OEM vehicle the ZombieVerter is there to make those two components believe they are still in the original vehicle and are fed necessary commands to act as if they still are and interpret and responses back from the equipment for feedback (regen / rpm / etc)&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Open Inverter Hardware&#039;&#039;&#039;&lt;br /&gt;
*[[Hardware Theory of Operation]]&lt;br /&gt;
*[[Schematics and Instructions]] - for the &amp;quot;vanilla&amp;quot; inverter kit.&lt;br /&gt;
*[[Mini Mainboard]]&lt;br /&gt;
*[[Main Board Version 3]]&lt;br /&gt;
*[[Main Board Version 2]]&lt;br /&gt;
*[[Main Board Version 1]]&lt;br /&gt;
*[[Sense Boards]]&lt;br /&gt;
*[[Gate Driver]]&lt;br /&gt;
*[[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
*[[OEM Repurposing]]&lt;br /&gt;
|Quite flexible in its application. The Open Inverter can be used to build a custom inverter itself where you supply the high power and high voltage components to create your own inverter, or to be used as the basis to take over control of OEM inverters so that they can drive nearly any attached motor to that inverter.&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |&#039;&#039;&#039;Open Inverter Software&#039;&#039;&#039;&lt;br /&gt;
*[[Using FOC Software]]&lt;br /&gt;
*[[Downloads]]&lt;br /&gt;
*[[Features]]&lt;br /&gt;
*[[Web Interface]]&lt;br /&gt;
*[[Battery Charging]]&lt;br /&gt;
*[[Errors]]&lt;br /&gt;
*[[CAN communication]]&lt;br /&gt;
*[[Parameters]] (Tune your inverter)&lt;br /&gt;
*[[Configuration Files]]&lt;br /&gt;
*[[Software Theory of Operation]]&lt;br /&gt;
*[[Open Inverter Testing]]&lt;br /&gt;
|Two of the more important software aspects to master are below.&amp;lt;!-- Just repurposed the can comms and parameters text. didn&#039;t want to get rid, but also perhaps more from the left column could be here? --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;CAN communication&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Common across boards is the ability to communicate with a CAN Bus, which is a &#039;control area network&#039; or a technical way of saying how various components, sensors, controls, etc communicate with one another within the car. &#039;&#039;&#039;Read more about [[CAN communication|CAN Communication]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There is also a project to standardise the messages across the various control boards, [[Introduction CAN STD|read more]]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Parameters&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The openinverter firmware uses a set of about 70 parameters to adapt it to different inverter power stages, motors and position feedback systems. Also it lets you calibrate the throttle pedal, change regenerative braking settings and so on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameter definitions can be found here: [[Parameters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Working parameter sets can be found in the [https://openinverter.org/parameters openinverter parameter database]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Open Inverter Related Projects (Control Boards/VCUs)===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Project&lt;br /&gt;
!Description  / Notes&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Tesla|Tesla Small Drive and Large Drive Units:]]&#039;&#039;&#039;&lt;br /&gt;
|Commonly there is a large drive unit and small drive unit available from the Model S. &amp;lt;!-- Model 3 options? --&amp;gt;&lt;br /&gt;
These combine the inverter and motor into a single package.  &lt;br /&gt;
&lt;br /&gt;
The control boards for these replace the existing control board within them. &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Lexus GS450h Drivetrain]]:&#039;&#039;&#039;&lt;br /&gt;
|The GS450h contains a gearbox (where the motors are located).&lt;br /&gt;
Using the [[ZombieVerter VCU]], the inverter and the gearbox itself provide  &lt;br /&gt;
&lt;br /&gt;
a powerful set up suitable for rear wheel drive set ups, replacing the existing longitudinally mounted gearbox.  &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Toyota Prius Gen3 Board|Prius Generation 3 Inverter:]]&#039;&#039;&#039;&lt;br /&gt;
|A cheap available inverter from the popular Prius hybrid, this&lt;br /&gt;
board goes inside that inverter and allows you to control the features of it.&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Auris/Yaris Inverter:]]&#039;&#039;&#039;&lt;br /&gt;
|Similar to the Prius board, there&#039;s subtle differences between them&lt;br /&gt;
and therefore the need for a separate board. &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Nissan Leaf Gen2 Board]]&#039;&#039;&#039;&lt;br /&gt;
|Replaces the nissan OEM logic board with a rev 3 openiverter main board&lt;br /&gt;
|-&lt;br /&gt;
|[[Ford ranger ev board|&#039;&#039;&#039;Ford ranger ev board&#039;&#039;&#039;]]&lt;br /&gt;
|openinverter kit for the ford ranger ev&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; |[[OEM Repurposing|&#039;&#039;&#039;All Control Boards / OEM Inverters&#039;&#039;&#039;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Use inverter as a battery Charger===&lt;br /&gt;
Both the open inverter and some OEM inverters can be used as a battery charger, further saving on component costs. You can read more about how the open inverter and the theory of charging [[Battery Charging|here]].&lt;br /&gt;
&lt;br /&gt;
===Open Inverter Renewables Projects===&lt;br /&gt;
Recently added to the forums are projects and discussions around turning the Open Inverter project towards capturing, storing and using renewable energy.&amp;lt;!--&amp;gt;&lt;br /&gt;
If you need help with your EV conversion check out my &amp;lt;u&amp;gt;consulting offers&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, if you want to support the project &amp;lt;u&amp;gt;visit the shop&amp;lt;/u&amp;gt;, become a &amp;lt;u&amp;gt;Patron&amp;lt;/u&amp;gt; or send donations to paypal &#039;at&#039; johanneshuebner.com .&lt;br /&gt;
&amp;lt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Open Inverter CAN std.=&lt;br /&gt;
*[[Introduction CAN STD|Introduction]]&lt;br /&gt;
*[[CAN table CAN STD|CAN table]]&lt;br /&gt;
*[[Getting started with CAN bus]]&lt;br /&gt;
&lt;br /&gt;
=Conversion Projects=&lt;br /&gt;
*[[VW Polo 86C Conversion]]&lt;br /&gt;
*[[Touran Conversion]]&lt;br /&gt;
*[[Audi A2 Conversion]]&lt;br /&gt;
*[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=326&amp;amp;hilit=gt86 toyota gt86 nissan leaf motor]&lt;br /&gt;
*[https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=210 Porsche Boxster 986 Tesla conversion]&lt;br /&gt;
*[https://openinverter.org/forum/viewforum.php?f=11 Further Projects on the forum]&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Alternators&amp;diff=1499</id>
		<title>Alternators</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Alternators&amp;diff=1499"/>
		<updated>2021-04-15T16:20:15Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Ty[po&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Automotive alternators are widely available, very low cost (even free, reclaimed), and designed to operate for long lifetimes in aggressive engine-bay environments. Although not an obvious choice, and unsuitable for driving cars, they can be an interesting choice for low power applications (motorcycles, garden equipment, ancillaries).&lt;br /&gt;
&lt;br /&gt;
There are a huge variety of alternators available, so the below is based only on the few types the author has experience of. Some experimentation is likely to be required!&lt;br /&gt;
&lt;br /&gt;
They have a separate field current, and act as a Surface Permanent Magnet Synchronous Motor (SPMSM) which the OpenInverter firmware is currently not optimised for - they will run happily using the FOC firmware though, and it is only a very simple code edit required to get the best from them.&lt;br /&gt;
&lt;br /&gt;
== Construction ==&lt;br /&gt;
Alternators are, in fact, polyphase machines connected to a rectifier, together with a regulator which adjusts a field current to maintain the desired output. The field current is passed to a rotor winding via two slip rings to generate the magnetic field. These slip rings last much longer, and produce less electrical noise than, typical motor brushes, as there is no commutation. Currents and voltages are also low, typically reaching a couple of amps.&lt;br /&gt;
&lt;br /&gt;
Clearly, trying to make an alternator spin by applying DC voltage to its external connections will not work, they are not DC machines.&lt;br /&gt;
&lt;br /&gt;
Removing the regulator and rectifier (sometimes these are separate, but more often are one unit, often including the brush holders) is generally easy, as these parts are generally what causes an alternator to fail in normal service (the diodes etc are most affected by heat and vibration). Happily, removing the regulator and rectifier exposes the phase connections for us to use!&lt;br /&gt;
&lt;br /&gt;
Some alternators have permanent magnet rotors, or even rotors with both field coils and permanent magnets. A permanent magnet rotor is slightly easier to drive (no field current to worry about) but is less flexible. An alternator with only a field coil and no permanent magnets is more &#039;adjustable&#039; and can be driven very hot (you only have to worry about insulation temperature rating) without permanent damage. An alternator with both a wound rotor and permanent magnets will run without field current, and also generate a stronger field, but you have to watch the temperature so as not to demagnetise the magnets, and also field current polarity to work with, and not against, the magnets.&lt;br /&gt;
&lt;br /&gt;
== Alternator types ==&lt;br /&gt;
Focusing only on automotive alternators (alternators are of course available from the marine and aviation fields, but these tend to be much more expensive and difficult to find), units are commonly available in 12 or 24V applications, and with various current ratings, depending upon the vehicle they are specified for.&lt;br /&gt;
&lt;br /&gt;
=== Voltage ===&lt;br /&gt;
It may be tempting to chose a higher voltage alternator, to &#039;better match&#039; your pack voltages. Some 24V alternators, however, are simply &#039;normal&#039; 12V alternators with different regulator/rectifier modules fitted. Some may have different windings and a lower Kv, which may be useful - experimentation needed!&lt;br /&gt;
&lt;br /&gt;
=== Current rating ===&lt;br /&gt;
An alternator with a higher current rating will likely handle higher phase currents better. Unfortunately, some newer higher output alternators are actually 6 phase, rather than 3 phase. Constructing a 6 phase inverter, or combining adjacent phases to make the alternator 3 phase, would be possible, but may be difficult to do successfully. It can be difficult to determine the number of phases in a particular alternator before beginning disassembly.&lt;br /&gt;
&lt;br /&gt;
=== Max rpm ===&lt;br /&gt;
As with any motor, it is important not to exceed the maximum rpm (too much!), but this is rarely listed on the alternator specification. You can calculate it but finding the/a vehicle it is fitted to, find the engine redline rpm, crankshaft pulley diameter, and measure the alternator pulley diameter. You should then be able to calculate what rpm the alternator is turning at the engine redline. This would be a sensible limit!&lt;br /&gt;
&lt;br /&gt;
=== Pulley ===&lt;br /&gt;
Some modern alternators come fitted with a pulley that free-wheels in one direction (has a Spragg clutch) - this allows, for example, a car engine to rapidly decelerate while changing gears without loading the alternator and belt. Of course, that means you get either no drive, or no regen (depending on your vehicle and drivetrain)! Look for an alternator with a solid pulley - the one-way pulleys have what looks like a bearing visible from the front (sometimes covered with a plastic cap), solid pulleys should be fairly obvious.&lt;br /&gt;
&lt;br /&gt;
== Driving the alternator ==&lt;br /&gt;
Once the rectifier is removed and you have access to the phase windings, you may need to connect them into star or delta configuration (it seems the the stator coils tend to be generic, exposing all 6 connections, and the rectifier &#039;chooses&#039; how to connect them up), and then wire the three phases to the inverter. In addition (for alternators with a field coil), you will also need to provide power to the rotor through the brushes. Use a current-regulated supply - 5A is plenty to drive the rotor into saturation, start with ~1.5 - 2A.&lt;br /&gt;
&lt;br /&gt;
=== Position feedback ===&lt;br /&gt;
Alternators don&#039;t need position feedback in their intended service, so we&#039;ll have to add our own. Any device suitable for the FOC firmware will work, but some will be easier to mount than others. The Melexis sin/cos encoder ICs are simple to interface with, and simply require accurate axial mounting ~5mm above the end of the shaft, to which a small diametrically magnetised (across the diameter) circular magnet is affixed. Using the slip ring end of the shaft is likely to be the simplest. You may need to adjust the axial alignment of the IC later while the motor is running to minimise offset/vibration.&lt;br /&gt;
&lt;br /&gt;
=== Inverter configuration ===&lt;br /&gt;
Flash the FOC firmware and do the normal checks. Connect your current regulated supply to two of the phase connections and the field, the motor should &#039;snap&#039; to a position. Turn the rotor by hand over 360°, counting the &#039;cogs&#039; - this is your polepairs. Set the position feedback (encoder/resolver) to suit your hardware, and wire everything up. Complete syncoffset calibration, and your alternator should now be a motor!&lt;br /&gt;
&lt;br /&gt;
=== Enhancements ===&lt;br /&gt;
As previously noted, the OpenInverter FOC code is optimised for IPMSMs (Interior permanent magnet synchronous motors), which require some Id. SPMSMs like the alternator require no Id. [https://github.com/mjc-506/stm32-sine/commit/d95329d993c0b43ea142e061be9735d34d3b58b4 Here is a github commit to a fork of the standard OpenInverter code that adds a parameter to chose between IPMSM and SPMSM, and sets Id to 0 for the latter.] (this may need adjusting to suit other parameters added to the main code)&lt;br /&gt;
&lt;br /&gt;
You will not need field weakening! Set fwkp = 0.&lt;br /&gt;
&lt;br /&gt;
=== Field control ===&lt;br /&gt;
With the motor spinning at a fixed but reasonably low throttle/speed, adjust the your field current. You should find that motor rpm increases as field current decreases and visa versa. Likewise, peak torque will increase with field current, up until the rotor saturates (usually by ~5A). You can calculate the Kv and Ki for different field currents by driving the rotor at a set speed (with a battery drill perhaps) and measuring (peak) phase voltage and frequency/rpm. This may be useful later when driving something to get the best out of the motor at different speeds.&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Alternators&amp;diff=1498</id>
		<title>Alternators</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Alternators&amp;diff=1498"/>
		<updated>2021-04-15T16:19:39Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Added link to SPMSM code edit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Automotive alternators are widely available, very low cost (even free, reclaimed), and designed to operate for long lifetimes in aggressive engine-bay environments. Although not an obvious choice, and unsuitable for driving cars, they can be an interesting choice for low power applications (motorcycles, garden equipment, ancillaries).&lt;br /&gt;
&lt;br /&gt;
There are a huge variety of alternators available, so the below is based only on the few types the author has experience of. Some experimentation is likely to be required!&lt;br /&gt;
&lt;br /&gt;
They have a separate field current, and act as a Surface Permanent Magnet Synchronous Motor (SPMSM) which the OpenInverter firmware is currently not optimised for - they will run happily using the FOC firmware though, and it is only a very simple code edit required to get the best from them.&lt;br /&gt;
&lt;br /&gt;
== Construction ==&lt;br /&gt;
Alternators are, in fact, polyphase machines connected to a rectifier, together with a regulator which adjusts a field current to maintain the desired output. The field current is passed to a rotor winding via two slip rings to generate the magnetic field. These slip rings last much longer, and produce less electrical noise than, typical motor brushes, as there is no commutation. Currents and voltages are also low, typically reaching a couple of amps.&lt;br /&gt;
&lt;br /&gt;
Clearly, trying to make an alternator spin by applying DC voltage to its external connections will not work, they are not DC machines.&lt;br /&gt;
&lt;br /&gt;
Removing the regulator and rectifier (sometimes these are separate, but more often are one unit, often including the brush holders) is generally easy, as these parts are generally what causes an alternator to fail in normal service (the diodes etc are most affected by heat and vibration). Happily, removing the regulator and rectifier exposes the phase connections for us to use!&lt;br /&gt;
&lt;br /&gt;
Some alternators have permanent magnet rotors, or even rotors with both field coils and permanent magnets. A permanent magnet rotor is slightly easier to drive (no field current to worry about) but is less flexible. An alternator with only a field coil and no permanent magnets is more &#039;adjustable&#039; and can be driven very hot (you only have to worry about insulation temperature rating) without permanent damage. An alternator with both a wound rotor and permanent magnets will run without field current, and also generate a stronger field, but you have to watch the temperature so as not to demagnetise the magnets, and also field current polarity to work with, and not against, the magnets.&lt;br /&gt;
&lt;br /&gt;
== Alternator types ==&lt;br /&gt;
Focusing only on automotive alternators (alternators are of course available from the marine and aviation fields, but these tend to be much more expensive and difficult to find), units are commonly available in 12 or 24V applications, and with various current ratings, depending upon the vehicle they are specified for.&lt;br /&gt;
&lt;br /&gt;
=== Voltage ===&lt;br /&gt;
It may be tempting to chose a higher voltage alternator, to &#039;better match&#039; your pack voltages. Some 24V alternators, however, are simply &#039;normal&#039; 12V alternators with different regulator/rectifier modules fitted. Some may have different windings and a lower Kv, which may be useful - experimentation needed!&lt;br /&gt;
&lt;br /&gt;
=== Current rating ===&lt;br /&gt;
An alternator with a higher current rating will likely handle higher phase currents better. Unfortunately, some newer higher output alternators are actually 6 phase, rather than 3 phase. Constructing a 6 phase inverter, or combining adjacent phases to make the alternator 3 phase, would be possible, but may be difficult to do successfully. It can be difficult to determine the number of phases in a particular alternator before beginning disassembly.&lt;br /&gt;
&lt;br /&gt;
=== Max rpm ===&lt;br /&gt;
As with any motor, it is important not to exceed the maximum rpm (too much!), but this is rarely listed on the alternator specification. You can calculate it but finding the/a vehicle it is fitted to, find the engine redline rpm, crankshaft pulley diameter, and measure the alternator pulley diameter. You should then be able to calculate what rpm the alternator is turning at the engine redline. This would be a sensible limit!&lt;br /&gt;
&lt;br /&gt;
=== Pulley ===&lt;br /&gt;
Some modern alternators come fitted with a pulley that free-wheels in one direction (has a Spragg clutch) - this allows, for example, a car engine to rapidly decelerate while changing gears without loading the alternator and belt. Of course, that means you get either no drive, or no regen (depending on your vehicle and drivetrain)! Look for an alternator with a solid pulley - the one-way pulleys have what looks like a bearing visible from the front (sometimes covered with a plastic cap), solid pulleys should be fairly obvious.&lt;br /&gt;
&lt;br /&gt;
== Driving the alternator ==&lt;br /&gt;
Once the rectifier is removed and you have access to the phase windings, you may need to connect them into star or delta configuration (it seems the the stator coils tend to be generic, exposing all 6 connections, and the rectifier &#039;chooses&#039; how to connect them up), and then wire the three phases to the inverter. In addition (for alternators with a field coil), you will also need to provide power to the rotor through the brushes. Use a current-regulated supply - 5A is plenty to drive the rotor into saturation, start with ~1.5 - 2A.&lt;br /&gt;
&lt;br /&gt;
=== Position feedback ===&lt;br /&gt;
Alternators don&#039;t need position feedback in their intended service, so we&#039;ll have to add our own. Any device suitable for the FOC firmware will work, but some will be easier to mount than others. The Melexis sin/cos encoder ICs are simple to interface with, and simply require accurate axial mounting ~5mm above the end of the shaft, to which a small diametrically magnetised (across the diameter) circular magnet is affixed. Using the slip ring end of the shaft is likely to be the simplest. You may need to adjust the axial alignment of the IC later while the motor is running to minimise offset/vibration.&lt;br /&gt;
&lt;br /&gt;
=== Inverter configuration ===&lt;br /&gt;
Flash the FOC firmware and do the normal checks. Connect your current regulated supply to two of the phase connections and the field, the motor should &#039;snap&#039; to a position. Turn the rotor by hand over 360°, counting the &#039;cogs&#039; - this is your polepairs. Set the position feedback (encoder/resolver) to suit your hardware, and wire everything up. Complete syncoffset calibration, and your alternator should now be a motor!&lt;br /&gt;
&lt;br /&gt;
=== Enhancements ===&lt;br /&gt;
As previously noted, the OpenInverter FOC code is optimised for IPMSMs (Interior permanent magnet synchronous motors), which require some Id. SPMSMs like the alternator require no Id. [https://github.com/mjc-506/stm32-sine/commit/d95329d993c0b43ea142e061be9735d34d3b58b4 Here is a github commit to a fork of the standard OpenInverter code that adds a parameter to chose between IPMSM and SPMSM, and sets Id to 0 for the latter.] (this may need adjusting to suit other parameters added to the main code)&lt;br /&gt;
&lt;br /&gt;
You will not need field weakening! Set fwkp = 0.&lt;br /&gt;
&lt;br /&gt;
=== Field control ===&lt;br /&gt;
With the motor spinning at a fixed but reasonably low throttle/speed, adjust the your field current. You should find that motor rpm increases and field current decreases and visa versa. Likewise, peak torque will increase with field current, up until the rotor saturates (usually by ~5A). You can calculate the Kv and Ki for different field currents by driving the rotor at a set speed (with a battery drill perhaps) and measuring (peak) phase voltage and frequency/rpm. This may be useful later when driving something to get the best out of the motor at different speeds.&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai/Kia_HSG&amp;diff=1497</id>
		<title>Hyundai/Kia HSG</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai/Kia_HSG&amp;diff=1497"/>
		<updated>2021-04-15T16:14:38Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: /* Details */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These motors are designed as a belt driven starter/generator for Kia and Hyundai&#039;s hybrid vehicles. They have a water jacket (stator and rotor etc remain dry), poly-v pulley and provision for a bolt on belt tensioner.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
{|&lt;br /&gt;
|+&lt;br /&gt;
|&#039;&#039;&#039;Rated Power&#039;&#039;&#039;&lt;br /&gt;
|8.5kW&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039;&lt;br /&gt;
|IPMSM&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Phase connections&#039;&#039;&#039;&lt;br /&gt;
|3 phase input, accessible by factory connector/harness, or by ring terminals by removing covers&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Phase-phase DC resistance&#039;&#039;&#039;&lt;br /&gt;
|~0.2Ω&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Position feedback&#039;&#039;&#039;&lt;br /&gt;
|Resolver, &amp;lt;?&amp;gt; poles. On 10 pin connector&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Temperature feedback&#039;&#039;&#039;&lt;br /&gt;
|Yes, on 10 pin connector. ~125kΩ at 20°C&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Pole pairs&#039;&#039;&#039;&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Water connections&#039;&#039;&#039;&lt;br /&gt;
|2x &amp;lt;?&amp;gt;mm&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Mechanical output&#039;&#039;&#039;&lt;br /&gt;
|Poly-v belt pulley&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
The large connector is the three phases. These can be used with the factory connector (part number &amp;lt;?&amp;gt;), or by removing the two covers (JIS screws) and connector (4x 10mm hex head screws externally, plus 3x 4mm hex &#039;allen&#039; head screws on the internal phase connectors) the three phase connections become available using 6mm ring terminals.&lt;br /&gt;
&lt;br /&gt;
The 10 pin Econoseal connector includes the resolver connections, temperature sensor connections and two shield connections (connected to case internally)&lt;br /&gt;
&lt;br /&gt;
[http://www.kniro.net/images/motor_temperature_sensor_circuit_diagram-771/689/sdehhm7106l.gif 10 pin connector pinout]&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Alternators&amp;diff=1496</id>
		<title>Alternators</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Alternators&amp;diff=1496"/>
		<updated>2021-04-13T18:12:20Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Info on alternators - initial&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Automotive alternators are widely available, very low cost (even free, reclaimed), and designed to operate for long lifetimes in aggressive engine-bay environments. Although not an obvious choice, and unsuitable for driving cars, they can be an interesting choice for low power applications (motorcycles, garden equipment, ancillaries).&lt;br /&gt;
&lt;br /&gt;
There are a huge variety of alternators available, so the below is based only on the few types the author has experience of. Some experimentation is likely to be required!&lt;br /&gt;
&lt;br /&gt;
They have a separate field current, and act as a Surface Permanent Magnet Synchronous Motor (SPMSM) which the OpenInverter firmware is currently not optimised for - they will run happily using the FOC firmware though, and it is only a very simple code edit required to get the best from them.&lt;br /&gt;
&lt;br /&gt;
== Construction ==&lt;br /&gt;
Alternators are, in fact, polyphase machines connected to a rectifier, together with a regulator which adjusts a field current to maintain the desired output. The field current is passed to a rotor winding via two slip rings to generate the magnetic field. These slip rings last much longer, and produce less electrical noise than, typical motor brushes, as there is no commutation. Currents and voltages are also low, typically reaching a couple of amps.&lt;br /&gt;
&lt;br /&gt;
Clearly, trying to make an alternator spin by applying DC voltage to its external connections will not work, they are not DC machines.&lt;br /&gt;
&lt;br /&gt;
Removing the regulator and rectifier (sometimes these are separate, but more often are one unit, often including the brush holders) is generally easy, as these parts are generally what causes an alternator to fail in normal service (the diodes etc are most affected by heat and vibration). Happily, removing the regulator and rectifier exposes the phase connections for us to use!&lt;br /&gt;
&lt;br /&gt;
Some alternators have permanent magnet rotors, or even rotors with both field coils and permanent magnets. A permanent magnet rotor is slightly easier to drive (no field current to worry about) but is less flexible. An alternator with only a field coil and no permanent magnets is more &#039;adjustable&#039; and can be driven very hot (you only have to worry about insulation temperature rating) without permanent damage. An alternator with both a wound rotor and permanent magnets will run without field current, and also generate a stronger field, but you have to watch the temperature so as not to demagnetise the magnets, and also field current polarity to work with, and not against, the magnets.&lt;br /&gt;
&lt;br /&gt;
== Alternator types ==&lt;br /&gt;
Focusing only on automotive alternators (alternators are of course available from the marine and aviation fields, but these tend to be much more expensive and difficult to find), units are commonly available in 12 or 24V applications, and with various current ratings, depending upon the vehicle they are specified for.&lt;br /&gt;
&lt;br /&gt;
=== Voltage ===&lt;br /&gt;
It may be tempting to chose a higher voltage alternator, to &#039;better match&#039; your pack voltages. Some 24V alternators, however, are simply &#039;normal&#039; 12V alternators with different regulator/rectifier modules fitted. Some may have different windings and a lower Kv, which may be useful - experimentation needed!&lt;br /&gt;
&lt;br /&gt;
=== Current rating ===&lt;br /&gt;
An alternator with a higher current rating will likely handle higher phase currents better. Unfortunately, some newer higher output alternators are actually 6 phase, rather than 3 phase. Constructing a 6 phase inverter, or combining adjacent phases to make the alternator 3 phase, would be possible, but may be difficult to do successfully. It can be difficult to determine the number of phases in a particular alternator before beginning disassembly.&lt;br /&gt;
&lt;br /&gt;
=== Max rpm ===&lt;br /&gt;
As with any motor, it is important not to exceed the maximum rpm (too much!), but this is rarely listed on the alternator specification. You can calculate it but finding the/a vehicle it is fitted to, find the engine redline rpm, crankshaft pulley diameter, and measure the alternator pulley diameter. You should then be able to calculate what rpm the alternator is turning at the engine redline. This would be a sensible limit!&lt;br /&gt;
&lt;br /&gt;
=== Pulley ===&lt;br /&gt;
Some modern alternators come fitted with a pulley that free-wheels in one direction (has a Spragg clutch) - this allows, for example, a car engine to rapidly decelerate while changing gears without loading the alternator and belt. Of course, that means you get either no drive, or no regen (depending on your vehicle and drivetrain)! Look for an alternator with a solid pulley - the one-way pulleys have what looks like a bearing visible from the front (sometimes covered with a plastic cap), solid pulleys should be fairly obvious.&lt;br /&gt;
&lt;br /&gt;
== Driving the alternator ==&lt;br /&gt;
Once the rectifier is removed and you have access to the phase windings, you may need to connect them into star or delta configuration (it seems the the stator coils tend to be generic, exposing all 6 connections, and the rectifier &#039;chooses&#039; how to connect them up), and then wire the three phases to the inverter. In addition (for alternators with a field coil), you will also need to provide power to the rotor through the brushes. Use a current-regulated supply - 5A is plenty to drive the rotor into saturation, start with ~1.5 - 2A.&lt;br /&gt;
&lt;br /&gt;
=== Position feedback ===&lt;br /&gt;
Alternators don&#039;t need position feedback in their intended service, so we&#039;ll have to add our own. Any device suitable for the FOC firmware will work, but some will be easier to mount than others. The Melexis sin/cos encoder ICs are simple to interface with, and simply require accurate axial mounting ~5mm above the end of the shaft, to which a small diametrically magnetised (across the diameter) circular magnet is affixed. Using the slip ring end of the shaft is likely to be the simplest. You may need to adjust the axial alignment of the IC later while the motor is running to minimise offset/vibration.&lt;br /&gt;
&lt;br /&gt;
=== Inverter configuration ===&lt;br /&gt;
Flash the FOC firmware and do the normal checks. Connect your current regulated supply to two of the phase connections and the field, the motor should &#039;snap&#039; to a position. Turn the rotor by hand over 360°, counting the &#039;cogs&#039; - this is your polepairs. Set the position feedback (encoder/resolver) to suit your hardware, and wire everything up. Complete syncoffset calibration, and your alternator should now be a motor!&lt;br /&gt;
&lt;br /&gt;
=== Enhancements ===&lt;br /&gt;
As previously noted, the OpenInverter FOC code is optimised for IPMSMs (Interior permanent magnet synchronous motors), which require some Id. SPMSMs like the alternator require no Id. Here is a github commit to a fork of the standard OpenInverter code that adds a parameter to chose between IPMSM and SPMSM, and sets Id to 0 for the latter. (this may need adjusting to suit other parameters added to the main code)&lt;br /&gt;
&lt;br /&gt;
You will not need field weakening! Set fwkp = 0.&lt;br /&gt;
&lt;br /&gt;
=== Field control ===&lt;br /&gt;
With the motor spinning at a fixed but reasonably low throttle/speed, adjust the your field current. You should find that motor rpm increases and field current decreases and visa versa. Likewise, peak torque will increase with field current, up until the rotor saturates (usually by ~5A). You can calculate the Kv and Ki for different field currents by driving the rotor at a set speed (with a battery drill perhaps) and measuring (peak) phase voltage and frequency/rpm. This may be useful later when driving something to get the best out of the motor at different speeds.&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1495</id>
		<title>Motors</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1495"/>
		<updated>2021-04-13T15:34:01Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: /* Generic Motors */ Added &amp;#039;alternators&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is intended as a listing page for available motors suitable for conversion projects. Each listing is planned to lead to a more detailed page regarding the motor.&lt;br /&gt;
&lt;br /&gt;
= OEM Motors =&lt;br /&gt;
Taken from existing vehicles&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Models Found On&lt;br /&gt;
!Part No/s&lt;br /&gt;
!FWD/RDW/AWD&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LEXUS RX 400H 2004-2008 209048010.jpg|none|thumb|200x200px]]&lt;br /&gt;
|[[Toyota/Lexus MGR Rear Transaxle Motor]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|&lt;br /&gt;
* Alphard/Vellfire ATH20&lt;br /&gt;
* Alphard/Vellfire AYH30&lt;br /&gt;
* Estima AHR20&lt;br /&gt;
* Harrier MHU38&lt;br /&gt;
* Harrier AVU65&lt;br /&gt;
* Highlander MHU28&lt;br /&gt;
* Highlander MHU48&lt;br /&gt;
* Highlander GVU48&lt;br /&gt;
* Highlander GVU58&lt;br /&gt;
* Kluger MHU28&lt;br /&gt;
* Lexus RX400h MHU38&lt;br /&gt;
* Lexus RX450h GYL15&lt;br /&gt;
* Lexus RX450h GYL25&lt;br /&gt;
* Lexus NX300h AYZ15&lt;br /&gt;
* RAV4 AVA44&lt;br /&gt;
|Q211&lt;br /&gt;
(2FM - Motor code)&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|Found on numerous Toyota and Lexus models (see list to the left), the MGR (or Motor Generator Rear) is an electric rear differential meant to provide occasional 4WD/AWD to the company&#039;s larger 4WD models.&lt;br /&gt;
&lt;br /&gt;
For conversion/project purposes the MGR is suitable for lighter models given the torque available or could potentially be used front and/or rear, and/or with a secondary motor. &lt;br /&gt;
&lt;br /&gt;
As the motor was designed to be used occasionally as a rear motor, there is a need or potential need for cooling dependent on the application. &lt;br /&gt;
|-&lt;br /&gt;
|[[File:GS450h L110 Transmission.jpg|thumb]]&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|L110&lt;br /&gt;
|RWD&lt;br /&gt;
|Popular conversion project motor, the GS450h has two motors as part of a gearbox mated to an ICE engine. MG1 and MG2, one of which is generally used to start the ICE, the second used to provide drive to the wheel in electric only mode. &lt;br /&gt;
&lt;br /&gt;
The input shaft from the ICE can be secured and both motors can then be used to drive the output shaft.&lt;br /&gt;
&lt;br /&gt;
The popularity and conversation around it comes from the fact it is likely to occupy the same space as a rear wheel drive gearbox leaving the majority of the engine bay free and obviously joining to the existing rear propshaft.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LS600hL L110F Transmission.jpg|thumb]]&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|L110f&lt;br /&gt;
|AWD&lt;br /&gt;
|Functionally the same as the GS450h(?) but splits the output front and rear like a traditional 4WD gearbox.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
|[[Toyota/Lexus GS300h CVT|Lexus GS300h]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS300h&lt;br /&gt;
|L210&lt;br /&gt;
|RWD&lt;br /&gt;
|Very similar to the GS450h setup.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Prius Transaxle&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Prius&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|Mated to a transversally mounted front wheel drive ICE, the Prius transaxle has two motors contained with it. MG1 and MG2. One of which is generally used to re/start the ICE motor and the second used to drive the car in electric only mode.&lt;br /&gt;
&lt;br /&gt;
The two motors can be combined for greater power output.&lt;br /&gt;
&lt;br /&gt;
The unit itself lends itself to replace the engine and gearbox from FWD front engined vehicles as it largely occupies a similar space as the existing gearbox and frees the space where the engine would sit.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Nissan Leaf&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Small Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Large Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Outlander Rear Motor.jpg|thumb]]&lt;br /&gt;
|[[Mitsubishi Outlander Rear Drive Unit]]&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|Y61&lt;br /&gt;
|RWD&lt;br /&gt;
|This motor is found on the Mitsubishi Outlander PHEV. It is the motor which drives the rear differential unit. There may be 3 different versions of this motor - 50kW, 60kW and 70kW (from PHEV 2018 on). The same motor may also be used in the i-MiEV. &lt;br /&gt;
&lt;br /&gt;
The Openinverter Forum has a dedicated board here: https://openinverter.org/forum/viewforum.php?f=19&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mitsubishi Outlander Front Transaxle]]&lt;br /&gt;
|Mitsubish&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|The front transaxle from the Outlander PHEV has a motor and generator.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Generic Motors =&lt;br /&gt;
Multiple applications but designed to fit EV use, or fall within power/torque range for use&amp;lt;!-- Is this section redundant, already covered by the other motor page? The intention is to list motors like the Hyper9 and other &#039;generic&#039; motors.  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Part No/s&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Hyundai\Kia HSG|Hyundai/Kia HSG]]&lt;br /&gt;
|Hyundai/Kia&lt;br /&gt;
|&lt;br /&gt;
|Designed as a belt driven starter/generator for Kia/Hyundai&#039;s hybrid vehicles. Rated ~8kW, but capable of more. Water cooled, with 3 phase input and resolver and temp outputs.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Alternators]]&lt;br /&gt;
|Various&lt;br /&gt;
|&lt;br /&gt;
|Certainly low power, questionable efficiency, the main attraction with these is their robustness and low cost. The ability to drive the field coil directly opens interesting characteristics...&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai/Kia_HSG&amp;diff=1494</id>
		<title>Hyundai/Kia HSG</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai/Kia_HSG&amp;diff=1494"/>
		<updated>2021-04-13T15:30:12Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: decoration...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These motors are designed as a belt driven starter/generator for Kia and Hyundai&#039;s hybrid vehicles. They have a water jacket (stator and rotor etc remain dry), poly-v pulley and provision for a bolt on belt tensioner.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
{|&lt;br /&gt;
|+&lt;br /&gt;
|&#039;&#039;&#039;Rated Power&#039;&#039;&#039;&lt;br /&gt;
|8kW&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Type&#039;&#039;&#039;&lt;br /&gt;
|IPMSM&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Phase connections&#039;&#039;&#039;&lt;br /&gt;
|3 phase input, accessible by factory connector/harness, or by ring terminals by removing covers&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Phase-phase DC resistance&#039;&#039;&#039;&lt;br /&gt;
|~0.2Ω&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Position feedback&#039;&#039;&#039;&lt;br /&gt;
|Resolver, &amp;lt;?&amp;gt; poles. On 10 pin connector&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Temperature feedback&#039;&#039;&#039;&lt;br /&gt;
|Yes, on 10 pin connector. ~125kΩ at 20°C&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Pole pairs&#039;&#039;&#039;&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Water connections&#039;&#039;&#039;&lt;br /&gt;
|2x &amp;lt;?&amp;gt;mm&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Mechanical output&#039;&#039;&#039;&lt;br /&gt;
|Poly-v belt pulley&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
The large connector is the three phases. These can be used with the factory connector (part number &amp;lt;?&amp;gt;), or by removing the two covers (JIS screws) and connector (4x 10mm hex head screws externally, plus 3x 4mm hex &#039;allen&#039; head screws on the internal phase connectors) the three phase connections become available using 6mm ring terminals.&lt;br /&gt;
&lt;br /&gt;
The 10 pin Econoseal connector includes the resolver connections, temperature sensor connections and two shield connections (connected to case internally)&lt;br /&gt;
&lt;br /&gt;
[http://www.kniro.net/images/motor_temperature_sensor_circuit_diagram-771/689/sdehhm7106l.gif 10 pin connector pinout]&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hyundai/Kia_HSG&amp;diff=1493</id>
		<title>Hyundai/Kia HSG</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hyundai/Kia_HSG&amp;diff=1493"/>
		<updated>2021-04-13T15:27:15Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Initial commit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These motors are designed as a belt driven starter/generator for Kia and Hyundai&#039;s hybrid vehicles. They have a water jacket (stator and rotor etc remain dry), poly-v pulley and provision for a bolt on belt tensioner.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
{|&lt;br /&gt;
|+&lt;br /&gt;
|Rated Power&lt;br /&gt;
|8kW&lt;br /&gt;
|-&lt;br /&gt;
|Type&lt;br /&gt;
|IPMSM&lt;br /&gt;
|-&lt;br /&gt;
|Phase connections&lt;br /&gt;
|3 phase input, accessible by factory connector/harness, or by ring terminals by removing covers&lt;br /&gt;
|-&lt;br /&gt;
|Phase-phase DC resistance&lt;br /&gt;
|~0.2Ω&lt;br /&gt;
|-&lt;br /&gt;
|Position feedback&lt;br /&gt;
|Resolver, &amp;lt;?&amp;gt; poles. On 10 pin connector&lt;br /&gt;
|-&lt;br /&gt;
|Temperature feedback&lt;br /&gt;
|Yes, on 10 pin connector. ~125kΩ at 20°C&lt;br /&gt;
|-&lt;br /&gt;
|Pole pairs&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|Water connections&lt;br /&gt;
|2x &amp;lt;?&amp;gt;mm&lt;br /&gt;
|-&lt;br /&gt;
|Mechanical output&lt;br /&gt;
|Poly-v belt pulley&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Pinout ==&lt;br /&gt;
The large connector is the three phases. These can be used with the factory connector (part number &amp;lt;?&amp;gt;), or by removing the two covers (JIS screws) and connector (4x 10mm hex head screws externally, plus 3x 4mm hex &#039;allen&#039; head screws on the internal phase connectors) the three phase connections become available using 6mm ring terminals.&lt;br /&gt;
&lt;br /&gt;
The 10 pin Econoseal connector includes the resolver connections, temperature sensor connections and two shield connections (connected to case internally)&lt;br /&gt;
&lt;br /&gt;
[http://www.kniro.net/images/motor_temperature_sensor_circuit_diagram-771/689/sdehhm7106l.gif 10 pin connector pinout]&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1492</id>
		<title>Motors</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Motors&amp;diff=1492"/>
		<updated>2021-04-13T15:06:39Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: /* Generic Motors */ Added Kia/Hyundai HSG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is intended as a listing page for available motors suitable for conversion projects. Each listing is planned to lead to a more detailed page regarding the motor.&lt;br /&gt;
&lt;br /&gt;
= OEM Motors =&lt;br /&gt;
Taken from existing vehicles&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Models Found On&lt;br /&gt;
!Part No/s&lt;br /&gt;
!FWD/RDW/AWD&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LEXUS RX 400H 2004-2008 209048010.jpg|none|thumb|200x200px]]&lt;br /&gt;
|[[Toyota/Lexus MGR Rear Transaxle Motor]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|&lt;br /&gt;
* Alphard/Vellfire ATH20&lt;br /&gt;
* Alphard/Vellfire AYH30&lt;br /&gt;
* Estima AHR20&lt;br /&gt;
* Harrier MHU38&lt;br /&gt;
* Harrier AVU65&lt;br /&gt;
* Highlander MHU28&lt;br /&gt;
* Highlander MHU48&lt;br /&gt;
* Highlander GVU48&lt;br /&gt;
* Highlander GVU58&lt;br /&gt;
* Kluger MHU28&lt;br /&gt;
* Lexus RX400h MHU38&lt;br /&gt;
* Lexus RX450h GYL15&lt;br /&gt;
* Lexus RX450h GYL25&lt;br /&gt;
* Lexus NX300h AYZ15&lt;br /&gt;
* RAV4 AVA44&lt;br /&gt;
|Q211&lt;br /&gt;
(2FM - Motor code)&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|Found on numerous Toyota and Lexus models (see list to the left), the MGR (or Motor Generator Rear) is an electric rear differential meant to provide occasional 4WD/AWD to the company&#039;s larger 4WD models.&lt;br /&gt;
&lt;br /&gt;
For conversion/project purposes the MGR is suitable for lighter models given the torque available or could potentially be used front and/or rear, and/or with a secondary motor. &lt;br /&gt;
&lt;br /&gt;
As the motor was designed to be used occasionally as a rear motor, there is a need or potential need for cooling dependent on the application. &lt;br /&gt;
|-&lt;br /&gt;
|[[File:GS450h L110 Transmission.jpg|thumb]]&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS450h&lt;br /&gt;
|L110&lt;br /&gt;
|RWD&lt;br /&gt;
|Popular conversion project motor, the GS450h has two motors as part of a gearbox mated to an ICE engine. MG1 and MG2, one of which is generally used to start the ICE, the second used to provide drive to the wheel in electric only mode. &lt;br /&gt;
&lt;br /&gt;
The input shaft from the ICE can be secured and both motors can then be used to drive the output shaft.&lt;br /&gt;
&lt;br /&gt;
The popularity and conversation around it comes from the fact it is likely to occupy the same space as a rear wheel drive gearbox leaving the majority of the engine bay free and obviously joining to the existing rear propshaft.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:LS600hL L110F Transmission.jpg|thumb]]&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus LS600h&lt;br /&gt;
|L110f&lt;br /&gt;
|AWD&lt;br /&gt;
|Functionally the same as the GS450h(?) but splits the output front and rear like a traditional 4WD gearbox.&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Gs300h-cvt.jpg|thumb]]&lt;br /&gt;
|[[Toyota/Lexus GS300h CVT|Lexus GS300h]]&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Lexus GS300h&lt;br /&gt;
|L210&lt;br /&gt;
|RWD&lt;br /&gt;
|Very similar to the GS450h setup.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Prius Transaxle&lt;br /&gt;
|Toyota/Lexus&lt;br /&gt;
|Prius&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|Mated to a transversally mounted front wheel drive ICE, the Prius transaxle has two motors contained with it. MG1 and MG2. One of which is generally used to re/start the ICE motor and the second used to drive the car in electric only mode.&lt;br /&gt;
&lt;br /&gt;
The two motors can be combined for greater power output.&lt;br /&gt;
&lt;br /&gt;
The unit itself lends itself to replace the engine and gearbox from FWD front engined vehicles as it largely occupies a similar space as the existing gearbox and frees the space where the engine would sit.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Nissan Leaf&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Small Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|Tesla Large Drive Unit&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S/X&lt;br /&gt;
|&lt;br /&gt;
|FWD&lt;br /&gt;
AWD&lt;br /&gt;
&lt;br /&gt;
RWD&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Outlander Rear Motor.jpg|thumb]]&lt;br /&gt;
|[[Mitsubishi Outlander Rear Drive Unit]]&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|Y61&lt;br /&gt;
|RWD&lt;br /&gt;
|This motor is found on the Mitsubishi Outlander PHEV. It is the motor which drives the rear differential unit. There may be 3 different versions of this motor - 50kW, 60kW and 70kW (from PHEV 2018 on). The same motor may also be used in the i-MiEV. &lt;br /&gt;
&lt;br /&gt;
The Openinverter Forum has a dedicated board here: https://openinverter.org/forum/viewforum.php?f=19&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mitsubishi Outlander Front Transaxle]]&lt;br /&gt;
|Mitsubish&lt;br /&gt;
|Outlander PHEV&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|The front transaxle from the Outlander PHEV has a motor and generator.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Generic Motors =&lt;br /&gt;
Multiple applications but designed to fit EV use, or fall within power/torque range for use&amp;lt;!-- Is this section redundant, already covered by the other motor page? The intention is to list motors like the Hyper9 and other &#039;generic&#039; motors.  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
!Picture&lt;br /&gt;
!Name/link&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Part No/s&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Hyundai\Kia HSG|Hyundai/Kia HSG]]&lt;br /&gt;
|Hyundai/Kia&lt;br /&gt;
|&lt;br /&gt;
|Designed as a belt driven starter/generator for Kia/Hyundai&#039;s hybrid vehicles. Rated ~8kW, but capable of more. Water cooled, with 3 phase input and resolver and temp outputs.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1491</id>
		<title>Batteries</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Batteries&amp;diff=1491"/>
		<updated>2021-04-12T19:38:35Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Added info on BMW PHEV modules (&amp;gt;2020)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
There are a wide variety of battery chemistries available for use as the main traction battery of an EV. To use each chemistry safely, and to ensure an adequate service life from the battery pack it is important to understand the requirements for the chemistry you are using. Failure to do so may lead to premature or catastrophic failure of the pack.&lt;br /&gt;
&lt;br /&gt;
Good pack design will allow for a nominal amount of abuse. People make mistakes and the pack should allow a margin for safety - and for longevity!&lt;br /&gt;
&lt;br /&gt;
== Battery pack specification ==&lt;br /&gt;
When deciding on your battery pack, here are some basic parameters to consider:&lt;br /&gt;
&lt;br /&gt;
=== Capacity (kWh) ===&lt;br /&gt;
&#039;&#039;&#039;How far do you want to go?&#039;&#039;&#039; A standard  car conversion will need a kWh for each 3, maybe 4 miles of range (very approximately). For a middleweight motorcycle, a kWh should give around 9 miles. Your mileage may vary, &#039;&#039;as they say.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Voltage (V) ===&lt;br /&gt;
&#039;&#039;&#039;How fast do you want to go?&#039;&#039;&#039; The pack voltage defines the maximum speed your motor can spin. Motors are usually specified with &amp;quot;KV&amp;quot; - or RPM-per-volt. Check the KV of your motor and how fast it needs to spin to get your desired top speed. e.g. if you need 3,000 RPM from a 25 KV motor then your pack voltage needs to be  3,000 / 25 = 120 V. The exact number of cells in series you need depends on the cell design, but 3.8 V for Li-ion and 3.2 V for LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; is a reasonable guess.&lt;br /&gt;
&lt;br /&gt;
=== Maximum current (A) ===&lt;br /&gt;
&#039;&#039;&#039;How quickly do you want to accelerate?&#039;&#039;&#039; Your motor&#039;s maximum power will be specified in kW. To estimate your maximum current draw, divide the peak power by the battery voltage. e.g. a 30 kW motor with a 120 V battery pack will pull 30,000 / 120 = 250 A. The higher the current rating of the cells, the heavier they will be for a given capacity. Ideally, you want &amp;quot;enough&amp;quot; current capacity for full throttle acceleration, but no more. You can put cells in parallel to double the current rating of your pack (which of course will half the voltage). Running cells in parallel is easy, but don&#039;t attempt to parallel battery packs unless you really know what you are doing. It&#039;s [https://www.orionbms.com/manuals/pdf/parallel_strings.pdf complicated]. &lt;br /&gt;
&lt;br /&gt;
=== Mass (kg) ===&lt;br /&gt;
&#039;&#039;&#039;Can your vehicle carry the weight?&#039;&#039;&#039; You&#039;ll need to keep the kerb weight within the original design limits. For a car, your pack could be a few hundred kg. For a motorcycle, likely less than 100 kg. This is a huge variable - and each new generation of battery tech seems to be a little lighter. For older EV or hybrid batteries, you can reckon on approximately 10 kg/kWh. Nissan Leaf batteries are relatively light (7.5 kg/kWh). With the latest technology (e.g. Kokam pouch cells or 18650s), you can get this down to 5-6 kg/kWh.&lt;br /&gt;
&lt;br /&gt;
=== Volume (L) ===&lt;br /&gt;
&#039;&#039;&#039;Will it fit?&#039;&#039;&#039; Batteries are bulky. They are getting smaller, but finding enough space might be your biggest challenge. You could be looking at over 5 L/kWh for older EV or hybrid batteries. Current state-of-the-art is the Tesla Model 3, which gets this down to 2.5 L/kWh by using 2170 cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
There is much, much more to battery design than this (e.g. maximum charge rate, terminations, cooling, clamping), but the above should help work out which options will or won&#039;t work for your project...&lt;br /&gt;
&lt;br /&gt;
== Cell chemistry ==&lt;br /&gt;
&lt;br /&gt;
=== Lithium Iron Phosphate (LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) ===&lt;br /&gt;
Lithium Iron Phosphate (also known as LFP, or LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt;) batteries offer a good compromise between safety, energy density and ease of use for DIY conversions. They are available in a number of formats, commonly pouch cells, prismatic cells and cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; pouch cells ====&lt;br /&gt;
The majority of this content is drawn from this thread: [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761&amp;amp;start=900 https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761] discussing the use of the A123 20Ah pouch cell. However, many of the general points apply equally to other similar pouch cells.&lt;br /&gt;
&lt;br /&gt;
===== General build requirements =====&lt;br /&gt;
Pouch cells are vulnerable to damage from debris, and must be held in compression (see the datasheet for your battery, but 10-12 psi is recommended for the A123 pouch cells as a guide). A rigid container capable of preventing damage and providing compression is therefore required. Be aware the cells expand and contract in use, so allowance for this must be included in the structure of the case.&lt;br /&gt;
&lt;br /&gt;
The pouch cells should be separated to prevent abrasion between cells, and also to avoid the development of hot spots. Prebuilt modules from A123 systems had thin foam sheets or heatsinks between each cell. Be sure to avoid any debris that could rub on the pouch surface, particularly if using recycled cells.&lt;br /&gt;
&lt;br /&gt;
Mylar, &#039;[https://www.americanmicroinc.com/fish-paper/ Fish paper]&#039; or a [https://www.rogerscorp.com/elastomeric-material-solutions/poron-industrial-polyurethanes compliant foam] may be appropriate materials to serve this purpose. This material should not be flammable. If the material is heat insulating, it is important to address thermal management.&lt;br /&gt;
&lt;br /&gt;
===== Compression =====&lt;br /&gt;
Compression is required to prevent premature failure of the cell. Without compression electrolyte will become unevenly distributed, causing current gradients in the cell and uneven heating. Local temperatures can become high enough to form gas formation leading to cells &#039;puffing up&#039; even when the pack is otherwise held within temperature and voltage constraints. This will be exacerbated in packs with otherwise poor thermal management. Compression forces gas generated to the margins of the cell, outside of the cell stack, minimising its effect cell performance. Gas in the middle cells will create a dead space which does not store or release energy.&lt;br /&gt;
&lt;br /&gt;
There is ~1% expansion through a discharge cycle. As the cell ages, the nominal cell thickness can grow by 3-5%. For A123 cells the ideal pressure is between 4 and 18psi with the ideal pressure being ~12psi. Maintaining 12psi can increase the life by 500 cycles over that of 4 or 18psi&lt;br /&gt;
&lt;br /&gt;
There is some suggestion that in uses where 1C is never exceeded compression &#039;&#039;may&#039;&#039; not be required.&lt;br /&gt;
&lt;br /&gt;
Highly rigid endplates with a mechanism to allow for a limited degree of expansion (e.g. steel bands) are considered an effective solution to this challenge.&lt;br /&gt;
&lt;br /&gt;
It should be noted that compression is a challenge specific to pouch cells. Cylindrical cells are designed to maintain their own compression within the cell&#039;s electrode stack by their design.&lt;br /&gt;
&lt;br /&gt;
This thread provides more information and experimentation relating to pack compression: &amp;lt;nowiki&amp;gt;https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=52244&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Pouch Cell Pack Design Examples =====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
===== Notes regarding recycled pouch cells =====&lt;br /&gt;
Pouch cells are somewhat fragile, and breaching the insulation is not difficult, especially in a cells removed from existing packs and repurposed. If the pouch has had their poly-layers compromised you may see a number of faults:&lt;br /&gt;
* Black spots around the perimeter of the cell indicate electrolyte leakage&lt;br /&gt;
* Voltage on the outside of the bag. Note that microvoltage between the pouch and the electrode is normal (and due to a capacitive effect).&lt;br /&gt;
While the majority of these cells should no longer be in the market, a significant number of faulty cells made it back into the &#039;greymarket&#039; in around 2013. These cells had misaligned tabs which can also lead to isolation failures between the tab and the pack. These cells should be avoided, particularly in high demand applications.&lt;br /&gt;
&lt;br /&gt;
===== Situations likely to cause pouch cell failure =====&lt;br /&gt;
&#039;&#039;Taken directly from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
# &#039;&#039;&#039;Overcharge&#039;&#039;&#039;. Any extended time above 3.8 Volts will generate enough heat and electrochemical activity to puff a cell, especially one that is improperly compressed.&lt;br /&gt;
# &#039;&#039;&#039;Overdischarge followed by charge&#039;&#039;&#039;. Any A123 cell that has been pulled low enough to come to rest at &amp;lt;300 mV should be immediately scrapped. The published number for that is 500 mV, but the real figure is closer to 300, so that&#039;s a &amp;quot;safety buffer&amp;quot; if you will. Below this Voltage, the Cu electrodes start to dissolve into the electrolyte. When charge is applied, the Cu forms dendrites that puncture the separator layer, forming an internal short in the cell. This can puff a cell in a hurry---the more charge current on tap, the worse it&#039;s prone to be.&lt;br /&gt;
# &#039;&#039;&#039;Driving a cell negative&#039;&#039;&#039;. I&#039;ve neglected to mention this before, but it is a possibility. I don&#039;t know much about the specific mechanism at this time.&lt;br /&gt;
# &#039;&#039;&#039;Malfunctioning or misinformed electronics&#039;&#039;&#039;. This is the most common cause of all of the above in my experience. At this stage of the game, it is critical for YOU to understand how your BMS functions on at least a cursory level. Choose your BMS very carefully and periodically verify that it is operating properly. They&#039;re not all created equal. Make sure V sense lines are securely connected and free of corrosion. Just because your BMS says there was never a problem doesn&#039;t necessarily make it so. Avoid harnesses or ribbon cables between multiple modules if possible--they are problematic wherever they are used in any mobile electronics.&lt;br /&gt;
# &#039;&#039;&#039;Exposure to or generation of sufficient heat&#039;&#039;&#039;. I don&#039;t know exactly at what temperature gas formation begins in the electrolyte, but we spec a max storage temp of 80 (or 85?) degrees C and I suspect this is the reason. The hotter, the puffier--to a point. This is why soldering tabs poses a real hazard to cell health. If you feel you must solder, sink or blow the heat away from the body of the cell. Use a big iron that can make sufficient local heat quickly, before the whole mass of the cell gets hot. You might even get the cell warm enough to melt separator if not careful.&lt;br /&gt;
# &#039;&#039;&#039;No compression, not enough compression, improperly distributed compression&#039;&#039;&#039;. This is a pack/module design issue. Apply 10, maybe 15 psi to your cell stack end to end and then band snugly and evenly. Use hard endplates of some sort--never wrap cells directly or allow their shape to become distorted. Protect all areas of the pouch from impact damage. This obviously does not apply to cylindrical cells.&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; prismatic cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cylindrical cells ====&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt;placeholder*&lt;br /&gt;
&lt;br /&gt;
==== LiFePO&amp;lt;sub&amp;gt;4&amp;lt;/sub&amp;gt; cell ageing ====&lt;br /&gt;
&#039;&#039;Derived (barely paraphrased) from [https://endless-sphere.com/forums/memberlist.php?mode=viewprofile&amp;amp;u=33107 wb9k]&#039;s post on endless sphere in the [https://endless-sphere.com/forums/viewtopic.php?f=14&amp;amp;t=38761 A123 thread]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Capacity loss is caused by the lithium that was available for storage becoming permanently plated on the cathode. Being unable to move within the cell it is no longer available to store energy. The impact of this plating is greater than the amount of lithium &#039;lost&#039; to plating because not only is the lithium no longer available, it is also preventing access to that part of the cathode meaning Li that can still move has to take a longer path to reach the cathode. Lithium plating is one cause of increased cell resistance (there are others), a sign of worsening cell health.&lt;br /&gt;
&lt;br /&gt;
There is no linear relationship between actual capacity loss and impedance rise. However some cell defects will also increase impedance.&lt;br /&gt;
&lt;br /&gt;
Increasing cell resistance may cause a number of symptoms which may be confused with [https://earthshipbiotecture.com/a-lithium-ion-battery-primer/ High Self Discharge.]&lt;br /&gt;
# Elevated Peukert Losses. As more energy per amount of current through the cell is lost as heat, the cells useable capacity decreases. So the apparent capacity loss is higher than the actual capacity loss of cycleable lithium. When used in low current applications (e.g. solar energy storage) the actual and apparent decrease in capacity will be small. In high current draw applications (like EV traction packs), the Peukert loss increases proportionally, so the apparent capacity loss increases much faster than the actual capacity loss.&lt;br /&gt;
# Greater voltage excursion under the same load. Due to increased cell resistancethe voltage will sag further under the same load than a cell in optimal condition. The inverse is also true, the voltage will be higher for the same amount of charging current applied. The cell will then rebound to a voltage further from the loaded and charging voltages. This, obviously, can look like high self discharge but is a different phenomenon.&lt;br /&gt;
# Absolute maximum current decrease.&lt;br /&gt;
Elevated impedance causes a more complex constellation of symptoms, some of which may be easy to confuse with High Self Discharge (HSD). Ohm&#039;s law (E=I/R) holds the key to understanding here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1) Elevated Peukert losses.&#039;&#039;&#039; Because more energy per unit of current through the cell is lost as heat, less of the cell&#039;s capacity is actually USABLE. Thus, apparent capacity loss can be significantly greater than actual capacity loss caused by the loss of cycleable Li alone. In low current applications, the two numbers will be close together. In high current applications, Peukert losses increase in proportion, so apparent loss of capacity breaks further and further away from actual capacity loss as current increases.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2) Greater voltage excursion under the same load.&#039;&#039;&#039; Elevated resistance across the cell means that voltage will sag more under the same load than it did when the cell was healthier. Conversely, voltage will rise higher with the same amount of applied charge current than it did when it was healthier. At the same time, rebound/settling voltages will be further away from loaded/charging voltages. In other words, the cell will rebound to a voltage further away from loaded voltage, all else being equal. Similarly, voltage will settle farther from the charge voltage with the same charge applied. This can give the illusion of elevated self-discharge, but the phenomenon is actually not the same thing. Again, the greater the charge and load currents, the greater the effect becomes.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3) Absolute max current decreases.&#039;&#039;&#039; Because the cell&#039;s series resistance is elevated, the maximum possible current through the cell is decreased.&lt;br /&gt;
&lt;br /&gt;
Just to confuse things further, there can be many factors that lead to impedance rise. Some are related to Li plating, others are not.&lt;br /&gt;
&lt;br /&gt;
=== Lithium-ion ===&lt;br /&gt;
Lithium-ion (Li-ion) batteries have a greater energy density than Lithium Iron Phosphate batteries, but have more challenging needs to use safely. The ideal operating range of Li-ion batteries is between +15 and +45°C. The upper limit of temperature is particularly important as Li-ion batteries experience thermal runaway - an unstoppable chain reaction that can occur in milliseconds releasing the stored energy in the cell. This can produce temperatures of 400°C and a fire that is extremely difficult to put out. Thermal runaway can start as low as 60°C and becomes much more likely at 100°C&lt;br /&gt;
&lt;br /&gt;
Risk factors for thermal runaway:&lt;br /&gt;
* Short Circuits - either internally or externally&lt;br /&gt;
* Overcharging&lt;br /&gt;
* Excessive current draw or when charging&lt;br /&gt;
&lt;br /&gt;
==== Li-ion pouch cells ====&lt;br /&gt;
[https://kokam.com/cell Kokam] produce high-performance Li-ion pouch cells. These combine relative ease of use and pack construction with performance close to cylindrical cells. &lt;br /&gt;
&lt;br /&gt;
==== Li-ion 18650 and other cylindrical cells ====&lt;br /&gt;
Cylindrical cells are favoured by Tesla, and are probably the main reason why their cars achieve such excellent performance. They are light, compact, powerful and expensive. Unfortunately, cylindrical cells are  difficult (and potentially dangerous) to use in DIY conversions. There are two good reasons for this: thermal management and cell configuration.&lt;br /&gt;
&lt;br /&gt;
As stated above, Li-ion cells are prone to thermal runaway. So you need perfect battery and thermal management to ensure that no cell ever exceeds the critical voltage or temperature. If this happens, a cell can short-circuit internally, releasing a lot of energy - potentially explosively. Furthermore, the individual cells are small, so need to be arranged in parallel. In the case of the Tesla Model S 85kW pack, there are 74 cells in parallel. Imagine if one of those cells fails and becomes short circuited internally. You now have 73 very high power cells all feeding in to that short circuit...&lt;br /&gt;
&lt;br /&gt;
In fact, you don&#039;t have to imagine: you can watch this famous video instead (courtesy of Rich Rebuilds).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube&amp;gt;WdDi1haA71Q&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== OEM modules ==&lt;br /&gt;
Using an OEM module means a lot of the difficulties and safety issues associated with battery design are taken care of e.g. cooling, clamping, etc.&lt;br /&gt;
&lt;br /&gt;
Here is a handy list of OEM modules:&lt;br /&gt;
{| class=&amp;quot;wikitable sortable mw-collapsible&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!Capacity (kWh)&lt;br /&gt;
!Weight (kg)&lt;br /&gt;
!w (mm)&lt;br /&gt;
!d (mm)&lt;br /&gt;
!h (mm)&lt;br /&gt;
!Gravity (kg/kWh)&lt;br /&gt;
!Volume (L/kWh)&lt;br /&gt;
!Voltage (V)&lt;br /&gt;
!Current (cont A)&lt;br /&gt;
!Current (peak A)&lt;br /&gt;
!Cell arrangement&lt;br /&gt;
!Cell type&lt;br /&gt;
!Chemistry&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 85kWh&lt;br /&gt;
|5.3&lt;br /&gt;
|26&lt;br /&gt;
|690&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.9&lt;br /&gt;
|3.3&lt;br /&gt;
|22.8&lt;br /&gt;
|500&lt;br /&gt;
|750&lt;br /&gt;
|74p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model S 100kWh&lt;br /&gt;
|6.4&lt;br /&gt;
|28&lt;br /&gt;
|680&lt;br /&gt;
|315&lt;br /&gt;
|80&lt;br /&gt;
|4.4&lt;br /&gt;
|2.7&lt;br /&gt;
|22.8&lt;br /&gt;
|&lt;br /&gt;
|870&lt;br /&gt;
|86p6s&lt;br /&gt;
|18650&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (inner)&lt;br /&gt;
|19.2&lt;br /&gt;
|98.9&lt;br /&gt;
|1854&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|5.2&lt;br /&gt;
|2.5&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p25s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 LR (outer)&lt;br /&gt;
|17.7&lt;br /&gt;
|86.6&lt;br /&gt;
|1715&lt;br /&gt;
|292&lt;br /&gt;
|90&lt;br /&gt;
|4.9&lt;br /&gt;
|2.5&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|971&lt;br /&gt;
|46p23s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (inner)&lt;br /&gt;
|13.0&lt;br /&gt;
|58.9&lt;br /&gt;
|1385&lt;br /&gt;
|326&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.7&lt;br /&gt;
|91.1&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p24s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Tesla&lt;br /&gt;
|Model 3 SR (outer)&lt;br /&gt;
|12.0&lt;br /&gt;
|58.9&lt;br /&gt;
|1380&lt;br /&gt;
|344&lt;br /&gt;
|90&lt;br /&gt;
|&lt;br /&gt;
|3.8&lt;br /&gt;
|83.9&lt;br /&gt;
|&lt;br /&gt;
|603&lt;br /&gt;
|31p24s&lt;br /&gt;
|2170&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|4S3P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|14.6&lt;br /&gt;
|&lt;br /&gt;
|900&lt;br /&gt;
|3p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Calb&lt;br /&gt;
|6S2P&lt;br /&gt;
|2.19&lt;br /&gt;
|12&lt;br /&gt;
|355&lt;br /&gt;
|151&lt;br /&gt;
|108&lt;br /&gt;
|5.5&lt;br /&gt;
|2.6&lt;br /&gt;
|22.2&lt;br /&gt;
|&lt;br /&gt;
|600&lt;br /&gt;
|2p6s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Chevrolet&lt;br /&gt;
|Volt 2012&lt;br /&gt;
|4&lt;br /&gt;
|38&lt;br /&gt;
|470&lt;br /&gt;
|180&lt;br /&gt;
|280&lt;br /&gt;
|9.5&lt;br /&gt;
|5.9&lt;br /&gt;
|88.8&lt;br /&gt;
|&lt;br /&gt;
|676&lt;br /&gt;
|3p24s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 60Ah&lt;br /&gt;
|2&lt;br /&gt;
|13&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.5&lt;br /&gt;
|3.3&lt;br /&gt;
|28.8&lt;br /&gt;
|210&lt;br /&gt;
|350&lt;br /&gt;
|2p8s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 94Ah&lt;br /&gt;
|4.15&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|6.7&lt;br /&gt;
|4.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|409&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|i3 120Ah&lt;br /&gt;
|5.3&lt;br /&gt;
|28&lt;br /&gt;
|410&lt;br /&gt;
|310&lt;br /&gt;
|150&lt;br /&gt;
|5.3&lt;br /&gt;
|3.6&lt;br /&gt;
|45.6&lt;br /&gt;
|&lt;br /&gt;
|360&lt;br /&gt;
|12s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|BMW&lt;br /&gt;
|PHEV 34Ah&lt;br /&gt;
|2.0&lt;br /&gt;
|13.05&lt;br /&gt;
|368&lt;br /&gt;
|178&lt;br /&gt;
|102&lt;br /&gt;
|6.525&lt;br /&gt;
|3.34&lt;br /&gt;
|59.0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Jaguar&lt;br /&gt;
|iPace&lt;br /&gt;
|2.5&lt;br /&gt;
|12&lt;br /&gt;
|340&lt;br /&gt;
|155&lt;br /&gt;
|112&lt;br /&gt;
|4.8&lt;br /&gt;
|2.4&lt;br /&gt;
|10.8&lt;br /&gt;
|720&lt;br /&gt;
|1200&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|LG&lt;br /&gt;
|4P3S&lt;br /&gt;
|2.6&lt;br /&gt;
|12.8&lt;br /&gt;
|357&lt;br /&gt;
|151&lt;br /&gt;
|110&lt;br /&gt;
|4.9&lt;br /&gt;
|2.3&lt;br /&gt;
|11&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|4p3s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Mitsubishi&lt;br /&gt;
|Outlander&lt;br /&gt;
|2.4&lt;br /&gt;
|26&lt;br /&gt;
|646&lt;br /&gt;
|184&lt;br /&gt;
|130&lt;br /&gt;
|10.8&lt;br /&gt;
|6.4&lt;br /&gt;
|60&lt;br /&gt;
|&lt;br /&gt;
|240&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 24kWh&lt;br /&gt;
|0.5&lt;br /&gt;
|3.65&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|7.3&lt;br /&gt;
|4.5&lt;br /&gt;
|7.2&lt;br /&gt;
|130&lt;br /&gt;
|228&lt;br /&gt;
|2p2s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion LMO&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 30kWh&lt;br /&gt;
|1.25&lt;br /&gt;
|&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|34&lt;br /&gt;
|&lt;br /&gt;
|3.6&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 40kWh&lt;br /&gt;
|1.6&lt;br /&gt;
|8.7&lt;br /&gt;
|300&lt;br /&gt;
|222&lt;br /&gt;
|68&lt;br /&gt;
|5.4&lt;br /&gt;
|2.8&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|314&lt;br /&gt;
|2p4s&lt;br /&gt;
|Pouch&lt;br /&gt;
|Li-ion NMC&lt;br /&gt;
|-&lt;br /&gt;
|Nissan&lt;br /&gt;
|Leaf 62kWh&lt;br /&gt;
|2.58&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|14.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|3p4s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|Volvo&lt;br /&gt;
|XC90 T8&lt;br /&gt;
|2.01&lt;br /&gt;
|12.1&lt;br /&gt;
|300&lt;br /&gt;
|180&lt;br /&gt;
|150&lt;br /&gt;
|6.0&lt;br /&gt;
|4.0&lt;br /&gt;
|59.2&lt;br /&gt;
|170&lt;br /&gt;
|340&lt;br /&gt;
|16s&lt;br /&gt;
|&lt;br /&gt;
|Li-ion&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Passet GTE]]&lt;br /&gt;
|&lt;br /&gt;
|23.4&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|24s&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|[[VW Hybrid Battery Packs|Golf GTE]]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|VW&lt;br /&gt;
|Touareg 14,1 kWh&lt;br /&gt;
|1.76&lt;br /&gt;
|12.3&lt;br /&gt;
|385&lt;br /&gt;
|150&lt;br /&gt;
|108&lt;br /&gt;
|7.0&lt;br /&gt;
|3.5&lt;br /&gt;
|45.25&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|13s&lt;br /&gt;
|Prismatic&lt;br /&gt;
|Li-ion&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Board_Version_3&amp;diff=1452</id>
		<title>Main Board Version 3</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Board_Version_3&amp;diff=1452"/>
		<updated>2021-03-27T11:11:47Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Reminder to tie pin 17 to +12V&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:main_board_v3.jpg|thumb|Main board]]&lt;br /&gt;
[[File:mainboard_pinout_v3.png|thumb|Connections]]&lt;br /&gt;
[[File:schematic_main_v3.png|thumb|Schematic]]&lt;br /&gt;
&lt;br /&gt;
The main board is the heart of the inverter system. It contains all the intelligence that is needed to convert the users inputs into motor shaft movement. It also contains all the protection circuitry to avoid damage in case of errornous inputs.&lt;br /&gt;
&lt;br /&gt;
The pdf schematic is available via [https://github.com/jsphuebner/inverter-hardware/blob/master/mainboardv3.4.pdf github].&lt;br /&gt;
&lt;br /&gt;
Its distinct features are:&lt;br /&gt;
&lt;br /&gt;
== Digital inputs ==&lt;br /&gt;
There are external 8 digital inputs on JP2. A voltage of &amp;gt;7V is interpreted as a logical 1 (high). They all have a cutoff frequency of 40Hz.&lt;br /&gt;
# Cruise Control (Pin 5). This input sets the current motor speed as the set point for cruise control. Cruise control is disabled with the Brake input.&lt;br /&gt;
# Start (Pin 7). This input starts the inverter operation.&lt;br /&gt;
# Brake input (Pin 9). This input is connected to the brake pedal. It sets a configurable negative torque (regen) which overrides the throttle. I.e. if you press both, brake pedal and throttle, the throttle is ignored.&lt;br /&gt;
# Motor Protection switch or emergency stop (Pin 11). This input is connected to the thermal protection switch that is embedded into many motors. Its function is to inhibit the PWM signals when the motor overheats. This input directly controls the PWM signals without software interaction. The PWM is enabled as long as this input is high and shut down as soon as it goes low. If your motor does not have such a switch, tie the input high permanently.&lt;br /&gt;
# Forward (Pin 13). If this input is high the motor spins forward.&lt;br /&gt;
# Reverse (Pin 15). If this input is high the motor spins backward. When neither input is high the motor will not spin at all.&lt;br /&gt;
# Reserved input (Pin 17). This used to be an emergency stop input but I decided to reduce the number of HW stop pins. Emergency stop can now be chained to pin 11. Tie this to +12V (otherwise the inverter won&#039;t start using the &#039;start&#039; switch)&lt;br /&gt;
# BMS input (Pin 19). This input limits the motor torque (both negative and positive) if a BMS signals an over or undervoltage condition. It is active high, i.e. high means over/undervoltage.&lt;br /&gt;
There is one more digital inputs on JP3&lt;br /&gt;
# Error input (Pin 13) This pin is pulled high (5V). When pulled low an error is signalled and the PWM is inhibited&lt;br /&gt;
&lt;br /&gt;
== Digital outputs ==&lt;br /&gt;
There are 5 external open collector outputs on JP2. They sink up to 150mA each, DC contactor output can sink up to 300mA.&lt;br /&gt;
# DC contactor output (Pin 12) This output is activated when the bus voltage is above a given threshold and the start pin goes high. It is disabled on overcurrent, motor overheat and emergency stop.&lt;br /&gt;
# Error output (Pin 14) This output is activated on over current, motor overheat, emergency stop, throttle out of range.&lt;br /&gt;
# Voltage output (Pin 16) This output is activated when the bus voltage surpasses an upper or lower threshold.&lt;br /&gt;
# Precharge output (Pin 20) This output is activated when the inverter is powered up. It is disabled as soon as the DC contactor is enabled.&lt;br /&gt;
# Brake output (Pin 10) This output is high when potnom reaches a certain negative threshold. The purpose is to switch on the brake light on a certain regen level&lt;br /&gt;
&lt;br /&gt;
== PWM outputs ==&lt;br /&gt;
There is one external PWM output on JP2, Pin 18. It outputs a duty cycle that is proportional to the motor or heatsink temperature or speed. Its offset and gain is software configurable. The frequency is fixed to 17kHz. It is an open collector output so it can be used with most temperature gauges in cars. It can sink up to 150mA.&lt;br /&gt;
&lt;br /&gt;
There are 6 internal PWM outputs on JP3. Pins 4, 8 and 12 provide a GND connection, Pins 1, 5 and 9 provide 5V. The outputs are 3.3V, 16mA. Frequency is configurable to 4.4, 8.8 or 17.6kHz.&lt;br /&gt;
# PWM Top phase 1 (Pin 2)&lt;br /&gt;
# PWM Bottom phase 1 (Pin 3)&lt;br /&gt;
# PWM Top phase 2 (Pin 6)&lt;br /&gt;
# PWM Bottom phase 2 (Pin 7)&lt;br /&gt;
# PWM Top phase 3 (Pin 10)&lt;br /&gt;
# PWM Bottom phase 3 (Pin 11)&lt;br /&gt;
There is a configurable dead time between top and bottom outputs.&lt;br /&gt;
&lt;br /&gt;
== Analog Inputs and over-current protection ==&lt;br /&gt;
There are 3 external analog inputs on JP2.&lt;br /&gt;
# Throttle input, 0-3.3V (Pin 6).  Cutoff frequency 16Hz, input resistance 10k.&lt;br /&gt;
# Regen pot input, 0-3.3V (Pin 8). Cutoff frequency 16Hz, input resistance 10k.&lt;br /&gt;
# KTY83 temperature sensor input (Pin 22 positive, Pin 21 negative).  Cutoff frequency 16Hz&lt;br /&gt;
There are 4 internal analog inputs on JP7. Pins 5, 7, 10, 15, 16 provide a GND connection, Pin 1,2, 8, 11, 12 provide stabilized 5V.&lt;br /&gt;
# Udc (Pin 4) Bus voltage input. 0-3.3V, cutoff frequency 16Hz&lt;br /&gt;
# Il1 (Pin 6) Current phase 1. 0V=-Imax, 2.5V=0A, 5V=Imax (software configurable). Cutoff frequency 48kHz.&lt;br /&gt;
# Il2 (Pin 9)&lt;br /&gt;
# Heatsink temperature (Pin 13), cutoff frequency 16Hz&lt;br /&gt;
The two current sensors are used for the programmable hardware over-current protection. A trip limit can be programmed that configures a hardware comparator. When the given current limit is hit, the PWM signals will be shut down without software interaction.&lt;br /&gt;
&lt;br /&gt;
== Position feedback ==&lt;br /&gt;
There is an input for a pulse encoder on JP2. Pin 3 can be connected to an open collector output of an encoder. Its input resistance is 500 Ohms. The cutoff frequency is 16kHz. E.g. a 60 pulses/rotation encoder can spin up to 18000 rpm before the limit is hit. By changing the value of R2 the cutoff frequency can be varied (lower value, higher frequency).&lt;br /&gt;
&lt;br /&gt;
Alternatively Pin 1 and 3 can be connected to a quadrature encoder found embedded in many motors. It has better response than a single channel.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;Additionally Pin 4 can be connected to an index pulse for future use with synchronous motors.&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pin 4 optionally provides 5V to power an optical encoder. To do that you have to bridge R28 (or put an application specific value there). You can also bridge R1 to get a GND connection on pin 2&lt;br /&gt;
&lt;br /&gt;
Alternatively Pin 1 and 3 can be connected to a sin/cos feedback device and Pin 4 can generate a resolver excitation sine wave. In that case Pin 2 provides 1.7V to make the resolver feedback unipolar.&lt;br /&gt;
&lt;br /&gt;
== Communication ==&lt;br /&gt;
JP1 provides a TTL level (3.3V) UART interface. It can be directly connected to a TTLUSB adapter or an Olimex ESP8266 wifi module. Pin 1 provides the 3.3V. It can be used to power the board or to power an external module like a Wifi or bluetooth transceiver. 400mA should not be exceeded. Pin 1 is 3V3, Pin 2 is GND,  Pin 3 is TX,  and Pin 4 is RX (Olimex UEXT compatible).&lt;br /&gt;
&lt;br /&gt;
The communication parameters are fixed to 115200 8N2 (2 stop bits!) and may be raised to 921600.&lt;br /&gt;
&lt;br /&gt;
There is a CAN interface on JP5. Pin 25 is CANL, Pin 26 is CANH&lt;br /&gt;
&lt;br /&gt;
== Power input ==&lt;br /&gt;
The main board contains a regulated buck converter to power all of its components. The allowed input voltage is 7-26V.&lt;br /&gt;
&lt;br /&gt;
== Pin Header Summary ==&lt;br /&gt;
Pin Header JP2&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Pin&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Encoder channel B/Resolver S3&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|GND/Resolver center point S1S4&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Encoder channel A or single channel input/Resolver S2&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Index pulse input/5V output/Resover excitation R1&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Cruise Control Input (12V)&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Throttle Input (0-3.3V)&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Start input (12V)&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Regen Pot Input (0-3.3V)&lt;br /&gt;
|-&lt;br /&gt;
|9&lt;br /&gt;
|Brake Input (12V)&lt;br /&gt;
|-&lt;br /&gt;
|10&lt;br /&gt;
|Brake output (open collector 300mA)&lt;br /&gt;
|-&lt;br /&gt;
|11&lt;br /&gt;
|Motor Protection Switch (12V, PWM inhibit when low)&lt;br /&gt;
|-&lt;br /&gt;
|12&lt;br /&gt;
|DC contactor output (open collector 300mA)&lt;br /&gt;
|-&lt;br /&gt;
|13&lt;br /&gt;
|Forward (12V)&lt;br /&gt;
|-&lt;br /&gt;
|14&lt;br /&gt;
|Error Signal (open collector 150mA)&lt;br /&gt;
|-&lt;br /&gt;
|15&lt;br /&gt;
|Reverse (12V)&lt;br /&gt;
|-&lt;br /&gt;
|16&lt;br /&gt;
|Over/Under Voltage (open collector 150mA)&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|Reserved&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|Temperature PWM output (open collector 150mA)&lt;br /&gt;
|-&lt;br /&gt;
|19&lt;br /&gt;
|BMS Over/Under Voltage input (12V)&lt;br /&gt;
|-&lt;br /&gt;
|20&lt;br /&gt;
|Precharge Output (open collector 150mA)&lt;br /&gt;
|-&lt;br /&gt;
|21&lt;br /&gt;
|Motor Temperature Input -&lt;br /&gt;
|-&lt;br /&gt;
|22&lt;br /&gt;
|Motor Temperature Input +&lt;br /&gt;
|-&lt;br /&gt;
|23&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|24&lt;br /&gt;
|Vcc (7-26V)&lt;br /&gt;
|-&lt;br /&gt;
|25&lt;br /&gt;
|CANL&lt;br /&gt;
|-&lt;br /&gt;
|26&lt;br /&gt;
|CANH&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Hardware]]&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Using_FOC_Software&amp;diff=1449</id>
		<title>Using FOC Software</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Using_FOC_Software&amp;diff=1449"/>
		<updated>2021-03-26T11:08:34Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Added section regarding sincosofs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Synchronous motors have turned out only to be well drivable when their stator current is controlled by means of a feedback current loop. Due to this, the existing feed forward control used for induction motors could not be extended for use with synchronous motors. Therefor the well known field oriented control approach was implemented in a separate software.&lt;br /&gt;
&lt;br /&gt;
Here is a video manual, created by Johannes Hubner and Damien Maguire, which describes process of setting up FOC-operated system from the very beginning: https://youtu.be/1SlL6cEoRBgv It is strongly recommended to watch it carefully.&lt;br /&gt;
&lt;br /&gt;
== Hardware requirements ==&lt;br /&gt;
Field oriented control is only implemented for permanent magnet motors. Moreover it is optimized for IPM motors (interior permanent magnet). So it will not drive PMSM or BLDC motors in an efficient manner. It will yield no movement at all with induction motors. &lt;br /&gt;
&lt;br /&gt;
Since the absolute rotor position is a key factor with synchronous motors, said software requires an absolute position feedback device. This can be a resolver or a [https://www.melexis.com/-/media/files/documents/datasheets/mlx91204-datasheet-melexis.pdf sin/cos chip] on top of a small magnet. Resolvers will need a so-called excitation. That is a high frequency (4.4kHz in our case) sine wave. Only V3 main boards generate this excitation signal. sin/cos chips do not need excitation and can also be run with V2 main boards.&lt;br /&gt;
&lt;br /&gt;
Most of Damiens Toyota Designs implement V3 main board circuitry.&lt;br /&gt;
&lt;br /&gt;
So to sum up&lt;br /&gt;
* IPM (Interior Permanent Magnet Synchronous Motor)&lt;br /&gt;
* Resolver or sin/cos chip&lt;br /&gt;
* V3 [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=58 Mainboard]&lt;br /&gt;
&lt;br /&gt;
== Encoder setup ==&lt;br /&gt;
&lt;br /&gt;
The rev3 mainboard requires sin and cos resolver/encoder inputs between 0 and 3.3V, centred around 1.65V. The Melexis MLX91204 encoder chip linked above unfortunately does not operate on 3.3V, and requires 5V, and it outputs 0.5-4.5V (centred around 2.5V). This is easy enough to &#039;fix&#039; by using a simple resistor potential divider, but it can be difficult to arrive at a strong signal centred on 1.65V. The openinverter software will cope with a small offset, but to improve encoder performance, a new parameter &#039;sincosofs&#039; has been introduced (committed on 23rd Feb, no new releases since then as yet). To set this, slowly turn the motor while measuring the voltage from the encoder (after your resistor divider). Note down min and max voltages (these should be between, but as close as possible, to 0V and 3.3V) and calculate the average (min voltage + max voltage, divide by two). This gives your signal midpoint. To convert to digits, divide this by 3.3, then multiply by 4096. Enter your result as sincosofs, and save parameters.&lt;br /&gt;
&lt;br /&gt;
== Software setup ==&lt;br /&gt;
First of all you need to flash your board with preferable the [https://github.com/jsphuebner/stm32-sine/releases/latest latest] FOC version (stm32_foc.bin or hex). It will identify itself with the version value of &amp;quot;X.YY.R-foc&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If not using a pretuned kit (like Leaf dropin board) do the [[Schematics and Instructions#Connecting the sensor boards|usual current and voltage calibration]]. Be aware that polarity is important. So if current flows &#039;&#039;&#039;from&#039;&#039;&#039; the IGBT &#039;&#039;&#039;to&#039;&#039;&#039; the motor the reading must be positive. Therefor it is possible to set negative gain. When setting negative gain ocurlim must be negative also.&lt;br /&gt;
&lt;br /&gt;
Find out the number of stator pole pairs. Resolver polepairs are either the same as stator pole pairs or 1. sin/cos is always respolepairs=1. Set &amp;quot;encmode&amp;quot; to &amp;quot;Resolver&amp;quot; or &amp;quot;sin/cos&amp;quot;, respectively. Set syncadv=10.&lt;br /&gt;
&lt;br /&gt;
It is important that the PWM channels line up with the current sensors. So current sensor &amp;quot;il1&amp;quot; must sense the phase generated by &amp;quot;PWM1&amp;quot;, same for il2. You don&#039;t need to hardware-swap anything since we have parameter &amp;quot;pinswap&amp;quot;. For example on some inverters current sensors are on phases 1 and 3. (next software revision) has the entry &amp;quot;PWMOutput23&amp;quot; in pinswap. That will essentially make PWM channel 3 responsible for phase 2 and PWM channel 2 becomes phase 3.&lt;br /&gt;
&lt;br /&gt;
Next step is to find out your motors &amp;quot;syncofs&amp;quot;. That is the offset between what the resolver reports as 0° and what actually is 0° alignment between the stator and the rotor magnetic field. To do this, a test mode has been implemented. First start your inverter with the &amp;quot;start&amp;quot; input, then switch to manual mode with the corresponding button on the web interface. &#039;&#039;&#039;Warning&#039;&#039;&#039;: manual mode does not implement any rotor speed limit! When used carelessly you might overspeed your motor to the point were it looses structural integrity - it explodes. So have means to brake your motor externally e.g. by doing this tuning with an already mounted motor and jacked up wheels. Then you can use your cars friction brakes.&lt;br /&gt;
&lt;br /&gt;
Tuning Process:&lt;br /&gt;
# Go into manual mode -&amp;gt; start input, then button on web interface. Select forward direction.&lt;br /&gt;
# Observe value &amp;quot;angle&amp;quot; and turn rotor by hand -&amp;gt; you should see angle changes between 0 to 360°. If not, check resolver connection and excitation signal.&lt;br /&gt;
# Start with syncofs=0&lt;br /&gt;
# enter a positive value for &amp;quot;manualid&amp;quot;. Start low, with respect to motor rating. E.g. 5% of rated current&lt;br /&gt;
# Keep increasing the value until you notice that the motor starts to spin - make sure you hear PWM going&lt;br /&gt;
# If motor spins, change syncofs in 1000 digit increments until it stops spinning. If you need to go below 0, like -1000 enter 64536 (=65536-1000)&lt;br /&gt;
# If manualid is less than about max_motor_current/2 go back to 4. When approaching rated_motor_current/2 make your increments/decrements smaller, like down to 300 digits&lt;br /&gt;
# You have found 1 of 2 possible offsets. Now you can enter a small value for &amp;quot;manualiq&amp;quot; and set &amp;quot;manualid&amp;quot; to 0.1. The motor should spin clockwise.&lt;br /&gt;
# If its spins counter-clockwise, add 32768 to syncofs. If the resulting value is &amp;gt; 65535, subtract 32768 instead (or do modulo addition in the first place)&lt;br /&gt;
Congratulations, the most difficult step is done. The default values or curkp and curki can usually stay untouched, I don&#039;t know a good tuning procedure anyway. Higher curki means faster reaction but also tends to oscillate at low speed. Next set up the &amp;quot;throtcur&amp;quot; parameter. It defines how many motor amps are produced per % of throttle travel.&lt;br /&gt;
&lt;br /&gt;
Internally, this is split into a so-called direct and a quadrature current by means of the &amp;quot;Most Torque Per Amp&amp;quot; algorithm (MTPA). MTPA usually needs setup for the motor that your working with. Right now some typical constants are hard coded in the software. This might be replaced by auto-tuning in the future. But the deviation from optimal should not be too large with most IPM motors out there.&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Schematics_and_Instructions&amp;diff=1448</id>
		<title>Schematics and Instructions</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Schematics_and_Instructions&amp;diff=1448"/>
		<updated>2021-03-26T10:44:52Z</updated>

		<summary type="html">&lt;p&gt;Mjc506: Couple of typos, mentioning that e-stop is not used on rev3 mainboards&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The kit is split into seven individual PCBs: the main board hosting the STM32, 2 current sensor boards, a voltage sense board and 3 gate driver boards.&lt;br /&gt;
&lt;br /&gt;
If you have a kit with the large sensor board, look here for instructions.&lt;br /&gt;
&lt;br /&gt;
== General instructions ==&lt;br /&gt;
Check out the assembly video.&lt;br /&gt;
&lt;br /&gt;
The names of the individual parts are printed on the PCBs. The kits info sheet contains the BOM for all boards. (Look [https://openinverter.org/docs/index.html%3Fen_bom,16.html here] for older BOMs) Assemble the PCBs accordingly. Whenever applying power, make sure to set a sane current limit as to not feed too much energy into a possible fault. Especially before inserting the STM32-H103 module make sure that the power supply is at the correct level (5V) and being fed to the correct pins. Test each PCB individually before connecting it to the system.&lt;br /&gt;
&lt;br /&gt;
When populating the PCBs be advised that parts are VERY hard to remove in one piece unless you have a hot air gun. So make sure you insert them correctly especially parts that have a Pin 1 marking (all integrated circuits and resistor network RN1 on the main board).&lt;br /&gt;
&lt;br /&gt;
== Schematics ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Schematic main v2.png|Main Board&lt;br /&gt;
Schematic_voltage_sense_board.png|Voltage Sense Board&lt;br /&gt;
Schematic_gate_driver.png|Gate Driver&lt;br /&gt;
Schematic current sense board.png|Current Sense Board&lt;br /&gt;
Wiring.png|System Diagram&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Errata ==&lt;br /&gt;
[[File:Errata Voltage Sense 1.jpg|thumb|203x203px|Connect R9 to GND]]&lt;br /&gt;
There are some glitches which can be easily fixed.&lt;br /&gt;
&lt;br /&gt;
1. The socket for the external signals (JP5) has the pins mirrored. This causes the pins to show up on unexpected ribbon cables. Here is the map when looking from the top:&lt;br /&gt;
 1 3 5 7  9 11 13 15 17 19 21 23 25&lt;br /&gt;
 2 4 6 8 10 12 14 16 18 20 22 24 26&lt;br /&gt;
This results in the ribbon cable map:&lt;br /&gt;
 2 1 4 3 6 5 8 7 10 9 12 11 14 13 16 15 18 17 20 19 22 21 24 23 26 25&lt;br /&gt;
[[File:Errata Voltage Sense 2.jpg|thumb|205x205px|Connect JP1.2 to VCC]]&lt;br /&gt;
2. There is a glitch on the new Voltagse Sense Board. The temp sensor polarity is sort of swapped. So connect resistor R9 to the closest GND source (instead of VCC). Connect Pin 2 of JP1 to the closest VCC source. See pictures on the right for details.&lt;br /&gt;
&lt;br /&gt;
3. On Windows you might need an older version of the serial port driver, [https://www.openinverter.org/forum/viewtopic.php?f=2&amp;amp;t=57 if you&#039;re having issues].&lt;br /&gt;
&lt;br /&gt;
== Using the web interface ==&lt;br /&gt;
The included Olimex MOD-WIFI-ESP8266 is preloaded with an easy to use [[Web Interface]]. Connect to mainboard JP6 like so&lt;br /&gt;
* Pin 1 of Wifi to Pin 2 on mainboard (3.3V) (note Pin 1 is now 5V!, schematic not yet updated)&lt;br /&gt;
* Pin 2 of Wifi to Pin 5 on mainboard (GND, next to inductor)&lt;br /&gt;
* Pin 3 of Wifi to Pin 3 on main board&lt;br /&gt;
* Pin 4 of Wifi to Pin 4 on main board&lt;br /&gt;
The ESP8266 acts as a wifi access point. SSID and password are printed on the instructions sheet included with you kit. Connect to the access point, then open your browser and type 192.168.4.1 to open the web interface. &lt;br /&gt;
&lt;br /&gt;
== Firmware Upgrade ==&lt;br /&gt;
The STM32-H103 comes with a bootloader and a current software version. Both configuration and software updates are done via the Wifi interface. To update the inverter firmware extract the stm32_sine.bin and upload it via the &amp;quot;Update&amp;quot; form of the web interface. The update takes about 2s and when it is finished the green LED should flash.&lt;br /&gt;
&lt;br /&gt;
Make sure you&#039;re not running a plot or gauges during firmware upgrade!&lt;br /&gt;
&lt;br /&gt;
You can also customize the web interface itself by replacing the respective files like index.html, index.js etc. Upload them with the same form as the firmware.&lt;br /&gt;
&lt;br /&gt;
== Connecting the sensor boards ==&lt;br /&gt;
The sensor boards are connected to JP4. The provided 10-pole ribbon cable must be inserted into the socket as shown. 3 slots must be blank on either side of the 16-pole socket. Connect the boards like so:&lt;br /&gt;
# Current sensor module 1: JP4 Pin 6 to J1 Pin 1, JP4 Pin 7 to J1 Pin 2 and JP4 Pin 8 to J1 Pin 3&lt;br /&gt;
# Current sensor module 1: JP4 Pin 9 to J1 Pin 1, JP4 Pin 10 to J1 Pin 2 and JP4 Pin 11 to J1 Pin 3&lt;br /&gt;
# Voltage sense module: JP4 Pin 13 to JP2 Pin 1, JP4 Pin Pin 4 to JP2 Pin 2, JP4 Pin 5 to JP2 Pin 3, JP4 Pin 12 to JP2 Pin 4&lt;br /&gt;
# Temperature sensor: Connect to voltage sense board JP1&lt;br /&gt;
Current values are only measured in Run mode, so tie Pin 11 and 17 to 12V and type&lt;br /&gt;
 start 2&lt;br /&gt;
Now verify the values by typing&lt;br /&gt;
 get tmphs,il1,il2,udc&lt;br /&gt;
This command will display all 4 values. To repeat the command, simply type &amp;quot;!&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The current sensor gain depends on it&#039;s distance to the conductor (including the isolation). Your AC cable must run on the underside of the PCB between the pins of the sensor IC. Use a cable tie for mounting. The PCB should be placed far away from other high currents to prevent cross-talk. To increase your current range simple put a spacer between cable and PCB.&lt;br /&gt;
&lt;br /&gt;
To calibrate the current, set il1gain and il2gain to 1. Then put a known current through the sensors by winding for example a 1.5mm² cable 10 times through both sensors. Then, using you lab power supply run 5A through your wound cable.&lt;br /&gt;
&lt;br /&gt;
The new Melexis sensors cannot have cable wound through them. So you need to attach them in their final positions and then pass current through the phase wire.&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
 set ocurlim 1000&lt;br /&gt;
&lt;br /&gt;
 start 2&lt;br /&gt;
&lt;br /&gt;
 get il1,il2&lt;br /&gt;
You will get something like&lt;br /&gt;
 95.32&lt;br /&gt;
&lt;br /&gt;
 98.12&lt;br /&gt;
The gain factor is calculated by g=Ireading/(Iref*N) (Ireading: reply from get, Iref: reference current, e.g. 5A, N: number of turns through sensor, e.g. 10). So for our example il1gain=95.32/(5*10)=1.9064 and il2gain=98.12/(5*10)=1.9624. So type&lt;br /&gt;
 set il1gain 1.91&lt;br /&gt;
&lt;br /&gt;
 set il2gain 1.96&lt;br /&gt;
&lt;br /&gt;
 save&lt;br /&gt;
Calibration is crucial to ensure correct operation of the over current limit!&lt;br /&gt;
&lt;br /&gt;
If your current sensor gains are negative then your &#039;ocurlim&#039; also needs to be negative!&lt;br /&gt;
&lt;br /&gt;
Likewise you need to calibrate the voltage sensor board. Type (or set on web interface)&lt;br /&gt;
 set udcgain 1&lt;br /&gt;
 set udcofs 0&lt;br /&gt;
Now make sure the input to the sensor board is disconnected. Get the value of udc and write it to udcofs:&lt;br /&gt;
 get udc&lt;br /&gt;
 500.00&lt;br /&gt;
 set udcofs 500&lt;br /&gt;
Now connect a known voltage to the input, the higher, the more accurate the calibration is. If your test voltage is 100V and udc reads 450V then you need to set udcgain=450/100=4.5&lt;br /&gt;
 set udcgain 4.5&lt;br /&gt;
 save&lt;br /&gt;
&lt;br /&gt;
== Connecting the gate drivers ==&lt;br /&gt;
&#039;&#039;&#039;The steps from here on will only work with the &amp;quot;sine&amp;quot; software, not the FOC software&#039;&#039;&#039;. So temporarily flash that, you can revert later on.&lt;br /&gt;
&lt;br /&gt;
Connect the gate drivers with a ribbon cable like shown in the picture. Power up the inverter, which will now pull around 300mA @ 12V. If its less, one or more gate drivers are unpowered, if its more, there is an error on the drivers or the connection. Remove power quickly in that case. The inrush current is higher of course, so set the current limit of your power supply to about 1A.&lt;br /&gt;
&lt;br /&gt;
When all is fine, connect pin 11, 13 and 17 to 12V as well to overcome the hardware PWM inhibit logic.  Now type&lt;br /&gt;
 start 2&lt;br /&gt;
This will start sine wave generation. Type&lt;br /&gt;
 set fslipspnt 1&lt;br /&gt;
&lt;br /&gt;
 set ampnom 1&lt;br /&gt;
This outputs a clean 50/50 duty cycle on all 6 PWM outputs. Verify this with a scope on the main board, the gate driver inputs and the gate driver outputs. Also verify that there is about 1.5µs dead time between GTOP and GBOT.&lt;br /&gt;
&lt;br /&gt;
Note that the sensor board has to stay connected at all times, otherwise the over current protection will kick in due to an implausible signal. &lt;br /&gt;
&lt;br /&gt;
== Connecting the IGBTs ==&lt;br /&gt;
Now you are ready for some more power. Connect the gate drivers to the IGBTs and repeat the steps above. The slope of the PWM will be less steep as to show that the gate driver is really working against the gates capacity. Connect a small voltage (like 30V) to the DC bus and verify that the PWM shows on the IGBT modules outputs and looks the same on all outputs. This circuit is completely symmetrical so the output should be symmectrical as well. If its not, there might be something wrong. There must be absolutely 0 current flow on the DC bus, otherwise you are experiencing shoot-through, i.e. the top and bottom IGBT of one leg are on at the same time. Correct this before continuing! &lt;br /&gt;
&lt;br /&gt;
== Connecting the motor ==&lt;br /&gt;
Now comes the big one. Connect a motor to the three output phases. Leave the DC voltage at a small value but make sure it can supply enough current (more than 10A). But also make sure to limit the possible current e.g. with a fuse. Now type&lt;br /&gt;
 set fweak 10&lt;br /&gt;
&lt;br /&gt;
 start 2&lt;br /&gt;
&lt;br /&gt;
 set fslipspnt 10&lt;br /&gt;
&lt;br /&gt;
 set ampnom 100&lt;br /&gt;
This will start the inverter at 10Hz and the motor should spin at the corresponding speed.&lt;br /&gt;
&lt;br /&gt;
Now type&lt;br /&gt;
 stop&lt;br /&gt;
to stop the inverter. Connect the voltage that you actually want to run at to the DC input. Before turning on, you must configure the frequency/voltage curve. Therefor you have to do some math with your motors nameplate values. You need to calculate the frequency at which the motor can be driven with the maximum output voltage. Beyond that point, the motor operates in the field weakening region, therefor the parameter is called fweak. This calculates as follows: &lt;br /&gt;
&lt;br /&gt;
So for a DC bus voltage of 350V, a nameplate frequency of 60Hz and a nameplace voltage of 200V you get fweak=60Hz x (350V/1.41)/200V = 74.5Hz. Now type&lt;br /&gt;
 set fweak 74.5&lt;br /&gt;
&lt;br /&gt;
 start 2&lt;br /&gt;
&lt;br /&gt;
 set fslipspnt 10&lt;br /&gt;
&lt;br /&gt;
 set ampnom 100&lt;br /&gt;
The motor should spin as it did before but at its nomimal nameplate torque. You can try different frequencies. Should the motor only spin very shortly and stop, you might be hitting the current limit. It can be modified e.g. to 200A with&lt;br /&gt;
 set ocurlim -200&lt;br /&gt;
If all is working save the current parameter set by typing&lt;br /&gt;
 save&lt;br /&gt;
Alternatively you can use the python-script tuning.py to try and determine the parameters automatically. Start it in a linux console by typing&lt;br /&gt;
 python tuning.py -d /dev/ttyUSB0 &lt;br /&gt;
&lt;br /&gt;
== Connecting the speed sensor ==&lt;br /&gt;
[[File:PulseEncoder.jpg|thumb|227x227px|Pulse Encoder]]&lt;br /&gt;
This board has been designed with optical encoders in mind. So it supplies 30mA on pin 2 for an IR diode. Pin 3 expects an open collector pulse signal. The picture shows a very exposed version of such a sensor which explains the principle very well though. The controller needs to know how many pulses it gets per turn of the shaft. It also needs to know the number of pole pairs of your motor. You can deduce that from the nameplate or data sheet. Type&lt;br /&gt;
 set numimp 64&lt;br /&gt;
&lt;br /&gt;
 set polepairs 2&lt;br /&gt;
&lt;br /&gt;
 start 2&lt;br /&gt;
The motor should now spin up smoothly.&lt;br /&gt;
&lt;br /&gt;
Note that this controller only supports up to about 10000 pulses per second. So for example if you plan to spin your motor up to 10000 rpm which is 166.7 1/s the encoder mustn&#039;t generate more than 60 pulses per turn. The limit is imposed by the low pass filter and can be changed by populating a different resistor R3.&lt;br /&gt;
&lt;br /&gt;
Some encoders require more than the provided 30mA. In that case replace R2 by a bridge.&lt;br /&gt;
&lt;br /&gt;
== Connecting the throttle pot ==&lt;br /&gt;
The throttle needs a 5V source. It depends on your encoder type. If you have a simple 1-channel encoder you can populate R1 with a wire and use Pin 1 as 5V. If you use an advanced quadrature encoder, replace R7 with a wire and use Pin 2 as 5V for both throttle and encoder. Connect pot GND to Pin 23 (or some other GND source) and the slider to pin 6. Type&lt;br /&gt;
 get pot&lt;br /&gt;
When the pot is at &amp;quot;full throttle&amp;quot; the value must be higher than if it is completely released. Write down the maximum and minimum value, add/subtract a bit of slack (like 10-20 digits) and tell the controller by typing&lt;br /&gt;
 set potmin 2000&lt;br /&gt;
&lt;br /&gt;
 set potmax 3000&lt;br /&gt;
Now the pots position can be correctly translated to %. When completely released, you get -30% for regen (can be adjusted with parameter brkmax), at full throttle you get close to 100% for acceleration. Verify by typing&lt;br /&gt;
 get potnom&lt;br /&gt;
If the pot value leaves the window defined by potmin and potmax the throttle command is set to 0 and the error light is triggered. &lt;br /&gt;
&lt;br /&gt;
== Running slip control ==&lt;br /&gt;
Now start the controller in slip control mode by typing&lt;br /&gt;
 start 1&lt;br /&gt;
As you reach 30% of throttle travel the motor should start spinning. The harder you press the more it will accelerate until it reaches its maximum speed (parameter fmax, preconfigured to 200Hz). When you let go the throttle the motor will brake to a standstill.&lt;br /&gt;
&lt;br /&gt;
Once the whole setup is inside your car you can play with various parameters for fine tuning. &lt;br /&gt;
&lt;br /&gt;
== Connecting precharge and main contactor ==&lt;br /&gt;
[[File:Precharge.png|thumb|Contactor connection]]&lt;br /&gt;
Connect the precharge relay and the main contactor as depicted in the diagram. It is recommended to disconnect both battery poles. The inverter controls the two contactors by means of the DC bus voltage. When udc &amp;lt; udcsw then the precharge relay is closed, the main contactor is inhibited. When udc &amp;gt; udcsw the main contactor is closed as soon has the start signal (pin 7) goes high. The precharge relay is opened at the same time. udcsw should be set to about 80% of your nominal pack voltage. So if the latter is 360V set udcsw to 300V by typing&lt;br /&gt;
 set udcsw 300 &lt;br /&gt;
&lt;br /&gt;
== Connecting motor temperature sensor, emergency stop and motor protection switch ==&lt;br /&gt;
The software supports the KTY83 and KTY84 temperature sensor. Other types might be supported in upcoming releases. Note that the sensor has a polarity. When connected the wrong way it will saturate at 120°C. So even if the temperature rises above 120°C it will be displayed as 120°C. Connect it to pin 21 (negative) and pin 22 (positive).&lt;br /&gt;
&lt;br /&gt;
Some motors have a protection switch that opens at some threshold temperature. You can connect it to 12V and pin 11. It will stop the inverter immediately if tripped. If your motor does not have this feature, connect pin 11 to 12V.&lt;br /&gt;
&lt;br /&gt;
The emergency stop serves a similar function. It can be installed in the drivers reach and will stop the inverter immediately when 12V is interrupted (failsafe). Connect it to 12V and pin 17. (Not used on the rev3 mainboard, connect pin 17 to 12V. If you want a separate E-stop button, wire it in series with the motor protection switch) &lt;br /&gt;
&lt;br /&gt;
== Forward and reverse ==&lt;br /&gt;
You can connect a 3-position switch for selecting the drive mode. Forward (pin 13) turns the motor in one direction, reverse (pin 15) in the other. If they are both low, no current is fed to the motor making this essentially the neutral position. &lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
There are detailed pages for [[Main Board Version 2|main board]], [[Sense Boards|sensor boards]] and [[Gate Driver|gate drivers]].&lt;br /&gt;
&lt;br /&gt;
Information about the softwares [[Parameters]].&lt;br /&gt;
&lt;br /&gt;
In-depth information can be found on the [[Hardware Theory of Operation|Hardware Principles]] and [[Software Theory of Operation|Software Principles page]].&lt;/div&gt;</summary>
		<author><name>Mjc506</name></author>
	</entry>
</feed>