Monday, 27 May 2013

Inverted Relay Driver Stage Circuit

An inverted relay driver stage circuit design was requested to me by Mr Aparajit for some specific functioning of the relay, lets know the whole procedure of making the said circuit.


Request made by Mr. Aparajit:

Dear Sir,

I want to interface a Relay with 8051 microcontroller and its
operating voltage is 5v.
A single BC547 (in Common emitter) Transistor driving a 12v Relay.

At initial Power-on all output of microcontroller are logic high(+5v).
Even I initialize its output to logic Low(0v) it takes a fraction of
second to change state. Which resulting a fluctuation at Relay and its
output.

So, I want to design a inverted Circuit to drive that relay. i.e Input
logic 0v to ON, logic high(5v) to OFF the Relay.
I have used NOT-GATE like 74hc04, results are perfect, but i need a
small transistor based solution.



Thanks for responding.

Regards,
Aparajit.
 
My Reply to Mr. Aparajit
 
Hello Aparajit,

Either you can use a PNP transistor like a BC557
in place of BC547 and connect the relay across its collector and
ground, or,.... connect another BC547 with the existing one in the
following way:

The relay driver BC547s base resistor end which
was previously connected to the microcontroller o/p now gets connected
to the collector of the new BC547. This junction also gets connected to
the positive via a 2K2 or nearby value resistor.

The emitters of both the BC547 are commonly connected to ground.

The base of the new BC547 gets connected to the microcontroller o/p via a suitable resistor, 
may be of the order of 10K or so.

Any of the above inverting options may be selected for the desired functions.

Do not forget to connect the flyback diode across the relay coil for the above cases.
 
I think the first option which uses a BC557 transistor is much straight forward.
 
 Regards.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.