General purpose time switch
General purpose time switch: This circuit meets the requirement for a simple, low-cost timer with a timing range of a less than a second to several tens of hours, and a thyristor-based mains interface capable of controlling inductive loads.
The circuit consists basically of a timer section and a switching section. The timer derives its accuracy from the mains frequency: 50 Hz or 60 Hz. Components R4, R3, R2, C1 DI and D2 convert the mains voltage into a clock signal for binary ripple counter IC1 a 4040. Counters IC1, IC3, and an 8-input AND gate, IC4, form a programmable divider. When the time set with the jumper wire(s) at the outputs of IC2 and IC3 has elapsed, the output of IC4 goes low and causes bistable IC2b-IC2c to toggle. As a result, the gate drive of thyristor Thy is removed, and the load connected to K2 is switched off. To prevent mains pollution and switching noises, the load is switched during the zero crossing of the mains voltage. The timer can also be used to switch on a load after the preprogrammed time <197> this only requires wire jumper ‘Y’ to, be, fitted instead of ‘Z’.
The time is set by a fitting maximum of eight wires between the 8-input AND gate and the counter outputs. The actual time is the sum of all selected times listed in the table.
The 12-V supply voltage for the circuit is obtained from the mains with the aid of a phase rectifier, D3. The supply voltage is stabilized and smoothed by zener diode D5 and reservoir capacitor C6.
The two series resistors in the rectifier, R16, and R17, must not be replaced by a single 100-k.Q resistor. Remember, the total voltage drop across these resistors is of the order of 220 V (at a mains voltage of 240 V). which is too much for a single resistor rated at 0.5 W. The same applies to resistors R3 and R4.
The timer is actuated by pressing push-button S2. Note that actuating the timer means that the load is switched on or off, depending on whether jumper Y or Z is fitted. During the timing cycle, the circuit can be reset by pressing S2 cycle, This starts a full timing cycle, irrespective of when the switch was pressed. The timing cycle can be stopped by pressing S 1. Provision is made for electronic control of the start and stops functions. This is achieved with the aid of two optocouplers. IC5 and IC6. The electronic control inputs. K3 and are electrically isolated from the timer and can be driven by control voltages of 5 V.
The construction of the timer is straightforward. A minimum of wiring is required since all parts are contained on a single printed-circuit board. The start and stop switched must be rated at 250 V because they are at mains potential. The circuit must be fitted into an ABS enclosure with non-metallic screws. Take care to provide adequate strain reliefs and insulation of the mains input and output cables.
WARNING. Since the circuit carries dangerous voltage at a number of points, never work on the circuit when the mains is connected to it. Make sure that no part of the circuit can be touched when it is being set, adjusted or used.
Parts list
Resistors:
R1, R13, R14, R19 = 33 kΩ
R2 = 100 kΩ
R3, R4 = 470 kΩ
R5-R12, R20 = 2.2 MΩ
R15, R18 = 1 MΩ
R16, R17 = 47 kΩ
R21, R22 = 1 kΩ
Capacitors:
C1 = 1 nF
C2, C3 = 100 nF
C4, C5 = 4.7 nF, 400 V
C6 = 220 pF, 63 V, radial
C7 = 4.7 pF, 63 V, radial
Semiconductors:
D1, D2, D6, D7 = 1N4148
D3 = 1N4007
D4 = not used
D5 = zener diode, 12 V. 1.3 W
B1 = B380C1500 (round type)
T1 = BC547B
Tri1 = TIC106 D
Integrated circuits:
IC1, IC3 = 4040
IC2 = 4093
IC4 = 4068
IC5, IC6 = CNY65
Miscellaneous:
K1-K4 = 2-way PCB terminal block, 7.5 mm pitch
S1, S2 = push-button switch for 250 V a.c,
F1 = fuse, 1 A, delayed action, with holder for PCB mounting
Enclosure, e.g., Bopla E430