Currently I’m trying out a Prius Gen 3 inverter with Damien’s v1b logic board and going through the FOC tuning procedure. The motor spins the wheels merrily when the car is suspended, when we dropped the car to test drive, motor ran smoothly but there was a serious lack of power. Testing with 140v test battery so not expecting massive speed but it can put out 150A so was hoping for reasonable torque. Pulling away, with foot to the floor (potnom reading 100% the car very slowly built up speed pulling up to 18A after about 5 seconds. No issues with voltage sag, (approx 146v down to 140v under that load) so I suspect there may be a parameter I haven’t adjusted properly restricting the current supply. See below:
Code: Select all
{
"curkp": 32,
"curki": 20000,
"curkifrqgain": 50,
"fwkp": -100,
"dmargin": -2000,
"syncofs": 54768,
"polepairs": 4,
"respolepairs": 4,
"encmode": 4,
"fmax": 400,
"numimp": 60,
"dirchrpm": 100,
"dirmode": 4,
"snsm": 12,
"pwmfrq": 2,
"pwmpol": 0,
"deadtime": 130,
"ocurlim": 300,
"il1gain": 4.5,
"il2gain": 4.5,
"udcgain": 5,
"udcofs": 0,
"udclim": 540,
"snshs": 5,
"pinswap": 8,
"bmslimhigh": 50,
"bmslimlow": -1,
"udcmin": 0,
"udcmax": 520,
"idcmax": 5000,
"idcmin": -5000,
"tmphsmax": 150,
"tmpmmax": 300,
"throtmax": 100,
"throtmin": -100,
"chargemode": 0,
"chargecur": 0,
"chargekp": 80,
"chargeki": 80,
"chargeflt": 8,
"chargepwmin": 0,
"chargepwmax": 90,
"potmin": 500,
"potmax": 4089,
"pot2min": 4095,
"pot2max": 4095,
"potmode": 0,
"throtramp": 100,
"throtramprpm": 20000,
"throtcur": 1,
"brknompedal": 0,
"regenramp": 100,
"brknom": 0,
"brkmax": 0,
"brkcruise": -30,
"brkrampstr": 0,
"brkout": -50,
"idlespeed": -1,
"idlethrotlim": 50,
"idlemode": 3,
"speedkp": 1,
"speedflt": 4,
"cruisemode": 0,
"udcsw": 0,
"udcswbuck": 540,
"tripmode": 0,
"pwmfunc": 0,
"pwmgain": 100,
"pwmofs": 0,
"canspeed": 0,
"canperiod": 0,
"manualiq": 0,
"manualid": 0
}