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.

LAUNCHXL-F280049C: Controlling BLDC Torque with InstaSPIN-FOC

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: BOOSTXL-DRV8320RS

Currently have a BLDC motor setup with the following parts:

  • A BLDC Motor (Teknic M-2310P-LN-04K)
  • LaunchXL-F280049C LaunchPad
  • BoostXL-DRV8320RS

I am able to run the F280049C InstaSPIN-FOC lab5 to get a motor id and run in speed control. I've walked through the lab6 which covers tuning for torque control. How do I set the target torque value? It seems that the torque control lab discusses how to tune the parameters for the PID controller, but there is no indication on how to change the target torque. 

Thanks!

  • The target torque current is based on the motor and its load, you might set a small value first, and then increase the value according to the running state. It's better to add a light load on the motor to tune the gains of the current PID.

  • How do I set that value? 

    For example, I want to start the motor at torque/current X and then I want to change the torque/current to Y in order to show that I can change the target torque value. 

  • Torque control is achieved through a target current variable. 

    Modify "IdqSet_A.value[1]" to change the target current value.  The torque control algorithm will operate to achieve and maintain this current value.

  • Right, as Mark mentioned, just need to change IdqSet_A.value[1] to the value you want in lab06 to implement the torque control.