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-F28069M: BOOSTXL-DRV8301

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: DRV8301, CONTROLSUITE, MOTORWARE

Hello,

Every time I upload my code to launchpad F28069M, Motor makes initial jerk and then it is not running at all. I am using DRV8301 REVB inverter with F28069M. I am supplying 19V, 3A power to booster pack and set speed of 300 rpm. But motor is not running at all. Initially everytime I upload my code via USB and then disconnect USB and connect DC Power supply then it runs once and once if I stop supplying power and then connect again this power supply then current is trying to exceed the limit and motor is not starting at all. I am flashing code and running from it.

any idea why this could happen?

thank you.

regards

Jim

  • Hi Jim,

    Are you using the BOOSTXL-DRV8301 Boosterpack for running the motor? If yes, have you referred to the following documents already:

    1. BOOSTXL-DRV8301 Quick Start Guide

    2. BOOSTXL-DRV8301 Hardware User's Guide

    If not, then could you provide more info on the development environment you're working in:

    1. Tools: Compiler, Code Composer Studio, controlSUITE, Flash programmer, etc

    2. Hardware: controlCARD, Launchpad, custom board, TI development kits, etc

    Regards,

    Sudhakar

  • Hi Sudhakar,

    Everything is okay with software and compiler and I did set it correctly.

    I am using MATLAB/SIMULINK to control motor. I am also using F28069M launchpad and DRV8301 REVB inverter to control Motor with following parameters. This is the motor which came with DRV8312-69M kit.

    DT4260-24-055-04
    24VDC 4000RPM

    I don't have datasheet for this motor and could not find on internet as well. Still I did use INSTASPIN-FOC to measure some para. and these are as below. correct me if it is wrong.

    Pole pairs = 4;
    Stator resistance = 0.41; (ohm)
    Stator inductance = 0.60e-3; (H)
    Base peak phase voltage = 24; (volt)

    I don't know what is the power rating of this motor and I just set current limit to 3.2A and supplying 16V from power supply.

    The problem is Motor is vibrating but not spinning at all after uploading my code. I don't know why? Is it because of improper power supply or what?

    Any Idea!

    Thank you

    regards
    Jim
  • You may download and install motorWare V18 from TI website, and run the lab projects like lab02a, lab10a, To look at if there is the same problem you met now. It seems like that the problem is from the project code which maybe generated by Matlab/simulink, you have to check the project code to find the root cause. You can check whether the integral terms (Ui) of all PI regulator (Speed, Id and Iq) are set to Zero before you started the motor.
  • i dont get it. The Integral terms (Ui) should be zero before starting. By that did you mean there is only P controller? Because I set some value to Integral term (0.02 in Current PI and 0.1 in Speed PI). can you explain where I am getting wrong?

    Thank you
  • A PI/PID regulator should include Proportional (Up), Integral (Ui), Derivative (Ud)output, and Proportional (Kp), Integral (Ki), Derivative (kd) gain.
    You may need to reset the Integral output (Ui) and final output (Uout) before you started or re-started the motor, and it's necessary to set a right Proportional (Kp) and Integral gain (Ki) for PI regulator. And you may review and check your simulink model and project code since the PI regulator maybe not the root cause.
    You may try to use the example lab projects in motorware, that maybe more easy to say the reason for me, since I didn't know your simulink model and project code.

    Btw, you may try to increase the power supply to 24V.