Background of the Invention
This invention relates to a code controlled lock device, and particularly to a dual-tone multifrequency (DTMF) code controlled lock device by which unlocking operation is effected through the transmission of pre-arranged DTMF codes so as to ensure complete security against unauthorized unlocking actions.
Conventional door locks, such as key-operated locks, combination locks, push-button locks, etc., suffer a common problem, i.e. the unlocking portions of the locks are all exposed on an outside surface of the door. These exposed portions of the locks are susceptible to unauthorized unlocking actions and to being wrecked by burglars. Therefore, security of the conventional locks cannot be ensured.
Summary of the Invention
It is accordingly a primary object of the present invention to provide a DTMF-code controlled lock device that overcomes the foregoing problems associated with the prior art.
According to the present invention, this and other objects are achieved by the provision of a DTMF-code controlled lock device which comprises two main portions: a key control means having a structure adapted for being carried by a user and a lock-body control means adapted for being installed in a door together with a door lock. The key control means is composed of a DTMF encoding circuit serving as a central part and having a keyboard coupled therewith for inputting a preset unlocking DTMF code therefrom, an amplifying circuit connected thereto for amplifying the DTMF signals and producing a DTMF tone through a sound generating means coupled with the amplifying circuit, and a conductive cord electrically connected to the DTMF encoding circuit for being used to perform unlocking operations. The lock-body control means comprises: a transducing means adapted to be installed at a hidden place in a door for receiving the DTMF tone from the key control means; a pair of amplifying circuits connected in series to the transducing means for amplifying the DTMF signals; a telephone interface circuit coupled with one of the amplifying circuits for effecting unlocking operation through a key telephone set in case the key control means is not available; a decoding circuit coupled with the amplifying circuits for decoding the amplifed DTMF signals into BCD codes; a CPU with a plurality of memory units connected to the decoding circuit for receiving and identifying the BCD codes; and a pair of relay circuits respectively coupled with the CPU and the lock bolt for performing unlocking operations according to the controlling signal from the CPU; thereby, unlocking operations can be safely effected through the pre-arranged unlocking code input by the user so as to ensure complete security against unauthorized unlocking actions.
Other advantages and characteristics of the present invention will become clear from the following detailed description of a preferred embodiment when read in conjunction with the accompanying drawings.
Brief Description of the Drawings
FIG. 1 is a circuit diagram of a key control means embodying the DTMF code controlled device according to this invention;
FIG. 2 is a block diagram of a lock-body control means embodying the DTMF code controlled device according to this invention; and
FIG. 3 is a circuit diagram of the lock-body control means shown in FIG. 2.
Detailed Description of the Preferred Embodiment
Referring to FIGS. 1 and 2, the preferred embodiment of a DTMF-code controlled lock device according to this invention comprises a key control means 1 and a lock-body control means 2. The key control means 1 can be shaped as a case or an ornamental article for being carried along by a user, and can also be built as a unit for being installed at a proper place outside the door. As shown in FIG. 1, the key control means 1 is mainly composed of a dual-tone multifrequency (DTMF) encoding circuit 15; a first keyboard 13 with a plurality of keys, a quartz crystal oscillator 14 and an amplifying circuit 11 respectively coupled with the DTMF encoding circuit 15; a conductive cord 12 having a pair of terminals A and B provided at one end and electrically connected to the output of the DTMF encoding circuit 15; and a sound generator 19 electrically connected to the output of the amplifying circuit 11. When the pre-arranged code is keyed in at the first keyboard 13, the DTMF encoding circuit 15 will encode the keyed-in DTMF code into mixing signals with each digit of the DTMF code being combined of two frequencies and being fed into the amplifying circuit 11 where the mixed signals are then transferred into coded DTMF tones through an amplifier 16 and a pair of parallel-connected transistors 17 and 18 of the amplifying circuit 11 and produced by a sound generator 19 (it is to be noted that after the keyed-in code is encoded by the DTMF encoding circuit 15, each digit of the keyed-in code contains two different frequencies combined as DTMF signals so that no outside noise can interfere, and accordingly high security is achieved). The quartz crystal osicillator 14 is used to provide a stable reference frequency for the DTMF encoding circuit 15.
As shown in FIG. 2, the lock-body control means 2 includes: a transducer 21, such as a microphone, which can be installed at a hidden place of the door for receiving the DTMF sounds transmitted from the sound generator 19 during unlocking operatons; a tone amplifier 22 and a sum amplifier 23 connected in series with the transducer 21 for amplifying the DTMF signals supplied from the transducer; a pair of electrical contacts C and D, such as a socket, electrically connected to the input of sum amplifier 23 for making electrical connections with terminals A and B of the key control means 1 in performing unlocking operations in case the transducer 21 is out of order; a telephone interface circuit 30 electrically coupled with sum amplifier 23 for performing unlocking operations through a key telephone set connected to terminals L1 and L2 of the telephone interface circuit 30; a decoding 24 having its input connected to the output of the sum amplifier 23 for decoding the amplified DTMF signals into binary-coded decimal (BCD) codes and its output coupled with a CPU 25; a RAM 28 and a ROM 29 respectively connected to CPU 25 for identifying and comparing the BCD codes received from decoding circuit 24; a first relay circuit 27 electrically connected to CPU 25 in conjunction with the lock bolt of a door lock installed therein for effecting unlocking operatons according to a high level voltage supplied from CPU 25 if the BCD codes received from the decoder 24 are identical with the preset BCD codes stored in RAM 28; a second relay circuit 33 coupled between CPU 25 and a contact point 34 of the telephone interface circuit 30; and a second keyboard 26 with a plurality of keys coupled with CPU 25 for presetting or changing the unlocking DTMF codes by the user as the situation dictates.
The ROM 29 provided in the preferred embodiment of the lock-body control means 2 contains a preset program by which performance of a plurality of functions can be allowed in conjunction with the unlocking operations, namely:
(1) that the unlocking code can be preset with any combination of digits through the second keyboard 26;
(2) that a plurality of unlocking codes can be set for being used separately or duplicately by various persons;
(3) that the unlocking operation can be effected through a dial tone made on a remote key telephone set;
(4) that it can identify the unlocking code entered from the key control means 1, and that can effect a certain period of delay for processing the following unlocking code if the initial unlocking code is identified wrong; and
(5) that the originally preset unlocking code can be changed or modified as required through the second keyboard 26.
Referring to FIG. 3 in connection with FIG. 1, various unlocking operations of the preferred embodiment are as follows:
1. When an unlocking code is keyed in through the keyboard 13 of the key control means 1 by the user, the DTMF signals will be encoded into frequency mixing signals by the DTMF encoding circuit 15 and fed into the tone amplifying circuit 11 from which a different DTMF tone produced by the sound generator 19 will be received by the transducer 21 of the lock-body control means 2 and fed into the tone amplifier 22 for being amplified through an operation amplifier U1 thereof. Then, the different amplified DTMF signals are input into the sum amplifier 23 for being combined therein and fed into the decoding circuit 14 from which the combined DTMF signals are decoded into BCD code and fed into CPU 25 for being compared with the preset BCD codes stored in RAM 28. When the two kinds of BCD codes are compared and found to be identical, CPU 25 will output a high-level voltage to energize the first relay circuit 27 to attract the lock bolt of the door and effect unlocking operations. On the other hand, if the keyed-in unlocking code is compared and found to be unidentical with the stored preset code, no high-level voltage will be outputted from CPU 25 and the first relay circuit 27 will not be energized so that the door lock remains locked. In this condition, ROM 29 will effect a delay action of about 30 seconds. Within this delay time, any unlocking operations will not be effected for protecting the DTMF-code controlled lock device from being repeatedly tried by an unauthorized person who by chance has obtained the key control means 1.
2. In case the transducer 21 is out of order, just connecting the terminals A and B of the conductive cord 12 to the electrical contacts C and D of the lock-body control means 2 (such as that normally done with plug and socket), unlocking operations can be effected in like manner as that described in paragraph 1 above.
3. If the user forgets to take the key control means 1 along with him, and nobody stays in the user's house, unlocking operation can be effected through an outside key telephone set. As shown in FIG. 3 with reference to FIG. 2, the telephone interface circuit 30 is mainly composed of a transformer circuit T1 coupled with a key telephone set in the user's house through telephone lines L1 and L2 as well as a switch (not shown) provided between the telephone lines L1 and L2, an operation amplifier U2 connected with the sum amplifier 23 and a ringing signal detecting circuit 31 coupled with CPU 25. When the user keys in his home telephone numbers from an outside key telephone set, the ringing signals from a central office will be transferred into the ringing signal detecting circuit 31 through telephone lines L1 and L2 and relayed to CPU 25 through an input line 32 thereof. Upon receiving the ring signals from the ringing signal detecting circuit 31, CPU 25 will energize a second relay circuit 33 electrically connected with CPU 25 to attract contact point 34 thereof to close the receiving circuit of the telephone interface circuit 30 therein. As a result, the ringing signals are cut off (at this point, a `tick` sound will be heard by the user through the receiver of his handset), and the user can start keying the preset unlocking code from the keyboard of the outside key telephone set. The keyed-in DTMF unlocking code will then be amplified by the operation amplifier U2 and fed into the decoding circuit 24 through sum amplifier 33 for being decoded into BCD signals and input into CPU 25 (it shall be appreciated that signals produced by the push-button keys of the key telephone set are DTMF signals). Finally, after the keyed-in unlocking code is compared and found to be identical with the preset unlocking code stored in RAM 28, unlocking operations will be effected through the first relay circuit 27, just as described in the above paragraph 1.
While I have illustrated and described my invention by means of a specific embodiment, it is to be understood that numerous changes and modifications may be made therein without departing from the spirit and scope of the invention as defined in appended claims.