<?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=Dmpitsch</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=Dmpitsch"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Dmpitsch"/>
	<updated>2026-04-29T12:35:55Z</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=121</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=121"/>
		<updated>2019-04-12T06:48:23Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;[[Main Board Version 2|control hardware]]&amp;lt;/u&amp;gt; using an STM32F103, the inverter firmware, and an easy to use web interface. Other hardware variants include &amp;lt;u&amp;gt;[https://github.com/damienmaguire/ drop in boards for Tesla]&amp;lt;/u&amp;gt; small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;[[Schematics and Instructions|build instructions]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;[[Parameters|parameter description]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;[[CAN communication|CAN communication]]&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;[[Battery Charging|battery charger]]&amp;lt;/u&amp;gt; also.&lt;br /&gt;
&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;
= Hardware =&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;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
= Inverter Kits =&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Schematics and Instructions]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
= Tesla Boards =&lt;br /&gt;
Currently, there are two boards available designed specifically to run the drive units found in the Tesla Model S and Model X electric vehicles.&lt;br /&gt;
The Large drive unit (LDU) logic board and Small drive unit (SDU) logic board. The LDU board is designed to run the large rear drive unit found in the Model S and X. Both the standard and performance (sport) version. The SDU board is designed to run the small drive units ,both front and rear.&lt;br /&gt;
Both designs are based on the openinverter system and use the exact same firmware and web interface / wifi connectivity as the standard products.&lt;br /&gt;
A variant of the LDU found in the Mercedes B class ev can also be used.&amp;lt;br&amp;gt;&lt;br /&gt;
In keeping with the open source philosophy, all designs including full schematics, pcb layouts, BOMs and Gerber files can be found on Github :&amp;lt;br&amp;gt;&lt;br /&gt;
https://github.com/damienmaguire&amp;lt;br&amp;gt;&lt;br /&gt;
Fully built and tested and bare pcb boards are available from the EVBMW webshop :&amp;lt;br&amp;gt;&lt;br /&gt;
http://www.evbmw.com/index.php/evbmw-webshop&amp;lt;br&amp;gt;&lt;br /&gt;
Support for these boards will be provided via the OpenInverter forum and a full body documentation will be built up here on the Wiki over time.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[VW Polo 86C Conversion]]&lt;br /&gt;
= General =&lt;br /&gt;
* [[Configuration Files]]&lt;br /&gt;
&amp;lt;!--&amp;gt;&lt;br /&gt;
= Draft Main Page =&lt;br /&gt;
* [[Main Page - Under Development]]&lt;br /&gt;
&amp;lt;--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Draft:Main_Page&amp;diff=101</id>
		<title>Draft:Main Page</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Draft:Main_Page&amp;diff=101"/>
		<updated>2019-03-30T04:20:20Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Initial creation of Draft:Main Page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;[[Main Board Version 2|control hardware]]&amp;lt;/u&amp;gt; using an STM32F103, the &amp;lt;u&amp;gt;inverter firmware&amp;lt;/u&amp;gt;, and an easy to use &amp;lt;u&amp;gt;web interface&amp;lt;/u&amp;gt;. Other hardware variants include &amp;lt;u&amp;gt;[https://github.com/damienmaguire/ drop in boards for Tesla]&amp;lt;/u&amp;gt; small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;[[Schematics and Instructions|build instructions]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;[[Parameters|parameter description]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;[[CAN communication|CAN communication]]&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;[[Battery Charging|battery charger]]&amp;lt;/u&amp;gt; also.&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;
=Hardware=&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;
*[[Hardware Theory of Operation]]&lt;br /&gt;
*[[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
=Software=&lt;br /&gt;
*[[Software Theory of Operation]]&lt;br /&gt;
*[[CAN communication]]&lt;br /&gt;
*[[Parameters]]&lt;br /&gt;
*[[Downloads]]&lt;br /&gt;
*[[Errors]]&lt;br /&gt;
=Inverter Kits=&lt;br /&gt;
*[[Features]]&lt;br /&gt;
*[[Schematics and Instructions]]&lt;br /&gt;
*[[Battery Charging]]&lt;br /&gt;
=Tesla Boards=&lt;br /&gt;
=Conversion Projects=&lt;br /&gt;
*[[VW Polo 86C Conversion]]&lt;br /&gt;
=General=&lt;br /&gt;
*[[Configuration Files]]&amp;lt;!--&amp;gt;&lt;br /&gt;
= Draft Main Page =&lt;br /&gt;
* [[Main Page - Under Development]]&lt;br /&gt;
&amp;lt;--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=100</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=100"/>
		<updated>2019-03-30T02:36:06Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;[[Main Board Version 2|control hardware]]&amp;lt;/u&amp;gt; using an STM32F103, the &amp;lt;u&amp;gt;inverter firmware&amp;lt;/u&amp;gt;, and an easy to use &amp;lt;u&amp;gt;web interface&amp;lt;/u&amp;gt;. Other hardware variants include &amp;lt;u&amp;gt;[https://github.com/damienmaguire/ drop in boards for Tesla]&amp;lt;/u&amp;gt; small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;[[Schematics and Instructions|build instructions]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;[[Parameters|parameter description]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;[[CAN communication|CAN communication]]&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;[[Battery Charging|battery charger]]&amp;lt;/u&amp;gt; also.&lt;br /&gt;
&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;
= Hardware =&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;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
= Inverter Kits =&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Schematics and Instructions]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
= Tesla Boards =&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[VW Polo 86C Conversion]]&lt;br /&gt;
= General =&lt;br /&gt;
* [[Configuration Files]]&lt;br /&gt;
&amp;lt;!--&amp;gt;&lt;br /&gt;
= Draft Main Page =&lt;br /&gt;
* [[Main Page - Under Development]]&lt;br /&gt;
&amp;lt;--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=99</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=99"/>
		<updated>2019-03-30T02:35:19Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added content migrated from openinverter.org/docs/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;[[Main Board Version 2|control hardware]]&amp;lt;/u&amp;gt; using an STM32F103, the &amp;lt;u&amp;gt;inverter firmware&amp;lt;/u&amp;gt;, and an easy to use &amp;lt;u&amp;gt;web interface&amp;lt;/u&amp;gt;. Other hardware variants include &amp;lt;u&amp;gt;[https://github.com/damienmaguire/ drop in boards for Tesla]&amp;lt;/u&amp;gt; small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;[[Schematics and Instructions|build instructions]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;[[Parameters|parameter description]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;[[CAN communication|CAN communication]]&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;[[Battery Charging|battery charger]]&amp;lt;/u&amp;gt; also.&lt;br /&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;
&lt;br /&gt;
= Hardware =&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;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
= Inverter Kits =&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Schematics and Instructions]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
= Tesla Boards =&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[VW Polo 86C Conversion]]&lt;br /&gt;
= General =&lt;br /&gt;
* [[Configuration Files]]&lt;br /&gt;
&amp;lt;!--&amp;gt;&lt;br /&gt;
= Draft Main Page =&lt;br /&gt;
* [[Main Page - Under Development]]&lt;br /&gt;
&amp;lt;--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=98</id>
		<title>Main Page - Under Development</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=98"/>
		<updated>2019-03-30T02:31:01Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;[[Main Board Version 2|control hardware]]&amp;lt;/u&amp;gt; using an STM32F103, the &amp;lt;u&amp;gt;inverter firmware&amp;lt;/u&amp;gt;, and an easy to use &amp;lt;u&amp;gt;web interface&amp;lt;/u&amp;gt;. Other hardware variants include &amp;lt;u&amp;gt;[https://github.com/damienmaguire/ drop in boards for Tesla]&amp;lt;/u&amp;gt; small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;[[Schematics and Instructions|build instructions]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;[[Parameters|parameter description]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;[[CAN communication|CAN communication]]&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;[[Battery Charging|battery charger]]&amp;lt;/u&amp;gt; also.&lt;br /&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;
&lt;br /&gt;
= Hardware =&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;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
= Inverter Kits =&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Schematics and Instructions]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
= Tesla Boards =&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[VW Polo 86C Conversion]]&lt;br /&gt;
= General =&lt;br /&gt;
* [[Configuration Files]]&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=VW_Polo_86C_Conversion&amp;diff=97</id>
		<title>VW Polo 86C Conversion</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=VW_Polo_86C_Conversion&amp;diff=97"/>
		<updated>2019-03-30T02:30:09Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added Polo images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Polo front.jpg|thumb|Polo Front]]&lt;br /&gt;
[[File:Polo motor inverter.jpg|thumb|Polo Motor Inverter]]&lt;br /&gt;
[[File:Polo front batteries.jpg|thumb|Polo Front Batteries]]&lt;br /&gt;
[[File:Polo rear batteries.jpg|thumb|Polo Rear Batteries]]&lt;br /&gt;
&lt;br /&gt;
In November 2008 I picked up the idea of converting a regular ICE car to an electric car. The main reason was back then (and still is) a strong interest in the underlying technology. Therefor I didn&#039;t want to use existing products but roll my own. For propulsion I chose an industrial ACIM for its simplicity and availability. To drive such a motor from a battery pack, an inverter is needed. It converts DC current to a rotating 3-phase current which makes the motor spin.&lt;br /&gt;
&lt;br /&gt;
I chose the LiFePo4 battery technology for it is currently the best compromise between cost, weight and power density and offers the best cycle life.&lt;br /&gt;
&lt;br /&gt;
Like all lithium cells they need to be monitored for over and under-voltage. Therefor I developed a monitoring system that measures the voltage of every single cell and transmits that information wireless using infrared light pulses.&lt;br /&gt;
&lt;br /&gt;
Over a timespan of 6 years I &amp;quot;built my dream&amp;quot; and got it approved by the German TÜV Nord. That means it also passed the EMC test i.e. a test that ensures that no other electronic equipment is disturbed by the car.&lt;br /&gt;
&lt;br /&gt;
3 of those 6 years (part time, while attending a normal day job) I spent developing the inverter. Read up on the history on the diyelectriccar forum. I spent another year and a half building a prototype car and another year and a half building the actual car (VW Polo 86C) and developing the BMS. All that included the help of many others.&lt;br /&gt;
&lt;br /&gt;
With all the materials ready and all the development done I&#039;d estimate a conversion time of 2 weeks when converting the same or a very similar car. It&#039;s the unexpected and unknown that uses a lot of time: taking stuff apart again and again, waiting for parts to arrive etc.&lt;br /&gt;
&lt;br /&gt;
I decided to make the inverter design available to everyone. AC inverters are considered complicated and mysterious. For that reason many people are scared away from the beautiful AC technology. I&#039;m hoping that I can contribute a tiny bit to making inverters less mysterious.&lt;br /&gt;
&lt;br /&gt;
You can build your own 3-phase motor controller with the material presented here. I&#039;m also offering hardware kits that save you the trouble of ordering parts from different suppliers. You also support the development of the project by ordering a kit.&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Polo_rear_batteries.jpg&amp;diff=96</id>
		<title>File:Polo rear batteries.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Polo_rear_batteries.jpg&amp;diff=96"/>
		<updated>2019-03-30T02:26:03Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Polo_front_batteries.jpg&amp;diff=95</id>
		<title>File:Polo front batteries.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Polo_front_batteries.jpg&amp;diff=95"/>
		<updated>2019-03-30T02:25:36Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Polo_motor_inverter.jpg&amp;diff=94</id>
		<title>File:Polo motor inverter.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Polo_motor_inverter.jpg&amp;diff=94"/>
		<updated>2019-03-30T02:25:07Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Polo_front.jpg&amp;diff=93</id>
		<title>File:Polo front.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Polo_front.jpg&amp;diff=93"/>
		<updated>2019-03-30T02:24:42Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=VW_Polo_86C_Conversion&amp;diff=92</id>
		<title>VW Polo 86C Conversion</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=VW_Polo_86C_Conversion&amp;diff=92"/>
		<updated>2019-03-30T02:22:28Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Initial Draft&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:main_board_v2.jpg|thumb|Main board]]In November 2008 I picked up the idea of converting a regular ICE car to an electric car. The main reason was back then (and still is) a strong interest in the underlying technology. Therefor I didn&#039;t want to use existing products but roll my own. For propulsion I chose an industrial ACIM for its simplicity and availability. To drive such a motor from a battery pack, an inverter is needed. It converts DC current to a rotating 3-phase current which makes the motor spin.&lt;br /&gt;
&lt;br /&gt;
I chose the LiFePo4 battery technology for it is currently the best compromise between cost, weight and power density and offers the best cycle life.&lt;br /&gt;
&lt;br /&gt;
Like all lithium cells they need to be monitored for over and under-voltage. Therefor I developed a monitoring system that measures the voltage of every single cell and transmits that information wireless using infrared light pulses.&lt;br /&gt;
&lt;br /&gt;
Over a timespan of 6 years I &amp;quot;built my dream&amp;quot; and got it approved by the German TÜV Nord. That means it also passed the EMC test i.e. a test that ensures that no other electronic equipment is disturbed by the car.&lt;br /&gt;
&lt;br /&gt;
3 of those 6 years (part time, while attending a normal day job) I spent developing the inverter. Read up on the history on the diyelectriccar forum. I spent another year and a half building a prototype car and another year and a half building the actual car (VW Polo 86C) and developing the BMS. All that included the help of many others.&lt;br /&gt;
&lt;br /&gt;
With all the materials ready and all the development done I&#039;d estimate a conversion time of 2 weeks when converting the same or a very similar car. It&#039;s the unexpected and unknown that uses a lot of time: taking stuff apart again and again, waiting for parts to arrive etc.&lt;br /&gt;
&lt;br /&gt;
I decided to make the inverter design available to everyone. AC inverters are considered complicated and mysterious. For that reason many people are scared away from the beautiful AC technology. I&#039;m hoping that I can contribute a tiny bit to making inverters less mysterious.&lt;br /&gt;
&lt;br /&gt;
You can build your own 3-phase motor controller with the material presented here. I&#039;m also offering hardware kits that save you the trouble of ordering parts from different suppliers. You also support the development of the project by ordering a kit.&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=91</id>
		<title>Main Page - Under Development</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=91"/>
		<updated>2019-03-30T02:14:57Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added internal and external links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;[[Main Board Version 2|control hardware]]&amp;lt;/u&amp;gt; using an STM32F103, the &amp;lt;u&amp;gt;inverter firmware&amp;lt;/u&amp;gt;, and an easy to use &amp;lt;u&amp;gt;web interface&amp;lt;/u&amp;gt;. Other hardware variants include &amp;lt;u&amp;gt;[https://github.com/damienmaguire/ drop in boards for Tesla]&amp;lt;/u&amp;gt; small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;[[Schematics and Instructions|build instructions]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;[[Parameters|parameter description]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;[[CAN communication|CAN communication]]&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;[[Battery Charging|battery charger]]&amp;lt;/u&amp;gt; also.&lt;br /&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;
&lt;br /&gt;
= Hardware =&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;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
= Inverter Kits =&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Schematics and Instructions]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
= Tesla Boards =&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[VW Polo 86C]]&lt;br /&gt;
= General =&lt;br /&gt;
* [[Configuration Files]]&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=90</id>
		<title>Main Page - Under Development</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=90"/>
		<updated>2019-03-30T01:48:32Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added original Main Page content&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;control hardware&amp;lt;/u&amp;gt; using an STM32F103, the &amp;lt;u&amp;gt;inverter firmware&amp;lt;/u&amp;gt;, and an easy to use web interface. Other hardware variants include &amp;lt;u&amp;gt;drop in boards&amp;lt;/u&amp;gt; for Tesla small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;build instructions&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;parameter description&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;CAN communication&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;battery charger&amp;lt;/u&amp;gt; also.&lt;br /&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;
&lt;br /&gt;
= Hardware =&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;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
= Inverter Kits =&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Schematics and Instructions]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
= General =&lt;br /&gt;
* [[Configuration Files]]&lt;br /&gt;
= Tesla Boards =&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Downloads&amp;diff=88</id>
		<title>Downloads</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Downloads&amp;diff=88"/>
		<updated>2019-03-29T05:43:11Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added hyperlinks&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The firmware source code and binaries, schematics and various tools are now available on my github.&lt;br /&gt;
* [https://github.com/jsphuebner/stm32-sine/releases/latest/ Latest firmware]&lt;br /&gt;
* [https://github.com/jsphuebner/tumanako-inverter-fw-bootloader/releases/latest/ Latest boot loader]&lt;br /&gt;
* [https://github.com/jsphuebner/esp8266-web-interface/ Latest web ESP8266 interface]&lt;br /&gt;
Also check out this [https://github.com/poofik/Huebner-Inverter/ frontend]&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=87</id>
		<title>Parameters</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=87"/>
		<updated>2019-03-29T05:35:33Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added fweak image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The inverter can be adapted to many kinds of motors, battery packs and driver preferences by changing parameters.&lt;br /&gt;
&lt;br /&gt;
== Motor Parameters ==&lt;br /&gt;
The parameters to adjust the inverter to the motor are boost, fweak, fslipmin, fslipmax, polepairs, fmin, fmax and numimp.&lt;br /&gt;
&lt;br /&gt;
They can be deduced from the motors nameplate or by trying which feels best. For illustration we will assume a bus voltage of 500V and a 4-pole (p=2) motor with a nominal speed of n=1450rpm@f=50Hz and 230V. With 500V DC an AC voltage of 500/1.41=355V can be generated.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boost&#039;&#039;&#039; is the digital amplitude of the sine wave at motor startup. It is needed to overcome the motors ohmic resistance. Digital amplitude is an internal quantity. 0 means no voltage is generated at all, 37813 means the full possible voltage is generated.&lt;br /&gt;
&lt;br /&gt;
Example: boost=1700&lt;br /&gt;
&lt;br /&gt;
At full throttle an effective voltage of 1700/37813*355=16V is generated. The best way to find a feasible value is to optimize it in the finished car. Start with the default value and increase until you get a good startup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fweak&#039;&#039;&#039; is the frequency at which the full possible voltage is generated. It is also the point of the highest motor power. Beyond fweak torque will decrease to the square of frequency and thus power will decrease linear with frequency.&lt;br /&gt;
&lt;br /&gt;
A starting point for fweak is the motors nameplate:&lt;br /&gt;
&lt;br /&gt;
[[File:Fweak.png]]&lt;br /&gt;
&lt;br /&gt;
With our illustration motor fweak=355/230*50=77Hz. fweak can be configured lower than that resulting in more torque at the low end.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fslipmin&#039;&#039;&#039;/&#039;&#039;&#039;fslipmax&#039;&#039;&#039; is the slip frequency at which the motor is run at minimum/maximum throttle. fslipmin is set to the motors optimal slip frequency which can be deduced from the nameplate. fslipmin=f-p*n/60. With our illustration motor fslipmin=50-2*1450/60=1.66Hz. fslipmax can be set as high as breakdown torque which is not found on the nameplate. So its best found experimental starting with 2*fslipmin. If set too high the motor will start to rock violently on startup, possibly tripping the over current limit.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;polepairs&#039;&#039;&#039; is set to p, 2 in our example.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fmin&#039;&#039;&#039; should be set just below fslipmin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fmax&#039;&#039;&#039; is used to limit the speed of the motor. The default 200Hz would result in a maximum speed of about 6000rpm.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ampmin&#039;&#039;&#039; Is the minimum relative amplitude fed to the motor. At very low amplitudes the motor does not generate any noticable torque and throttle travel is wasted that does nothing. Find out a good value by experimenting. &lt;br /&gt;
&lt;br /&gt;
== Inverter Parameters ==&lt;br /&gt;
&#039;&#039;&#039;pwmfrq&#039;&#039;&#039; Sets the frequency at which the IGBTs are switched on and off. The faster the switching the higher the losses in the inverter and the lower the losses in the motor. The maximum frequency is also limited by the driver boards as explained here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pwmpol&#039;&#039;&#039; Sets the polarity of the PWM signals, active high or active low. Do not touch this parameter if you don&#039;t know what you&#039;re doing. When configured inversely it will blow up your power stage immediatly if connected to a potent power source like batteries.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;deadtime&#039;&#039;&#039; The time between switching off one IGBT and switching on the other. 28=800ns, 63=1.5µs. More values can be found in the STM32 data sheet. Make sure to test the deadtime at low power levels. Setting the deadtime too low while operating of a potent power source can blow up your power stage! &lt;br /&gt;
&lt;br /&gt;
== Parameter Reference ==&lt;br /&gt;
The following parameters currently exist to customize the controller software. Type&lt;br /&gt;
 set   &lt;br /&gt;
to change it. Type&lt;br /&gt;
 get &lt;br /&gt;
to get the current value.&lt;br /&gt;
&lt;br /&gt;
Parameters are internally stored with 5 binary fraction digits. That means there are 32 possible values after the decimal point. So when you set a value of 0.35 you might end up with 0.33. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Unit&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Min&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Max&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Motor&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|boost&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|37813&lt;br /&gt;
|1700&lt;br /&gt;
|0 Hz Boost in digit. 1000 digit ~ 2.5%&lt;br /&gt;
|-&lt;br /&gt;
|fweak&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|67&lt;br /&gt;
|Frequency where V/Hz reaches its peak&lt;br /&gt;
|-&lt;br /&gt;
|udcnom&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|0&lt;br /&gt;
|Nominal voltage for fweak and boost. fweak and boost are scaled to the actual dc voltage. 0=don&#039;t scale&lt;br /&gt;
|-&lt;br /&gt;
|fpconst&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|400&lt;br /&gt;
|Frequency where slip frequency is derated to form a constant power region. Only has an effect when &amp;lt; fweak&lt;br /&gt;
|-&lt;br /&gt;
|fslipmin&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|1&lt;br /&gt;
|Slip frequency at minimum throttle&lt;br /&gt;
|-&lt;br /&gt;
|fslipmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|3&lt;br /&gt;
|Slip frequency at maximum throttle&lt;br /&gt;
|-&lt;br /&gt;
|polepairs&lt;br /&gt;
|&lt;br /&gt;
|1&lt;br /&gt;
|16&lt;br /&gt;
|2&lt;br /&gt;
|Pole pairs of motor (4-pole motor: 2 pole pairs)&lt;br /&gt;
|-&lt;br /&gt;
|respolepairs&lt;br /&gt;
|&lt;br /&gt;
|1&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|Pole pairs of resolver&lt;br /&gt;
|-&lt;br /&gt;
|encflt&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|16&lt;br /&gt;
|4&lt;br /&gt;
|Filter constant between pulse encoder and speed calculation. Makes up for slightly uneven pulse distribution&lt;br /&gt;
|-&lt;br /&gt;
|encmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|4&lt;br /&gt;
|0&lt;br /&gt;
|0=single channel encoder, 1=quadrature encoder,&lt;br /&gt;
2=quadrature /w index pulse, &lt;br /&gt;
3=SPI (deprecated)&lt;br /&gt;
4=Resolver&lt;br /&gt;
|-&lt;br /&gt;
|fmin&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|1&lt;br /&gt;
|Below this frequency no voltage is generated&lt;br /&gt;
|-&lt;br /&gt;
|fmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|200&lt;br /&gt;
|At this frequency slip is commanded 0 to avoid further acceleration&lt;br /&gt;
|-&lt;br /&gt;
|numimp&lt;br /&gt;
|Imp/rev&lt;br /&gt;
|8&lt;br /&gt;
|8192&lt;br /&gt;
|60&lt;br /&gt;
|Pulse encoder pulses per turn&lt;br /&gt;
|-&lt;br /&gt;
|dirchrpm&lt;br /&gt;
|rpm&lt;br /&gt;
|0&lt;br /&gt;
|2000&lt;br /&gt;
|100&lt;br /&gt;
|Motor speed at which direction change is allowed&lt;br /&gt;
|-&lt;br /&gt;
|dirmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|0=button (momentary pulse selects forward/reverse), 1=switch (forward or reverse signal must be constantly high)&lt;br /&gt;
|-&lt;br /&gt;
|syncofs&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|65535&lt;br /&gt;
|0&lt;br /&gt;
|Phase shift of sine wave after receiving index pulse&lt;br /&gt;
|-&lt;br /&gt;
|snsm&lt;br /&gt;
|&lt;br /&gt;
|2&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|Motor temperature sensor. 2=KTY83, 3=KTY84&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Inverter&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|pwmfrq&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|PWM frequency. 0=17.6kHz, 1=8.8kHz, 2=4.4kHz, 3=2.2kHz. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|pwmpol&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|PWM polarity. 0=active high, 1=active low. DO NOT PLAY WITH THIS!&lt;br /&gt;
Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|deadtime&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|255&lt;br /&gt;
|28&lt;br /&gt;
|Deadtime between highside and lowside pulse. 28=800ns, 56=1.5µs. Not always linear, consult STM32 manual. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|ocurlim&lt;br /&gt;
|A&lt;br /&gt;
| -65535&lt;br /&gt;
|65535&lt;br /&gt;
|100&lt;br /&gt;
|Hardware over current limit. RMS-current times sqrt(2) + some slack&lt;br /&gt;
|-&lt;br /&gt;
|minpulse&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|1000&lt;br /&gt;
|Narrowest or widest pulse, all other mapped to full off or full on, respectively&lt;br /&gt;
|-&lt;br /&gt;
|il1gain&lt;br /&gt;
|dig/A&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4.7&lt;br /&gt;
|Digits per A of current sensor L1&lt;br /&gt;
|-&lt;br /&gt;
|il2gain&lt;br /&gt;
|dig/A&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4.7&lt;br /&gt;
|Digits per A of current sensor L2&lt;br /&gt;
|-&lt;br /&gt;
|udcgain&lt;br /&gt;
|dig/V&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|6.15&lt;br /&gt;
|Digits per V of DC link&lt;br /&gt;
|-&lt;br /&gt;
|udcofs&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|0&lt;br /&gt;
|DC link 0V offset&lt;br /&gt;
|-&lt;br /&gt;
|udclim&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|540&lt;br /&gt;
|High voltage at which the PWM is shut down&lt;br /&gt;
|-&lt;br /&gt;
|snshs&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|Heatsink temperature sensor. 0=JCurve, 1=Semikron&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Derating&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|bmslimhigh&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|Positive throttle limit on BMS under voltage&lt;br /&gt;
|-&lt;br /&gt;
|bmslimlow&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -1&lt;br /&gt;
|Regen limit on BMS over voltage&lt;br /&gt;
|-&lt;br /&gt;
|udcmin&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|450&lt;br /&gt;
|Minimum battery voltage&lt;br /&gt;
|-&lt;br /&gt;
|udcmax&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|520&lt;br /&gt;
|Maximum battery voltage&lt;br /&gt;
|-&lt;br /&gt;
|iacmax&lt;br /&gt;
|A&lt;br /&gt;
|0&lt;br /&gt;
|5000&lt;br /&gt;
|5000&lt;br /&gt;
|Maximum AC current&lt;br /&gt;
|-&lt;br /&gt;
|idcmax&lt;br /&gt;
|A&lt;br /&gt;
|0&lt;br /&gt;
|5000&lt;br /&gt;
|5000&lt;br /&gt;
|Maximum DC input current&lt;br /&gt;
|-&lt;br /&gt;
|idcmin&lt;br /&gt;
|A&lt;br /&gt;
| -5000&lt;br /&gt;
|0&lt;br /&gt;
| -5000&lt;br /&gt;
|Maximum DC output current (regen)&lt;br /&gt;
|-&lt;br /&gt;
|throtmax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Throttle limit&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Charger&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|chargemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|4&lt;br /&gt;
|0&lt;br /&gt;
|0=Off, 3=Boost, 4=Buck&lt;br /&gt;
|-&lt;br /&gt;
|chargecur&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|50&lt;br /&gt;
|0&lt;br /&gt;
|Charge current setpoint. Boost mode: charger INPUT current. Buck mode: charger output current&lt;br /&gt;
|-&lt;br /&gt;
|chargekp&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|80&lt;br /&gt;
|Charge controller gain. Lower if you have oscillation, raise if current set point is not met&lt;br /&gt;
|-&lt;br /&gt;
|chargeflt&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|10&lt;br /&gt;
|8&lt;br /&gt;
|Charge current filtering. Raise if you have oscillations&lt;br /&gt;
|-&lt;br /&gt;
|chargemax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|99&lt;br /&gt;
|90&lt;br /&gt;
|Charge mode duty cycle limit. Especially in boost mode this makes sure you don&#039;t overvolt you IGBTs if there is no battery connected.&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Throttle&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|potmin&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|0&lt;br /&gt;
|Value of &amp;quot;pot&amp;quot; when pot isn&#039;t pressed at all&lt;br /&gt;
|-&lt;br /&gt;
|potmax&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot&amp;quot; when pot is pushed all the way in&lt;br /&gt;
|-&lt;br /&gt;
|pot2min&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot2&amp;quot; when regen pot is in 0 position&lt;br /&gt;
|-&lt;br /&gt;
|pot2max&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot2&amp;quot; when regen pot is in full on position&lt;br /&gt;
|-&lt;br /&gt;
|potmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|0=Pot 1 is throttle and pot 2 is regen strength preset,&lt;br /&gt;
1=Pot 2 is proportional to pot 1 (redundance)&lt;br /&gt;
2=Throttle controlled via CAN&lt;br /&gt;
|-&lt;br /&gt;
|throtramp&lt;br /&gt;
|%/10ms&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Max positive throttle slew rate&lt;br /&gt;
|-&lt;br /&gt;
|throtramprpm&lt;br /&gt;
|rpm&lt;br /&gt;
|0&lt;br /&gt;
|20000&lt;br /&gt;
|20000&lt;br /&gt;
|No throttle ramping above this speed&lt;br /&gt;
|-&lt;br /&gt;
|ampmin&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|10&lt;br /&gt;
|Minimum relative sine amplitude&lt;br /&gt;
|-&lt;br /&gt;
|slipstart&lt;br /&gt;
|%&lt;br /&gt;
|10&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|% positive throttle travel at which slip is increased&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Regen&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|brknompedal&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -50&lt;br /&gt;
|Foot on break pedal regen torque&lt;br /&gt;
|-&lt;br /&gt;
|brkpedalramp&lt;br /&gt;
|%/10ms&lt;br /&gt;
|1&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Ramp speed when entering regen. E.g. when you set brkmax to 20% and brkpedal to -60% and brkpedalramp to 1, it will take 400ms to arrive at brake force of -60%&lt;br /&gt;
|-&lt;br /&gt;
|brknom&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|30&lt;br /&gt;
|Regen padel travel&lt;br /&gt;
|-&lt;br /&gt;
|brkmax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|30&lt;br /&gt;
|Foot-off regen torque&lt;br /&gt;
|-&lt;br /&gt;
|brkout&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
| -1&lt;br /&gt;
| -50&lt;br /&gt;
|Activate brake light output at this amount of braking force&lt;br /&gt;
|-&lt;br /&gt;
|brkrampstr&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|10&lt;br /&gt;
|Below this frequency the regen torque is reduced linearly with the frequency&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Automation&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|idlespeed&lt;br /&gt;
|rpm&lt;br /&gt;
| -100&lt;br /&gt;
|1000&lt;br /&gt;
| -100&lt;br /&gt;
|Motor idle speed. Set to -100 to disable idle function. When idle speed controller is enabled, brake pedal must be pressed on start.&lt;br /&gt;
|-&lt;br /&gt;
|idlethrotlim&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|Throttle limit of idle speed controller&lt;br /&gt;
|-&lt;br /&gt;
|idlemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|Motor idle speed mode. 0=always run idle speed controller, 1=only run it when brake pedal is released, 2=like 1 but only when cruise switch is on&lt;br /&gt;
|-&lt;br /&gt;
|speedkp&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|1&lt;br /&gt;
|Speed controller gain (Cruise and idle speed). Decrease if speed oscillates. Increase for faster load regulation&lt;br /&gt;
|-&lt;br /&gt;
|cruisemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|0=button (set when button pressed, reset with brake pedal), 1=switch (set when switched on, reset when switched off or brake pedal)&lt;br /&gt;
|-&lt;br /&gt;
|speedflt&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|Filter before cruise controller&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Contactor Control&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|udcsw&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|330&lt;br /&gt;
|Voltage at which the DC contactor is allowed to close&lt;br /&gt;
|-&lt;br /&gt;
|udcswbuck&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|540&lt;br /&gt;
|Voltage at which the DC contactor is allowed to close in buck charge mode&lt;br /&gt;
|-&lt;br /&gt;
|tripmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|What to do with relays at a shutdown event. 0=All off, 1=Keep DC switch closed, 2=close precharge relay&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Auxillary PWM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|pwmfunc&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|Quantity that controls the PWM output. 0=tmpm, 1=tmphs, 2=speed&lt;br /&gt;
|-&lt;br /&gt;
|pwmgain&lt;br /&gt;
|dig/C&lt;br /&gt;
|0&lt;br /&gt;
|65535&lt;br /&gt;
|100&lt;br /&gt;
|Gain of PWM output&lt;br /&gt;
|-&lt;br /&gt;
|pwmofs&lt;br /&gt;
|dig&lt;br /&gt;
| -65535&lt;br /&gt;
|65535&lt;br /&gt;
|0&lt;br /&gt;
|Offset of PWM output, 4096=full on&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Communication&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|canspeed&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|0&lt;br /&gt;
|Baud rate of CAN interface 0=250k, 1=500k, 2=800k, 3=1M&lt;br /&gt;
|-&lt;br /&gt;
|canperiod&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|0=send configured CAN messages every 100ms, 1=every 10ms&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Testing&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|fslipspnt&lt;br /&gt;
|Hz&lt;br /&gt;
| -100&lt;br /&gt;
|100&lt;br /&gt;
|0&lt;br /&gt;
|Slip setpoint in mode 2. Written by software in mode 1&lt;br /&gt;
|-&lt;br /&gt;
|ampnom&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|0&lt;br /&gt;
|Nominal amplitude in mode 2. Written by software in mode 1&lt;br /&gt;
|}&lt;br /&gt;
The following values are available for diagnostic purposes. Type&lt;br /&gt;
 get &lt;br /&gt;
to get the current value. To read more then one you can provide a list like&lt;br /&gt;
 get il1,il2,udc&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Unit&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|version&lt;br /&gt;
|&lt;br /&gt;
|Firmware version&lt;br /&gt;
|-&lt;br /&gt;
|opmode&lt;br /&gt;
|&lt;br /&gt;
|Operating mode. 0=Off, 1=Run, 2=Manual_run, 3=Boost, 4=Buck, 5=Sine, 6=2 Phase sine&lt;br /&gt;
|-&lt;br /&gt;
|udc&lt;br /&gt;
|V&lt;br /&gt;
|DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|uac&lt;br /&gt;
|V&lt;br /&gt;
|Calculated AC voltage&lt;br /&gt;
|-&lt;br /&gt;
|idc&lt;br /&gt;
|A&lt;br /&gt;
|Calculated DC current&lt;br /&gt;
|-&lt;br /&gt;
|il1&lt;br /&gt;
|A&lt;br /&gt;
|AC current L1&lt;br /&gt;
|-&lt;br /&gt;
|il2&lt;br /&gt;
|A&lt;br /&gt;
|AC current L2&lt;br /&gt;
|-&lt;br /&gt;
|il1rms&lt;br /&gt;
|A&lt;br /&gt;
|RMS current L1&lt;br /&gt;
|-&lt;br /&gt;
|il2rms&lt;br /&gt;
|A&lt;br /&gt;
|RMS current L2&lt;br /&gt;
|-&lt;br /&gt;
|boostcalc&lt;br /&gt;
|A&lt;br /&gt;
|DC link adjusted boost setting&lt;br /&gt;
|-&lt;br /&gt;
|fweakcalc&lt;br /&gt;
|A&lt;br /&gt;
|DC link adjusted fweak setting&lt;br /&gt;
|-&lt;br /&gt;
|fstat&lt;br /&gt;
|Hz&lt;br /&gt;
|Stator frequency&lt;br /&gt;
|-&lt;br /&gt;
|speed&lt;br /&gt;
|rpm&lt;br /&gt;
|Motor speed&lt;br /&gt;
|-&lt;br /&gt;
|amp&lt;br /&gt;
|dig&lt;br /&gt;
|Sine amplitude, 37813=max&lt;br /&gt;
|-&lt;br /&gt;
|pot&lt;br /&gt;
|dig&lt;br /&gt;
|Pot value, 4095=max&lt;br /&gt;
|-&lt;br /&gt;
|pot2&lt;br /&gt;
|dig&lt;br /&gt;
|Regen Pot value, 4095=max&lt;br /&gt;
|-&lt;br /&gt;
|potnom&lt;br /&gt;
|%&lt;br /&gt;
|Scaled pot value, 0 accel&lt;br /&gt;
|-&lt;br /&gt;
|dir&lt;br /&gt;
|&lt;br /&gt;
|Rotation direction. -1=REV, 0=Neutral, 1=FWD&lt;br /&gt;
|-&lt;br /&gt;
|tmphs&lt;br /&gt;
|°C&lt;br /&gt;
|Heatsink temperature&lt;br /&gt;
|-&lt;br /&gt;
|tmpm&lt;br /&gt;
|°C&lt;br /&gt;
|Motor temperature&lt;br /&gt;
|-&lt;br /&gt;
|uaux&lt;br /&gt;
|°C&lt;br /&gt;
|Auxiliary voltage (i.e. 12V system). Measured on pin 11 (mprot)&lt;br /&gt;
|-&lt;br /&gt;
|din_cruise&lt;br /&gt;
|&lt;br /&gt;
|Cruise Control. This pin activates the cruise control with the current speed. Pressing again updates the speed set point.&lt;br /&gt;
|-&lt;br /&gt;
|din_start&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;start&amp;quot;. This pin starts inverter operation&lt;br /&gt;
|-&lt;br /&gt;
|din_brake&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;brake&amp;quot;. This pin sets maximum regen torque (brknompedal). Cruise control is disabled.&lt;br /&gt;
|-&lt;br /&gt;
|din_mprot&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;motor protection switch&amp;quot;. Shuts down the inverter when =0&lt;br /&gt;
|-&lt;br /&gt;
|din_forward&lt;br /&gt;
|&lt;br /&gt;
|Direction forward&lt;br /&gt;
|-&lt;br /&gt;
|din_reverse&lt;br /&gt;
|&lt;br /&gt;
|Direction backward&lt;br /&gt;
|-&lt;br /&gt;
|din_emcystop&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;emergency stop&amp;quot;. Shuts down the inverter when =0&lt;br /&gt;
|-&lt;br /&gt;
|din_ocur&lt;br /&gt;
|&lt;br /&gt;
|Over current detected&lt;br /&gt;
|-&lt;br /&gt;
|din_bms&lt;br /&gt;
|&lt;br /&gt;
|BMS over voltage/under voltage&lt;br /&gt;
|-&lt;br /&gt;
|cpuload&lt;br /&gt;
|%&lt;br /&gt;
|CPU load for everything except communication&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Fweak.png&amp;diff=86</id>
		<title>File:Fweak.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Fweak.png&amp;diff=86"/>
		<updated>2019-03-29T05:34:12Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Hardware_Theory_of_Operation&amp;diff=85</id>
		<title>Hardware Theory of Operation</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Hardware_Theory_of_Operation&amp;diff=85"/>
		<updated>2019-03-29T05:30:19Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added assembled inverter images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:assembled_inverter.jpg|thumb|Assembled Inverter]]&lt;br /&gt;
[[File:assembled_inverter_inside.jpg|thumb|Inside View]]&lt;br /&gt;
[[File:assembled_inverter_controller.jpg|thumb|Controller]]&lt;br /&gt;
[[File:assembled_inverter_gate_driver.jpg|thumb|Gate Driver]]&lt;br /&gt;
[[File:igbt_module_schematic.jpg|thumb|IGBT Half Bridge Module]]&lt;br /&gt;
&lt;br /&gt;
In principle, an inverter is a rather simple device. The incoming DC voltage is distributed over 3 &amp;quot;bridges&amp;quot; each of which modulates the DC voltage to a sine wave with variable phase, amplitude and frequency.&lt;br /&gt;
&lt;br /&gt;
Each bridge consists of 2 switches which can be controlled electronically. If the top switch is closed, the output is connected to high voltage, if the bottom switch is closed the output is connected to ground. If both switches are closed the inverter explodes. To set an average output voltage, the switches are toggled a couple of 1000 times per second. The ratio between top and bottom &amp;quot;closed-time&amp;quot; is called &#039;&#039;dutycycle&#039;&#039;. So say the incoming DC voltage is &#039;&#039;&#039;500V&#039;&#039;&#039;. If the duty cycle is 0% the output voltage is 0V. If the duty cycle is 100% the output voltage is 500V. If the duty cycle is 50% the output voltage is 250V and so on.&lt;br /&gt;
&lt;br /&gt;
If this principle is applied to all 3 bridges then 3 arbitrary voltages between 0 and 500V can be produced. The 3 inputs of the motor (commonly called &#039;&#039;L1, L2, L3&#039;&#039;) are connected to the 3 outputs of the inverter. So the motor only &amp;quot;sees&amp;quot; the &#039;&#039;&#039;voltage difference&#039;&#039;&#039; between the outputs. If all 3 operate at the same duty cycle the motor sees 0V. If bridge one produces 300V, bridge 2 produces 200V and bridge 3 produces 250V then the motor sees -100V between L1 and L2, 50V between L2 and L3, and -50V between L3 and L1. Depending on the specifics of the motor according currents flow.&lt;br /&gt;
&lt;br /&gt;
When building an inverter some nasty details show up. Lets go over them.&lt;br /&gt;
&lt;br /&gt;
== The DC bus ==&lt;br /&gt;
When I started out building my first inverter I thought &amp;quot;lets ditch those stupid capacitors, the batteries are capacity enough&amp;quot;. Not so, theres a reason for this expensive parts. Let me explain with some water. Say you&#039;re watering your garden with a hose that has some spraying device on the end which allows you to interrupt the water flow. If you interrupt the flow the hose will rock a bit. Thats because the water somewhere back in the pipe doesn&#039;t &amp;quot;know&amp;quot; that you&#039;ve just closed the valve. So for a short moment the water will keep coming and the pressure inside the hose rises. The longer the hose, the stronger that effect- The same happens when interrupting an electric current flow. You interrupt, the current keeps coming and thus the voltage rises. The switches only withstand a finite voltage. The ones I use are specified for 1200V. With the cable length used in a car the voltage will easily rise above 1200V when switched off and the switch breaks.&lt;br /&gt;
&lt;br /&gt;
To cure this problem the excess current needs to be trapped somewhere. It it must be trapped as close to the switch as possible because any remaining distance is another piece of &amp;quot;hose&amp;quot;. Thats what the big round and small cubic capacitors are for. The round ones can take a lot of excess current while the small ones catch the remaing current right at the switches terminal. The closer your DC voltage comes to the breakdown voltage of the switch the more care must be taken to catch the excess current. With a lot of effort you can operate 1200V switches at around 900V. With less effort you can operate them at 700V. So to keep stuff simple the switches need to be oversized.&lt;br /&gt;
&lt;br /&gt;
== Gate drivers ==&lt;br /&gt;
The switches are controlled with a small voltage of typically 15V. At 0V the switch is off, at 15V it&#039;s on. Keeping the switch on or off is easy. But changing state is rather hard. Just like switching on the light in your kitchen requires some mechanical force. The electric current needed to operate our switches is 2.5A. More serious power electronics even require 40A. So gate drivers for power electronics &#039;&#039;are&#039;&#039; power electronics.&lt;br /&gt;
&lt;br /&gt;
Another challenge is on the high side, i.e. the switch thats connects the output to the high voltage. I stated above that 15V are needed to switch on. 15V in respect to what? In respect to the &#039;&#039;source&#039;&#039; i.e. the output of the high side switch. So as the high side is switched on, its output rises to the high voltage. So the control voltage has to rise with it. Imagine a lift that rises &#039;&#039;&#039;while&#039;&#039;&#039;you push a button inside it. You better be standing inside the lift as you push the button.&lt;br /&gt;
&lt;br /&gt;
This last aspect presents the third function of a simple gate driver: &#039;&#039;galvanic isolation&#039;&#039;. It&#039;s like a guy standing in the lift operating it for you. No matter where he is, you can stay where you are. In an inverter thats also a safety issue. You don&#039;t want your controller side to be electrically connected to the power side.&lt;br /&gt;
&lt;br /&gt;
More advanced gate drivers take care that bottom and top switch are never closed at the same time and they insert a security margin (called &#039;&#039;deadtime&#039;&#039;) between opening one switch and closing the other. They also monitor the voltage over the switch as the switch is closed. If it rises to high then the switch is overloaded and will be opened. This is called &#039;&#039;desaturation detection&#039;&#039; or short &#039;&#039;desat&#039;&#039;. The deadtime can be replicated in software, the desat can be (almost) replaced with fast current monitoring.&lt;br /&gt;
&lt;br /&gt;
== Step by Step ==&lt;br /&gt;
I&#039;m often sent emails with ebay links to all sorts of IGBT modules. And often they are unusable. What you want is an IGBT half bridge module as depicted above. It is two IGBTs and two diodes in one case.&lt;br /&gt;
&lt;br /&gt;
Next up is capacitor selection. It&#039;s hard to give general advise. I always advise against elcaps because of their low ripple current rating. Better use film caps as shown above. If you can get your hands on any cheap and large (meaning above 300µF for filmcaps or 3000µF for elcaps) caps then give it a shot. Watch the DC bus voltage with a scope while running the inverter at load. You don&#039;t want to see excessive ringing or spikes. Here are some examples of what you do and don&#039;t want to see.&lt;br /&gt;
&lt;br /&gt;
In the power stage depicted above I used 1.5µF snubber caps on each IGBT terminal plus two 420µF film caps. All components have screw terminals with the same width. That makes handling very easy. Everything is bolted onto a pair of alloy strips forming a simple low inductance DC bus.&lt;br /&gt;
&lt;br /&gt;
To suppress high frequency common mode signals you can place a ferrite core around the DC bus or the DC cables. This will give you a better chance to pass EMC compliance tests.&lt;br /&gt;
&lt;br /&gt;
Last but not least place the gate drivers directly onto the corresponding pins of the module. The PCB has been designed to line up. Make use of that. 1cm of wire should be enough!&lt;br /&gt;
&lt;br /&gt;
With the setup depicted above I passed the ECE-R10 EMC compliance test with a good margin. It&#039;s not that hard.&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Igbt_module_schematic.jpg&amp;diff=84</id>
		<title>File:Igbt module schematic.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Igbt_module_schematic.jpg&amp;diff=84"/>
		<updated>2019-03-29T05:19:18Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Assembled_inverter_inside.jpg&amp;diff=83</id>
		<title>File:Assembled inverter inside.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Assembled_inverter_inside.jpg&amp;diff=83"/>
		<updated>2019-03-29T05:18:56Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Assembled_inverter_gate_driver.jpg&amp;diff=82</id>
		<title>File:Assembled inverter gate driver.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Assembled_inverter_gate_driver.jpg&amp;diff=82"/>
		<updated>2019-03-29T05:18:35Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Assembled_inverter_controller.jpg&amp;diff=81</id>
		<title>File:Assembled inverter controller.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Assembled_inverter_controller.jpg&amp;diff=81"/>
		<updated>2019-03-29T05:18:13Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Assembled_inverter.jpg&amp;diff=80</id>
		<title>File:Assembled inverter.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Assembled_inverter.jpg&amp;diff=80"/>
		<updated>2019-03-29T05:17:44Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Gate_Driver&amp;diff=79</id>
		<title>Gate Driver</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Gate_Driver&amp;diff=79"/>
		<updated>2019-03-29T05:12:55Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added gate driver images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:gate_driver.jpg|thumb|Gate Driver Board]]&lt;br /&gt;
[[File:schematic_gate_driver.png|thumb|Gate Driver Board Schematic]]&lt;br /&gt;
&lt;br /&gt;
The gate drivers convert the logic level PWM signals to a bipolar signal that can be used to drive the gate of power semiconductors. They also isolate the power section from the control section.&lt;br /&gt;
&lt;br /&gt;
== DC/DC converter ==&lt;br /&gt;
To provide power to the power section (the secondary side) isolated DC/DC converters are used. They provide a continues power of 1W. This power limits the PWM switching speed. The input voltage to the converters is 5V and their output voltages are -9V and +15V. (Used to be -15).&lt;br /&gt;
&lt;br /&gt;
The formular is P=Ug²/Rg*(tr+tf)*fPWM with Ug=24V, Rg=4.7Ohms.&lt;br /&gt;
&lt;br /&gt;
Example. tr=50ns, tf=110ns, fPWM=8.8kHz (SKM400GB126)&lt;br /&gt;
&lt;br /&gt;
-&amp;gt; P=24²/4.7*(50ns+110ns)*8800Hz = 0.17W. &lt;br /&gt;
&lt;br /&gt;
Please note, that this formular is an approximation. In the datasheet, together with the tr/tf times a gate resistor is stated in the conditions. If this gate resistor is less then 4.7Ohm of this driver this means that tr and tf will be a bit higher as well. If in doubt, please measure tr and tf with a scope.&lt;br /&gt;
&lt;br /&gt;
== Gate Drive Optocouplers ==&lt;br /&gt;
To transmit the logic level signals to the secondary side, Si8261 gate drive isolaters are used. They provide a peak drive current of 4A.&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_gate_driver.png&amp;diff=78</id>
		<title>File:Schematic gate driver.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_gate_driver.png&amp;diff=78"/>
		<updated>2019-03-29T05:11:55Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Gate_driver.jpg&amp;diff=77</id>
		<title>File:Gate driver.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Gate_driver.jpg&amp;diff=77"/>
		<updated>2019-03-29T05:11:33Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Sensor_Board&amp;diff=76</id>
		<title>Sensor Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Sensor_Board&amp;diff=76"/>
		<updated>2019-03-29T05:01:48Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added Sensor Board images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sensor_board.jpg|thumb|Sensor Board]]&lt;br /&gt;
[[File:schematic_sensor_board_r2.png|thumb|Sensor Board Schematic R2]]&lt;br /&gt;
[[File:schematic_sensor_board_r3.png|thumb|Sensor Board Schematic R3]]&lt;br /&gt;
&lt;br /&gt;
This board was designed to interface JP4 on the main board. It contains the current sensors, a resistive voltage measurement and an input for a temperature sensor. A J-Curve temperature probe is provided with the board.&lt;br /&gt;
&lt;br /&gt;
== Current sensors ==&lt;br /&gt;
The provided 400A current sensors need an unipolar supply voltage of 5V. They output 2.5V when idle, i.e. at 0A. At -400A the output is 1V and at 400A the output is 4V.&lt;br /&gt;
&lt;br /&gt;
The board contains an offset/gain stage that converts this to 0-3.3V. As a side effect the signal is not inverted. Now the output is 1.67V when idle, 0V at 400A and 3.3V at -400A. These values are approximations. Therefor the software allows for another offset/gain correction for each current sensor.&lt;br /&gt;
&lt;br /&gt;
== Voltage sensing ==&lt;br /&gt;
The voltage sensing uses megaohm resistors to fullfill the isolation requirements from the ECE-100 being 500Ohms/V. As the typical operating voltage of through-hole resistors is 250V, 4 of them are used in series. The high impedance signal is converted to low impedance. This is cheaper than using real galvanic isolation. As a side effect isolation problems can be detected because any resistance in parallel to the sense resistors will affect the reading. The cutoff frequency is about 1Hz.&lt;br /&gt;
&lt;br /&gt;
The formular for the maximum input voltage is&lt;br /&gt;
&lt;br /&gt;
[[File:Formular udc.png]]&lt;br /&gt;
&lt;br /&gt;
== Temperature sensing ==&lt;br /&gt;
The temperature sense input has an input impedance of 1.2k. This matches the J-Curve temperature probe and is also the value assumed by the inverter software.&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_sensor_board_r3.png&amp;diff=75</id>
		<title>File:Schematic sensor board r3.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_sensor_board_r3.png&amp;diff=75"/>
		<updated>2019-03-29T04:56:45Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_sensor_board_r2.png&amp;diff=74</id>
		<title>File:Schematic sensor board r2.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_sensor_board_r2.png&amp;diff=74"/>
		<updated>2019-03-29T04:56:25Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Sensor_board.jpg&amp;diff=73</id>
		<title>File:Sensor board.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Sensor_board.jpg&amp;diff=73"/>
		<updated>2019-03-29T04:55:54Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Sense_Boards&amp;diff=72</id>
		<title>Sense Boards</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Sense_Boards&amp;diff=72"/>
		<updated>2019-03-29T04:54:44Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:voltage_sense_board.jpg|thumb|Voltage Sense Board]]&lt;br /&gt;
[[File:schematic_voltage_sense_board.png|thumb|Voltage Sense Board Schematic]]&lt;br /&gt;
[[File:current_sense_board.jpg|thumb|Current Sense Board]]&lt;br /&gt;
[[File:schematic_current_sense_board.png|thumb|File:Current Sense Board Schematic]]&lt;br /&gt;
&lt;br /&gt;
3 sensing boards provide the inverter with values for the DC link voltage, heat sink temperature and two phase currents.&lt;br /&gt;
&lt;br /&gt;
= Voltage Sense Board =&lt;br /&gt;
&lt;br /&gt;
The voltage sense board uses an Si8920 analog isolator. It converts a voltage of 200mV on the primary (right side on schematic) into around 3V on the secondary side. Since the isolators output is differential we need an opamp circuit to make it single-ended.&lt;br /&gt;
&lt;br /&gt;
The board also provides the connection for the heatsink temperature sensors.&lt;br /&gt;
&lt;br /&gt;
= Current Sense Board =&lt;br /&gt;
&lt;br /&gt;
The current sense board used a Melexis MLX91205 magnetic field sensor. It outputs 2.5V at 0 T and swings between 0.25V and 4.75V at +/-25mT. With a simple resistive divider that is scaled to the 3.3V range. The board is supposed to be mounted directly on the phase output cable or bus bar. The correlation between the phase current and the output swing varies with the distance between the conductor and the chip. With no further spacers the range is about 800A on cable. A busbar needs an additional isolation layer.&lt;br /&gt;
&lt;br /&gt;
Make sure to place the two sense board far apart from each other and any other high current conductor to avoid cross talk.&lt;br /&gt;
&lt;br /&gt;
= Legacy Sensor Board =&lt;br /&gt;
&lt;br /&gt;
Go here for information about the [[Sensor_Board|legacy Tamura/LEM sensor boards]].&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Sense_Boards&amp;diff=71</id>
		<title>Sense Boards</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Sense_Boards&amp;diff=71"/>
		<updated>2019-03-29T04:51:00Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added sense board images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:voltage_sense_board.jpg|thumb|Voltage Sense Board]]&lt;br /&gt;
[[File:schematic_voltage_sense_board.png|thumb|Voltage Sense Board Schematic]]&lt;br /&gt;
[[File:current_sense_board.jpg|thumb|Current Sense Board]]&lt;br /&gt;
[[File:schematic_current_sense_board.png|thumb|File:Current Sense Board Schematic]]&lt;br /&gt;
&lt;br /&gt;
3 sensing boards provide the inverter with values for the DC link voltage, heat sink temperature and two phase currents.&lt;br /&gt;
&lt;br /&gt;
= Voltage Sense Board +&lt;br /&gt;
&lt;br /&gt;
The voltage sense board uses an Si8920 analog isolator. It converts a voltage of 200mV on the primary (right side on schematic) into around 3V on the secondary side. Since the isolators output is differential we need an opamp circuit to make it single-ended.&lt;br /&gt;
&lt;br /&gt;
The board also provides the connection for the heatsink temperature sensors.&lt;br /&gt;
&lt;br /&gt;
= Current Sense Board =&lt;br /&gt;
&lt;br /&gt;
The current sense board used a Melexis MLX91205 magnetic field sensor. It outputs 2.5V at 0 T and swings between 0.25V and 4.75V at +/-25mT. With a simple resistive divider that is scaled to the 3.3V range. The board is supposed to be mounted directly on the phase output cable or bus bar. The correlation between the phase current and the output swing varies with the distance between the conductor and the chip. With no further spacers the range is about 800A on cable. A busbar needs an additional isolation layer.&lt;br /&gt;
&lt;br /&gt;
Make sure to place the two sense board far apart from each other and any other high current conductor to avoid cross talk.&lt;br /&gt;
&lt;br /&gt;
= Legacy Sensor Board =&lt;br /&gt;
&lt;br /&gt;
Go here for information about the [[Sensor_Board|legacy Tamura/LEM sensor boards]].&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_current_sense_board.png&amp;diff=70</id>
		<title>File:Schematic current sense board.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_current_sense_board.png&amp;diff=70"/>
		<updated>2019-03-29T04:39:24Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_voltage_sense_board.png&amp;diff=69</id>
		<title>File:Schematic voltage sense board.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_voltage_sense_board.png&amp;diff=69"/>
		<updated>2019-03-29T04:37:41Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Voltage_sense_board.jpg&amp;diff=68</id>
		<title>File:Voltage sense board.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Voltage_sense_board.jpg&amp;diff=68"/>
		<updated>2019-03-29T04:37:17Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=67</id>
		<title>Main Page - Under Development</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page_-_Under_Development&amp;diff=67"/>
		<updated>2019-03-29T04:34:04Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added Legacy Sensor Board&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
The open inverter project consists of some reference designs for the &amp;lt;u&amp;gt;control hardware&amp;lt;/u&amp;gt; using an STM32F103, the &amp;lt;u&amp;gt;inverter firmware&amp;lt;/u&amp;gt;, and an easy to use web interface. Other hardware variants include &amp;lt;u&amp;gt;drop in boards&amp;lt;/u&amp;gt; for Tesla small and large drive units.&lt;br /&gt;
&lt;br /&gt;
If you have received a kit you are probably looking for &amp;lt;u&amp;gt;build instructions&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you want to tune your inverter check the &amp;lt;u&amp;gt;parameter description&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You might also want to set up &amp;lt;u&amp;gt;CAN communication&amp;lt;/u&amp;gt; or use the inverter as a &amp;lt;u&amp;gt;battery charger&amp;lt;/u&amp;gt; also.&lt;br /&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;
&lt;br /&gt;
= Hardware =&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;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
= Inverter Kits =&lt;br /&gt;
* [[Features]]&lt;br /&gt;
* [[Schematics and Instructions]]&lt;br /&gt;
* [[Battery Charging]]&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Sensor_Board&amp;diff=66</id>
		<title>Sensor Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Sensor_Board&amp;diff=66"/>
		<updated>2019-03-29T04:31:44Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This board was designed to interface JP4 on the main board. It contains the current sensors, a resistive voltage measurement and an input for a temperature sensor. A J-Curve temperature probe is provided with the board.&lt;br /&gt;
&lt;br /&gt;
== Current sensors ==&lt;br /&gt;
The provided 400A current sensors need an unipolar supply voltage of 5V. They output 2.5V when idle, i.e. at 0A. At -400A the output is 1V and at 400A the output is 4V.&lt;br /&gt;
&lt;br /&gt;
The board contains an offset/gain stage that converts this to 0-3.3V. As a side effect the signal is not inverted. Now the output is 1.67V when idle, 0V at 400A and 3.3V at -400A. These values are approximations. Therefor the software allows for another offset/gain correction for each current sensor.&lt;br /&gt;
&lt;br /&gt;
== Voltage sensing ==&lt;br /&gt;
The voltage sensing uses megaohm resistors to fullfill the isolation requirements from the ECE-100 being 500Ohms/V. As the typical operating voltage of through-hole resistors is 250V, 4 of them are used in series. The high impedance signal is converted to low impedance. This is cheaper than using real galvanic isolation. As a side effect isolation problems can be detected because any resistance in parallel to the sense resistors will affect the reading. The cutoff frequency is about 1Hz.&lt;br /&gt;
&lt;br /&gt;
The formular for the maximum input voltage is&lt;br /&gt;
&lt;br /&gt;
[[File:Formular udc.png]]&lt;br /&gt;
&lt;br /&gt;
== Temperature sensing ==&lt;br /&gt;
The temperature sense input has an input impedance of 1.2k. This matches the J-Curve temperature probe and is also the value assumed by the inverter software.&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Current_sense_board.jpg&amp;diff=65</id>
		<title>File:Current sense board.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Current_sense_board.jpg&amp;diff=65"/>
		<updated>2019-03-29T04:28:50Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Sensor_Board&amp;diff=64</id>
		<title>Sensor Board</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Sensor_Board&amp;diff=64"/>
		<updated>2019-03-29T04:15:22Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Initial Draft&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This board was designed to interface JP4 on the main board. It contains the current sensors, a resistive voltage measurement and an input for a temperature sensor. A J-Curve temperature probe is provided with the board.&lt;br /&gt;
&lt;br /&gt;
== Current sensors ==&lt;br /&gt;
The provided 400A current sensors need an unipolar supply voltage of 5V. They output 2.5V when idle, i.e. at 0A. At -400A the output is 1V and at 400A the output is 4V.&lt;br /&gt;
&lt;br /&gt;
The board contains an offset/gain stage that converts this to 0-3.3V. As a side effect the signal is not inverted. Now the output is 1.67V when idle, 0V at 400A and 3.3V at -400A. These values are approximations. Therefor the software allows for another offset/gain correction for each current sensor.&lt;br /&gt;
&lt;br /&gt;
== Voltage sensing ==&lt;br /&gt;
The voltage sensing uses megaohm resistors to fullfill the isolation requirements from the ECE-100 being 500Ohms/V. As the typical operating voltage of through-hole resistors is 250V, 4 of them are used in series. The high impedance signal is converted to low impedance. This is cheaper than using real galvanic isolation. As a side effect isolation problems can be detected because any resistance in parallel to the sense resistors will affect the reading. The cutoff frequency is about 1Hz.&lt;br /&gt;
&lt;br /&gt;
The formular for the maximum input voltage is&lt;br /&gt;
&lt;br /&gt;
== Temperature sensing ==&lt;br /&gt;
The temperature sense input has an input impedance of 1.2k. This matches the J-Curve temperature probe and is also the value assumed by the inverter software.&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Formular_udc.png&amp;diff=63</id>
		<title>File:Formular udc.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Formular_udc.png&amp;diff=63"/>
		<updated>2019-03-29T04:11:24Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Board_Version_2&amp;diff=62</id>
		<title>Main Board Version 2</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Board_Version_2&amp;diff=62"/>
		<updated>2019-03-29T03:57:30Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added v2 images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:main_board_v2.jpg|thumb|Main board]]&lt;br /&gt;
[[File:mainboard_connections_v2.jpg|thumb|Connections]]&lt;br /&gt;
[[File:schematic_main_v2.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;
Its distinct features are:&lt;br /&gt;
&lt;br /&gt;
== Digital inputs ==&lt;br /&gt;
There are external 8 digital inputs on JP5. 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 (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;
# Emergency Stop (Pin 17). This input has the same function as the motor protection input. It can be used for an emergency stop button. Tie it high otherwise.&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 are two 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;
# UVLO input (Pin 14) This pin is pulled high (3.3V). 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 4 external open collector outputs on JP5.&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 JP5, 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 500mA.&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.&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 JP5.&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 JP4. Pins 5,7 and 10 provide a GND connection, Pin 8,11 and 12 provide stablelized 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, 1.67V=0A, 3.3V=Imax (software configurable). Cutoff frequency 48kHz.&lt;br /&gt;
# Il2 (Pin 9)&lt;br /&gt;
# Heatsink temperature (Pin 13)&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;
== Encoder Input ==&lt;br /&gt;
There is an input for a pulse encoder on JP5. 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;
Additionally Pin 4 can be connected to an index pulse for future use with synchronous motors.&lt;br /&gt;
&lt;br /&gt;
Pin 2 provides 5V with an output resistance of 120 Ohms to power the diode of an optical encoder with 30mA. You can bridge R7 to obtain plain 5V.&lt;br /&gt;
&lt;br /&gt;
== Communication ==&lt;br /&gt;
JP6 provides a TTL level (3.3V) UART interface. It can be directly connected to the provided TTLUSB adapter. Pin 1 provides the 3.3V net of the Olimex board. It can be used to power the board or to power an external module like a ZigBee or bluetooth transceiver. 100mA should not be exceeded. Pin 2 is TX, Pin 3 is RX and Pin 4 (next to the inductor) is GND.&lt;br /&gt;
&lt;br /&gt;
The communication parameters are fixed to 115200 8N2 (2 stop bits!).&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 JP5 &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&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|30mA output for IR diode&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Encoder channel A or single channel input&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Index pulse input&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 0.5A)&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 1A)&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 0.5A)&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 0.5A)&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|Emergency Stop (12V, PWM inhibit when low)&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|Temperature PWM output (open collector 0.5A)&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 0.5A)&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>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Board_Version_3&amp;diff=61</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=61"/>
		<updated>2019-03-29T03:52:08Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added v3 images&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 &amp;lt;u&amp;gt;pdf schematic&amp;lt;/u&amp;gt; is available via 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.&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 300mA each, DC contactor output can sink up to 600mA.&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 300mA.&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.&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 stablelized 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, 1.67V=0A, 3.3V=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;
Additionally Pin 4 can be connected to an index pulse for future use with synchronous motors.&lt;br /&gt;
&lt;br /&gt;
Pin 2 provides 5V with an output resistance of 120 Ohms to power the diode of an optical encoder with 30mA. You can bridge R7 to obtain plain 5V.&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 the provided TTLUSB adapter. Pin 1 provides the 3.3V net of the Olimex board. 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;
|30mA output for IR diode/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/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 600mA)&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 300mA)&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 300mA)&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 300mA)&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 300mA)&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>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_main_v3.png&amp;diff=60</id>
		<title>File:Schematic main v3.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_main_v3.png&amp;diff=60"/>
		<updated>2019-03-29T03:47:49Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Mainboard_pinout_v3.png&amp;diff=59</id>
		<title>File:Mainboard pinout v3.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Mainboard_pinout_v3.png&amp;diff=59"/>
		<updated>2019-03-29T03:46:13Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Main_board_v3.jpg&amp;diff=58</id>
		<title>File:Main board v3.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Main_board_v3.jpg&amp;diff=58"/>
		<updated>2019-03-29T03:45:34Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_main_v2.png&amp;diff=57</id>
		<title>File:Schematic main v2.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_main_v2.png&amp;diff=57"/>
		<updated>2019-03-29T03:42:33Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Main_board_v2.jpg&amp;diff=56</id>
		<title>File:Main board v2.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Main_board_v2.jpg&amp;diff=56"/>
		<updated>2019-03-29T03:41:06Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Mainboard_connections_v2.jpg&amp;diff=55</id>
		<title>File:Mainboard connections v2.jpg</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Mainboard_connections_v2.jpg&amp;diff=55"/>
		<updated>2019-03-29T03:40:30Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Board_Version_1&amp;diff=54</id>
		<title>Main Board Version 1</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Board_Version_1&amp;diff=54"/>
		<updated>2019-03-29T03:30:16Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Added v1 images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:main_board_v1.jpg|thumb|Main board]]&lt;br /&gt;
[[File:mainboard_connections_v1.jpg|thumb|Main board]]&lt;br /&gt;
[[File:schematic_main_v1.png|thumb|Main board]]&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;
Its distinct features are:&lt;br /&gt;
&lt;br /&gt;
== Digital inputs ==&lt;br /&gt;
There are external 8 digital inputs on JP5. 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 (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. Of course you can use this input for any other fault condition, e.g. the error signal of a 3rd party gate driver.&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;
# Emergency Stop (Pin 17). This input has the same function as the motor protection input. It can be used for an emergency stop button. Tie it high otherwise.&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;
&lt;br /&gt;
== Digital outputs ==&lt;br /&gt;
There are 4 external open collector outputs on JP5. They sink up to 2A.&lt;br /&gt;
# DC contactor output (Pin12) 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;
&lt;br /&gt;
== PWM outputs ==&lt;br /&gt;
There is one external PWM output on JP5, Pin 18. It outputs a duty cycle that is proportional to the motor temperature. 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 100mA.&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.&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 JP5. The reference voltages are provided as well (Pin 4) so the inputs are connected to sensors or pots directly.&lt;br /&gt;
# Throttle input, 0-3.3V (Pin 6).  Cutoff frequency 16Hz, input resistance 47k.&lt;br /&gt;
# Regen pot input, 0-3.3V (Pin 8). Cutoff frequency 16Hz, input resistance 47k.&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 JP4. Pins 5,7 and 10 provide a GND connection, Pin 8,11 and 12 provide stablelized 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, 1.67V=0A, 3.3V=Imax (software configurable). Cutoff frequency 48kHz.&lt;br /&gt;
# Il2 (Pin 9)&lt;br /&gt;
# Heatsink temperature (Pin 13)&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;
== Encoder Input ==&lt;br /&gt;
There is an input for a pulse encoder on JP5. Pin 3 can be connected to an open collector output of an encoder. Its input resistance is 500 Ohms. The cutoff frequency is 6kHz. E.g. a 60 pulses/rotation encoder can spin up to 6000 rpm before the limit is hit. By changing the value of R3 the cutoff frequency can be varied (lower value, higher frequency).&lt;br /&gt;
&lt;br /&gt;
Pin 2 provides 3.3V with an output resistance of 75 Ohms to power the diode of an optical encoder with 30mA.&lt;br /&gt;
&lt;br /&gt;
== Communication ==&lt;br /&gt;
JP6 provides a TTL level (3.3V) UART interface. It can be directly connected to the provided TTLUSB adapter. Pin 1 provides the 3.3V net of the Olimex board. It can be used to power the board or to power an external module like a ZigBee transceiver. 100mA should not be exceeded. Pin 2 is TX, Pin 3 is RX and Pin 4 (next to the inductor) is GND.&lt;br /&gt;
&lt;br /&gt;
The communication parameters are fixed to 115200 8N2 (2 stop bits!).&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 JP5 &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;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|30mA output for IR diode&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Encoder input&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|3.3V&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;
|GND&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 3A)&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 3A)&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 3A)&lt;br /&gt;
|-&lt;br /&gt;
|17&lt;br /&gt;
|Emergency Stop (12V, PWM inhibit when low)&lt;br /&gt;
|-&lt;br /&gt;
|18&lt;br /&gt;
|Temperature PWM output (open collector 100mA)&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 2A)&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;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_main_v1.png&amp;diff=53</id>
		<title>File:Schematic main v1.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_main_v1.png&amp;diff=53"/>
		<updated>2019-03-29T03:20:24Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: Dmpitsch uploaded a new version of File:Schematic main v1.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Schematic_main_v1.png&amp;diff=52</id>
		<title>File:Schematic main v1.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Schematic_main_v1.png&amp;diff=52"/>
		<updated>2019-03-29T03:15:52Z</updated>

		<summary type="html">&lt;p&gt;Dmpitsch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dmpitsch</name></author>
	</entry>
</feed>