Part Number: TMS320F28069F
We use a TMS320F28069FPFPQ in combination with InstaSPIN libraries to control several PMSMs that are already in production. We urgently need a way to limit the maximum current command output.
It is understood that “USER_MOTOR_MAX_CURRENT” sets a limit on the maximum current command output of the Speed controller, but not the subsequent Iq controller, making its variable name a bit misleading. We implemented in software a max phase current that when reached causes a shutdown to protect the motor. This successfully prevents motor and driver damage, but there must be a way to allow for continuous operation within the defined operational range without reaching the limit shutoff values.
Two ways that this lack of Iq-clipping is problematic:
- Trying to catch a spinning down blower, due to the large difference between SP and PV the controller causes the current to jump outside of the operational range into the limit that shuts off the motor again resulting in sharp current peak hick-ups until the motor has stopped after which a defined ramp brings him back to operating speed. Btw: This cannot be manually repeated, even if ramp rate is 65000rpm/s the output is clipped successfully to USER_MOTOR_MAX_CURRENT until nominal speed is reached.
- After some time in saturation (insufficient voltage to reach SP) the integrator part of the PID wound-up and after a sudden voltage increase causes a current peak leading to a shutoff. This was patched by transitioning from static to dynamic anti-windup behavior as outlined in the InstaSPIN guide. But, also here, the more general solution should be a clipping of Iq IMHO.
The above described behavior also occurs with Field Weakening and MTpA disabled.
Thank you for your support.