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.

Duty cycle control of a 3-ph BLDC motor

Other Parts Discussed in Thread: BOOSTXL-DRV8301, MOTORWARE, DRV8301, LAUNCHXL-F28027F

Hello,

I'm working on driving a BLDC motor, in a sensorless mode, with the duty cycle of PWM that I will generate from an external device, with its own algorithm of control. I have seen that the DRV8301-HC-C2-KIT allows this kind of control. My concern is about the reading of the current and the speed feedback and my questions, if you have the time to answer me, are as follows :

1 - Which pin can be used to interract with the driver ? How do I link the PWM to the driver ? I have seen that I can interract with the driver with the SPI interface, but I don't know how I can make the driver read my PWM duty cycle. Do I configure a GPIO as a digital input ? If so, Is it doable with your kit ?

2 - How can I get the current and the speed feedback to my external device in order to generate the according PWM ?

I am a begginer in embedded systems and I do not know how I can interract and how I get the information that I need from your driver and which pin and interface I may use.

I thank for you time and hope to hear from you. Have a good day.

  • Hi Kamal,

    May I suggest you look at the BoostXL-DRV8301? This is a low cost evaluation platform allowing you to evaluate the algorithms.

    The online schematics for this platform will provide the necessary connection information.

    Code to operate the BoostXL-DRV8301 is available through MotorWare.
  • I'm sorry to write again, but i just wanted to clear a certain point.

    What I mean by reading the duty cycle from an Arduino for example is something like the file attached.

    Thank you for your time.

  • Hi Rick and thank you for your fast answer.

    I'm really new to this world, so my question might seem weird. But your suggestion is to combine the BoostXL-DRV8301 with the DRV8301 kit ?
    Like for example insert a commanding pwm duty cycle to the boostXL-DRV8301 and read it on the DRV8301 driver kit ?

    Thank your in advance for your clarifications.
  • Hi Kumal,

    Sorry for any confusion.

    No, the BoostXL-DRV8301 and a LAUNCHXL-F28027F would be used instead of the DRV8301 kit. Think of the BoostXL-DRV8301 as a subset of the DRV8301 kit. The BoostXL-DRV8301 allows evaluation of many of the features of the larger DRV8301 kit at lower voltage and current ratings.

    From the BoostXL-DRV8301 page:
    The kit was designed to work with any LaunchPad XL, with primary software support through the www.ti.com/.../LAUNCHXL-F28027F using MotorWare to support the InstaSPIN™-FOC sensorless control solution.
  • Rick,

    Thank you for your suggestions, but the kit was chosen in order to match my voltage and current requirements. In addition, and excuse my ommission, I want to use a BEMF zero-cross solution to control the motor.
    I just do not know how to interract with this kit, how to use the SPI interface for example or the DAC outputs.

    I'm sorry if I'm bothering you and thank you again for your time.