I've been trying to figure out a way to switch polarity of an output by using transistors so that I can operate a motor in either direction depending on the pin output from a PIC or similar. Basically I want a DPDT relay in transistor form.
I have cobbled together a few elements on the attached pdf which include a pair of NPN transistor switches, a pair of PNP transistors and a transistor inverter.
Basically a NPN and a PNP switch work together to connect pins to +V and 0V. When the state of the input changes (5V to 0) the inverter switches to the opposite pair which connect the pins to +V and 0V but the opposite way round.
I have run this in a simulator and it seams to work but I was wondering if there is a simpler alternative?
One alternative I have considered is supplying one pole of the motor with a constant +5V and having the opposite pole varying between 0V to 10V. This would give a Voltage drop across the motor of +5V to -5V. This seams simpler. Can anybody see any problems with this?
I have cobbled together a few elements on the attached pdf which include a pair of NPN transistor switches, a pair of PNP transistors and a transistor inverter.
Basically a NPN and a PNP switch work together to connect pins to +V and 0V. When the state of the input changes (5V to 0) the inverter switches to the opposite pair which connect the pins to +V and 0V but the opposite way round.
I have run this in a simulator and it seams to work but I was wondering if there is a simpler alternative?
One alternative I have considered is supplying one pole of the motor with a constant +5V and having the opposite pole varying between 0V to 10V. This would give a Voltage drop across the motor of +5V to -5V. This seams simpler. Can anybody see any problems with this?
Attachments
-
9.5 KB Views: 69