<?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=P.S.Mangelsdorf</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=P.S.Mangelsdorf"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/P.S.Mangelsdorf"/>
	<updated>2026-04-28T18:41:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=5700</id>
		<title>Tesla Model S/X Large Drive Unit (&quot;LDU&quot;)</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=5700"/>
		<updated>2025-03-15T23:37:35Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Throttle Set Up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
[[File:Tesla LDU.jpg|alt=Tesla LDU|thumb|Tesla Large Drive Unit]]&lt;br /&gt;
The Tesla Model S/X Large Drive Unit (LDU) was the first drive unit produced by Tesla dating back to the launch of the Model S in 2012. Applications include RWD Model S &amp;amp; X, as well as performance AWD S &amp;amp; X - in both cases serving as the rear drive unit. &lt;br /&gt;
&lt;br /&gt;
=== Specs: ===&lt;br /&gt;
&lt;br /&gt;
* Weight: 291 lbs (132 kg)&lt;br /&gt;
* Input Voltage: 240-404V DC&lt;br /&gt;
* Power: 335 kW (~450HP) to 475 kW (~636 HP) depending on configuration&lt;br /&gt;
* Torque: 450 Nm (~332 ft/lb) to 650 Nm (~480 ft/lb) depending on configuration&lt;br /&gt;
* Max RPM: 18,000&lt;br /&gt;
* Gear ratio: 9.73:1&lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
[[File:LDU connection diagram.png|thumb|489x489px|LDU connection diagram|none]][[File:HV wiring.jpg|thumb|487x487px|HV wiring with precharge and main contactors|none]]&lt;br /&gt;
=== Low-Voltage ===&lt;br /&gt;
&lt;br /&gt;
==== Main I/O Plug ====&lt;br /&gt;
The main low-voltage connector is a 23-pin socket from the TE AMPSEAL family:&lt;br /&gt;
&lt;br /&gt;
* Housing (F): 770680-1&lt;br /&gt;
* Pins (F): 770520-1 (20-16 AWG)&lt;br /&gt;
&lt;br /&gt;
===== Connector Mapping/Pinout =====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;PIN NUMBER&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OEM&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OPEN SOURCE&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
|BRAKE ON N.O.&lt;br /&gt;
|BRAKE ON&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
|BRAKE OFF N.C.&lt;br /&gt;
|PRECHARGE RELAY&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;5&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;6&#039;&#039;&#039;&lt;br /&gt;
|CHG PROXIMITY&lt;br /&gt;
|MAIN CONTACTOR&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;7&#039;&#039;&#039;&lt;br /&gt;
|HVIL IN&lt;br /&gt;
|FORWARD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;8&#039;&#039;&#039;&lt;br /&gt;
|HVIL OUT&lt;br /&gt;
|REVERSE&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;9&#039;&#039;&#039;&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;10&#039;&#039;&#039;&lt;br /&gt;
|ENC A&lt;br /&gt;
|ENC A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;11&#039;&#039;&#039;&lt;br /&gt;
|GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;12&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 +5V&lt;br /&gt;
|ACCEL 5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;13&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1&lt;br /&gt;
|ACCEL INPUT&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;14&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2&lt;br /&gt;
|BRAKE TRANSDUCER&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;15&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 GND&lt;br /&gt;
|ACCEL GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;16&#039;&#039;&#039;&lt;br /&gt;
|ENC B&lt;br /&gt;
|ENC B&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;17&#039;&#039;&#039;&lt;br /&gt;
|ENC GND&lt;br /&gt;
|ENC GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;18&#039;&#039;&#039;&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;19&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;20&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;21&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 +5V&lt;br /&gt;
|CRUISE IN&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;22&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;23&#039;&#039;&#039;&lt;br /&gt;
|12V ALWAYS T30&lt;br /&gt;
|START&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Encoder Plug ====&lt;br /&gt;
A smaller 4 pin LV connector is responsible for the encoder signals. The plug is TE 444046-1; this part is EoL from TE, however the connector is [https://www.aliexpress.com/w/wholesale-444046%2525252d1.html widely available on Aliexpress].&lt;br /&gt;
&lt;br /&gt;
Per the [https://openinverter.org/forum/viewtopic.php?p=1026#p1026 Tesla Large Drive Unit Support Thread] :&lt;br /&gt;
&lt;br /&gt;
* Pin 1 of the Encoder connector to Pin 17 of the 23way ampseal main connector&lt;br /&gt;
* Pin 2 of the Encoder connector to Pin 16 of the 23way ampseal main connector&lt;br /&gt;
* Pin 3 of the Encoder connector to Pin 10 of the 23way ampseal main connector&lt;br /&gt;
* Pin 4 of the Encoder connector to Pin 9 of the 23way ampseal main connector&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Contactors&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Please note that the contactors you purchase *may* have polarity associated with them for the low voltage control signal.  If you have problems related to the pre-charge circuit working, or contactors behaving as not expected, check this!&lt;br /&gt;
&lt;br /&gt;
=== High-Voltage ===&lt;br /&gt;
The OEM LDU HV cables&#039; insulation OD is ~.680&amp;quot; (17.3mm) (verified for the &amp;quot;early&amp;quot; Model S units).  The HV cables are EMC shielded, and use proprietary EMC cable glands which are not available separately.  Fellten supplies custom aftermarket cable glands to fit the LDU&#039;s case and aftermarket 70mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; shielded cabling&amp;lt;ref&amp;gt;https://shop.fellten.com/shop/lduhvcg-ldu-high-voltage-cable-gland-12803#attr=&amp;lt;/ref&amp;gt;.  The early Model S LDU cables are ~44&amp;quot; (1120mm) in length.  One part No. for the cables set is 1004872-00-B.&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 05b.jpg|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|thumb|450x450px|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 03-1b.png|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|center|thumb|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
The OD of the casting where the external o-ring is located is ~1.030&amp;quot; (26.2mm).  The OEM gland nuts are plated and are often found in a corroded state.&lt;br /&gt;
&lt;br /&gt;
== Tesla Large Drive Unit Logic Board ==&lt;br /&gt;
An openinverter based control board has been made available by Damien Maguire. A &amp;quot;community edition&amp;quot; (i.e. mostly complete) version is available [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=64 here on the OI webshop], or you can have your own made from info contained in [https://github.com/damienmaguire/Tesla-Drive-Unit Damien&#039;s LDU github repo].&lt;br /&gt;
&lt;br /&gt;
This board replaces the original board that comes with the OEM Tesla drive train. As opposed to the latter, this board lets you use the drive train in the first place and allows you to fine-tune driving behaviour with the usual set of openinverter parameters. It does not restrict you in power output or regen input.&lt;br /&gt;
&lt;br /&gt;
You can fully control the board via CAN or via a set of digital and analog inputs.&lt;br /&gt;
&lt;br /&gt;
=== Application Info ===&lt;br /&gt;
If you buy the board from the openinverter shop it comes programmed with a recent software version. Please check [https://github.com/jsphuebner/stm32-sine/releases github] for recent software releases. In addition the board comes with a set of parameters appropriate to run the Tesla LDU. So it will work out of the box. Parameters that must not be changed are hidden to eliminate sources of error.&lt;br /&gt;
&lt;br /&gt;
You will need to solder the supplied connectors to the board. The drive unit connectors will plug right in.&lt;br /&gt;
&lt;br /&gt;
To test run your drive unit, supply the board with 12V and GND on the Ampseal connector. Also supply 12V „Forward“ to select forward direction.&lt;br /&gt;
&lt;br /&gt;
Supply inverter with some high voltage. For first tests it is recommended to put a large resistor/heating element/kettle in series.&lt;br /&gt;
&lt;br /&gt;
You can start in manual mode using the button on the web interface and enter like 1Hz for „Fslipspnt“ and some value between 10-50 for „ampnom“ to see if the motor spins up. Be careful because manual mode does not enforce a motor speed limit! However, „Fslipspnt“ sets the base speed requested of the motor. Setting it to 1Hz will spin the motor very slowly. Setting it to 5, 10, or 15Hz will spin it progressively faster. For any given speed you will need to experiment with „ampnom“ to find a happy place where enough current is allowed to flow but not too much. Finding a good set of values should make your motor spin reasonably smoothly.  Also check the „Boost“ as it may require an increased value of 5000-10000.&lt;br /&gt;
&lt;br /&gt;
You may also set parameter „udcsw“ and „udcmin“ to 0 and start drive mode by pulsing 12V on „Start“. Then connect a pot between 5V, GND and „Pot“ (wiper). This will also spin the motor AND enforce a speed limit.&lt;br /&gt;
&lt;br /&gt;
By default the inverter is controlled as above - by using digital I/O and directly connecting an accelerator pedal. However, it is also possible to control it directly over CAN: [[CAN communication]]&lt;br /&gt;
&lt;br /&gt;
CAN control could be used to control the inverter via an external VCU such as the Zombie (not yet supported).&lt;br /&gt;
&lt;br /&gt;
==== Additional Resources ====&lt;br /&gt;
[https://openinverter.org/parameters/view.html?id=16 Parameters]&lt;br /&gt;
&lt;br /&gt;
[[Tesla Setup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Tuning and Parameters ==&lt;br /&gt;
There are several tuning threads and sets of shared parameters on the Open Inverter Forum.  The two most useful collections are: [https://openinverter.org/forum/viewtopic.php?t=195&amp;amp;hilit=parameters Original Parameter Sharing Thread] and the [https://openinverter.org/forum/viewtopic.php?t=126 Tuning Discussion Thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tuning guide [https://openinverter.org/forum/viewtopic.php?p=15385#p15385 here] has lots of useful information regarding the impact of various parameters on the LDU.&lt;br /&gt;
&lt;br /&gt;
The main Open Inverter parameter definition page is located [[Parameters|here]].&lt;br /&gt;
&lt;br /&gt;
=== Throttle Wiring ===&lt;br /&gt;
[[File:Throttle mod.png|thumb]]&lt;br /&gt;
The Tesla LDU drop in board uses a range of 0-3.3V for the throttle input, however many OEM throttle pedals use a range of 0-5V.  This can work, however it presents an issue in the event of a broken throttle pedal.  A fix has been implemented in the firmware as of June 2024, which requires a 10k resistor placed in line on the throttle signal.   Read more in [https://openinverter.org/forum/viewtopic.php?t=5075 this thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failure Modes ==&lt;br /&gt;
&lt;br /&gt;
=== Encoder Issues ===&lt;br /&gt;
It is not uncommon to have issues with the encoder on these drive units. The encoder is connected via a 4 wire cable from the 23 pin external connector of the drive unit to the encoder which is situated on the opposite side of the drive unit. The biggest sign of encoder problems is the motor &amp;quot;bucking&amp;quot; back and forth and not wanting to spin properly in the requested direction. It may spin the direction you&#039;ve asked for but roughly and with great trouble. This situation needs to be corrected. There are a number of things that could be wrong:&lt;br /&gt;
&lt;br /&gt;
# The wires may be broken. You should attempt a continuity check of each of the wires.&lt;br /&gt;
# The encoder signals may be backward. There are two channels - A and B. They must be presented to the inverter in the proper order. If this is in doubt, try swapping them.&lt;br /&gt;
# One of the encoder signals may be missing. As above, there should always be two channels. They&#039;re &amp;quot;quadrature&amp;quot; which means that they fire 90 degrees apart.&lt;br /&gt;
&lt;br /&gt;
To check the encoder signals you should have either a logic analyzer or an oscilloscope. Both come in a wide range of prices. The encoder signal is not particularly fast, especially when the motor is not spinning that fast. As such, even cheap test equipment can be adequate. You may find that there is no particularly good place to connect to in order to read the encoder signals. But, there does exist a reasonable place - right at the 20 pin connector on the LDU board where the 23 pin external connector&#039;s wires are routed. If your logic analyzer or oscilloscope has little grabber adapters you can do something like in this picture:&lt;br /&gt;
[[File:ClipsOnPins-LDUEncoder.jpg|frame]]&lt;br /&gt;
&lt;br /&gt;
The pins on this connector are numbered starting with 1 at the far right and going more positive toward the left until you get to pin 20.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin Number&lt;br /&gt;
!Function&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Encoder 5V Source&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Encoder A Channel&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Encoder B Channel&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Encoder Ground&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, in the picture, channel 0 is connected to encoder 5v (to monitor that voltage is properly there), channel 1 is connected to the A channel of the encoder, channel 2 is connected to the B encoder channel, and scope ground is connected to the encoder ground wire. This allows for monitoring all of the relevant signals. But, keep in mind not to short any pins while doing this. Very fine probes will be needed and extreme caution not to clip two pins together. The clips/grabbers in this picture are from a Saleae Logic Pro 8. This is *NOT* your cheapest option for monitoring encoder signals but does work very well. It also doubles as a 50Mhz oscilloscope which can be handy. Cheaper options (including knock offs of Saleae Logic) do exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a picture of what it may look like when one encoder signal is missing:&lt;br /&gt;
[[File:Logic Encoder1.png|center|frame|Note how Channel 1 shows an encoder signal but Channel 2 looks completely flat. This should not occur. If one is showing a signal, so should the other.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another good way to check the encoder is to use the steps to enter manual mode but do not set &amp;quot;Fslipspnt&amp;quot; nor &amp;quot;ampnom&amp;quot;. You need to not be in &amp;quot;Off&amp;quot; mode. In Off mode the speed and turns values do not update in the spot values. But, in manual mode they do. So, enter manual mode without asking for any speed, then turn the motor. With the motor spinning you should see some position feedback in the form of a non-zero speed value and the turns value should increment. If these things do not reliably occur then you may still be having encoder problems. If they do occur, still check to ensure that your A and B channels are the right way around.&lt;br /&gt;
&lt;br /&gt;
=== Internal Coolant Leaks ===&lt;br /&gt;
The Tesla LDU is famous for springing a leak on the motor side. Right there at the inlet there is a seal to the motor shaft. It fails then coolant starts to seep into the motor itself. This rusts the hell out of the motor internally until so much sludge builds up that it looks like a mud pie. Obviously, that is less than ideal. One way to check for this sort of thing is to go to the motor side and remove the one bolt that holds the encoder into the motor housing. If the encoder is soaking wet inside or looks like there is a slurry of liquid poo in the motor then there is bad news.&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure if there is any good pathway from the motor leak to the inverter so they could be two separate issues. In fact, having taken one apart, I guess that&#039;s almost certainly the case. But, the inverter has coolant running to it as well.&lt;br /&gt;
&lt;br /&gt;
Anyway, still check the encoder because that part is famous for leaking too and it ruins the motor.&lt;br /&gt;
&lt;br /&gt;
Long term, a leaking seal will develop. Full coolant loop delete as well as performance alternatives that retain cooling for towing and racing applications are available for install to solve leaking seals in LDUs.[https://revoltsystems.com/tesla-large-drive-unit-ldu-coolant-bypass-kit-the-achilles-seal-fix/ &amp;lt;nowiki&amp;gt;[1]&amp;lt;/nowiki&amp;gt;][https://www.westside-ev.com/store/p/pfi-fersa-coolant-delete-manifold &amp;lt;nowiki&amp;gt;[2]&amp;lt;/nowiki&amp;gt;][https://qccharge.com/collections/coolant-delete &amp;lt;nowiki&amp;gt;[3]&amp;lt;/nowiki&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
# https://revoltsystems.com/tesla-large-drive-unit-ldu-coolant-bypass-kit-the-achilles-seal-fix/&lt;br /&gt;
# https://www.westside-ev.com/store/p/pfi-fersa-coolant-delete-manifold&lt;br /&gt;
# https://qccharge.com/collections/coolant-delete&lt;br /&gt;
&lt;br /&gt;
=== Over Current Events ===&lt;br /&gt;
Many conversions using the Tesla LDU with the Open Inverter drop in board run into frequent Over Current errors, especially while tuning, and often despite remaining below the programmed over current parameter.  These events also seem unusual because the board will require a full power cycle, rather than just a new start input, in order to restart.  It is believed that what is actually occurring is a desaturation event, which the Tesla gate drivers are catching and shutting down, and the board is reporting as an over current event.  The full power cycle is necessary to reset the gate drivers.  Lowering fslipmax appears to address the issue in most cases.&lt;br /&gt;
&lt;br /&gt;
== Other considerations ==&lt;br /&gt;
The motor itself will run as well in the reverse direction as in the forward direction. However if you are running the gearbox integrated with the drive unit in reverse you will want to replace the gearbox&#039;s oil pump with a reverse oil pump. These can be found on ZeroEV. [https://zero-ev.co.uk/product/tesla-large-drive-unit-replacement-reverse-drive-oil-pump/?v=3a52f3c22ed6]&lt;br /&gt;
[[Category:Tesla]] [[Category:Motor]] [[Category:Inverter]] [[Category:Gearbox]]&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CAD ==&lt;br /&gt;
An amazing-quality solid model of this drive unit has been [https://grabcad.com/library/tesla-rear-drive-unit-1 made available on GrabCAD] by Winston Jennings.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=5699</id>
		<title>Tesla Model S/X Large Drive Unit (&quot;LDU&quot;)</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=5699"/>
		<updated>2025-03-15T23:35:22Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
[[File:Tesla LDU.jpg|alt=Tesla LDU|thumb|Tesla Large Drive Unit]]&lt;br /&gt;
The Tesla Model S/X Large Drive Unit (LDU) was the first drive unit produced by Tesla dating back to the launch of the Model S in 2012. Applications include RWD Model S &amp;amp; X, as well as performance AWD S &amp;amp; X - in both cases serving as the rear drive unit. &lt;br /&gt;
&lt;br /&gt;
=== Specs: ===&lt;br /&gt;
&lt;br /&gt;
* Weight: 291 lbs (132 kg)&lt;br /&gt;
* Input Voltage: 240-404V DC&lt;br /&gt;
* Power: 335 kW (~450HP) to 475 kW (~636 HP) depending on configuration&lt;br /&gt;
* Torque: 450 Nm (~332 ft/lb) to 650 Nm (~480 ft/lb) depending on configuration&lt;br /&gt;
* Max RPM: 18,000&lt;br /&gt;
* Gear ratio: 9.73:1&lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
[[File:LDU connection diagram.png|thumb|489x489px|LDU connection diagram|none]][[File:HV wiring.jpg|thumb|487x487px|HV wiring with precharge and main contactors|none]]&lt;br /&gt;
=== Low-Voltage ===&lt;br /&gt;
&lt;br /&gt;
==== Main I/O Plug ====&lt;br /&gt;
The main low-voltage connector is a 23-pin socket from the TE AMPSEAL family:&lt;br /&gt;
&lt;br /&gt;
* Housing (F): 770680-1&lt;br /&gt;
* Pins (F): 770520-1 (20-16 AWG)&lt;br /&gt;
&lt;br /&gt;
===== Connector Mapping/Pinout =====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;PIN NUMBER&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OEM&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OPEN SOURCE&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
|BRAKE ON N.O.&lt;br /&gt;
|BRAKE ON&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
|BRAKE OFF N.C.&lt;br /&gt;
|PRECHARGE RELAY&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;5&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;6&#039;&#039;&#039;&lt;br /&gt;
|CHG PROXIMITY&lt;br /&gt;
|MAIN CONTACTOR&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;7&#039;&#039;&#039;&lt;br /&gt;
|HVIL IN&lt;br /&gt;
|FORWARD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;8&#039;&#039;&#039;&lt;br /&gt;
|HVIL OUT&lt;br /&gt;
|REVERSE&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;9&#039;&#039;&#039;&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;10&#039;&#039;&#039;&lt;br /&gt;
|ENC A&lt;br /&gt;
|ENC A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;11&#039;&#039;&#039;&lt;br /&gt;
|GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;12&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 +5V&lt;br /&gt;
|ACCEL 5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;13&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1&lt;br /&gt;
|ACCEL INPUT&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;14&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2&lt;br /&gt;
|BRAKE TRANSDUCER&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;15&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 GND&lt;br /&gt;
|ACCEL GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;16&#039;&#039;&#039;&lt;br /&gt;
|ENC B&lt;br /&gt;
|ENC B&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;17&#039;&#039;&#039;&lt;br /&gt;
|ENC GND&lt;br /&gt;
|ENC GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;18&#039;&#039;&#039;&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;19&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;20&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;21&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 +5V&lt;br /&gt;
|CRUISE IN&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;22&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;23&#039;&#039;&#039;&lt;br /&gt;
|12V ALWAYS T30&lt;br /&gt;
|START&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Encoder Plug ====&lt;br /&gt;
A smaller 4 pin LV connector is responsible for the encoder signals. The plug is TE 444046-1; this part is EoL from TE, however the connector is [https://www.aliexpress.com/w/wholesale-444046%2525252d1.html widely available on Aliexpress].&lt;br /&gt;
&lt;br /&gt;
Per the [https://openinverter.org/forum/viewtopic.php?p=1026#p1026 Tesla Large Drive Unit Support Thread] :&lt;br /&gt;
&lt;br /&gt;
* Pin 1 of the Encoder connector to Pin 17 of the 23way ampseal main connector&lt;br /&gt;
* Pin 2 of the Encoder connector to Pin 16 of the 23way ampseal main connector&lt;br /&gt;
* Pin 3 of the Encoder connector to Pin 10 of the 23way ampseal main connector&lt;br /&gt;
* Pin 4 of the Encoder connector to Pin 9 of the 23way ampseal main connector&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Contactors&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Please note that the contactors you purchase *may* have polarity associated with them for the low voltage control signal.  If you have problems related to the pre-charge circuit working, or contactors behaving as not expected, check this!&lt;br /&gt;
&lt;br /&gt;
=== High-Voltage ===&lt;br /&gt;
The OEM LDU HV cables&#039; insulation OD is ~.680&amp;quot; (17.3mm) (verified for the &amp;quot;early&amp;quot; Model S units).  The HV cables are EMC shielded, and use proprietary EMC cable glands which are not available separately.  Fellten supplies custom aftermarket cable glands to fit the LDU&#039;s case and aftermarket 70mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; shielded cabling&amp;lt;ref&amp;gt;https://shop.fellten.com/shop/lduhvcg-ldu-high-voltage-cable-gland-12803#attr=&amp;lt;/ref&amp;gt;.  The early Model S LDU cables are ~44&amp;quot; (1120mm) in length.  One part No. for the cables set is 1004872-00-B.&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 05b.jpg|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|thumb|450x450px|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 03-1b.png|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|center|thumb|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
The OD of the casting where the external o-ring is located is ~1.030&amp;quot; (26.2mm).  The OEM gland nuts are plated and are often found in a corroded state.&lt;br /&gt;
&lt;br /&gt;
== Tesla Large Drive Unit Logic Board ==&lt;br /&gt;
An openinverter based control board has been made available by Damien Maguire. A &amp;quot;community edition&amp;quot; (i.e. mostly complete) version is available [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=64 here on the OI webshop], or you can have your own made from info contained in [https://github.com/damienmaguire/Tesla-Drive-Unit Damien&#039;s LDU github repo].&lt;br /&gt;
&lt;br /&gt;
This board replaces the original board that comes with the OEM Tesla drive train. As opposed to the latter, this board lets you use the drive train in the first place and allows you to fine-tune driving behaviour with the usual set of openinverter parameters. It does not restrict you in power output or regen input.&lt;br /&gt;
&lt;br /&gt;
You can fully control the board via CAN or via a set of digital and analog inputs.&lt;br /&gt;
&lt;br /&gt;
=== Application Info ===&lt;br /&gt;
If you buy the board from the openinverter shop it comes programmed with a recent software version. Please check [https://github.com/jsphuebner/stm32-sine/releases github] for recent software releases. In addition the board comes with a set of parameters appropriate to run the Tesla LDU. So it will work out of the box. Parameters that must not be changed are hidden to eliminate sources of error.&lt;br /&gt;
&lt;br /&gt;
You will need to solder the supplied connectors to the board. The drive unit connectors will plug right in.&lt;br /&gt;
&lt;br /&gt;
To test run your drive unit, supply the board with 12V and GND on the Ampseal connector. Also supply 12V „Forward“ to select forward direction.&lt;br /&gt;
&lt;br /&gt;
Supply inverter with some high voltage. For first tests it is recommended to put a large resistor/heating element/kettle in series.&lt;br /&gt;
&lt;br /&gt;
You can start in manual mode using the button on the web interface and enter like 1Hz for „Fslipspnt“ and some value between 10-50 for „ampnom“ to see if the motor spins up. Be careful because manual mode does not enforce a motor speed limit! However, „Fslipspnt“ sets the base speed requested of the motor. Setting it to 1Hz will spin the motor very slowly. Setting it to 5, 10, or 15Hz will spin it progressively faster. For any given speed you will need to experiment with „ampnom“ to find a happy place where enough current is allowed to flow but not too much. Finding a good set of values should make your motor spin reasonably smoothly.  Also check the „Boost“ as it may require an increased value of 5000-10000.&lt;br /&gt;
&lt;br /&gt;
You may also set parameter „udcsw“ and „udcmin“ to 0 and start drive mode by pulsing 12V on „Start“. Then connect a pot between 5V, GND and „Pot“ (wiper). This will also spin the motor AND enforce a speed limit.&lt;br /&gt;
&lt;br /&gt;
By default the inverter is controlled as above - by using digital I/O and directly connecting an accelerator pedal. However, it is also possible to control it directly over CAN: [[CAN communication]]&lt;br /&gt;
&lt;br /&gt;
CAN control could be used to control the inverter via an external VCU such as the Zombie (not yet supported).&lt;br /&gt;
&lt;br /&gt;
==== Additional Resources ====&lt;br /&gt;
[https://openinverter.org/parameters/view.html?id=16 Parameters]&lt;br /&gt;
&lt;br /&gt;
[[Tesla Setup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Tuning and Parameters ==&lt;br /&gt;
There are several tuning threads and sets of shared parameters on the Open Inverter Forum.  The two most useful collections are: [https://openinverter.org/forum/viewtopic.php?t=195&amp;amp;hilit=parameters Original Parameter Sharing Thread] and the [https://openinverter.org/forum/viewtopic.php?t=126 Tuning Discussion Thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tuning guide [https://openinverter.org/forum/viewtopic.php?p=15385#p15385 here] has lots of useful information regarding the impact of various parameters on the LDU.&lt;br /&gt;
&lt;br /&gt;
The main Open Inverter parameter definition page is located [[Parameters|here]].&lt;br /&gt;
&lt;br /&gt;
=== Throttle Set Up ===&lt;br /&gt;
[[File:Throttle mod.png|thumb]]&lt;br /&gt;
The Tesla LDU drop in board uses a range of 0-3.3V for the throttle input, however many OEM throttle pedals use a range of 0-5V.  This can work, however it presents an issue in the event of a broken throttle pedal.  A fix has been implemented in the firmware as of June 2024, which requires a 10k resistor placed in line on the throttle signal.   Read more in [https://openinverter.org/forum/viewtopic.php?t=5075 this thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failure Modes ==&lt;br /&gt;
&lt;br /&gt;
=== Encoder Issues ===&lt;br /&gt;
It is not uncommon to have issues with the encoder on these drive units. The encoder is connected via a 4 wire cable from the 23 pin external connector of the drive unit to the encoder which is situated on the opposite side of the drive unit. The biggest sign of encoder problems is the motor &amp;quot;bucking&amp;quot; back and forth and not wanting to spin properly in the requested direction. It may spin the direction you&#039;ve asked for but roughly and with great trouble. This situation needs to be corrected. There are a number of things that could be wrong:&lt;br /&gt;
&lt;br /&gt;
# The wires may be broken. You should attempt a continuity check of each of the wires.&lt;br /&gt;
# The encoder signals may be backward. There are two channels - A and B. They must be presented to the inverter in the proper order. If this is in doubt, try swapping them.&lt;br /&gt;
# One of the encoder signals may be missing. As above, there should always be two channels. They&#039;re &amp;quot;quadrature&amp;quot; which means that they fire 90 degrees apart.&lt;br /&gt;
&lt;br /&gt;
To check the encoder signals you should have either a logic analyzer or an oscilloscope. Both come in a wide range of prices. The encoder signal is not particularly fast, especially when the motor is not spinning that fast. As such, even cheap test equipment can be adequate. You may find that there is no particularly good place to connect to in order to read the encoder signals. But, there does exist a reasonable place - right at the 20 pin connector on the LDU board where the 23 pin external connector&#039;s wires are routed. If your logic analyzer or oscilloscope has little grabber adapters you can do something like in this picture:&lt;br /&gt;
[[File:ClipsOnPins-LDUEncoder.jpg|frame]]&lt;br /&gt;
&lt;br /&gt;
The pins on this connector are numbered starting with 1 at the far right and going more positive toward the left until you get to pin 20.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin Number&lt;br /&gt;
!Function&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Encoder 5V Source&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Encoder A Channel&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Encoder B Channel&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Encoder Ground&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, in the picture, channel 0 is connected to encoder 5v (to monitor that voltage is properly there), channel 1 is connected to the A channel of the encoder, channel 2 is connected to the B encoder channel, and scope ground is connected to the encoder ground wire. This allows for monitoring all of the relevant signals. But, keep in mind not to short any pins while doing this. Very fine probes will be needed and extreme caution not to clip two pins together. The clips/grabbers in this picture are from a Saleae Logic Pro 8. This is *NOT* your cheapest option for monitoring encoder signals but does work very well. It also doubles as a 50Mhz oscilloscope which can be handy. Cheaper options (including knock offs of Saleae Logic) do exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a picture of what it may look like when one encoder signal is missing:&lt;br /&gt;
[[File:Logic Encoder1.png|center|frame|Note how Channel 1 shows an encoder signal but Channel 2 looks completely flat. This should not occur. If one is showing a signal, so should the other.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another good way to check the encoder is to use the steps to enter manual mode but do not set &amp;quot;Fslipspnt&amp;quot; nor &amp;quot;ampnom&amp;quot;. You need to not be in &amp;quot;Off&amp;quot; mode. In Off mode the speed and turns values do not update in the spot values. But, in manual mode they do. So, enter manual mode without asking for any speed, then turn the motor. With the motor spinning you should see some position feedback in the form of a non-zero speed value and the turns value should increment. If these things do not reliably occur then you may still be having encoder problems. If they do occur, still check to ensure that your A and B channels are the right way around.&lt;br /&gt;
&lt;br /&gt;
=== Internal Coolant Leaks ===&lt;br /&gt;
The Tesla LDU is famous for springing a leak on the motor side. Right there at the inlet there is a seal to the motor shaft. It fails then coolant starts to seep into the motor itself. This rusts the hell out of the motor internally until so much sludge builds up that it looks like a mud pie. Obviously, that is less than ideal. One way to check for this sort of thing is to go to the motor side and remove the one bolt that holds the encoder into the motor housing. If the encoder is soaking wet inside or looks like there is a slurry of liquid poo in the motor then there is bad news.&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure if there is any good pathway from the motor leak to the inverter so they could be two separate issues. In fact, having taken one apart, I guess that&#039;s almost certainly the case. But, the inverter has coolant running to it as well.&lt;br /&gt;
&lt;br /&gt;
Anyway, still check the encoder because that part is famous for leaking too and it ruins the motor.&lt;br /&gt;
&lt;br /&gt;
Long term, a leaking seal will develop. Full coolant loop delete as well as performance alternatives that retain cooling for towing and racing applications are available for install to solve leaking seals in LDUs.[https://revoltsystems.com/tesla-large-drive-unit-ldu-coolant-bypass-kit-the-achilles-seal-fix/ &amp;lt;nowiki&amp;gt;[1]&amp;lt;/nowiki&amp;gt;][https://www.westside-ev.com/store/p/pfi-fersa-coolant-delete-manifold &amp;lt;nowiki&amp;gt;[2]&amp;lt;/nowiki&amp;gt;][https://qccharge.com/collections/coolant-delete &amp;lt;nowiki&amp;gt;[3]&amp;lt;/nowiki&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
# https://revoltsystems.com/tesla-large-drive-unit-ldu-coolant-bypass-kit-the-achilles-seal-fix/&lt;br /&gt;
# https://www.westside-ev.com/store/p/pfi-fersa-coolant-delete-manifold&lt;br /&gt;
# https://qccharge.com/collections/coolant-delete&lt;br /&gt;
&lt;br /&gt;
=== Over Current Events ===&lt;br /&gt;
Many conversions using the Tesla LDU with the Open Inverter drop in board run into frequent Over Current errors, especially while tuning, and often despite remaining below the programmed over current parameter.  These events also seem unusual because the board will require a full power cycle, rather than just a new start input, in order to restart.  It is believed that what is actually occurring is a desaturation event, which the Tesla gate drivers are catching and shutting down, and the board is reporting as an over current event.  The full power cycle is necessary to reset the gate drivers.  Lowering fslipmax appears to address the issue in most cases.&lt;br /&gt;
&lt;br /&gt;
== Other considerations ==&lt;br /&gt;
The motor itself will run as well in the reverse direction as in the forward direction. However if you are running the gearbox integrated with the drive unit in reverse you will want to replace the gearbox&#039;s oil pump with a reverse oil pump. These can be found on ZeroEV. [https://zero-ev.co.uk/product/tesla-large-drive-unit-replacement-reverse-drive-oil-pump/?v=3a52f3c22ed6]&lt;br /&gt;
[[Category:Tesla]] [[Category:Motor]] [[Category:Inverter]] [[Category:Gearbox]]&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CAD ==&lt;br /&gt;
An amazing-quality solid model of this drive unit has been [https://grabcad.com/library/tesla-rear-drive-unit-1 made available on GrabCAD] by Winston Jennings.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=5698</id>
		<title>Tesla Model S/X Large Drive Unit (&quot;LDU&quot;)</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=5698"/>
		<updated>2025-03-15T23:34:52Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Added information on recurring overcurrent events.  Added throttle pedal safety modification information.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
[[File:Tesla LDU.jpg|alt=Tesla LDU|thumb|Tesla Large Drive Unit]]&lt;br /&gt;
The Tesla Model S/X Large Drive Unit (LDU) was the first drive unit produced by Tesla dating back to the launch of the Model S in 2012. Applications include RWD Model S &amp;amp; X, as well as performance AWD S &amp;amp; X - in both cases serving as the rear drive unit. &lt;br /&gt;
&lt;br /&gt;
=== Specs: ===&lt;br /&gt;
&lt;br /&gt;
* Weight: 291 lbs (132 kg)&lt;br /&gt;
* Input Voltage: 240-404V DC&lt;br /&gt;
* Power: 335 kW (~450HP) to 475 kW (~636 HP) depending on configuration&lt;br /&gt;
* Torque: 450 Nm (~332 ft/lb) to 650 Nm (~480 ft/lb) depending on configuration&lt;br /&gt;
* Max RPM: 18,000&lt;br /&gt;
* Gear ratio: 9.73:1&lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
[[File:LDU connection diagram.png|thumb|489x489px|LDU connection diagram|none]][[File:HV wiring.jpg|thumb|487x487px|HV wiring with precharge and main contactors|none]]&lt;br /&gt;
=== Low-Voltage ===&lt;br /&gt;
&lt;br /&gt;
==== Main I/O Plug ====&lt;br /&gt;
The main low-voltage connector is a 23-pin socket from the TE AMPSEAL family:&lt;br /&gt;
&lt;br /&gt;
* Housing (F): 770680-1&lt;br /&gt;
* Pins (F): 770520-1 (20-16 AWG)&lt;br /&gt;
&lt;br /&gt;
===== Connector Mapping/Pinout =====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;PIN NUMBER&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OEM&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OPEN SOURCE&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
|BRAKE ON N.O.&lt;br /&gt;
|BRAKE ON&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
|BRAKE OFF N.C.&lt;br /&gt;
|PRECHARGE RELAY&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;5&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;6&#039;&#039;&#039;&lt;br /&gt;
|CHG PROXIMITY&lt;br /&gt;
|MAIN CONTACTOR&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;7&#039;&#039;&#039;&lt;br /&gt;
|HVIL IN&lt;br /&gt;
|FORWARD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;8&#039;&#039;&#039;&lt;br /&gt;
|HVIL OUT&lt;br /&gt;
|REVERSE&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;9&#039;&#039;&#039;&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;10&#039;&#039;&#039;&lt;br /&gt;
|ENC A&lt;br /&gt;
|ENC A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;11&#039;&#039;&#039;&lt;br /&gt;
|GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;12&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 +5V&lt;br /&gt;
|ACCEL 5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;13&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1&lt;br /&gt;
|ACCEL INPUT&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;14&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2&lt;br /&gt;
|BRAKE TRANSDUCER&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;15&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 GND&lt;br /&gt;
|ACCEL GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;16&#039;&#039;&#039;&lt;br /&gt;
|ENC B&lt;br /&gt;
|ENC B&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;17&#039;&#039;&#039;&lt;br /&gt;
|ENC GND&lt;br /&gt;
|ENC GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;18&#039;&#039;&#039;&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;19&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;20&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;21&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 +5V&lt;br /&gt;
|CRUISE IN&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;22&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;23&#039;&#039;&#039;&lt;br /&gt;
|12V ALWAYS T30&lt;br /&gt;
|START&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Encoder Plug ====&lt;br /&gt;
A smaller 4 pin LV connector is responsible for the encoder signals. The plug is TE 444046-1; this part is EoL from TE, however the connector is [https://www.aliexpress.com/w/wholesale-444046%2525252d1.html widely available on Aliexpress].&lt;br /&gt;
&lt;br /&gt;
Per the [https://openinverter.org/forum/viewtopic.php?p=1026#p1026 Tesla Large Drive Unit Support Thread] :&lt;br /&gt;
&lt;br /&gt;
* Pin 1 of the Encoder connector to Pin 17 of the 23way ampseal main connector&lt;br /&gt;
* Pin 2 of the Encoder connector to Pin 16 of the 23way ampseal main connector&lt;br /&gt;
* Pin 3 of the Encoder connector to Pin 10 of the 23way ampseal main connector&lt;br /&gt;
* Pin 4 of the Encoder connector to Pin 9 of the 23way ampseal main connector&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Contactors&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Please note that the contactors you purchase *may* have polarity associated with them for the low voltage control signal.  If you have problems related to the pre-charge circuit working, or contactors behaving as not expected, check this!&lt;br /&gt;
&lt;br /&gt;
=== High-Voltage ===&lt;br /&gt;
The OEM LDU HV cables&#039; insulation OD is ~.680&amp;quot; (17.3mm) (verified for the &amp;quot;early&amp;quot; Model S units).  The HV cables are EMC shielded, and use proprietary EMC cable glands which are not available separately.  Fellten supplies custom aftermarket cable glands to fit the LDU&#039;s case and aftermarket 70mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; shielded cabling&amp;lt;ref&amp;gt;https://shop.fellten.com/shop/lduhvcg-ldu-high-voltage-cable-gland-12803#attr=&amp;lt;/ref&amp;gt;.  The early Model S LDU cables are ~44&amp;quot; (1120mm) in length.  One part No. for the cables set is 1004872-00-B.&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 05b.jpg|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|thumb|450x450px|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 03-1b.png|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|center|thumb|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
The OD of the casting where the external o-ring is located is ~1.030&amp;quot; (26.2mm).  The OEM gland nuts are plated and are often found in a corroded state.&lt;br /&gt;
&lt;br /&gt;
== Tesla Large Drive Unit Logic Board ==&lt;br /&gt;
An openinverter based control board has been made available by Damien Maguire. A &amp;quot;community edition&amp;quot; (i.e. mostly complete) version is available [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=64 here on the OI webshop], or you can have your own made from info contained in [https://github.com/damienmaguire/Tesla-Drive-Unit Damien&#039;s LDU github repo].&lt;br /&gt;
&lt;br /&gt;
This board replaces the original board that comes with the OEM Tesla drive train. As opposed to the latter, this board lets you use the drive train in the first place and allows you to fine-tune driving behaviour with the usual set of openinverter parameters. It does not restrict you in power output or regen input.&lt;br /&gt;
&lt;br /&gt;
You can fully control the board via CAN or via a set of digital and analog inputs.&lt;br /&gt;
&lt;br /&gt;
=== Application Info ===&lt;br /&gt;
If you buy the board from the openinverter shop it comes programmed with a recent software version. Please check [https://github.com/jsphuebner/stm32-sine/releases github] for recent software releases. In addition the board comes with a set of parameters appropriate to run the Tesla LDU. So it will work out of the box. Parameters that must not be changed are hidden to eliminate sources of error.&lt;br /&gt;
&lt;br /&gt;
You will need to solder the supplied connectors to the board. The drive unit connectors will plug right in.&lt;br /&gt;
&lt;br /&gt;
To test run your drive unit, supply the board with 12V and GND on the Ampseal connector. Also supply 12V „Forward“ to select forward direction.&lt;br /&gt;
&lt;br /&gt;
Supply inverter with some high voltage. For first tests it is recommended to put a large resistor/heating element/kettle in series.&lt;br /&gt;
&lt;br /&gt;
You can start in manual mode using the button on the web interface and enter like 1Hz for „Fslipspnt“ and some value between 10-50 for „ampnom“ to see if the motor spins up. Be careful because manual mode does not enforce a motor speed limit! However, „Fslipspnt“ sets the base speed requested of the motor. Setting it to 1Hz will spin the motor very slowly. Setting it to 5, 10, or 15Hz will spin it progressively faster. For any given speed you will need to experiment with „ampnom“ to find a happy place where enough current is allowed to flow but not too much. Finding a good set of values should make your motor spin reasonably smoothly.  Also check the „Boost“ as it may require an increased value of 5000-10000.&lt;br /&gt;
&lt;br /&gt;
You may also set parameter „udcsw“ and „udcmin“ to 0 and start drive mode by pulsing 12V on „Start“. Then connect a pot between 5V, GND and „Pot“ (wiper). This will also spin the motor AND enforce a speed limit.&lt;br /&gt;
&lt;br /&gt;
By default the inverter is controlled as above - by using digital I/O and directly connecting an accelerator pedal. However, it is also possible to control it directly over CAN: [[CAN communication]]&lt;br /&gt;
&lt;br /&gt;
CAN control could be used to control the inverter via an external VCU such as the Zombie (not yet supported).&lt;br /&gt;
&lt;br /&gt;
==== Additional Resources ====&lt;br /&gt;
[https://openinverter.org/parameters/view.html?id=16 Parameters]&lt;br /&gt;
&lt;br /&gt;
[[Tesla Setup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Tuning and Parameters ==&lt;br /&gt;
There are several tuning threads and sets of shared parameters on the Open Inverter Forum.  The two most useful collections are: [https://openinverter.org/forum/viewtopic.php?t=195&amp;amp;hilit=parameters Original Parameter Sharing Thread] and the [https://openinverter.org/forum/viewtopic.php?t=126 Tuning Discussion Thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tuning guide [https://openinverter.org/forum/viewtopic.php?p=15385#p15385 here] has lots of useful information regarding the impact of various parameters on the LDU.&lt;br /&gt;
&lt;br /&gt;
The main Open Inverter parameter definition page is located [[Parameters|here]].&lt;br /&gt;
&lt;br /&gt;
=== Throttle Set Up ===&lt;br /&gt;
[[File:Throttle mod.png|thumb]]&lt;br /&gt;
The Tesla LDU drop in board uses a range of 0-3.3V for the throttle input, however many OEM throttle pedals use a range of 0-5V.  This can work, however it presents an issue in the event of a broken throttle pedal.  A fix has been implemented in the firmware as of June 2024, which requires a 10k resistor placed in line on the throttle signal.   Read more in [https://openinverter.org/forum/viewtopic.php?t=5075 this thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Failure Modes ==&lt;br /&gt;
&lt;br /&gt;
=== Encoder Issues ===&lt;br /&gt;
It is not uncommon to have issues with the encoder on these drive units. The encoder is connected via a 4 wire cable from the 23 pin external connector of the drive unit to the encoder which is situated on the opposite side of the drive unit. The biggest sign of encoder problems is the motor &amp;quot;bucking&amp;quot; back and forth and not wanting to spin properly in the requested direction. It may spin the direction you&#039;ve asked for but roughly and with great trouble. This situation needs to be corrected. There are a number of things that could be wrong:&lt;br /&gt;
&lt;br /&gt;
# The wires may be broken. You should attempt a continuity check of each of the wires.&lt;br /&gt;
# The encoder signals may be backward. There are two channels - A and B. They must be presented to the inverter in the proper order. If this is in doubt, try swapping them.&lt;br /&gt;
# One of the encoder signals may be missing. As above, there should always be two channels. They&#039;re &amp;quot;quadrature&amp;quot; which means that they fire 90 degrees apart.&lt;br /&gt;
&lt;br /&gt;
To check the encoder signals you should have either a logic analyzer or an oscilloscope. Both come in a wide range of prices. The encoder signal is not particularly fast, especially when the motor is not spinning that fast. As such, even cheap test equipment can be adequate. You may find that there is no particularly good place to connect to in order to read the encoder signals. But, there does exist a reasonable place - right at the 20 pin connector on the LDU board where the 23 pin external connector&#039;s wires are routed. If your logic analyzer or oscilloscope has little grabber adapters you can do something like in this picture:&lt;br /&gt;
[[File:ClipsOnPins-LDUEncoder.jpg|frame]]&lt;br /&gt;
&lt;br /&gt;
The pins on this connector are numbered starting with 1 at the far right and going more positive toward the left until you get to pin 20.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin Number&lt;br /&gt;
!Function&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Encoder 5V Source&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Encoder A Channel&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Encoder B Channel&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Encoder Ground&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, in the picture, channel 0 is connected to encoder 5v (to monitor that voltage is properly there), channel 1 is connected to the A channel of the encoder, channel 2 is connected to the B encoder channel, and scope ground is connected to the encoder ground wire. This allows for monitoring all of the relevant signals. But, keep in mind not to short any pins while doing this. Very fine probes will be needed and extreme caution not to clip two pins together. The clips/grabbers in this picture are from a Saleae Logic Pro 8. This is *NOT* your cheapest option for monitoring encoder signals but does work very well. It also doubles as a 50Mhz oscilloscope which can be handy. Cheaper options (including knock offs of Saleae Logic) do exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a picture of what it may look like when one encoder signal is missing:&lt;br /&gt;
[[File:Logic Encoder1.png|center|frame|Note how Channel 1 shows an encoder signal but Channel 2 looks completely flat. This should not occur. If one is showing a signal, so should the other.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another good way to check the encoder is to use the steps to enter manual mode but do not set &amp;quot;Fslipspnt&amp;quot; nor &amp;quot;ampnom&amp;quot;. You need to not be in &amp;quot;Off&amp;quot; mode. In Off mode the speed and turns values do not update in the spot values. But, in manual mode they do. So, enter manual mode without asking for any speed, then turn the motor. With the motor spinning you should see some position feedback in the form of a non-zero speed value and the turns value should increment. If these things do not reliably occur then you may still be having encoder problems. If they do occur, still check to ensure that your A and B channels are the right way around.&lt;br /&gt;
&lt;br /&gt;
=== Internal Coolant Leaks ===&lt;br /&gt;
The Tesla LDU is famous for springing a leak on the motor side. Right there at the inlet there is a seal to the motor shaft. It fails then coolant starts to seep into the motor itself. This rusts the hell out of the motor internally until so much sludge builds up that it looks like a mud pie. Obviously, that is less than ideal. One way to check for this sort of thing is to go to the motor side and remove the one bolt that holds the encoder into the motor housing. If the encoder is soaking wet inside or looks like there is a slurry of liquid poo in the motor then there is bad news.&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure if there is any good pathway from the motor leak to the inverter so they could be two separate issues. In fact, having taken one apart, I guess that&#039;s almost certainly the case. But, the inverter has coolant running to it as well.&lt;br /&gt;
&lt;br /&gt;
Anyway, still check the encoder because that part is famous for leaking too and it ruins the motor.&lt;br /&gt;
&lt;br /&gt;
Long term, a leaking seal will develop. Full coolant loop delete as well as performance alternatives that retain cooling for towing and racing applications are available for install to solve leaking seals in LDUs.[https://revoltsystems.com/tesla-large-drive-unit-ldu-coolant-bypass-kit-the-achilles-seal-fix/ &amp;lt;nowiki&amp;gt;[1]&amp;lt;/nowiki&amp;gt;][https://www.westside-ev.com/store/p/pfi-fersa-coolant-delete-manifold &amp;lt;nowiki&amp;gt;[2]&amp;lt;/nowiki&amp;gt;][https://qccharge.com/collections/coolant-delete &amp;lt;nowiki&amp;gt;[3]&amp;lt;/nowiki&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
# https://revoltsystems.com/tesla-large-drive-unit-ldu-coolant-bypass-kit-the-achilles-seal-fix/&lt;br /&gt;
# https://www.westside-ev.com/store/p/pfi-fersa-coolant-delete-manifold&lt;br /&gt;
# https://qccharge.com/collections/coolant-delete&lt;br /&gt;
&lt;br /&gt;
=== Over Current Events ===&lt;br /&gt;
Many conversions using the Tesla LDU with the Open Inverter drop in board run into frequent Over Current errors, especially while tuning, and often despite remaining below the programmed over current parameter.  These events also seem unusual because the board will require a full power cycle, rather than just a new start input, in order to restart.  It is believed that what is actually occurring is a desaturation event, which the Tesla gate drivers are catching and shutting down, and the board is reporting as an over current event.  The full power cycle is necessary to reset the gate drivers.  Lowering fslipmax appears to address the issue in most cases.&lt;br /&gt;
&lt;br /&gt;
== Other considerations ==&lt;br /&gt;
The motor itself will run as well in the reverse direction as in the forward direction. However if you are running the gearbox integrated with the drive unit in reverse you will want to replace the gearbox&#039;s oil pump with a reverse oil pump. These can be found on ZeroEV. [https://zero-ev.co.uk/product/tesla-large-drive-unit-replacement-reverse-drive-oil-pump/?v=3a52f3c22ed6]&lt;br /&gt;
[[Category:Tesla]] [[Category:Motor]] [[Category:Inverter]] [[Category:Gearbox]]&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CAD ==&lt;br /&gt;
An amazing-quality solid model of this drive unit has been [https://grabcad.com/library/tesla-rear-drive-unit-1 made available on GrabCAD] by Winston Jennings.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=File:Throttle_mod.png&amp;diff=5697</id>
		<title>File:Throttle mod.png</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=File:Throttle_mod.png&amp;diff=5697"/>
		<updated>2025-03-15T23:33:20Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Modification needed to Throttle Input for drop in Tesla LDU + SDU boards&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page&amp;diff=5155</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page&amp;diff=5155"/>
		<updated>2024-12-03T14:16:54Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Added link to parameter definitions under additional reading&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Did you know you can convert your existing fossil powered vehicle to use electricity instead? And that you can even produce that electricity yourself?&lt;br /&gt;
&lt;br /&gt;
Open Inverter is a [[Main Page#Who we are|community of people]] and projects focused on open source solutions for EV conversions.  Founded in 2008 by Johannes Huebner as an open source inverter control firmware, the project has since expanded to include the reuse of components from production EVs and hybrids, including inverters, motors, batteries, on-board chargers, and DC-DC converters, as well as the open source implementation of other necessary systems for EV conversions such as DC Fast Charging controllers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
File:Electric-car.jpg|none|frame|Click on the captions to learn more about the respective system! Image source: https://www.newkidscar.com/&lt;br /&gt;
&lt;br /&gt;
poly 248 166 542 166 542 217 248 217 248 166 [[#Reusing motors and inverters - aka drive trains]]&lt;br /&gt;
poly 1041 455 1336 455 1336 506 1041 506 1041 455 [[#Reusing Batteries]]&lt;br /&gt;
poly 147 344 428 344 428 391 147 391 147 344 [[#Onboard chargers and DC/DC converters]]&lt;br /&gt;
poly 844 624 1118 624 1118 673 844 673 844 624 [[#Onboard chargers and DC/DC converters]]&lt;br /&gt;
poly 935 539 1200 539 1200 586 935 586 935 539 [[#Rapid Charging]]&lt;br /&gt;
poly 134 435 394 435 394 483 134 483 134 435 [[#Auxiliary Parts]]&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This wiki is maintained by the wider community. &#039;&#039;&#039;Please update this wiki&#039;&#039;&#039;. For example if your question has been clarified on the [https://openinverter.org/forum forum] and the new information can not be found here, please add it! The credentials are the same as for the forum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[Main Page#Who we are|Developers]] time is best spent developing;&#039;&#039;&#039; &#039;&#039;&#039;Support is best found in the forums&#039;&#039;&#039; - Developers of various projects are often bombarded with private messages and emails. Managing these emails and questions is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don&#039;t understand a topic. Developers are not your personal support team, unless you want to [[Application Support|pay them directly]] for their time. To keep developers independent please consider donating - donation links can be found [[Main Page#Who we are|down below]].&lt;br /&gt;
&lt;br /&gt;
==Reusing motors and inverters - aka drive trains==&lt;br /&gt;
[[File:Tesla_LDU.jpg|thumb]]&lt;br /&gt;
The drive train is one of the defining building blocks of your conversion as it defines how well your vehicle picks up speed. Over the years we have reverse engineered many popular drive trains from [[:Category:OEM|production cars]] such as Teslas. As a bonus using such complete drive trains facilitates getting the vehicle [[Legalities|road legal]] in many countries. By now you have a choice of low to medium power drive trains that only cost a few 100€ up to high performance ones at many 1000€. &lt;br /&gt;
&lt;br /&gt;
We have established two methods of running these [[:Category:OEM|OEM]] systems: reverse-engineering their communication protocol and making the drive train &amp;quot;think&amp;quot; it is still in its original vehicle OR swapping out the control electronics for our own open source motor controller. The latter method gives your more control and power but also a steeper learning curve. &lt;br /&gt;
&lt;br /&gt;
Nearly all drive trains are targeted at 400V battery voltage. Run at a lower voltage they will produce proportionally less power. &lt;br /&gt;
Here is what we have done so far and how we&#039;ve done it. Some is still work in progress (WIP) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Drive Train&lt;br /&gt;
!Control Method&lt;br /&gt;
! Approximate Power Output&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
|[[Tesla Model S/X Large Drive Unit (&amp;quot;LDU&amp;quot;)|Large Drive Unit]]&lt;br /&gt;
|[https://openinverter.org/shop/index.php?route=product/product&amp;amp;path=61&amp;amp;product_id=64 Board Swap]&lt;br /&gt;
|335-475 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Tesla Model S/X Small Drive Unit (&amp;quot;SDU&amp;quot;)|Small Drive Unit]]&lt;br /&gt;
|[https://openinverter.org/shop/index.php?route=product/product&amp;amp;path=61&amp;amp;product_id=62 Board Swap]&lt;br /&gt;
|180 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Tesla Model 3 Rear Drive Unit|Model 3/Y Rear Drive Unit]]&lt;br /&gt;
|Board Swap/Board reprogramming [WIP]&lt;br /&gt;
|239 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Tesla Model 3 Front Drive Unit|Model 3/Y Front Drive Unit]]&lt;br /&gt;
|Board Swap/Board reprogramming [WIP]&lt;br /&gt;
|121 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Nissan]]&lt;br /&gt;
|[[Nissan Leaf Motors|Gen1]]&lt;br /&gt;
|[[ZombieVerter VCU|CAN spoofing]]&lt;br /&gt;
|80 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| [[Nissan Leaf Gen2 Board|Gen2]]&lt;br /&gt;
|[[ZombieVerter VCU|CAN spoofing]]/[https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=57 Board Swap]&lt;br /&gt;
|80 kW / 130 kW (board swap)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Nissan Leaf Gen 3 (2018 up EM57)|Gen3]]&lt;br /&gt;
|[[ZombieVerter VCU|CAN spoofing]]/Board Swap [WIP]&lt;br /&gt;
|110 - 160 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Toyota|Toyota]]&lt;br /&gt;
|[[Lexus GS450h Drivetrain|Lexus GS 450h]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|250 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota/Lexus GS300h CVT|Lexus GS 300h]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|105 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota Prius Gen2 Inverter|Prius Gen2]]&lt;br /&gt;
|[[Toyota Prius Gen2 Inverter Controller|External Control Board]] ([https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=68 Buy here])&lt;br /&gt;
|40-70 kW &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota Prius Gen3 Board|Prius Gen3]]&lt;br /&gt;
|[https://evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards Board Swap]/[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|100 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota/Lexus MGR Rear Transaxle Motor|MGR]]&lt;br /&gt;
|Prius Gen2 or Gen3 inverter&lt;br /&gt;
|18-50 kW (various models)&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Mitsubishi|Mitsubishi]]&lt;br /&gt;
|[[Mitsubishi Outlander Rear Drive Unit|Rear Drive Unit]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|60-70 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mitsubishi Outlander Front Transaxle|Front Drive Unit]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|60-70 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:BMW|BMW]]&lt;br /&gt;
|[[BMW i3 Inverter|i3]]&lt;br /&gt;
|[https://openinverter.org/shop/index.php?route=product/product&amp;amp;path=61&amp;amp;product_id=72 Board Swap]&lt;br /&gt;
|125-135 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Chevrolet|Chevy/Opel]]&lt;br /&gt;
|[[Chevrolet Volt Inverter|Volt/Ampera]]&lt;br /&gt;
|Board Swap&lt;br /&gt;
|160 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Ford|Ford]]&lt;br /&gt;
|[[Ford Ranger TIM Controller|Ranger]]&lt;br /&gt;
|Board Swap&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Renault&lt;br /&gt;
|[https://openinverter.org/forum/viewtopic.php?t=4749 Zoe]&lt;br /&gt;
|Board Swap [WIP]&lt;br /&gt;
|Unknown &lt;br /&gt;
|-&lt;br /&gt;
|MG&lt;br /&gt;
|[https://github.com/damienmaguire/MG-EV-Inverter ZS EV]&lt;br /&gt;
|Board Swap [WIP] &lt;br /&gt;
|Unknown&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Reusing Batteries==&lt;br /&gt;
[[File:A09A7634.jpg|thumb]]&lt;br /&gt;
The most expensive and probably equally defining component is the [[Batteries|battery]] that stores all the energy for running your car. Batteries are usually assembled from a number of modules that in turn contain a number of cells. Usually batteries are reused on a module level. In rare cases the battery can be [https://youtu.be/_7l0Y1GsNJ4 reused as is in its original battery] box.&lt;br /&gt;
&lt;br /&gt;
While there are also various [[16-cell BMS|open source implementations]] of [https://www.youtube.com/watch?v=_QsMoCrSTYc battery management systems] (BMS) we generally recommend using as much of the OEM BMS as possible. Sometimes the [[:Category:OEM|OEM]] BMS comes as an all-in-one solution that measures cell data and spits out state of charge and power limit information. In other cases the BMS is split into module units that measure the physical data (voltages, temperatures) and a central unit that calculates the high level information.&lt;br /&gt;
&lt;br /&gt;
Sometimes we managed to reuse the complete system which is generally the safest as you can rely on the manufacturers well tested charge and discharge limits as well as reliable state of charge information (i.e. how much energy is left in the battery at any given time). In other cases we only managed to reuse the module units. This adds the convenience of having a well tested piece of hardware with the matching connector but required us to calculate all high level battery data ourselves. This also incudes [https://www.youtube.com/watch?v=RGYLPOlT45A cell balancing].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!BMS usability&lt;br /&gt;
!Energy Content&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
|[[Tesla Model 3 Battery|Model 3]]&lt;br /&gt;
|Module and high level [WIP]&lt;br /&gt;
|60-80 kWh ?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Batteries#OEM modules|Model S]]&lt;br /&gt;
|Unknown&lt;br /&gt;
|85-100 kWh&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Nissan|Nissan]]&lt;br /&gt;
|[[Nissan Leaf BMS|Leaf/NV200]]&lt;br /&gt;
|High Level&lt;br /&gt;
|24-40 kWh&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:VAG|VW]]&lt;br /&gt;
|[[VW Hybrid Battery Packs|Passat/Golf]]&lt;br /&gt;
|Module Level&lt;br /&gt;
|8.7-36 kWh&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[MEB Batteries|MEB]]&lt;br /&gt;
|Module Level&lt;br /&gt;
|52-77 kwh &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Onboard chargers and DC/DC converters ==&lt;br /&gt;
[[File:PXL_20241020_024043714.jpg|thumb|Onboard charger]]&lt;br /&gt;
The DC/DC converter takes energy from your HV traction battery and sends it to the cars 12V systems and 12V battery. It is basically a 1:1 replacement of the former alternator. An onboard charger (OBC) takes AC current from the grid and converts it into DC current to charge the battery. These two devices are often combined in one common enclosure hence why we treat them as one.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!OBC&lt;br /&gt;
!DC/DC&lt;br /&gt;
!OBC power&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
| [[Tesla Model S/X GEN2 Charger|Model S and X]] (Gen2)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|11 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
| [[Tesla Model S/X GEN3 Charger|Model S and X]] (Gen3)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|22 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]] &lt;br /&gt;
|[[Tesla Model S/X DC/DC Converter|Model S and X]] (DC/DC)&lt;br /&gt;
|no&lt;br /&gt;
|yes &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [[:Category:Tesla|Tesla]]&lt;br /&gt;
| [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)|Model 3]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|11 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Chevrolet|Chevrolet]]&lt;br /&gt;
|[[Chevrolet Volt Charger|Volt]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|3.7 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Chevrolet|Chevrolet]]&lt;br /&gt;
|[[Chevrolet Volt 2 Charger|Volt 2]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|3.7 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Dilong/Cascadia Chargers|Dilong]]&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|6.6 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Eltek chargers|Eltek]]&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|3 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Mitsubishi|Mitsubishi]]&lt;br /&gt;
|[[Mitsubishi Outlander DCDC OBC|Outlander / iMiev]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes &lt;br /&gt;
|3.3 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:MG|MG]]&lt;br /&gt;
|[[MG ZS Charger|ZS / MG4 / MG5]] &lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|6.6 - 11 kW&lt;br /&gt;
|}&lt;br /&gt;
There are more chargers under investigation, only the proven working ones are listed here. See our [[:Category:Charger|charger listing]] for more.&lt;br /&gt;
&lt;br /&gt;
== Rapid Charging==&lt;br /&gt;
[[File:Ccs-socket.jpg|thumb|CCS2 rapid charging socket]]&lt;br /&gt;
The above mentioned onboard chargers always have limited power as the space requirements and cost rise with power. To overcome this limitation modern EVs offer external access to their HV battery via a so called [[:Category:Rapid Charging|rapid charging]] port. This allows to charge the battery with a much more powerful external charger. As a bonus it also allows [[Bidirectional Charging|taking energy from the HV battery]] and powering appliances with it.&lt;br /&gt;
&lt;br /&gt;
There are 2 rapid charging protocols and 5 connector flavours world wide&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Connector&lt;br /&gt;
!Communication&lt;br /&gt;
!Prevalent countries&lt;br /&gt;
!Open Source solutions&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:ChaDeMo|CHAdeMO]]&lt;br /&gt;
|CAN&lt;br /&gt;
|Japan, world wide&lt;br /&gt;
|[[Chademo with ESP32-Chademo|ESP32]], [[Chademo With Arduino Due|Arduino,]] [[Chademo with Zombieverter|ZombieVerter]]&lt;br /&gt;
|-&lt;br /&gt;
|CCS Combo1&lt;br /&gt;
|[[Foccci|PLC]]&lt;br /&gt;
|US&lt;br /&gt;
|[[Foccci]], [[pyPLC]]&lt;br /&gt;
|-&lt;br /&gt;
|CCS Combo2&lt;br /&gt;
|[[Foccci|PLC]]&lt;br /&gt;
|Europe&lt;br /&gt;
|[[Foccci]], [[pyPLC]], [[BMW I3 Fast Charging LIM Module|I3LIM]]&lt;br /&gt;
|-&lt;br /&gt;
|NACS&lt;br /&gt;
|[[Foccci|PLC]]&lt;br /&gt;
|US&lt;br /&gt;
|[[Foccci]], [[pyPLC]]&lt;br /&gt;
|-&lt;br /&gt;
|GB/T&lt;br /&gt;
|CAN&lt;br /&gt;
|China&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Auxiliary Parts ==&lt;br /&gt;
We have now treated all the major building blocks of an EV, but there are many other components to complete the vehicle such as heaters, gear shifters and so on. We will summarize them here.&lt;br /&gt;
&lt;br /&gt;
* [[:Category:HVJB|HV Junction Box]]&lt;br /&gt;
* [[:Category:HVAC|HVAC]] (Heating, Air conditioning)&lt;br /&gt;
* [[Vacuum Pumps]]&lt;br /&gt;
* [[:Category:Power Steering|Power Steering]]&lt;br /&gt;
* [[VCU Comparison|VCU]] (Vehicle Control Unit)&lt;br /&gt;
* [[Shift Controllers]]&lt;br /&gt;
&lt;br /&gt;
== Additional Reading ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Legalities|Legalities]] - Getting a vehicle road legal in your country&lt;br /&gt;
* [[Glossary of Terms]]&lt;br /&gt;
* [[Parameters|Inverter Parameter Definitions]]&lt;br /&gt;
* [[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
* [[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
* [[Electronics Basics]] - general advice for troubleshooting electronic circuits&lt;br /&gt;
* [[I want a cheap ev conversion|cheap EV conversions]] - this entry point for the penny pinchers&lt;br /&gt;
* [[I want a powerful ev conversion|performant EV conversions]]  - where torque trumps money&lt;br /&gt;
* [[Mechanical design database]] - here you will find measurements, models, files, etc for a variety of components such as adapter plates and drive shaft flanges&lt;br /&gt;
* [[:Category:OpenInverter|Documentation of all OpenInverter Projects]]&lt;br /&gt;
* [[:Category:Tutorials|Tutorials]]&lt;br /&gt;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
&lt;br /&gt;
==Who we are==&lt;br /&gt;
There is no static team or openinverter company but here we list the most active community members with links to donation or information sites:&lt;br /&gt;
&lt;br /&gt;
*Johannes Hübner, openinverter founder and developer - [https://www.patreon.com/openinverter support on patreon] follow on [https://www.youtube.com/user/EngineersFear youtube] and [https://github.com/jsphuebner/ github]&lt;br /&gt;
*Damien Maguire, developer and most active vehicle converter - [https://evbmw.com/index.php/evbmw-webshop visit shop] [https://www.patreon.com/evbmw support on patreon] follow on [https://www.youtube.com/@Evbmw youtube] and [https://github.com/damienmaguire/ github]&lt;br /&gt;
*Tom de Bree, active member and developer - [https://github.com/Tom-evnut github] and [https://citini.com/ shop]&lt;br /&gt;
*Uwe Hennig, master of CCS - [https://www.patreon.com/uhi22 support on patreon] follow on [https://github.com/uhi22/ github]&lt;br /&gt;
*celeron55, developer - support via [https://www.paypal.com/paypalme/celeron55 paypal] follow on [https://www.youtube.com/user/celeron55 youtube] and [https://github.com/celeron55 github]&lt;br /&gt;
*Dave Fiddes, active member and developer - Follow on [https://github.com/davefiddes/ github]&lt;br /&gt;
*Arber Kramar, long term member and developer - [https://leafdriveblog.wordpress.com/ Follow on blogspot]&lt;br /&gt;
*Janosch Oppermann, active member, developer and producer - follow on [https://www.youtube.com/@foxev-content youtube]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page&amp;diff=5154</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Main_Page&amp;diff=5154"/>
		<updated>2024-12-03T13:48:10Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Fixed a spelling error and added direct links to Theory of Operations pages under Additional Reading.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Did you know you can convert your existing fossil powered vehicle to use electricity instead? And that you can even produce that electricity yourself?&lt;br /&gt;
&lt;br /&gt;
Open Inverter is a [[Main Page#Who we are|community of people]] and projects focused on open source solutions for EV conversions.  Founded in 2008 by Johannes Huebner as an open source inverter control firmware, the project has since expanded to include the reuse of components from production EVs and hybrids, including inverters, motors, batteries, on-board chargers, and DC-DC converters, as well as the open source implementation of other necessary systems for EV conversions such as DC Fast Charging controllers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;imagemap&amp;gt;&lt;br /&gt;
File:Electric-car.jpg|none|frame|Click on the captions to learn more about the respective system! Image source: https://www.newkidscar.com/&lt;br /&gt;
&lt;br /&gt;
poly 248 166 542 166 542 217 248 217 248 166 [[#Reusing motors and inverters - aka drive trains]]&lt;br /&gt;
poly 1041 455 1336 455 1336 506 1041 506 1041 455 [[#Reusing Batteries]]&lt;br /&gt;
poly 147 344 428 344 428 391 147 391 147 344 [[#Onboard chargers and DC/DC converters]]&lt;br /&gt;
poly 844 624 1118 624 1118 673 844 673 844 624 [[#Onboard chargers and DC/DC converters]]&lt;br /&gt;
poly 935 539 1200 539 1200 586 935 586 935 539 [[#Rapid Charging]]&lt;br /&gt;
poly 134 435 394 435 394 483 134 483 134 435 [[#Auxiliary Parts]]&lt;br /&gt;
&amp;lt;/imagemap&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This wiki is maintained by the wider community. &#039;&#039;&#039;Please update this wiki&#039;&#039;&#039;. For example if your question has been clarified on the [https://openinverter.org/forum forum] and the new information can not be found here, please add it! The credentials are the same as for the forum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[Main Page#Who we are|Developers]] time is best spent developing;&#039;&#039;&#039; &#039;&#039;&#039;Support is best found in the forums&#039;&#039;&#039; - Developers of various projects are often bombarded with private messages and emails. Managing these emails and questions is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don&#039;t understand a topic. Developers are not your personal support team, unless you want to [[Application Support|pay them directly]] for their time. To keep developers independent please consider donating - donation links can be found [[Main Page#Who we are|down below]].&lt;br /&gt;
&lt;br /&gt;
==Reusing motors and inverters - aka drive trains==&lt;br /&gt;
[[File:Tesla_LDU.jpg|thumb]]&lt;br /&gt;
The drive train is one of the defining building blocks of your conversion as it defines how well your vehicle picks up speed. Over the years we have reverse engineered many popular drive trains from [[:Category:OEM|production cars]] such as Teslas. As a bonus using such complete drive trains facilitates getting the vehicle [[Legalities|road legal]] in many countries. By now you have a choice of low to medium power drive trains that only cost a few 100€ up to high performance ones at many 1000€. &lt;br /&gt;
&lt;br /&gt;
We have established two methods of running these [[:Category:OEM|OEM]] systems: reverse-engineering their communication protocol and making the drive train &amp;quot;think&amp;quot; it is still in its original vehicle OR swapping out the control electronics for our own open source motor controller. The latter method gives your more control and power but also a steeper learning curve. &lt;br /&gt;
&lt;br /&gt;
Nearly all drive trains are targeted at 400V battery voltage. Run at a lower voltage they will produce proportionally less power. &lt;br /&gt;
Here is what we have done so far and how we&#039;ve done it. Some is still work in progress (WIP) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Drive Train&lt;br /&gt;
!Control Method&lt;br /&gt;
! Approximate Power Output&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
|[[Tesla Model S/X Large Drive Unit (&amp;quot;LDU&amp;quot;)|Large Drive Unit]]&lt;br /&gt;
|[https://openinverter.org/shop/index.php?route=product/product&amp;amp;path=61&amp;amp;product_id=64 Board Swap]&lt;br /&gt;
|335-475 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Tesla Model S/X Small Drive Unit (&amp;quot;SDU&amp;quot;)|Small Drive Unit]]&lt;br /&gt;
|[https://openinverter.org/shop/index.php?route=product/product&amp;amp;path=61&amp;amp;product_id=62 Board Swap]&lt;br /&gt;
|180 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Tesla Model 3 Rear Drive Unit|Model 3/Y Rear Drive Unit]]&lt;br /&gt;
|Board Swap/Board reprogramming [WIP]&lt;br /&gt;
|239 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Tesla Model 3 Front Drive Unit|Model 3/Y Front Drive Unit]]&lt;br /&gt;
|Board Swap/Board reprogramming [WIP]&lt;br /&gt;
|121 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Nissan]]&lt;br /&gt;
|[[Nissan Leaf Motors|Gen1]]&lt;br /&gt;
|[[ZombieVerter VCU|CAN spoofing]]&lt;br /&gt;
|80 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
| [[Nissan Leaf Gen2 Board|Gen2]]&lt;br /&gt;
|[[ZombieVerter VCU|CAN spoofing]]/[https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=57 Board Swap]&lt;br /&gt;
|80 kW / 130 kW (board swap)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Nissan Leaf Gen 3 (2018 up EM57)|Gen3]]&lt;br /&gt;
|[[ZombieVerter VCU|CAN spoofing]]/Board Swap [WIP]&lt;br /&gt;
|110 - 160 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Toyota|Toyota]]&lt;br /&gt;
|[[Lexus GS450h Drivetrain|Lexus GS 450h]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|250 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota/Lexus GS300h CVT|Lexus GS 300h]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|105 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota Prius Gen2 Inverter|Prius Gen2]]&lt;br /&gt;
|[[Toyota Prius Gen2 Inverter Controller|External Control Board]] ([https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=68 Buy here])&lt;br /&gt;
|40-70 kW &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota Prius Gen3 Board|Prius Gen3]]&lt;br /&gt;
|[https://evbmw.com/index.php/evbmw-webshop/toyota-built-and-tested-boards Board Swap]/[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|100 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Toyota/Lexus MGR Rear Transaxle Motor|MGR]]&lt;br /&gt;
|Prius Gen2 or Gen3 inverter&lt;br /&gt;
|18-50 kW (various models)&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Mitsubishi|Mitsubishi]]&lt;br /&gt;
|[[Mitsubishi Outlander Rear Drive Unit|Rear Drive Unit]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|60-70 kW&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Mitsubishi Outlander Front Transaxle|Front Drive Unit]]&lt;br /&gt;
|[[ZombieVerter VCU|Communication spoofing]]&lt;br /&gt;
|60-70 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:BMW|BMW]]&lt;br /&gt;
|[[BMW i3 Inverter|i3]]&lt;br /&gt;
|[https://openinverter.org/shop/index.php?route=product/product&amp;amp;path=61&amp;amp;product_id=72 Board Swap]&lt;br /&gt;
|125-135 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Chevrolet|Chevy/Opel]]&lt;br /&gt;
|[[Chevrolet Volt Inverter|Volt/Ampera]]&lt;br /&gt;
|Board Swap&lt;br /&gt;
|160 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Ford|Ford]]&lt;br /&gt;
|[[Ford Ranger TIM Controller|Ranger]]&lt;br /&gt;
|Board Swap&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| Renault&lt;br /&gt;
|[https://openinverter.org/forum/viewtopic.php?t=4749 Zoe]&lt;br /&gt;
|Board Swap [WIP]&lt;br /&gt;
|Unknown &lt;br /&gt;
|-&lt;br /&gt;
|MG&lt;br /&gt;
|[https://github.com/damienmaguire/MG-EV-Inverter ZS EV]&lt;br /&gt;
|Board Swap [WIP] &lt;br /&gt;
|Unknown&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Reusing Batteries==&lt;br /&gt;
[[File:A09A7634.jpg|thumb]]&lt;br /&gt;
The most expensive and probably equally defining component is the [[Batteries|battery]] that stores all the energy for running your car. Batteries are usually assembled from a number of modules that in turn contain a number of cells. Usually batteries are reused on a module level. In rare cases the battery can be [https://youtu.be/_7l0Y1GsNJ4 reused as is in its original battery] box.&lt;br /&gt;
&lt;br /&gt;
While there are also various [[16-cell BMS|open source implementations]] of [https://www.youtube.com/watch?v=_QsMoCrSTYc battery management systems] (BMS) we generally recommend using as much of the OEM BMS as possible. Sometimes the [[:Category:OEM|OEM]] BMS comes as an all-in-one solution that measures cell data and spits out state of charge and power limit information. In other cases the BMS is split into module units that measure the physical data (voltages, temperatures) and a central unit that calculates the high level information.&lt;br /&gt;
&lt;br /&gt;
Sometimes we managed to reuse the complete system which is generally the safest as you can rely on the manufacturers well tested charge and discharge limits as well as reliable state of charge information (i.e. how much energy is left in the battery at any given time). In other cases we only managed to reuse the module units. This adds the convenience of having a well tested piece of hardware with the matching connector but required us to calculate all high level battery data ourselves. This also incudes [https://www.youtube.com/watch?v=RGYLPOlT45A cell balancing].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!BMS usability&lt;br /&gt;
!Energy Content&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
|[[Tesla Model 3 Battery|Model 3]]&lt;br /&gt;
|Module and high level [WIP]&lt;br /&gt;
|60-80 kWh ?&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[Batteries#OEM modules|Model S]]&lt;br /&gt;
|Unknown&lt;br /&gt;
|85-100 kWh&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Nissan|Nissan]]&lt;br /&gt;
|[[Nissan Leaf BMS|Leaf/NV200]]&lt;br /&gt;
|High Level&lt;br /&gt;
|24-40 kWh&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:VAG|VW]]&lt;br /&gt;
|[[VW Hybrid Battery Packs|Passat/Golf]]&lt;br /&gt;
|Module Level&lt;br /&gt;
|8.7-36 kWh&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[MEB Batteries|MEB]]&lt;br /&gt;
|Module Level&lt;br /&gt;
|52-77 kwh &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Onboard chargers and DC/DC converters ==&lt;br /&gt;
[[File:PXL_20241020_024043714.jpg|thumb|Onboard charger]]&lt;br /&gt;
The DC/DC converter takes energy from your HV traction battery and sends it to the cars 12V systems and 12V battery. It is basically a 1:1 replacement of the former alternator. An onboard charger (OBC) takes AC current from the grid and converts it into DC current to charge the battery. These two devices are often combined in one common enclosure hence why we treat them as one.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Manufacturer&lt;br /&gt;
!Model&lt;br /&gt;
!OBC&lt;br /&gt;
!DC/DC&lt;br /&gt;
!OBC power&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
| [[Tesla Model S/X GEN2 Charger|Model S and X]] (Gen2)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|11 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]]&lt;br /&gt;
| [[Tesla Model S/X GEN3 Charger|Model S and X]] (Gen3)&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|22 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Tesla|Tesla]] &lt;br /&gt;
|[[Tesla Model S/X DC/DC Converter|Model S and X]] (DC/DC)&lt;br /&gt;
|no&lt;br /&gt;
|yes &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| [[:Category:Tesla|Tesla]]&lt;br /&gt;
| [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)|Model 3]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|11 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Chevrolet|Chevrolet]]&lt;br /&gt;
|[[Chevrolet Volt Charger|Volt]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|3.7 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Chevrolet|Chevrolet]]&lt;br /&gt;
|[[Chevrolet Volt 2 Charger|Volt 2]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|3.7 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Dilong/Cascadia Chargers|Dilong]]&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|6.6 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[Eltek chargers|Eltek]]&lt;br /&gt;
|&lt;br /&gt;
|yes&lt;br /&gt;
|no&lt;br /&gt;
|3 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Mitsubishi|Mitsubishi]]&lt;br /&gt;
|[[Mitsubishi Outlander DCDC OBC|Outlander / iMiev]]&lt;br /&gt;
|yes&lt;br /&gt;
|yes &lt;br /&gt;
|3.3 kW&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:MG|MG]]&lt;br /&gt;
|[[MG ZS Charger|ZS / MG4 / MG5]] &lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|6.6 - 11 kW&lt;br /&gt;
|}&lt;br /&gt;
There are more chargers under investigation, only the proven working ones are listed here. See our [[:Category:Charger|charger listing]] for more.&lt;br /&gt;
&lt;br /&gt;
== Rapid Charging==&lt;br /&gt;
[[File:Ccs-socket.jpg|thumb|CCS2 rapid charging socket]]&lt;br /&gt;
The above mentioned onboard chargers always have limited power as the space requirements and cost rise with power. To overcome this limitation modern EVs offer external access to their HV battery via a so called [[:Category:Rapid Charging|rapid charging]] port. This allows to charge the battery with a much more powerful external charger. As a bonus it also allows [[Bidirectional Charging|taking energy from the HV battery]] and powering appliances with it.&lt;br /&gt;
&lt;br /&gt;
There are 2 rapid charging protocols and 5 connector flavours world wide&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Connector&lt;br /&gt;
!Communication&lt;br /&gt;
!Prevalent countries&lt;br /&gt;
!Open Source solutions&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:ChaDeMo|CHAdeMO]]&lt;br /&gt;
|CAN&lt;br /&gt;
|Japan, world wide&lt;br /&gt;
|[[Chademo with ESP32-Chademo|ESP32]], [[Chademo With Arduino Due|Arduino,]] [[Chademo with Zombieverter|ZombieVerter]]&lt;br /&gt;
|-&lt;br /&gt;
|CCS Combo1&lt;br /&gt;
|[[Foccci|PLC]]&lt;br /&gt;
|US&lt;br /&gt;
|[[Foccci]], [[pyPLC]]&lt;br /&gt;
|-&lt;br /&gt;
|CCS Combo2&lt;br /&gt;
|[[Foccci|PLC]]&lt;br /&gt;
|Europe&lt;br /&gt;
|[[Foccci]], [[pyPLC]], [[BMW I3 Fast Charging LIM Module|I3LIM]]&lt;br /&gt;
|-&lt;br /&gt;
|NACS&lt;br /&gt;
|[[Foccci|PLC]]&lt;br /&gt;
|US&lt;br /&gt;
|[[Foccci]], [[pyPLC]]&lt;br /&gt;
|-&lt;br /&gt;
|GB/T&lt;br /&gt;
|CAN&lt;br /&gt;
|China&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Auxiliary Parts ==&lt;br /&gt;
We have now treated all the major building blocks of an EV, but there are many other components to complete the vehicle such as heaters, gear shifters and so on. We will summarize them here.&lt;br /&gt;
&lt;br /&gt;
* [[:Category:HVJB|HV Junction Box]]&lt;br /&gt;
* [[:Category:HVAC|HVAC]] (Heating, Air conditioning)&lt;br /&gt;
* [[Vacuum Pumps]]&lt;br /&gt;
* [[:Category:Power Steering|Power Steering]]&lt;br /&gt;
* [[VCU Comparison|VCU]] (Vehicle Control Unit)&lt;br /&gt;
* [[Shift Controllers]]&lt;br /&gt;
&lt;br /&gt;
== Additional Reading ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Legalities|Legalities]] - Getting a vehicle road legal in your country&lt;br /&gt;
* [[Glossary of Terms]]&lt;br /&gt;
* [[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
* [[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
* [[Electronics Basics]] - general advice for troubleshooting electronic circuits&lt;br /&gt;
* [[I want a cheap ev conversion|cheap EV conversions]] - this entry point for the penny pinchers&lt;br /&gt;
* [[I want a powerful ev conversion|performant EV conversions]]  - where torque trumps money&lt;br /&gt;
* [[Mechanical design database]] - here you will find measurements, models, files, etc for a variety of components such as adapter plates and drive shaft flanges&lt;br /&gt;
* [[:Category:OpenInverter|Documentation of all OpenInverter Projects]]&lt;br /&gt;
* [[:Category:Tutorials|Tutorials]]&lt;br /&gt;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
&lt;br /&gt;
==Who we are==&lt;br /&gt;
There is no static team or openinverter company but here we list the most active community members with links to donation or information sites:&lt;br /&gt;
&lt;br /&gt;
*Johannes Hübner, openinverter founder and developer - [https://www.patreon.com/openinverter support on patreon] follow on [https://www.youtube.com/user/EngineersFear youtube] and [https://github.com/jsphuebner/ github]&lt;br /&gt;
*Damien Maguire, developer and most active vehicle converter - [https://evbmw.com/index.php/evbmw-webshop visit shop] [https://www.patreon.com/evbmw support on patreon] follow on [https://www.youtube.com/@Evbmw youtube] and [https://github.com/damienmaguire/ github]&lt;br /&gt;
*Tom de Bree, active member and developer - [https://github.com/Tom-evnut github] and [https://citini.com/ shop]&lt;br /&gt;
*Uwe Hennig, master of CCS - [https://www.patreon.com/uhi22 support on patreon] follow on [https://github.com/uhi22/ github]&lt;br /&gt;
*celeron55, developer - support via [https://www.paypal.com/paypalme/celeron55 paypal] follow on [https://www.youtube.com/user/celeron55 youtube] and [https://github.com/celeron55 github]&lt;br /&gt;
*Dave Fiddes, active member and developer - Follow on [https://github.com/davefiddes/ github]&lt;br /&gt;
*Arber Kramar, long term member and developer - [https://leafdriveblog.wordpress.com/ Follow on blogspot]&lt;br /&gt;
*Janosch Oppermann, active member, developer and producer - follow on [https://www.youtube.com/@foxev-content youtube]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=4498</id>
		<title>Tesla Model S/X Large Drive Unit (&quot;LDU&quot;)</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=4498"/>
		<updated>2024-04-01T14:12:54Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
[[File:Tesla LDU.jpg|alt=Tesla LDU|thumb|Tesla Large Drive Unit]]&lt;br /&gt;
The Tesla Model S/X Large Drive Unit (LDU) was the first drive unit produced by Tesla dating back to the launch of the Model S in 2012. Applications include RWD Model S &amp;amp; X, as well as performance AWD S &amp;amp; X - in both cases serving as the rear drive unit. &lt;br /&gt;
&lt;br /&gt;
=== Specs: ===&lt;br /&gt;
&lt;br /&gt;
* Weight: 291 lbs (132 kg)&lt;br /&gt;
* Input Voltage: 240-404V DC&lt;br /&gt;
* Power: 335 kW (~450HP) to 475 kW (~636 HP) depending on configuration&lt;br /&gt;
* Torque: 450 Nm (~332 ft/lb) to 650 Nm (~480 ft/lb) depending on configuration&lt;br /&gt;
* Max RPM: 18,000&lt;br /&gt;
* Gear ratio: 9.73:1&lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
[[File:LDU connection diagram.png|thumb|489x489px|LDU connection diagram|none]][[File:HV wiring.jpg|thumb|487x487px|HV wiring with precharge and main contactors|none]]&lt;br /&gt;
=== Low-Voltage ===&lt;br /&gt;
&lt;br /&gt;
==== Main I/O Plug ====&lt;br /&gt;
The main low-voltage connector is a 23-pin socket from the TE AMPSEAL family:&lt;br /&gt;
&lt;br /&gt;
* Housing (F): 770680-1&lt;br /&gt;
* Pins (F): 770520-1 (20-16 AWG)&lt;br /&gt;
&lt;br /&gt;
===== Connector Mapping/Pinout =====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;PIN NUMBER&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OEM&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OPEN SOURCE&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
|BRAKE ON N.O.&lt;br /&gt;
|BRAKE ON&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
|BRAKE OFF N.C.&lt;br /&gt;
|PRECHARGE RELAY&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;5&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;6&#039;&#039;&#039;&lt;br /&gt;
|CHG PROXIMITY&lt;br /&gt;
|MAIN CONTACTOR&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;7&#039;&#039;&#039;&lt;br /&gt;
|HVIL IN&lt;br /&gt;
|FORWARD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;8&#039;&#039;&#039;&lt;br /&gt;
|HVIL OUT&lt;br /&gt;
|REVERSE&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;9&#039;&#039;&#039;&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;10&#039;&#039;&#039;&lt;br /&gt;
|ENC A&lt;br /&gt;
|ENC A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;11&#039;&#039;&#039;&lt;br /&gt;
|GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;12&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 +5V&lt;br /&gt;
|ACCEL 5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;13&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1&lt;br /&gt;
|ACCEL INPUT&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;14&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2&lt;br /&gt;
|BRAKE TRANSDUCER&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;15&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 GND&lt;br /&gt;
|ACCEL GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;16&#039;&#039;&#039;&lt;br /&gt;
|ENC B&lt;br /&gt;
|ENC B&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;17&#039;&#039;&#039;&lt;br /&gt;
|ENC GND&lt;br /&gt;
|ENC GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;18&#039;&#039;&#039;&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;19&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;20&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;21&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 +5V&lt;br /&gt;
|CRUISE IN&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;22&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;23&#039;&#039;&#039;&lt;br /&gt;
|12V ALWAYS T30&lt;br /&gt;
|START&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Encoder Plug ====&lt;br /&gt;
A smaller 4 pin LV connector is responsible for the encoder signals. The plug is TE 444046-1; this part is EoL from TE, however the connector is [https://www.aliexpress.com/w/wholesale-444046%2525252d1.html widely available on Aliexpress].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Contactors&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Please note that the contactors you purchase *may* have polarity associated with them for the low voltage control signal.  If you have problems related to the pre-charge circuit working, or contactors behaving as not expected, check this!&lt;br /&gt;
&lt;br /&gt;
=== High-Voltage ===&lt;br /&gt;
The OEM LDU HV cables&#039; insulation OD is ~.680&amp;quot; (17.3mm) (verified for the &amp;quot;early&amp;quot; Model S units).  The HV cables are EMC shielded, and use proprietary EMC cable glands which are not available separately.  Fellten supplies custom aftermarket cable glands to fit the LDU&#039;s case and aftermarket 70mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; shielded cabling&amp;lt;ref&amp;gt;https://shop.fellten.com/shop/lduhvcg-ldu-high-voltage-cable-gland-12803#attr=&amp;lt;/ref&amp;gt;.  The early Model S LDU cables are ~44&amp;quot; (1120mm) in length.  One part No. for the cables set is 1004872-00-B.&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 05b.jpg|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|thumb|450x450px|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 03-1b.png|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|center|thumb|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
The OD of the casting where the external o-ring is located is ~1.030&amp;quot; (26.2mm).  The OEM gland nuts are plated and are often found in a corroded state.&lt;br /&gt;
&lt;br /&gt;
== Tesla Large Drive Unit Logic Board ==&lt;br /&gt;
An openinverter based control board has been made available by Damien Maguire. A &amp;quot;community edition&amp;quot; (i.e. mostly complete) version is available [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=64 here on the OI webshop], or you can have your own made from info contained in [https://github.com/damienmaguire/Tesla-Drive-Unit Damien&#039;s LDU github repo].&lt;br /&gt;
&lt;br /&gt;
This board replaces the original board that comes with the OEM Tesla drive train. As opposed to the latter, this board lets you use the drive train in the first place and allows you to fine-tune driving behaviour with the usual set of openinverter parameters. It does not restrict you in power output or regen input.&lt;br /&gt;
&lt;br /&gt;
You can fully control the board via CAN or via a set of digital and analog inputs.&lt;br /&gt;
&lt;br /&gt;
=== Application Info ===&lt;br /&gt;
If you buy the board from the openinverter shop it comes programmed with a recent software version. Please check [https://github.com/jsphuebner/stm32-sine/releases github] for recent software releases. In addition the board comes with a set of parameters appropriate to run the Tesla LDU. So it will work out of the box. Parameters that must not be changed are hidden to eliminate sources of error.&lt;br /&gt;
&lt;br /&gt;
You will need to solder the supplied connectors to the board. The drive unit connectors will plug right in.&lt;br /&gt;
&lt;br /&gt;
To test run your drive unit, supply the board with 12V and GND on the Ampseal connector. Also supply 12V „Forward“ to select forward direction.&lt;br /&gt;
&lt;br /&gt;
Supply inverter with some high voltage. For first tests it is recommended to put a large resistor/heating element/kettle in series.&lt;br /&gt;
&lt;br /&gt;
You can start in manual mode using the button on the web interface and enter like 1Hz for „Fslipspnt“ and some value between 10-50 for „ampnom“ to see if the motor spins up. Be careful because manual mode does not enforce a motor speed limit! However, „Fslipspnt“ sets the base speed requested of the motor. Setting it to 1Hz will spin the motor very slowly. Setting it to 5, 10, or 15Hz will spin it progressively faster. For any given speed you will need to experiment with „ampnom“ to find a happy place where enough current is allowed to flow but not too much. Finding a good set of values should make your motor spin reasonably smoothly.  Also check the „Boost“ as it may require an increased value of 5000-10000.&lt;br /&gt;
&lt;br /&gt;
You may also set parameter „udcsw“ and „udcmin“ to 0 and start drive mode by pulsing 12V on „Start“. Then connect a pot between 5V, GND and „Pot“ (wiper). This will also spin the motor AND enforce a speed limit.&lt;br /&gt;
&lt;br /&gt;
By default the inverter is controlled as above - by using digital I/O and directly connecting an accelerator pedal. However, it is also possible to control it directly over CAN: [[CAN communication]]&lt;br /&gt;
&lt;br /&gt;
CAN control could be used to control the inverter via an external VCU such as the Zombie (not yet supported).&lt;br /&gt;
&lt;br /&gt;
==== Additional Resources ====&lt;br /&gt;
[https://openinverter.org/parameters/view.html?id=16 Parameters]&lt;br /&gt;
&lt;br /&gt;
[[Tesla Setup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Tuning and Parameters ==&lt;br /&gt;
There are several tuning threads and sets of shared parameters on the Open Inverter Forum.  The two most useful collections are: [https://openinverter.org/forum/viewtopic.php?t=195&amp;amp;hilit=parameters Original Parameter Sharing Thread] and the [https://openinverter.org/forum/viewtopic.php?t=126 Tuning Discussion Thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tuning guide [https://openinverter.org/forum/viewtopic.php?p=15385#p15385 here] has lots of useful information regarding the impact of various parameters on the LDU.&lt;br /&gt;
&lt;br /&gt;
The main Open Inverter parameter definition page is located [[Parameters|here]].&lt;br /&gt;
&lt;br /&gt;
== Failure Modes ==&lt;br /&gt;
&lt;br /&gt;
=== Encoder Issues ===&lt;br /&gt;
It is not uncommon to have issues with the encoder on these drive units. The encoder is connected via a 4 wire cable from the 23 pin external connector of the drive unit to the encoder which is situated on the opposite side of the drive unit. The biggest sign of encoder problems is the motor &amp;quot;bucking&amp;quot; back and forth and not wanting to spin properly in the requested direction. It may spin the direction you&#039;ve asked for but roughly and with great trouble. This situation needs to be corrected. There are a number of things that could be wrong:&lt;br /&gt;
&lt;br /&gt;
# The wires may be broken. You should attempt a continuity check of each of the wires.&lt;br /&gt;
# The encoder signals may be backward. There are two channels - A and B. They must be presented to the inverter in the proper order. If this is in doubt, try swapping them.&lt;br /&gt;
# One of the encoder signals may be missing. As above, there should always be two channels. They&#039;re &amp;quot;quadrature&amp;quot; which means that they fire 90 degrees apart.&lt;br /&gt;
&lt;br /&gt;
To check the encoder signals you should have either a logic analyzer or an oscilloscope. Both come in a wide range of prices. The encoder signal is not particularly fast, especially when the motor is not spinning that fast. As such, even cheap test equipment can be adequate. You may find that there is no particularly good place to connect to in order to read the encoder signals. But, there does exist a reasonable place - right at the 20 pin connector on the LDU board where the 23 pin external connector&#039;s wires are routed. If your logic analyzer or oscilloscope has little grabber adapters you can do something like in this picture:&lt;br /&gt;
[[File:ClipsOnPins-LDUEncoder.jpg|frame]]&lt;br /&gt;
&lt;br /&gt;
The pins on this connector are numbered starting with 1 at the far right and going more positive toward the left until you get to pin 20.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin Number&lt;br /&gt;
!Function&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Encoder 5V Source&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Encoder A Channel&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Encoder B Channel&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Encoder Ground&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, in the picture, channel 0 is connected to encoder 5v (to monitor that voltage is properly there), channel 1 is connected to the A channel of the encoder, channel 2 is connected to the B encoder channel, and scope ground is connected to the encoder ground wire. This allows for monitoring all of the relevant signals. But, keep in mind not to short any pins while doing this. Very fine probes will be needed and extreme caution not to clip two pins together. The clips/grabbers in this picture are from a Saleae Logic Pro 8. This is *NOT* your cheapest option for monitoring encoder signals but does work very well. It also doubles as a 50Mhz oscilloscope which can be handy. Cheaper options (including knock offs of Saleae Logic) do exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a picture of what it may look like when one encoder signal is missing:&lt;br /&gt;
[[File:Logic Encoder1.png|center|frame|Note how Channel 1 shows an encoder signal but Channel 2 looks completely flat. This should not occur. If one is showing a signal, so should the other.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another good way to check the encoder is to use the steps to enter manual mode but do not set &amp;quot;Fslipspnt&amp;quot; nor &amp;quot;ampnom&amp;quot;. You need to not be in &amp;quot;Off&amp;quot; mode. In Off mode the speed and turns values do not update in the spot values. But, in manual mode they do. So, enter manual mode without asking for any speed, then turn the motor. With the motor spinning you should see some position feedback in the form of a non-zero speed value and the turns value should increment. If these things do not reliably occur then you may still be having encoder problems. If they do occur, still check to ensure that your A and B channels are the right way around.&lt;br /&gt;
&lt;br /&gt;
=== Internal Coolant Leaks ===&lt;br /&gt;
The Tesla LDU is famous for springing a leak on the motor side. Right there at the inlet there is a seal to the motor shaft. It fails then coolant starts to seep into the motor itself. This rusts the hell out of the motor internally until so much sludge builds up that it looks like a mud pie. Obviously, that is less than ideal. One way to check for this sort of thing is to go to the motor side and remove the one bolt that holds the encoder into the motor housing. If the encoder is soaking wet inside or looks like there is a slurry of liquid poo in the motor then there is bad news.&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure if there is any good pathway from the motor leak to the inverter so they could be two separate issues. In fact, having taken one apart, I guess that&#039;s almost certainly the case. But, the inverter has coolant running to it as well.&lt;br /&gt;
&lt;br /&gt;
Anyway, still check the encoder because that part is famous for leaking too and it ruins the motor.&lt;br /&gt;
&lt;br /&gt;
== Other considerations ==&lt;br /&gt;
The motor itself will run as well in the reverse direction as in the forward direction. However if you are running the gearbox integrated with the drive unit in reverse you will want to replace the gearbox&#039;s oil pump with a reverse oil pump. These can be found on ZeroEV. [https://zero-ev.co.uk/product/tesla-large-drive-unit-replacement-reverse-drive-oil-pump/?v=3a52f3c22ed6]&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Tesla]] [[Category:Motor]] [[Category:Inverter]] [[Category:Gearbox]]&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CAD ==&lt;br /&gt;
An amazing-quality solid model of this drive unit has been [https://grabcad.com/library/tesla-rear-drive-unit-1 made available on GrabCAD] by Winston Jennings.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=4497</id>
		<title>Tesla Model S/X Large Drive Unit (&quot;LDU&quot;)</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Model_S/X_Large_Drive_Unit_(%22LDU%22)&amp;diff=4497"/>
		<updated>2024-04-01T14:10:39Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Add links to LDU specific tuning guides&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
[[File:Tesla LDU.jpg|alt=Tesla LDU|thumb|Tesla Large Drive Unit]]&lt;br /&gt;
The Tesla Model S/X Large Drive Unit (LDU) was the first drive unit produced by Tesla dating back to the launch of the Model S in 2012. Applications include RWD Model S &amp;amp; X, as well as performance AWD S &amp;amp; X - in both cases serving as the rear drive unit. &lt;br /&gt;
&lt;br /&gt;
=== Specs: ===&lt;br /&gt;
&lt;br /&gt;
* Weight: 291 lbs (132 kg)&lt;br /&gt;
* Input Voltage: 240-404V DC&lt;br /&gt;
* Power: 335 kW (~450HP) to 475 kW (~636 HP) depending on configuration&lt;br /&gt;
* Torque: 450 Nm (~332 ft/lb) to 650 Nm (~480 ft/lb) depending on configuration&lt;br /&gt;
* Max RPM: 18,000&lt;br /&gt;
* Gear ratio: 9.73:1&lt;br /&gt;
&lt;br /&gt;
== Connections ==&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
[[File:LDU connection diagram.png|thumb|489x489px|LDU connection diagram|none]][[File:HV wiring.jpg|thumb|487x487px|HV wiring with precharge and main contactors|none]]&lt;br /&gt;
=== Low-Voltage ===&lt;br /&gt;
&lt;br /&gt;
==== Main I/O Plug ====&lt;br /&gt;
The main low-voltage connector is a 23-pin socket from the TE AMPSEAL family:&lt;br /&gt;
&lt;br /&gt;
* Housing (F): 770680-1&lt;br /&gt;
* Pins (F): 770520-1 (20-16 AWG)&lt;br /&gt;
&lt;br /&gt;
===== Connector Mapping/Pinout =====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;PIN NUMBER&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OEM&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;OPEN SOURCE&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;1&#039;&#039;&#039;&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|IGN +12V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
|BRAKE ON N.O.&lt;br /&gt;
|BRAKE ON&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;3&#039;&#039;&#039;&lt;br /&gt;
|BRAKE OFF N.C.&lt;br /&gt;
|PRECHARGE RELAY&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;4&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|CAN HIGH&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;5&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|CAN LOW&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;6&#039;&#039;&#039;&lt;br /&gt;
|CHG PROXIMITY&lt;br /&gt;
|MAIN CONTACTOR&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;7&#039;&#039;&#039;&lt;br /&gt;
|HVIL IN&lt;br /&gt;
|FORWARD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;8&#039;&#039;&#039;&lt;br /&gt;
|HVIL OUT&lt;br /&gt;
|REVERSE&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;9&#039;&#039;&#039;&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|ENC +5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;10&#039;&#039;&#039;&lt;br /&gt;
|ENC A&lt;br /&gt;
|ENC A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;11&#039;&#039;&#039;&lt;br /&gt;
|GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;12&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 +5V&lt;br /&gt;
|ACCEL 5V&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;13&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1&lt;br /&gt;
|ACCEL INPUT&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;14&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2&lt;br /&gt;
|BRAKE TRANSDUCER&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;15&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 1 GND&lt;br /&gt;
|ACCEL GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;16&#039;&#039;&#039;&lt;br /&gt;
|ENC B&lt;br /&gt;
|ENC B&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;17&#039;&#039;&#039;&lt;br /&gt;
|ENC GND&lt;br /&gt;
|ENC GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;18&#039;&#039;&#039;&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|ENC SHIELD&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;19&#039;&#039;&#039;&lt;br /&gt;
|CAN HIGH OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;20&#039;&#039;&#039;&lt;br /&gt;
|CAN LOW OUT&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;21&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 +5V&lt;br /&gt;
|CRUISE IN&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;22&#039;&#039;&#039;&lt;br /&gt;
|ACCEL 2 GND&lt;br /&gt;
|GND&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;23&#039;&#039;&#039;&lt;br /&gt;
|12V ALWAYS T30&lt;br /&gt;
|START&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Encoder Plug ====&lt;br /&gt;
A smaller 4 pin LV connector is responsible for the encoder signals. The plug is TE 444046-1; this part is EoL from TE, however the connector is [https://www.aliexpress.com/w/wholesale-444046%2525252d1.html widely available on Aliexpress].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Contactors&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Please note that the contactors you purchase *may* have polarity associated with them for the low voltage control signal.  If you have problems related to the pre-charge circuit working, or contactors behaving as not expected, check this!&lt;br /&gt;
&lt;br /&gt;
=== High-Voltage ===&lt;br /&gt;
The OEM LDU HV cables&#039; insulation OD is ~.680&amp;quot; (17.3mm) (verified for the &amp;quot;early&amp;quot; Model S units).  The HV cables are EMC shielded, and use proprietary EMC cable glands which are not available separately.  Fellten supplies custom aftermarket cable glands to fit the LDU&#039;s case and aftermarket 70mm&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; shielded cabling&amp;lt;ref&amp;gt;https://shop.fellten.com/shop/lduhvcg-ldu-high-voltage-cable-gland-12803#attr=&amp;lt;/ref&amp;gt;.  The early Model S LDU cables are ~44&amp;quot; (1120mm) in length.  One part No. for the cables set is 1004872-00-B.&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 05b.jpg|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|thumb|450x450px|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Tesla Model S LDU HV Cables 1004872-00-B 03-1b.png|alt=Tesla Model S LDU HV Cables&#039; proprietary gland connector.|center|thumb|Tesla Model S LDU HV Cables&#039; proprietary gland connector.]]&lt;br /&gt;
The OD of the casting where the external o-ring is located is ~1.030&amp;quot; (26.2mm).  The OEM gland nuts are plated and are often found in a corroded state.&lt;br /&gt;
&lt;br /&gt;
== Tesla Large Drive Unit Logic Board ==&lt;br /&gt;
An openinverter based control board has been made available by Damien Maguire. A &amp;quot;community edition&amp;quot; (i.e. mostly complete) version is available [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=64 here on the OI webshop], or you can have your own made from info contained in [https://github.com/damienmaguire/Tesla-Drive-Unit Damien&#039;s LDU github repo].&lt;br /&gt;
&lt;br /&gt;
This board replaces the original board that comes with the OEM Tesla drive train. As opposed to the latter, this board lets you use the drive train in the first place and allows you to fine-tune driving behaviour with the usual set of openinverter parameters. It does not restrict you in power output or regen input.&lt;br /&gt;
&lt;br /&gt;
You can fully control the board via CAN or via a set of digital and analog inputs.&lt;br /&gt;
&lt;br /&gt;
=== Application Info ===&lt;br /&gt;
If you buy the board from the openinverter shop it comes programmed with a recent software version. Please check [https://github.com/jsphuebner/stm32-sine/releases github] for recent software releases. In addition the board comes with a set of parameters appropriate to run the Tesla LDU. So it will work out of the box. Parameters that must not be changed are hidden to eliminate sources of error.&lt;br /&gt;
&lt;br /&gt;
You will need to solder the supplied connectors to the board. The drive unit connectors will plug right in.&lt;br /&gt;
&lt;br /&gt;
To test run your drive unit, supply the board with 12V and GND on the Ampseal connector. Also supply 12V „Forward“ to select forward direction.&lt;br /&gt;
&lt;br /&gt;
Supply inverter with some high voltage. For first tests it is recommended to put a large resistor/heating element/kettle in series.&lt;br /&gt;
&lt;br /&gt;
You can start in manual mode using the button on the web interface and enter like 1Hz for „Fslipspnt“ and some value between 10-50 for „ampnom“ to see if the motor spins up. Be careful because manual mode does not enforce a motor speed limit! However, „Fslipspnt“ sets the base speed requested of the motor. Setting it to 1Hz will spin the motor very slowly. Setting it to 5, 10, or 15Hz will spin it progressively faster. For any given speed you will need to experiment with „ampnom“ to find a happy place where enough current is allowed to flow but not too much. Finding a good set of values should make your motor spin reasonably smoothly.  Also check the „Boost“ as it may require an increased value of 5000-10000.&lt;br /&gt;
&lt;br /&gt;
You may also set parameter „udcsw“ and „udcmin“ to 0 and start drive mode by pulsing 12V on „Start“. Then connect a pot between 5V, GND and „Pot“ (wiper). This will also spin the motor AND enforce a speed limit.&lt;br /&gt;
&lt;br /&gt;
By default the inverter is controlled as above - by using digital I/O and directly connecting an accelerator pedal. However, it is also possible to control it directly over CAN: [[CAN communication]]&lt;br /&gt;
&lt;br /&gt;
CAN control could be used to control the inverter via an external VCU such as the Zombie (not yet supported).&lt;br /&gt;
&lt;br /&gt;
==== Additional Resources ====&lt;br /&gt;
[https://openinverter.org/parameters/view.html?id=16 Parameters]&lt;br /&gt;
&lt;br /&gt;
[[Tesla Setup FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Tuning and Parameters ==&lt;br /&gt;
There are several tuning threads and sets of shared parameters on the Open Inverter Forum.  The two most useful collections are: [https://openinverter.org/forum/viewtopic.php?t=195&amp;amp;hilit=parameters Original Parameter Sharing Thread] and the [https://openinverter.org/forum/viewtopic.php?t=126 Tuning Discussion Thread].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The tuning guide [https://openinverter.org/forum/viewtopic.php?p=15385#p15385 here] has lots of useful information regarding the impact of various parameters on the LDU.&lt;br /&gt;
&lt;br /&gt;
== Failure Modes ==&lt;br /&gt;
&lt;br /&gt;
=== Encoder Issues ===&lt;br /&gt;
It is not uncommon to have issues with the encoder on these drive units. The encoder is connected via a 4 wire cable from the 23 pin external connector of the drive unit to the encoder which is situated on the opposite side of the drive unit. The biggest sign of encoder problems is the motor &amp;quot;bucking&amp;quot; back and forth and not wanting to spin properly in the requested direction. It may spin the direction you&#039;ve asked for but roughly and with great trouble. This situation needs to be corrected. There are a number of things that could be wrong:&lt;br /&gt;
&lt;br /&gt;
# The wires may be broken. You should attempt a continuity check of each of the wires.&lt;br /&gt;
# The encoder signals may be backward. There are two channels - A and B. They must be presented to the inverter in the proper order. If this is in doubt, try swapping them.&lt;br /&gt;
# One of the encoder signals may be missing. As above, there should always be two channels. They&#039;re &amp;quot;quadrature&amp;quot; which means that they fire 90 degrees apart.&lt;br /&gt;
&lt;br /&gt;
To check the encoder signals you should have either a logic analyzer or an oscilloscope. Both come in a wide range of prices. The encoder signal is not particularly fast, especially when the motor is not spinning that fast. As such, even cheap test equipment can be adequate. You may find that there is no particularly good place to connect to in order to read the encoder signals. But, there does exist a reasonable place - right at the 20 pin connector on the LDU board where the 23 pin external connector&#039;s wires are routed. If your logic analyzer or oscilloscope has little grabber adapters you can do something like in this picture:&lt;br /&gt;
[[File:ClipsOnPins-LDUEncoder.jpg|frame]]&lt;br /&gt;
&lt;br /&gt;
The pins on this connector are numbered starting with 1 at the far right and going more positive toward the left until you get to pin 20.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Pin Number&lt;br /&gt;
!Function&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Encoder 5V Source&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|Encoder A Channel&lt;br /&gt;
|-&lt;br /&gt;
|7&lt;br /&gt;
|Encoder B Channel&lt;br /&gt;
|-&lt;br /&gt;
|8&lt;br /&gt;
|Encoder Ground&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, in the picture, channel 0 is connected to encoder 5v (to monitor that voltage is properly there), channel 1 is connected to the A channel of the encoder, channel 2 is connected to the B encoder channel, and scope ground is connected to the encoder ground wire. This allows for monitoring all of the relevant signals. But, keep in mind not to short any pins while doing this. Very fine probes will be needed and extreme caution not to clip two pins together. The clips/grabbers in this picture are from a Saleae Logic Pro 8. This is *NOT* your cheapest option for monitoring encoder signals but does work very well. It also doubles as a 50Mhz oscilloscope which can be handy. Cheaper options (including knock offs of Saleae Logic) do exist.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a picture of what it may look like when one encoder signal is missing:&lt;br /&gt;
[[File:Logic Encoder1.png|center|frame|Note how Channel 1 shows an encoder signal but Channel 2 looks completely flat. This should not occur. If one is showing a signal, so should the other.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another good way to check the encoder is to use the steps to enter manual mode but do not set &amp;quot;Fslipspnt&amp;quot; nor &amp;quot;ampnom&amp;quot;. You need to not be in &amp;quot;Off&amp;quot; mode. In Off mode the speed and turns values do not update in the spot values. But, in manual mode they do. So, enter manual mode without asking for any speed, then turn the motor. With the motor spinning you should see some position feedback in the form of a non-zero speed value and the turns value should increment. If these things do not reliably occur then you may still be having encoder problems. If they do occur, still check to ensure that your A and B channels are the right way around.&lt;br /&gt;
&lt;br /&gt;
=== Internal Coolant Leaks ===&lt;br /&gt;
The Tesla LDU is famous for springing a leak on the motor side. Right there at the inlet there is a seal to the motor shaft. It fails then coolant starts to seep into the motor itself. This rusts the hell out of the motor internally until so much sludge builds up that it looks like a mud pie. Obviously, that is less than ideal. One way to check for this sort of thing is to go to the motor side and remove the one bolt that holds the encoder into the motor housing. If the encoder is soaking wet inside or looks like there is a slurry of liquid poo in the motor then there is bad news.&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure if there is any good pathway from the motor leak to the inverter so they could be two separate issues. In fact, having taken one apart, I guess that&#039;s almost certainly the case. But, the inverter has coolant running to it as well.&lt;br /&gt;
&lt;br /&gt;
Anyway, still check the encoder because that part is famous for leaking too and it ruins the motor.&lt;br /&gt;
&lt;br /&gt;
== Other considerations ==&lt;br /&gt;
The motor itself will run as well in the reverse direction as in the forward direction. However if you are running the gearbox integrated with the drive unit in reverse you will want to replace the gearbox&#039;s oil pump with a reverse oil pump. These can be found on ZeroEV. [https://zero-ev.co.uk/product/tesla-large-drive-unit-replacement-reverse-drive-oil-pump/?v=3a52f3c22ed6]&lt;br /&gt;
&lt;br /&gt;
[[Category:OEM]] [[Category:Tesla]] [[Category:Motor]] [[Category:Inverter]] [[Category:Gearbox]]&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CAD ==&lt;br /&gt;
An amazing-quality solid model of this drive unit has been [https://grabcad.com/library/tesla-rear-drive-unit-1 made available on GrabCAD] by Winston Jennings.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Web_Interface&amp;diff=4171</id>
		<title>Web Interface</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Web_Interface&amp;diff=4171"/>
		<updated>2023-10-24T12:32:38Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Clarified instructions for connecting to the web interface for the first time.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The web interface does all the tedious serial commands in the background and allows you to control, parametrize and monitor your inverter via Wifi!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connecting to the Web Interface:&#039;&#039;&#039; Disconnect your device (phone, laptop, etc) from any other wifi networks.  Connect the Wifi module to the inverter (if it is not already).  On your device, connect to the &amp;quot;inverterX&amp;quot; wifi network with the supplied credentials (default PW is inverter123) and then use a browser to go to http://192.168.4.1.  &lt;br /&gt;
&lt;br /&gt;
Once in the web interface, there are options to have the inverter connect to another wifi network and to change the inverter&#039;s wifi network name and password.  If you have multiple wifi equipped boards on your vehicle, it is highly recommended that you change their network names to make them easily identifiable (ex: inverter, charge control, VCU etc).&lt;br /&gt;
[[File:Commands.png|alt=Top section: commands|thumb|Top section: commands]]&lt;br /&gt;
&lt;br /&gt;
=== Commands ===&lt;br /&gt;
&#039;&#039;&#039;Save Parameters to Flash&#039;&#039;&#039; saves the current parameter values and the CAN message configuration onto the embedded flash. In other words, if you make changes to the latter and do not hit this button your changes will be lost at the next power cycle.&lt;br /&gt;
&lt;br /&gt;
Likewise, &#039;&#039;&#039;Restore Parameters from Flash&#039;&#039;&#039; will do the opposite, it will load the last saved parameter values and CAN configuration from flash memory in case you messed up your configuration&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Restore Defaults&#039;&#039;&#039; = factory reset. You can see the default values in the table below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Start Inverter in manual Mode&#039;&#039;&#039; Just turns on the PWM. It takes parameters ampmin and flslipspnt and runs the motor closed loop. It does NOT close the DC switch, ignores throttle input and does not check for various start conditions. Careful!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Stop Inverter&#039;&#039;&#039; - just that&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display Error Memory&#039;&#039;&#039; - shows the latest 4 errors. Errors are only reset by power cycling. See: [[Errors]] for list of errors.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Reset CAN Mapping&#039;&#039;&#039; - Deletes all CAN configuration&lt;br /&gt;
[[File:Parameters.png|alt=Parameter section|thumb|Parameter section]]&lt;br /&gt;
&#039;&#039;&#039;Send Custom Command&#039;&#039;&#039; - since not all terminal commands are brought out to the web interface you can enter them here. Like adding the hidden flag to channels&lt;br /&gt;
&lt;br /&gt;
=== Update ===&lt;br /&gt;
Allows you to upload a firmware update in form of a *.bin file that is then transferred to the STM32. Make sure you&#039;re not running a plot or a gauge or are continuously refreshing while doing this! If you upload any other, non-bin file it will be placed into the ESP8266 flash memory. You can make use of that to modify the web interface itself.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
The &#039;&#039;&#039;Download Parameter File&#039;&#039;&#039; link lets you save your currently displayed [[Parameters|configuration]] as a human-readable JSON file. Likewise you can use the &#039;&#039;&#039;Upload&#039;&#039;&#039; field below it to upload an earlier saved file or one that you found on the internet. Before doing this, open the file in a text editor and make sure you remove any parameter that is custom to your application.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Messages&#039;&#039;&#039; displays the inverters response to the last command.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Toggle Category Visibility&#039;&#039;&#039; collapses or or expands the categories to un-clutter your display.&lt;br /&gt;
&lt;br /&gt;
Numeric parameters have an up/down type numeric box. When you type a value and press enter or go to a different box the value will be sent to the inverter. Enum-parameters have a dropdown list. As soon as you select something new it will be sent to the inverter.&lt;br /&gt;
&lt;br /&gt;
Parameters can not be set to values outside of the Min/Max range. The resolution of the parameters is roughly 0.05.&lt;br /&gt;
[[File:Spot values.png|alt=Spot values|thumb|Spot values]]&lt;br /&gt;
&lt;br /&gt;
=== Spot values ===&lt;br /&gt;
This table lets you select values for plotting, gauging or mapping to CAN. You can also check the &#039;&#039;&#039;Auto&#039;&#039;&#039; box next to the refresh button to continuously refresh the values.&lt;br /&gt;
&lt;br /&gt;
You can select values by clicking the &amp;quot;l&amp;quot; checkbox and then hit &#039;&#039;&#039;Show Gauges&#039;&#039;&#039; to open a new window where the specified values are constantly polled and displayed. Likewise you can hit the &#039;&#039;&#039;Show Data Logger&#039;&#039;&#039; button to generate a CSV logfile from selected values.&lt;br /&gt;
&lt;br /&gt;
You can select &amp;quot;l&amp;quot; or &amp;quot;r&amp;quot; to plot values on the left or right axis of the plot discussed next.&lt;br /&gt;
&lt;br /&gt;
Finally you can enter a CAN specification (see [[CAN communication]]) to map a value to or read it from the CAN bus. Pro tip: you can only map each value once. If you want to map it more than once use the &#039;&#039;&#039;Send Custom Command&#039;&#039;&#039; function with the &amp;quot;can&amp;quot; command!&lt;br /&gt;
&lt;br /&gt;
Hitting &#039;&#039;&#039;Unmap&#039;&#039;&#039; will remove the given value from all CAN messages.&lt;br /&gt;
[[File:Plot.png|alt=Signal Plotter|thumb|Signal Plotter]]&lt;br /&gt;
&lt;br /&gt;
=== Plot ===&lt;br /&gt;
Finally maybe the best part, the plotting facility. It lets you plot as many signals as you want at the appropriate update rate. The fewer signals you select, the higher the update rate. The ESP8266 communicates with the STM32 via a 1 MBit/s serial link. So with the highest burst length you can plot one signal at roughly a 100µs time resolution. That is in real time. You can easily see the sine wave character of the current sensors that way.&lt;br /&gt;
[[File:High speed plot.png|alt=High speed plot of resolver signals|thumb|High speed plot of resolver signals]]&lt;br /&gt;
The &#039;&#039;&#039;Limit Data points to&#039;&#039;&#039; field lets you specify how many data points per signal are displayed in the plot a once. It is limited to 10000 points. The &#039;&#039;&#039;Burst Length&#039;&#039;&#039; lets you specify how many data points are obtained from the inverter at each polling cycle. So for long term plotting you would limit the data points to 10000 and have a burst length of 1. This would fit roughly 40 minutes of data in one screen (one poll cycle takes roughly 250ms). For real time plots you would limit to 1000 points and poll 1000 points. It will look like a slowly updating scope and give you about 100ms of data.&lt;br /&gt;
[[Category:OpenInverter]] [[Category:Tutorial]] [[Category:CAN]]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Nissan_Leaf_Motors&amp;diff=4059</id>
		<title>Nissan Leaf Motors</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Nissan_Leaf_Motors&amp;diff=4059"/>
		<updated>2023-08-20T23:14:26Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Added information/clarification regarding Leaf generations&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Nissan EM&#039;&#039;&#039; motor is an electrical motor series manufactured by Nissan Motors. It is used in a variety of vehicles, mainly the Nissan Leaf. They are 3-phase AC synchronous power electric motors, utilizing interior neodymium permanent magnets.&lt;br /&gt;
&lt;br /&gt;
=== Significant Community Projects ===&lt;br /&gt;
Openinverter development on the Nissan Leaf platform is fairly mature. The Openinverter forum section dedicated to Nissan components is [https://openinverter.org/forum/viewforum.php?f=4 here]. While the Leaf has only 2 official generations (as of 2023), the forums tend to refer to ‘gen1’, gen2’ and ‘gen3’ packages. &lt;br /&gt;
&lt;br /&gt;
The official 1st generation Leaf (2010-2017) included two different motor packages, which the forum refers to as gen1 and gen2.  Gen1 refers to the EM61 package. Gen2 refers to the early EM57 package.  &lt;br /&gt;
&lt;br /&gt;
The forum uses Gen3 to refer to the late EM57 package&amp;lt;ref&amp;gt;https://openinverter.org/forum/viewtopic.php?p=15702#p15702&amp;lt;/ref&amp;gt;, found in the official 2nd generation Leaf (2018+). The EM57 packages are visually identical, but gen2 has a silver upper case and gen3 has a black upper case. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The EM47 platform (used in \Nissan&#039;s e-POWER lineup, which is a series hybrid platform) has received very little development as of early 2023.&lt;br /&gt;
&lt;br /&gt;
There have been a number of open source community projects based on the Nissan Leaf. These are listed, with links and proper attribution, in this section.&lt;br /&gt;
&lt;br /&gt;
* BRAT INDUSTRIES has motor couplers and adapter plates available here https://bratindustries.net/ and has opensourced an adapter plate for the EM57 motor, which can be found [[Nissan leaf motor couplers and adapter plates|here]].&lt;br /&gt;
&lt;br /&gt;
* Open inverter replacement board for gen2 inverter: [[Nissan Leaf Gen2 Board]].&lt;br /&gt;
&lt;br /&gt;
* ZombieVerter VCU can bus controller: [[ZombieVerter VCU|ZombieVerter VCU.]]&lt;br /&gt;
== EM61 ==&lt;br /&gt;
[[File:EM61.png|thumb|EM61 Dimensions ]]&lt;br /&gt;
[[File:Em61 motor.png|thumb|390x390px|em61 motor tear down|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
EM61 made its debut in 2010. It was used only in the first generation Nissan Leaf (ZE0 2010-2012). It is a stand alone IPMSM motor, with a theoretical peak power output of a 250kw+.&lt;br /&gt;
&lt;br /&gt;
Regarded as Nissan’s ‘R&amp;amp;D’ motor, due to the presence of stronger rare earth magnets. This results in a slightly higher torque output efficiency than the second generation EM57 motor.&lt;br /&gt;
&lt;br /&gt;
In the stock OEM leaf, the motor was battery and inverter limited to 80kw and made 280Nm of peak torque.&lt;br /&gt;
== EM57 ==&lt;br /&gt;
[[File:Em57.jpg|thumb|373x373px|em57 motor]]&lt;br /&gt;
The EM57 is an improvement over the first generation. It was first released with the AZE0 Nissan Leaf refresh in 2013. &lt;br /&gt;
&lt;br /&gt;
This motor features a smaller footprint, allowing for 11.7 kg of weight savings in the inverter/motor package. The motor also trades some peak torque for a more efficient power range.&lt;br /&gt;
&lt;br /&gt;
This link leads to maintenance document for resolver wiring:&lt;br /&gt;
&lt;br /&gt;
https://openinverter.org/forum/viewtopic.php?p=47467#p47467&lt;br /&gt;
&lt;br /&gt;
The EM57 utilizes a stacking architecture for the power electrons, compared to the isolated nature of the EM61 motor. Whereas the inverter and motor of the EM61 were separate units connected by cables, the EM57 is an integrated package that is bolted together.&lt;br /&gt;
&lt;br /&gt;
Nissan has continued to use the EM57 motor through multiple generation of vehicles, resulting in mechanically plug and play OEM inverter upgrades.&lt;br /&gt;
&lt;br /&gt;
Inverters currently compatible with the EM57 motor:&lt;br /&gt;
&lt;br /&gt;
* gen 2 leaf 80kw inverter&lt;br /&gt;
* gen 3 leaf 110kw inverter&lt;br /&gt;
* gen 3 leaf 160kw inverter&lt;br /&gt;
It is used in the following electric vehicles:&lt;br /&gt;
&lt;br /&gt;
* Nissan Leaf (AZE0 2013-2017)&lt;br /&gt;
* Nissan e-NV200 (2014-Present)&lt;br /&gt;
* Nissan Leaf (ZE1 40kWh, 2018-Present)&lt;br /&gt;
* Nissan Leaf (ZE1 62kWh, 2019-Present)&lt;br /&gt;
&lt;br /&gt;
It is also used in the following hybrids:&lt;br /&gt;
&lt;br /&gt;
* Nissan Note e-Power (2017-Present)&lt;br /&gt;
* Nissan Serena e-Power (2018-Present)&lt;br /&gt;
&lt;br /&gt;
=== EM57 Dimensions ===&lt;br /&gt;
The below photographs show the rough dimensions of the EM57. These photos were taken from https://www.diyelectriccar.com/threads/nissan-leaf-cad-files.203894/#post-1064439, which has more detailed information.&lt;br /&gt;
[[File:6879B701-0DB1-44B4-9051-8A35259B27B9.jpg|none|thumb|341x341px|EM57 motor. Source: https://www.diyelectriccar.com/threads/nissan-leaf-cad-files.203894/#post-1064439]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:9511A7C4-6DEB-47F1-A4AA-D0C0267F70E0.jpg|none|thumb|EM57 motor side. Source: https://www.diyelectriccar.com/threads/nissan-leaf-cad-files.203894/#post-1064439]]&lt;br /&gt;
&lt;br /&gt;
=== EM57 Plugs and connectors ===&lt;br /&gt;
The resolver plug is Yazaki 7283-8855-30 (https://www.auto-click.co.uk/7283-8855-30?search=7283-8855-30)&lt;br /&gt;
[[File:ResolverPicture.jpg|none|thumb]]&lt;br /&gt;
&lt;br /&gt;
== EM47 ==&lt;br /&gt;
The EM47 motor released in 2020 with the refreshed Nissan Note. It is only used in Nissan&#039;s e-POWER lineup, which is a series hybrid platform. It features a 40% size reduction and 30% weight reduction&lt;br /&gt;
&lt;br /&gt;
It is used in the following hybrids:&lt;br /&gt;
&lt;br /&gt;
* Nissan Note e-Power (2020-Present)&lt;br /&gt;
&lt;br /&gt;
== Citations ==&lt;br /&gt;
[[Category:Nissan]] [[Category:Motor]] [[Category:OEM]]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=CAN_communication&amp;diff=4008</id>
		<title>CAN communication</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=CAN_communication&amp;diff=4008"/>
		<updated>2023-07-18T11:54:03Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Added clarification regarding gain settins&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Revision 2 main board supports CAN communication. The CAN bus can be used for configuration and for obtaining values like voltages, input states etc. The CAN messages are configurable and can be adjusted to be compatible with existing equipment.&lt;br /&gt;
&lt;br /&gt;
Since firmware 3.75 throttle and digital inputs can be controlled via CAN.&lt;br /&gt;
&lt;br /&gt;
Be aware that all CAN mapping uses decimal numbers. So COB ID 0x123 must be entered as &#039;&#039;&#039;291&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Controlling throttle via CAN ==&lt;br /&gt;
If you want to send the throttle and regen magnitude commands via CAN rather then via analog inputs you have to set &amp;quot;potmode&amp;quot; to &amp;quot;CAN&amp;quot; (=2). Next you have to map a CAN message to pot and optionally pot2. So say you have a digital throttle that sends values from 0 to 1000 for 0 to 100% travel on CAN-Id 100 in the first two bytes.&lt;br /&gt;
* Configure potmin=0 and potmax=1000&lt;br /&gt;
* Map CAN message to pot: can rx pot 100 0 16 32&lt;br /&gt;
The last parameter, 32, tells the CAN module to apply the internal fixed point scaling.&lt;br /&gt;
&lt;br /&gt;
CAN messages must be received every 500ms, otherwise throttle times out and is set to 0.&lt;br /&gt;
&lt;br /&gt;
== Controlling Digital IO via CAN ==&lt;br /&gt;
6 signals, namely cruise, start, brake, forward, backward and bms can be controlled via CAN. The CAN message is ORed to the physical inputs so you can have mixed signals also. Digital CAN IO doesn&#039;t need to be explicitely configured, it works as soon as you map a CAN message to &amp;quot;canio&amp;quot;. &amp;quot;canio&amp;quot; is bit-encoded:&lt;br /&gt;
* Bit 0: cruise&lt;br /&gt;
* Bit 1: start&lt;br /&gt;
* Bit 2: brake&lt;br /&gt;
* Bit 3: forward&lt;br /&gt;
* Bit 4: reverse&lt;br /&gt;
* Bit 5: bms&lt;br /&gt;
So say you have a BMS that transmits an over/under voltage bit on CAN Id 200, 2nd data bit&lt;br /&gt;
 can rx canio 200 2 1 1024&lt;br /&gt;
Note the 1024x gain that shifts the bit into the correct position (5 fraction bits plus 5th data bit). In this case all other IOs remain traditional, only BMS is controlled via CAN. Note that you cannot map multiple CAN messages onto &amp;quot;canio&amp;quot; as they would overwrite each other.&lt;br /&gt;
&lt;br /&gt;
If you have a managed to mangle all 6 bits into one message, say CAN Id 300, first 6 bits the mapping is done like so&lt;br /&gt;
 can rx canio 300 0 6 32&lt;br /&gt;
The same timeout mechanism is used as for throttle control, so after 500ms with no message the CAN-mapped inputs are assumed off. Traditional inputs remain unaffected.&lt;br /&gt;
&lt;br /&gt;
== Setting and reading parameters via SDO ==&lt;br /&gt;
The abbreviation SDO is taken from the CANOpen protocol. It assigns a certain meaning to the 8 data bits of a CAN frame.&lt;br /&gt;
&lt;br /&gt;
Note that SDO semantics (cmd) were changed since version 5.20.R of the inverter firmware. Old cmd value is in ()&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Purpose&lt;br /&gt;
!CAN-Id&lt;br /&gt;
!Byte 1 (Cmd)&lt;br /&gt;
!Bytes 2-3 (Index)&lt;br /&gt;
!Byte 4 (Subindex)&lt;br /&gt;
!Bytes 5-8 (Data)&lt;br /&gt;
|-&lt;br /&gt;
|Set Value&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Set Value Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x60 (0x23)&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Get Value&lt;br /&gt;
|0x601&lt;br /&gt;
|0x40 (0x22)&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|don&#039;t care&lt;br /&gt;
|-&lt;br /&gt;
|Get Value Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x43&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Map Value TX to COB ID yyy&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x3yyy&lt;br /&gt;
|Value Index&lt;br /&gt;
|Byte 5: bit offset, Byte 6: bit length, Bytes 7,8: scaling&lt;br /&gt;
|-&lt;br /&gt;
|Map Value RX to COB ID yyy&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x4yyy&lt;br /&gt;
|Value Index&lt;br /&gt;
|Byte 5: bit offset, Byte 6: bit length, Bytes 7,8: scaling&lt;br /&gt;
|-&lt;br /&gt;
|Abort - invalid index&lt;br /&gt;
|0x581&lt;br /&gt;
|0x80&lt;br /&gt;
|Index of request&lt;br /&gt;
|Value Index&lt;br /&gt;
|Abort Code = 0x06020000&lt;br /&gt;
|-&lt;br /&gt;
|Abort - value out of range&lt;br /&gt;
|0x581&lt;br /&gt;
|0x80&lt;br /&gt;
|Index of request&lt;br /&gt;
|Value Index&lt;br /&gt;
|Abort Code = 0x06090030&lt;br /&gt;
|-&lt;br /&gt;
|Set Param&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Set Param Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x60 (0x23)&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Get Param&lt;br /&gt;
|0x601&lt;br /&gt;
|0x40 (0x22)&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|don&#039;t care&lt;br /&gt;
|-&lt;br /&gt;
|Get Param Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x43&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|Value x 32&lt;br /&gt;
|}&lt;br /&gt;
The value index must be determined by counting the output of the list command. E.g. &amp;quot;boost&amp;quot; at the very top has index 0, potnom has index 77. The indexes can change over firmware versions as new parameters are added somewhere in between.&lt;br /&gt;
&lt;br /&gt;
The Get/Set Param commands use the unique parameter identifier assigned to each savable parameter. These do not vary between firmware versions. Only savable parameters not spot values can be read and written by these commands.&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x40 0x00 0x20 0x00 0 0 0 0&amp;lt;/code&amp;gt;   Get value of &amp;quot;boost&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x23 0x00 0x20 0x01 0x80 0x0C 0 0&amp;lt;/code&amp;gt; Set &amp;quot;fweak&amp;quot; to 100Hz (0xC80=3200 because scaled by 32)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x23 0xAA 0x31 0x01 0x08 0x10 1 0&amp;lt;/code&amp;gt; Map value of fweak to COB ID 0x1AA, starting at bit 8, stretching 16 bits, scaled by 1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x40 0x10 0x20 0x0D 0 0 0 0&amp;lt;/code&amp;gt;   Get value of &amp;quot;pwmfrq&amp;quot; on any firmware version or build (0x0D = 13 from the PARAM_ENTRY() for &amp;quot;pwmfrq&amp;quot; in param_prj.h)&lt;br /&gt;
&lt;br /&gt;
== Mapping values to arbitrary CAN messages ==&lt;br /&gt;
Values can be mapped into a certain bit range of the 64 payload bits of a CAN message. They can either be read from the message or sent via a message. To do so enter&lt;br /&gt;
 can tx udc 123 0 16 10&lt;br /&gt;
This maps the value of udc to a CAN message with id 123 bits 0..15 (start at bit 0, span over 16 bits) with a gain of 10.&lt;br /&gt;
 can tx din_forward 123 24 1 1&lt;br /&gt;
would map the pin state of the forward input to bit 24 of CAN message with id 123.&lt;br /&gt;
&lt;br /&gt;
If you want to clear all messages, type&lt;br /&gt;
 can clear&lt;br /&gt;
If you want to remove only a specific signal (starting version 4.18.R) type&lt;br /&gt;
 can del &amp;lt;name&amp;gt;&lt;br /&gt;
To save your can map simply type &amp;quot;save&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1468 idcmin, idcmax example]&lt;br /&gt;
&lt;br /&gt;
=== Mapping Values through the web interface ===&lt;br /&gt;
Value can also be mapped through the web interface.&lt;br /&gt;
&lt;br /&gt;
[[File:Spot values.png|alt=Spot values|thumb|Spot values]]&lt;br /&gt;
&lt;br /&gt;
* CAN Id&lt;br /&gt;
** This is the Can Id assigned to the message.  Remember, all CAN mapping uses decimal numbers. So ID 0x123 must be entered as &#039;&#039;&#039;291.&#039;&#039;&#039;  Here is a converter to help: https://www.rapidtables.com/convert/number/hex-to-decimal.html&lt;br /&gt;
* Position&lt;br /&gt;
** This is where in the 64 bit length of the CAN message the data should start.&lt;br /&gt;
* Bits&lt;br /&gt;
** How many bits are assigned to send the data.&lt;br /&gt;
* Gain&lt;br /&gt;
** This applies the internal scaling.  Pre FW v5.27 this is fixed point (integers only).  FW v5.27 and later is floating point (decimals allowed).&lt;br /&gt;
** Your gain needs to be opposite of the receiving end&#039;s scaling.  For example, the Speedhut EV gauges list a scaling of 0.1, meaning they apply that to incoming messages, so you need to transmit with a gain of 10.&lt;br /&gt;
* Map to CAN&lt;br /&gt;
** TX to tell the control board to transmit the data onto the CANBUS&lt;br /&gt;
** RX to tell the control board to expect to receive this data from the CANBUS&lt;br /&gt;
&lt;br /&gt;
=== Limits ===&lt;br /&gt;
* A maximum of 10 messages can be defined&lt;br /&gt;
* Per message a maximum of 8 values can be mapped&lt;br /&gt;
* a value can not span across the 32-bit boundary, i.e. it must be fully contained in the first or second 32 bits of the message. E.g. &amp;quot;can tx udc 123 16 32 10&amp;quot; is not allowed&lt;br /&gt;
* A value can span maximum 32 bits&lt;br /&gt;
&lt;br /&gt;
== [[wikipedia:Endianness|Endianness]] ==&lt;br /&gt;
CAN messages sent to, or received from the inverter are Little-endian.&lt;br /&gt;
&lt;br /&gt;
If you are sending or receiving messages containing multi-byte values then the byte order must be taken into account.&lt;br /&gt;
&lt;br /&gt;
== PC Tool ==&lt;br /&gt;
A PC based tool called [https://pypi.org/project/openinverter-can-tool/ openinverter_can_tool] exists to query and control openinverter systems over CAN bus with a supported CAN interface adapter.&lt;br /&gt;
&lt;br /&gt;
[[Category:CAN]] [[Category:OpenInverter]]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=CAN_communication&amp;diff=4006</id>
		<title>CAN communication</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=CAN_communication&amp;diff=4006"/>
		<updated>2023-07-18T11:49:49Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Added reminder that IDs are input in decimal, not hex&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Revision 2 main board supports CAN communication. The CAN bus can be used for configuration and for obtaining values like voltages, input states etc. The CAN messages are configurable and can be adjusted to be compatible with existing equipment.&lt;br /&gt;
&lt;br /&gt;
Since firmware 3.75 throttle and digital inputs can be controlled via CAN.&lt;br /&gt;
&lt;br /&gt;
Be aware that all CAN mapping uses decimal numbers. So COB ID 0x123 must be entered as &#039;&#039;&#039;291&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Controlling throttle via CAN ==&lt;br /&gt;
If you want to send the throttle and regen magnitude commands via CAN rather then via analog inputs you have to set &amp;quot;potmode&amp;quot; to &amp;quot;CAN&amp;quot; (=2). Next you have to map a CAN message to pot and optionally pot2. So say you have a digital throttle that sends values from 0 to 1000 for 0 to 100% travel on CAN-Id 100 in the first two bytes.&lt;br /&gt;
* Configure potmin=0 and potmax=1000&lt;br /&gt;
* Map CAN message to pot: can rx pot 100 0 16 32&lt;br /&gt;
The last parameter, 32, tells the CAN module to apply the internal fixed point scaling.&lt;br /&gt;
&lt;br /&gt;
CAN messages must be received every 500ms, otherwise throttle times out and is set to 0.&lt;br /&gt;
&lt;br /&gt;
== Controlling Digital IO via CAN ==&lt;br /&gt;
6 signals, namely cruise, start, brake, forward, backward and bms can be controlled via CAN. The CAN message is ORed to the physical inputs so you can have mixed signals also. Digital CAN IO doesn&#039;t need to be explicitely configured, it works as soon as you map a CAN message to &amp;quot;canio&amp;quot;. &amp;quot;canio&amp;quot; is bit-encoded:&lt;br /&gt;
* Bit 0: cruise&lt;br /&gt;
* Bit 1: start&lt;br /&gt;
* Bit 2: brake&lt;br /&gt;
* Bit 3: forward&lt;br /&gt;
* Bit 4: reverse&lt;br /&gt;
* Bit 5: bms&lt;br /&gt;
So say you have a BMS that transmits an over/under voltage bit on CAN Id 200, 2nd data bit&lt;br /&gt;
 can rx canio 200 2 1 1024&lt;br /&gt;
Note the 1024x gain that shifts the bit into the correct position (5 fraction bits plus 5th data bit). In this case all other IOs remain traditional, only BMS is controlled via CAN. Note that you cannot map multiple CAN messages onto &amp;quot;canio&amp;quot; as they would overwrite each other.&lt;br /&gt;
&lt;br /&gt;
If you have a managed to mangle all 6 bits into one message, say CAN Id 300, first 6 bits the mapping is done like so&lt;br /&gt;
 can rx canio 300 0 6 32&lt;br /&gt;
The same timeout mechanism is used as for throttle control, so after 500ms with no message the CAN-mapped inputs are assumed off. Traditional inputs remain unaffected.&lt;br /&gt;
&lt;br /&gt;
== Setting and reading parameters via SDO ==&lt;br /&gt;
The abbreviation SDO is taken from the CANOpen protocol. It assigns a certain meaning to the 8 data bits of a CAN frame.&lt;br /&gt;
&lt;br /&gt;
Note that SDO semantics (cmd) were changed since version 5.20.R of the inverter firmware. Old cmd value is in ()&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Purpose&lt;br /&gt;
!CAN-Id&lt;br /&gt;
!Byte 1 (Cmd)&lt;br /&gt;
!Bytes 2-3 (Index)&lt;br /&gt;
!Byte 4 (Subindex)&lt;br /&gt;
!Bytes 5-8 (Data)&lt;br /&gt;
|-&lt;br /&gt;
|Set Value&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Set Value Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x60 (0x23)&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Get Value&lt;br /&gt;
|0x601&lt;br /&gt;
|0x40 (0x22)&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|don&#039;t care&lt;br /&gt;
|-&lt;br /&gt;
|Get Value Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x43&lt;br /&gt;
|0x2000&lt;br /&gt;
|Value Index&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Map Value TX to COB ID yyy&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x3yyy&lt;br /&gt;
|Value Index&lt;br /&gt;
|Byte 5: bit offset, Byte 6: bit length, Bytes 7,8: scaling&lt;br /&gt;
|-&lt;br /&gt;
|Map Value RX to COB ID yyy&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x4yyy&lt;br /&gt;
|Value Index&lt;br /&gt;
|Byte 5: bit offset, Byte 6: bit length, Bytes 7,8: scaling&lt;br /&gt;
|-&lt;br /&gt;
|Abort - invalid index&lt;br /&gt;
|0x581&lt;br /&gt;
|0x80&lt;br /&gt;
|Index of request&lt;br /&gt;
|Value Index&lt;br /&gt;
|Abort Code = 0x06020000&lt;br /&gt;
|-&lt;br /&gt;
|Abort - value out of range&lt;br /&gt;
|0x581&lt;br /&gt;
|0x80&lt;br /&gt;
|Index of request&lt;br /&gt;
|Value Index&lt;br /&gt;
|Abort Code = 0x06090030&lt;br /&gt;
|-&lt;br /&gt;
|Set Param&lt;br /&gt;
|0x601&lt;br /&gt;
|0x23 (0x40)&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Set Param Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x60 (0x23)&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|Value x 32&lt;br /&gt;
|-&lt;br /&gt;
|Get Param&lt;br /&gt;
|0x601&lt;br /&gt;
|0x40 (0x22)&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|don&#039;t care&lt;br /&gt;
|-&lt;br /&gt;
|Get Param Reply&lt;br /&gt;
|0x581&lt;br /&gt;
|0x43&lt;br /&gt;
|0x21xx xx=MSB UID&lt;br /&gt;
|Param UID LSB&lt;br /&gt;
|Value x 32&lt;br /&gt;
|}&lt;br /&gt;
The value index must be determined by counting the output of the list command. E.g. &amp;quot;boost&amp;quot; at the very top has index 0, potnom has index 77. The indexes can change over firmware versions as new parameters are added somewhere in between.&lt;br /&gt;
&lt;br /&gt;
The Get/Set Param commands use the unique parameter identifier assigned to each savable parameter. These do not vary between firmware versions. Only savable parameters not spot values can be read and written by these commands.&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x40 0x00 0x20 0x00 0 0 0 0&amp;lt;/code&amp;gt;   Get value of &amp;quot;boost&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x23 0x00 0x20 0x01 0x80 0x0C 0 0&amp;lt;/code&amp;gt; Set &amp;quot;fweak&amp;quot; to 100Hz (0xC80=3200 because scaled by 32)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x23 0xAA 0x31 0x01 0x08 0x10 1 0&amp;lt;/code&amp;gt; Map value of fweak to COB ID 0x1AA, starting at bit 8, stretching 16 bits, scaled by 1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;0x601 # 0x40 0x10 0x20 0x0D 0 0 0 0&amp;lt;/code&amp;gt;   Get value of &amp;quot;pwmfrq&amp;quot; on any firmware version or build (0x0D = 13 from the PARAM_ENTRY() for &amp;quot;pwmfrq&amp;quot; in param_prj.h)&lt;br /&gt;
&lt;br /&gt;
== Mapping values to arbitrary CAN messages ==&lt;br /&gt;
Values can be mapped into a certain bit range of the 64 payload bits of a CAN message. They can either be read from the message or sent via a message. To do so enter&lt;br /&gt;
 can tx udc 123 0 16 10&lt;br /&gt;
This maps the value of udc to a CAN message with id 123 bits 0..15 (start at bit 0, span over 16 bits) with a gain of 10.&lt;br /&gt;
 can tx din_forward 123 24 1 1&lt;br /&gt;
would map the pin state of the forward input to bit 24 of CAN message with id 123.&lt;br /&gt;
&lt;br /&gt;
If you want to clear all messages, type&lt;br /&gt;
 can clear&lt;br /&gt;
If you want to remove only a specific signal (starting version 4.18.R) type&lt;br /&gt;
 can del &amp;lt;name&amp;gt;&lt;br /&gt;
To save your can map simply type &amp;quot;save&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1468 idcmin, idcmax example]&lt;br /&gt;
&lt;br /&gt;
=== Mapping Values through the web interface ===&lt;br /&gt;
Value can also be mapped through the web interface.&lt;br /&gt;
&lt;br /&gt;
[[File:Spot values.png|alt=Spot values|thumb|Spot values]]&lt;br /&gt;
&lt;br /&gt;
* CAN Id&lt;br /&gt;
** This is the Can Id assigned to the message.  Remember, all CAN mapping uses decimal numbers. So ID 0x123 must be entered as &#039;&#039;&#039;291.&#039;&#039;&#039;  Here is a converter to help: https://www.rapidtables.com/convert/number/hex-to-decimal.html&lt;br /&gt;
* Position&lt;br /&gt;
** This is where in the 64 bit length of the CAN message the data should start.&lt;br /&gt;
* Bits&lt;br /&gt;
** How many bits are assigned to send the data.&lt;br /&gt;
* Gain&lt;br /&gt;
** This applies the internal fixed point scaling.&lt;br /&gt;
* Map to CAN&lt;br /&gt;
** TX to tell the control board to transmit the data onto the CANBUS&lt;br /&gt;
** RX to tell the control board to expect to receive this data from the CANBUS&lt;br /&gt;
&lt;br /&gt;
=== Limits ===&lt;br /&gt;
* A maximum of 10 messages can be defined&lt;br /&gt;
* Per message a maximum of 8 values can be mapped&lt;br /&gt;
* a value can not span across the 32-bit boundary, i.e. it must be fully contained in the first or second 32 bits of the message. E.g. &amp;quot;can tx udc 123 16 32 10&amp;quot; is not allowed&lt;br /&gt;
* A value can span maximum 32 bits&lt;br /&gt;
&lt;br /&gt;
== [[wikipedia:Endianness|Endianness]] ==&lt;br /&gt;
CAN messages sent to, or received from the inverter are Little-endian.&lt;br /&gt;
&lt;br /&gt;
If you are sending or receiving messages containing multi-byte values then the byte order must be taken into account.&lt;br /&gt;
&lt;br /&gt;
== PC Tool ==&lt;br /&gt;
A PC based tool called [https://pypi.org/project/openinverter-can-tool/ openinverter_can_tool] exists to query and control openinverter systems over CAN bus with a supported CAN interface adapter.&lt;br /&gt;
&lt;br /&gt;
[[Category:CAN]] [[Category:OpenInverter]]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=3184</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=3184"/>
		<updated>2023-01-18T12:44:52Z</updated>

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

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Made sure that clicking Parameters at the top enables user to actually find parameter definitions.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Welcome to the open inverter wiki, please take your time to read! ===&lt;br /&gt;
The open inverter community is growing and moving quickly. &lt;br /&gt;
&lt;br /&gt;
Stay up-to-date with the latest developments and findings, please check out the [https://openinverter.org/forum/index.php forums]&lt;br /&gt;
&lt;br /&gt;
To edit the wiki, login with your forum credentials.&lt;br /&gt;
&lt;br /&gt;
= Before you begin: =&lt;br /&gt;
&#039;&#039;&#039;Please take the time to read.&#039;&#039;&#039;   &lt;br /&gt;
&lt;br /&gt;
Developers of various projects are often bombarded with private messages and emails. Managing these emails and question is a extremely large undertaking. Please read, and take the time to understand the information available here and across the web if you don&#039;t understand a topic. Developers are not your personal support team!    &lt;br /&gt;
&lt;br /&gt;
Consider donating to the many developers that have made all this possible: [https://www.patreon.com/openinverter www.patreon.com/openinverter], https://www.evbmw.com/, https://www.paypal.com/paypalme/celeron55    &lt;br /&gt;
&lt;br /&gt;
The information provided on this wiki and the support forums is intended as information only. The Open Inverter project and it&#039;s contributors take no responsibility for how you use the information contained within these pages, nor any liability for injuries, or death, that may result from your actions.    &lt;br /&gt;
&lt;br /&gt;
You undertake &#039;&#039;&#039;your&#039;&#039;&#039; project at &#039;&#039;&#039;your own risk.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The open inverter project originates from Johannes Hübner designing/building his own open source AC motor controller, dubbed the &amp;quot;open inverter&amp;quot; &lt;br /&gt;
&lt;br /&gt;
With the rising popularity/availability of hybrid and electric vehicles, there is a growing supply of high quality and relatively inexpensive parts from auto-wreckers.  &lt;br /&gt;
&lt;br /&gt;
The main goal of the open inverter community is to reverse engineer many of these components for use in a variety of projects such as:  &lt;br /&gt;
&lt;br /&gt;
* ev conversion  &lt;br /&gt;
* energy storages  &lt;br /&gt;
* power generation  &lt;br /&gt;
* charging infrastructure   &lt;br /&gt;
* etc  &lt;br /&gt;
&lt;br /&gt;
Open inverter projects now span over many different areas surrounding PEV, HEV, and PHEV components, such as: &lt;br /&gt;
* motor controllers&lt;br /&gt;
* 1-3 phase power converters&lt;br /&gt;
* dc/dc converts&lt;br /&gt;
* buck/boost converters&lt;br /&gt;
* battery management systems&lt;br /&gt;
* vehicle integration&lt;br /&gt;
* etc&lt;br /&gt;
&lt;br /&gt;
As a results, there is a growing collection of open source software and hardware designed for the never ending list of OEM parts.  &lt;br /&gt;
&lt;br /&gt;
Theres a variety of methods of repurposing these OEM components. Methods here are generally chosen with future proofing in mind , reducing chances of firmware or software updates from the manufacture &amp;quot;bricking&amp;quot; or blocking the open source control efforts.  &lt;br /&gt;
&lt;br /&gt;
such efforts include:  &lt;br /&gt;
&lt;br /&gt;
* mother board/brain replacement&lt;br /&gt;
*[[Getting started with CAN bus|canbus/linbus]]&lt;br /&gt;
*[[wikipedia:Synchronous_serial_communication|sync serial]]&lt;br /&gt;
*[[wikipedia:FlexRay|flexray]]&lt;br /&gt;
*[[wikipedia:Pulse-width_modulation|pwm]]&lt;br /&gt;
* firmware/software reprogramming&lt;br /&gt;
* ect&lt;br /&gt;
&lt;br /&gt;
Resulting in many bespoke boards running the main open inverter software or other open/semi-open source code designed to ether replace OEM mother boards or VCUs.  &lt;br /&gt;
&lt;br /&gt;
This has lead to a large collection of different boards and software, many with redundant features. To unify many of these development projects, the community at large is focused on making a set of standard VCUs and replacement control boards which handle the ever growing list of OEM components.    &lt;br /&gt;
&lt;br /&gt;
=== Many of the VCU and replacement boards consist of these 3 main parts: ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!Hardware&lt;br /&gt;
!Firmware&lt;br /&gt;
!Web Interface&lt;br /&gt;
|-&lt;br /&gt;
|The design and development of the [[Main Board Version 3|control hardware]] based around an STM32F103 chip. This provides the control signals to the power stage and on to the attached components.&lt;br /&gt;
|The development of the code that goes on the STM32F103 chips and determines, amongst other things what signals are sent to the power stage and the attached components.&lt;br /&gt;
|Using an ESP8266 chip, the development of a simple [[Web Interface|web based interface]] to adjust the parameters on the firmware chip and to display values returned from the chip, for example motor speed (RPM).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Getting Started =&lt;br /&gt;
&lt;br /&gt;
=== Its r&#039;&#039;&#039;ecommend reading the [[Glossary of Terms]]  before continuing further.&#039;&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
=== EV conversions: ===&lt;br /&gt;
A few main parts are needed for a ev conversion, such as:&lt;br /&gt;
*[[Motors]]&lt;br /&gt;
* inverters&lt;br /&gt;
*[[Batteries]]&lt;br /&gt;
*[[Charger|Chargers / charge controllers]]&lt;br /&gt;
*[[DC/DC Converter|DC/DC Converters]]&lt;br /&gt;
* HV Junction Box&lt;br /&gt;
*[[Heaters]]&lt;br /&gt;
* brake assist &lt;br /&gt;
** Vacuum Pumps&lt;br /&gt;
** electronic brake boosters&lt;br /&gt;
&lt;br /&gt;
Existing information on these items can be found on the &amp;lt;u&amp;gt;[[EV Conversion Parts]]&amp;lt;/u&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
=== OEM Parts: ===&lt;br /&gt;
A variety of OEM manufacture parts members of the community have reversed engineered for custom use cases:&lt;br /&gt;
*[[BMW]]&lt;br /&gt;
*[[Isabellenhütte Heusler]]&lt;br /&gt;
*[[Mercedes]]&lt;br /&gt;
*[[Nissan]]&lt;br /&gt;
*[[Tesla]]&lt;br /&gt;
*[[Toyota]]&lt;br /&gt;
*[[Chevrolet]]&lt;br /&gt;
*[[Mistubishi]]&lt;br /&gt;
*[[Volkswagon]]&lt;br /&gt;
&lt;br /&gt;
=== FAQ ===&lt;br /&gt;
&lt;br /&gt;
* [[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
*[[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
==== Open Inverter (Core Project/s) ====&lt;br /&gt;
!&lt;br /&gt;
!&lt;br /&gt;
==== Open Inverter Related Projects / Control Boards ====&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;core universal hardware and software components&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
| rowspan=&amp;quot;7&amp;quot; |&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;ZombieVerter VCU&#039;&#039;&#039;&lt;br /&gt;
*[[ZombieVerter VCU]]&lt;br /&gt;
*[[Web Interface (ZombieVerter VCU)|Web Interface]]&lt;br /&gt;
*[[OEM component compatibility]]&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&#039;&#039;&#039;[[Tesla|Tesla Small Drive and Large Drive Units:]]&#039;&#039;&#039; &lt;br /&gt;
commonly there is a large drive unit and small drive unit available. &lt;br /&gt;
&lt;br /&gt;
These combine the inverter and motor into a single package. The &lt;br /&gt;
&lt;br /&gt;
control boards for these replace the existing control board within them.&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; |&lt;br /&gt;
====== Open Inverter Hardware ======&lt;br /&gt;
*[[Hardware Theory of Operation]]&lt;br /&gt;
*[[Schematics and Instructions]] - for the &amp;quot;vanilla&amp;quot; inverter kit.&lt;br /&gt;
*[[Mini Mainboard]]&lt;br /&gt;
*[[Main Board Version 3]]&lt;br /&gt;
*[[Main Board Version 2]]&lt;br /&gt;
*[[Main Board Version 1]]&lt;br /&gt;
*[[Sense Boards]]&lt;br /&gt;
*[[Gate Driver]]&lt;br /&gt;
*[[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
*[[OEM Repurposing]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Lexus GS450h Inverter|Lexus GS450h Inverter / VCU:]]&#039;&#039;&#039; &lt;br /&gt;
the GS450h provides a gearbox (where the motors are located) &lt;br /&gt;
&lt;br /&gt;
combined with the original inverter, this board looks to control &lt;br /&gt;
&lt;br /&gt;
the inverter and the gearbox itself to provide a powerful set up &lt;br /&gt;
&lt;br /&gt;
suitable for rear wheel drive set ups, replacing the existing &lt;br /&gt;
&lt;br /&gt;
longitudinally mounted gearbox.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Toyota Prius Gen3 Board|Prius Generation 3 Inverter:]]&#039;&#039;&#039; &lt;br /&gt;
a cheap available inverter from the popular Prius hybrid, this &lt;br /&gt;
&lt;br /&gt;
board goes inside that inverter and allows you to control the features of it.&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
======&#039;&#039;&#039;Open Inverter Software&#039;&#039;&#039;======&lt;br /&gt;
*[[Using FOC Software]]&lt;br /&gt;
*[[Downloads]]&lt;br /&gt;
*[[Features]]&lt;br /&gt;
*[[Web Interface]]&lt;br /&gt;
*[[Battery Charging]]&lt;br /&gt;
*[[Errors]]&lt;br /&gt;
*[[CAN communication]]&lt;br /&gt;
*[[Parameters]] (Tune your inverter)&lt;br /&gt;
*[[Configuration Files]]&lt;br /&gt;
*[[Software Theory of Operation]]&lt;br /&gt;
*[[Open Inverter Testing]]&lt;br /&gt;
|&#039;&#039;&#039;[[Auris/Yaris Inverter:]]&#039;&#039;&#039; &lt;br /&gt;
similar to the Prius board, there&#039;s subtle differences between them and &lt;br /&gt;
&lt;br /&gt;
therefore the need for a separate board.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;[[Nissan Leaf Gen2 Board]]&#039;&#039;&#039;&lt;br /&gt;
replaces the nissan OEM logic board with a rev 3 openiverter main board &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|[[Ford ranger ev board|&#039;&#039;&#039;Ford ranger ev board&#039;&#039;&#039;]]&lt;br /&gt;
openinverter kit for the ford ranger ev &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|[[OEM Repurposing|All Control Boards / OEM Inverters]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |&lt;br /&gt;
====== CAN communication ======&lt;br /&gt;
Common across boards is the ability to communicate with a CAN Bus, which is a &#039;control area network&#039; or a technical way of saying how various components, sensors, controls, etc communicate with one another within the car. &#039;&#039;&#039;Read more about [[CAN communication|CAN Communication]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There is also a project to standardise the messages across the various control boards, [[Introduction CAN STD|read more]]&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
The openinverter firmware uses a set of about 70 parameters to adapt it to different inverter power stages, motors and position feedback systems. Also it lets you calibrate the throttle pedal, change regenerative braking settings and so on. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameter definitions can be found here: [[Parameters]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Working parameter sets can be found in the [https://openinverter.org/parameters openinverter parameter database]&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |&lt;br /&gt;
====== Use inverter as a battery Charger ======&lt;br /&gt;
Both the open inverter and some OEM inverters can be used as a battery charger, further saving on component costs. You can read more about how the open inverter and the theory of charging [[Battery Charging|here]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&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;= Open Inverter CAN std. =&lt;br /&gt;
* [[Introduction CAN STD|Introduction]]&lt;br /&gt;
* [[CAN table CAN STD|CAN table]]&lt;br /&gt;
* [[Getting started with CAN bus]]  &lt;br /&gt;
&lt;br /&gt;
= Legalities =&lt;br /&gt;
* [[Legalities|Legalities around conversion projects]]&lt;br /&gt;
Different countries have different legislation, if you want you car to certified for the road in your country please take the time to review this section.&lt;br /&gt;
&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[VW Polo 86C Conversion]]&lt;br /&gt;
* [[Touran Conversion]]&lt;br /&gt;
* [https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=326&amp;amp;hilit=gt86 toyota gt86 nissan leaf motor] &lt;br /&gt;
* [https://openinverter.org/forum/viewtopic.php?f=11&amp;amp;t=210 Porsche Boxster 986 Tesla conversion]&lt;br /&gt;
* [https://openinverter.org/forum/viewforum.php?f=11 Further Projects on the forum]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1640</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1640"/>
		<updated>2021-08-05T12:31:41Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
* [https://epc.tesla.com/en/catalogs Tesla EPC (Electronic Parts Catalogue)]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**&amp;lt;/nowiki&amp;gt;UPDATED 6 May 2021: Based on thread found here: [https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=1625 Teardown - Tesla LDU - Inverter - openinverter forum], the base and sport LDUs use different IGBTs&lt;br /&gt;
|}&lt;br /&gt;
SDU: Small Drive Unit (note: there are two different cases for the SDU, front and rear)&lt;br /&gt;
&lt;br /&gt;
LDU: Large Drive Unit&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1536</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1536"/>
		<updated>2021-05-06T13:12:28Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**&amp;lt;/nowiki&amp;gt;UPDATED 6 May 2021: Based on thread found here: [https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=1625 Teardown - Tesla LDU - Inverter - openinverter forum], the base and sport LDUs use different IGBTs&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1535</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1535"/>
		<updated>2021-05-06T13:11:47Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X &lt;br /&gt;
&lt;br /&gt;
UPDATED 6 May 2021: Based on thread found here: [https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=1625 Teardown - Tesla LDU - Inverter - openinverter forum], the base and sport LDUs use different IGBTs&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1534</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1534"/>
		<updated>2021-05-06T13:10:03Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* &lt;br /&gt;
* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X &lt;br /&gt;
*  &lt;br /&gt;
*  &lt;br /&gt;
* ** UPDATED 6 May 2021: Based on thread found here: [https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=1625 Teardown - Tesla LDU - Inverter - openinverter forum], the base and sport LDUs use different IGBTs&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1533</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1533"/>
		<updated>2021-05-06T13:09:44Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* &lt;br /&gt;
* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X &lt;br /&gt;
*  &lt;br /&gt;
*  &lt;br /&gt;
* &amp;lt;nowiki&amp;gt;** UPDATE: Based on thread found here: [https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=1625 Teardown - Tesla LDU - Inverter - openinverter forum], the base and sport LDUs use different IGBTs&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1532</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1532"/>
		<updated>2021-05-06T13:08:25Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**&amp;lt;/nowiki&amp;gt; Sources disagree as to whether the Base and Sport LDU&#039;s have different hardware, or merely different firmware.&lt;br /&gt;
&lt;br /&gt;
If the latter is true, the difference is eliminated by using the EVBMW/Open Inverter drop in board. &lt;br /&gt;
&lt;br /&gt;
UPDATE: Based on thread found here: [https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=1625 Teardown - Tesla LDU - Inverter - openinverter forum], the base and sport LDUs use different IGBTs&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1531</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1531"/>
		<updated>2021-05-06T13:07:43Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**&amp;lt;/nowiki&amp;gt; Sources disagree as to whether the Base and Sport LDU&#039;s have different hardware, or merely different firmware.&lt;br /&gt;
&lt;br /&gt;
If the latter is true, the difference is eliminated by using the EVBMW/Open Inverter drop in board. &lt;br /&gt;
&lt;br /&gt;
UPDATE: Based on thread found here: Teardown - Tesla LDU - Inverter - openinverter forum, the base and sport LDUs use different IGBTs&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1435</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1435"/>
		<updated>2021-03-18T00:01:14Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Sourcing Tesla Drive Units */  Tweaks to table, added footnote&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;N/A&#039;&#039;&lt;br /&gt;
|Sport** LDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;P##D&#039;&#039;&#039;&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;**&amp;lt;/nowiki&amp;gt; Sources disagree as to whether the Base and Sport LDU&#039;s have different hardware, or merely different firmware.&lt;br /&gt;
&lt;br /&gt;
If the latter is true, the difference is eliminated by using the EVBMW/Open Inverter drop in board.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1434</id>
		<title>Tesla</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla&amp;diff=1434"/>
		<updated>2021-03-17T23:57:23Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Added table correlating trim to drive unit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Contactors]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;br /&gt;
* [[Tesla model s|Tesla DC/DC converter]]&lt;br /&gt;
&lt;br /&gt;
=== Sourcing Tesla Drive Units ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2012-2017* Model S/X Drive Units&lt;br /&gt;
!Trim Designation&lt;br /&gt;
!Front Drive Unit&lt;br /&gt;
!Rear Drive Unit&lt;br /&gt;
|-&lt;br /&gt;
|##&lt;br /&gt;
|N/A&lt;br /&gt;
|Base LDU&lt;br /&gt;
|-&lt;br /&gt;
|P##&lt;br /&gt;
|N/A&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
|##D&lt;br /&gt;
|SDU&lt;br /&gt;
|SDU&lt;br /&gt;
|-&lt;br /&gt;
|P##D&lt;br /&gt;
|SDU&lt;br /&gt;
|Sport LDU&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; |* Depending on the source, in either 2017 or 2019 Tesla began changing drive unit selections in the Model S and X&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=505</id>
		<title>Tesla Setup FAQ</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=505"/>
		<updated>2020-04-06T11:52:48Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following are FAQ&#039;s for setting up the Tesla boards.  More information is available on the support threads of the forum.  If you ask a question and get an answer, please add to this page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If I bought a fully built board from EVBMW, do I need to do initial programming?&#039;&#039;&#039;&lt;br /&gt;
All fully built boards from EVBMW are programmed and ready for testing and use.  Firmware updates may be accomplished over the web interface and may be downloaded here :&lt;br /&gt;
https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do I need to do any testing or change any settings before I get started?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is recommended to perform initial tests at a low DC bus voltage in order to confirm correct operation of the drive unit and logic board. The voltage should be between around 40 and 100v dc. Some parameters need to be set to enable operation at these voltages. &lt;br /&gt;
UDCSW set to 0.&lt;br /&gt;
UDCMIN set to 0.&lt;br /&gt;
You will need to perform a manual precharge or set UDCSW to about 10v less than your test voltage and use drive unit contactor control.&lt;br /&gt;
Don&#039;t forget to reset these parameters to their original values when finished testing.&lt;br /&gt;
&lt;br /&gt;
Also, some parameters need to be adjusted for your application.  See the parameter descriptions.  If you don&#039;t know where to start, take a look at the Parameters thread here: https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=195  or the configuration files here: https://openinverter.org/wiki/Configuration_Files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I power up the board and make changes without the high voltage?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes, Once 12v power is applied to the board or drive unit the wifi interface becomes available. Simply connect with any wifi enabled device (laptop,phone,tablet etc) to the wifi access point called inverter. The passphrase is inverter123. Once connected point any web browser to 192.168.4.1 to bring up the interface. Note some devices may complain about not being connected to the internet but just ignore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the pre-charge setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The precharge system behaves as follows :&lt;br /&gt;
&lt;br /&gt;
Upon application of 12v power, energise precharge contactor.&lt;br /&gt;
&lt;br /&gt;
If after 5 seconds the measured voltage at the drive unit (UDC) does not exceed the UDCSW parameter we shutoff the precharge contactor as it is assumed the precharge has failed in some way.&lt;br /&gt;
&lt;br /&gt;
If during those 5 seconds UDC exceeds UDCSW we leave the precharge contactor energized and wait for a start signal. Once start signal is received we close the main and open the precharge contactor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I &amp;quot;tune&amp;quot; my car/setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
First you want to find a flat surface - a parking lot etc. so you can drive and stop without checking traffic. Change only one parameter at a time and save settings that work!&lt;br /&gt;
&lt;br /&gt;
1. set fslipmin so that you feel car taking off smoothly and try to change it by +/-0,1Hz and check differences in starting. Save when satisfied.&lt;br /&gt;
&lt;br /&gt;
2. lower boost value in 100pts until motor jitters at start. Then return it to last good value.&lt;br /&gt;
&lt;br /&gt;
3. try lowering ampmin in 0,1 increments and observe throttle travel. When throttle is not just smooth but becomes sluggish return some previous increments until throttle reaction is acceptable.&lt;br /&gt;
&lt;br /&gt;
4. change fweak value in +/-10Hz increments from starting point and observe torque in starting. This value is very dependent on battery voltage and is very subjective.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you find a hill or ramp and set car on it. You want to hold car in position on slope just using throttle pedal. If there parameters are not good motor will jump or will feel sluggish&lt;br /&gt;
&lt;br /&gt;
1. add boost if motor is oscillating if it is smooth reduce it in 100pt increments untill you get oscillation. Then return to last good value&lt;br /&gt;
2. reduce/increase ampmin in 0,25 increments untill you get oscilation in motor and return last good value&lt;br /&gt;
&lt;br /&gt;
Now set the car into a hill to set fslipmax. Warning full throttle will be used. Be sure there is no other traffic!&lt;br /&gt;
Set fslipmax to chosen value (guess it at 2xfslipmin if you have no other way) and try to take off with full throttle.&lt;br /&gt;
If car feels sluggish with full throttle you have to add more slip.&lt;br /&gt;
If motor starts to jitter there is too much slip. Try to reduce it in 0.1Hz increments.&lt;br /&gt;
&lt;br /&gt;
When you feel satisfied with settings save them and go on setting regen and braking effect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I set up my throttle?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The throttle programming procedure documented is a little misleading. You don’t look at potnom to do it. &lt;br /&gt;
&lt;br /&gt;
You look at pot in the spot value menu when the pedal is at resting position for the potmin number, then push the pedal and hold on full throttle and refresh the web interface to get the potmax reading. &lt;br /&gt;
&lt;br /&gt;
In the parameter section of the web interface, use these two numbers for potmin and potmax and flash the board with the new values. This saves your expected min and max of the pedal you are using. The sweep is then averaged by the logic. &lt;br /&gt;
&lt;br /&gt;
To get the graphs or gauges you have to select L next to the spot value you want to observe.&lt;br /&gt;
Then under spot values you press show gauges and that will bring up a new window with a gauge for each parameter selected. If you want to show them on a running graph, go down to plot and a graph will appear at the bottom of the screen.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=489</id>
		<title>Tesla Setup FAQ</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=489"/>
		<updated>2020-04-01T15:02:52Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following are FAQ&#039;s for setting up the Tesla boards.  More information is available on the support threads of the forum.  If you ask a question and get an answer, please add to this page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If I bought a fully built board from EVBMW, do I need to do initial programming?&#039;&#039;&#039;&lt;br /&gt;
All fully built boards from EVBMW are programmed and ready for testing and use.  Firmware updates may be accomplished over the web interface and may be downloaded here :&lt;br /&gt;
https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do I need to do any testing or change any settings before I get started?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is recommended to perform initial tests at a low DC bus voltage in order to confirm correct operation of the drive unit and logic board. The voltage should be between around 40 and 100v dc. Some parameters need to be set to enable operation at these voltages. &lt;br /&gt;
UDCSW set to 0.&lt;br /&gt;
UDCMIN set to 0.&lt;br /&gt;
You will need to perform a manual precharge or set UDCSW to about 10v less than your test voltage and use drive unit contactor control.&lt;br /&gt;
Don&#039;t forget to reset these parameters to their original values when finished testing.&lt;br /&gt;
&lt;br /&gt;
Also, some parameters need to be adjusted for your application.  See the parameter descriptions.  If you don&#039;t know where to start, take a look at the Parameters thread here: https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=195  or the configuration files here: https://openinverter.org/wiki/Configuration_Files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I power up the board and make changes without the high voltage?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes, Once 12v power is applied to the board or drive unit the wifi interface becomes available. Simply connect with any wifi enabled device (laptop,phone,tablet etc) to the wifi access point called inverter. The passphrase is inverter123. Once connected point any web browser to 192.168.4.1 to bring up the interface. Note some devices may complain about not being connected to the internet but just ignore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the pre-charge setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The precharge system behaves as follows :&lt;br /&gt;
&lt;br /&gt;
Upon application of 12v power, energise precharge contactor.&lt;br /&gt;
&lt;br /&gt;
If after 5 seconds the measured voltage at the drive unit (UDC) does not exceed the UDCSW parameter we shutoff the precharge contactor as it is assumed the precharge has failed in some way.&lt;br /&gt;
&lt;br /&gt;
If during those 5 seconds UDC exceeds UDCSW we leave the precharge contactor energized and wait for a start signal. Once start signal is received we close the main and open the precharge contactor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I &amp;quot;tune&amp;quot; my car/setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
First you want to find a flat surface - a parking lot etc. so you can drive and stop without checking traffic. Change only one parameter at a time and save settings that work!&lt;br /&gt;
&lt;br /&gt;
1. set fslipmin so that you feel car taking off smoothly and try to change it by +/-0,1Hz and check differences in starting. Save when satisfied.&lt;br /&gt;
&lt;br /&gt;
2. lower boost value in 100pts until motor jitters at start. Then return it to last good value.&lt;br /&gt;
&lt;br /&gt;
3. try lowering ampmin in 0,1 increments and observe throttle travel. When throttle is not just smooth but becomes sluggish return some previous increments until throttle reaction is acceptable.&lt;br /&gt;
&lt;br /&gt;
4. change fweak value in +/-10Hz increments from starting point and observe torque in starting. This value is very dependent on battery voltage and is very subjective.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you find a hill or ramp and set car on it. You want to hold car in position on slope just using throttle pedal. If there parameters are not good motor will jump or will feel sluggish&lt;br /&gt;
&lt;br /&gt;
1. add boost if motor is oscillating if it is smooth reduce it in 100pt increments untill you get oscillation. Then return to last good value&lt;br /&gt;
2. reduce/increase ampmin in 0,25 increments untill you get oscilation in motor and return last good value&lt;br /&gt;
&lt;br /&gt;
Now set the car into a hill to set fslipmax. Warning full throttle will be used. Be sure there is no other traffic!&lt;br /&gt;
Set fslipmax to chosen value (guess it at 2xfslipmin if you have no other way) and try to take off with full throttle.&lt;br /&gt;
If car feels sluggish with full throttle you have to add more slip.&lt;br /&gt;
If motor starts to jitter there is too much slip. Try to reduce it in 0.1Hz increments.&lt;br /&gt;
&lt;br /&gt;
When you feel satisfied with settings save them and go on setting regen and braking effect.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=488</id>
		<title>Tesla Setup FAQ</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=488"/>
		<updated>2020-04-01T15:02:15Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following are FAQ&#039;s for setting up the Tesla boards.  More information is available on the support threads of the forum.  If you ask a question and get an answer, please add to this page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If I bought a fully built board from EVBMW, do I need to do initial programming?&#039;&#039;&#039;&lt;br /&gt;
All fully built boards from EVBMW are programmed and ready for testing and use.  Firmware updates may be accomplished over the web interface and may be downloaded here :&lt;br /&gt;
https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do I need to do any testing or change any settings before I get started?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is recommended to perform initial tests at a low DC bus voltage in order to confirm correct operation of the drive unit and logic board. The voltage should be between around 40 and 100v dc. Some parameters need to be set to enable operation at these voltages. &lt;br /&gt;
UDCSW set to 0.&lt;br /&gt;
UDCMIN set to 0.&lt;br /&gt;
You will need to perform a manual precharge or set UDCSW to about 10v less than your test voltage and use drive unit contactor control.&lt;br /&gt;
Don&#039;t forget to reset these parameters to their original values when finished testing.&lt;br /&gt;
&lt;br /&gt;
Also, some parameters need to be adjusted for your application.  See the parameter descriptions.  If you don&#039;t know where to start, take a look at the Parameters thread here: https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=195  or the configuration files here: https://openinverter.org/wiki/Configuration_Files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I power up the board and make changes without the high voltage?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes, Once 12v power is applied to the board or drive unit the wifi interface becomes available. Simply connect with any wifi enabled device (laptop,phone,tablet etc) to the wifi access point called inverter. The passphrase is inverter123. Once connected point any web browser to 192.168.4.1 to bring up the interface. Note some devices may complain about not being connected to the internet but just ignore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the pre-charge setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The precharge system behaves as follows :&lt;br /&gt;
&lt;br /&gt;
Upon application of 12v power, energise precharge contactor.&lt;br /&gt;
&lt;br /&gt;
If after 5 seconds the measured voltage at the drive unit (UDC) does not exceed the UDCSW parameter we shutoff the precharge contactor as it is assumed the precharge has failed in some way.&lt;br /&gt;
&lt;br /&gt;
If during those 5 seconds UDC exceeds UDCSW we leave the precharge contactor energized and wait for a start signal. Once start signal is received we close the main and open the precharge contactor.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How do I &amp;quot;tune&amp;quot; my car/setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
First you want to find a flat surface - a parking lot etc. so you can drive and stop without checking traffic. Change only one parameter at a time and save settings that work!&lt;br /&gt;
&lt;br /&gt;
1. set fslipmin so that you feel car taking off smoothly and try to change it by +/-0,1Hz and check differences in starting. Save when satisfied.&lt;br /&gt;
&lt;br /&gt;
2. lower boost value in 100pts until motor jitters at start. Then return it to last good value.&lt;br /&gt;
&lt;br /&gt;
3. try lowering ampmin in 0,1 increments and observe throttle travel. When throttle is not just smooth but becomes sluggish return some previous increments until throttle reaction is acceptable.&lt;br /&gt;
&lt;br /&gt;
4. change fweak value in +/-10Hz increments from starting point and observe torque in starting. This value is very dependent on battery voltage and is very subjective.&lt;br /&gt;
&lt;br /&gt;
Now you find a hill or ramp and set car on it. You want to hold car in position on slope just using throttle pedal. If there parameters are not good motor will jump or will feel sluggish&lt;br /&gt;
&lt;br /&gt;
1. add boost if motor is oscillating if it is smooth reduce it in 100pt increments untill you get oscillation. Then return to last good value&lt;br /&gt;
2. reduce/increase ampmin in 0,25 increments untill you get oscilation in motor and return last good value&lt;br /&gt;
&lt;br /&gt;
Now set the car into a hill to set fslipmax. Warning full throttle will be used. Be sure there is no other traffic!&lt;br /&gt;
Set fslipmax to chosen value (guess it at 2xfslipmin if you have no other way) and try to take off with full throttle.&lt;br /&gt;
If car feels sluggish with full throttle you have to add more slip.&lt;br /&gt;
If motor starts to jitter there is too much slip. Try to reduce it in 0.1Hz increments.&lt;br /&gt;
When you feel satisfied with settings save them and go on setting regen and braking effect.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=487</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=487"/>
		<updated>2020-04-01T14:59:22Z</updated>

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

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following are FAQ&#039;s for setting up the Tesla boards.  More information is available on the support threads of the forum.  If you ask a question and get an answer, please add to this page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If I bought a fully built board from EVBMW, do I need to do initial programming?&#039;&#039;&#039;&lt;br /&gt;
All fully built boards from EVBMW are programmed and ready for testing and use.  Firmware updates may be accomplished over the web interface and may be downloaded here :&lt;br /&gt;
https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do I need to do any testing or change any settings before I get started?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is recommended to perform initial tests at a low DC bus voltage in order to confirm correct operation of the drive unit and logic board. The voltage should be between around 40 and 100v dc. Some parameters need to be set to enable operation at these voltages. &lt;br /&gt;
UDCSW set to 0.&lt;br /&gt;
UDCMIN set to 0.&lt;br /&gt;
You will need to perform a manual precharge or set UDCSW to about 10v less than your test voltage and use drive unit contactor control.&lt;br /&gt;
Don&#039;t forget to reset these parameters to their original values when finished testing.&lt;br /&gt;
&lt;br /&gt;
Also, some parameters need to be adjusted for your application.  See the parameter descriptions.  If you don&#039;t know where to start, take a look at the Parameters thread here: https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=195  or the configuration files here: https://openinverter.org/wiki/Configuration_Files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I power up the board and make changes without the high voltage?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes, Once 12v power is applied to the board or drive unit the wifi interface becomes available. Simply connect with any wifi enabled device (laptop,phone,tablet etc) to the wifi access point called inverter. The passphrase is inverter123. Once connected point any web browser to 192.168.4.1 to bring up the interface. Note some devices may complain about not being connected to the internet but just ignore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the pre-charge setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The precharge system behaves as follows :&lt;br /&gt;
&lt;br /&gt;
Upon application of 12v power, energise precharge contactor.&lt;br /&gt;
&lt;br /&gt;
If after 5 seconds the measured voltage at the drive unit (UDC) does not exceed the UDCSW parameter we shutoff the precharge contactor as it is assumed the precharge has failed in some way.&lt;br /&gt;
&lt;br /&gt;
If during those 5 seconds UDC exceeds UDCSW we leave the precharge contactor energised and wait for a start signal. Once start signal is received we close the main and open the precharge contactor.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=485</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=485"/>
		<updated>2020-04-01T13:25:19Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small and large drive unit support threads of the forum.  If you have an issue and find/get a solution, please add to this page.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Persistent overcurrent error&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Powerup with only 12v. No hv. Is the error there? if yes then change the sign of the parameter ocurlim. Some versions of firmware require this to be negative. Newer versions it must be positive. When testing I flip this sign to simulate an error and sometimes forget to flip it back before saving parameters.&lt;br /&gt;
&lt;br /&gt;
2)If the error is present when only 12v is applied regardless of ocurlim parameter polarity then one of 2 things are at fault. The logic board or the inverter. To determine which is the problem requires some diagnostic testing of the signals coming from the current sensors to the logic board and the value of voltage at 2 test points on the logic board.These test points may be found in the bottom right hand side of the board adjacent to R45 and R58. Using a multimeter on DC volts measure the voltage between each test point and 12v ground. At idle (no hv no throttle no run signals) a voltage of approx 1.65v should be present here. &lt;br /&gt;
&lt;br /&gt;
3) If the error occurs when starting the inverter , then remove hv , set udcsw to 0 and try to start with no hv. If the error occurs then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
4)if the error occurs only with hv present then disconnect the inverter from the motor and try again. If the error is still present then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor is only turning slowly when I press the throttle&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The symptom of the motor turning slowly is almost certainly caused by a missing or inverted encoder signal. The encoder output consists of two channels : A and B. The signal from these is used by the microcontroller to determine the speed and direction of rotation of the motor. If for example the A and B signals are swapped then the inverter will be trying to drive the motor in one direction and the encoder signal will tell it the motor is running backwards hence this behavior. If either or both signals are missing then the microcontroller has no speed or direction information and the same symptoms result.&lt;br /&gt;
&lt;br /&gt;
In some versions of the LDU the encoder wiring is swapped.  If the motor will only turn slowly, try swapping the two encoder wires.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor turns but is not smooth&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you ever have issues getting a stable spinning motor, Always plot your rpm/Fstat as if that is really jumpy it means the encoder signal is dirty.&lt;br /&gt;
&lt;br /&gt;
Shielded cable is a must, without it the encoder pulses are not clean enough.  Use either the factory harness or cat5e/cat6 shielded cable.  The shield is connected on the 23-pin ampseal connector but not connected on the encoder plug.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=484</id>
		<title>Tesla Setup FAQ</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=484"/>
		<updated>2020-04-01T13:24:35Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following are FAQ&#039;s for setting up the Tesla boards.  More information is available on the support threads of the forum.  If you ask a question and get an answer, please add to this page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If I bought a fully built board from EVBMW, do I need to do initial programming?&#039;&#039;&#039;&lt;br /&gt;
All fully built boards from EVBMW are programmed and ready for testing and use.  Firmware updates may be accomplished over the web interface and may be downloaded here :&lt;br /&gt;
https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do I need to do any testing or change any settings before I get started?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is recommended to perform initial tests at a low DC bus voltage in order to confirm correct operation of the drive unit and logic board. The voltage should be between around 40 and 100v dc. Some parameters need to be set to enable operation at these voltages. &lt;br /&gt;
UDCSW set to 0.&lt;br /&gt;
UDCMIN set to 0.&lt;br /&gt;
You will need to perform a manual precharge or set UDCSW to about 10v less than your test voltage and use drive unit contactor control.&lt;br /&gt;
Don&#039;t forget to reset these parameters to their original values when finished testing.&lt;br /&gt;
&lt;br /&gt;
Also, some parameters need to be adjusted for your application.  See the parameter descriptions.  If you don&#039;t know where to start, take a look at the Parameters thread here: https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=195&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I power up the board and make changes without the high voltage?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes, Once 12v power is applied to the board or drive unit the wifi interface becomes available. Simply connect with any wifi enabled device (laptop,phone,tablet etc) to the wifi access point called inverter. The passphrase is inverter123. Once connected point any web browser to 192.168.4.1 to bring up the interface. Note some devices may complain about not being connected to the internet but just ignore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the pre-charge setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The precharge system behaves as follows :&lt;br /&gt;
&lt;br /&gt;
Upon application of 12v power, energise precharge contactor.&lt;br /&gt;
&lt;br /&gt;
If after 5 seconds the measured voltage at the drive unit (UDC) does not exceed the UDCSW parameter we shutoff the precharge contactor as it is assumed the precharge has failed in some way.&lt;br /&gt;
&lt;br /&gt;
If during those 5 seconds UDC exceeds UDCSW we leave the precharge contactor energised and wait for a start signal. Once start signal is received we close the main and open the precharge contactor.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=483</id>
		<title>Tesla Setup FAQ</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Tesla_Setup_FAQ&amp;diff=483"/>
		<updated>2020-04-01T13:23:40Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Created page with &amp;quot;The following are FAQ&amp;#039;s for setting up the Tesla boards.  More information is available on the support threads of the forum   &amp;#039;&amp;#039;&amp;#039;If I bought a fully built board from EVBMW, do...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following are FAQ&#039;s for setting up the Tesla boards.  More information is available on the support threads of the forum&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If I bought a fully built board from EVBMW, do I need to do initial programming?&#039;&#039;&#039;&lt;br /&gt;
All fully built boards from EVBMW are programmed and ready for testing and use.  Firmware updates may be accomplished over the web interface and may be downloaded here :&lt;br /&gt;
https://github.com/jsphuebner/stm32-sine/releases&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do I need to do any testing or change any settings before I get started?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
It is recommended to perform initial tests at a low DC bus voltage in order to confirm correct operation of the drive unit and logic board. The voltage should be between around 40 and 100v dc. Some parameters need to be set to enable operation at these voltages. &lt;br /&gt;
UDCSW set to 0.&lt;br /&gt;
UDCMIN set to 0.&lt;br /&gt;
You will need to perform a manual precharge or set UDCSW to about 10v less than your test voltage and use drive unit contactor control.&lt;br /&gt;
Don&#039;t forget to reset these parameters to their original values when finished testing.&lt;br /&gt;
&lt;br /&gt;
Also, some parameters need to be adjusted for your application.  See the parameter descriptions.  If you don&#039;t know where to start, take a look at the Parameters thread here: https://openinverter.org/forum/viewtopic.php?f=10&amp;amp;t=195&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Can I power up the board and make changes without the high voltage?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Yes, Once 12v power is applied to the board or drive unit the wifi interface becomes available. Simply connect with any wifi enabled device (laptop,phone,tablet etc) to the wifi access point called inverter. The passphrase is inverter123. Once connected point any web browser to 192.168.4.1 to bring up the interface. Note some devices may complain about not being connected to the internet but just ignore.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How is the pre-charge setup?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The precharge system behaves as follows :&lt;br /&gt;
&lt;br /&gt;
Upon application of 12v power, energise precharge contactor.&lt;br /&gt;
&lt;br /&gt;
If after 5 seconds the measured voltage at the drive unit (UDC) does not exceed the UDCSW parameter we shutoff the precharge contactor as it is assumed the precharge has failed in some way.&lt;br /&gt;
&lt;br /&gt;
If during those 5 seconds UDC exceeds UDCSW we leave the precharge contactor energised and wait for a start signal. Once start signal is received we close the main and open the precharge contactor.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=482</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=482"/>
		<updated>2020-04-01T13:13:39Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Open Inverter Tesla Boards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
Everyone registered at the forum can login here with the same username and password and can make changes.&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 3|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;
= General =&lt;br /&gt;
* [[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
* [[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
&lt;br /&gt;
= Open Inverter 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;
* [[4-cell BMS]]&lt;br /&gt;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Open Inverter Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Web Interface]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
* [[Configuration Files]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
* [[Features]]&lt;br /&gt;
&lt;br /&gt;
= Open Inverter Kits =&lt;br /&gt;
* [[Using FOC Software]]&lt;br /&gt;
* [[Schematics and Instructions]] - for the &amp;quot;vanilla&amp;quot; inverter kit.&lt;br /&gt;
* [[Nissan Leaf Gen2 Board]]&lt;br /&gt;
* [[Toyota Prius Gen2 Board]]&lt;br /&gt;
* [[Toyota Prius Gen3 Board]]&lt;br /&gt;
* [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
= Open Inverter CAN std. =&lt;br /&gt;
* [[Introduction CAN STD|Introduction]]&lt;br /&gt;
* [[CAN table CAN STD|CAN table]]&lt;br /&gt;
&lt;br /&gt;
= Open Inverter Tesla Boards =&lt;br /&gt;
* [[Introduction Tesla|Introduction]]&lt;br /&gt;
* [[Files Tesla|Schematics, pcb layouts, BOMs and Gerber files]]&lt;br /&gt;
* [[Where to buy Tesla|Where to buy]]&lt;br /&gt;
* [[Support forum Tesla|Support forum]]&lt;br /&gt;
* [[Trouble Shooting|Trouble Shooting]]&lt;br /&gt;
* [[Setup FAQ|Tesla setup FAQ]]&lt;br /&gt;
&lt;br /&gt;
= Ford Ranger TIM inverter =&lt;br /&gt;
* [[Introduction TIM|Introduction]]&lt;br /&gt;
* [[Schematics and connector pinout]]&lt;br /&gt;
* [[Modifications to original wiring]]&lt;br /&gt;
* [https://openinverter.org/forum/viewtopic.php?f=16&amp;amp;t=186#p2349 Hardware installation]&lt;br /&gt;
* [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=59 Where to buy]&lt;br /&gt;
&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[Legalities]]&lt;br /&gt;
* [[VW Polo 86C Conversion]]&lt;br /&gt;
* [[Touran Conversion]]&lt;br /&gt;
&lt;br /&gt;
= OEM Parts =&lt;br /&gt;
* [[Nissan Leaf BMS]]&amp;lt;!--&amp;gt; = Draft Main Page = * [[Main Page - Under Development]] &amp;lt;--&amp;gt;&lt;br /&gt;
* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Small Rear Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=481</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=481"/>
		<updated>2020-04-01T13:11:44Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small and large drive unit support threads of the forum&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Persistent overcurrent error&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Powerup with only 12v. No hv. Is the error there? if yes then change the sign of the parameter ocurlim. Some versions of firmware require this to be negative. Newer versions it must be positive. When testing I flip this sign to simulate an error and sometimes forget to flip it back before saving parameters.&lt;br /&gt;
&lt;br /&gt;
2)If the error is present when only 12v is applied regardless of ocurlim parameter polarity then one of 2 things are at fault. The logic board or the inverter. To determine which is the problem requires some diagnostic testing of the signals coming from the current sensors to the logic board and the value of voltage at 2 test points on the logic board.These test points may be found in the bottom right hand side of the board adjacent to R45 and R58. Using a multimeter on DC volts measure the voltage between each test point and 12v ground. At idle (no hv no throttle no run signals) a voltage of approx 1.65v should be present here. &lt;br /&gt;
&lt;br /&gt;
3) If the error occurs when starting the inverter , then remove hv , set udcsw to 0 and try to start with no hv. If the error occurs then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
4)if the error occurs only with hv present then disconnect the inverter from the motor and try again. If the error is still present then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor is only turning slowly when I press the throttle&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The symptom of the motor turning slowly is almost certainly caused by a missing or inverted encoder signal. The encoder output consists of two channels : A and B. The signal from these is used by the microcontroller to determine the speed and direction of rotation of the motor. If for example the A and B signals are swapped then the inverter will be trying to drive the motor in one direction and the encoder signal will tell it the motor is running backwards hence this behavior. If either or both signals are missing then the microcontroller has no speed or direction information and the same symptoms result.&lt;br /&gt;
&lt;br /&gt;
In some versions of the LDU the encoder wiring is swapped.  If the motor will only turn slowly, try swapping the two encoder wires.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor turns but is not smooth&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you ever have issues getting a stable spinning motor, Always plot your rpm/Fstat as if that is really jumpy it means the encoder signal is dirty.&lt;br /&gt;
&lt;br /&gt;
Shielded cable is a must, without it the encoder pulses are not clean enough.  Use either the factory harness or cat5e/cat6 shielded cable.  The shield is connected on the 23-pin ampseal connector but not connected on the encoder plug.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=480</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=480"/>
		<updated>2020-04-01T13:11:33Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small and large drive unit support threads of the forum&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Persistent overcurrent error&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Powerup with only 12v. No hv. Is the error there? if yes then change the sign of the parameter ocurlim. Some versions of firmware require this to be negative. Newer versions it must be positive. When testing I flip this sign to simulate an error and sometimes forget to flip it back before saving parameters.&lt;br /&gt;
&lt;br /&gt;
2)If the error is present when only 12v is applied regardless of ocurlim parameter polarity then one of 2 things are at fault. The logic board or the inverter. To determine which is the problem requires some diagnostic testing of the signals coming from the current sensors to the logic board and the value of voltage at 2 test points on the logic board.These test points may be found in the bottom right hand side of the board adjacent to R45 and R58. Using a multimeter on DC volts measure the voltage between each test point and 12v ground. At idle (no hv no throttle no run signals) a voltage of approx 1.65v should be present here. &lt;br /&gt;
&lt;br /&gt;
3) If the error occurs when starting the inverter , then remove hv , set udcsw to 0 and try to start with no hv. If the error occurs then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
4)if the error occurs only with hv present then disconnect the inverter from the motor and try again. If the error is still present then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor is only turning slowly when I press the throttle&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The symptom of the motor turning slowly is almost certainly caused by a missing or inverted encoder signal. The encoder output consists of two channels : A and B. The signal from these is used by the microcontroller to determine the speed and direction of rotation of the motor. If for example the A and B signals are swapped then the inverter will be trying to drive the motor in one direction and the encoder signal will tell it the motor is running backwards hence this behavior. If either or both signals are missing then the microcontroller has no speed or direction information and the same symptoms result.&lt;br /&gt;
&lt;br /&gt;
In some versions of the LDU the encoder wiring is swapped.  If the motor will only turn slowly, try swapping the two encoder wires.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The motor turns but is not smooth&lt;br /&gt;
&lt;br /&gt;
If you ever have issues getting a stable spinning motor, Always plot your rpm/Fstat as if that is really jumpy it means the encoder signal is dirty.&lt;br /&gt;
&lt;br /&gt;
Shielded cable is a must, without it the encoder pulses are not clean enough.  Use either the factory harness or cat5e/cat6 shielded cable.  The shield is connected on the 23-pin ampseal connector but not connected on the encoder plug.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=479</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=479"/>
		<updated>2020-04-01T13:08:26Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small and large drive unit support threads of the forum&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Persistent overcurrent error&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Powerup with only 12v. No hv. Is the error there? if yes then change the sign of the parameter ocurlim. Some versions of firmware require this to be negative. Newer versions it must be positive. When testing I flip this sign to simulate an error and sometimes forget to flip it back before saving parameters.&lt;br /&gt;
&lt;br /&gt;
2)If the error is present when only 12v is applied regardless of ocurlim parameter polarity then one of 2 things are at fault. The logic board or the inverter. To determine which is the problem requires some diagnostic testing of the signals coming from the current sensors to the logic board and the value of voltage at 2 test points on the logic board.These test points may be found in the bottom right hand side of the board adjacent to R45 and R58. Using a multimeter on DC volts measure the voltage between each test point and 12v ground. At idle (no hv no throttle no run signals) a voltage of approx 1.65v should be present here. &lt;br /&gt;
&lt;br /&gt;
3) If the error occurs when starting the inverter , then remove hv , set udcsw to 0 and try to start with no hv. If the error occurs then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
4)if the error occurs only with hv present then disconnect the inverter from the motor and try again. If the error is still present then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor is only turning slowly when I press the throttle&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The symptom of the motor turning slowly is almost certainly caused by a missing or inverted encoder signal. The encoder output consists of two channels : A and B. The signal from these is used by the microcontroller to determine the speed and direction of rotation of the motor. If for example the A and B signals are swapped then the inverter will be trying to drive the motor in one direction and the encoder signal will tell it the motor is running backwards hence this behavior. If either or both signals are missing then the microcontroller has no speed or direction information and the same symptoms result.&lt;br /&gt;
&lt;br /&gt;
In some versions of the LDU the encoder wiring is swapped.  If the motor will only turn slowly, try swapping the two encoder wires&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=478</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=478"/>
		<updated>2020-04-01T13:08:15Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small and large drive unit support threads of the forum&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Persistent overcurrent error&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Powerup with only 12v. No hv. Is the error there? if yes then change the sign of the parameter ocurlim. Some versions of firmware require this to be negative. Newer versions it must be positive. When testing I flip this sign to simulate an error and sometimes forget to flip it back before saving parameters.&lt;br /&gt;
&lt;br /&gt;
2)If the error is present when only 12v is applied regardless of ocurlim parameter polarity then one of 2 things are at fault. The logic board or the inverter. To determine which is the problem requires some diagnostic testing of the signals coming from the current sensors to the logic board and the value of voltage at 2 test points on the logic board.These test points may be found in the bottom right hand side of the board adjacent to R45 and R58. Using a multimeter on DC volts measure the voltage between each test point and 12v ground. At idle (no hv no throttle no run signals) a voltage of approx 1.65v should be present here. &lt;br /&gt;
&lt;br /&gt;
3) If the error occurs when starting the inverter , then remove hv , set udcsw to 0 and try to start with no hv. If the error occurs then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
4)if the error occurs only with hv present then disconnect the inverter from the motor and try again. If the error is still present then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The motor only turning slowly when I press the throttle&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The symptom of the motor turning slowly is almost certainly caused by a missing or inverted encoder signal. The encoder output consists of two channels : A and B. The signal from these is used by the microcontroller to determine the speed and direction of rotation of the motor. If for example the A and B signals are swapped then the inverter will be trying to drive the motor in one direction and the encoder signal will tell it the motor is running backwards hence this behavior. If either or both signals are missing then the microcontroller has no speed or direction information and the same symptoms result.&lt;br /&gt;
&lt;br /&gt;
In some versions of the LDU the encoder wiring is swapped.  If the motor will only turn slowly, try swapping the two encoder wires&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=477</id>
		<title>Trouble Shooting</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Trouble_Shooting&amp;diff=477"/>
		<updated>2020-04-01T12:14:29Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&amp;#039;&amp;#039;&amp;#039;  Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small an...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;Trouble Shooting the Tesla Board&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Below are procedures for trouble shooting common errors with the Tesla board.  More information can be found on the small and large drive unit support threads of the forum&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Persistent overcurrent error&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1) Powerup with only 12v. No hv. Is the error there? if yes then change the sign of the parameter ocurlim. Some versions of firmware require this to be negative. Newer versions it must be positive. When testing I flip this sign to simulate an error and sometimes forget to flip it back before saving parameters.&lt;br /&gt;
&lt;br /&gt;
2)If the error is present when only 12v is applied regardless of ocurlim parameter polarity then one of 2 things are at fault. The logic board or the inverter. To determine which is the problem requires some diagnostic testing of the signals coming from the current sensors to the logic board and the value of voltage at 2 test points on the logic board.These test points may be found in the bottom right hand side of the board adjacent to R45 and R58. Using a multimeter on DC volts measure the voltage between each test point and 12v ground. At idle (no hv no throttle no run signals) a voltage of approx 1.65v should be present here. &lt;br /&gt;
&lt;br /&gt;
3) If the error occurs when starting the inverter , then remove hv , set udcsw to 0 and try to start with no hv. If the error occurs then most likely cause is a faulty inverter power section.&lt;br /&gt;
&lt;br /&gt;
4)if the error occurs only with hv present then disconnect the inverter from the motor and try again. If the error is still present then most likely cause is a faulty inverter power section.&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Main_Page_Old&amp;diff=476</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=476"/>
		<updated>2020-04-01T12:11:40Z</updated>

		<summary type="html">&lt;p&gt;P.S.Mangelsdorf: /* Open Inverter Tesla Boards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Welcome to the openinverter.org Wiki Site.&lt;br /&gt;
&lt;br /&gt;
Everyone registered at the forum can login here with the same username and password and can make changes.&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 3|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;
= General =&lt;br /&gt;
* [[Common Inverter FAQ]] - questions common to all hardware variants&lt;br /&gt;
* [[Tesla Inverter FAQ]] - questions regarding Tesla Large Drive Units and Small Drive Units&lt;br /&gt;
&lt;br /&gt;
= Open Inverter 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;
* [[4-cell BMS]]&lt;br /&gt;
* [[Hardware Theory of Operation]]&lt;br /&gt;
* [[Sensor Board|Legacy Sensor Board]]&lt;br /&gt;
= Open Inverter Software =&lt;br /&gt;
* [[Software Theory of Operation]]&lt;br /&gt;
* [[CAN communication]]&lt;br /&gt;
* [[Web Interface]]&lt;br /&gt;
* [[Parameters]]&lt;br /&gt;
* [[Downloads]]&lt;br /&gt;
* [[Errors]]&lt;br /&gt;
* [[Configuration Files]]&lt;br /&gt;
* [[Battery Charging]]&lt;br /&gt;
* [[Features]]&lt;br /&gt;
&lt;br /&gt;
= Open Inverter Kits =&lt;br /&gt;
* [[Using FOC Software]]&lt;br /&gt;
* [[Schematics and Instructions]] - for the &amp;quot;vanilla&amp;quot; inverter kit.&lt;br /&gt;
* [[Nissan Leaf Gen2 Board]]&lt;br /&gt;
* [[Toyota Prius Gen2 Board]]&lt;br /&gt;
* [[Toyota Prius Gen3 Board]]&lt;br /&gt;
* [[Lexus GS450h Inverter]]&lt;br /&gt;
&lt;br /&gt;
= Open Inverter CAN std. =&lt;br /&gt;
* [[Introduction CAN STD|Introduction]]&lt;br /&gt;
* [[CAN table CAN STD|CAN table]]&lt;br /&gt;
&lt;br /&gt;
= Open Inverter Tesla Boards =&lt;br /&gt;
* [[Introduction Tesla|Introduction]]&lt;br /&gt;
* [[Files Tesla|Schematics, pcb layouts, BOMs and Gerber files]]&lt;br /&gt;
* [[Where to buy Tesla|Where to buy]]&lt;br /&gt;
* [[Support forum Tesla|Support forum]]&lt;br /&gt;
* [[Trouble Shooting|Trouble Shooting]]&lt;br /&gt;
&lt;br /&gt;
= Ford Ranger TIM inverter =&lt;br /&gt;
* [[Introduction TIM|Introduction]]&lt;br /&gt;
* [[Schematics and connector pinout]]&lt;br /&gt;
* [[Modifications to original wiring]]&lt;br /&gt;
* [https://openinverter.org/forum/viewtopic.php?f=16&amp;amp;t=186#p2349 Hardware installation]&lt;br /&gt;
* [https://openinverter.org/shop/index.php?route=product/product&amp;amp;product_id=59 Where to buy]&lt;br /&gt;
&lt;br /&gt;
= Conversion Projects =&lt;br /&gt;
* [[Legalities]]&lt;br /&gt;
* [[VW Polo 86C Conversion]]&lt;br /&gt;
* [[Touran Conversion]]&lt;br /&gt;
&lt;br /&gt;
= OEM Parts =&lt;br /&gt;
* [[Nissan Leaf BMS]]&amp;lt;!--&amp;gt; = Draft Main Page = * [[Main Page - Under Development]] &amp;lt;--&amp;gt;&lt;br /&gt;
* [[Tesla Model S/X Charger]]&lt;br /&gt;
* [[Tesla Model S/X Small Front Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Small Rear Drive Unit (&amp;quot;SDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model S/X Large Rear Drive Unit (&amp;quot;LDU&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Battery]]&lt;br /&gt;
* [[Tesla Model 3 Charger/DCDC (&amp;quot;PCS&amp;quot;)]]&lt;br /&gt;
* [[Tesla Model 3 Front Drive Unit]]&lt;br /&gt;
* [[Tesla Model 3 Rear Drive Unit]]&lt;br /&gt;
* [[Tesla CAD Models]]&lt;/div&gt;</summary>
		<author><name>P.S.Mangelsdorf</name></author>
	</entry>
</feed>