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.

DRV8412: Brushed Motor Driver

Part Number: DRV8412
Other Parts Discussed in Thread: DRV8962, SN74HC125

Hello TI Team,

I will be using DRV8412 (potentially DRV8432) to drive Brushed 24V DC motors in a bi-directiona manner.. I am confused about topics listed below and I will appreciate your support.

1) I will be driving two DC motors bi-directionally. So, natural operation mode of the device is Dual Full Bridge Mode (M3=0, M2=1, M1=1). According to the datasheet, in this mode,complement of the control signal (PWM_A) of half-bridge A is fed to other half bridge B. In this case, is bi-directional operation possible? How can one apply brakes? I think this mode is only suitable for full speed (100% duty cylce) opreation. Am I correct?

2) I had a closer look at the first typical application (section 8.2.1). In the design parameters (Table 3.), operation mode is said to be parallel full bridge. I believe that it is not the case for this typical application. Are there any typo? Also in the schematic in the typical application all mode selection inputs (MX) are set to 0. 

3) Should I use the first operation mode (M2=0, M1=0) rather than fourth operation mode (M1=1, M2=1)? Because I believe that in this case, one has full control over H-bridge (two control signals for each H bridge). Though, I wondered if I can use the latter operation mode or not.

Sincerely,

Burak Keskin

  • Hey Burak,

    1) I will be driving two DC motors bi-directionally. So, natural operation mode of the device is Dual Full Bridge Mode (M3=0, M2=1, M1=1). According to the datasheet, in this mode,complement of the control signal (PWM_A) of half-bridge A is fed to other half bridge B. In this case, is bi-directional operation possible? How can one apply brakes? I think this mode is only suitable for full speed (100% duty cylce) opreation. Am I correct?

    There are three modes with Dual Full Bridges (Mode 1, 2, and 4).  "In mode 1 and 2, PWM_A controls half bridge A, PWM_B controls half bridge B, and so forth Figure 8 shows an
    application example for full bridge mode operation."  Your question here is about mode 4.  In this case if you run the motor at greater than 50% duty cycle it will drive one direction, less than 50% the other direction.  So 0% PWM would be full speed forward, and 100% full speed reverse.  

    2) I had a closer look at the first typical application (section 8.2.1). In the design parameters (Table 3.), operation mode is said to be parallel full bridge. I believe that it is not the case for this typical application. Are there any typo? Also in the schematic in the typical application all mode selection inputs (MX) are set to 0. 

    Looks like it's running in Mode 1, since M1-M3 are all set to GND like you say:

    3) Should I use the first operation mode (M2=0, M1=0) rather than fourth operation mode (M1=1, M2=1)? Because I believe that in this case, one has full control over H-bridge (two control signals for each H bridge). Though, I wondered if I can use the latter operation mode or not.

    With mode 4 you lose granularity of control (only 0%-50% instead of 0%-100%), and the signal is complimentary like you note, but the advantage is that you only need 2 PWM outputs from your MCU instead of 4.  Mode 0 or 1 gives you more control over all, since you can control the half-bridges independently.  

    This is a fairly old device (2009), you may want to consider a newer device like the DRV8251A or the upcoming DRV8962

    Regards,

    Jacob

  • I will be using DRV8412 (potentially DRV8432) to drive Brushed 24V DC motors in a bi-directiona manner..

    Bidirectional: speed or position control? 

    Mode (M3=0, M2=1, M1=1). According to the datasheet, in this mode,complement of the control signal (PWM_A) of half-bridge A is fed to other half bridge B. In this case, is bi-directional operation possible?

    Sure this mode is ok to drive motor bidirectional. But you have half of the PWM duty cycle resolution. I think mode (000) is best for you if the MCU has 4 PWM output signals.

    How can one apply brakes? I think this mode is only suitable for full speed (100% duty cylce) opreation. Am I correct?

    Braking by reverse motor current. Jacob had provided the explanation of how the PWM duty cycle controls the motor direction.

    Also in the schematic in the typical application all mode selection inputs (MX) are set to 0. 

    Mode set to 000 is fine for 2 full bridges or 4 indi half bridges. The parallel (double up) one full bridge is for driving one high current motor, which is not related to the typical mode 000.

    Should I use the first operation mode (M2=0, M1=0) rather than fourth operation mode (M1=1, M2=1)? Because I believe that in this case, one has full control over H-bridge (two control signals for each H bridge). Though, I wondered if I can use the latter operation mode or not.

    Both 000 and 011 modes are ok for driving motor bidirectional, but I would use mode 000 if the MCU has 4 pwm output pins, as mode 011 has half resolution for pwm control. 

    Brian

  • Thank you for your reply, I have designed a circuit board based on Mode 0. I will be using DRV8432 instead of devices that you have suggested because my assembling house happens to have DRV8432 in stock. Lead time for products that you have mentioned is above 1 month.

  • Awesome, sounds like good progress! 

    Fair enough, you could try requesting samples of them and see if those come any faster, or request/order an EVM and then you can jump wires over from your own new board and test with the EVM's motor driver.  Just a thought.  I'm going to mark this thread as closed now, you can make a new post if problems come up in the future.  

    Regards,

    Jacob

  • I have implemented a "Control Branch" that acts as an interface between MCU and DRV8432. You can find the schematic of the lattter in the attachment. Purpose of using this branch will be to use one PWM pin of the MCU instead of two PWM pins. The trade off is you use three pins to control one full bridge. Do you see any problems on schematic?

  • Hey Ibrahim,

    Interesting strategy.  It's more complicated than just using the driver's built in Mode 4 - Dual full bridges (one PWM input each full bridge).  I'm not experienced with the SN74HC125, but I pulled up its datasheet and compared schematics and it looks like it should work.  Did you try using Mode 4?

    In mode 4, one PWM signal controls one full bridge to relieve some I/O resource from MCU, that is, PWM_A controls half bridges A and B and PWM_C controls half bridges C and D. In this mode, the operation of half bridge B is complementary to half bridge A, and the operation of half bridge D is complementary to half bridge C. For example, when PWM_A is high, high side FET in half bridge A and low side FET in half bridge B will be on and low side FET in half bridge A and high side FET in half bridge B will be off. Since PWM_B and PWM_D pins are not used in this mode, it is recommended to connect them to ground.

    Regards,

    Jacob

  • I will proceed with Mode 4 if this design does not work as intended. Thank you so much for your interest. Once the board is assembled, I will share the results.