United Stati Perron et a]. Jan. 7, 1975 [54] DIGITAL LOCK SYSTEM HAVING 3,644,893 2/1972 Harwood 340/149 A ELECTRONIC KEY CARD 3,651,464 3/1972 Hedin 340/149 R 3,686,659 8/1972 Bostrom.... 340/149 X Inventors: Robert Perron, y; J 1 3,688,269 8/1972 Miller 340/149 A Fowler, Winthrop, both of Mass. 3,694,810 9/1972 Mullens 340/149 R [73] Assigneez Arthur D Lime, Inc. Cambridge, 3,754,214 8/1973 Matsumoto 340 149 R M ass Primary ExaminerHarold l. Pitts Flledi 1972 Attorney, Agent, or Firm-Stein and Orman [21] App]. No.: 300,770
Related U.S. Application Data [57] ABSTRACT [63] Continuation-impart of Ser. No. 132,671, April 9, An electronic lock system in which a coded data word 1971, abandoned. is stored in a key and, upon insertion of the key into a lock, compared with a master code. A predetermined [52] U.S. Cl. 340/149 A, 340/149 R correspondence between the key code and the master [51] Int. Cl. G1 lb 9/02 code causes the provision of an output signal for actu- [58] Field of Search 340/149, 149 A, 274, 276, ation of the lock or other utilization apparatus. Lack 340/164 R; 317/134; 70/277; 235/6l.1l of correspondence between the key code and master code will not cause production of the output signal [56] References Cited and can be employed to cause actuation of an alarm UNITED STATES PATENTS indication. Digital circuitry is employed in both the 3,453,598 7/1969 340,149 A key and lock and is configured to permit easy alter- 3,564,500 2/I971 340/149 A atlon of the stored code to greatly enhance system se- 3,622,991 11/1971 340/149 X y- 3,637,994 1/1972 340/149 A X 3,641,498 2/1972 Hedin 340/164 R 5. aim WJP ll yres ILOCK 1 MASTER I CODE I GENERATOR I l 22 26 I l ALARM I KEY I I cc MPARAToR LOGIC I l 12 18 I AcTuATE I DATA I OUT I I DATA 1 IGATE MEMORY r 1 DATA I MEMORY |N I CLK i l CONTROL BATTERY 3O L I CLOCK 28 I INSERTION 3DETECTOR 2 PATENTED 3,859,634
SHEET 1 [IF 4LOCK 1 MASTER CODE I GENERATOR I l 22 26 I l w KEY I COMPARATOR LOGIC I 12 18 I ACTUATE l DATA OUT DATA GATE MEMORY DATA l MEMORY m CLK CONTROL m4 BATTERY so i 14 I CLOCKp28 INSERTION DETECTOR 32ENABLE cODE MEMORY 35 MEMORY ENABLE 37 41 CODE K K as x CODED COMPARATOR ALARM OUTPUT COMPARATOR ENcODER A A 38 OUT MEMORY MEMORY 39 1 29; 2. .F'ig. 2A.
PATENTED SHEET 30F 4 Q sHIFT REGISTER W43 Q Q Q DECODER DECODER45A 1 2 /-47 LOGIC CIRCUITRY OUTPUT DATA 7 sHIFT REGISTER ENCODER ml,
DATA DATA sHIFT INPUT COUNTER REGSTER DE-CODER CLOCK STOP , CLOCK TR'GGER COMPARATOR 65 K k v I KEY CODE -e7 Fig. 6'.
PATENTEI] JAN 7 I975 CODE INPUT SHEET lflF 4 KEY LOGIC 83 81 ,OUTPUT LED KEY 9 LOGIC LOCK CIRCUIT LOCK LOGIC DIGITAL LOCK SYSTEM HAVING ELECTRONIC KEY CARD RELATION TO OTHER APPLICATIONS This application is a continuation-in-part of copending application Ser. No. 132,671, filed Apr. 9, 1971, now abandoned in favor of continuation application Ser. No. 273,529, filed July 20, 1972.
FIELD OF THE INVENTION This invention relates to lock systems and more particularly to an electronic lock system employing active digital electronic circuitry in both the key and lock.
BACKGROUND OF THE INVENTION Electronic locks have been proposed in which an electronic circuit in a lock is energized to activate the lock by use of a key containing circuitry cooperative with the lock circuit The circuitry employed in a key has generally been of a type in which a plurality of coded interconnections is provided to appropriately energize an associated lock circuit. Such key circuitry, however, usually contains a fixed code which is alterable only be rewiring of the key circuit. There is little versatility of coding in such conventional systems. In addition, the configuration of the key circuit can be ascertained by appropriate analysis and the code thereby duplicated. As a further disadvantage, such keys usually require a relatively large number of interconnections with the lock, with attendant increase in system cost and complexity.
SUMMARY OF THE INVENTION In accordance with the present invention, a highly reliable and secure electronic lock system is provided in which active data storage means are provided within a key containing a readily alterable coded data word corresponding to a master code stored in an associated lock circuit. Upon insertion of the key into the lock, the data stored in the key is compared with a master code in the lock, a predetermined correspondence therebetween causing actuation of the lock. In the event that there is not proper comparison between the master code and the key code, an alarm can be actuated and the key can also be seized within the lock to prevent its removal therefrom. By immediate actuation of an alarm in the event of detection of one or more incorrect bits of the key code, there is little opportunity to attempt duplication of the key code, thus materially enhancing system security. Analysis of the data storage circuitry within the key will not reveal the data code stored therein and even ifthe stored data were read out by interrogation of the key, the data can be selectively coded such that it would be, in practice, substantially impossible to analyze and decode the data content thereof.
In a typical embodiment of the invention, the key contains an electronic data memory such as a multiple bit shift register or read-only memory for storing the key code therein and is typically of integrated circuit type having extremely low energy requirements. Power can be provided by a small battery source located within the key. Alternatively, the data memory can be of the non-volatile type requiring no external power, in which case no battery need be employed. Data provided between the key and lock is preferably in serial form to minimize the number of interconnections required between the key and the associated lock. Vari ous interconnection configurations are contemplated by the invention. Two data connections can be provided, one for transferring data from the key to the lock, and one for transferring data from the lock back into the key. Or, a single data line can be shared for bidirectional transmission. A clock line can be provided depending upon whether a self clocking data code is employed, and a ground connection is also usually employed. Connection between the key and lock can be made by various well known coupling means suited to particular system requirements, such as electrical contact elements, or inductive, photoelectric or other noncontacting coupling.
It will be appreciated that the invention is not limited to use in actuating a lock as such, but is generally useful in security systems wherein an output signal is applied to utilization apparatus only upon the requisite comparison between a master code and a key code. For example, the invention is useful to operate many different key actuated devices in addition to locks, such as electrical switches, identification apparatus and the like. Moreover, the key can contain other data in addition to the key code as may be desirable in particular instances. The key can, for example, also contain data representing the identity of the key holder, an account number or various other data to suit operational requirements. Such additional data can be employed as part of the decoding process to cause an output indication, or the additional data can be separately decoded for distinct purposes, as required.
DESCRIPTION OF THE DRAWINGS The invention will be more fully understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a simplified block diagram representation of a lock system according to the invention;
FIG. 2 is a block diagram of an alternative key circuit embodying the invention;
FIG. 2A is a block diagram of a further key circuit embodying the invention; I
FIG. 3 is a partial block diagram of an alternative lock circuit embodying the invention;
FIG. 4 is a block diagram of yet another lock circuit according to the invention;
FIG. 5 is a more detailed block diagram of a lock system according to the invention;
FIG. 6 is a block diagram of a self-clocking key circuit embodying the invention;
FIG. 7 is a partial schematic and partial block diagram of a key energizing technique according to the invention;
FIG. 8 is a pictorial view, partly in section, illustrating a typical key configuration embodying the invention; and
FIG. 9 is a block diagram of a photoelectric coupling technique useful in the invention.
DETAILED DESCRIPTION OF THE INVENTION Referring to FIG. 1 there is shown anelectronic key 10 having amemory 12 powered by a suitable energy source such as abattery 14. The memory is typically a shift register of the low power type constructed by monolithic integrated circuit techniques and is, therefore, of extremely small physical configuration capable of being readily mounted in a small key member. The
battery is typically a low power mercury battery also adapted for mounting in the key member and capable of energizingmemory 12 for a long period of time. The power requirements of an integrated circuit shift register are sufficiently small that the effective life ofbattery 14 is determined more from the shelf life thereof rather than the power drain. The key is cooperative with anelectronic lock 16 and is coupled thereto by three lines, labeled data out, data in and clock. The data out line carries data frommemory 12 to the lock circuit, the data in line carries data from the lock circuit back intomemory 12, and the clock line carries clock pulses for shifting of data in and out ofmemory 12. In actual implementation, a ground line may also interconnect key 10 andlock 16.
Thelock circuit 16 includes adata gate 18 connected to amemory 20, and operative to couple data frommemory 12 tomemory 20, and to recirculate data frommemory 12 back intomemory 12 for restorage of a key code therein. Thememory 20 has an output thereof coupled to acomparator 22 which also receives data from amaster code generator 24. The output ofcomparator 22 is connected tologic circuitry 26 which provides a first output signal for actuation of associated utilization means, and a second output signal for providing an alarm indication in the event that an improper key code is employed.
Memory 20 and associated components of thelock 16 can also be typically implemented by integrated circuits. Timing of data from the key to the lock circuit is accomplished by means of aclock 28 providing clock signals tomemory 12 and to acontrol circuit 30 which governs operation ofmemory 20 and also provides master timing signals to the lock system. Aninsertion detector 32 is provided in the lock for sensing the presence of key 10 therein and for providing, in response to key detection, a start signal toclock 28 for initiation of the key identification process. As will be described, theinsertion detector 32 can also cause mechanical clampling of the key within the lock to prevent its premature withdrawal during the code recognition cycle and also to capture the key in the event that an improper key code is detected.
In "operation, a multiple bit data wordspecifying a key code is stored inmemory 12 representative of a unique key identity, this code being identical to a master code provided bygenerator 24 located in the lock circuitry. The key code contained withinmemory 12 is compared with the master code, positive identity between the two codss enabling actuation of the lock. Noncorrespondence between one or more bits of the key code and the master code causes actuation of an alarm, indicating an attempt to utilize an improper key. Upon insertion ofkey 10 intolock 16, the presence of the key as determined byinsertion detector 32 cuases enabling ofclock 28. Clock pulses fromclock 28 are applied tomemory 12 and cause readout of the data stored therein todata gate 18 and thence tomemory 20.
The data being shifted out ofmemory 12 is also recirculated viadata gate 18 back intomemory 12 to reload the key code for subsequent use. Upon loading of the data word intoshift register 20,comparator 22 is operative to compare the data contents ofregister 20 with that ofmaster code generator 24 and to provide output signals tologic 26 indicative of whether or not the coded data from key 10 corresponds to the master code pattern. Comparison of the key code with the master code can be accomplished on a bit by bit basis or on the entire code word after it is shifted intomemory 20. If upon comparison between the master code and the key code, there is correspondence of all bits therebetween,logic 26 provides an output signal to actuate the associated lock or other utilization means.
It will be appreciated that thelock 16 can be associated with any utilization means which is to be key operated, such as a locking mechanism for a door, vault or the like, or electrical apparatus. If there is a lack of correspondence between one or more bits of the master code and the key code,logic 26 provides an alarm signal indicative of an erroneous key code. The alarm signal can immediately actuate an alarm indicator or can be employed with suitable counting circuitry to permit a selected number of decoding attempts before an alarm is actuated. Delayed alarm actuation is useful, for example, to prevent a transient condition, such as momentary contact loss, from causing an alarm.
For some purposes an alarm signal is not needed to indicate detection of an erroneous key code, and in this event thelogic circuitry 26 will provide an output signal to the utilization means if a proper key code is detected, and this output signal will not be provided upon detection of an erroneous key code. The production of an output signal indicative of an alarm condition is desirable, however, for many purposes. The security of the present system is considerably enhanced by the feature by which any attempt to employ an incorrect key code will serve to actuate an alarm. There is thus no opportunity to try different possible key codes in an attempt to actuate the lock, as the first wrong code will cause an alarm indication. It is possible to cause readout of data stored inmemory 12 to ascertain its data content and thereby reproduce the key code. However, a key code can be employed as part of the data inmemory 12 such that interrogation thereof will not reveal the key code. For example, data stored inmemory 12 can be configured such that the code itself is contained at predetermined bit positions within a longer stored word and coding schemes can be selected with are extremely difficult if not practically impossible to decode. The length ofthe data word stored inmemory 12 also serves to enhance security of the system; for example, a 32bit memory permits 2 possible coding combinations.
The necessary correspondence between the key and master codes required to produce an output utilization signal is of course a matter of choice to suit operational circumstances. For high security, it will usually be desired to require exact correspondence between a key code and master code to produce an output signal. However, for many purposes a key code can be considered correct even though some small numbers of bits are different than the corresponding bits of the master code. In other words, the key code need only be correct to an intended degree of tolerance.
System security can be enhanced by use of a key which communicates data to the lock circuit only upon receipt by the key of a proper interrogation code. Such a technique is illustrated in FIG. 2 which shows afirst memory 34 coupled to acomparator 36 which, in turn, is coupled to asecond memory 38. Each of thememories 34 and 38 are typically integrated circuit shift registers as described above. Thememory 34 contains a predetermined code word which is compared incomparator 36 with an enable code which can be provided by the lock circuit. Upon detection bycomparator 36 of correspondence between the enable code and the code stored inmemory 34, a read command is provided tomemory 38 to cause readout of a different code stored inmemory 38. The code word frommemory 38 is operative to actuate the lock after correspondence is established between this code and the master code stored in the lock circuit, as described above.
Upon interrogation of the key by an enable code which does not compare with the preprogrammed data inmemory 34,comparator 36 can provide an alarm signal to the associated lock circuit. An alarm indication can also be provided, as above, upon non-identity between the master code in the lock and the code frommemory 38. The technique of FIG. 2 thus affords a dual encoding arrangement which is of a higher order of security' than the coding arrangement of FIG. 1. Additional levels of coding can also be readily provided according to the principles of this invention since small, low power digital circuitry can achieve the key function.
An alternative embodiment of the key circuitry of FIG. 2 is depicted in FIG. 2A wherein the key contains amemory 35 operative to receive the enable code and to convey this code to acomparator 37 which also receives a key code stored inmemory 39. The output ofcomparator 37 is connected to anencoder 41, the output of which serves as the key output signal. Upon re ceipt of anenable code which is of requisite identity to the key code, the comparator. 37 provides a signal to encoder 41 which, in turn, provides a coded output signal for application to the associated lock or other utilization means. The signal fromcomparator 37 can itself be the key output; however, in this latter instance the security of the system is diminished as the noncoded comparator output signal may be wrongfully duplicated.
In addition to storage in the keyof a key identification code for gaining access to the associated lock, the key can also contain additional data representing the identity of the particular key, an account number or the like. The system disclosed in FIG. 1 can be modified as indicated in FIG. 3 to accommodate such additional data. Referring to FIG. 3, data from a key is composed of a first word representing the key code and a second word representing other data such as a key number. This data is applied from the key to a pair of memory stages. The key code word is stored in memory A while the other identification code is stored in 20B. The key code is compared with the master code incomparator 22 in the same manner as described hereinabove.
The output of the comparator is applied to one input of an ANDgate 23. The output of memory 203 is applied to adecoder 25, the output of which is applied to the second input of ANDgate 23. The code processing cycle is governed by a counter 21 operative in response to clock signals fromclock 28, the counter providing a timing sequence sufficient for loading data from the key into memories 20A and 20B. Upon identification of the key code incomparator 22, an output signal is provided by ANDgate 23 for actuation of the lock. Failure to detect a proper key code will prevent a lock actuation output. In the embodiment of FIG. 3 failure to detect a proper code in memory 208 will also prevent lock actuation. It is evident that an output signal fromdecoder 25 representative of the additional identity code stored in the key can be employed to record such key identity, for example to denote the time that a particular key was employed with the associated lock.
The key can also be coded for use with a master key system in which one or more tiers of master keying can operate associated classes of locks, while non-master keys can operate only specific associated locks. Referring to FIG. 4, there is shown, in typical embodiment, lock circuitry operative to decode two or more individual codes contained within different key data memories. A data memory, such as ashift register 43, receives a key code from an associated key and has a first group of outputs from selected bit positions ofmemory 43 connected to a decoder 45, and a second group of outputs from selected bit positions connected to asecond decoder 47. Other decoders can be similarly connected to predetermined bit positions ofmemory 43 depending upon the levels of master coding desired. The output of eachdecoder 45 and 47 is coupled tologic circuitry 49, the output of which is the lock output signal.
In operation, the detection of a predetermined code in the bit positions associated with decoder 45 causes the decoder to provide an output signal tologic 49 which, in turn, produces an output signal for lock actuation or other utilization purposes. Similarly, detection of a code in the bit positions associated withdecoder 47 causes this decoder to provide an output signal tologic 49 for production of the output signal. It will thus be appreciated that keys containing either code will cause production of the output signal. Such multiple key codes, each decodable by the lock circuitry, can be employed in various master lock systems in which different classes of locks can be actuated by different classes of keys, or more generally, various levels of security provided by the different levels of key coding. As a further alternative, thelogic 49 can also be implemented to provide respective output signals in response to respective signals from each decoder to thereby indicate which key code has been detected.
A more particular embodiment of the invention is illustrated in FIG. 5. The key includes and has disposed therein ashift register 40 typically of the monolithic integrated circuit type and capable of storing a predetermined number of data bits which comprise a key code.Register 40 is powered by asuitable battery 42 which is also of small physical size to fit within a key element. Data fromshift register 40 is communicative with the lock circuit by way of adata gate 44 operative to recirculate data back intoshift register 40 to retain the same key code, or to loadregister 40 with new data to provide a new key code, as will be described.
Data from register 40' is applied to adigital comparator 46 which also receives information from amaster code register 48.Register 48 contains a master code word as provided by amaster code selector 50, which is used for comparison with the key code contained in theshift register 40. System timing is governed by aclockk 52 which is started upon receipt of a start signal from akey insertion detector 32, such as described above.Detector 32 also energizes key clamp 33 which captures the key in the lock during the identification cycle. A clock provides two output signals, labeled respectively 4:1 and qb2, which are clock pulses recurring at the same clock rate but shifted in phase one from the other by a predetermined amount, typicallly The 7 clock pulses qbl are advanced in phase from the clock pulses ($2 and are employed to control data bit transitions, while the delayed clock pulses (#2 are employed to control bit comparisons. Thus, it will be appreciated that bit comparisons are accomplished atthe midpoint of a bit interval to assure that such comparisons are performed after transients which may occur during bit transitions.
The clock pulses (1)] are applied to register 48 and also to acounter 54 operative to count the number of bits shifted out ofregister 48. By means of acounter decoder 56, the last bit shifted out ofregister 48 is recognized to denote the end of the code comparison process. Thekey insertion detector 32 is operative to clamp the key in the lock to prevent its premature removal prior to completion of the decoding process. De-
tector 32 also provides a signal to flip-flop 58 to set the provide a first output, say zero, if the bit from the key register is identical to the bit fromvthe master register, and to provide a second output, say one, if, there is not correspondence between the received data bits. The output ofcomparator 46 is couopled to an ANDgate 60 which also receives the clock pulses 4:2, the output ofgate 60 being applied to the reset input of flip-flop 58. The output of flip-flop 58 is coupled to one input of an ANDgate 62, the other input of which is the output signal fromcounter decoder 56 for enablinggate 62. I
Upon correspondence between a data bit fromkey register 40 and a data bit frommaster register 48, ANDgate 60 will remain disabled and no reset signal willbe applied to flip-flop 58. Thus, flip-flop 58 remains in its set state so long as there is identity between the key code and the master code providing an output signal togate 62. Upon detection of the last bit of the master code bydecoder 56, an output signal is provided for lock actuation. The signal from decoder56 is also employed to release key clamp 33 to permit removal of the-key from the lock. The output signal fromgate 62 is the system output signal for activating the associated lock or other utilization means upon detection of a proper key code.
If, during omparison of any bit of the key code, a lack of identity is found between this bit and the associated bit of the master code inregister 48, the output signal fromcomparator 46 will cause enabling of ANDgate 60 and consequent resetting of flip-flop 58 which causes removal of the flip-flop output signal togate 62. No actuation signal can be provided by reason of the disabling ofgate 62. An output signal fromgate 60 is provided only upon detection of an error between a bit of the key code and a corresponding bit of the master code, and this output signal is also employed to activate analarm circuit 64 to indicate detection of an erroneous key code. Upon sensing of an alarm condition, a stop signal can be generated byalarm circuitry 64 to stopclock 52 and discontinue the decoding process and to prevent the release of the key clamped in the lock by clamp 33.
In one mode of operation, the master code stored inregister 48 is recirculated back into this register so that the code is available for subsequent data comparison.
Similarly, the code inshift register 40 is recirculated therein by means ofdata gate 44 so that the same key code can later be employed. To furtherenhance the security of the novel lock system, however, the invention is also operative inv another mode wherein the code residing inshift register 40 andmaster code 48 is replaced with a new code. Such new code can be replaced on a regular basis or from time to time depending on particular security requirements.
To employ such a new code, the output signal ofgate 62 provided upon correspondence between the key code and the master code, is applied via aswitch 63 to set a flip-flop 66, one output of which is employed to energize atiming circuit 67 which, in turn, provides a start signal toclock 52. The other output of flip-flop 66 is applied to an ANDgate 68 which also receives clock signals (1)1. The output ofgate 68 is applied to the clock input of anew code register 70 which has stored therein a new data code provided by anew code selector 72. The output ofnew code register 70 is applied todata gate 44 for coupling of such new data intokey shift register 40. The new data'is also applied to themaster code register 48 for use in a subsequent data comparison. In this latter mode of operation,clock 52 is enabled foronly a sufficient period of time determined by timingcircuit 67 to permit shifting of the new code data into thekey shift register 40 and to prevent reinstitution of the digital comparison process until the key is again inserted into the lock at a subsequent time.
Thenew code selector 72 can be implemented in several different ways and can include a binary word generator which is manually actuable, such as by anarray of switches, or automatically actuable for example by means of a computer. By use of a digital computer, a new key code can be provided from a random number sequence generated by the computer such that the code is readily identifiable only in computer memory and need not be known to operating personnel in order to alter the key code. The master code can be updated immediately after completion of a particular decoding process or, alternatively, can be updated on a periodic basisrFor example, in some circumstances it is desirable to reprogram the key code immediately after use of the key and to reprogram the master code on a daily basis to permit use of the key only once per day.
Rather than employing a separate clock signal for conveying data in the present system, a self clocking code can be employed which is advantageous in eliminating the need for a separate clock line and associated terminals. Key circuitry operative in a self clocking mode with associated lock circuitry is depicted in FIG. 6. Adata memory 51 is employed to store a predetermined code and has an output coupled via an ANDgate 53 to anencoder 55 which also receives clock signals from aclock 57 within the key. The encoder is, for example, a Manchester encoder for providing a self clocking output signal for conveyance to the associated lock circuitry. Thekey clock 57 also provides clock signals tomemory 51 and to acounter 59 operative to provide a stop signal toclock 57 after a predetermined number of clock signals.
A self clocking data stream from the lock circuitry is received by aManchester decoder 61 operative to provide decoded data tomemory 63 as well as clock signals thereto.Memory 63 is operative to convey the data therein in parallel to acomparator 65 which also received parallel data from amemory 67 which stores a predetermined key code. Upon detection of an identical code contained inmemories 63 and 67,comparator 65 provides a trigger signal toclock 57 and also togate 53 as an enable signal therefor.
The trigger signal initiates a clock cycle to enable the shifting out of the code inmemory 51 which is conveyed viagate 53 to theencoder 55 for conversion to a self clocking format for transfer to the lock circuitry.Gate 53 is enabled by the triggersignal form comparator 65 for a sufficient period of time to permit transfer of data frommemory 51. The clock cycle is discontinued by a stop signal fromcounter 59. The data inmemory 51 remains in storage either by being recirculated therein or by use of a non-volatile memory in which data is not destroyed upon readout. It will be evident that the embodiment of FIG. 6 is similar to that of FIG. 3 wherein a double coding arrangement is employed within the key to enhance system security. The embodiment of FIG. 6 can also be employed with a separate clocking signal, in which case the Manchester encoder and decoder would not be necessary.
As described above, the circuitry of the key can typically be powered by a small battery source. Alternatively, it may sometimes be desirable to supplement the battery source or to entirely replace the battery source by power applied externally of the key. This can be accomplished as shown in FIG. 7 wherein the lock circuit is operative to electromagnetically convey power to the key circuitry. Thelock circuit 69 includes means for providing energy to the primary coil 71 of atransformer 99 for propagation of electromagnetic energy which is received by asecondary coil 73 which is part of the key and which has its respective ends coupled viarespective diodes 75 and 77 to aresistor 79, and thence to thekey logic circuitry 81. The center tap ofcoil 73 is also connected to a power input oflogic circuitry 81, and acapacitor 83 is connected across the power inputs thereto. A code signal input to thekey logic circuitry 81 is provided by an input line from the junction ofdiodes 75 and 77. Abattery 85 can also be connected across the power input leads as illustrated.
By the circuit of FIG. 7 both energizing power and signals are applied to the key. Typically, a pulse modu- 'lated carrier is employed to convey energy and information to the key, with power being detected by means of the rectifier and associated filter, and with the signal being separately coupled to the key logic. Various other modulation techniques, per se well known, can also be employed to provide energy and data to the key circuitry. Thebattery 85 is employed to provide power to the key data memory or memories to retain the information stored therein in the absence of connection to the lock circuit. If, however, non-volatile memories are employed, thebattery 85 is not required. Coupling of energizing power from the lock to the key circuit can also be otherwise accomplished, such as by photoelectric coupling.
The key can be implemented in a variety of mechanical configurations to suit particular operating requirements. The key can, for example, be ina form much like an ordinary mechanical key, as illustrated in FIG. 8. In this instance the key 80 is formed of a nonconductive material such as an epoxy and has the memory encapsulated therein. The battery, in the form of a small button cell, is contained within a battery compartment located in the handle portion of key 80, access thereto being provided by aremovable cover 84. Electrical connection is provided at the distal end of key by means of fourconductive bands 86 provided on the end thereof, each being of generally U-shaped configuration as illustrated.
The key is inserted within akeyway 88 of an associated lock, thecontact bands 86 being cooperative with anelectrical connector 87 disposed at the inner end of the keyway to provide connection between the key and the lock circuitry. Also disposed at the inner end of the keyway is a microswitch 90 which includes anactuation arm 92 disposed for actuation by the end of key 80 upon its insertion into the lock. The switch 90 is part of insertion detector 32 (FIG. 1) and is operative to provide a key insertion signal to the system clock for commncement of the key decoding process. Anotch 94 is provided in one side ofkey 80 and is cooperative with arod 94 associated withsolenoid 96 to prevent removal of the key during the decoding process. Thesolenoid 96 is typically energized by a signal fromkey insertion detector 32.
As described hereinabove, an alarm signal can be provided by the invention in the event that there is lack of comparison between the key code and the master code of the lock. Premature withdrawal of the key could also cause an alarm condition and to prevent such an occurrence, the key is clamped within the lock bysolenoid 96 until completion of the decoding cycle. The key can also be retained in the lock in the event that an erroneous code is detected to prevent its removal in such event. The key code can be arranged such that the first bit to be read out of the key is always at ground potential such that ground potential exists on allterminal contacts 86 when the key is not in use, to thereby prevent accidental shorting of the key which could destroy the stored data. The key terminals could alternatively be deactivated when the key is not in use by a suitable switch arrangement.
Electrical connection between the key and associated lock can also be provided by other than electrical contacts such as illustrated in FIG. 8. Electrical connection can also be made by noncontacting means such as inductive or photoelectric coupling. One such-noncontacting coupling is shown in FIG. 9 wherein thekey logic 87 has its data output connected to alight emitting diode 89 or other suitable light source, and its data input connected to aphotosensor 91. Thelock logic 93 similarly has its data input connected to a photosensor and its data output connected to a light source such as alight emitting diode 97.
In use, with the key inoperative association with the lock, thephotosensor 91 is in light receiving relationship with light emittingdiode 97, while thephotosensor 95 is in light receiving relationship with thelight emitting diode 89. The key code provided in the form of electrical pulses bylogic 87 is applied to light emittingdiode 89 which provides corresponding light pulses for receipt by photosensor 9.5 which, in turn, produces electrical pulses tologic 93 for decoding in the manner described above. Similarly, signals from thelock logic 93 are transduced photoelectrically betweenlight emitting diode 97 andphotosensor 91 for application tokey logic 87. The signals fromlogic 93 can be data applied to the key data memory for re-entering a new key code or can be an enabling signal for initiating the key decoding process depending upon the specific embodiment. In the event that a separate clock signal is employed, this clock signal can also be photoelectrically coupled from the lock to the key.
From the foregoing it will be evident that an electronic lock system has been provided which is both reliable and highly secure and which can be constructed in an efficient and commercially realistic manner. Various modifications and alternative implementations will occur to those versed in the art without departing from the spirit and true scope of the invention. For example, data can be conveyed between the key and the lock in a parallel rather than a serial manner, and various levels of coding can be provided to suit the desired level of security. The electronic circuitry and its mechanical housing can take a wide variety of forms adapted to specific installation requirements. Accordingly, it is not intended to limit the invention by what has been particularly shown and described, except as indicated in the appended claims.
What is claimed is:
1. An electronic lock system operative in response to more than one key code and comprising:
key means adapted for use with an associated lock means and having a multistage electronic data memory operative to store an electrically alterable multiple bit key code and means for conveying said key code serially from said electronic data memory to said lock means in response to a command signal;
lock means adapted for operation with said key means and including a multiple bit electronic data memory having at least two different predetermined groups of bit positions for storing respective key codes;
means for applying a key code from said key data memory to said lock data memory for storage therein;
a least first and second decoder means each having a plurality of inputs for receiving a respective key code defined by said different predetermined groups of bit positions and each operative to provide an output signal in response to receipt of said respective key code; and
logic means for receiving said output'signals and operative to provide a utilization signal in response thereto. 2. An electronic lock system according toclaim 1 wherein said lock data memory is a shift register having different predetermined groups of bit positions respectively coupled to the inputs of each of said decoder means.
3. An electronic lock system according toclaim 1 wherein said means for coupling said key code from said key data memory to said lock means includes;
means coupled to said key data memory for providing light signals representing said key code; and
means operative in response to said light signals for providing electrical signals representing said key code to said lock data memory.
4. An electronic lock system comprising:
key means adapted for use with an associated lock means and having an electronic data memory therein with a plurality of interconnected stages operative to store a multiple bit key code and means for coupling said key means to an associated lock means by which said key code can be conveyed serially from said electronic data memory in response to a command signal;
lock means adapted for operation with said key means and including receptacle means for said key means in operative association therewith;
an electronic data memory for storing a key code received from said key data memory;
at least two decoder means each having a plurality of inputs coupled to different predetermined bit positions of said lock data memory and each operative to provide an output signal in response to receipt of a respective code from said lock data memory represented by corresponding bit positions of said lock data memory; and
logic means operative in response to each of said output signals from said decoder means to provide a utilization signal.
5. An electronic lock system comprising:
a key adapted for use with an associated lock and including a first multistage electronic data memory each stage being operative to store a respective bit of a multiple bit key code;
a second multistage electronic data memory each stage. being operative to store a respective bit of a multiple bit received enable code;
comparator means coupled to said first and second data memories and operative to compare said key code with said enable code and to provide a command signal upon correspondence between said codes; and
encoder means operative in response to said com mand signal to provide a coded output signal;
a lock adapted for operation with said key and including an electronic data memory for storing a multiple bit master code;
means for receiving said coded output signal from said key;
means operative'to compare said coded output signal with said master code and to provide a signal indication upon receipt of a coded output signal from said key corresponding to said master code; and
logic means operative in responseto said signal indication to provide a utilization signal.
6. An electronic lock system according to claim 5 wherein said lock includes means for providing said enable code to said second data memory of said key.
7. For use in an electronic lock system wherein a lock includes a data memory for storing a master code and logic means for comparing said master code with a coded output signal received from a key and for providing an output indication upon correspondence between said master code and said key code, a key comprising:
a first multistage electronic data memory each stage being operative to store a respective bit of a multiple bit key code;
a second multistage electronic data memory each stage being operative to store a respective bit of a multiple bit received enable code;
comparator means coupled to said first and second electronic data memories and operative to compare said key code with said enable code and to provide a command signal upon correspondence between said codes; and
encoder means operative in response to said command signal to provide said coded output signal to said lock.
8. An electronic lock system comprising:
a key adapted for use with an associated lock and including decoder means operative to receive self-clocking data from said lock and to provide in response thereto a clock signal and a received data code; a first multistage electronic data memory operative in response to said clock signal to store said received data code therein; a second multistage electronic data memory operative to store a first key code; comparator means for receiving said first key code and said received data code and for providing a trigger signal upon correspondence therebetween; a third multistage electronic data memory operative to store a second key code; clock means operative in response to said trigger signal to provide a second clock signal to said third memory to cause readout of the second key code contained therein; and encoder means operative in response to data from said third data memory and to said second clock signal to provide a self-clocking output code to said lock; a lock adapted for operation with said key and including an electronic data memory for storing a master code;
means for receiving said output code from said key;
and
logic means operative to compare said output code with said master code and to provide an output signal indication upon correspondence between said output code and said master code.
9. An electronic lock system according to claim 8 wherein said third electronic data memory is operative to retain the code stored therein even after readout of said code.
10. An electronic lock system according to claim 8 wherein said clock means includes c'ounter means operative in response to said second clock signal to increment to a predetermined final count and to provide a stop signal to said clock means to discontinue said second clock signal after a predetermined number of counts. 11. An electronic lock system according to claim 10 including gate means for coupling the code contained in said third electronic data memory to said encoder means, said gate means being enabled by the trigger signal from said comparator means.
12. In an electronic lock system which includes a key circuit operative to store a key code, and a lock circuit operative to receive said key code and to provide an output signal upon receipt of a key code which corresponds with a master code stored in said lock circuit, means for energizing said key circuit including a transformer having a primary coil coupled to and physically associated with said lock circuit and a secondary coil coupled to and physically associated with said key circuit; and
rectifier means included in circuit between said secondary coil and the power inputs of said key circuit for application of energizing power to said key circuit.
13. The invention according to claim 12 including a battery connected to the power inputs of said key circuit and operative to provide power thereto in the absence of interconnection of said key circuit with said lock circuit.
14. The invention according to claim 12 wherein said rectifier means includes first and second diodes each connected between a respective end of said secondary coil and one power input of said key circuit; and
filter means connected between said diodes and the power inputs of said key circuit.
15. An electronic lock system comprising:
a key having a structural member adapted for coupling with an associated lock;
an electronic data memory within said structural member and having plural interconnected stages each operative to store a bit of a multiple bit key code; and
means operative to provide light signals representing said key code;
lock means adapted for operation with said key and including a receptacle for receiving the structural member of said key;
means operative in response to said light signals to provide corresponding electrical signals representing said key code; and
logic circuitry receiving said corresponding electrical signals and operative to compare said key code with a stored master code and to provide an output indication upon correspondence between said key code and master code.