Author Topic: Dual H Bridge driver - Datasheet questions  (Read 476 times)

0 Members and 1 Guest are viewing this topic.

Offline electron42Topic starter

  • Newbie
  • Posts: 4
  • Country: scotland
Dual H Bridge driver - Datasheet questions
« on: September 22, 2022, 07:21:32 pm »
Hi All,

I have been looking into using the TC78H660FTG as a motor driver. The datasheet has been attached.

My question is how exactly would the speed of each motor be controlled using this IC. I have only previously
used an l298n with speed being controlled through PWM on the enable pins.

This IC has a Stand by a pin which can stop the motor, would connecting a PWM signal into this be a way of controlling speed?

The OSCM pins seem to work in conjunction with VREF which detects if the current limit has been reached, however, this is not
needed so I'm assuming it's okay to ground VREF. However, I don't think this relates to speed control.

Lastly, what is it meant when in phase mode? I'm aiming just to keep this in input mode.

Sorry if this seems stupid, thanks in advance.

Cheers,

 

Offline JustMeHere

  • Frequent Contributor
  • **
  • Posts: 759
  • Country: us
Re: Dual H Bridge driver - Datasheet questions
« Reply #1 on: September 22, 2022, 08:34:58 pm »
Standby is slow

You want pins 1, 14, 15, 16
 

Offline electron42Topic starter

  • Newbie
  • Posts: 4
  • Country: scotland
Re: Dual H Bridge driver - Datasheet questions
« Reply #2 on: September 22, 2022, 09:54:02 pm »
Would this speed be controlled by switching MODE and using the phase on the pins you listed?
 

Online pcprogrammer

  • Super Contributor
  • ***
  • Posts: 3768
  • Country: nl
Re: Dual H Bridge driver - Datasheet questions
« Reply #3 on: September 23, 2022, 06:10:14 am »
To control the speed you have to use PWM on the control pins (IN1A, IN2A for channel1, IN1B, IN2B for channel2). It uses the same pins when in PHASE mode, but the names differ.

Read the datasheet and look at chapter 8 for the difference between the two modes. In the IN mode it shorts the motor to break it, in PHASE mode it does not.

When using IN mode the control needs to vary between low,low and low,high to go backwards and high,low and low,low to go forward. This means to control the speed you have to enable PWM on only one of the two lines, depending on the direction you want to go in. Making both lines high will apply break to the motor, which will give it erratic behavior.

Offline electron42Topic starter

  • Newbie
  • Posts: 4
  • Country: scotland
Re: Dual H Bridge driver - Datasheet questions
« Reply #4 on: September 23, 2022, 10:33:38 am »
Thanks you!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf