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.

CCS/BOOSTXL-DRV8301: Running lab2c from debugger, motor vibrates 4k rpm but same motor and same hardware runs motor at much higher rpm i.e. 18Krpm

Part Number: BOOSTXL-DRV8301

Tool/software: Code Composer Studio

Hello,

I am  working with Lab2c and BOOSTXL-drv8301 hardware. I ran the BLDC motor by building .out file and through GUI [INSTASPINUNIVERSAL-GUI]. It worked and I was able to achieve 18krpm which was rated as per the manufacturer datasheet.

Now I tried same program to Run through Debug mode, Motor ID worked. Acceleration control also worked but as I increased the speed above 4krpm BLDC motor started vibrating.

What should I do to run motor smoothly without GUI but similar to GUI method.  

Regards 

Yash

  • You might use lab02c to identify the motor to get its parameters, and then use lab05b or lab10a to run the motor with the identified parameters through debug mode in CCS. I don't think there is any difference between CCS and GUI if you are using the same .out file.

  • Thanks for response!


    1 . Regarding lab2c ...

    But I am not able to run motor above 4krpm in debug mode as it starts vibrating. 

    Same .out file in GUI runs motor at 18krpm 

    Why is it so??

    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    2 .  Regarding lab5 and +

    I will try building those programs 

    Regards 

    Yash

  • Hello 

    I was able to run motor smoothly by tuning PID parameter for speed and current loops of the system 

    Regards 

    Yash