How often does it happen that you close down Windows and then forget to turn off the computer? This circuit
does that automatically. After Windows is shut down there is a ‘click’
a second later and the PC is disconnected from the mains. Surprisingly
enough, this switch fits in some older computer cases. If the circuit doesn’t fit then it will have to be housed in a separate enclosure. That is why a supply voltage of 5 V was selected. This voltage can be obtained from a USB port when the circuit has to be on the outside of the PC case.
It is best to solder the mains wires straight onto the switch and to insulate them with heat shrink sleeving. C8 is charged via D1. This is how the power supply
voltage for IC1 is obtained. A square wave oscillator is built around
IC1a, R1 and C9, which drives inverters IC1c to f. The frequency is
about 50 kHz. The four inverters in parallel power the voltage multiplier,
which has a multiplication of 3, and is built from C1 to C3 and D2 to
D5. This is used to charge C5 to C7 to a voltage of about 9 V.
The generated voltage is clearly lower than the theoretical 3x4.8=14.4
V, because some voltage is lost across the PN-junctions of the diodes.
C5 to C7 form the buffer that powers the coil of the switch when switching off. The capacitors charge up in about two seconds after switching on. The circuit is now ready for use. When Windows is closed down, the 5-V power supply voltage disappears. C4 is discharged via R2 and this results in a ‘0’ at the input of inverter IC1b. The output then becomes a ‘1’, which causes T1 to turn on.
No comments:
Post a Comment