Udc and idc increases when throttle is applied
Posted: Sun Aug 25, 2024 9:53 am
Hi!
Was doing some tuning on the c202 yesterday and I noticed that idc and I’d care increasing when I apply throttle. Udc starts of at approx 190V and goes above 200V (I have a 48S battery)
Idc starts at around -16 and moves toward 0.
What did I miss?
This is the current config. I’m running rev 3 hw and version 5.32.R-foc.
{
"iqkp": 60,
"idkp": 100,
"curki": 4000,
"vlimflt": 11,
"vlimmargin": 2500,
"fwcurmax": 0,
"syncofs": 1000,
"lqminusld": 0.59,
"fluxlinkage": 90,
"syncadv": 10,
"polepairs": 4,
"respolepairs": 4,
"sincosofs": 2048,
"encmode": 4,
"fmax": 200,
"numimp": 400,
"dirchrpm": 100,
"dirmode": 1,
"snsm": 14,
"pwmfrq": 1,
"pwmpol": 1,
"deadtime": 78,
"ocurlim": 500,
"il1gain": 2.31,
"il2gain": 2.31,
"udcgain": 5.21,
"udcofs": 250,
"udclim": 540,
"snshs": 6,
"pinswap": 6,
"modmax": 37836,
"potmin": 475,
"potmax": 3130,
"pot2min": 231,
"pot2max": 1590,
"potmode": 1,
"throtramp": 2,
"throtramprpm": 20000,
"throtcur": 3.5,
"brakeregen": 0,
"regenramp": 1,
"regentravel": 15,
"offthrotregen": -20,
"cruiseregen": -20,
"regenrampstr": 25,
"brklightout": -50,
"bmslimhigh": 50,
"bmslimlow": -1,
"udcmin": 160,
"udcmax": 200,
"idcmax": 500,
"idcmin": -200,
"idckp": 2,
"idcflt": 9,
"tmphsmax": 100,
"tmpmmax": 150,
"throtmax": 100,
"throtmin": -100,
"accelmax": 1000,
"accelflt": 3,
"chargemode": 0,
"chargecur": 0,
"chargekp": 80,
"chargeki": 10,
"chargeflt": 8,
"chargepwmin": 0,
"chargepwmax": 83.5,
"idlespeed": -100,
"idlethrotlim": 50,
"idlemode": 3,
"holdkp": -0.25,
"speedkp": 0.18,
"speedflt": 5,
"cruisemode": 0,
"cruisethrotlim": 50,
"udcsw": 160,
"udcswbuck": 540,
"tripmode": 0,
"bootprec": 0,
"pwmfunc": 0,
"pwmgain": 100,
"pwmofs": 0,
"canspeed": 1,
"canperiod": 1,
"nodeid": 1,
"controlid": 63,
"controlcheck": 1,
"manualstart": 0,
"manualiq": 0,
"manualid": 0
}
Was doing some tuning on the c202 yesterday and I noticed that idc and I’d care increasing when I apply throttle. Udc starts of at approx 190V and goes above 200V (I have a 48S battery)
Idc starts at around -16 and moves toward 0.
What did I miss?
This is the current config. I’m running rev 3 hw and version 5.32.R-foc.
{
"iqkp": 60,
"idkp": 100,
"curki": 4000,
"vlimflt": 11,
"vlimmargin": 2500,
"fwcurmax": 0,
"syncofs": 1000,
"lqminusld": 0.59,
"fluxlinkage": 90,
"syncadv": 10,
"polepairs": 4,
"respolepairs": 4,
"sincosofs": 2048,
"encmode": 4,
"fmax": 200,
"numimp": 400,
"dirchrpm": 100,
"dirmode": 1,
"snsm": 14,
"pwmfrq": 1,
"pwmpol": 1,
"deadtime": 78,
"ocurlim": 500,
"il1gain": 2.31,
"il2gain": 2.31,
"udcgain": 5.21,
"udcofs": 250,
"udclim": 540,
"snshs": 6,
"pinswap": 6,
"modmax": 37836,
"potmin": 475,
"potmax": 3130,
"pot2min": 231,
"pot2max": 1590,
"potmode": 1,
"throtramp": 2,
"throtramprpm": 20000,
"throtcur": 3.5,
"brakeregen": 0,
"regenramp": 1,
"regentravel": 15,
"offthrotregen": -20,
"cruiseregen": -20,
"regenrampstr": 25,
"brklightout": -50,
"bmslimhigh": 50,
"bmslimlow": -1,
"udcmin": 160,
"udcmax": 200,
"idcmax": 500,
"idcmin": -200,
"idckp": 2,
"idcflt": 9,
"tmphsmax": 100,
"tmpmmax": 150,
"throtmax": 100,
"throtmin": -100,
"accelmax": 1000,
"accelflt": 3,
"chargemode": 0,
"chargecur": 0,
"chargekp": 80,
"chargeki": 10,
"chargeflt": 8,
"chargepwmin": 0,
"chargepwmax": 83.5,
"idlespeed": -100,
"idlethrotlim": 50,
"idlemode": 3,
"holdkp": -0.25,
"speedkp": 0.18,
"speedflt": 5,
"cruisemode": 0,
"cruisethrotlim": 50,
"udcsw": 160,
"udcswbuck": 540,
"tripmode": 0,
"bootprec": 0,
"pwmfunc": 0,
"pwmgain": 100,
"pwmofs": 0,
"canspeed": 1,
"canperiod": 1,
"nodeid": 1,
"controlid": 63,
"controlcheck": 1,
"manualstart": 0,
"manualiq": 0,
"manualid": 0
}