<?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=Jon+volk</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=Jon+volk"/>
	<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/Special:Contributions/Jon_volk"/>
	<updated>2026-05-01T19:39:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=1942</id>
		<title>Parameters</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=1942"/>
		<updated>2021-11-12T19:15:18Z</updated>

		<summary type="html">&lt;p&gt;Jon volk: added fweakstrt definition&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The inverter can be adapted to many kinds of motors, battery packs and driver preferences by changing parameters.&lt;br /&gt;
&lt;br /&gt;
== Motor Parameters ==&lt;br /&gt;
The parameters to adjust the inverter to the motor are boost, fweak, fslipmin, fslipmax, polepairs, fmin, fmax and numimp.&lt;br /&gt;
&lt;br /&gt;
They can be deduced from the motors nameplate or by trying which feels best. For illustration we will assume a bus voltage of 500V and a 4-pole (p=2) motor with a nominal speed of n=1450rpm@f=50Hz and 230V. With 500V DC an AC voltage of 500/1.41=355V can be generated.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;boost&#039;&#039;&#039; is the digital amplitude of the sine wave at motor startup. It is needed to overcome the motors ohmic resistance. Digital amplitude is an internal quantity. 0 means no voltage is generated at all, 37813 means the full possible voltage is generated.&lt;br /&gt;
&lt;br /&gt;
Example: boost=1700&lt;br /&gt;
&lt;br /&gt;
At full throttle an effective voltage of 1700/37813*355=16V is generated. The best way to find a feasible value is to optimize it in the finished car. Start with the default value and increase until you get a good startup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fweak&#039;&#039;&#039; is the frequency at which the full possible voltage is generated. It is also the point of the highest motor power. Beyond fweak torque will decrease to the square of frequency and thus power will decrease linear with frequency.&lt;br /&gt;
&lt;br /&gt;
A starting point for fweak is the motors nameplate:&lt;br /&gt;
&lt;br /&gt;
[[File:Fweak.png|210x210px]]&lt;br /&gt;
&lt;br /&gt;
With our illustration motor fweak=(355 V/230 V) * 50 Hz = 77 Hz. fweak can be configured lower than that resulting in more torque at the low end.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fslipmin&#039;&#039;&#039;/&#039;&#039;&#039;fslipmax&#039;&#039;&#039; is the slip frequency at which the motor is run at minimum/maximum throttle. fslipmin is set to the motors optimal slip frequency which can be deduced from the nameplate. fslipmin=f-p*n/60. With our illustration motor fslipmin=50-2*1450/60=1.66Hz. fslipmax can be set as high as breakdown torque which is not found on the nameplate. So its best found experimental starting with 2*fslipmin. If set too high the motor will start to rock violently on startup, possibly tripping the over current limit.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;polepairs&#039;&#039;&#039; is set to p, 2 in our example.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fmin&#039;&#039;&#039; should be set just below fslipmin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fmax&#039;&#039;&#039; is used to limit the speed of the motor. The default 200Hz would result in a maximum speed of about 6000rpm.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ampmin&#039;&#039;&#039; Is the minimum relative amplitude fed to the motor. At very low amplitudes the motor does not generate any noticable torque and throttle travel is wasted that does nothing. Find out a good value by experimenting. &lt;br /&gt;
&lt;br /&gt;
== Inverter Parameters ==&lt;br /&gt;
&#039;&#039;&#039;pwmfrq&#039;&#039;&#039; Sets the frequency at which the IGBTs are switched on and off. The faster the switching the higher the losses in the inverter and the lower the losses in the motor. The maximum frequency is also limited by the driver boards as explained here.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pwmpol&#039;&#039;&#039; Sets the polarity of the PWM signals, active high or active low. Do not touch this parameter if you don&#039;t know what you&#039;re doing. When configured inversely it will blow up your power stage immediatly if connected to a potent power source like batteries.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;deadtime&#039;&#039;&#039; The time between switching off one IGBT and switching on the other. 28=800ns, 63=1.5µs. More values can be found in the STM32 data sheet. Make sure to test the deadtime at low power levels. Setting the deadtime too low while operating of a potent power source can blow up your power stage! &lt;br /&gt;
&lt;br /&gt;
== Parameter Reference ==&lt;br /&gt;
The following parameters currently exist to customize the controller software. Type&lt;br /&gt;
 set param &amp;lt;value&amp;gt;&lt;br /&gt;
to change it. Type&lt;br /&gt;
 get param&lt;br /&gt;
to get the current value.&lt;br /&gt;
&lt;br /&gt;
Parameters are internally stored with 5 binary fraction digits. That means there are 32 possible values after the decimal point. So when you set a value of 0.35 you might end up with 0.33. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Unit&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Min&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Max&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Default&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Motor (FOC)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|curkp&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|20000&lt;br /&gt;
|64&lt;br /&gt;
|Current controller proportional gain&lt;br /&gt;
|-&lt;br /&gt;
|curki&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|100000&lt;br /&gt;
|20000&lt;br /&gt;
|Current controller integral gain&lt;br /&gt;
|-&lt;br /&gt;
|curkifrqgain&lt;br /&gt;
|dig/Hz&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|50&lt;br /&gt;
|Current controllers integral gain frequency coefficient&lt;br /&gt;
|-&lt;br /&gt;
|fwkp&lt;br /&gt;
|&lt;br /&gt;
| -10000&lt;br /&gt;
|0&lt;br /&gt;
| -100&lt;br /&gt;
|Cross comparison field weakening controller gain&lt;br /&gt;
|-&lt;br /&gt;
|ffwstart&lt;br /&gt;
|Hz&lt;br /&gt;
| 0&lt;br /&gt;
|1000&lt;br /&gt;
| 200&lt;br /&gt;
|Starting point of field weakening controller. Below that frequency it is disabled, above it its gain is increased proportional to frequency and hits &#039;&#039;fwkp&#039;&#039; at &#039;&#039;fmax&#039;&#039;.&lt;br /&gt;
|-&lt;br /&gt;
|syncadv&lt;br /&gt;
|dig/Hz&lt;br /&gt;
| -100&lt;br /&gt;
|100&lt;br /&gt;
|10&lt;br /&gt;
|Shifts &amp;quot;syncofs&amp;quot; downwards/upwards with frequency&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Motor (sine)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|boost&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|37813&lt;br /&gt;
|1700&lt;br /&gt;
|0 Hz Boost in digit. 1000 digit ~ 2.5%&lt;br /&gt;
|-&lt;br /&gt;
|fweakstrt&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|400&lt;br /&gt;
|Fweak value at potnom &amp;lt; 35%. Can improve low speed stability and reduce oscillation when set higher than fweak.  Set equal to fweak to disable. &lt;br /&gt;
|-&lt;br /&gt;
|fweak&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|67&lt;br /&gt;
|Frequency where V/Hz reaches its peak&lt;br /&gt;
|-&lt;br /&gt;
|fconst&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|400&lt;br /&gt;
|Frequency where slip frequency is derated to form a constant power region. Only has an effect when &amp;lt; fweak&lt;br /&gt;
|-&lt;br /&gt;
|udcnom&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|0&lt;br /&gt;
|Nominal voltage for fweak and boost. fweak and boost are scaled to the actual dc voltage. 0=don&#039;t scale&lt;br /&gt;
|-&lt;br /&gt;
|fslipmin&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|1&lt;br /&gt;
|Slip frequency at minimum throttle&lt;br /&gt;
|-&lt;br /&gt;
|fslipmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|3&lt;br /&gt;
|Slip frequency at maximum throttle&lt;br /&gt;
|-&lt;br /&gt;
|fslipconstmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|10&lt;br /&gt;
|5&lt;br /&gt;
|Slip frequency at maximum throttle and fconst&lt;br /&gt;
|-&lt;br /&gt;
|fmin&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|1&lt;br /&gt;
|Below this frequency no voltage is generated&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Motor (common)&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|polepairs&lt;br /&gt;
|&lt;br /&gt;
|1&lt;br /&gt;
|16&lt;br /&gt;
|2&lt;br /&gt;
|Pole pairs of motor (e.g. 4-pole motor: 2 pole pairs)&lt;br /&gt;
|-&lt;br /&gt;
|respolepairs&lt;br /&gt;
|&lt;br /&gt;
|1&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|Pole pairs of resolver (normally same as polepairs of motor, but sometimes 1)&lt;br /&gt;
|-&lt;br /&gt;
|sincosofs&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4096&lt;br /&gt;
|2048&lt;br /&gt;
|Mid point of sin/cos chip&lt;br /&gt;
|-&lt;br /&gt;
|encflt&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|16&lt;br /&gt;
|4&lt;br /&gt;
|Filter constant between pulse encoder and speed calculation. Makes up for slightly uneven pulse distribution&lt;br /&gt;
|-&lt;br /&gt;
|encmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|4&lt;br /&gt;
|0&lt;br /&gt;
|0=single channel encoder, 1=quadrature encoder,&lt;br /&gt;
2=quadrature /w index pulse, &lt;br /&gt;
3=SPI (deprecated),&lt;br /&gt;
4=Resolver,&lt;br /&gt;
5=sin/cos chip&lt;br /&gt;
|-&lt;br /&gt;
|fmax&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|200&lt;br /&gt;
|At this frequency rev limiting kicks in&lt;br /&gt;
|-&lt;br /&gt;
|numimp&lt;br /&gt;
|Imp/rev&lt;br /&gt;
|8&lt;br /&gt;
|8192&lt;br /&gt;
|60&lt;br /&gt;
|Pulse encoder pulses per turn&lt;br /&gt;
|-&lt;br /&gt;
|dirchrpm&lt;br /&gt;
|rpm&lt;br /&gt;
|0&lt;br /&gt;
|2000&lt;br /&gt;
|100&lt;br /&gt;
|Motor speed at which direction change is allowed&lt;br /&gt;
|-&lt;br /&gt;
|dirmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|1&lt;br /&gt;
|0=button (momentary pulse selects forward/reverse), 1=switch (forward or reverse signal must be constantly high)&lt;br /&gt;
|-&lt;br /&gt;
|syncofs&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|65535&lt;br /&gt;
|0&lt;br /&gt;
|Phase shift of sine wave after receiving index pulse&lt;br /&gt;
|-&lt;br /&gt;
|snsm&lt;br /&gt;
|&lt;br /&gt;
|2&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|Motor temperature sensor. 12=KTY83, 13=KTY84, 14=Leaf, 15=KTY81&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Inverter&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|pwmfrq&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|2&lt;br /&gt;
|PWM frequency. 0=17.6kHz, 1=8.8kHz, 2=4.4kHz, 3=2.2kHz. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|pwmpol&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|PWM polarity. 0=active high, 1=active low. DO NOT PLAY WITH THIS!&lt;br /&gt;
Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|deadtime&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|255&lt;br /&gt;
|28&lt;br /&gt;
|Deadtime between highside and lowside pulse. 28=800ns, 56=1.5µs. Not always linear, consult STM32 manual. Needs PWM restart&lt;br /&gt;
|-&lt;br /&gt;
|ocurlim&lt;br /&gt;
|A&lt;br /&gt;
| -65535&lt;br /&gt;
|65535&lt;br /&gt;
|100&lt;br /&gt;
|Hardware over current limit. RMS-current times sqrt(2) + some slack. Set negative if il1gain and il2gain are negative.&lt;br /&gt;
|-&lt;br /&gt;
|minpulse&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|1000&lt;br /&gt;
|Narrowest or widest pulse, all other mapped to full off or full on, respectively&lt;br /&gt;
|-&lt;br /&gt;
|il1gain&lt;br /&gt;
|dig/A&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4.7&lt;br /&gt;
|Digits per A of current sensor L1&lt;br /&gt;
|-&lt;br /&gt;
|il2gain&lt;br /&gt;
|dig/A&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4.7&lt;br /&gt;
|Digits per A of current sensor L2&lt;br /&gt;
|-&lt;br /&gt;
|udcgain&lt;br /&gt;
|dig/V&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|6.15&lt;br /&gt;
|Digits per V of DC link&lt;br /&gt;
|-&lt;br /&gt;
|udcofs&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|0&lt;br /&gt;
|DC link 0V offset&lt;br /&gt;
|-&lt;br /&gt;
|udclim&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|540&lt;br /&gt;
|High voltage at which the PWM is shut down&lt;br /&gt;
|-&lt;br /&gt;
|snshs&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|Heatsink temperature sensor. 0=JCurve, 1=Semikron, 2=MBB600, 3=KTY81, 4=PT1000, 5=NTCK45+2k2, 6=Leaf&lt;br /&gt;
|-&lt;br /&gt;
|pinswap&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|7&lt;br /&gt;
|0&lt;br /&gt;
|Swap pins (only &amp;quot;FOC&amp;quot; software). Multiple bits can be set. 1=Swap Current Inputs, 2=Swap Resolver sin/cos, 4=Swap PWM output 1/3&lt;br /&gt;
0001 = 1 Swap Currents ony&lt;br /&gt;
&lt;br /&gt;
0010 = 2 Swap Resolver only&lt;br /&gt;
&lt;br /&gt;
0011 = 3 Swap Resolver and Currents&lt;br /&gt;
&lt;br /&gt;
0100 = 4 Swap PWM 1 and 3 only&lt;br /&gt;
&lt;br /&gt;
0101 = 5 Swap PWM 1 and 3 and Currents&lt;br /&gt;
&lt;br /&gt;
0110 = 6 Swap PWM 1 and 3 and Resolver&lt;br /&gt;
&lt;br /&gt;
0111 = 7 Swap PWM 1 and 3 and Resolver and Currents&lt;br /&gt;
&lt;br /&gt;
1xxx likewise with PWM 2 and 3&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Derating&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|bmslimhigh&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|Positive throttle limit on BMS under voltage&lt;br /&gt;
|-&lt;br /&gt;
|bmslimlow&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -1&lt;br /&gt;
|Regen limit on BMS over voltage&lt;br /&gt;
|-&lt;br /&gt;
|udcmin&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|450&lt;br /&gt;
|Minimum battery voltage&lt;br /&gt;
|-&lt;br /&gt;
|udcmax&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|520&lt;br /&gt;
|Maximum battery voltage&lt;br /&gt;
|-&lt;br /&gt;
|iacmax&lt;br /&gt;
|A&lt;br /&gt;
|0&lt;br /&gt;
|5000&lt;br /&gt;
|5000&lt;br /&gt;
|Maximum peak AC current&lt;br /&gt;
|-&lt;br /&gt;
|idcmax&lt;br /&gt;
|A&lt;br /&gt;
|0&lt;br /&gt;
|5000&lt;br /&gt;
|5000&lt;br /&gt;
|Maximum DC input current&lt;br /&gt;
|-&lt;br /&gt;
|idcmin&lt;br /&gt;
|A&lt;br /&gt;
| -5000&lt;br /&gt;
|0&lt;br /&gt;
| -5000&lt;br /&gt;
|Maximum DC output current (regen)&lt;br /&gt;
|-&lt;br /&gt;
|throtmax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Throttle limit&lt;br /&gt;
|-&lt;br /&gt;
|throtmin&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -100&lt;br /&gt;
|Throttle regen limit&lt;br /&gt;
|-&lt;br /&gt;
|ifltrise&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|32&lt;br /&gt;
|10&lt;br /&gt;
|Controls how quickly slip and amplitude recover. The greater the value, the slower&lt;br /&gt;
|-&lt;br /&gt;
|ifltfall&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|32&lt;br /&gt;
|3&lt;br /&gt;
|Controls how quickly slip and amplitude are reduced on over current. The greater the value, the slower&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Charger&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|chargemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|4&lt;br /&gt;
|0&lt;br /&gt;
|0=Off, 3=Boost, 4=Buck&lt;br /&gt;
|-&lt;br /&gt;
|chargecur&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|50&lt;br /&gt;
|0&lt;br /&gt;
|Charge current setpoint. Boost mode: charger INPUT current. Buck mode: charger output current&lt;br /&gt;
|-&lt;br /&gt;
|chargekp&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|80&lt;br /&gt;
|Charge controller proportional gain. Lower if you have oscillation, raise to get best power factor.&lt;br /&gt;
|-&lt;br /&gt;
|chargeki&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|10&lt;br /&gt;
|Charge controller integral gain.&lt;br /&gt;
|-&lt;br /&gt;
|chargeflt&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|10&lt;br /&gt;
|8&lt;br /&gt;
|Charge current filtering. Raise if you have oscillations&lt;br /&gt;
|-&lt;br /&gt;
|chargepwmin&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|99&lt;br /&gt;
|0&lt;br /&gt;
|Lowest charge mode duty cycle. This is needed for synchronous converters like in the Prius Gen2 where the lower IGBT is also active in buck mode and actually boosts the battery voltage into the bus capacitor when duty cycle is low.&lt;br /&gt;
|-&lt;br /&gt;
|chargepwmax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|99&lt;br /&gt;
|90&lt;br /&gt;
|Charge mode duty cycle limit. Especially in boost mode this makes sure you don&#039;t overvolt you IGBTs if there is no battery connected.&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Throttle&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|potmin&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|0&lt;br /&gt;
|Value of &amp;quot;pot&amp;quot; when pot isn&#039;t pressed at all&lt;br /&gt;
|-&lt;br /&gt;
|potmax&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot&amp;quot; when pot is pushed all the way in&lt;br /&gt;
|-&lt;br /&gt;
|pot2min&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot2&amp;quot; when regen pot is in 0 position&lt;br /&gt;
|-&lt;br /&gt;
|pot2max&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|4095&lt;br /&gt;
|4095&lt;br /&gt;
|Value of &amp;quot;pot2&amp;quot; when regen pot is in full on position&lt;br /&gt;
|-&lt;br /&gt;
|potmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|0=Pot 1 is throttle and pot 2 is regen strength preset&lt;br /&gt;
1=Pot 2 is proportional to pot 1 (redundancy)&lt;br /&gt;
&lt;br /&gt;
2=Throttle/regen controlled via CAN (like 0)&lt;br /&gt;
&lt;br /&gt;
3=Throttle via CAN with redundancy (like 1)&lt;br /&gt;
|-&lt;br /&gt;
|throtramp&lt;br /&gt;
|%/10ms&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Max positive throttle slew rate&lt;br /&gt;
|-&lt;br /&gt;
|throtramprpm&lt;br /&gt;
|rpm&lt;br /&gt;
|0&lt;br /&gt;
|20000&lt;br /&gt;
|20000&lt;br /&gt;
|No throttle ramping above this speed&lt;br /&gt;
|-&lt;br /&gt;
|ampmin&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|10&lt;br /&gt;
|Minimum relative sine amplitude (only &amp;quot;sine&amp;quot; software)&lt;br /&gt;
|-&lt;br /&gt;
|slipstart&lt;br /&gt;
|%&lt;br /&gt;
|10&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|% positive throttle travel at which slip is increased (only &amp;quot;sine&amp;quot; software)&lt;br /&gt;
|-&lt;br /&gt;
|throtcur&lt;br /&gt;
|A/%&lt;br /&gt;
| -10&lt;br /&gt;
|10&lt;br /&gt;
|1&lt;br /&gt;
|Motor current per % of throttle travel (only &amp;quot;FOC&amp;quot; software)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Regen&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|brknompedal&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -50&lt;br /&gt;
|Foot on brake pedal regen torque&lt;br /&gt;
|-&lt;br /&gt;
|regenramp&lt;br /&gt;
|%/10ms&lt;br /&gt;
|0.1&lt;br /&gt;
|100&lt;br /&gt;
|100&lt;br /&gt;
|Ramp speed when entering regen. E.g. when you set brkmax to 30% and regenramp to 1, it will take 300ms to arrive at brake force of -60%&lt;br /&gt;
|-&lt;br /&gt;
|brknom&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|30&lt;br /&gt;
|Range of throttle pedal travel allocated to regen&lt;br /&gt;
|-&lt;br /&gt;
|brkmax&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|30&lt;br /&gt;
|Foot-off throttle regen torque&lt;br /&gt;
|-&lt;br /&gt;
|brkcruise&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
|0&lt;br /&gt;
| -30&lt;br /&gt;
|Maximum regen of cruise control&lt;br /&gt;
|-&lt;br /&gt;
|brkrampstr&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|400&lt;br /&gt;
|10&lt;br /&gt;
|Below this frequency the regen torque is reduced linearly with the frequency&lt;br /&gt;
|-&lt;br /&gt;
|brkout&lt;br /&gt;
|%&lt;br /&gt;
| -100&lt;br /&gt;
| -1&lt;br /&gt;
| -50&lt;br /&gt;
|Activate brake light output at this amount of braking force&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Automation&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|idlespeed&lt;br /&gt;
|rpm&lt;br /&gt;
| -100&lt;br /&gt;
|1000&lt;br /&gt;
| -100&lt;br /&gt;
|Motor idle speed. Set to -100 to disable idle function. When idle speed controller is enabled, brake pedal must be pressed on start.&lt;br /&gt;
|-&lt;br /&gt;
|idlethrotlim&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|50&lt;br /&gt;
|Throttle limit of idle speed controller&lt;br /&gt;
|-&lt;br /&gt;
|idlemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|Motor idle speed mode. 0=always run idle speed controller, 1=only run it when brake pedal is released, 2=like 1 but only when cruise switch is on&lt;br /&gt;
|-&lt;br /&gt;
|speedkp&lt;br /&gt;
|Hz&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|1&lt;br /&gt;
|Speed controller gain (Cruise and idle speed). Decrease if speed oscillates. Increase for faster load regulation&lt;br /&gt;
|-&lt;br /&gt;
|speedflt&lt;br /&gt;
|dig&lt;br /&gt;
|0&lt;br /&gt;
|16&lt;br /&gt;
|1&lt;br /&gt;
|Filter before cruise controller&lt;br /&gt;
|-&lt;br /&gt;
|cruisemode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|0=button (set when button pressed, reset with brake pedal), 1=switch (set when switched on, reset when switched off or brake pedal)&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Contactor Control&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|udcsw&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|330&lt;br /&gt;
|Voltage at which the DC contactor is allowed to close&lt;br /&gt;
|-&lt;br /&gt;
|udcswbuck&lt;br /&gt;
|V&lt;br /&gt;
|0&lt;br /&gt;
|1000&lt;br /&gt;
|540&lt;br /&gt;
|Voltage at which the DC contactor is allowed to close in buck charge mode&lt;br /&gt;
|-&lt;br /&gt;
|tripmode&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|What to do with relays at a shutdown event. 0=All off, 1=Keep DC switch closed, 2=close precharge relay&lt;br /&gt;
|-&lt;br /&gt;
|bootprec&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|Engage precharge relay in boot loader. Introduced for enabling Prius Gen3 DC/DC converter when precharge relay is released. Use together with tripmode=2&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Auxillary PWM&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|pwmfunc&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|2&lt;br /&gt;
|0&lt;br /&gt;
|Quantity that controls the PWM output. 0=tmpm, 1=tmphs, 2=speed&lt;br /&gt;
|-&lt;br /&gt;
|pwmgain&lt;br /&gt;
|dig/C&lt;br /&gt;
|0&lt;br /&gt;
|65535&lt;br /&gt;
|100&lt;br /&gt;
|Gain of PWM output&lt;br /&gt;
|-&lt;br /&gt;
|pwmofs&lt;br /&gt;
|dig&lt;br /&gt;
| -65535&lt;br /&gt;
|65535&lt;br /&gt;
|0&lt;br /&gt;
|Offset of PWM output, 4096=full on&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Communication&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|canspeed&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|3&lt;br /&gt;
|0&lt;br /&gt;
|Baud rate of CAN interface 0=250k, 1=500k, 2=800k, 3=1M&lt;br /&gt;
|-&lt;br /&gt;
|canperiod&lt;br /&gt;
|&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|0&lt;br /&gt;
|0=send configured CAN messages every 100ms, 1=every 10ms&lt;br /&gt;
|-&lt;br /&gt;
|nodeid&lt;br /&gt;
|&lt;br /&gt;
|1&lt;br /&gt;
|63&lt;br /&gt;
|1&lt;br /&gt;
|Node ID for CAN SDO messages and for selective enabling of UART when sharing one ESP8266 module between multiple processors.&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;6&amp;quot; |&#039;&#039;&#039;Testing&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|fslipspnt&lt;br /&gt;
|Hz&lt;br /&gt;
| -100&lt;br /&gt;
|100&lt;br /&gt;
|0&lt;br /&gt;
|Slip setpoint in mode 2. Written by software in mode 1&lt;br /&gt;
|-&lt;br /&gt;
|ampnom&lt;br /&gt;
|%&lt;br /&gt;
|0&lt;br /&gt;
|100&lt;br /&gt;
|0&lt;br /&gt;
|Nominal amplitude in mode 2. Written by software in mode 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Spot values ==&lt;br /&gt;
The following values are available for diagnostic purposes. Type&lt;br /&gt;
 get &lt;br /&gt;
to get the current value. To read more then one you can provide a list like&lt;br /&gt;
 get il1,il2,udc&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Unit&#039;&#039;&#039;&lt;br /&gt;
|&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|version&lt;br /&gt;
|&lt;br /&gt;
|Firmware version&lt;br /&gt;
|-&lt;br /&gt;
|hwver&lt;br /&gt;
|&lt;br /&gt;
|Hardware version&lt;br /&gt;
|-&lt;br /&gt;
|opmode&lt;br /&gt;
|&lt;br /&gt;
|Operating mode. 0=Off, 1=Run, 2=Manual_run, 3=Boost, 4=Buck, 5=Sine, 6=2 Phase sine&lt;br /&gt;
|-&lt;br /&gt;
|lasterr&lt;br /&gt;
|&lt;br /&gt;
|Last error message&lt;br /&gt;
|-&lt;br /&gt;
|udc&lt;br /&gt;
|V&lt;br /&gt;
|DC link voltage&lt;br /&gt;
|-&lt;br /&gt;
|uac&lt;br /&gt;
|V&lt;br /&gt;
|Calculated AC voltage&lt;br /&gt;
|-&lt;br /&gt;
|idc&lt;br /&gt;
|A&lt;br /&gt;
|Calculated DC current&lt;br /&gt;
|-&lt;br /&gt;
|il1&lt;br /&gt;
|A&lt;br /&gt;
|AC current L1&lt;br /&gt;
|-&lt;br /&gt;
|il2&lt;br /&gt;
|A&lt;br /&gt;
|AC current L2&lt;br /&gt;
|-&lt;br /&gt;
|il1rms&lt;br /&gt;
|A&lt;br /&gt;
|RMS current L1&lt;br /&gt;
|-&lt;br /&gt;
|il2rms&lt;br /&gt;
|A&lt;br /&gt;
|RMS current L2&lt;br /&gt;
|-&lt;br /&gt;
|ilmax&lt;br /&gt;
|A&lt;br /&gt;
|Calculated max of il1, il2, il3&lt;br /&gt;
|-&lt;br /&gt;
|boostcalc&lt;br /&gt;
|A&lt;br /&gt;
|DC link adjusted boost setting&lt;br /&gt;
|-&lt;br /&gt;
|fweakcalc&lt;br /&gt;
|A&lt;br /&gt;
|DC link adjusted fweak setting&lt;br /&gt;
|-&lt;br /&gt;
|fstat&lt;br /&gt;
|Hz&lt;br /&gt;
|Stator frequency&lt;br /&gt;
|-&lt;br /&gt;
|speed&lt;br /&gt;
|rpm&lt;br /&gt;
|Motor speed&lt;br /&gt;
|-&lt;br /&gt;
|cruisespeed&lt;br /&gt;
|rpm&lt;br /&gt;
|Motor RPM set point for cruise control if cruisemode=CAN&lt;br /&gt;
|-&lt;br /&gt;
|turns&lt;br /&gt;
|&lt;br /&gt;
|Number of turns the motor completed since power up&lt;br /&gt;
|-&lt;br /&gt;
|amp&lt;br /&gt;
|dig&lt;br /&gt;
|Sine amplitude, 37813=max&lt;br /&gt;
|-&lt;br /&gt;
|angle&lt;br /&gt;
|°&lt;br /&gt;
|Motor rotor angle, 0-360°. When using the SINE software, the slip is added to the rotor position.&lt;br /&gt;
|-&lt;br /&gt;
|pot&lt;br /&gt;
|dig&lt;br /&gt;
|Pot value, 4095=max&lt;br /&gt;
|-&lt;br /&gt;
|pot2&lt;br /&gt;
|dig&lt;br /&gt;
|Regen Pot value, 4095=max&lt;br /&gt;
|-&lt;br /&gt;
|potnom&lt;br /&gt;
|%&lt;br /&gt;
|Scaled pot value, 0 accel&lt;br /&gt;
|-&lt;br /&gt;
|dir&lt;br /&gt;
|&lt;br /&gt;
|Rotation direction. -1=REV, 0=Neutral, 1=FWD&lt;br /&gt;
|-&lt;br /&gt;
|tmphs&lt;br /&gt;
|°C&lt;br /&gt;
|Heatsink temperature&lt;br /&gt;
|-&lt;br /&gt;
|tmpm&lt;br /&gt;
|°C&lt;br /&gt;
|Motor temperature&lt;br /&gt;
|-&lt;br /&gt;
|uaux&lt;br /&gt;
|V&lt;br /&gt;
|Auxiliary voltage (i.e. 12V system). Measured on pin 11 (mprot)&lt;br /&gt;
|-&lt;br /&gt;
|pwmio&lt;br /&gt;
|&lt;br /&gt;
|raw state of PWM outputs at power up&lt;br /&gt;
|-&lt;br /&gt;
|canio&lt;br /&gt;
|&lt;br /&gt;
|Digital IO bits received via [[CAN communication#Controlling Digital IO via CAN|CAN]]&lt;br /&gt;
|-&lt;br /&gt;
|din_cruise&lt;br /&gt;
|&lt;br /&gt;
|Cruise Control. This pin activates the cruise control with the current speed. Pressing again updates the speed set point.&lt;br /&gt;
|-&lt;br /&gt;
|din_start&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;start&amp;quot;. This pin starts inverter operation&lt;br /&gt;
|-&lt;br /&gt;
|din_brake&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;brake&amp;quot;. This pin sets maximum regen torque (brknompedal). Cruise control is disabled.&lt;br /&gt;
|-&lt;br /&gt;
|din_mprot&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;motor protection switch&amp;quot;. Shuts down the inverter when =0&lt;br /&gt;
|-&lt;br /&gt;
|din_forward&lt;br /&gt;
|&lt;br /&gt;
|Direction forward&lt;br /&gt;
|-&lt;br /&gt;
|din_reverse&lt;br /&gt;
|&lt;br /&gt;
|Direction backward&lt;br /&gt;
|-&lt;br /&gt;
|din_emcystop&lt;br /&gt;
|&lt;br /&gt;
|State of digital input &amp;quot;emergency stop&amp;quot;. Shuts down the inverter when =0&lt;br /&gt;
|-&lt;br /&gt;
|din_ocur&lt;br /&gt;
|&lt;br /&gt;
|Over current detected&lt;br /&gt;
|-&lt;br /&gt;
|din_bms&lt;br /&gt;
|&lt;br /&gt;
|BMS over voltage/under voltage&lt;br /&gt;
|-&lt;br /&gt;
|cpuload&lt;br /&gt;
|%&lt;br /&gt;
|CPU load for everything except communication&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Tuning Guide ==&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 100 point 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 100 point increments until you get oscillation. Then return to last good value&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
If car feels sluggish with full throttle you have to add more slip.&lt;br /&gt;
&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>Jon volk</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1725</id>
		<title>BMW I3 Fast Charging LIM Module</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=BMW_I3_Fast_Charging_LIM_Module&amp;diff=1725"/>
		<updated>2021-09-28T00:57:01Z</updated>

		<summary type="html">&lt;p&gt;Jon volk: /* Connectors and Pinouts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The BMW LIM module is a CCS, CHAdeMO and AC charging controller. It is used to communicate between the vehicle and the public charging infrastructure, to allow fast charging to occur.&lt;br /&gt;
&lt;br /&gt;
As these can be found affordably on eBay and from auto wreckers, they have been pursued as an open-source charger-interface project.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
[https://openinverter.org/forum/viewtopic.php?t=1196 Forum discussion]&lt;br /&gt;
&lt;br /&gt;
[https://github.com/damienmaguire/BMW-i3-CCS github.com/damienmaguire/BMW-i3-CCS]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/tree/main/CAN_Logs CAN logs]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/Stm32-vcu/blob/ACDC_LIM/src/i3LIM.cpp STM32 VCU software]&lt;br /&gt;
&lt;br /&gt;
&amp;gt; [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
[https://openinverter.org/forum/download/file.php?id=9509 BMW I3 HV components]&lt;br /&gt;
&lt;br /&gt;
[http://tesla.o.auroraobjects.eu/Design_Guide_Combined_Charging_System_V3_1_1.pdf Design Guide for Combined Charging System (2015)]&lt;br /&gt;
&lt;br /&gt;
== LIM versions ==&lt;br /&gt;
Only AC_DCO versions work for CCS. (Check if you have a MAC address on the label!) &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+LIM versions&lt;br /&gt;
!SN&lt;br /&gt;
!IEC 61851&lt;br /&gt;
J1772 (AC)&lt;br /&gt;
!DIN 70121&lt;br /&gt;
!ISO 15118&lt;br /&gt;
!ISO 15118-20&lt;br /&gt;
!Cars&lt;br /&gt;
!Used until&lt;br /&gt;
!Tested&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 827&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 346 820&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 353 646&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2014&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 380 352&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Nov 2015&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 6 805 847&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|Jul 2016&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 494 498 &lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|2018?&lt;br /&gt;
|x&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 470 199&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|BMW i3&lt;br /&gt;
|?&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|61 35 9 454 319&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|x&lt;br /&gt;
|?&lt;br /&gt;
|BMW i3&lt;br /&gt;
Mini cooper SE&lt;br /&gt;
|now&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
The LIM&#039;s are available new from BMW spare parts suppliers for € 240 but there might be some programming/codeing necessary before the unit behaves like the ones used during development of the solution. &lt;br /&gt;
&lt;br /&gt;
=== Power Limits ===&lt;br /&gt;
The limits for pre 2017/26 (Week 26 of 2017) are 0V-500V 0A-250A, post 2017/27 (Week 27 of 2017) 0V-1000V  -500A-+500A. &lt;br /&gt;
&lt;br /&gt;
This probably indicates when they moved from DIN 70121 only to ISO 15118. &lt;br /&gt;
&lt;br /&gt;
==Connectors and Pinouts==&lt;br /&gt;
&lt;br /&gt;
[[File:BMW_I3_CCS_Labelled.png|thumb|BMW i3 LIM CCS Charging Module]]All connectors are available at https://www.auto-click.co.uk/ worldwide.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Connector Key (left to right) &lt;br /&gt;
!Label&lt;br /&gt;
!Description&lt;br /&gt;
!Compatible Plugs&lt;br /&gt;
|-&lt;br /&gt;
|4B&lt;br /&gt;
|12 Pin Connector&lt;br /&gt;
|BMW 61138373632&lt;br /&gt;
Audi 4E0 972 713&lt;br /&gt;
&lt;br /&gt;
TE 1534152-1 / 1534151-1&lt;br /&gt;
|-&lt;br /&gt;
|3B&lt;br /&gt;
| 8 Pin Connector (CHAdeMO models only)&lt;br /&gt;
|BMW 61138364624&lt;br /&gt;
&lt;br /&gt;
Audi 4F0 972 708&lt;br /&gt;
&lt;br /&gt;
TE 1-1534229-1&lt;br /&gt;
|-&lt;br /&gt;
| 1B&lt;br /&gt;
|16 Pin Connector&lt;br /&gt;
|Hirschmann 805-587-545&lt;br /&gt;
|-&lt;br /&gt;
|2B&lt;br /&gt;
|6 Pin Connector&lt;br /&gt;
| BMW 61138383300&lt;br /&gt;
Audi 7M0 973 119&lt;br /&gt;
&lt;br /&gt;
TE 1-967616-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
| Replacement Pins&lt;br /&gt;
|5-962885-1&lt;br /&gt;
|-&lt;br /&gt;
|X&lt;br /&gt;
|Rubber Seal&lt;br /&gt;
|1-967067-1&lt;br /&gt;
|}&lt;br /&gt;
[[File:CCS setup LIM 2-03.png|none|thumb|800x800px|LIM pinout]]&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
1B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|1B-1&lt;br /&gt;
|  -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-2&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-3&lt;br /&gt;
|LED_M&lt;br /&gt;
|Lighting Charge Socket? (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|1B-4&lt;br /&gt;
|LOCK_MOT+&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-5&lt;br /&gt;
|LOCK_MOT-&lt;br /&gt;
|Charge Inlet Lock Motor&lt;br /&gt;
|-&lt;br /&gt;
|1B-6&lt;br /&gt;
| CAN_H&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
| 1B-7&lt;br /&gt;
|CAN_L&lt;br /&gt;
|Powertrain CAN&lt;br /&gt;
|-&lt;br /&gt;
|1B-8&lt;br /&gt;
|IGN&lt;br /&gt;
|Wake up signal +12V (ignition, contact 15)&lt;br /&gt;
|-&lt;br /&gt;
|1B-9&lt;br /&gt;
|VCC&lt;br /&gt;
|Constant Power +12V&lt;br /&gt;
|-&lt;br /&gt;
|1B-10&lt;br /&gt;
|GND&lt;br /&gt;
|Ground&lt;br /&gt;
|-&lt;br /&gt;
|1B-11&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-12&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-13&lt;br /&gt;
| -&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1B-14&lt;br /&gt;
| -&lt;br /&gt;
|Internally connected to GND&lt;br /&gt;
|-&lt;br /&gt;
|1B-15&lt;br /&gt;
|CHARGE_E&lt;br /&gt;
|Goes to KLE. Guessing this is charge enable or drive interlock signal?&lt;br /&gt;
|-&lt;br /&gt;
|1B-16&lt;br /&gt;
|LOCK_FB&lt;br /&gt;
|Charge Inlet Lock Feedback (1k unlocked, 11k locked)&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+2B Pinout:&lt;br /&gt;
!Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|2B-1&lt;br /&gt;
|CP&lt;br /&gt;
|Pilot (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-2&lt;br /&gt;
|PP&lt;br /&gt;
|Proxy (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-3&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 4&lt;br /&gt;
|-&lt;br /&gt;
|2B-4&lt;br /&gt;
|Jumper&lt;br /&gt;
|Connected to Pin 3&lt;br /&gt;
|-&lt;br /&gt;
|2B-5&lt;br /&gt;
|GND&lt;br /&gt;
|Ground (Charge Inlet)&lt;br /&gt;
|-&lt;br /&gt;
|2B-6&lt;br /&gt;
|&lt;br /&gt;
|US CCS1 version connected to 2B-2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
3B Pinout:&lt;br /&gt;
&lt;br /&gt;
- N/A (for CHAdeMO only)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+4B Pinout:&lt;br /&gt;
! Pin #&lt;br /&gt;
!Function&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|4B-1&lt;br /&gt;
| POS_CONT+&lt;br /&gt;
|Positive HV Contactor Control (Contactor coil resistance needs to be ~15 ohms)&lt;br /&gt;
|-&lt;br /&gt;
|4B-2&lt;br /&gt;
|NEG_CONT+&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-3&lt;br /&gt;
|POS_CONT-&lt;br /&gt;
|Positive HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-4&lt;br /&gt;
|NEG_CONT-&lt;br /&gt;
|Negative HV Contactor Control&lt;br /&gt;
|-&lt;br /&gt;
|4B-5&lt;br /&gt;
|U_HV_DC&lt;br /&gt;
|Charge Inlet DC Voltage (current input 3-20mA?)&lt;br /&gt;
|-&lt;br /&gt;
|4B-6&lt;br /&gt;
|LED_RT&lt;br /&gt;
|Red charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-7&lt;br /&gt;
|LED_GN&lt;br /&gt;
|Green charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-8&lt;br /&gt;
|LED_BL&lt;br /&gt;
|Blue charge Status Light (12V RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-9&lt;br /&gt;
|LED_GND&lt;br /&gt;
|Charge Status Light Ground (common cathode of RGB LED)&lt;br /&gt;
|-&lt;br /&gt;
|4B-10&lt;br /&gt;
|COV_MOT-&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-11&lt;br /&gt;
|COV_MOT+&lt;br /&gt;
|Charge Inlet Cover Motor (Not necessary)&lt;br /&gt;
|-&lt;br /&gt;
|4B-12&lt;br /&gt;
|COV_FB&lt;br /&gt;
|Charge Inlet Cover Feedback (connect to GND to simulate open cover)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connector for BMW i3 CCS plug locking actuator is BMW part number 12527549033. Pins and seals should be the same as used on the LIM module. &lt;br /&gt;
&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
[[File:CCS setup LIM-01.png|thumb|1000x1000px|alt=|Wiring LIM electric vehicle charge controller|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Required CAN messages ==&lt;br /&gt;
A DBC CAN database file can be found here: [https://github.com/damienmaguire/BMW-i3-CCS/blob/main/i3_LIM_dbc1.dbc I3 LIM CAN dbc1]&lt;br /&gt;
&lt;br /&gt;
This list has to be cleaned up once we know which messages are actually necessary for the LIM.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Power Train CAN messages [500kbps]&lt;br /&gt;
!ID&lt;br /&gt;
!Function&lt;br /&gt;
!interval&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|0x112&lt;br /&gt;
|BMS msg.&lt;br /&gt;
|10ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x1A1&lt;br /&gt;
|Vehicle speed&lt;br /&gt;
|20ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E9&lt;br /&gt;
|Main LIM control&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x431&lt;br /&gt;
|Battery info&lt;br /&gt;
|200ms&lt;br /&gt;
|needed but does not control anything&lt;br /&gt;
|-&lt;br /&gt;
|0x03C&lt;br /&gt;
|Vehicle status&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2A0&lt;br /&gt;
|Central locking&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x397&lt;br /&gt;
|OBD&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3F9&lt;br /&gt;
|Engine info&lt;br /&gt;
|200ms&lt;br /&gt;
|Rex?&lt;br /&gt;
|-&lt;br /&gt;
|0x3A0&lt;br /&gt;
|Vehicle condition&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x330&lt;br /&gt;
|Range info&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x432&lt;br /&gt;
|BMS SoC&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x51A&lt;br /&gt;
|Network management&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x540&lt;br /&gt;
|Network management 2&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x512&lt;br /&gt;
|Network management edme&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x560&lt;br /&gt;
|Network management kombi&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x510&lt;br /&gt;
|Network management zgw&lt;br /&gt;
|200ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x328&lt;br /&gt;
|Counter&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x3E8&lt;br /&gt;
|OBD reset&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FA&lt;br /&gt;
|Lim DC charge command 3.&lt;br /&gt;
|1s&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x12F&lt;br /&gt;
|Wake up&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2FC&lt;br /&gt;
|Charge flap control&lt;br /&gt;
|100ms&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|0x2F1&lt;br /&gt;
|Lim DC charge command 2.&lt;br /&gt;
|100ms&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== LIM peripheral boards ==&lt;br /&gt;
&lt;br /&gt;
=== Isolated DC charge inlet voltage sense board ===&lt;br /&gt;
The LIM gets the inlet DC voltage from a board in the KLE. &lt;br /&gt;
&lt;br /&gt;
This board needs to produce an isolated 3-20mA current signal from the high voltage DC voltage.&lt;br /&gt;
[[File:Voltage measure board.jpg|none|thumb|isolated DC Voltage sense board by muehlpower]]&lt;br /&gt;
&lt;br /&gt;
=== Large fast charging contactor control board ===&lt;br /&gt;
The LIM produces a 12V, 50% PWM on the pos and neg fast charging contactor outputs and measures the current draw of the contactors.&lt;br /&gt;
&lt;br /&gt;
This makes it a bit harder to use different contactors.&lt;br /&gt;
&lt;br /&gt;
The easiest option is to place a +/-20 watt 15 ohms (wire wound) resistor in parallel to simulate the original contactor coil and a small relais to drive a large Gigavac contactor with internal PWM economizer or dual coil.&lt;br /&gt;
&lt;br /&gt;
Further investigation is needed to find out if the LIM also detects a contactor failure from the current draw.&lt;br /&gt;
&lt;br /&gt;
=== Duosida inlet lock feedback ===&lt;br /&gt;
The i3 uses a quite expensive Phoenix CCS inlet and it would be nice to be able to use the cheaper Duosida CCS inlets.&lt;br /&gt;
&lt;br /&gt;
The charge inlet lock should work with the Duosida lock as well but the feedback (1k unlocked, 11k locked) is a bit different which requires some additional resistors.&lt;br /&gt;
[[File:CCS setup LIM 2-02.png|none|thumb|CCS inlet lock]]&lt;br /&gt;
&lt;br /&gt;
=== RGB charge indication light ===&lt;br /&gt;
The RGB charge indicator LED should have a common cathode and series resistors for 12V DC.&lt;br /&gt;
&lt;br /&gt;
Nice push buttons with integrated RGB led are available on [https://nl.aliexpress.com/item/4000437597282.html Aliexpress] for a few dollars. &lt;br /&gt;
&lt;br /&gt;
The switch signal is useful to stop charging and has to be connected to the ECU. The ECU then terminates the charging process over the CAN bus.&lt;br /&gt;
[[File:RGB LED common cathode.png|none|thumb|243x243px|RGB LED]]&lt;br /&gt;
&lt;br /&gt;
== CCS charging sequence ==&lt;br /&gt;
[https://www.researchgate.net/profile/Ali-Bahrami-12/publication/338586995/figure/fig4/AS:925252242636800@1597608733638/CCS-Charging-sequence.jpg CCS-Charging-sequence.jpg]&lt;br /&gt;
&lt;br /&gt;
This document actually covers Fast and Smart Charging Solutions for Full Size Urban Heavy Duty Applications but since most of the protocols used are similar it has comparable sequence diagrams with description for &#039;&#039;&#039;normal start up&#039;&#039;&#039;, &#039;&#039;&#039;normal shutdown&#039;&#039;&#039;, &#039;&#039;&#039;DC supply initiated emergency&#039;&#039;&#039; &#039;&#039;&#039;stop&#039;&#039;&#039; and &#039;&#039;&#039;EV initiated emergency stop&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
https://assured-project.eu/storage/files/assured-10-interoperability-reference.pdf&lt;br /&gt;
&lt;br /&gt;
== Observations ==&lt;br /&gt;
VIN Numbers is not required for AC or DC fast charging to function&lt;br /&gt;
&lt;br /&gt;
Functional LIMs have come from vehicles where the Air Bags have deployed, indicating that the module still works after a &amp;quot;Safety&amp;quot; event has occurred.&lt;br /&gt;
&lt;br /&gt;
== LIM board components ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+components&lt;br /&gt;
!Chip&lt;br /&gt;
!Description&lt;br /&gt;
!Function&lt;br /&gt;
!Datasheet&lt;br /&gt;
|-&lt;br /&gt;
|Renesas V850E2/FG4&lt;br /&gt;
|32-bit Single-Chip Microcontroller&lt;br /&gt;
|main MCU&lt;br /&gt;
|https://www.renesas.com/us/en/document/dst/data-sheet-v850e2fg4&lt;br /&gt;
|-&lt;br /&gt;
|Qualcomm QCA7000&lt;br /&gt;
|HomePlug® Green PHY, single chip solution&lt;br /&gt;
|PLC Green PHY&lt;br /&gt;
|https://openinverter.org/forum/download/file.php?id=9611&lt;br /&gt;
|-&lt;br /&gt;
|Infineon TLE 7263E&lt;br /&gt;
|Integrated HS-CAN, LIN, LDO and HS Switch, System Basis Chip&lt;br /&gt;
|CAN, 2xLDO, wake-up&lt;br /&gt;
|https://docs.rs-online.com/db13/0900766b814d680b.pdf&lt;br /&gt;
|-&lt;br /&gt;
|TI SN74LVC2T45-Q1&lt;br /&gt;
|Dual-Bit Dual Supply Transceiver with Configurable Voltage Translation&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/sn74lvc2t45-q1&lt;br /&gt;
|-&lt;br /&gt;
|NXP 74LVC1T45&lt;br /&gt;
|Dual supply translating transceiver&lt;br /&gt;
|&lt;br /&gt;
|https://datasheetspdf.com/pdf-file/648034/NXP/74LVC1T45/1&lt;br /&gt;
|-&lt;br /&gt;
|STM L9951XP&lt;br /&gt;
|Actuator driver&lt;br /&gt;
|inlet lock motor&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/l9951.pdf&lt;br /&gt;
|-&lt;br /&gt;
|STM TS321&lt;br /&gt;
|Low-Power Single Operational Amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/ts321&lt;br /&gt;
|-&lt;br /&gt;
|TI LM2902&lt;br /&gt;
|Quadruple general-purpose operational amplifier&lt;br /&gt;
|&lt;br /&gt;
|https://www.ti.com/lit/gpn/lm2902&lt;br /&gt;
|-&lt;br /&gt;
|STM VNQ5E250AJ-E&lt;br /&gt;
|Quad channel high-side driver with analog current sense&lt;br /&gt;
|LEDs?, contactors?&lt;br /&gt;
|https://www.st.com/resource/en/datasheet/vnq5e250aj-e.pdf&lt;br /&gt;
|}&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Jon volk</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Configuration_Files&amp;diff=217</id>
		<title>Configuration Files</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Configuration_Files&amp;diff=217"/>
		<updated>2019-12-08T19:10:52Z</updated>

		<summary type="html">&lt;p&gt;Jon volk: /* Tesla LDU Jon Volk */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains a selection of known motor and inverter configurations. To use a configuration, copy and paste the respective highlighted json code and save it into a file that ends in .json.&lt;br /&gt;
&lt;br /&gt;
To add a new configuration, log in (same as forum login) and use the &amp;quot;Edit source&amp;quot; tab above. See the existing configurations as a template.&lt;br /&gt;
&lt;br /&gt;
==== E-Polo ====&lt;br /&gt;
* Motor: Lenze MFEMAXX 360Vac@120Hz&lt;br /&gt;
* DC voltage: 500V&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:400px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;boost&amp;quot;: 2200,&lt;br /&gt;
  &amp;quot;fweak&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;fconst&amp;quot;: 160,&lt;br /&gt;
  &amp;quot;udcnom&amp;quot;: 500,&lt;br /&gt;
  &amp;quot;fslipmin&amp;quot;: 1.5,&lt;br /&gt;
  &amp;quot;fslipmax&amp;quot;: 3.59,&lt;br /&gt;
  &amp;quot;fslipconstmax&amp;quot;: 6,&lt;br /&gt;
  &amp;quot;polepairs&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;respolepairs&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;encmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;fmin&amp;quot;: 0.5,&lt;br /&gt;
  &amp;quot;fmax&amp;quot;: 220,&lt;br /&gt;
  &amp;quot;numimp&amp;quot;: 30,&lt;br /&gt;
  &amp;quot;dirchrpm&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;dirmode&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;syncofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;snsm&amp;quot;: 12,&lt;br /&gt;
  &amp;quot;pwmfrq&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;pwmpol&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;deadtime&amp;quot;: 63,&lt;br /&gt;
  &amp;quot;ocurlim&amp;quot;: 250,&lt;br /&gt;
  &amp;quot;minpulse&amp;quot;: 1000,&lt;br /&gt;
  &amp;quot;il1gain&amp;quot;: 4.5,&lt;br /&gt;
  &amp;quot;il2gain&amp;quot;: 4.5,&lt;br /&gt;
  &amp;quot;udcgain&amp;quot;: 5.56,&lt;br /&gt;
  &amp;quot;udcofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udclim&amp;quot;: 1000,&lt;br /&gt;
  &amp;quot;snshs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;bmslimhigh&amp;quot;: 60,&lt;br /&gt;
  &amp;quot;bmslimlow&amp;quot;: -40,&lt;br /&gt;
  &amp;quot;udcmin&amp;quot;: 400,&lt;br /&gt;
  &amp;quot;udcmax&amp;quot;: 525,&lt;br /&gt;
  &amp;quot;iacmax&amp;quot;: 190,&lt;br /&gt;
  &amp;quot;idcmax&amp;quot;: 110,&lt;br /&gt;
  &amp;quot;idcmin&amp;quot;: -40,&lt;br /&gt;
  &amp;quot;throtmax&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;ifltrise&amp;quot;: 12,&lt;br /&gt;
  &amp;quot;ifltfall&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;chargemode&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;chargecur&amp;quot;: 12,&lt;br /&gt;
  &amp;quot;chargekp&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;chargeflt&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;chargemax&amp;quot;: 60,&lt;br /&gt;
  &amp;quot;potmin&amp;quot;: 12,&lt;br /&gt;
  &amp;quot;potmax&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;pot2min&amp;quot;: 602,&lt;br /&gt;
  &amp;quot;pot2max&amp;quot;: 3100,&lt;br /&gt;
  &amp;quot;potmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;throtramp&amp;quot;: 20,&lt;br /&gt;
  &amp;quot;throtramprpm&amp;quot;: 20000,&lt;br /&gt;
  &amp;quot;ampmin&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;slipstart&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;brknompedal&amp;quot;: -77,&lt;br /&gt;
  &amp;quot;brkpedalramp&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;brknom&amp;quot;: 20,&lt;br /&gt;
  &amp;quot;brkmax&amp;quot;: -50,&lt;br /&gt;
  &amp;quot;brkrampstr&amp;quot;: 15,&lt;br /&gt;
  &amp;quot;brkout&amp;quot;: -50,&lt;br /&gt;
  &amp;quot;idlespeed&amp;quot;: 300,&lt;br /&gt;
  &amp;quot;idlethrotlim&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;idlemode&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;speedkp&amp;quot;: 0.15,&lt;br /&gt;
  &amp;quot;speedflt&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;cruisemode&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;udcsw&amp;quot;: 460,&lt;br /&gt;
  &amp;quot;udcswbuck&amp;quot;: 540,&lt;br /&gt;
  &amp;quot;tripmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;pwmfunc&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;pwmgain&amp;quot;: 45,&lt;br /&gt;
  &amp;quot;pwmofs&amp;quot;: -2100,&lt;br /&gt;
  &amp;quot;canspeed&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;canperiod&amp;quot;: 0,&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Nissan Leaf Motor ====&lt;br /&gt;
* Using FOC software&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:400px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;curkp&amp;quot;: 64,&lt;br /&gt;
  &amp;quot;curki&amp;quot;: 32,&lt;br /&gt;
  &amp;quot;fwkp&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;dofsramp&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;frqfac&amp;quot;: 70,&lt;br /&gt;
  &amp;quot;dmargin&amp;quot;: -2000,&lt;br /&gt;
  &amp;quot;polepairs&amp;quot;: 4,&lt;br /&gt;
  &amp;quot;respolepairs&amp;quot;: 4,&lt;br /&gt;
  &amp;quot;encmode&amp;quot;: 4,&lt;br /&gt;
  &amp;quot;fmax&amp;quot;: 550,&lt;br /&gt;
  &amp;quot;dirchrpm&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;dirmode&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;syncofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;syncadv&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;snsm&amp;quot;: 14,&lt;br /&gt;
  &amp;quot;pwmfrq&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;pwmpol&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;deadtime&amp;quot;: 78,&lt;br /&gt;
  &amp;quot;ocurlim&amp;quot;: 600,&lt;br /&gt;
  &amp;quot;il1gain&amp;quot;: 1.71,&lt;br /&gt;
  &amp;quot;il2gain&amp;quot;: 1.71,&lt;br /&gt;
  &amp;quot;udcgain&amp;quot;: 5.78,&lt;br /&gt;
  &amp;quot;udcofs&amp;quot;: 250,&lt;br /&gt;
  &amp;quot;udclim&amp;quot;: 540,&lt;br /&gt;
  &amp;quot;snshs&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;pinswap&amp;quot;: 4,&lt;br /&gt;
  &amp;quot;bmslimhigh&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;bmslimlow&amp;quot;: -1,&lt;br /&gt;
  &amp;quot;udcmin&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udcmax&amp;quot;: 520,&lt;br /&gt;
  &amp;quot;idcmax&amp;quot;: 200,&lt;br /&gt;
  &amp;quot;idcmin&amp;quot;: -50,&lt;br /&gt;
  &amp;quot;throtmax&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;chargemode&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;chargecur&amp;quot;: 14,&lt;br /&gt;
  &amp;quot;chargekp&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;chargeflt&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;chargemax&amp;quot;: 83.5,&lt;br /&gt;
  &amp;quot;potmin&amp;quot;: 950,&lt;br /&gt;
  &amp;quot;potmax&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;pot2min&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;pot2max&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;potmode&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;throtramp&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;throtramprpm&amp;quot;: 20000,&lt;br /&gt;
  &amp;quot;throtcur&amp;quot;: 4,&lt;br /&gt;
  &amp;quot;brknompedal&amp;quot;: -30,&lt;br /&gt;
  &amp;quot;regenramp&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;brknom&amp;quot;: 20,&lt;br /&gt;
  &amp;quot;brkmax&amp;quot;: -15,&lt;br /&gt;
  &amp;quot;brkrampstr&amp;quot;: 15,&lt;br /&gt;
  &amp;quot;brkout&amp;quot;: -50,&lt;br /&gt;
  &amp;quot;idlespeed&amp;quot;: 500,&lt;br /&gt;
  &amp;quot;idlethrotlim&amp;quot;: 60,&lt;br /&gt;
  &amp;quot;idlemode&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;speedkp&amp;quot;: 0.21,&lt;br /&gt;
  &amp;quot;speedflt&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;cruisemode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udcsw&amp;quot;: 300,&lt;br /&gt;
  &amp;quot;udcswbuck&amp;quot;: 540,&lt;br /&gt;
  &amp;quot;tripmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;canspeed&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;canperiod&amp;quot;: 0&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DMOC with Siemens 1PV5135 ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:400px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;boost&amp;quot;: &amp;quot;3600&amp;quot;,&lt;br /&gt;
    &amp;quot;fweak&amp;quot;: &amp;quot;140&amp;quot;,&lt;br /&gt;
    &amp;quot;fpconst&amp;quot;: &amp;quot;400&amp;quot;,&lt;br /&gt;
    &amp;quot;fslipmin&amp;quot;: &amp;quot;1.68&amp;quot;,&lt;br /&gt;
    &amp;quot;fslipmax&amp;quot;: &amp;quot;3.5&amp;quot;,&lt;br /&gt;
    &amp;quot;polepairs&amp;quot;: &amp;quot;2&amp;quot;,&lt;br /&gt;
    &amp;quot;ampmin&amp;quot;: &amp;quot;5&amp;quot;,&lt;br /&gt;
    &amp;quot;encflt&amp;quot;: &amp;quot;4&amp;quot;,&lt;br /&gt;
    &amp;quot;fmin&amp;quot;: &amp;quot;0.5&amp;quot;,&lt;br /&gt;
    &amp;quot;fmax&amp;quot;: &amp;quot;200&amp;quot;,&lt;br /&gt;
    &amp;quot;pwmfrq&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
    &amp;quot;pwmpol&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;deadtime&amp;quot;: &amp;quot;50&amp;quot;,&lt;br /&gt;
    &amp;quot;numimp&amp;quot;: &amp;quot;64&amp;quot;,&lt;br /&gt;
    &amp;quot;potmin&amp;quot;: &amp;quot;640&amp;quot;,&lt;br /&gt;
    &amp;quot;potmax&amp;quot;: &amp;quot;3850&amp;quot;,&lt;br /&gt;
    &amp;quot;pot2min&amp;quot;: &amp;quot;4095&amp;quot;,&lt;br /&gt;
    &amp;quot;pot2max&amp;quot;: &amp;quot;4095&amp;quot;,&lt;br /&gt;
    &amp;quot;idlespeed&amp;quot;: &amp;quot;-100&amp;quot;,&lt;br /&gt;
    &amp;quot;idlethrotlim&amp;quot;: &amp;quot;50&amp;quot;,&lt;br /&gt;
    &amp;quot;idlemode&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;speedkp&amp;quot;: &amp;quot;0.12&amp;quot;,&lt;br /&gt;
    &amp;quot;speedflt&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
    &amp;quot;cruisemode&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;bmslimhigh&amp;quot;: &amp;quot;50&amp;quot;,&lt;br /&gt;
    &amp;quot;bmslimlow&amp;quot;: &amp;quot;-1&amp;quot;,&lt;br /&gt;
    &amp;quot;brknompedal&amp;quot;: &amp;quot;-25&amp;quot;,&lt;br /&gt;
    &amp;quot;brknom&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
    &amp;quot;brkmax&amp;quot;: &amp;quot;1&amp;quot;,&lt;br /&gt;
    &amp;quot;brkrampstr&amp;quot;: &amp;quot;10&amp;quot;,&lt;br /&gt;
    &amp;quot;udcsw&amp;quot;: &amp;quot;390&amp;quot;,&lt;br /&gt;
    &amp;quot;udcmin&amp;quot;: &amp;quot;150&amp;quot;,&lt;br /&gt;
    &amp;quot;udcmax&amp;quot;: &amp;quot;520&amp;quot;,&lt;br /&gt;
    &amp;quot;udclim&amp;quot;: &amp;quot;1000&amp;quot;,&lt;br /&gt;
    &amp;quot;ocurlim&amp;quot;: &amp;quot;-400&amp;quot;,&lt;br /&gt;
    &amp;quot;minpulse&amp;quot;: &amp;quot;1000&amp;quot;,&lt;br /&gt;
    &amp;quot;il1gain&amp;quot;: &amp;quot;-4.65&amp;quot;,&lt;br /&gt;
    &amp;quot;il2gain&amp;quot;: &amp;quot;-4.65&amp;quot;,&lt;br /&gt;
    &amp;quot;udcgain&amp;quot;: &amp;quot;3.78&amp;quot;,&lt;br /&gt;
    &amp;quot;pwmfunc&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;pwmgain&amp;quot;: &amp;quot;100&amp;quot;,&lt;br /&gt;
    &amp;quot;pwmofs&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;speedgain&amp;quot;: &amp;quot;6000&amp;quot;,&lt;br /&gt;
    &amp;quot;snshs&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;snsm&amp;quot;: &amp;quot;3&amp;quot;,&lt;br /&gt;
    &amp;quot;fslipspnt&amp;quot;: &amp;quot;-1.68&amp;quot;,&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fleck Elektroauto ACIM AKOE 132 2.2.100024 28KW motor custom wound for 180VRMS www.fleck-elektroauto.de ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:400px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;boost&amp;quot;: 7000,&lt;br /&gt;
  &amp;quot;fweak&amp;quot;: 150,&lt;br /&gt;
  &amp;quot;udcnom&amp;quot;: 325,&lt;br /&gt;
  &amp;quot;fpconst&amp;quot;: 75,&lt;br /&gt;
  &amp;quot;fslipmin&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;fslipmax&amp;quot;: 6.8,&lt;br /&gt;
  &amp;quot;polepairs&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;encflt&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;encmode&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;fmin&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;fmax&amp;quot;: 240,&lt;br /&gt;
  &amp;quot;imax&amp;quot;: 400,&lt;br /&gt;
  &amp;quot;numimp&amp;quot;: 64,&lt;br /&gt;
  &amp;quot;dirchrpm&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;syncofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;snsm&amp;quot;: 13,&lt;br /&gt;
  &amp;quot;pwmfrq&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;pwmpol&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;deadtime&amp;quot;: 185,&lt;br /&gt;
  &amp;quot;ocurlim&amp;quot;: -700,&lt;br /&gt;
  &amp;quot;tripmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;minpulse&amp;quot;: 1000,&lt;br /&gt;
  &amp;quot;il1gain&amp;quot;: -2,&lt;br /&gt;
  &amp;quot;il2gain&amp;quot;: -2,&lt;br /&gt;
  &amp;quot;udcgain&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;udcofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udclim&amp;quot;: 430,&lt;br /&gt;
  &amp;quot;snshs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;chargemode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;chargecur&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;chargekp&amp;quot;: 80,&lt;br /&gt;
  &amp;quot;chargeflt&amp;quot;: 8,&lt;br /&gt;
  &amp;quot;chargemax&amp;quot;: 90,&lt;br /&gt;
  &amp;quot;potmin&amp;quot;: 980,&lt;br /&gt;
  &amp;quot;potmax&amp;quot;: 4090,&lt;br /&gt;
  &amp;quot;pot2min&amp;quot;: 1850,&lt;br /&gt;
  &amp;quot;pot2max&amp;quot;: 4090,&lt;br /&gt;
  &amp;quot;potmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;throtramp&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;throtramprpm&amp;quot;: 2000,&lt;br /&gt;
  &amp;quot;ampmin&amp;quot;: 21,&lt;br /&gt;
  &amp;quot;slipstart&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;brknompedal&amp;quot;: -30,&lt;br /&gt;
  &amp;quot;brkpedalramp&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;brknom&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;brkmax&amp;quot;: 25,&lt;br /&gt;
  &amp;quot;brkrampstr&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;brkout&amp;quot;: -1,&lt;br /&gt;
  &amp;quot;idlespeed&amp;quot;: 500,&lt;br /&gt;
  &amp;quot;idlethrotlim&amp;quot;: 16,&lt;br /&gt;
  &amp;quot;idlemode&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;speedkp&amp;quot;: 0.18,&lt;br /&gt;
  &amp;quot;speedflt&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;cruisemode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;bmslimhigh&amp;quot;: 60,&lt;br /&gt;
  &amp;quot;bmslimlow&amp;quot;: -1,&lt;br /&gt;
  &amp;quot;udcmin&amp;quot;: 305,&lt;br /&gt;
  &amp;quot;udcmax&amp;quot;: 420,&lt;br /&gt;
  &amp;quot;udcsw&amp;quot;: 320,&lt;br /&gt;
  &amp;quot;udcswbuck&amp;quot;: 360,&lt;br /&gt;
  &amp;quot;pwmfunc&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;pwmgain&amp;quot;: -12,&lt;br /&gt;
  &amp;quot;pwmofs&amp;quot;: 1620,&lt;br /&gt;
  &amp;quot;canspeed&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;canperiod&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;ifltrise&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;ifltfall&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;fslipspnt&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;ampnom&amp;quot;: 0&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Tesla LDU Jon Volk ====&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:400px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;boost&amp;quot;: 1850,&lt;br /&gt;
  &amp;quot;fweak&amp;quot;: 258,&lt;br /&gt;
  &amp;quot;fconst&amp;quot;: 450,&lt;br /&gt;
  &amp;quot;udcnom&amp;quot;: 390,&lt;br /&gt;
  &amp;quot;fslipmin&amp;quot;: 0.87,&lt;br /&gt;
  &amp;quot;fslipmax&amp;quot;: 3.09,&lt;br /&gt;
  &amp;quot;fslipconstmax&amp;quot;: 9,&lt;br /&gt;
  &amp;quot;fmin&amp;quot;: 0.06,&lt;br /&gt;
  &amp;quot;fmax&amp;quot;: 540,&lt;br /&gt;
  &amp;quot;numimp&amp;quot;: 36,&lt;br /&gt;
  &amp;quot;syncofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;ocurlim&amp;quot;: -2500,&lt;br /&gt;
  &amp;quot;minpulse&amp;quot;: 1000,&lt;br /&gt;
  &amp;quot;udcofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udclim&amp;quot;: 540,&lt;br /&gt;
  &amp;quot;udcmin&amp;quot;: 320,&lt;br /&gt;
  &amp;quot;udcmax&amp;quot;: 426,&lt;br /&gt;
  &amp;quot;iacmax&amp;quot;: 5000,&lt;br /&gt;
  &amp;quot;idcmax&amp;quot;: 5000,&lt;br /&gt;
  &amp;quot;idcmin&amp;quot;: -5000,&lt;br /&gt;
  &amp;quot;throtmax&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;ifltrise&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;ifltfall&amp;quot;: 0.09,&lt;br /&gt;
  &amp;quot;potmin&amp;quot;: 850,&lt;br /&gt;
  &amp;quot;potmax&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;pot2min&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;pot2max&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;potmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;throtramp&amp;quot;: 5.87,&lt;br /&gt;
  &amp;quot;throtramprpm&amp;quot;: 20000,&lt;br /&gt;
  &amp;quot;ampmin&amp;quot;: .37,&lt;br /&gt;
  &amp;quot;slipstart&amp;quot;: 55,&lt;br /&gt;
  &amp;quot;brknompedal&amp;quot;: -55,&lt;br /&gt;
  &amp;quot;regenramp&amp;quot;: 3,&lt;br /&gt;
  &amp;quot;brknom&amp;quot;: 30,&lt;br /&gt;
  &amp;quot;brkmax&amp;quot;: -55,&lt;br /&gt;
  &amp;quot;brkrampstr&amp;quot;: 40,&lt;br /&gt;
  &amp;quot;brkout&amp;quot;: -10,&lt;br /&gt;
  &amp;quot;idlespeed&amp;quot;: 250,&lt;br /&gt;
  &amp;quot;idlethrotlim&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;idlemode&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;speedkp&amp;quot;: 0.12,&lt;br /&gt;
  &amp;quot;speedflt&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;cruisemode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udcsw&amp;quot;: 280,&lt;br /&gt;
  &amp;quot;udcswbuck&amp;quot;: 540,&lt;br /&gt;
  &amp;quot;tripmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;pwmfunc&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;pwmgain&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;pwmofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;canspeed&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;canperiod&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;fslipspnt&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;ampnom&amp;quot;: 0&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Tesla SDU Marco ====&lt;br /&gt;
Missing the udcnom setting, which makes the motor parameters independent from actual DC voltage&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:400px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;boost&amp;quot;: 2200,&lt;br /&gt;
  &amp;quot;fweak&amp;quot;: 220,&lt;br /&gt;
  &amp;quot;fconst&amp;quot;: 800,&lt;br /&gt;
  &amp;quot;udcnom&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;fslipmin&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;fslipmax&amp;quot;: 6,&lt;br /&gt;
  &amp;quot;fslipconstmax&amp;quot;: 6,&lt;br /&gt;
  &amp;quot;polepairs&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;respolepairs&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;encmode&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;fmin&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;fmax&amp;quot;: 600,&lt;br /&gt;
  &amp;quot;numimp&amp;quot;: 36,&lt;br /&gt;
  &amp;quot;dirchrpm&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;dirmode&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;syncofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;snsm&amp;quot;: 12,&lt;br /&gt;
  &amp;quot;pwmfrq&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;pwmpol&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;deadtime&amp;quot;: 63,&lt;br /&gt;
  &amp;quot;ocurlim&amp;quot;: -1200,&lt;br /&gt;
  &amp;quot;minpulse&amp;quot;: 1000,&lt;br /&gt;
  &amp;quot;il1gain&amp;quot;: -1.5,&lt;br /&gt;
  &amp;quot;il2gain&amp;quot;: -1.5,&lt;br /&gt;
  &amp;quot;udcgain&amp;quot;: 7.59,&lt;br /&gt;
  &amp;quot;udcofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udclim&amp;quot;: 450,&lt;br /&gt;
  &amp;quot;snshs&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;bmslimhigh&amp;quot;: 90,&lt;br /&gt;
  &amp;quot;bmslimlow&amp;quot;: -100,&lt;br /&gt;
  &amp;quot;udcmin&amp;quot;: 330,&lt;br /&gt;
  &amp;quot;udcmax&amp;quot;: 460,&lt;br /&gt;
  &amp;quot;iacmax&amp;quot;: 800,&lt;br /&gt;
  &amp;quot;idcmax&amp;quot;: 500,&lt;br /&gt;
  &amp;quot;idcmin&amp;quot;: -500,&lt;br /&gt;
  &amp;quot;throtmax&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;ifltrise&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;ifltfall&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;chargemode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;chargecur&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;chargekp&amp;quot;: 80,&lt;br /&gt;
  &amp;quot;chargeflt&amp;quot;: 8,&lt;br /&gt;
  &amp;quot;chargemax&amp;quot;: 90,&lt;br /&gt;
  &amp;quot;potmin&amp;quot;: 460,&lt;br /&gt;
  &amp;quot;potmax&amp;quot;: 2370,&lt;br /&gt;
  &amp;quot;pot2min&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;pot2max&amp;quot;: 4095,&lt;br /&gt;
  &amp;quot;potmode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;throtramp&amp;quot;: 10,&lt;br /&gt;
  &amp;quot;throtramprpm&amp;quot;: 20000,&lt;br /&gt;
  &amp;quot;ampmin&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;slipstart&amp;quot;: 40,&lt;br /&gt;
  &amp;quot;brknompedal&amp;quot;: -40,&lt;br /&gt;
  &amp;quot;brkpedalramp&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;brknom&amp;quot;: 30,&lt;br /&gt;
  &amp;quot;brkmax&amp;quot;: -30,&lt;br /&gt;
  &amp;quot;brkrampstr&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;brkout&amp;quot;: -100,&lt;br /&gt;
  &amp;quot;idlespeed&amp;quot;: -100,&lt;br /&gt;
  &amp;quot;idlethrotlim&amp;quot;: 50,&lt;br /&gt;
  &amp;quot;idlemode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;speedkp&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;speedflt&amp;quot;: 5,&lt;br /&gt;
  &amp;quot;cruisemode&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;udcsw&amp;quot;: 320,&lt;br /&gt;
  &amp;quot;udcswbuck&amp;quot;: 540,&lt;br /&gt;
  &amp;quot;tripmode&amp;quot;: 2,&lt;br /&gt;
  &amp;quot;pwmfunc&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;pwmgain&amp;quot;: 100,&lt;br /&gt;
  &amp;quot;pwmofs&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;canspeed&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;canperiod&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;fslipspnt&amp;quot;: 0,&lt;br /&gt;
  &amp;quot;ampnom&amp;quot;: 0&lt;br /&gt;
}&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jon volk</name></author>
	</entry>
	<entry>
		<id>https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=216</id>
		<title>Parameters</title>
		<link rel="alternate" type="text/html" href="https://openinverter.org/wiki/index.php?title=Parameters&amp;diff=216"/>
		<updated>2019-12-08T15:25:27Z</updated>

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