We’re using the TMS320F28027F with InstaSPIN motor control firmware.
I’m fairly new to motor control and wondering about deceleration with the CTRL_setMaxAccel_pu() InstaSPIN FOC API function.
Are there conditions for deceleration to be controlled? An example deceleration is with gMotorVars.SpeedRef_krpm set to 6krpm and the motor spinning at this speed, and with gMotorVars.MaxAccel_krpmps set to 9krpm/s. When gMotorVars.SpeedRef_krpm is set close to 0rpm, the motor appears to decelerate briefly at 9krpm/s, but then appears to coast, uncontrolled. Is this expected?
Please let me know if you’d like more information about my setup.