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.

Motor control algorithm recommendation

Genius 3095 points
Other Parts Discussed in Thread: C2000WARE

Hi team:

I need a motor control algorithm which can make the motor return to set speed quickly under the condition of load change.

I have tried the instaSPIN-FOC algorithm, but still can't meet with my requirement (I hope the motor speed recovery time is within 100ms.).

Do you have any recommendation?

Best regards

  • Hi team:

    Can someone provide any information?

    Best regards

  • What device are you using?

  • Hi Richard:

    Thank you for your reply.

    I don't have a device now. So I need you to recommend a suitable solution and corresponding devices.

    Best regards

  • OK, thanks.  The performance of the outer speed control loop will come down to the tuning of whatever speed controller you are using.  If you are using a typical PID controller, you will be adjusting gains to optimize features of the transient response.  There is a linear PID tuning guide in the \docs folder of the Digital Control Library (DCL) in C2000Ware which may help you here.

    Depending on the controller update rate, you may like to investigate nonlinear PID control.  There is a nonlinear PID controller in the DCL denoted NLPID which will run on any floating point C2000.  In principle, this controller can improve transient performance significantly.  Look out for announcements next month about developments in this area.

    All the above pre-supposes the inner current loops are solidly tuned.  For the outer controller to be able to function effectively, the motor must be able to supply the commanded torque, so the inner loop is "stiff".  If not, it will limit what is possible from the point of view of speed regulation.

    Regarding device selection, I can only recommend using the DCL functions and suggest one of the newer floating point devices such as F280049 or F28379D.  As I said, look for announcements in March.

    Hope this helps.

    Regards,

    Richard