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.

The motor speed is out of control and runs to maximum speed

Other Parts Discussed in Thread: CONTROLSUITE, DRV8303EVM

The software path I used:  D:\ti\controlSUITE\development_kits\DRV8312-C2-KIT_v128\BLDC_Sensored

Hardware:DRV8303EVM  

#define LEVEL6  6           // Verify the closed speed loop and speed PI controller.

I changed the IO port configuration according to the DRV8303EVM hardware.     #define   BUILDLEVEL LEVEL6

The motor can start normally, but the speed is not controlled, and the motor automatically runs to the highest speed. How to solve this problem?

  • Please check if the speed1.Speed is calculated correctly, it should be close to rc1.SetpointValue since you enable speed close loop. If it's not correct, check if speed1.BaseRpm and speed1.SpeedScaler is set correctly.

    Btw, what code did you change in the original project? Are there any problems to run the motor in other LEVELs? You may run the project step by step from LEVEL1.

  • Just wanted to check in and see if there is any update from your side, I haven’t heard from you for a week, so I’m assuming you were able to resolve your issue. Please let me know if you have any questions. We would like to close this thread if no any further questions. Thanks.