Configuration Files

From openinverter.org wiki
Jump to navigation Jump to search

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.

To add a new configuration, log in (same as forum login) and use the "Edit source" tab above. See the existing configurations as a template.

E-Polo

  • Motor: Lenze MFEMAXX 360Vac@120Hz
  • DC voltage: 500V
{
  "boost": 2200,
  "fweak": 100,
  "fconst": 160,
  "udcnom": 500,
  "fslipmin": 1.5,
  "fslipmax": 3.59,
  "fslipconstmax": 6,
  "polepairs": 2,
  "respolepairs": 1,
  "encmode": 0,
  "fmin": 0.5,
  "fmax": 220,
  "numimp": 30,
  "dirchrpm": 100,
  "dirmode": 1,
  "syncofs": 0,
  "snsm": 12,
  "pwmfrq": 1,
  "pwmpol": 0,
  "deadtime": 63,
  "ocurlim": 250,
  "minpulse": 1000,
  "il1gain": 4.5,
  "il2gain": 4.5,
  "udcgain": 5.56,
  "udcofs": 0,
  "udclim": 1000,
  "snshs": 0,
  "bmslimhigh": 60,
  "bmslimlow": -40,
  "udcmin": 400,
  "udcmax": 525,
  "iacmax": 190,
  "idcmax": 110,
  "idcmin": -40,
  "throtmax": 100,
  "ifltrise": 12,
  "ifltfall": 2,
  "chargemode": 3,
  "chargecur": 12,
  "chargekp": 10,
  "chargeflt": 10,
  "chargemax": 60,
  "potmin": 12,
  "potmax": 4095,
  "pot2min": 602,
  "pot2max": 3100,
  "potmode": 0,
  "throtramp": 20,
  "throtramprpm": 20000,
  "ampmin": 10,
  "slipstart": 50,
  "brknompedal": -77,
  "brkpedalramp": 1,
  "brknom": 20,
  "brkmax": -50,
  "brkrampstr": 15,
  "brkout": -50,
  "idlespeed": 300,
  "idlethrotlim": 50,
  "idlemode": 2,
  "speedkp": 0.15,
  "speedflt": 5,
  "cruisemode": 1,
  "udcsw": 460,
  "udcswbuck": 540,
  "tripmode": 0,
  "pwmfunc": 0,
  "pwmgain": 45,
  "pwmofs": -2100,
  "canspeed": 0,
  "canperiod": 0,
}

Nissan Leaf Motor

  • Using FOC software 4.73.R
{
  "curkp": 64,
  "curki": 20000,
  "curkifrqgain": 50,
  "fwkp": -100,
  "dmargin": -2000,
  "polepairs": 4,
  "respolepairs": 4,
  "encmode": 4,
  "fmax": 550,
  "dirchrpm": 100,
  "dirmode": 1,
  "syncofs": 0,
  "syncadv": 10,
  "snsm": 14,
  "pwmfrq": 1,
  "pwmpol": 1,
  "deadtime": 78,
  "ocurlim": 700,
  "il1gain": 1.71,
  "il2gain": 1.71,
  "udcgain": 5.78,
  "udcofs": 250,
  "udclim": 540,
  "snshs": 2,
  "pinswap": 4,
  "bmslimhigh": 100,
  "bmslimlow": -100,
  "udcmin": 0,
  "udcmax": 520,
  "idcmax": 300,
  "idcmin": -50,
  "throtmax": 100,
  "throtramp": 4,
  "throtramprpm": 20000,
  "throtcur": 4.5,
  "brknompedal": -25,
  "regenramp": 1,
  "brknom": 20,
  "brkmax": -20,
  "brkrampstr": 15,
  "brkout": -50,
  "idlespeed": 500,
  "idlethrotlim": 60,
  "idlemode": 3,
  "speedkp": 0.21,
  "speedflt": 5,
  "tripmode": 0,
}

DMOC with Siemens 1PV5135

{
    "boost": "3600",
    "fweak": "140",
    "fpconst": "400",
    "fslipmin": "1.68",
    "fslipmax": "3.5",
    "polepairs": "2",
    "ampmin": "5",
    "encflt": "4",
    "fmin": "0.5",
    "fmax": "200",
    "pwmfrq": "1",
    "pwmpol": "0",
    "deadtime": "50",
    "numimp": "64",
    "potmin": "640",
    "potmax": "3850",
    "pot2min": "4095",
    "pot2max": "4095",
    "idlespeed": "-100",
    "idlethrotlim": "50",
    "idlemode": "0",
    "speedkp": "0.12",
    "speedflt": "1",
    "cruisemode": "0",
    "bmslimhigh": "50",
    "bmslimlow": "-1",
    "brknompedal": "-25",
    "brknom": "1",
    "brkmax": "1",
    "brkrampstr": "10",
    "udcsw": "390",
    "udcmin": "150",
    "udcmax": "520",
    "udclim": "1000",
    "ocurlim": "-400",
    "minpulse": "1000",
    "il1gain": "-4.65",
    "il2gain": "-4.65",
    "udcgain": "3.78",
    "pwmfunc": "0",
    "pwmgain": "100",
    "pwmofs": "0",
    "speedgain": "6000",
    "snshs": "0",
    "snsm": "3",
    "fslipspnt": "-1.68",
}

Fleck Elektroauto ACIM AKOE 132 2.2.100024 28KW motor custom wound for 180VRMS www.fleck-elektroauto.de

{
  "boost": 7000,
  "fweak": 150,
  "udcnom": 325,
  "fpconst": 75,
  "fslipmin": 3,
  "fslipmax": 6.8,
  "polepairs": 2,
  "encflt": 3,
  "encmode": 1,
  "fmin": 0,
  "fmax": 240,
  "imax": 400,
  "numimp": 64,
  "dirchrpm": 100,
  "syncofs": 0,
  "snsm": 13,
  "pwmfrq": 1,
  "pwmpol": 0,
  "deadtime": 185,
  "ocurlim": -700,
  "tripmode": 0,
  "minpulse": 1000,
  "il1gain": -2,
  "il2gain": -2,
  "udcgain": 3,
  "udcofs": 0,
  "udclim": 430,
  "snshs": 0,
  "chargemode": 0,
  "chargecur": 0,
  "chargekp": 80,
  "chargeflt": 8,
  "chargemax": 90,
  "potmin": 980,
  "potmax": 4090,
  "pot2min": 1850,
  "pot2max": 4090,
  "potmode": 0,
  "throtramp": 10,
  "throtramprpm": 2000,
  "ampmin": 21,
  "slipstart": 50,
  "brknompedal": -30,
  "brkpedalramp": 1,
  "brknom": 0,
  "brkmax": 25,
  "brkrampstr": 50,
  "brkout": -1,
  "idlespeed": 500,
  "idlethrotlim": 16,
  "idlemode": 2,
  "speedkp": 0.18,
  "speedflt": 5,
  "cruisemode": 0,
  "bmslimhigh": 60,
  "bmslimlow": -1,
  "udcmin": 305,
  "udcmax": 420,
  "udcsw": 320,
  "udcswbuck": 360,
  "pwmfunc": 0,
  "pwmgain": -12,
  "pwmofs": 1620,
  "canspeed": 0,
  "canperiod": 0,
  "ifltrise": 10,
  "ifltfall": 3,
  "fslipspnt": 0,
  "ampnom": 0
}

Tesla LDU Jon Volk

{
  "boost": 1850,
  "fweak": 258,
  "fconst": 450,
  "udcnom": 390,
  "fslipmin": 0.87,
  "fslipmax": 3.09,
  "fslipconstmax": 9,
  "fmin": 0.06,
  "fmax": 540,
  "numimp": 36,
  "syncofs": 0,
  "ocurlim": -2500,
  "minpulse": 1000,
  "udcofs": 0,
  "udclim": 540,
  "udcmin": 320,
  "udcmax": 426,
  "iacmax": 5000,
  "idcmax": 5000,
  "idcmin": -5000,
  "throtmax": 100,
  "ifltrise": 10,
  "ifltfall": 0.09,
  "potmin": 850,
  "potmax": 4095,
  "pot2min": 4095,
  "pot2max": 4095,
  "potmode": 0,
  "throtramp": 5.87,
  "throtramprpm": 20000,
  "ampmin": .37,
  "slipstart": 55,
  "brknompedal": -55,
  "regenramp": 3,
  "brknom": 30,
  "brkmax": -55,
  "brkrampstr": 40,
  "brkout": -10,
  "idlespeed": 250,
  "idlethrotlim": 50,
  "idlemode": 1,
  "speedkp": 0.12,
  "speedflt": 5,
  "cruisemode": 0,
  "udcsw": 280,
  "udcswbuck": 540,
  "tripmode": 0,
  "pwmfunc": 0,
  "pwmgain": 100,
  "pwmofs": 0,
  "canspeed": 0,
  "canperiod": 0,
  "fslipspnt": 0,
  "ampnom": 0
}

Tesla SDU Marco

Missing the udcnom setting, which makes the motor parameters independent from actual DC voltage

{
  "boost": 2200,
  "fweak": 220,
  "fconst": 800,
  "udcnom": 0,
  "fslipmin": 2,
  "fslipmax": 6,
  "fslipconstmax": 6,
  "polepairs": 2,
  "respolepairs": 1,
  "encmode": 1,
  "fmin": 1,
  "fmax": 600,
  "numimp": 36,
  "dirchrpm": 100,
  "dirmode": 1,
  "syncofs": 0,
  "snsm": 12,
  "pwmfrq": 0,
  "pwmpol": 0,
  "deadtime": 63,
  "ocurlim": -1200,
  "minpulse": 1000,
  "il1gain": -1.5,
  "il2gain": -1.5,
  "udcgain": 7.59,
  "udcofs": 0,
  "udclim": 450,
  "snshs": 2,
  "bmslimhigh": 90,
  "bmslimlow": -100,
  "udcmin": 330,
  "udcmax": 460,
  "iacmax": 800,
  "idcmax": 500,
  "idcmin": -500,
  "throtmax": 100,
  "ifltrise": 10,
  "ifltfall": 0,
  "chargemode": 0,
  "chargecur": 0,
  "chargekp": 80,
  "chargeflt": 8,
  "chargemax": 90,
  "potmin": 460,
  "potmax": 2370,
  "pot2min": 4095,
  "pot2max": 4095,
  "potmode": 0,
  "throtramp": 10,
  "throtramprpm": 20000,
  "ampmin": 5,
  "slipstart": 40,
  "brknompedal": -40,
  "brkpedalramp": 1,
  "brknom": 30,
  "brkmax": -30,
  "brkrampstr": 50,
  "brkout": -100,
  "idlespeed": -100,
  "idlethrotlim": 50,
  "idlemode": 0,
  "speedkp": 1,
  "speedflt": 5,
  "cruisemode": 0,
  "udcsw": 320,
  "udcswbuck": 540,
  "tripmode": 2,
  "pwmfunc": 0,
  "pwmgain": 100,
  "pwmofs": 0,
  "canspeed": 1,
  "canperiod": 0,
  "fslipspnt": 0,
  "ampnom": 0
}