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 stalls when speed loop is closed

Other Parts Discussed in Thread: TMS320F28035, BOOSTXL-DRV8305EVM, DRV8312, BOOSTXL-DRV8301, LAUNCHXL-F28069M

hardware/software - DRV 8312 motor control kit

                                  - Code Composer studio v5.4

                                  - TMS320F28035

-------------------I am using the PMSM that comes with the DRV 8312 kit

Good afternooon, I am running the pm_sensorless code on the board (BUILD 6A). The motor runs fine when i close the current loop (lsw = 1), however when i close the speed loop (lsw = 2) the motor speeds up in the opposite direction for about a millisecond then stops. NB: I am using an encoder (RS 341-575). Can anyone please point me in the right direction so as to solve this problem?

Thank you

- Jason

  • lsw = 2 closes the speed loop, but it also is the swtich to start using the eSMO for angle feedback in the control system.
    did you tune and verify the SMO performance in build level 5?

    if you feel good about the SMO angle, tune the speed loop

    are you using method 6A or 6B?

    BTW - I would highly recommend evaluating InstaSPIN-FOC for sensorless and InstaSPIN-MOTION for encoder based control. You an repurpose your DRV8312 kit and just buy TMDSCNCD28069MISO or you can start fresh with LAUNCHXL-F28069M and BOOSTXL-DRV8301 or BOOSTXL-DRV8305EVM

    The InstaSPIN solutions are significantly easier to get a motor spinning and properly tuned.
  • thanks for the reply.
    I am using method 6A.
    I did verify the SMO at level 5, however, I made the necessary adjustment to the code so that i can use the angle being generated from the encoder as angle feedback and not the angle from the SMO. The problem still persists.
    NB: i am not able to use any other boards except the DRV 8312 because that is what my final year project requires.
  • most likely the encoder angle is incorrect or formatted incorrectly, but if not that I would suspect the tuning of the speed loop.
    good luck with your class