高低压切断与时间延迟关闭电路
5.Relay Driver
The output from the voltage level detectors cannot directly drive the relay and hence the relay driver is used.
In this a relay (12V 500 ohms) is connected to the collector of NPN transistor. The out put voltage from the comparator is applied to the base of NPN transistor through a resistance R1. When the output from the comparator is low the transistor is in OFF state and the relay is in de-energized state. Similarly when the output from the comparator goes high the transistor switches ON and the flow of current from the collector to emitter of transistor energizes the relay.
Generally in a relay driver circuit, parallel to the relay coil, a diode or a capacitor is used. This is to eliminate the back e.m.f generated by the relay coil when currents are suddenly broken. Capacitor C1 is connected in parallel to the coil, which filters out the back emf but it, slows down the working of relay.
A better method is to connect two diodes (as shown in the figure 5) that stop the relay C transistor junction swinging more than 600mV above the positive rail or below the zero-volt rail. During normal operation the diodes are reverse biased and have no effect on the performance of circuit. But when back emf is induced, the diodes conduct heavily and absorb all transient voltages. However, I have employed the both methods.
6. The Complete Circuit
Under normal operating conditions i.e. when the input voltage is between maximum and minimum limit the output from the both the comparators are low. The transistor Q1 is OFF and the relay is in de-energized (pole connected to N/C pin) state and the output is obtained.
When the input voltage is below or above the limits set by the pre-sets R8 or R9, the output of the Op-Amps goes either low or high and diodes D1 or D2 would be forward biased depending on the situation. Transistor Q1 switches ON and the flow of current from collector to emitter energizes the relay and the output is cutoff.
A small amount of hystersis has been added via feed back resistors R10 R11 so that the relay turns on when the level falls to a particular value but does not turn again until it raises a substantial amount above this value. Other wise the relay contacts will frequently turn on/off and produce chattering.
Construction Hints
1) I used a piece of varoboard, which has copper strips on one side to mount the components, and housed the entire circuit and the transformer in a discarded ATX PC power supply box.
2) An autotransformer has been used to set the limits. Set the output of the autotransformer to 250V AC and connect it to the primary of transformer T1 (see Figure 1). Then adjust the pre-set R9 such that relay just energizes. This is the high limit. Next set the output of the autotransformer to 200V AC and adjust the pre-set R8 such that the relay energizes. Please note that these are my preferred limits but you may select any range from say 170 to 270V AC.
3) A neon with a suitable resistor could be connected between the AC supply lines as an ON indicator. Alternatively, LED with a current limiting resistor could be connected between the relay coil so when the relay is energized LED will indicate the situation.
DIY机械键盘相关社区:机械键盘DIY
评论