go away spammer

Author Topic: lmd18200 h-bridge question  (Read 3350 times)

0 Members and 1 Guest are viewing this topic.

Offline szhangTopic starter

  • Robot Overlord
  • ****
  • Posts: 140
  • Helpful? 1
    • szhang.net
lmd18200 h-bridge question
« on: October 18, 2008, 01:48:15 AM »
I am somewhat puzzled by the LMD18200's design decisions.  If you look at the truth table for PWM, you'll notice that if you hold brake low, dir to whatever, and pulse PWM, the driver'll pulse the motor when the PWM is high and short the motor when PWM is low (effectively braking the motor).  Can anyone enlighten me on why this is case instead of letting the motor coast while the control signal is low.

Here is the truth table for the LMD 18200

PWM   DIR     Brake     Active Drivers
H    |    H    |    L    |    Source 1, Sink 2
H    |    L    |    L    |    Sink 1, Source 2
L    |    X    |    L    |    Source 1, Source 2
H    |    H    |    H    |    Source 1, Source 2
H    |    L    |    H    |    Sink 1, Sink 2
L    |    X    |    H    |    NONE

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: lmd18200 h-bridge question
« Reply #1 on: October 21, 2008, 04:11:51 PM »
Can anyone enlighten me on why this is case instead of letting the motor coast while the control signal is low.
It is for tighter control (but it is a more power hungry method).

If you want it to coast instead, just invert the PWM signal and feed it to the brake input - the inversion needs to have a propagation delay of at least 1µs (could be done by eg. the PWM signal feeding an R/C circuit of 1kOhm/1nF respectively, before going to an inverter with a schmitt trigger input).
If you want to retain the brake function, it can be done with a bit of logic.
If you drive the LMD18200 from a µcontroller, this can all be done in software.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 


Get Your Ad Here