US 20050280500 A1
A self-powered electronic combination lock including a lock mechanism having locked and unlocked conditions. A rotatable dial is used to input a numerical combination code for changing the lock mechanism from the locked condition to the unlocked condition. An electronic display operates to display individual numbers of the combination code as the dial is rotated and a control is electrically connected with the dial and the electronic display. The control changes the numbers shown in the display as the dial is rotated in a single direction and the control is operable to sense a change in the direction of dial rotation. An electricity generating device is connected with the dial and the control and operates through dial rotation to generate electricity to power the control.
37. An electronic combination lock, comprising:
a data input device operative to allow the input of first and second separate combination codes;
a lock bolt movable from a locked position to an unlocked position relative to said housing;
a control operative to selectively allow movement of said lock bolt from the locked position to the unlocked position after input of the first and second separate combination codes using said data input device; and
an indicator operatively coupled with said control and operative to indicate to a user an incorrect input of the first combination code only after the correct or incorrect input of the second combination code.
38. The electronic combination lock of
39. The electronic combination lock of
40. The electronic combination lock of
41. A method of operating an electronic lock including a data input device and a lock bolt movable between locked and unlocked positions, comprising:
inputting a first combination code with the data input device;
inputting a second combination code with the data input device; and
indicating only after the input of the second combination code that either or both of the first and second combination codes are incorrect and are therefore not sufficient to enable movement of the lock bolt between the locked and unlocked positions.
42. The method of
43. The method of
Mechanical combination locks such as those found on safes, vaults, cabinets and other high security enclosures are well known and subject to a number of attacks, such as by drilling, manipulation, and operation by dialer controlled by a computer.
Recently an electronic combination lock for such enclosures has been invented which provides the opportunity to greatly increase the level of security afforded by the lock, while at the same time overcomes many of the shortcomings of the prior art mechanical locks.
A dial type combination lock relies on the rotation of a dial to positions represented by numbers on the dial to rotate mechanical elements within the lock, such that the wheels of the mechanism align to allow a bar to drop into the wheels and retract the lock bar or bolt, allowing the enclosure to be opened.
The electronic combination lock does not have the equivalent mechanical elements and, therefore, can not be attacked in the same manner. For example, the mechanical lock may be drilled to permit the insertion of an optical device into the lock mechanism to observe the positions of the wheels and thus their alignment which permits the opening of the enclosure without the knowledge of the combination.
The electronic lock cannot be drilled for a similar purpose since the electronic lock mechanism will not reveal the position of any element which would be helpful for the attacker to observe and which would give the attacker any information as to the steps need to unlock the device.
The mechanical lock has a fixed position of internal elements relative to the dial and thus may be observed with the movements of the dial repeated by the attacker, at a later time.
The electronic lock does not have a fixed dial to number position relation and thus observation of the movement of the dial is much more difficult if not impossible.
Dialers exist which may be attached to the knob of a dial on a combination lock and which dial combinations under the control of a computer. As each combination fails, the computer then continues to dial other combinations to eventually unlock the lock.
With a combination lock of the mechanical type and sufficient time, a dialer is particularly effective.
The electronic combination locks are dependent upon electronic pulses being generated to indicate to the electronic controls, that the dial is being rotated and in which direction. The pulses may be generated by conventional pulse generation means when a voltage supply is provided to power the pulse generator.
Alternatively, pulses may be generated by the operation of the lock and the the voltage pulses provide a power source for the operation of the lock.
This type of power source eliminates the need for a separate power source for the system, such as a battery or other external voltage supply.
With the control of the device by a series of voltage pulses, the use of the pulses may be used to further control functions of the lock.
The electronic combination lock disclosed and described herein is a combination lock having a dial which has no divisions or markings relating to the numbers of the combination thereon. The rotation of the dial drives a generator which produces electrical pulses. The voltage pulses serve as a power source for the electronics of the lock and to further indicate to the microprocessor the speed and direction of rotation of the dial.
Through a random number generator, the micro processor generates a psuedo-random number which is then displayed on a display which is mounted in proximity to the dial.
The rotation of the dial of the lock is accomplished in a manner very closely related to the manner of the rotation of the dial of a conventional mechanical combination lock.
When the numbers of the combination have been entered through dial rotation, the microprocessor compares the combination with the authorized combination; if the same, a signal is sent to the motor that will engage the latch with the bolt retractor and connect the bolt through mechanical connections, to the dial so that when the dial is further rotated in the proper direction the bolt will be retracted and the enclosure is then opened.
The microprocessor is controlled by a coded program. The ability to control the microprocessor with a microcoded control program is a major advantage in that the several functions and features may be added to make the lock mechanism and the enclosure more secure.
In order for a dialer to be effective, the relationship between the dial rotation and the numbers entered must be correllated so that a 3.6 degree rotation of the dial increments or decrements the entry number by one unit for a 100 unit dial. The generation of a random number within the microprocessor at the beginning of each number entry operation and the use of that random number as the starting point for the sequence of numbers displayed, eliminates the correllation of the number being displayed and eventually entered, and the dial position.
When the dial is rotated, the generator creates pulses and these pulses are received by and counted by the microprocessor. As the pulses are accumulated, the pulses are also timed and the speed of rotation of the dial is determined. As the speed of the rotation of the dial varies, the rate of change of the displayed numbers is changed. This is accomplished so that at a high rate of rotation the displayed numbers may change at a high rate while at the lower rates of rotation, the rate of change of the displayed numbers may be by single units at a slower rate with respect to the amount of dial rotation. Further the number of degrees the dial must be turned to effect the change of the displayed number will vary so that there is no consistent amount of rotation required to change the displayed number by one unit. This aspect of the lock also acts to foil the use of a computer controlled dialer.
The timing capabilities of the lock provides the opportunity to determine the time used in the entering of the combination. If the total time of entry is either too short, indicating that the lock is under attack by a device rather than a human hand, or if the time to enter the combination is too long, indicating that the operation of the lock is being attacked by other than a person having knowledge of an authorized combination, the lock is prevented from opening even if the authorized combination is subsequently entered.
As the connection between the dial and the generator is mechanical and, therefore, a predictable one, the number of pulses received by the microprocessor indicates the rotational displacement of the dial. The rotational movement of the dial by the hand of a human being is such that the dial is generally turned less than 360 degrees and then the dial is stopped while the operator releases the dial and acquires a new grasp of the dial. The stopping of the dial acts to allow a timer to run and if the stop period is less than a predetermined period that is related to human reaction time, the stop of the dial is not recognized as a stop of the dial. When the dial is rotated more than 480 degrees or 1.33 revolutions without a recognized stop, the lock is probably under attack by a device or at the very least by an unconventional dialing technique and the lock will not open even, if the authorized combination is entered.
Dialers are capable of reversing directions of the dial in very short times and depend upon speed to open a combination lock in a reasonably short time period without detection. This lock requires the dial be stopped or stationary for a short time periodically. One of those times occurs as the dial is reversed to enter the number just dialed and to start access to the next number to be entered. The timing of the stopped period of the dial insures both that a dialer is not being used and it extends the time that is necessary to open the lock by dialing all possible combinations until the lock is unlocked by the proper combination. If the dial is reversed in less than the predetermined time period required to detect a stop of the dial, the microprocessor will not recognize the stop and the incrementing/decrementing of the numbers on the display will continue in whichever sense they were changing. This will foil the entry of a correct number and will set up a condition where the lock will refuse to open due to more than a 1.33 revolution of the dial without a stop.
The microprocessor will also keep a count record of all the failed attempts to open the lock since the last successful operation. If the numbers of trys or attempts to unlock the lock equals or exceeds the number set in the microprocessor microcode, the lock will fail to open even if an authorized combination is subsequently entered, prior to power down. After an error indication is displayed, the lock is disabled to prevent further entry tries, until power down and power up.
The self contained generation of power for the lock electronics and controls creates a major advantage since there is no need to provide a power source such as a battery. The life of an operational power charge is limited, without further rotation of the dial, and thus resets are not externally required. When a condition is created where the lock will not open even with the eventual entry of the authorized combination, the lock electronics must be reset. The reset is accomplished by letting the lock stand idle for a predetermined period of time without the dial rotation. Further rotation of the dial is ineffective to cause the lock to unlock. Waiting for the predetermined time out to reset the lock is a major deterrent to the success of a dialer which is dependent upon speed and non detection.
The timing capability of the electronic lock provides an opportunity to prevent the use of a practice common with mechanical locks. To access the safe or vault on a short notice, it is common to dial in the first two numbers of a combination and then to not enter the third number. When the operator is ready to access the vault or safe, the third and final number of the combination is entered and the enclosure is opened.
This common and dangerous security violation, which severely compromises the security of the enclosure, is overcome by the requiring of the complete entry of the combination within a preselected time period. The entry of two of three combination elements and the delayed entry of the third until after the relatively short time period has expired, causes the scrambling of the entered combination numbers and the lock requires the complete combination to be entered again.
The use of multiple combinations to open a lock is possible with this electronic lock even from a single lock mechanism. The mechanical lock mechanisms are not capable of multiple combinations being entered into a single lock. Accordingly multiple lock mechanisms are required for multiple combinations to be used to enter the enclosure. The present electronic lock accepts multiple combinations in what is referred to as a dual mode, requiring dual combinations. The combinations may be entered in any order, but if an error is made in either combination the lock will not signal that an error was made until after the second combination is entered, thereby not informing the attacker of the part of the procedure which was in error. The two combinations may be considered as a single 12 digit combination raising the security level of the lock, even though the combination is possessed by a single individual.
The lock may also be conditioned to accept the two separate combinations in a required order. The first combination required is referred to as the senior and the later combination the subordinate. When properly entered, the senior combination enables the lock to accept the subordinate combination at any later time. The repeated entry of the senior combination deactivates the lock such that it will not accept the subordinate combination until reactivated.
The electronic lock contains two counters that may be used for security monitoring. The first counter is an error counter which is incremented each time that the lock is unsucessfully operated. This count is retained in nonvolatile memory and the contents of the error counter displayed on the display at the time of power on, if greater than two. The authorized operator of the lock is shown an indication of the fact that the lock has been attacked and that the lock was not opened, since the number in the error counter is not reset until a proper combination is entered and the lock unlocked.
The second of the counters is referred to as the seal counter. The seal counter is incremented by one with each successful opening of the lock. It is never reset. With four digits, the maximum count is 9,999 and would require over 80 hours of dialing the correct combination to increment the count completely around to the number originally on the display prior to attack, if correct combinations were entered at the rate of two per minute. Thus by monitoring the the error and seal counters, the attack of the lock by an unauthorized individual is apparent and whether the lock was properly operated to access the enclosure is known to the authorized operator.
The combination of the lock may be changed if the combination is not known or forgotten, by using the serial number of the lock as a temporary combination. This allows locks that have been stored in inventory to be properly recombinationed by using the serial number of the lock, but does not allow one with the serial number of the lock but not the authorized combination to change the combination for later seemingly authorized access to the enclosure.
The invention described and claimed herein takes advantage of the electronic pulse control of the electronic lock and therefore it is an object of the invention to increase the security level of the lock.
Another object of the invention is to render the lock more resistant to the attack of the lock through attack by drilling or penatrating the lock mechanism housing for purposes of observation of the lock device.
An additional object of the invention is to render the lock safe from successful attack for a substantial period of time by use of a dialer device.
Another object of the invention is to disable the lock from becoming unlocked, when the conditions of the combination input are such that they fail to fall within preselected parameters to insure that the lock is not being attacked with a dialer.
It is a still additional object of the invention to render the lock inoperative when predetermined input parameters are not met and the failure of the parameters to be met-suggests that the lock operation is by other than by a human being authorized to unlock the lick.
It is another object of the invention to prevent the lock from unlocking when the period of uninterrupted rotation of the dial of the electronic lock is in excess of a predetermined period.
It is another object of the invention of prevent the lock from unlocking when the amount of the dial rotation exceeds a predetermined amount, in a direction, without stopping the dial movement.
It is a still further object of the invention to prevent the lock from unlocking when the dial direction changes occur with such speed that the dial is probably not operated by the hand of a human being.
An additional object of the invention is that the lock will not operate to unlock if the dialing time exceeds a predetermined amount of time without either successful entry of the combination or the lock being powered down.
It is a another object of the invention to defeat the use of a dialer by varying the correlation between dial displacement and numerical incrementation, depending on the speed of rotation of the dial.
It is still an additional object of the invention to inhibit the use of a dialer by initiating all sequences of numbers displayed by the lock at a random number which has no relation to the last combination number element entered.
Another object of the invention is provide the ability to reverse and recover if a number is passed in the dialing, without having to restart the combination entry.
Still another object of the invention is to provide in a single combination lock the capability of requiring entry of multiple authorized combinations prior to the lock being unlocked.
An additional object of the invention is to provide to the operator of the lock a visual display of numbers that will indicate that the lock has been attacked and the number of times the lock has been successfully operated.
A still further object of the invention is to provide the capability of opening the lock and changing the combination of the lock, under controlled conditions, so that the combination of the lock may be changed or set when there is no record or recollection of the combination when the lock was stored.
The foregoing objects of the invention are accomplished by the electronic controls of the lock, as will become more apparent from the detailed description of the invention to follow.
The foregoing objects aspects and advantages of the invention will become apparent from the drawings and the detailed description of the invention that will follow.
A more complete understanding of the invention may be acquired from the following detailed description of the invention that follows.
Extending from the housing 22 is a bolt 26 that is used to hold the door 12 shut when extended. Also contained in the housing 22 are the mechanical linkages and mechanisms which retract or extend the bolt 26 of the lock 10.
The power control and pulse shaping device 36 also charges an internal capacitor with the pulses of electricity generated by the rotor 28 and coils 34. The voltage of the capacitor is then supplied over the power line 42 to the microprocessor 44. The microprocessor 44 is powered for a limited time with the voltage, and the charge is stored in a capacitor within the power control 36. Powered time of the microprocessor 44 is dependent upon the capacitance of the capacitor and the current drain of the microprocessor 44 and display 18. The size of the capacitor is selected in coordination with the power requirements of the remainder of the system to provide power to the system for approximately 90 seconds after the dial 14 and the rotor 24 have ceased to rotate. This time period provides adequate time to open the lock 10 or to pause in the entry of the combination without losing the previously entered elements of the combination. On the other hand, the time period is long enough to provide a significant delay in the reset of the lock electronics 24 after the lock has become unopenable due to any of several conditions having occurred. This delay period is a significant factor to defeat the use of a dialer.
Microprocessor 44 provides outputs to a display 18. The display 18 is capable of displaying numerals of at least two digits and arrows pointing in opposite directions. Symbols such as a lightning bolt for a error symbol or a key symbol are used to indicate selection of the combination change mode.
The preferred display 18 is a Liquid Crystal Display or LCD device which has the advantage of being a relatively low consumer of electrical power. Low power consumption is a significant consideration since power generated by the rotation of the lock dial 14 is relatively small and must be stored within the components of the electronics of the power control and pulse shaping components 36 of the system.
The microprocessor 44 also has an output to the latch motor 46 which acts to connect the latch 48 of the lock 10 to the bolt retractor 50. The latch 48 is an arm which when engaged with the bolt retractor 50 may be pulled or pushed by the bolt retractor 50, when it is moved. A small rotary motor 46 for moving the latch 48 is preferred. The latch 48 is constrained by the lock housing 22 in
Bolt retractor 50 is engaged with the retractor drive 30 by the link 52. The link 52 converts the movement of the retractor drive 30 and engaging point 58 into a linear movement of the bolt retractor 50.
The microprocessor 44 may be any suitable microprocessor manufactured and sold on the market. However the preferred embodiment of the invention includes a microprocessor designated 80C51F and manufactured and sold by Oki Electric Industries Company, Ltd, of Tokyo, Japan.
The operation of the microprocessor is represented by the flow diagram of
When the power is sufficient, the first function of the system is to clear the total try counter in operation 810. This permits the opening of the lock 10 with the authorized combination even if the lock 10 had been disabled due to a sufficient number of erroneous combination entries to prevent the lock from opening.
Thereafter, the Random Access Memory (RAM), within the microprocessor 44 is initialized and all bit switches or flags are reset to their default conditions, in operation 812. This conditions the system to accept inputs from the dial 14 of the lock 10.
The random number generator of the microprocessor 44, in operation 814, generates a random number between 00 and 99 and loads the number into the combination counter. This provides the system with a starting point for the electronics to work from in the accepting of combination element entry.
In operation 816, a determination is made as to whether this operation is the result of a power on entry into the system or a restart entry into the system. If this operational sequence of the system is due to power on, the flow is to operation operation 818 where the direction of the dial 14 determined from the phase relation of the pulses. If the dial 14 is being rotated in the counterclockwise direction, the flow branches to operation 822. However, if the rotation of the dial 14 is clockwise, then the seal counter number is displayed, in operation 820, until the dial 14 is turned counterclockwise.
The flow from operations 818 and 820 both converge on operation 822 where it is ascertained if the error counter contains a count greater than 2. If not, the flow branches to operation 826. If the error counter contains a count of 3 or more, the flow is to operation 824 where the number is displayed on display 18. The operator is shown the number of unsuccessful attempts made to open the lock since the last successful entry attempt.
Thereafter the flow is to operation 826. In this operation there is a decision as to whether the watch dog flag is set. The watch dog flag, when set indicates whether the lock has been left with the dial unmoved or the dial has not stopped for more than 40 seconds. If the flag is set, then the flow branches back to just prior to operation 812 where the lock is reinitialized and the lock conditioned to be opened with a new combination entry attempt.
When the watch dog flag is not set, operation 828 will determine if the dial 14 has been reversed and if so the flow is block 830 which represents the subroutine shown in
If all the numbers for the combination have been entered, then there is a determination at operation 854 as to whether the operation of the lock is conditioned for single combination operation; and if true, the combination is compared with the stored authorized combination in operation 856. If on the other hand the lock is not conditioned for single combination operation, the flow branches at operation 854.
If at operation 856, the combination does not match then the error signal is set and the error counter is updated by incrementation by one, in operation 860, and then the flow is to the restart entry point 862 in
Referring back to
If the change key 60 has not been inserted, then the flow at operation 858 branches to the subroutine in
Referring first to
In operation 904, the type of operation is selected such as single, dual or senior/subordinate operation. In operation 906 if the determination is that it is a single combination mode of operation, the flow is to operation 908 which represents the subroutine shown in
If the determination at operation 906 is that the lock is operating in a mode other that a single mode, the flow is to block 912 which represents the subroutine of
When the error counter is 9 or less then the time of entry of the combination is checked; if less than 15 seconds, the flow is to operation 960. If the dialing time to enter the combination is greater than 15 seconds, then the flow is to operation 956 where the total time of dialing is ascertained and compared to 5.12 seconds. If the time is greater than 5.12 seconds, then the flow is operation 960, and if less, then to operation 958 where the amount of dial rotation without a stop is compared to 480 degrees. If more than the 480 degrees, the flow is to operation 960. If less than the predetermined 480 degrees, then the write new combination flag is checked at 963 and if ON then the new combination is written to memory in operation 965. Thereafter, the combination is read and rewitten to combination memory in operation 966 and the flow continues to 962.
Then the open lock subroutine of
Should the error flag be OFF in operation 877, the the error flag is set 879. The flow from operations 879 and 861 is to restart entry 862.
When the combination matches, the ports 62 of the microprocessor or logic control device 44 are checked to see if the change key 60 is inserted. If not, the decision is made in operation 880 as to whether one combination has already matched and, if so, the flow is to the subroutine in
Referring to operation 874, if the lock is not conditioned to open in response to a dual combination entry, then the flow branches to operation 858, previously described and if the key 60 is inserted then to block 864 and 866 and then to restart entry 862, all previously described.
If the change key 60 is not inserted into the ports 62, the combination is compared in operation 890 to the senior combination and if matched, then the senior combination flag is toggled on/off in operation 892. This either enables the subordinate combination or disables the acceptance of the subordinate combination respectively.
When the combination does not match the senior combination in operation 890, operation 894 checks to see if the senior flag is set ON and, if so, the combination is checked against the subordinate combination in operation 896. If either of the operations 894 or 896 test not true, then the flow from the respective operations is to operation 860 which has been previously described.
When the combination matches the subordinate combination in operation 896, the flow is to block 868 which represents the subroutine in
After the message “PO” is displayed, operation 1010 will continue to sample the ports 62 to determine whether the change key 60 has been removed. The looping and sampling will continue until the key 60 is confirmed as removed, whereupon, in operation 1012, the write new combination flag is set and the flow returns to the flow in
Referring again to
To allow operator verification, once the combination has been retrieved, it is flashed back on the display 18 to the operator. After the combination has been displayed to the operator, operation 1054 signals a message “PO” to the operator prompting the operator to Pull Out the change key 60 from the ports 62.
The electronic control of the lock then attempts to verify in operation 1056 that the change key 60 has been removed for ports 62, signifying the completion of the combination change; if the key 60 has not been removed, the logic-operations continues to verify until such time as the key 60 is removed. Only when the key 60 has been removed, will the control logic flow progress to operation 1058 where the the new combination flag is written into memory. Thereafter the flow returns to operation 910 in
Block 836 of
Next a check in operation 1102 is made to a certain if the display is displaying a combination number or a number which represents the mode of the lock 10. The mode of the lock is set, to condition the lock 10 to be opened with one combination, a minimum of two combinations or a combination which must be entered before any second combination is entered, known as the senior/subordinate mode. When the display 18 is responding to the operation of the lock 10 to indicate what mode it is to operate in, the display 18 is displaying a single units digit and no zero in the tens position. During this phase of the lock 10 operation, operation 1102 will pass the flow to operation 1104 where the segment data for the tens position of the display 18 will not be set. When the lock 10 is in its normal operational mode of accepting combination input, the flow is through the NO path from operation 1102 around operation 1104, to operation 1106 where the units data is converted to segment data in the same manner as the conversion in operation 1100. Then the lightning bolt, key and left and right arrows are set ON or OFF as appropriate.
After the conditions are set, the display data is written to the display 18 to cause the display to show the appropriate symbols, in operation 1110. Thereafter the flow returns to operation 828.
With this understanding of the operation and control of the microprocessor, the operation of the microprocessor will be described with respect to the several security features.
As the dial 14 of the lock 10 is rotated and pulses from the generator 29 are shaped and transmitted to the microprocessor 44, data is generated and passed as input to the microprocessor to input combination numbers to the system. On mechanical combination locks the dial has on its periphery marks and numbers that the operator must align with a guide mark to properly position the wheels in the lock. With this invention, not only are there no such marks or numbers, but the electronics 24 must generate the signals representing the numbers which activate the LCD device to display numbers for observation by the operator. If the first number displayed at the beginning of a movement of the dial 14 to increment or decrement the numbers displayed, were in some relation to earlier numbers entered into the lock or were consistently the same, a dialer could be programmed to account for that datum point. Only one unsuccessful attempt to open the lock 10 would be necessary for the attacker to ascertain the relationship. In the instant invention, the microprocessor 44 has included within its capabilities the ability to generate psuedo random numbers between 00 and 99. The random number generated is displayed and used as a base point or datum point from which to start that sequence to enter a number of the combination.
As the dial 14 of the lock 10 is rotated, the generator 29 provides a pulse train with one pulse corresponding to the rotation of the dial 14 by an amount of choice, typically one pulse for each three degrees of rotation. The generator may be a permanent magnet stepper motor and the resolution of the motor steps will dictate the number of steps per revolution and thus the resolution of pulses for any amount of rotation.
The pulses are then counted and the microprocessor 44 determines the number of pulses necessary for the microprocessor 44 to increment or decrement the number on the display 18 by one and increments or decrements the displayed number by one, as will be explained with respect to
From the foregoing, it can be seen that the random number generator of the microprocessor 44 will start each number entry sequence at a random number which will in all probability not be the same as that of any other sequence in the lock opening operation. This prevents the dialer from being able to increment the numbers entered in an up or down direction, from a known starting point. This severely restricts the use of a dialer. This feature of the operation of the lock significantly improves the security of the lock by defeating one significant method of surrepticious attack on the lock 10.
Since the main purpose of a dialer is to attack a combination lock by very rapid dialing of all the combinations necessary to open the lock, it is desirable to slow down the entry of lock combinations. By slowing the acceptable entry of a combination, it insures that the lock will statistically withstand such an assault for a longer time. If a dialer were devised to overcome some or all of the other safeguards and features of the lock, slowing the acceptable entry rate will reduce the number of entries that may be attempted in a given period of time. Since time is an enemy of the attacker, and exposes them to detection over longer time periods, anything that will delay the attackers success is of great importance.
Accordingly, the electronic lock 10 is provided with a timer within the microprocessor 44 which times the period from power-on until the entry of the last number of the combination. The logic flow diagram of
The internal clock timer of the microprocessor 44 is started at power-on when the microprocessor 44 is supplied sufficient power from the pulse shaping and power control 36 to operate the electronics 24 as represented in block 150. The lock electronics 24 will then accept the entry of the combination numbers normally, as illustrated in block 152. In decision block 154, the condition is tested as whether all numbers of the combination have been entered; and if found to be false, then the flow loops back to just prior to operation 152 which allows the next combination number to be entered. When the condition tested in operation 154 is satisfied, the loop is exited and the flow is to operation 156 where the time from the start of operation, is contained in the timer that was started in operation 150, is tested to determine if the elapsed time has been greater than a predetermined time period. For example, the time period may be selected to be 15 seconds, since a human being operating the lock dial 14 will take longer than 15 seconds to enter the combination, normally. Thus it may be safely assumed that any entry in less than 15 seconds is an attempt to attack the lock with a very rapid non-human device such as a dialer.
If the time is less than 15 seconds, then the flow branches to operation 162 where a signal is displayed indicating an error. The symbol of the preferred embodiment is a lightning bolt. After the error is signalled, the lock logic flow returns to the main system flow and the lock will not open until a correct combination is entered and the entry time is greater than 15 seconds.
If the time period is determined to be greater than 15 seconds, in operation 156, then the flow is to operation 158 where the combination is tested or compared with the correct combination of the lock 10 by the microprocessor 44; if not correct, the error signal is displayed in operation 162.
If the combination is found to be correct in operation 158, the lock is opened or a change of combination is effected, in operation 160, when the change key 60 is inserted in the change key ports 62 of the microprocessor 44. Use of the change key 60 will be discussed in more detail below.
The testing and signaling of an error when the combination is too rapidly entered acts to defeat the operation of a dialer. Accordingly, the selection of a minimum time which must be exceeded in the entry of a combination enhances the security of the lock 10.
If the lock is dialed by an attacker and the correct combination is not entered in a period of time that is preselected, such as for example, 5.12 minutes, then it is assummed that the lock is under attack by some device or a persistent individual. The security features of the lock 10 are primarily aimed at the defeat of a dialer, and may not be triggered, but the lock needs to be protected from attack by an individual. Thus, if the dialing time exceeds the maximum, then an error is signaled and the lock will not open.
The logic operations for this feature are shown in
After the last number of the combination is entered, in operation 202, and the determination of operation 204 is satisfied, the content of the timer is tested to determine if the total time elapsed since power-on has exceeded 5.12 minutes, as an example. If the time period has been greater than 5.12 minutes, the lock electronics 24 signals through the display 18 an error signal, as shown in operation 212 and the lock will not open. The lock is at this point unable to open since there is a signal to prevent the unlocking of the lock 10 and the lock will not open, even with a correct combination, since operation 210 is bypassed. The lock will continue to accept the input of numbers to the lock and will open if the next combination entry is correct. With an entry time exceeding 5.12 minutes there is sufficient delay that an additional time of 90 seconds to power-down the lock is not a significant deterrent.
When the test of the time period elapsed is less than the predetermined time period of 5.12 minutes, for example, the logic flow is directed at operation 206 to operation 208 where the combination is checked for correctness; and, if correct the lock is opened or the combination is changed when the change key 60 is resident in the ports 62 of the microprocessor circuitry in operation 210.
If on the other hand the combination entered is incorrect, the error signal is displayed in operation 212.
Since short times are an advantage to the security of the lock and long periods of operating time are advantageous to the attacker, the advantage to attacker is removed.
A common and serious security violation is to enter the first two numbers of a combination so that the third number may be entered at a later time with a minimum of delay in accessing the enclosure. This practice allows one who knows only the last number of a combination to access the enclosure.
The electronic lock disclosed herein has a capability to defeat a partially entered combination and thus return the lock to a scrambled locked condition.
If the timer has not expired, the flow branches from operation 256 around operation 258 and back to the main system operation as the interrupt is completed, at restart entry 862.
This features affect is that if the dial 14 of the lock 10 is not tuned within 40 seconds or if the dial is has not stopped for a period of 220 milliseconds within the 40 second timer period, the numbers of the combination already entered are ignored and are not effective to form part of the combination to unlock the lock. This prevents the operator from entering the first two numbers of the combination and waiting until significantly later to enter the third number of the combination to quickly open the lock 10.
The use of the human hand to rotate the dial 14 of the lock 10 results in the dial 14 being turned a partial turn and the dial 14 stopped and the hand repositioned to attain a new grasp of the dial 14 prior to the next turn. If the dial turns more than what a normal hand/wrist will permit, the lock typically is being operated by a dialer or similar device. To sense this and to prevent the lock 10 from opening, the amount of dial rotation without a stop is detected. This feature of the invention is illustrated in
After power-on in operation 300, the pulses from the generator 29 are monitored and it is determined whether the dial 14 has stopped turning, in operation 302. If the determination of operation 302 is that the dial has not stopped turning, then the logic control flow loops back to just prior to operation 302 and the pulse output of the generator 29 is again monitored. This loop continues until the dial 14 is detected as having stopped turning. When the dial 14 has stopped the logic flow branches out of the loop to operation 304 where the number of pulses generated since the last dial stop is determined and compared with 160 pulses which is the number of pulses generated by the rotation of the dial 14 by 1.33 turns or 480 degress.
If the dial has rotated more than the predetermined amount of 480 degrees without a stop of the dial the flow is directed to operation 306 where the lock electronics 18 are signaled to not open, even if the correct combination is entered.
As described above, the operation of the lock 10 by a person is not inhibited while the operation of the lock 10 by a dialer or other similar device is severely inhibited because the lock will not respond to the correct combination after the dial is rotated for more than 1.33 turns without stopping. If the dial stops for less than the amount of time necessary for the lock electronics 18 to recognize a dial stop, then the timer is not reset and the lock 10 will at the end of the time period, be rendered unopenable, as in
The dial 14 must physically stop rotating whenever a number of a combination is reached and the number is entered into the microprocessor 44 as an element of the combination. However the time that the dial 14 is motionless is important since the reversal of the dial 14 of the lock 10 is used to detect that a number is to be entered into the combination element storage locations of the microprocessor 44. If the stop period is too short, microprocessor 44 will not recognize the stop and the rotation of the dial will continue the incrementation of the numbers in the same direction, increasing or decreasing, as was in effect prior to the stop and reversal of the dial. This has the dual effect of further destroying the relation between the dial 14 rotation and the numbers displayed and operated on by the microprocessor 44, and to prevent the entering of the number displayed at the time of the stop. The operation of the logic is illustrated in the flow diagram of
With power-on, the pulse output of the generator 29 is monitored and a determination made as whether the dial 14 has stopped, in operation 352. If the determination is in the negative the flow loops back to again pass through the decision operation in operation 352 until the result is in the affirmative. At that time the flow branches out of the loop and is directed to operation 354 where the time period is tested as to whether the stopped period exceeds 220 milliseconds, the minimum time period that is necessary to recognise a valid stop condition. If the test in operation 354 is met then the flow is to operation 356, where it is determined whether the dial direction reversed based on pulse polarity. If there was a direction reversal then the direction flag is set reversed from the prior direction. This is accomplished by the setting of a direction flag in the memory of the microprocessor 44.
This flag will also be used by the microprocessor 44 to control display 18 to show an arrow in the appropriate direction.
If the result of operation 354 or operation 356 is in the negative, then the logic flow branches around the operation 358 and leaves the direction uneffected, resulting in any further input pulses from dial 14 rotation changing the numbers displayed in the same direction (increase or decrease) as they were being changed prior to the detecting of a stop of the dial 14 for a time period insufficient to cause reversal recognition. Accordingly, the use of a dialer to attack the lock 10 is again interfered with and defeated.
If an attempt to unlock the lock 10 is made and the attempt is unsuccessful, the operator will attempt to unlock the lock 10 again and in all probability will be successful within a very few additional attempts if the operator is in possession of the authorized combination. However, if the operator is not in possession of the authorized combination and is trying the lock in either a systematic or random manner, the microprocessor 44 will keep a count of the incorrect attempts to unlock the lock 10 and if the number of incorrect attempts exceeds a predetermined number of attempts, the lock may be either disabled from further attempts by blanking the display 18 or displaying an error signal to indicate that the combination entered is erroneous, for each subsequent combination, notwithstanding the entry of the correct authorized combination. This safeguard is incorporated in the software microcode contained in the memory of the microprocessor 44 and illustrated in the logic flow diagram in
Thereafter, in operation 404, a check is made as to whether all numbers of the combination have been entered and if the result is negative, the flow branches back to just prior to operation 402, with the acceptance of the remaining numbers of the combination.
The total try count is the number of unsuccessful attempts to open the lock since the last successful attempt to open the lock 10. When the numbers of the combination have been entered, the answer to operation 404 is affirmative and the logic flow branches to operation 406 where the total try count is checked to find its value. In operation 406, the total try count is compared to a predetermined number such as 10 and if greater than or equal to 10, the microprocessor is conditioned to signal an error symbol on the display 18 in operation 415. The LCD display 18 is then interdicted and is blanked to prevent displaying numbers or symbols, thus effectively preventing the entry of any numbers into the lock 10 in an effort to enter the combination.
The lock remains inoperative until it is left unoperated for a period to bleed down the power stored internally. Once the power of the capacitor is bled down, the power to the microprocessor 44 is insufficient to maintain the flags that are set to indicate that the lock 10 is disabled and the lock 10 becomes functional again. The preferred time period necessary for power-down is selected to be sufficiently long to be a source of irritant to an attacker, but not so long as to be a major inconvienence to an authorized operator. A preferred time period for power-down is 90 seconds.
If the total try count is less than 10, for example, then the logic flow is directed by operation 406 to operation 408 where the combination just entered is tested to determine the correctness of the combination.
When the combination is not correct, then the logic flow is branched to operation 410 and the total try count is incremented by one, reflecting the latest unsuccessful attempt to unlock the lock 10. Thereafter the microprocessor 44 is signaled to cause the displaying of an error symbol on the display 18 in operation 414 and then the flow returns to the main logic flow of the system.
Another embodiment would be that the signaling of an error in operation 414, as a result of a Yes result in operation 406, may set a flag in the memory of the microprocessor 44 which can be used by the microprocessor 44 to prevent the opening of the lock 10 even if a correct combination is entered. In this case, operation 415 would not exist. In this mode of operation the display 18 continues to display numbers and symbols as it continues to function, thereby suggesting to the operator that the lock is still working and capable of opening upon the entry of the authorized combination, notwithstanding the fact that the lock is conditioned to refuse to open after the tenth consequtive erroneous attempt to open the lock.
When the combination compares correctly with the authorized combination of the lock 10 in operation 408, the lock 10 is conditioned to open or to change the combination if the change key 60 is inserted into the ports 62 of the microprocessor 44. Thereafter the logic flow stops.
To further-foil and defeat the abilities of a dialer, the lock 10 is provided with a scheme of varying the number of pulses of the generator 29 that are required to update the display 18 to cause it to display the next smaller or larger number. The benefit of this scheme is as the speed of rotation of the dial 14 of the lock 10 increases, the rate of change of the displayed numerals increases until the rate of change is set by the fastest rotational rate and then the relationship of the rate of change of the displayed numbers to the number of pulses from the generator remains constant for the remainder of that rotational movement of the dial 14, until the dial stops, even if the rotational speed of the dial slows during later stages of rotation. The effect is to reduce the correlation of the number change rate on the display 18 and the extent of rotation of the dial 14.
The pulses on the phase 1 line 38 are connected to an interrupt bit in the microprocessor 44. Accordingly, each pulse interrupts the microprocessor 44. The interrupts are used to start and stop timers and counters.
Dial reversal is detected when seven phase 1 pulses are detected and the polarity of at least 6 of the phase 2 pulses are of the same polarity. Thus when the dial is reversed, the polarity of the first phase 2 pulse to be received has been preceeded by six phase 2 pulses of the prior polarity. As each succeeding phase 2 pulse is received the count of phase 2 pulses of the new polarity increases until when the sixth phase 2 pulse of the new polarity is detected, the voting scheme is satisfied and the new direction of rotation is determined. The microprocessor 44 times the interval between the phase 1 pulses and thereby detects the rotational speed of the dial 14. The speed is not sampled until after seven phase 1 pulses have been received, to avoid speed detection when the dial 14 is not being turned enough to provide a reliable input. After seven pulses have been received the six interpulse times are culled by discarding the shortest and the longest and the mean of the remaining times determined and used. This approach to filtering of values acts to filter out noise.
As each speed criteria is met in ascending order of speed, that speed indicator is set and retained for the remainder of the dial turn; while the speed indicator is not reduced if the dial slows down during that dial turn, the speed indicator may be increased as speed increases.
A further filter to eliminate spurious conditions which could lead to unreliable results is that the middle and high speed indicators in the microprocessor 44 are locked out or rendered ineffective unless at least 10 phase 1 pulses have been detected by the microprocessor 44 since the last valid dial stop. This filtering of the inputs insures that the middle and high speed operation of the display 18 is prevented during quick short burst turns of the dial 10.
The Microprocessor 44 has within it a counter that is designated as the combination counter, which counts the numbers and the numbers are displayed on display 18, as well as being available for the internal processing of the number for use iii the combination. The combination counter is incremented/decremented, based on the number of pulses received by the microprocessor 44. The number of pulses necessary vary based on the dial speed as decided by the voting scheme described above.
The preferred and exemplary conditions for changing the combination counter are presented tabularly below.
As can be seen from the table, the counter and the display is incremented by one unit for each five pulses if the interpulse time interval is less that 8.56 msec but more than 5.14 msec and the middle speed flag is set.
The lock out flag is set only during the actual opening cycle of the lock 10 (turning the dial 14 to retract the bolt 26 from strike 56), to inhibit the bolt 26 from being retracted if the dial 14 is turned too fast. If the bolt 26 is engaged with the bolt retracter 50 when the dial is being turned too fast, physical damage to the lock mechanism may result.
The incrementing of the combination counter is accomplished for the first three pulses of a turn in the low or creep speed and then thereafter with each 13 pulses. This is to provide the operator a visual feedback early in the operation at these speeds and then to slow the incrementing to the desired rate thereafter, for the same dial turn.
In the high speed-mode or operation, all numbers are sent to the display 18. Due to the response time of the display and the ability of the human eye to receive and process images only at relatively slow speeds, it may appear that numbers are being skipped by the display 18.
For a better understanding of the logic operations necessary to control the speed of the change of the combination counter and display 18, reference is made to
The setting of a speed flag results when the flow is diverted from the series of decision operations 450, 454, 458 and 462. The flow is then thru flag setting operations 452, 456, 460 and 464 as appropriate with the resulting setting of all flags for speeds slower that the first satisfied speed condition.
Referring to operation 462, if the interpulse time interval is greater than 64.2 msec, then the only remaining choice of speeds is that of creep speed and the creep speed flag is set in operation 466. The flow from operation 464 or 466 is back to the main flow of the system.
As the dial 14 is turned the microprocessor 44 not only receives the pulses but after determining the speed at which the dial 14 is turning, then must update or increment the combination counter. This is accomplished by the logic control operations represented by the flow diagram of
As the pulse flow into the microprocessor 44 continues, the the flags of the microprocessor 44 are checked to ascertain if the direction has been determined by the voting scheme as described above. This decision as to whether the direction has been decided is represented by operation 500. If the decision on the direction of the dial 14 rotation has not been made, it is premature to assess speed. This is not done until direction has been determined, and the flow branches around all other operations of the subroutine and returns to the main flow of the system.
If, on the other hand, the direction has been determined, the flow from operation 500 is to operation 502 where the high speed flag is checked. If the high speed flag is set, the microprocessor 44 is commanded to update the combination counter by one unit for each two pulses received from the generator 29, as represented by operation 504.
If the high speed flag has not been set then the middle speed flag is tested to see if it has been set in operation 506. When the middle speed flag has been set, as determined in operation 506, the combination counter is updated by one unit for each five pulses as represented by operation 508.
Similarly, if the flag for the middle speed is not set, a decision in operation 510, is made as to whether this is the initial dial rotation at a low speed in this dial turn. If this decision operation results in a negative determination, then the dial 14 has been rotated at a low speed previously in this dial turn and the combination counter is incremented by one unit for each 13 pulses generated by the generator 29, as represented by operation 512.
When the result of operation 510 is in the affirmative, the flow is to operation 514 where the combination counter is updated by one unit for each 3 pulses received by the microprocessor 44.
Following the updating of the combination counter, in response to any of the speed flags set or not set, the control reverts back to the main logic control of the lock 10.
The backup feature is important in that it gives the operator a way to recover from an erroneously dialed number if the number has not been entered and if the dialed number is less than 3 from target number. The feature does not compromise the security of the lock since the operation of the lock is to back up the number by four units upon any dial reversal. Thus, the backing up of the displayed numbers on the display 18 does not indicate to the attacker that he has approached a combination number, since any reversal of the dial at any-number will result in the four unit backup of the displayed number. Progressing past the backed up value and continuing the reversal movement enters the value of the number in the combination counter and on the display 18 when the reversal occurred, as a combination number for later comparison. The backup feature is operational on all dial reversals.
When dialing the combination, the operator may turn the dial 14 too far and pass the target number of the combination. While the dial may be turned additional revolutions and the target number selected and displayed, the preferred embodiment of the lock is to permit the operator to reverse the dial direction for a short displacement with the numbers displayed and contained in the combination counter changed to a number four units displaced for the number displayed prior to backing up. After the numbers have backed up by four units, the dial 14 may then be turned in the direction that it was originally being turned, to again approach the target number of the combination. The logic control of this function is illustrated in
When a number has been dialed and the dial 14 is stopped, the period of the stop is checked to determine if the stop time is at least 220 msec in operation 550; and if not, the stop is not recognized and the flow branches around other operations in the subroutine to operation 560, where the combination counter and the display 18 are changed by one unit.
On the other hand, if the stop time does exceed 220 msec then the stop is recognized as a valid dial stop, and the flow is directed to operation 552 where a decision is made as to whether the dial reversed direction. If there is no reversal of direction, there is no need to consider the backing of the displayed numbers and the contents of the combination counter. Accordingly, the branch is to operation 560, as described above, and there is no effort to reverse the count and the further rotation is an attempt to reach a number as yet not accessed.
If the direction of the dial 14 rotation is reversed, then a flag called the backup switch is checked to ascertain if it is turned on. If this backup switch is on in operation 554, it indicates that the backup process is underway and the latest reversal of the dial 14 is preparatory to the resumption of the operation of the dial 14 to dial the target number of the combination. In this instance, there is no need to backup the numbers and, accordingly, the backup switch is reset in operation 556, prior to changing the number on the display 18 and in the combination counter by one, at operation 560.
When the status of the backup switch is tested in operation 554, if the status is off, then the flow is to operation 558. In operation 558, the number is changed by 3 and the backup switch is set. The finding in operation 554 that the backup switch was not on indicates that the dial 14 was turned but had not previously been reverse rotated; therefore, the reversal of the dial 14 should invoke the backing up of the numbers.
Thereafter, the flow from operations 556 or 558 is to operation 560 where the number is changed by one unit. The net effect is that the numbers displayed are changed by 4.
When the lock 10 is powered on, in operation 600, the clockwise rotation of the dial 14 is checked for, at operation 602. If the rotation of the dial 14 is counter-clockwise, then the flow is branched around other operations to operation 608. However, if the rotation is clockwise, the flow is to operation 604 where the seal counter contents are displayed on the dial 18. The seal counter counts the number of times that the lock has been opened sucessfully.
After the contents of the seal counter have been displayed on the display 18, if there is a clockwise turn of the dial 14, the logic control flow branches and loops back to just prior to the display operation 604. When the rotation of the dial 14 is counter-clockwise, as detected in operation 606, the error counter is checked to ascertain if the value stored therein is three or more, in operation 608. If the value in the error counter is three or larger, then the error counter contents are displayed in operation 610. The displayed number is the count of times that the lock 10 has been dialed for access without successfully opening it or when one of the security features has blocked the lock 10 from opening. The count is from the last successful opening of the lock 10.
Two turns in the counter-clockwise direction will result in the continued display of the error counter contents, as illustrated in operation 612. Two turns in the clockwise direction will branch to operation 614 where the combination for the lock is allowed to be entered. After entry of the combination, operation 616 does a compare of the entered combination and the authorized combination and if they compare true, the lock is conditioned to unlock in operation 618.
Since the error counter only accumulates the count of erroneous entry attempts since the last successful opening of the lock 10, with the compare true on the combination, the error counter is reset as in operation 620. Similarly, the seal counter counts successful combination entries, and the seal counter is updated by incrementing its contents by one unit, as in operation 622.
Should the combination not compare true in operation 616, the error counter is incremented one unit in operation 624 to reflect the erroneous entry attempt. After the incrementing of the seal or error counters, the routine ends and the lock awaits any further input by the operator. As discussed earlier, if left unattended for a sufficient amount of time, the lock will power down.
The combination of the error and seal counters provide a reliable, easily accessed, easily understood indication that the lock has been operated; and if the numbers are different, indicate either failure or success by the attacker.
The serial number of the lock may be used as a temporary combination to open the lock and thus allow the setting of a new combination. This allows for circumstances where locks are placed in inventory and records of combinations are misplaced or memories lapse and no one remembers the combination of an inventory lock.
If the change key 60 is detected, the open flag in the memory of the microprocessor 44 is checked in operation 654. If the open flag is on, the serial number is not allowed by operation 656 as a combination, because the lock is open and was presumably opened with a correct and known combination. However if the open flag or bit is not on, indicating that the lock 10 is locked, then the lock 10 is conditioned to accept the serial number of the lock 10 as a substitute combination, in operation 658. This may be accomplished by the setting of a flag which then allows the comparing of the serial number which is stored in a memory associated with microprocessor 44, with the entered combination, rather than comparing the authorized combination.
When the change key 60 is not in the lock 10, as ascertained in operation 652, the open bit is reset in operation 660, and the combination entered is compared with the authorized combination in operation 662; if good, the lock is unlocked and the open bit is set in operation 664. If the combination is not good the logic flow branches back to the beginning of the routine to await further input.
This scheme does not compromise the security of the lock since the lock must be accessible for the insertion of the change key while the lock is locked, i.e., when the combination is scrambled and the open bit is reset. This prevents the covert insertion of the change key 60 when a safe or vault is open and the return at a later time to open the safe or vault 12 with the combination that might be changed using the serial number of the lock.
The insertion of the change key 60 into the ports 62 creates a condition that prevents the resetting of the open bit. As seen from operations 654 and 658, the open bit must be reset for the serial number to be allowed in lieu of the authorized combination in the combination change procedure.
Once the lock out flag is provided and the flow in
If this embodiment is incorporated into the flow of
If desired, operations 1252 and 1254 may be omitted from the flow of
The foregoing routines that implement the functions and features operate within the system operations of the lock as is represented in
The preferred embodiment of this invention is to implement all the control operations and hence the functions and operational features of the lock 10 in microcode in a microprocesser 44 of the type sold by OKI Electric Industries Company, Ltd., under the designation 80C51F. Other microprocessors by other manufacturers may be substituted for the preferred device so long as the characteristics of the substituted device meet the needs of the lock 10.
The control of the microprocessor 44 is by microcode which is written according to the constraints defined by the device manufacturer and which are readily available from the device manufacturer of choice. Any skilled code writer may code the microcode, given a program listing. The program listing may be prepared for the the device of choice, following the constraints required by the particular microprocessor device chosen. The logic and operational flow diagrams contained in
The foregoing is the preferred embodiment of the invention. It is recognized that changes and modifications may be made to the embodiment of the invention without departing from the scope and the spirit of the invention and such changes and modifications reside within the scope of the claims below: