H bridge leaking current

arduinoh-bridgemicrocontrollerroboticstransistors

I have built an H-bridge with the following schematic.

w

My motor controls a wheel that I want to turn backwards and forwards. The voltages to the bases of the BJTs are supplied by an Arduino. the Motor has a 3V battery supply.I am worried that a supply voltage above 1.4 could cause cross conduction.

Everything is working fine except for one thing. When I press one of the switches (either to make the wheel turn forwards or backwards) it is as if current starts "leaking" and from that moment on the wheel always turns slowly forwards. If I hold it in position for some time it stops spinning but if I turn the wheel by hand, or touch one of the switches, it starts turning again.

If I press the switch to make the wheel/motor go forward, it only turns faster, and if I press the other switch it turns backwards (but suspiciously slowly!).

Does anyone have an idea what could cause this problem? Is it "normal" for transistors to leak current in this way when I'm working with such a low voltage supply?Is the circuit gallery circuit flawed?

Thanks in advance!

Best Answer

That circuit is going to leak big time. 1K is not enough base drive for anything but the smallest motors. Those unlabeled resistors would need to be 5 times more than that to avoid leaking

One way to prevent this leaking is to used a fixed voltage drop like a zener diode or LED so that all the voltages add up to more than the supply.

schematic

simulate this circuit – Schematic created using CircuitLab

red LEDs have about 1.6V drop, that combied with the two VBE drops will keep it under control, plus LEDs look neat :)

I have written 3.3V but this circuit should be good for anything from 2.8V to 4.2V