This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-F28069M: how to limit output current in Field oriented control

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi,

we are editing the program sensorless program in " C:\ti\controlSUITE\development_kits\DRV830x-HC-C2-KIT_v105\PM_Sensorless" .In this program how i can introduce a factor to limit the output current,for example if i specified the output maximum current is 10A then the output should not cross that limit.

Thank you

  • If the motor was running with speed close loop in Level7, you can limit the torque current by setting the max/min value of speed PID as below.
    pid1_spd.param.Umax = _IQ(N);
    pid1_spd.param.Umin = _IQ(N);
    N = Iq(maximum)/Ib; Ib is the BASE_CURRENT in xx-Setting.h.