Launch relay when power off

Thread Starter

parmaja

Joined Jul 2, 2008
41
Hi, team

Description:

This circuit launches the relay when the power comes off using a capacitor charged when the power on, so it is not needed any extra power for the relay.
Increase the size of this C1 to increase the delay time, the power is 6v.

Benefit:
I have a server computer connected to a UPS that give me 10 minutes backup time when the main power goes off, at this time I must shut down the computer.
The problem my UPS doesn't have any feature to send that signal to my computer, and any new UPS will be expensive.
Also my computer has no any COM port to accept the old type of UPS.

The circuit powered by a transformer connected directly to main power not to the UPS.

I will take two wires from the Power Button (on the mother board) and link it to this relay. When the main power off, my computer still on, and gets a signal to shut down from that relay as like if we press the Power button, we need to config our system (Windows 2003) to take this action.
Also, I configured my bios to turn on when the AC comes back, so when the main power come, my computer will turn.

Until now I have tested it in the breadboard, and I need some one approve it before put it in my blog, or check it if we can improve it.

This is my first circuit at my age, I am just a programer.
Thanks in advance

Zaher Dirkey
 

Attachments

Last edited:

wayneh

Joined Sep 9, 2010
16,844
What is the purpose of C2? It would do more on the base of the transistor (after the diode) instead of across the power supply (before the diode). Is that supply noisy DC, or AC?

D1 and D2 are redundant. A single diode at the power supply would accomplish the same thing.

There would be other ways to accomplish this, but if you're happy with your relay, go for it.
 

Thread Starter

parmaja

Joined Jul 2, 2008
41
I am not sure about C2, it reduce the noise of DC that come from,
I will move it after the diode.
wayneh said:
D1 and D2 are redundant. A single diode at the power supply would accomplish the same thing.
Ah, good :D

wayneh said:
There would be other ways to accomplish this.
I've searched for this circuit for days can not find one do the same.

No not happy with Relay, but it is more safe when connect to computer wires.

Thanks.
 

Thread Starter

parmaja

Joined Jul 2, 2008
41
D1 and D2 are redundant. A single diode at the power supply would accomplish the same thing.
Not worked, because D1 prevent the capacitor C1 from apply postive value on transisotor base, is that right?
 
Last edited:

Thread Starter

parmaja

Joined Jul 2, 2008
41
1 - Thanks for the replay, I edited my previous post, (I have mistakes when quote)

Same original schematic, if I replace D1 and D1 with one D2, and connect R1 to after D2, is that you meant?

It is not working, because C1 applies a positive value on the Base of the transistor?.

2 - I hear a noise from my relay, some time after a random period it is clicked, while the power on.
 

wayneh

Joined Sep 9, 2010
16,844
...if I replace D1 and D1 with one D2, and connect R1 to after D2, is that you meant?
Yes, but I misunderstood your circuit because I assumed (never assume!) it was a DC circuit. It must be AC? You need both diodes. Sorry about that.

My comment on C2 is still valid - it's not doing anything except to put extra capacitive load on your power supply.
 

wayneh

Joined Sep 9, 2010
16,844
Well now I'm confused again. With true DC, Q1 should be off, since the voltage at the base is only 0.125V less than the collector, as set by the R1 and R2. With the transistor off, the relay should not energize. The transistor won't turn on until power is lost, and then it will rapidly discharge C1 through the relay. Is this the intended behavior?

With rippling DC, the transistor lets through enough current to chatter the relay. Putting C2 back in on the base-side of D1 – either end of R1 – may help quiet it down.
 

Thread Starter

parmaja

Joined Jul 2, 2008
41
wayneh said:
Well now I'm confused again. With true DC, Q1 should be off, since the voltage at the base is only 0.125V less than the collector, as set by the R1 and R2. With the transistor off, the relay should not energize. The transistor won't turn on until power is lost, and then it will rapidly discharge C1 through the relay. Is this the intended behavior?
Yes, the relay work (chatter) only when power loss, I need it to press the Power Button in my server.

wayneh said:
With rippling DC, the transistor lets through enough current to chatter the relay. Putting C2 back in on the base-side of D1 – either end of R1 – may help quiet it down.
I will test it and post the new schematic.

Thanks a lot :D
 
Top