Showing posts with label lock. Show all posts
Showing posts with label lock. Show all posts
Friday, December 27, 2013
Intelligent Electronic Lock
This intelligent electronic lock circuit is built using transistors only. To open this electronic lock, one has to press tactile switches S1 through S4 sequentially. For deception you may annotate these switches with different numbers on the control panel/keypad. For example, if you want to use ten switches on the keypad marked ‘0’ through ‘9’, use any four arbitrary numbers out of these for switches S1 through S4, and the remaining six numbers may be annotated on the leftover six switches, which may be wired in parallel to disable switch S6 (shown in the figure).

When four password digits in ‘0’ through ‘9’ are mixed with the remaining six digits connected across disable switch terminals, energisation of relay RL1 by unauthorised person is prevented. For authorized persons, a 4-digit password number is easy to remember. To energise relay RL1, one has to press switches S1 through S4 sequentially within six seconds, making sure that each of the switch is kept depressed for a duration of 0.75 second to 1.25 seconds.
The relay will not operate if ‘on’ time duration of each tactile switch (S1 through S4) is less than 0.75 second or more than 1.25 seconds. This would amount to rejection of the code. A special feature of this circuit is that pressing of any switch wired across disable switch (S6) will lead to disabling of the whole electronic lock circuit for about one minute. Even if one enters the correct 4-digit password number within one minute after a ‘disable’ operation, relay RL1 won’t get energized.
So if any unauthorized person keeps trying different permutations of numbers in quick successions for energization of relay RL1, he is not likely to succeed. To that extent, this electronic lock circuit is fool-proof. This electronic lock circuit comprises disabling, sequential switching, and relay latch-up sections. The disabling section comprises zener diode ZD5 and transistors T1 and T2. Its function is to cut off positive supply to sequential switching and relay latch-up sections for one minute when disable switch S6 (or any other switch shunted across its terminal) is momentarily pressed.
During idle state, capacitor C1 is in discharged condition and the voltage across it is less than 4.7 volts. Thus zener diode ZD5 and transistor T1 are in non-conduction state. As a result, the collector voltage of transistor T1 is sufficiently high to forward bias transistor T2. Consequently, +12V is extended to sequential switching and relay latch-up sections. When disable switch is momentarily depressed, capacitor C1 charges up through resistor R1 and the voltage available across C1 becomes greater than 4.7 volts.
Thus zener diode ZD5 and transistor T1 start conducting and the collector voltage of transistor T1 is pulled low. As a result, transistor T2 stops conducting and thus cuts off positive supply voltage to sequential switching and relay latch-up sections. Thereafter, capacitor C1 starts discharging slowly through zener diode D1 and transistor T1. It takes approximately one minute to discharge to a sufficiently low level to cut-off transistor T1, and switch on transistor T2, for resuming supply to sequential switching and relay latch-up sections; and until then the circuit does not accept any code.
The sequential switching section comprises transistors T3 through T5, zener diodes ZD1 through ZD3, tactile switches S1 through S4, and timing capacitors C2 through C4. In this three-stage electronic switch, the three transistors are connected in series to extend positive voltage available at the emitter of transistor T2 to the relay latch-up circuit for energising relay RL1. When tactile switches S1 through S3 are activated, timing capacitors C2, C3, and C4 are charged through resistors R3, R5, and R7, respectively.
Timing capacitor C2 is discharged through resistor R4, zener diode ZD1, and transistor T3; timing capacitor C3 through resistor R6, zener diode ZD2, and transistor T4; and timing capacitor C4 through zener diode ZD3 and transistor T5 only. The individual timing capacitors are chosen in such a way that the time taken to discharge capacitor C2 below 4.7 volts is 6 seconds, 3 seconds for C3, and 1.5 seconds for C4. Thus while activating tactile switches S1 through S3 sequentially, transistor T3 will be in conduction for 6 seconds, transistor T4 for 3 seconds, and transistor T5 for 1.5 seconds.
The positive voltage from the emitter of transistor T2 is extended to tactile switch S4 only for 1.5 seconds. Thus one has to activate S4 tactile switch within 1.5 seconds to energise relay RL1. The minimum time required to keep switch S4 depressed is around 1 second. For sequential switching transistors T3 through T5, the minimum time for which the corresponding switches (S1 through S3) are to be kept depressed is 0.75 seconds to 1.25 seconds.
If one operates these switches for less than 0.75 seconds, timing capacitors C2 through C4 may not get charged sufficiently. As a consequence, these capacitors will discharge earlier and any one of transistors T3 through T5 may fail to conduct before activating tactile switch S4. Thus sequential switching of the three transistors will not be achieved and hence it will not be possible to energise relay RL1 in such a situation. A similar situation arises if one keeps each of the mentioned tactile switches de-pressed for more than 1.5 seconds.
When the total time taken to activate switches S1 through S4 is greater than six seconds, transistor T3 stops conducting due to time lapse. Sequential switching is thus not achieved and it is not possible to energise relay RL1. The latch-up relay circuit is built around transistors T6 through T8, zener diode ZD4, and capacitor C5. In idle state, with relay RL1 in de-energised condition, capacitor C5 is in discharged condition and zener diode ZD4 and transistors T7, T8, and T6 in non-conduction state.
However, on correct operation of sequential switches S1 through S4, capacitor C5 is charged through resistor R9 and the voltage across it rises above 4.7 volts. Now zener diode ZD4 as well as transistors T7, T8, and T6 start conducting and relay RL1 is energised. Due to conduction of transistor T6, capacitor C5 remains in charged condition and the relay is in continuously energised condition. Now if you activate reset switch S5 momentarily, capacitor C5 is immediately discharged through resistor R8 and the voltage across it falls below 4.7 volts. Thus zener diode ZD4 and transistors T7, T8, and T6 stop conducting again and relay RL1 de-energises.
Continue Reading[...]

When four password digits in ‘0’ through ‘9’ are mixed with the remaining six digits connected across disable switch terminals, energisation of relay RL1 by unauthorised person is prevented. For authorized persons, a 4-digit password number is easy to remember. To energise relay RL1, one has to press switches S1 through S4 sequentially within six seconds, making sure that each of the switch is kept depressed for a duration of 0.75 second to 1.25 seconds.
The relay will not operate if ‘on’ time duration of each tactile switch (S1 through S4) is less than 0.75 second or more than 1.25 seconds. This would amount to rejection of the code. A special feature of this circuit is that pressing of any switch wired across disable switch (S6) will lead to disabling of the whole electronic lock circuit for about one minute. Even if one enters the correct 4-digit password number within one minute after a ‘disable’ operation, relay RL1 won’t get energized.
So if any unauthorized person keeps trying different permutations of numbers in quick successions for energization of relay RL1, he is not likely to succeed. To that extent, this electronic lock circuit is fool-proof. This electronic lock circuit comprises disabling, sequential switching, and relay latch-up sections. The disabling section comprises zener diode ZD5 and transistors T1 and T2. Its function is to cut off positive supply to sequential switching and relay latch-up sections for one minute when disable switch S6 (or any other switch shunted across its terminal) is momentarily pressed.
During idle state, capacitor C1 is in discharged condition and the voltage across it is less than 4.7 volts. Thus zener diode ZD5 and transistor T1 are in non-conduction state. As a result, the collector voltage of transistor T1 is sufficiently high to forward bias transistor T2. Consequently, +12V is extended to sequential switching and relay latch-up sections. When disable switch is momentarily depressed, capacitor C1 charges up through resistor R1 and the voltage available across C1 becomes greater than 4.7 volts.
Thus zener diode ZD5 and transistor T1 start conducting and the collector voltage of transistor T1 is pulled low. As a result, transistor T2 stops conducting and thus cuts off positive supply voltage to sequential switching and relay latch-up sections. Thereafter, capacitor C1 starts discharging slowly through zener diode D1 and transistor T1. It takes approximately one minute to discharge to a sufficiently low level to cut-off transistor T1, and switch on transistor T2, for resuming supply to sequential switching and relay latch-up sections; and until then the circuit does not accept any code.
The sequential switching section comprises transistors T3 through T5, zener diodes ZD1 through ZD3, tactile switches S1 through S4, and timing capacitors C2 through C4. In this three-stage electronic switch, the three transistors are connected in series to extend positive voltage available at the emitter of transistor T2 to the relay latch-up circuit for energising relay RL1. When tactile switches S1 through S3 are activated, timing capacitors C2, C3, and C4 are charged through resistors R3, R5, and R7, respectively.
Timing capacitor C2 is discharged through resistor R4, zener diode ZD1, and transistor T3; timing capacitor C3 through resistor R6, zener diode ZD2, and transistor T4; and timing capacitor C4 through zener diode ZD3 and transistor T5 only. The individual timing capacitors are chosen in such a way that the time taken to discharge capacitor C2 below 4.7 volts is 6 seconds, 3 seconds for C3, and 1.5 seconds for C4. Thus while activating tactile switches S1 through S3 sequentially, transistor T3 will be in conduction for 6 seconds, transistor T4 for 3 seconds, and transistor T5 for 1.5 seconds.
The positive voltage from the emitter of transistor T2 is extended to tactile switch S4 only for 1.5 seconds. Thus one has to activate S4 tactile switch within 1.5 seconds to energise relay RL1. The minimum time required to keep switch S4 depressed is around 1 second. For sequential switching transistors T3 through T5, the minimum time for which the corresponding switches (S1 through S3) are to be kept depressed is 0.75 seconds to 1.25 seconds.
If one operates these switches for less than 0.75 seconds, timing capacitors C2 through C4 may not get charged sufficiently. As a consequence, these capacitors will discharge earlier and any one of transistors T3 through T5 may fail to conduct before activating tactile switch S4. Thus sequential switching of the three transistors will not be achieved and hence it will not be possible to energise relay RL1 in such a situation. A similar situation arises if one keeps each of the mentioned tactile switches de-pressed for more than 1.5 seconds.
When the total time taken to activate switches S1 through S4 is greater than six seconds, transistor T3 stops conducting due to time lapse. Sequential switching is thus not achieved and it is not possible to energise relay RL1. The latch-up relay circuit is built around transistors T6 through T8, zener diode ZD4, and capacitor C5. In idle state, with relay RL1 in de-energised condition, capacitor C5 is in discharged condition and zener diode ZD4 and transistors T7, T8, and T6 in non-conduction state.
However, on correct operation of sequential switches S1 through S4, capacitor C5 is charged through resistor R9 and the voltage across it rises above 4.7 volts. Now zener diode ZD4 as well as transistors T7, T8, and T6 start conducting and relay RL1 is energised. Due to conduction of transistor T6, capacitor C5 remains in charged condition and the relay is in continuously energised condition. Now if you activate reset switch S5 momentarily, capacitor C5 is immediately discharged through resistor R8 and the voltage across it falls below 4.7 volts. Thus zener diode ZD4 and transistors T7, T8, and T6 stop conducting again and relay RL1 de-energises.
Labels:
electronic,
intelligent,
lock
Monday, April 8, 2013
Secret Lock
This secret lock, unlike a conventional code lock, gives away no hints to the unwanted visitor as to its existence: there are no buttons, switches or keypads. No code sequence need be learnt: you simply need an inconspicuous key. The idea is based on two magnetically-operated switches which, when operated simultaneously, cause two relays to close. These in turn could actuate an electric door latch or start a garage door motor.
This would not be particularly noteworthy (and rather easy to defeat) if simple reed switches were used, since they do not depend on the polarity of the magnetic field: they react equally to the north or the south pole of a magnet. Instead we use Hall effect ICs, which only react to south poles. In this way the would-be intruder, carrying just a powerful permanent magnet in his pocket, is frustrated in his nefarious deeds: horseshoe and bar magnets do not have two south poles. And if that is not secure enough, you can always add further Hall effect ICs and relays: just like a lock with more levers.
The sensor used in the circuit shown in Figure 1 is smaller than a transistor, and yet contains rather more: a unipolar sensing surface for the magnetic field, Hall generator and threshold generator, amplifier, Schmitt trigger and output transistor. With a field stronger than 20 millitesla the open-collector output transistor is turned on. The series-connected contacts of the 12 V miniature relays then complete the circuit via connection L. Relays with a coil current of 50 mA or less should be used in order not to overload the ICs.
The Hall effect ICs are fitted or glued at least 5 cm apart behind a sheet of glass, plastic or aluminium (perhaps the letterbox or doorbell), at most 4 mm thick, with the component marking towards the key. In no circumstances should iron or steel be used as these screen the sensors from the magnetic field. The sensors can either be wired to directly or fitted on a piece of perforated board. The position of the sensors should be suitably marked on the outside.
The simplest way to make a key is from a piece of square section wood in which two small holes are bored for two cylindrical magnets (as used with reed switches). The two magnets should be glued in the same way round, which can easily be tested by checking that the poles repel. Alternatively, of course, the magnets can be fixed in a flat plastic box using hot-melt glue. Remember that only one side of the key will open the lock.
The secret lock can be safely used outside as long as it is fitted in a suitable watertight enclosure. It can save money compared to the services of a locksmith, and it will resist even the professional burglar. The lock is vandal-proof, operates independent of temperature, requires no battery in the key, can be cheaply extended and provided with any number of keys. The Hall effect ICs (Conrad Electronics order code 147508) are inexpensive. The operating voltage depends on the relays chosen, and should lie between 6 V and 24 V. The standby current for two ICs is about 7 mA at 12 V.
Source: http://www.ecircuitslab.com/2012/02/automatic-night-lamp-with-morning-alarm.html
Subscribe to:
Posts (Atom)