ELECTRONIC LOCK SYSTEM

Abstract: A lock system comprising an electromechanical lock and code generator, and an electronic code lock, which is connected to a code transportation medium. The electronic lock and code generator is a system, where the code medium includes both a mechanical and an electrical code, which both must be present with the correct code before the code transport transmitter can be activated. The transmission of the code takes place within a short time interval and at an individual transmission rate, and a timed blocking is built-in in case of an incorrect optical code, and a circuit counteracting voltage manipulation is built-in. The code transportation medium is electrical or optical. The electronic code lock is a system, where the correct code must be received twice successively. A built-in timed blocking of the analysis of the code is activated if an incorrect code is received, or if the code has not been received at the correct transmission rate, and an electronic circuit counteracting voltage manipulation is built-in.

Description: Electronic lock system. The invention relates to a lock system of the type comprising a lock shell, a lock core, a key for inser¬ tion into the lock core, a number of locking pins installed in the lock shell and the lock core, and where the key shaft has a given mechanical key profile corresponding to the configuration of the locking pins and specific to the lock in question, -which lock system furthermore preferably includes an electro-optical arrangement for reading a code, where the said code is specific to the lock in question and its corresponding key. Lock systems of the type mentioned above are for instance known from US Patent 4.868.559. These lock systems are primarily intended for use in connection with the theft proofing of motor vehicles, but may in addition be utilized for instance for the protection of rooms and offices, to which unauthorized persons are not to be admitted, safe deposit boxes, and the like. With reference to the mentioned document, a flat key in combination with a light emitting diode and a photo diode for an analogue reading of the coded profile of the edge of the key are utilized. The light intensity received by the photo diode is in direct relation to the depth of the cuts in the key shaft, and the thus established analogue electrical signal reproduces the edge profile of the key shaft, when the key is inserted into the lock core. The electrical signal is then by wire sent from the lock shell to a circuit, which analyzes the signal, compares it to one or several reference signals in a memory bank, and determines whether the lock can be accepted as valid. A drawback of this technique is that an analogue reading is employed, where this reading may be encumbe- red by errors caused for instance by wear, dirt, electrical noise, etc. In addition, there is only a relatively limited number of possible combinations of peaks and troughs in the key profile, which among other things is due to the fact that the key profile is read by one light emitting diode / photo diode unit, while the key is in motion. The invention aims to remedy such drawbacks, and provides a lock system which gives a high degree of protection. In order to achieve this, a lock system according to the invention of the type mentioned above is charac¬ terized - in that the key is of the type comprising a key shaft with a key profile in the longitudinal direction of the key shaft, - in that the key shaft is designed with a number of holes, which, with respect to the longitudinal axis of the key shaft coinciding with the longitudinal axis of the lock core, extend substantially perpendicular to the direction of the longitudinal axis of the key shaft, - in that there in the lock shell, at one and the other side thereof, respectively, with respect to the lock core, is placed at least one light transmitter and one light receiver. - in that the lock core is designed with at least two light signal transmitting channels, one end of the said channels opening out into the longitudinal centre line of the key shaft, and - in that there in the lock shell, at one and the other side thereof, respectively, with respect to the lock core, is placed two light signal transmitting channels, which are positioned in such a manner as to transmit a light signal from the light transmitter to the light receiver for at least one given angular position of the lock core, where the core is turned by the key. The invention relies on the realization that the combination of a reading of a key profile of a station- ary key with the actual mechanical actuation (turning) of the lock core, by which the light signal for reading the code of the key is transmitted through the lock cylinder, provides the opportunity for an on-site determination of whether the key fits the lock and, whether it possesses the correct code. Further suitable embodiments of the lock system according to the invention are apparent in the dependent claims. The electromechanical lock system according to the invention is divided into three units: An electromechanical lock and code generator A code transportation medium An electronic code lock At the actuating site a unit is present, i.e. the electromechanical lock and the code generator, and from this site the user may actuate and release the lock system by means of an external, code medium, i.e. a coded key. The transportation medium serves the purpose of transporting the code from the electromechanical lock and code generator placed at the actuating site to the electronic code lock placed at the locking site. A unit, i.e. the electronic code lock, is present at the locking site or sites, such that the said electronic code lock receives the code at the locking site and analyzes this in order to determine its validity. The electronic code lock must be unbreakably built together with the electrical or mechanical parts adapted for the locking task. As regarding the elec¬ tronic code lock, see our utility model registration No. 9200069. The technique according to other patents, U. S . Patent 3, 619.633, U. S. Patent 4, 682.062, U. S. Patent 4, 751.396 and GB patent 2175646 A., suffers from a weakness, namely that a code generator in which the code at any time may be keyed or turned in is utilized, which in turn results in the fact that the code may be read (seen) while the technique is activated, or may be read when the keyboard is activated; that the code may be read while it is keyed in. It is only in the text of U. 5. Patent 4, 682.062 stated that this patent also may be provided with a device accommodating a key. However, all the mentioned patents utilize parallel code trans¬ mission, which firstly makes the installation difficult, and secondly makes it possible to open the transmission path, thus allowing for entry with an automatic code generator, by which the code may be found after a relatively short period of time with a subsequent release of the lock mechanism. Among other known techniques are remotely operated releases, known from central locking systems, operating with a modulated carrier frequency or some type of light as the trans¬ mission medium. These all have the very great drawback that it is possible with suitable equipment, from a distance, to read both the transmission type and the code. In the known versions it is not clear what effect a possible manipulation of the voltage will have on the circuits. In this invention an electromechanical lock system of the type mentioned above is provided, where: A system is provided in the electromechanical lock and code generator, where the code medium includes both a mechanical and an optical code, and where the optical code reading of the code medium only can commence if the mechanical code of the code medium is correct. The transmission of the code can only begin if the optical code of the code medium during reading and analysis shows correctness in two successive analyses are. The transmission of the code is carried out within predetermined short time intervals only, and at a predetermined transmission rate. A predetermined timed blocking is provided if the optical code is incorrect. A circuit counteracting voltage manipulations is built-in. For the code transportation medium, an opening of the code transportation medium will not allow for an automatic search for the code, since the transmission rate is unknown and not possible to measure. In the electronic code lock a system is provided, resulting in that the correct code must be received twice successively, and in that a built-in timed blocking is activated if an incorrect code is received or if the code is received at an incorrect transmission rate. Furthermore, a blocking is provided, where the said blocking only allows for reception of the code within a predetermined short time interval after startup, in addition to there being installed a circuit counteracting voltage manipulation. This is according to the invention achieved by an electromechanical lock system of the type mentioned above, where In the electromechanical lock and code generator, besides having designed this as a traditional cylindrical lock core with locking pins actuated by the coded edge of the code medium, one has, when the lock core is turned, the opportunity for reading the second code of the code medium, where the said second code is an optical code. This code is analyzed twice successively by the code generator in order to determine its correctness, and in order to subsequently obtain permission to begin a time limited transmission of the code with an individually predeter¬ mined transmission rate, or in the contrary case, to activate a timed blocking before an attempt using another code medium can take place. In addition, a circuit counteracting voltage manipulation is built into the electromechanical lock and code generator. In the code transportation medium safety against breakage is achieved by only sending serial codes, and by only performing the transmission of the code within a very short time interval, and only if the correct optical code medium is present in the electromechanical lock and code generator, which results in the fact that the transmission rate only can be measured if one already possesses the correct code medium. In the electronic code lock safety is achieved in that the said electronic code lock only accepts serial electrical or serial optical signals at a transmission rate, which is very accurately adapted for the lock in question, in that a blocking is provided, where the said blocking only permits reception of codes within a predetermined short time interval after startup. The code must be received correctly twice successively, in order to avoid the activation of a built-in timed blocking circuit. In addition, a circuit counteracting voltage manipulation is built into the electronic code lock. When the code medium is inserted into the lock core, the locking pins will be raised by the mechanical¬ ly coded edge of the code medium in such a manner as to release the lock core, such that it may be turned. When the lock core is turned a number of degrees away from the initial position, the light transmitting channels built into the lock shell are opened, the said light transmitting channels thus allowing for trans-illumina¬ tion and a reading of the optical code of the code medium. This code is then, in the electronics, compared to a permanently -tored code in order to determine its correctness, and will, in the case of conformity between these, cause the transmission of the code to be .-'n within a predetermined short time interval and a. transmission rate, which is individually adapted for ; lock in question. If the opt-' ~al code is incorrect, a timed blocking of the readirr of the optical code is activated. A security circuit counteracting voltage manipulation is in addition built into the electromechanical lock and code generator, where the said security circuit protects the electronics against damage and failure, while it in extreme instances will disconnect the power supply line. When the electronic code lock receives the serial code from the code transportation medium, the said serial code will, following amplification, be converted to a parallel signal. This signal, which contains the received code, is now compared - presupposing that the transmission rate is correct - to a permanently stored code, and will in the case of conformity between the two codes send a signal to an RS Flip-Flop circuit. This circuit will now activate an optical driver, which in turn activates the power output and thus releases the lock mechanism built together with this circuit. In the case of nonconformity between the received code and the permanently stored code, a timed blocking of the electronics performing the analysis is carried out. In the electronic code lock there is also provided a circuit, which only opens up for the reception of the code within a predetermined short time interval after startup. In addition, a reset circuit is built into the electronic code lock, the said circuit ensuring that the circuit for comparison of the codes always will begin with the code analysis circuit being 'ready for code reception' . A security circuit is furthermore built into the code lock, where the said security circuit counter¬ acts voltage manipulation, thus protecting the elec¬ tronics against damage and failure, while it in extreme instances will disconnect the power supply line. A particular thing, which forms a basis for the high degree of security obtained by this lock system, is that the mechanical part of the electromechanical lock and code generator is designed with two functions, where the first function is a conventional lock core with a coded edge release, and where this function must be performed before the second function can begin. The second function comprises a reading of the optical code, and requires that the lock core is turned a number of degrees, thereby opening the optical channels required for illumination and reading of the code medium. A second particular thing, which forms a basis for the high degree of security obtained with this lock system, is that the code transmitter in the electromechanical lock and code generator only can be activated if both codes contained by the code medium are correct. A third particular thing, which forms a basis for the high degree of security obtained with this lock system, is that the optical code of the code medium inserted into the electromechanical lock and code generator is analyzed twice successively in order to determine its correctness. This avoids that the possible occurrence of a noise pulse may cause an erroneous reading. A fourth particular thing, which forms a basis for the high degree of security obtained with this lock system, is that the code transmitter built into the electromechanical lock and code generator transmits at a transmission rate, which is individually adapted for the lock in question. A fifth particular thing, which forms a basis for the high degree of security obtained with this system, is that the code transmitter built into the electromechanical lock and code generator only is activated in order to transmit the code within a predetermined short time interval, in order to thereby avoid a measurement of the transmission rate. A sixth particular thing, which forms a basis for the high degree of security obtained with this system, is that if the electronics built into the electromechanical lock and code generator receives incorrect codes from the code medium, then a timed blocking of the circuit in which the code analysis takes place is activated, where the said blocking takes place in such a manner that a systematic breaking of the code within a relatively short period of time is impossible. A seventh particular thing, which forms a basis for the high degree of security obtained with this system, is that an optocoupling circuit is provided in the electromechanical lock and code generator with electri¬ cal output to the code transportation medium, where the said optocoupling circuit provides a galvanic separation of the electronics in the code generator from the code transportation medium. This results in the fact that the built-in electronics cannot be affected through the code output. An eighth particular thing, which forms a basis for the high degree of security obtained with this system, is that a protection circuit is inserted in the power supply line in the electromechanical lock and code generator, where the said protection circuit, when the supply voltage rises above or falls below specified limiting values, protects in such a manner as to not only protect against damage, but also against failure, and in extreme instances will react by disconnecting the power supply line. A ninth particular thing, which forms a basis for the high degree of security obtained with this system, is that the code analysis circuit built into the electronic code lock must receive the code at a trans¬ mission rate, which is individually adapted to the lock in question. A tenth particular thing, which forms a basis for the high degree of security obtained with this system, is that a blocking of the code input is built into the electronic code lock, resulting in the fact that the input only is open within a predetermined short time interval after startup. An eleventh particular thing, which forms a basis for the high degree of security obtained with this system, is that when the input to the electronic code lock is designed for reception of electrical signals from the code transportation medium, an optocoupling circuit is inserted in order to galvanically separate the electronics built into the electronic code lock from the code transportation medium. As a result, the built- in electronics cannot be affected through the code input. A twelfth particular thing, which forms a basis for the high degree of security obtained with this syp- ^m, is that the electronic code lock must receive and analyze two successively received codes for correctness before a validation. This avoids that the possible occurrence of a noise pulse may cause an erroneous reading. A thirteenth particular thing, which forms a basis for the high degree of security obtained with this system, is that the electronic code lock must receive and analyze two successively received codes, and that if just one of these proves to be incorrect, a timed blocking of the circuit in which the analysis is performed will be carried out. As a result, a systematic breaking of the code within a relatively short period of time is impossible. An fourteenth particular thing, which forms a basis for the high degree of security obtained with this system, is that a protection circuit is inserted in the power supply line in the electronic code lock, where the said protection circuit, when the supply voltage rises above or falls below specified limiting values, protects in such a manner as to not only protect against damage, but also against failure, while it in extreme instances will react by disconnecting the power supply line. The invention will in the following be described in more detail with reference to the drawing, where Figure 1 shows an overall view of the electromechanical code lock and code generator, the code transportation medium, and the electronic code lock. Figure 2 shows a sectional view along the line A-A in the electromechanical lock and code generator. Figure 3 shows a sectional view along the line B-B in the electromechanical lock and code generator. Figure 4 shows a sectional view along the line B-B in the electromechanical lock and code generator. Figure 5 shows a 1.5 times enlarged view of the locking pins utilized in the electromechanical lock and code generator. Figure 6 shows the block diagram of the electronics with the serial optical output utilized in the electromechanical lock and code generator. Figure 7 shows a block diagram of the electronics with the serial electrical output utilized in the electromechanical lock and code generator. Figure 8 shows a block diagram of the electronics with the serial optical input utilized in the electronic code lock. Figure 9 shows a block diagram of the electronics with the serial electrical input utilized in the electronic code lock. Item 1 shows the lock shell itself with bores for the lock core, item 2, the locking pins, item 4, and the light channels, item 10 and item 10a. In addition, two grooves for the lock rings, item 15, are turned at both ends of the hole bored for the lock core. Into the two sides of the lock shell, item 1, two recesses are milled out in order to accommodate the printed electronic circuit boards, item 7 and item 8, belonging to the system. Item 2 shows the lock core, wherein there is milled out a slot for the code medium, item 3, holes for locking pins, item 4, milled out light channels 9 and 9a, and turned grooves for the lock rings, item 15. In addition, an opportunity for making an optional external extension, item 6 (shown by the dashed line), is provided in the lock shell at the end opposite to the lock medium. Item 3 shows the code medium with varying milled out grooves in the If thwise direction, these being adapted to the particu_ar lock, and with a coded edge for actuating the locking pins, item 4, and with traversing holes, item 11, for optical reading. Item 4 shows the locking pins, where these are installed in the lock shell. In addition, Figure 5 shows the two types of locking pins, one of which is shown in item 4a, where the lower section is short and the upper section long, while the other is shown in item 4b, where the lower section is long and the upper section short. The general function of the mechanical part of the electromechanical lock and code generator is such that when the code medium, item 3, is inserted fully into the lock core, item 2, the coded edge, item 14, of the said medium will raise the locking pins, item 4, in such a manner - presupposing that the code medium is correct - that the planes dividing the locking pins between an upper and a lower section will be aligned within the transition zone between the lock core, item 2, and the lock shell, item 1, thus releasing the lock core, item 2, which subsequently may be turned. When the lock core, item 2, is turned a number of degrees clockwise, there will be opened for the transmission of light from the light transmitters, item 12, through the light channels, item 10, of the lock shell, and into the light channels, item 9, of the lock core, after which the light at the centre of the lock core will strike the code medium, item 3. The code medium, item 3, will by way of its optical code (holes), item 11, allow the light in some of the light channels to pass into the light channels, item 9a, of the lock core, item 2, and then continue through to the opposite light channels, item 10a, of the lock shell, in order to be picked up here by the photocells, item 13, of the electronics. In the instance that no code medium is present in the lock core, item 2, the locking pins, item 4, will be pressed down towards their contact faces in the lock core, item 2, and their dividing planes will be positioned at a certain distance downwards into the lock core, item 2, and as a consequence the upper section of the locking pins, item 4, will be placed in the transition zone between the lock core, item 2, and the lock shell, item 1, thus preventing the lock core, item 2, from being turned. In the instance of an incorrect code medium, item 3, it will not be possible to align all of the dividing planes of the locking pins in the transition zone between the lock core, item 2, and the lock "hell, item 1, and a turning of the lock core, item 2, .1 thus be impossible. Figure 6 shows a block diagram of the electrical circuit for the electromechanical lock and code gener¬ ator, with a serial optical output. In addition, please refer to the items in Figures 2, 3, and 4. At the instant when the code medium, item 3, is inserted into the lock core, item 2, in Figures 3 and 4, and the said core is turned clockwise away from the locked position, the supply voltage is connected to the electronics built into the electromechanical lock and code generator, and the following cycle of operations is carried out: When the lock core is turned, and current is supplied to the electronic circuit, the timer circuit in Block 11 is activated, and an activation signal is sent to the input 3 of the AND circuit, Block 6; this activation signal only being present until the timing cycle of the timing circuit, Block 11, has been run through, after which the AND circuit, Block 6, again will be blocked, until the current supply has been disconnected. In Block 1, which contains the printed electronic circuit board shown as item 8 in Figures 2 and 4, the twelve light transmitters shown here, item 12, will transmit light through the light channel of the lock shell, item 10 in Figure 3, to and through the light channel of the lock core, item 9 in Figure 3 (assuming that the lock core, item 2 in Figures 2 and 3, is turned to its proper position, i.e. that it is turned a number of degrees in the clockwise direction), and further towards the light apertures, item 11, of the code medium. If the code medium, item 3 in Figures 2 and 3, presents a light aperture, item 11, the light will continue through the light apertures, item 11, of the code medium, through the opposite light aperture, item 9a in Figure 3, of the lock core, then through the opposite light channel, item 10a in Figure 3, of the lock shell, in order to finally be received by the photocells, Block 2, item 13, of the receiver (the photocells may be photo diodes or photo transistors) . In the electrical circuit Block 2, the light received by the photocells will be converted from optical signals to electrical signals, which now contain an electrical code based on the combination of holes, item 11, in the code medium. The code thus produced will then be passed to the parallel inputs of the integrated circuit, IC.l, Block 3. In IC.l, Block 3, the signal is converted to a serial electrical signal. This signal is then sent to two locations: firstly, to the input 1 of a three-input integrated AND circuit, Block 6, and secondly to the serial input of another integrated circuit IC.2, Block 4. In the latter circuit, the two codes, which have been received successively at the serial input, will be compared to the code sent from the ROM circuit, Block 5, to the parallel inputs of IC.2, and if there is conformity between these, an activation signal is sent from the output of IC.2, Block 4, to the input 2 of the AND circuit, Block 6. The AND circuit is thus opened, assuming that the activation signal from the timer circuit, Block 11, to input 3 of the AND circuit, Block 6, still is present, and thus the serial signal on input 1 is allowed to pass through the AND circuit, Block 6, in order to arrive at an optocoupled driver circuit, Block 7, continuing through to the power output, Block 8, of the code transmitter, where the said power output also functions as an electrical/optical converter, which then sends out the code on an optical code transportation medium at a predetermined tra n s¬ mission rate, and within a short time interval, which is predetermined by the timer circuit, Block 11. In the case of nonconformity between the received code at the serial input of IC.2, Block 4, and the code delivered from the ROM circuit, Block 5, to the parallel inputs of IC.2, Block 4, no activation signal will be sent to input 2 of the AND circuit, Block 6, and thus this remains closed. Simultaneously, a timer circuit built into IC.2, Block 4, is activated, whereby a blocking of the serial input of IC.2, Block 4, will be performed. The reset circuit, Block 9, makes sure that IC.2, Block 4, and IC.l, Block 3, always start with their outputs at a level, which does not activate the follow- ing circuits. The circuit of Block 10 stabilizes the supply voltage for the remainder of the circuits, and at the same times functions as a security circuit, which protects against voltage manipulation, and thus protects the electronics against damage and failure, while it in extreme instances will disconnect the power supply line. Figure 7 shows a block diagram of the electrical circuit for the electromechanical lock and code gener¬ ator, with a serial electrical output. Please refer to the items in Figures 2, 3, and 4. At the instant when the code medium, item 3, is inserted into the lock core, item 2 in Figures 3 and 4, and the said code medium is turned clockwise away from the locked position, the supply voltage is connected to the electronics built into the electromechanical lock and code generator, and the following cycle of oper¬ ations is carried out: When the lock core is turned, and current is supplied to the electronic circuit, the timer circuit of Block 11 is activated, and an activation signal is sent to input 3 of the AND circuit, Block 6, this activation signal only being present until the timing cycle of the timer circuit, Block 11, has been run through, after which the AND circuit, Block 6, again will be blocked, until the current supply has been disconnected. In Block 1, which contains the electronic printed circuit board shown as item 8 in Figures 3 and 4, the twelve light transmitters, item 12, shown here will transmit light through the light channel of the lock shell, item 10 in Figure 3, to and through the light channel of the lock core, item 9 in Figure 3 (assuming that the lock core, item 2 in Figures 2 and 3, is turned to its proper position, i.e. that it is turned a number of degrees in the clockwise direction), and further towards the light apertures, item 11, of the code medium. If the code medium, item 3 in Figures 2 and 3, presents a light aperture, item 11, the light will continue through the light apertures, item 11, of the code medium, through the opposite light aperture, item 9a in Figure 3, of the lock core, then through the opposite light channel, item 10a in Figure 3, of the lock shell, in order to finally be received by the photocells, Block 2, item 13, of the receiver (the photocells may be photo diodes or photo transistors). In the electrical circuit Block 2, the light received by the photocells will be converted from optical signals to electrical signals, which now contain an electrical code based on the combination of holes, item 11, in the code medium. The code thus produced will then be passed to the parallel inputs of the integrated circuit, IC.l, Block 3. In IC.l, Block 3, the signal is converted to a serial electrical signal. This signal is then sent to two locations: firstly, to the input 1 of a three-input integrated AND circuit, Block 6, and secondly to the serial input of another integrated circuit IC.2, Block 4. In the latter circuit, the two codes, which have been received successively at the serial input, will be compared to the code sent from the ROM circuit, Block 5, to the parallel inputs of IC.2, Block 4, and if there is conformity between these, an activation signal is sent from the output of IC.2, Block 4, to input 2 of the AND circuit, Block 6. The AND circuit is thus opened, assuming that the activation signal from the timer circuit, Block 11, is still present at input 3 of the AND circuit, Block 6, and thus the serial signal on input 1 is allowed to pass through the AND circuit, Block 6, and to an optocoupled driver circuit, Block 7, continuing through to the power output Block 8, of the code transmitter, where the said power output then sends out the code on an electrical code transportation medium at a predetermined transmission rate, and within a short time interval predetermined by the timer circuit, Block 11. In the case of nonconformity between the received code at the serial input of IC.2, Block 4, and the code delivered from the ROM circuit, Block 5, to the parallel inputs of IC.2, Block 4, no activation signal will be sent to the input 2 of the AND circuit, Block 6, and thus this remains closed. Simultaneously, a timer circuit built into IC.2, Block 4, is activated, whereby a blocking of the serial input of IC.2, Block 4, will be performed. The reset circuit, Block 9, makes sure that IC.2, Block 4, and IC.l, Block 3, always start with their outputs at a level that does not activate the following circuits. The circuit in Block 10 stabilizes the supply voltage for the remainder of the circuits, and at the same times functions as a security circuit, which protects against voltage manipulation, and thus protects the electronics against damage and failure, while it in extreme instances will disconnect the power supply line. Figure 8 shows a block diagram of the electrical circuit in the electronic code lock with a serial optical input. When current is supplied to the elec- tronic circuit, the timer circuit of Block 10 is activated, and an activation signal is sent to Block 1 of the input circuit, this circuit will then open the optical input, which now will be active until the timer circuit, Block 10, has carried out its timing cycle. The input will then remain closed until the current supply has been disconnected. When the serial code arrives at the receiver, Block 1, of the electronic code lock, a conversion from an optical to a serial electrical signal is firstly performed, after which the signal proceeds to Block 2, which is a serial electrical amplifier ensuring that the signal is amplified to a 5 volt digital signal level. Following amplification, the signal will be lead to the serial input of IC.l, Block 5, where the decisive analysis of the code contained in the signal takes place. The first prerequisite for processing is that the code is presented at the correct transmission rate. If the transmission rate is correct, two successive codes will be analyzed by comparing them to a code permanently stored in the ROM circuit (read only memory) built into Block 4. If both codes are correct, then IC.l, Block 5, will by way of its output activate the RS Flip-Flop circuit installed in Block 6. This circuit will then 5 activate the optocoupler driver in Block 7, which in turn activates the power output in Block 8. In the case of nonconformity between the code received at the serial input of IC.l, Block 5, and the code stored in the ROM circuit, Block 4, a timed 10 blocking of the serial input of IC.l, Block 5, will be activated, and only after the blocking time has expired will the serial input of IC.l be reopened. The electronic code lock is in addition, in Block 3, provided with a reset circuit, which at startup 1.5 ensures that IC.l in Block 5 is readied for reception of codes from the input, and that the RS Flip-Flop circuit in Block 6 is placed in the 'inactivated state' . The circuit in Block 9 stabilizes the supply voltage for the remainder of the circuits, and at the 20 same times functions as a security circuit, which protects against voltage manipulation, and thus protects the electronics against damage and failure, while it in extreme instances will disconnect the power supply line. Figure 9 shows a block diagram of the electrical 25 circuit in the electronic code lock with a serial electrical input. When current is supplied to the electronic circuit, the timer circuit of Block 10 is activated, and an activation signal is sent to Block 1 of the input circuit , this circuit will then open the 30 electrical input, which now will be active until the timer circuit, Block 10, has carried out its timing cycle. The input will then remain closed until the current supply has been disconnected. When the serial code arrives at the receiver, Block 1, of the electronic code lock, the signal will firstly pass through an optocoupling circuit, after which the signal proceeds to Block 2, which is a serial electrical amplifier ensuring that the signal is amplified to a 5 volt digital signal level. Following amplification the signal will be lead to the serial input of IC.l, Block 5, where the decisive analysis of the code contained in the signal takes place. The first prerequisite for processing is, that the code is presented at the correct transmission rate. If the transmission rate is correct, two successive codes will be analyzed by comparing them to a code permanently stored in the ROM circuit (read only memory) built into Block 4. If both codes are correct, then IC.l, Block 5, will by way of its output activate the RS Flip-Flop circuit installed in Block 6. This circuit will then activate the optocoupler driver in Block 7, which in turn activates the power output in Block 8. In the case of nonconformity between the code received by the serial input of IC.l, Block 5, and the code stored in the ROM circuit, Block 4, a timed blocking of the serial input of IC.l, Block 5, will be activated, and only after the blocking time has expired will the serial input of IC.l be reopened. The electronic code lock is in addition in Block 3 provided with a reset circuit, which at startup ensures that IC.l in Block 5 is readied for reception of codes from the input, and that the RS Flip-Flop circuit in Block 6 is placed in the 'inactivated state' . The circuit in Block 9 stabilizes the supply voltage for the remainder of the circuits, and at the same times functions as a security circuit, which protects against voltage manipulation, and thus protects the electronics against damage and failure, while it in extreme instances will disconnect the power supply line.

Claims: CLAIMS 1. A lock system of the type comprising a lock with a lock shell (1), a lock core (2), a key (3) for insertion into the lock core, a number of locking pins (4) installed in the lock shell (1) and the lock core (2) , and where the key shaft has a given mechanical key profile, which corresponds to the configuration of the locking pins and is specific to the lock in question, which lock system in addition comprises a preferably electro-optical arrangement for reading a code specific to the lock in question and its corresponding key, characterized - in that the key (3) is of the type comprising a key shaft with a key profile (14) in the longitudinal direction of the key shaft, - in that the key shaft is designed with a number of holes (11), which, with respect to the longitudinal axis of the key shaft coinciding with the longitudinal axis of the lock core (2), extend substantially perpendicular to the direction of the longitudinal axis of the key shaft, - in that there in the lock shell (1), at one and the other side thereof, respectively, with respect to the lock core (2), is at least one light transmitter (12) and at least one light receiver (13), - in that the lock core (2) is designed with at least two light signal transmitting channels (9, 9a), one end of the said channels opening out into the longitudinal centre line of the key shaft, and - in that there in the lock shell (1 ), at one and the other side thereof, respectively, with respect to the lock core (2), are two light signal transmitting channels (10 and 10a, respectively), which are placed in such a manner as to transmit a light signal from the light transmitter (12) to the light receiver (13) for at least on given angular position of the lock core (2) , where the said core is turned by the key. 2. A lock system according to claim 1, character¬ ized in that the key (3) is of the type having a flat key shaft with a symmetrical key profile (14) along the edges of the key shaft, and in that the holes (11) are centrered at the longitudinal axis of the key shaft. 3. A lock system according to claim 1 or 2, characterized in that the light signal transmitting channels (9, 9a) of the lock core (2), as viewed from a plane perpendicular to the longitudinal axis of the core, each are shaped as a sector of a circle with its pointed end coinciding with the longitudinal axis of the lock core. 4. A lock system according to each of the preceding claims, characterized in that the electro-optical arrangement for reading the code created by the holes (11) in the key shaft comprises a printed circuit board ( 8) placed into one side of the lock shell (1 ) , where the said printed circuit board includes at least one light transmitter (12), while another printed circuit board (7) is placed into the other side of the lock shell with respect to the longitudinal axis of the lock core, where the said printed circuit board includes at least one light receiver (13) . 5. A lock system according to claim 4, character¬ ized in that the electro-optical arrangement comprises: - a first integrated circuit for conversion of the code signal received from the photo cells (13) from a parallel representation to a serial representation, - a ROM memory, wherein a code specific to the lock in question is stored, - a second integrated circuit for conversion of the specific code arising from the ROM memory from a parallel representation to a serial representation, and for comparing the serial code signal arising from the said first integrated circuit with the serial code signal produced by the second integrated circuit, - an AND gate with three inputs, of which one receives the serial code signal from the said first integrated circuit, and the second input receives a signal result- ing from the comparison, and the third input receives a time control signal from a transmission timer, and - a driver circuit connected to the output of the AND gate, the said driver circuit being connected to a power output stage, the output of which is connected to an electronic code lock device. 6. A lock system according to claim 5, character¬ ized in that the driver circuit and the power output stage are designed to provide the output signal to the code lock device in the form of a serial data signal. 7. A lock system according to claim 5, character¬ ized in that the driver circuit is constituted by an optocoupler for providing the code lock device with a serial signal of optical data. 8. A lock system according to each of the claims 5-7, characterized in that the electronic code lock device comprises: - a receiver circuit with a built-in optocoupler for reception of the arriving serial data signal, - an amplifier circuit for returning the data signal to the prescribed logic level, - a ROM memory, wherein a code specific to the lock in question is stored, - a third integrated circuit, which receives the serial code signal from the amplifier and converts the code signal arising from the ROM memory from a parallel representation to a serial representation, and in the case of conformity between the said serial code signal from the amplifier and the converted code from the ROM memory, activates a flip-flop, - that the output of the driver circuit is connected to an electrical power output stage, which produces an output signal when the lock is activated by a suitable key with a code specific to the lock in question.

Inventors: POULSEN ARNE KRISTIAN, THORSEN ANDERS CHRISTIAN, THORSEN JAN STEFAN, POULSEN, ARNE, KRISTIAN, THORSEN, ANDERS, CHRISTIAN, THORSEN, JAN, STEFAN
Applicants: POULSEN ARNE KRISTIAN, THORSEN ANDERS CHRISTIAN, THORSEN JAN STEFAN, POULSEN, ARNE, KRISTIAN, THORSEN, ANDERS, CHRISTIAN, THORSEN, JAN, STEFAN
Application year: 1993
Main classification: E05B49
IPC codes: E05B49