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.

DRV8301-69M-KIT: Lab3A with DRV8301-69M kit, motor makes high pitched noise but doesn't spin.

Part Number: DRV8301-69M-KIT
Other Parts Discussed in Thread: MOTORWARE

I'm using a BLDC outrunner motor with my DRV8301-69 EVM kit and having fixed some issues I was having with Code Composer Studio, I've been able to do Labs 1 through to 2D. However when I follow Lab3 and build, my motor makes a really high pitched buzz sound but doesn't turn. All of the motor variables appear in the javascript expressions window and the V and I bias's also appear as per the lab.

The motor runs fine with the Universal GUI and I've used the measurements of the Rs, Ls, Ld and Rated Flux in the GUI as well as Labs 2 to ensure that the variables in my User.H file aren't crazily off.


I've included the User.H file below and can upload more or even a video to help get this resolved.

0777.4035.user.h

James

  • From your user.h, the pwm frequency is 50KHz and cpu frequency is 90MHz, so please set USER_NUM_PWM_TICKS_PER_ISR_TICK to 2 or 3 to ensure the ISR time is enough. And you should use lab02c to identify the motor parameter since the motor is low inductance. You can adjust current PI regulator parameter and Iq_ref if the motor can run with vibration or noise.

  • Thanks Yanming,

    I executed those changes and tried again with very little improvement. I have added my Proj_Lab02c.c file and User.h file below as well as a link to a video I've made showing my code and the actual motor spinning through the Estimation phases and then with high resonance when I use SpeedRef_krpm to set the speed. Hopefully this sheds a bit more light on the situation.

    When I use any Lab and try run the motor after ID'ing it or with variables saved (Lab 3a), the motor resonates so badly that it shakes the frame it's on and I turn it off quickly.

    Private youtube Video, skip to 4:17 to see Motor ID and issue;

    https://youtu.be/yWxDn9n9jWk


    User.h file


    Lab 2c.c file:

    Thank you for your consideration and help.

    James

  • Which version of CCS and Motorware are you running?

    Sean
  • Hi Sean,

    I'm using CCS 7.0.0 and motorware_1_01_00_17. I believe the issue is with the Ki and Kp gain or somewhere in the speed control loop as it works when identifying but then not afterwards in Labs 2d and Lab3a but when I control it using Lab4 and the current control the motor runs fine from low-end to max rpm.

    James