KR930005700B1 - Microcomputer controlled locking system - Google Patents
Microcomputer controlled locking system Download PDFInfo
- Publication number
- KR930005700B1 KR930005700B1 KR1019860700043A KR860700043A KR930005700B1 KR 930005700 B1 KR930005700 B1 KR 930005700B1 KR 1019860700043 A KR1019860700043 A KR 1019860700043A KR 860700043 A KR860700043 A KR 860700043A KR 930005700 B1 KR930005700 B1 KR 930005700B1
- Authority
- KR
- South Korea
- Prior art keywords
- key
- microcomputer
- code
- subroutine
- open
- Prior art date
Links
Images
Classifications
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B49/00—Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00896—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
- G07C9/00904—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for hotels, motels, office buildings or the like
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00658—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by passive electrical keys
- G07C9/00722—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by passive electrical keys with magnetic components, e.g. magnets, magnetic strips, metallic inserts
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
- Selective Calling Equipment (AREA)
- Steering Control In Accordance With Driving Conditions (AREA)
- Electronic Switches (AREA)
- Preparation Of Compounds By Using Micro-Organisms (AREA)
- Regulating Braking Force (AREA)
Abstract
Description
[발명의 명칭][Name of invention]
마이크로컴퓨터 제어 쇄정 시스템Microcomputer Control Locking System
[도면의 간단한 설명][Brief Description of Drawings]
제1도는 문에 설치된 본 발명을 구체화한 도어자물쇠의 사시도이고,1 is a perspective view of a door lock embodying the present invention installed on the door,
제2a도는 도어노브와 마이크로컴퓨터 제어 쇄정을 포함한 자물쇠 하우징의 일부 절단 측면도이며,2a is a partial cutaway side view of the lock housing including the door knob and microcomputer controlled lock,
제2b도는 쇄정 제어장치의 일부를 보여주는 배면도이며,Figure 2b is a rear view showing a part of the lock control device,
제2c도는 키이상의 대표적인 코드배치도이고,Figure 2c is a representative code layout of more than a key,
제3a도는 마이크로컴퓨터와 전자 제어회로도이며,3a is a microcomputer and an electronic control circuit diagram,
제3b 및 3c도는 마이크로컴퓨터부의 기능 블럭도이고,3b and 3c are functional block diagrams of a microcomputer unit,
제4 및 5, 6a 및 6b, 7 내지 14도는 본 발명의 제1실시예인 마이크로컴퓨터의 제어프로그램을 나타내는 플로우차트이며,4 and 5, 6a and 6b, 7 to 14 are flowcharts showing the control program of the microcomputer as the first embodiment of the present invention.
제15도는 본 발명의 제2실시예에 사용하기 위한 자기적으로 부호화된 키이의 개략 정면도이고,15 is a schematic front view of a magnetically encoded key for use in the second embodiment of the present invention,
제16도는 본 발명의 제2실시예에 대한 전자회로도이며,16 is an electronic circuit diagram according to a second embodiment of the present invention.
제17a, b 및 18 내지 21도는 본 발명의 제2실시예인 마이크로컴퓨터에 대한 부가적인 제어프로그램을 나타내는 플로우챠트이고,17a, b and 18 to 21 are flow charts showing an additional control program for a microcomputer as a second embodiment of the present invention;
제22도는 마이크로컴퓨터의 정확한 상세도이며,22 is an accurate view of the microcomputer,
제23도는 본 발명의 제3실시예에 대한 마이크로컴퓨터와 전자회로도이고,23 is a microcomputer and an electronic circuit diagram according to a third embodiment of the present invention.
제24도는 제3실시예의 등속 호출기억장치(RAM)부의 기능 블럭도이며,24 is a functional block diagram of a constant speed call memory (RAM) unit of the third embodiment;
제25a 및 b도는 새로운 키이를 유효화시키기 위한 링크코드 프로그램을 나타내는 플로우챠트이고,25a and b are flowcharts showing a link code program for validating a new key;
제26a, 26b, 27, 28a, 및 29도는 본 발명의 제3실시예에 있어서 키이기능에 대한 제어프로그램을 나타내는 플로우챠트이며,26A, 26B, 27, 28A, and 29 are flowcharts showing control programs for key functions in the third embodiment of the present invention;
제30a, b 및 c도는 제3실시예에 있어서, 자물쇠의 온-라인 재프로그램용 제어프로그램을 나타내는 플로우챠트이고,30A, 30B and 30C are flowcharts showing a control program for on-line reprogramming of a lock according to the third embodiment,
제31도는 문개방 기록용 시간 베이스를 제공하기 위한 실 시간 클록을 나타내는 플로우챠트이다.Fig. 31 is a flowchart showing a real time clock for providing a time base for door opening recording.
[발명의 상세한 설명]Detailed description of the invention
본 출원은 1984년 3월 28일자로 출원되어, 현재는 포기된 미국특허출원 제594,471호의 일부 계속(CIP) 출원인 1984년 8월 17일자로 출원된 미국특허출원 제641,792호의 CIP 출원이다.This application is a CIP application of US Patent Application No. 641,792, filed Mar. 28, 1984, filed Aug. 17, 1984, which is a part of CIP application of US Patent Application No. 594,471, now abandoned.
[발명의 분야][Field of Invention]
본 발명은 안전장치, 특히 문의 자물쇠 (door lock)로 사용하기에 특히 적합한 컴퓨터제어 쇄정 시스템에 관한 것 이다The present invention relates to a computer controlled lockout system particularly suitable for use as a safety device, in particular as a door lock.
[발명의 배경][Background of invention]
호텔, 사무실 빌딩 및 이와 유사한것 등의 다수의 객실에는 도어자물쇠가 필요하다. 예컨대, 호텔객실의 도어자물쇠는 계속되는 고객에 대해 상이한 키이(열쇠)를 가져야만 한다. 또한, 소정시간에 객실 도어자물쇠는 종업원, 지배인 및 호텔경영자와 같은 호텔 직원에게 할당된 상이한 키이에 의해 동작가능하여야만 한 다. 또한 안전 목적을 위하여, 각각의 자물쇠에 대한 키이는 쉽게 변경가능하여야만 한다.Many rooms, such as hotels, office buildings, and the like, require door locks. For example, door locks in hotel rooms must have different keys (keys) for subsequent customers. Also, at any given time the cabin door locks must be operable by different keys assigned to hotel employees such as employees, managers and hotel managers. Also for safety purposes, the key for each lock must be easily changeable.
종래에 있어서, 호텔등의 쇄정 시스템은 자물쇠 기구의 동작을 위해 전자 코드 응답논리회로를 이용한 것이 개발되어 왔다.Background Art In the past, lockout systems such as hotels have been developed that use electronic code response logic circuits for the operation of lock mechanisms.
1979년 12월 11일자로 아이딘에게 허여된 특허 제4,177,657호에는 키이에서 코드를 감지하고 그것을 메모리내에 기억된 코드와 비교하는 전자 쇄정 시스템이 기술되어 있다. 키이코드가 기억된 코드와 일치될때, 자물쇠는 클러치 작동보울트를 작동시키며, 또한 기억된 코드를 새로운 코드로 변경할 수도 있다. 아이딘의 특허는 자물쇠를 위한 마이크로컴퓨터 제어시스템을 기술하였다. 각각의 키이는 그곳에 기억된 제어코드, 제1키이코드 및 제2키이로드를 가지고 있다. RAM은 소정수의 할당된 키이코드를 기억하며, ROM은 마이크로컴퓨터의 제어를 위하여 그곳에 기억된 제어프로그램을 가지고 있다. 키이판독기(reader)는 마이크로컴퓨터와 결합되어 있으며, 마이크로컴퓨터내에 기억된 코드를 읽기 위하여 임의의 키이와 상호 작용하도록 되어 있다. 키이상의 제어코드에 따라서 상이한 억세스레벨에는 상이한 키이가 사용된다; 억세스케벨은 고객키이, 플로어 마스터, 섹션 마스터, 안전 마스터 등으로 지정되어 있다. 만약 코드의 일치가 이루어진 경우, 시스템은 중요한 두가지 기능, 즉 클러치가 문을 개방시키도록 하거나, 메모리내에 기억된 코드를 변경시키는 것을 수행한다. 더우기, 코드 변경을 가능케하는 개방을 금지하는 어떤 보조기능, 즉 단지 1회만 사용될 수 있는 특수 키이 및 이중키이 기능이 있다.Patent No. 4,177,657, issued to Aydin on December 11, 1979, describes an electronic lockout system that detects a code in a key and compares it with the code stored in memory. When the keycode matches the memorized code, the lock activates the clutch actuation bolt and can also change the memorized code to a new code. Aydin's patent describes a microcomputer control system for a lock. Each key has a control code, a first key code and a second key rod stored therein. The RAM stores a predetermined number of assigned key codes, and the ROM has a control program stored there for the control of the microcomputer. The key reader is coupled to the microcomputer and is adapted to interact with any key to read the code stored in the microcomputer. Different keys are used for different access levels depending on the control codes above the keys; Accessibility levels are assigned to customer keys, floor masters, section masters, and safety masters. If a code match is made, the system performs two important functions: let the clutch open the door, or change the code stored in memory. Furthermore, there are some auxiliary functions that prohibit opening to allow code changes, ie special key and double key functions that can only be used once.
삽세이의 특허 제3,821,704호에는 호텔등에 적합한 다중레벨의 마스터 키이를 갖는 전자 쇄정 시스템이 기술되어 있다. 각각의 쇄정기구는 변경가능한 2진 메모리를 가진 디코딩 회로에 의해 제어된다. 키이는 2개의 해독가능한 정보계, 즉 키이계(key field)와 허가계(authorization field)를 갖는다. 키이계가 디코딩 회로 메모리내에 기억된 조합과 일치할 경우 자물쇠는 열리게 된다. 만약, 알치하지 않을 경우는 허가계와 조합계가 비교되며, 만약 그들이 동일할 경우에는 키이계가 메모리에 기억되어 자물쇠가 열리게 된다.Sapsey Patent No. 3,821,704 describes an electronic lockout system having a multilevel master key suitable for hotels and the like. Each lock mechanism is controlled by a decoding circuit having a changeable binary memory. The key has two reversible information systems, a key field and an authorization field. If the key sequence matches the combination stored in the decoding circuit memory, the lock is opened. If not known, the permission system and the combination system are compared. If they are the same, the key system is stored in memory and the lock is opened.
디미트리아디스의 특허 제3,797,936호에는 광학엔코딩 키이를 갖는 전자 쇄정이 기술되어 있다. 키이상의 로드가 기억된 코드와 일치할 경우, 회로는 자물쇠를 개방시키는 기구를 작동시킨다. 애스틴의 특허 제4,396,914호에는 마이크로프로세서 제어 쇄정이 기술되어 있다. 이 시스템에서, 전자회로는 메모리의 내용과 조합코드를 비교하여 만약 일치할 경우에는 쇄정장치를 개방시킨다. 만약, 키이카드가 새로운 것일 경우, 회로는 새로운 조합코드를 계산하고, 만약 새로운 조합코드가 키이카드상의 것과 일치할 경우는 새로운 조합코드가 메모리에 부하된다.Dimitriadis patent 3,797,936 describes an electronic crystal with an optical encoding key. If the load over the key matches the stored code, the circuit activates the mechanism to open the lock. Asin patent 4,396,914 describes a microprocessor control decision. In this system, the electronic circuit compares the contents of the memory with the combination code and opens the locking device if there is a match. If the key card is new, the circuit calculates a new combination code, and if the new combination code matches that on the key card, the new combination code is loaded into the memory.
본 발명의 목적은 도어쇄정기구를 레어하는데 사용하기에 특히 적합하며 종래 기술의 단점들을 극복할 수 있는 개량된 안전장치를 제공하는데 있다.It is an object of the present invention to provide an improved safety device which is particularly suitable for use in rare door locking mechanisms and which can overcome the disadvantages of the prior art.
[발명의 요약][Summary of invention]
발명에 따르면, 높은 안전도를 제공하고, 사용 및 작동이 간단하며, 상이한 적용에 있어서 높은 융통성을 제공할뿐 아니라, 제조 및 설치비용이 경제적인 전자 쇄정 시스템이 제공된다. 본 발명의 쇄정 시스템은 다중레벨키이, 즉 쇄정 시스템에서 상이한 기능을 갖는 다중키이를 제공한다. 셋트 또는 라이브러리의 키이기능 프로그램은 각각의 쇄정 시스템에 설치될 수도 있다. 작동 셋트의 선택 키이 기능은 특별한 응용에 따른 쇄정 시스템에서 프로그램 가능하다. 상이하게 코드화된 키이가 각각의 키이기능을 위해 발행된다. 쇄정 시스템은 많은 상이한 경우에 사용될 수 있으며 특히 호텔 도어자물쇠에 적합하다.According to the invention, an electronic correction system is provided that provides high safety, is simple to use and operate, provides high flexibility in different applications, and is economical to manufacture and install. The lockout system of the present invention provides a multilevel key, that is, a multikey with different functions in the lockdown system. The key function program of a set or library may be installed in each lockout system. Selection keys of the operating set This function is programmable in the locking system according to the particular application. Differently coded keys are issued for each key function. Locking systems can be used in many different cases and are particularly suitable for hotel door locks.
본 발명의 쇄정 시스템은 마이크로컴퓨터의 제어하에 있는 자물쇠와, 마이크로컴퓨터와 결합되어 있는 키이판독기, 및 각각의 형태마다 쇄정 시스템 내에서 상이한 기능을 제공하는 상이한 형태인 다수의 코드키이로 구성된다. 읽기/쓰기 메모리는 그 내에 기억되는 소정수의 할당된 키이코드를 가지며, ROM은 마이크로컴퓨터의 프로그램 제어를 위하여 그 내에 기억된 제어프로그램을 갖는다. 쇄정 수단용 전기 작동기는 마이크로컴퓨터의 비잠금 출력과 결합된다. 제어프로그램은 주프로그램과 각각의 서브루틴이 ROM내의 상이한 위치에 기억된 다수의 서브루틴으로 이루어진다. 메모리중 어느 하나의 메모리에 기억된 기능테이블은 다수의 포인터를 갖는데, 각각의 포인터는 서브루틴중 하나의 서브루틴의 메모리 어드레스에 지시한다. 기능테이블내의 포인터의 수는 키이코드 메모리내의 위치수와 동일하다. 프로코램 제어하에 작동되는 디코딩 수단은 키이코드 메모리내의 선택된 위치 및 선택된 키이상의 제어코드에 대응하는 기능테이블을 지시한다. 마이크로컴퓨터는 주프로그램의 프로그램 제어하에 선택된 키이로 부터의 제1 및 제2키이코드와 상기 디코딩 수단에 의해 지시된 상기 키이코드 메모리내의 위치에 할당된 코드클 비교하도록 동작한다. 만약 일치할 경우에는, 마이크로컴퓨터는 기능테이블에 의해 지정된 메모리 어드레스에 있는 서브루틴의 제어에 따라 동작하므로, 쇄정 시스템은 선택된 키이의 기능에 따라서 작동된다.The lockout system of the present invention consists of a lock under the control of a microcomputer, a key reader coupled to the microcomputer, and a plurality of code keys of different forms, each providing a different function within the lockout system. The read / write memory has a predetermined number of assigned keycodes stored therein, and the ROM has a control program stored therein for program control of the microcomputer. The electrical actuator for the locking means is coupled with the unlocked output of the microcomputer. The control program consists of a main program and a number of subroutines in which each subroutine is stored at a different location in the ROM. The function table stored in any one of the memories has a plurality of pointers, each of which points to a memory address of one of the subroutines. The number of pointers in the function table is equal to the number of positions in the keycode memory. Decoding means operated under program control indicates a function table corresponding to a selected position in the keycode memory and a control code above the selected key. The microcomputer is operable to compare the first and second keycodes from the selected key under the program control of the main program with the codecs assigned to the positions in the keycode memory indicated by the decoding means. If there is a match, the microcomputer operates under the control of the subroutine at the memory address specified by the function table, so that the locking system operates according to the function of the selected key.
또한, 본 발명에 따르면, 마이크로컴퓨터는 개시프로그램의 제어에 따라 작동하여 상기 기능테이블를 설정하거나 프로그램시켜서 키이코드 메모리내에 그것에 대응하는 키이코드를 기억시킨다. 시스템은 요망된 키이 기능에 대응하는 포인터를 기능테이볼내의 각각의 위치에 할당시키기 위한 수단과, 개시프로그램의 페이즈-인(phase-in) 시퀀스에 따라 마이크로컴퓨터를 제어하기 위하여 그 위에 코드를 갖고 있는 개시 페이즈-인 키이로 구성되어, 마이크로컴퓨터는 연속적인 키이형태의 키이판독기로부터 입력을 받아들여 그곳에 있는 제어코드에 대응하는 키이코드 메모리내의 위치에 키이코드를 기억시킨다. 기능테이블에 한 형태의 포인터를 할당하는 수단은 개시프로그램내의 고장 루틴이다. 바꿔말하면, 기능테이블의 임의의 요망 프로그래밍은 기능테이블내의 각각의 상이한 위치에 기억될 포인터를 갖는 프로그래밍 키이를 사용하므로써 수행될 수 있다.Further, according to the present invention, the microcomputer operates under the control of the starting program to set or program the function table so as to store the corresponding keycode in the keycode memory. The system has means for assigning a pointer corresponding to the desired key function to each position in the function table, and a code thereon for controlling the microcomputer according to the phase-in sequence of the initiator. The microcomputer accepts input from a continuous key-type key reader and stores the keycode in a location in the keycode memory that corresponds to the control code therein. The means for assigning a pointer of one type to a function table is a fault routine in the starting program. In other words, any desired programming of the function table can be performed by using a programming key having a pointer to be stored at each different position in the function table.
또한, 본 발명에 따르면, 본 쇄정 시스템은 정규의 쇄정 볼트와 데드볼트(dead bolt) 형태인 쇄정수단을 갖는 종래의 장부구멍(motise) 쇄정장치로 사용될 수 있다. 또한, 이 쇄정 시스템에는 높은 안전도를 제공하기 위하여 콤퓨터내에 논리 데드볼트가 제공된다. 더우기, 마이크로컴퓨터는 쇄정수단이 작동되었는지, 예컨대, 정규 볼트가 노브의 회전에 의해 작동되었는지를 판정하기 위해서 쇄정 수단 검출기로 부터의 입력을 받아들인다.Further, according to the present invention, the present locking system can be used as a conventional moth locking device having locking means in the form of a regular locking bolt and a dead bolt. In addition, this locking system is provided with a logic deadbolt in the computer to provide a high degree of safety. Moreover, the microcomputer accepts an input from the locking means detector to determine whether the locking means have been activated, for example whether the normal bolt has been operated by the rotation of the knob.
또한, 마이크로컴퓨터는 실제데드볼트가 투여되었는지, 즉 잠김상태에 있는지를 판정하기 위하여 실제데드볼트 검출기로부터의 입력을 받아들인다. 또한, 마이크로컴퓨터는 로우(low) 밧테리 상태에 대한 적절한 경고를 나타내도록 밧테리 전압 센서로 부터듸 입력을 받아들인다. 이러한 입력들은 프로그램 제어하에서 마이크로컴퓨터에 의해 이용되어 상이한 기능에 해당하는 프로그램 서브루틴에 따라서 상이한 키이기능을 실행한다The microcomputer also accepts input from the actual deadbolt detector to determine if the actual deadbolt has been administered, i.e. locked. The microcomputer also accepts input from the battery voltage sensor to issue a proper warning of a low battery condition. These inputs are used by the microcomputer under program control to execute different key functions according to program subroutines corresponding to different functions.
또한, 본 발명에 따르면 키이기능 서브루틴의 라이브러리 (library)는 컴퓨터의 ROM에 기억되며, 서브루틴중 선택된 셋트의 임의의 하나의 셋트는 기능테이블 할당 및 대응하는 키이에 따라서 마이크로컴퓨터에 의해 작동된다. 이와같은 키이기능 서브루틴은 다음 사항을 포함한다 : 손님용 키이는 논리 데드볼트가 설정되지 않거나 실제데드볼트가 투여되지 않으면, 문을 잠그지 않도록 동작하지만, 관리인 키이에 의해 설정된 금지비트에 의해 금지되도록 동작한다. 관리인 키이는 개방 또는 비개방 키이일 수도 있다. 만약 개방키이인 경우, 그것은 논리 데드볼트 및 실제데드볼트에 해당한다. 만약 그것이 비개방 키이일 경우, 그것은 마지막 손님키이에 의한 개방을 금지하는데 사용될 수 있다. 만약 금지비트가 설정될 경우, 새로운 키이인 현재 발행된 손님키이는 금지비쓰를 소거하며 문을 열것이다. 종업원 키이가 개방키이일 경우 그것은 논리 데드볼트 및 실제데드볼트에 해당한다.Further, according to the present invention, a library of key function subroutines is stored in a ROM of a computer, and any one set of selected sets of subroutines is operated by the microcomputer according to the function table assignment and the corresponding key. . Such key function subroutines include the following: The guest key operates to not lock the door if no logical deadbolts are set or no actual deadbolts are administered, but is prohibited by the inhibit bit set by the custodian key. It works. The custodian key may be an open or non-open key. If it is an open key, it corresponds to logical dead bolts and real dead bolts. If it is an unopened key, it can be used to prohibit opening by the last guest key. If the inhibit bit is set, the new key, the currently issued guest key, will open the door, clearing the inhibit bit. When an employee key is an open key, it corresponds to logical dead bolts and real dead bolts.
그러나, 종업원 키이에 대한 서브루틴이 밧테리를 점검하고 만약 그것이 로우(low)이며 종업원 키이를 마지막으로 4번 사용하기 위하여 로우이었다면, 그것은 종업원 키이가 계속하여 2회 삽입되지 않는다면 문을 잠글 것이다. 일발 키이(one-shot key)가 개방키이일 경우, 그것은 논리 및 실제데드볼트에 해당하며, 그것이 새로운 키이일 경우 즉 첫번째로 사응되는 경우일 때에만 문을 개방할 것이다. 비상 키이는 논리 데드볼트를 설정하도록 작응하여 데드볼트 상태에 관계얼이 문을 개방할 것이다. 만약 노브가 회전되면 그것은 논리 테드볼트를 소거시킬 것이다. 리페이즈(rephase) 키이는 논리 데드볼트를 설정하며 잔여 사이클 시간을 확장하여 리페이즈 절차를 설정시켜서 새로운 코드가 다른 키이의 삽입에 의해서 키이코드 메모리에 기억될 수 있다.However, if the subroutine for the employee key checks the battery and it is low and was low to use the employee key the last four times, it will lock the door if the employee key is not inserted two times in a row. If a one-shot key is an open key, it corresponds to logical and actual deadbolts, and will only open the door if it is a new key, ie if it is the first match. The emergency key will respond by setting a logic deadbolt, opening the door relative to the deadbolt state. If the knob is rotated it will clear the logic ted bolt. The rephase key sets the logic deadbolt and extends the remaining cycle time to set the reorder procedure so that new code can be stored in keycode memory by insertion of another key.
제1안전키이와 제2안전키이의 조합은 높은 안전도 레벨을 제공한다 : 제1안전키이가 우선 사용되어야만하며 논리 데드볼트를 설정하도록 동작하며, 만약 다음 키이가 제2안전키이인 경우, 그것이 개방키이일 경우에 자물쇠를 개방시킬 것이다. 호텔통과 키이에는 호텔 코드가 제공되며 수영장, 오락실등과 같은 사전에 설정한 호텔지역에 들어가도록 하기 위하여 어떤 문을 개방시키도록 동작한다.The combination of the first safety key and the second safety key provides a high level of safety: the first safety key must be used first and operates to set the logic deadbolt, if the next key is the second safety key, If the key is open, it will open the lock. The hotel pass key is provided with a hotel code and operates to open a door to enter a pre-set hotel area such as a swimming pool or a game room.
또한, 본 발명에 따르면, 종전에 발행된 키이가 사응된 적이 없을지라도 새로운 키이코드가 새로운 키이에 대한 메모리에 기억될 수 있도록 한 수단을 제공한다. 이것은 키이상의 제1코드, 제2코드, 및 링크 코드를 사용하므로써 제공된다. 또한, 자물쇠를 온-라인 재프로그래밍 시키기 위한 수단이 제공되고, 자물쇠의 후속 동작을 기록하기 위한 시간 베이스가 제공되며, 자물쇠의 후속 동작을 기록하기 위한 시간 베이스가 제공되며, 부가적인 키이기능 서브루틴이 ROM에 기억된다. 이와같은 부가 키이기능은 사무실 도어자물쇠에 특히 적합한 래치, 비래치 및, 토글 동작을 가진 사무실 키이기능과, 단일 키이 시퀀스를 사용하는 안전키이 기능, 및 일시적으로 비작동상태로 되는 소정 레벨이상 또는 이하의 레벨에서 키이로 열 수 있도록 한 개방기능을 포함한다.In addition, the present invention provides a means by which a new keycode can be stored in the memory for a new key even if a previously issued key has never been matched. This is provided by using a first code, a second code, and a link code above the key. Also provided are means for on-line reprogramming of the lock, a time base for recording subsequent actions of the lock, a time base for recording subsequent actions of the lock, and additional keying subroutines. This is stored in the ROM. These additional key functions include office key functions with latches, latches, and toggles that are particularly suitable for office door locks, safety key functions using a single key sequence, and above or below a predetermined level that temporarily becomes inoperative. Includes an open function to open with a key at the level of.
본 발명을 첨부도면에 의거하여 상세히 기술하면 다음과 같다.The present invention will be described in detail with reference to the accompanying drawings.
[발명의 최선의 실시형태]BEST MODE FOR CARRYING OUT THE INVENTION
도면에는 호텔의 도어자물쇠에 사용하기 위한 본 발명인 마이크로컴퓨터 쇄정제어 시스템이 도시되어 있다. 본 발명은 다른곳에 응용할 수도 있으며 다른 실시예가 이용될 수도 있다.The figure shows a microcomputer lock control system of the present invention for use in a hotel door lock. The present invention may be applied elsewhere and other embodiments may be used.
먼저 펀치카드 열쇠를 사용하는 본 발명의 제1실시예를 기술한 다음, 자기적으로 부호화된 열쇠를 사용한 제2실시예를 기술한후, 쇄정작동과, 온라인 재프로그래밍, 및 부가 열쇠기능을 기록하기 위한 시간 베이스를 포함하는 제3실시예를 기술할 것이다.First, a first embodiment of the present invention using a punch card key will be described, and then a second embodiment using a magnetically encoded key will be described, and then a lock operation, online reprogramming, and additional key functions will be described. A third embodiment will be described which includes a time base for recording.
제1도는 호텔에 사용되는 도어자물쇠에 설치된 본 발명의 쇄정 시스템 또는 제어시스템을 도시한 것이다. 도어자물쇠(10)는 도어(12)에 설치된다. 대체로, 그것은 도어에 설치된 종래의 장부구멍 자물쇠(14)와 외측 도어노브(16)와, 내측 도어노브(18), 및 쇄정 제어 시스템(22)으로 구성된다. 그 자물쇠에는 내측 도어노브(18)에 의해 직접 작동되거나 외측 노브(16)에 의해 쇄정 제어시스템(22)을 통해 작동될 수도 있는 종래의 후퇴볼트(24)의 형태인 쇄정수단이 제공된다. 또한, 그 자물쇠에는 데드볼트축(34)을 통해 도어의 내측에 있는 데드볼트손잡이(32)에 의해서 작동가능한 데드볼트(28)가 제공된다. 또한, 종래의 자물쇠(14)에 제공된 바와 같이, 데드볼트(28)는 내측 또는 외측 도어노브의 작동에 의해서 볼트(24)의 후퇴와 동시에 후퇴한다. 펀치카드의 형태인 열쇠 (34)는 자물쇠의 수동제어를 하기위한 쇄정 제어시스템(22)의 일부이다.1 shows the locking system or control system of the present invention installed in a door lock used in a hotel. The
쇄정 제어시스템(22)은 제2a 및 b도에 상세히 도시되어 있다. 대체로, 쇄정 제어시스템은, 키이판독기(38)와, 전자 제어작동기 또는 쇄정제어기구(42), 및 마이크로컴퓨터 회로판(44)을 집어넣는 자둘쇠(36)로 구성된다. 또한, 그곳에는 초록색 LED(46)와, 황색 LED(48), 및 적색 LED(52)로 구성되는 지시 램프가 들어가는데 이러한 램프는 자물쇠에 있는 윈도우(54)를 통해 볼 수 있다. 한쌍의 건전지(55)가 자물쇠 (36)에 장치된다.The decision control system 22 is shown in detail in Figures 2a and b. In general, the lock control system is composed of a
키이판독기(38)는 열쇠(34)를 수응하기 위한 슬로트(56)와, 열쇠를 완전히 삽입시킬때 폐쇄상태로 작동하며 열쇠를 추출시킬때 개방상태로 작동하는 키이스위치(58)로 구성된다. 키이판독기(38)는 열쇠(34)에 펀치된 구멍이 있는가 없는가를 탐지하도록 한 광판독기이며 이후 상세히 기술할 것이다.The
쇄정제어기구(42)는 쇄정핀 수용기(62)와, 왕복 쇄정핀(62), 및 쇄정핀을 작동시키기 위한 솔레노이드(66)로 구성된다. 쇄정핀 수응기(62)는 도어노브축(26)에 비회전적으로 장치된 디스크형 부재이다. 제2b도에 도시한 바와같이, 쇄정핀 수용기(62)의 상반부에는 확대된 반경을 가지며 그의 중립 위치에 있는 도어노브와 함께 쇄정핀(64)과 정렬된 원형홈(68)이 제공된다. 쇄정핀(64)이 홈(68) 안으로 확장될 경우, 도어노브축(26)은 도어노브에 의해 회전될 수 없으며 데드볼트(24)는 후퇴되지 않으므로, 도어는 잠금상태를 유지할 것이다. 쇄정핀(64)은 상측단부에서 헤드(72)를 갖는 원통형임, 피봇 결합장치(74)에 의해서 솔레노이드(66)의 접촉자(76)와 연결되어 있다. 쇄정핀(64)은 자물쇠에 장치된 안내브라켓(78)을 통해 연장되어 있으며, 쇄정핀의 헤드(72)는 쇄정핀이 강하되었을때 브라켓에 안착된다. 또한, 쇄정제어기구(42)는 도어노브가 회전되었을때 신호를 제공하도록 한 도어노브탐지기(82)의 형태인 쇄정탐지수단을 포함한다. 도어노브탐지기(82)는 회로판(44)에 장치된 리드스위치(84)와, 도어노브축(26)과 회전가능한 아암(86)을 포함하며, 영구 자석(88)을 지지한다. 도어노브(16)가 회전했을때, 아암(86)은 축(26)과 함께 움직여서 자석(88)을 리드스위치 (94)로 부터 원격되게 위치시켜서, 정상적으로 개방된 리드스위치(84)가 폐쇄되도록 한다.The lock control mechanism 42 is composed of a lock pin receiver 62, a reciprocating lock pin 62, and a solenoid 66 for operating the lock pin. The lock pin receiver 62 is a disc-shaped member which is mounted non-rotatively on the door knob shaft 26. As shown in FIG. 2B, the upper half of the locking pin receiver 62 is provided with a circular groove 68 having an enlarged radius and aligned with the locking pin 64 with the door knob in its neutral position. When the locking pin 64 extends into the groove 68, the door knob shaft 26 cannot be rotated by the door knob and the dead bolt 24 is not retracted, so the door will remain locked. The locking pin 64 is cylindrical with the
또한 쇄정제어기구는 데드볼트가 전진 또는 후퇴되는지를 표시하는 신호를 제공하도록 한 데드볼트탐지기(92)와, 회로판(44)에 장치된 리드스위치(94), 및 페드볼트축(34)과 함께 회전하기 위해 장치된 아암(96)을 포함한다. 아암(96)은 데드볼트가 후퇴위치에 있을때 리드스위치(94)에 인접한 위치에 있는 영구자석(98)을 지지한다. 리드스위치(94)는 정상적으로 개방되며, 데드볼트는 축(34)을 회전시키므로써 전진되고, 자석(98)은 리드스위치(94)로 부터 멀어져서 폐쇄상태로 작동된다.The lock control mechanism also includes a
전술한 열쇠(34)를 제20도를, 참조하여 상세히 기술하기로 한다. 제2c도에 도시한 다중키이(열쇠)는 동일한 자물쇠에 사용하기 위한 것이며 어떤것은 자물쇠이외의 것에 사용될 것이다. 호텔 쇄정 시스템에 있어서, 손님을 포함한 몇몇의 사람은 주어진 자물쇠의 상이한 작동을 위한 열쇠를 필요로 한다. 도시한 시스템에 있어서, 다음과 같은 8개의 상이한 형태의 키이가 있다. 즉, 손님용키이, 종업원키이, 관리인키이, 수행원키이, 일발(one-shot)키이, 고장-안전키이, 마스터키이, 및 비상/리페이즈(rephase)키이가 있다. 각각의 키이는 불투명한 카드이며, 세개의 상이한 코드계(102.104,106)가 제공된다.The above-described key 34 will be described in detail with reference to FIG. 20. The multiple keys (keys) shown in Figure 2c are intended for use with the same lock and some may be used for something other than a lock. In hotel lockout systems, some people, including guests, require keys for different operations of a given lock. In the illustrated system, there are eight different types of keys as follows. That is, there are a guest key, an employee key, a manager key, an attendant key, a one-shot key, a fail-safe key, a master key, and an emergency / rephase key. Each key is an opaque card, and three different code systems 102.104 and 106 are provided.
제2c도에 도시한 카드에서 각각의 적은 직사각형은 비트위치를 표시한다. 만약 비트위치가 펀치된 구멍이라면, 그것은 1비트이다. 즉 펀치되지 않을 경우 그것은 0비트이다. 코드계(102)는 니블 또는 4비트 문자를 포함하는 제어코드로 부호화된다. 상측으로 부터 세개의 비트는 열쇠의 기능 또는 레벨을 표시하며, 네번째의 비트는 개방비트라고도 부르며, 그것이 1일때 키이는 개방키이며, 그것이 0일때 열쇠는 비개방시키일 것이다. 코드계(104)는 니블의 4행으로 배치된 16비트 키이코드 또는 문자를 포함하며 자물쇠를 위한 제1키이코드를 표시한다. 코드계(106)는 또한 니블의 4행으로 배치된 16비트 키이코드 또는 문자를 포함하며 자물쇠에서의 제2코드를 표시한다. 비트의 하측열은 키이판독기의 자체클럭을 위한 동기비트이다. 1비트는 특정행에 1비트가 없을 때에만 동기비트 위치에 이용된다. 상이한 형태의 키이의 기능과 작동을 기술하기전에 마이크로컴퓨터 제어회로를 기술하고자 한다.In the card shown in Fig. 2C, each small rectangle represents a bit position. If the bit position is a punched hole, it is 1 bit. It is zero bits if not punched. The
제3a도를 참조하여 마이크로컴퓨터 쇄정제어회로를 설명하기로 한다. 마이크로컴퓨터(112)는 단일칩의 4비트 마이크로컴퓨러 즉, 일본의 후지쯔 리미티드가 만든 MB88400 및 MB88500 시리이즈이다. 키이판독기(38)는 다음과 같이 마이크로컴퓨터 (112)에 의해 제어되며 마이크로컴퓨터에 대한 입력을 제공한다. 키이판독기(38)는 키이상에 있는 코드계의 제1 및 제2열의 데이터 비트를 각각 판독하는데 사용하기 위한 제1쌍의 적외선 LED(114,116)가 제공된 광판독기이다. 제2쌍의 LED(118,112)는 제3 및 제4열의 데이터비트를 판독하는데 사용하기 위하여 위치되어 있다. LED(124)는 키이에 있는 코드계의 동기 데이터비트를 판독하기 위하여 위치되어 있다.A microcomputer lock control circuit will be described with reference to FIG. 3A. The microcomputer 112 is a single-chip 4-bit microcomputer, namely MB88400 and MB88500 series made by Fujitsu Limited of Japan. The
전술한 LED는 그의 베이스가 저항(128)을 통해 컴퓨터의 핀(R3)에 연결된 스위칭 트랜지스터(126)를 통해 활성화된다. 트랜지스터 (126)의 에미터는 밧테리의 +단자에 연결되어 있으며 콜렉터는 저항(132,134,136)을 통해 세개의 LED와 연결되어 있다. 키이판독기(38)는 다섯개의 광트랜지스(142,144,146,148,152)를 포함한다. 광트랜지스터(142,144)는 LED(114,l16)와 광학적으로 각각 정렬되며, 마이크로컴퓨터의 데이터 핀(D2,Dl)과 연결되어 있다. 광트랜지스터(146,148)는 LED(118,112)와 광학적으로 정렬되며, 그의 콜렉터는 데이터 핀(D2,D3)과 각각 연결되어 있다. 광트랜지스터 (152)는 LED(124)와 정렬되며 그의 콜렉터는 마이크로컴퓨터의 보조플럭(Auxiliary clock)핀과 연결되어 있다.The LED described above is activated through a switching transistor 126 whose base is connected to pin R3 of the computer via a resistor 128. The emitter of transistor 126 is connected to the + terminal of the battery and the collector is connected to three LEDs through resistors 132, 134, 136. The
데드볼트 탐지기스위치(94)는 접지와 핀(R1O) 사이에 연결되어 있으며, 도어노브 탐지기스위치(84)는 접지와 핀(R9) 사이에 연결되어 있다. 키이스위치 (58)는 전압원과, 저항(156)을 통해 접지되는핀에 있는 START핀 사이에 연결되어 있다. 마이크로컴퓨터의 RESET핀은 전압원을 지나 직렬로 연결된 저항(158)과 캐패시터 (162)의 접속부에 연결되어 있다. 저항(164)은 클럭발생기 외부핀(X,EX) 사이에 연결되어 있으며, 캐패시터(166)는 핀rEX)과 접지 사이에 연결되어 있다.The dead bolt detector switch 94 is connected between ground and pin R10, and the door knob detector switch 84 is connected between ground and pin R9. The
공급전압선(168)은 스위칭 트랜지스터(172)를 통해 밧테리전압에 연결되어 있고, 스위칭트랜지스터 (172)의 베이스는 저항(174)을 통쌔 핀(R2)에 연결되어 있으며, 핀(RO)은 저항(176)을 통해 접지와 연결되어 있다. 솔레노이드(66)는 마이크로컴퓨터에 의해서 핀(04,05)을 포함하는 해제출력단을 통해서 제어된다. 이런 목적을 위해서, 솔레노이드(66)의 상측단자는 밧테리에 연결되어 있으며, 하측단자는 스위칭트랜지스터(178)를 통해 접지와 연결되어 있다. 스위칭트랜지스터(178)는 스위칭트랜지스터(182)에 의해 제어되는데, 스위칭트랜지스터 (182)는 그의 콜렉터가 저항(184)을 통해 공급전압선(168)에 연결되며, 그의 에미터는 트랜지스터 (178)의 베이스에 연결되어 있다. 트랜지스터 (182)의 베이스는 핀(04)에 연결되어 있다. 핀(04)이 하이 (high)일때, 트랜지스터 (182,178)는 턴온되며, 풀-인(Pull-in)전류는 도어를 해제하기 위하여 쇄정핀(64)을 충분히 수축시키도록 솔레노이드(66)에 공급된다. 또한, 솔레노이드(66)의 하측단자는 스위칭트랜지스터 (186)를 통해 핀(05)에 연결되어 있다.The supply voltage line 168 is connected to the battery voltage through the switching transistor 172, the base of the switching transistor 172 is connected to the resistor (174) to pin R2, the pin (RO) is a resistor ( 176) is connected to ground. The solenoid 66 is controlled by a microcomputer via a release output
특히, 솔레노이드는 저항(188)을 통해 트랜지스터 (186)의 콜렉터에 연결되어 있는데, 그 트랜지스터는 그의 에미터자 접지와 연결되어 있으며, 그의 베이스가 핀(05)과 연결되어 있다. 핀(05)이 하이일때, 트랜지스터 (186)는 턴온되며, 솔레노이드는 수축위치로 쇄정핀(64)을 유지하기 위하여 유지전류를 충분히 제거한다.In particular, the solenoid is connected to the collector of transistor 186 via a resistor 188, which is connected to its emitter ground and its base is connected to pin 05. When
각각의 초록색. 황색, 적색 LED(46,48,52)는 0-포트를 통해 제어된다. 초록색 LED(46)는 비교기(192)를 통해 핀(0ø)에 의해 제어된다. 특히, 초록색 LED(46)는 저항(194)을 통해서 밧테리와 비교기의 출력단사이에 연결되어 있다. 핀(0ø)은 비교기(192)의 비반전압력단에 연결되어 있고, 전압공급선(168)은 저항(196)과 직렬 다이오우드(198)를 지나 연결되어 있으며, 다이오우드를 통과한 전압은 기준전압으로써 비교기(192)의 반전입력단에 인가된다. 황색 LED(48)는 직렬저항(202)을 통해 LED(48)에 증가된 전류능력을 위해 각각 병렬로 연결된 핀(01,02.03)에 의해 제어된다. 적색 LED(52)는 저항(204)을 통해 LED(52)에 병렬로 연결된 핀(06,07)에 의해 제어된다.Each green. Yellow and red LEDs 46, 48 and 52 are controlled through the 0-port. The green LED 46 is controlled by
낮은 밧테리전압을 감지하기 위한 낮은 밧테리탐지기는 마이크로컴퓨터의 핀(Rll)에 의해 제어되는데 비교기(206)를 포함한다. 특히, 한쌍의 전압분배기 저항(208,211)은 전압공급선(168)과 접지 사이에 연결되어 있다. 전압분배기 저항의 접속부는 비교시(206)의 비반전 입력에 연결되어 있다. 반전입력은 다이오우드(198)를 지나 분배된 기준전압에 연결되어 있다. 핀(Rl2)은 저항(213)을 통해 접지와 연결되어 있다. 비교기(206)의 비반전 입력단에서 전압이 반전입력상의 기준전압이하로 강하되면, 비교기(206)의 출력은 낮으며, 그의 출력은 핀(Rll)에 인가된다.The low battery detector for detecting low battery voltage is controlled by pin Rll of the microcomputer and includes a
제3b 및 c도를 참조하여 마이크로컴퓨터(112)를 좀 더 상세히 기술하고자 한다. 마이크로컴퓨터는 도면에 도시한 플로우차트에 의해 표시되는 것과 같은 쇄정 시스템을 작동프로그램을 기억시키는 ROM(215)을 포함한다. ROM(215)은 제22도에서 상세히 기술될 것이다. 또한, 마이크로컴퓨터는 여러가지의 레지스터, 카운터, 및 메모린 블럭을 위해 이용되는 RAM을 갖는다.The microcomputer 112 will be described in more detail with reference to FIGS. 3b and c. The microcomputer includes a ROM 215 for storing a program for operating a lockout system as indicated by the flowchart shown in the figure. ROM 215 will be described in detail in FIG. In addition, the microcomputer has RAM used for various registers, counters, and memory blocks.
특히, 제3b도에 도시한 바와같이, RAM은 레벨당 4문자를 가진 8개의 상이한 레벨로 분리되는 32문자를 내장한 키이코드 메모리(217)를 포함한다. 이 메모리는 키이코드를 키이의 8개의 상이한 레벨의 각각에 해당하는 카각의 레벨에 기억한다. 키이상에서의 제1코드 또는 제2코드가 키이의 특정레벨을 위한 키이코드와 일치할때 자물쇠는 그러한 지시에 따라 작동한다. 또한, RAM은 키이상에 있는 제어코드에 따라 키이코드메모리(217)에 있는 키이를 위한 적당한 레벨을 어드레스하기 위해 지정되는 8개의 문자를 포함하는 기능테이블(219)를 포함한다. 여분메모리블럭(221)은 후비메모리로서의 작동 데이터를 기억시키는데 이용된다. 그것은 키이코드메모리, 기능테이블, 개방비트 따위를 기억한다. 작동상태제어메모리(223)는 RAM에 제공되며, 주기타이머 및 상태레지스터를 포함한다. 이러한 상태레지스터는 적색, 초록색, 황색 LED와 솔레노이드의 불꽃을 포함한다.In particular, as shown in FIG. 3B, the RAM includes a
또한, RAM은 제3c도에 도시한 바와 같은 레지스터완 카운터를 포함한다. 4비트 레지스터(225)는 새로운 비트 플래그(227)와, 논리 데드볼트 플래그(229)와, 제방 플래그 또는 비트(231), 및 메모리 비교플래그(233)를 포함한다. 작동시, 이러한 비트의 용도는 이후 상세히 기술될 것이다. 또한, 금지 레지스터 (235)는 종전에 발행된 손님키이의 사용을 방지하기 위하여 관리인 키이의 작동에 의해 사용하기 위한 4개의 상이한 금지비트를 포함한다. 종업원키이 카운터(237)는 안내자 키이가 활성화 되는 낮은 밧테리 경고등으로 도어를 개방하는데 사용되는 여러번의 트랙을 유지하는데 사용된다. 오 판독 카운터(239)는 자물쇠의 키이 코드 메모리와 일치하지 않는 키이를 사용하도록한 후속계수를 유지한다. 히스토리버퍼(history buffer)는 키이형 레지스터 (241)를 포함하는데 키이형 레지스터는 사용된 마지막 몇몇의 키이유형 (비개방 키이를 제외한)을 기록한다. 또한, 그것은 최종 개방키이의 반복수를 계수하는 반복 카운터 (243)를 포함한다. 형태 및 포매트 레지스터 (245)는 마지막으로 사용된 키이 (개방키이 또는 비개방 키이든지)의 상태 및 포매트의 기록을 유지한다. 이러한 레지스터의 용도 및 작동은 이후 기술될 것이다.The RAM also includes a register completion counter as shown in FIG. 3C. The 4-bit register 225 includes a new bit flag 227, a logic deadbolt flag 229, a dike flag or bit 231, and a memory comparison flag 233. In operation, the use of these bits will be described in detail later. In addition, the inhibit
마이크로컴퓨터의 ROM과 RAM은 제22도에 상세히 기술되어 있다. ROM(215)은 프로그램메모리(800)를 포함한다. 이 메모리는 주프로그램과 다수의 서브루틴을 불연속 위치에 기억한다. 또한, ROM은 제1데코더 또는 색인표(802)와 제2데코더 또는 색인표(804)를 기억한다. 이러한 색인표의 기능과 작동은 이후 기술될 것이다. 마이크로컴퓨터의 RAM은 처리될 키이로 부터 판독된 제어 코드를 유지토록한 제어 코드레지스터(806)를 포함한다. 전술한 바와같이, RAM은 기능테이블(219)과 키이코드메모리(217)를 포함한다. 도시한 바와같이, 기능테이블(219)은 각각의 레벨에서 상이한 문자를 가진 0-7로 표시된 8개의 상이한 레벨 또는 위치를 갖는 8문자 테이블이다. 각각의 문자는 프로그램 메모리(800)에 있는 서브루틴중 하나의 서브루틴의 메모리어드레스에 지정시키기 위해 색인표(802)와 관련된 기능을 하는 4비트 포인터이다. 키이코드메모리(217)은 0에서부터 7로 표시된 8개의 상이한 레벨을 갖는 것으로 도시된다. 각각의 레벨 또는 위치는 16비트 키이코드를 기억한다. 또한, RAM은 호텔코드 레지스터(808), 주기시간 플래그(812), 및 노브-회전 플래그(814)와 같은 쇄정수단의 작동을 표시하기 위한 플래그를 포함한다.The ROM and RAM of the microcomputer are described in detail in FIG. The ROM 215 includes a
키이코드가 키이판독기로 부터 마이크로컴퓨터 안에서 판독될 경우, 제어코드는 제어코드레지스터 (806)에 잠정적으로 기억된다. 4비트 제어코드는 포인터로더 이용되며, 기능테이블(219)에서의 8레벨중 하나의 레벨과, 키이코드메모리 (217)에서의 해당레벨에 지정되도록 작동하는 색인표(802)에 의해 해독된다. 따라서, 제어코드는 키이코드메모리(217)에 있는 키이코드를 지정하기위해 작동하는데, 그 메모리는 키이로 부터 판독된 코드와 비교된다. 제어 코드에 의해 지정된 기능테이블(219)에 있는 4비트 포인터는 지정된 키이코드와 동일한 레벨에 있게된다. 이 4비트 포인터는 제2색인표(804)를 사용하여 진행되어 키이기능에 해당하는 프로그램메모리의 서브루틴의 어드레스를 얻도록한다. 자물쇠의 작동은 제4도 내지 제14도에 도시한 플로우 차트를 참조로하여 기술하고자 한다. 이 플로우차트는 마이크로컴퓨터(112)의 ROM(222)에 기억된 작동 프로그램을 표시 한다.When the key code is read from the key reader in the microcomputer, the control code is temporarily stored in the control code register 806. The 4-bit control code is used as a pointer loader and is decoded by an index table 802 that operates to be assigned to one of eight levels in the function table 219 and the corresponding level in the
제4도는 쇄정 개시프로그램을 표시한 플로우차트이다. 작동시스템개시블럭(210)은 마이크로컴퓨터(112)와 전자제어회로(44)를 작동시킨다. 이 작동상태는 쇄정회로에 있는 밧데리의 연결시 발생하며, 시스템의 콜드스타트(cold start)를 구성한다. 전원의 ON되었을때, 프로그램은 시스템의 어떤부분이 고장났는가를 결정하는 시험블럭(212)으로 진행한다. 만약 고장났다면, 프로그램은 작동 시스템개시 블럭(210)으로 궤환되며 고장나지 않았을 경우, 프로그램은 레벨을 할당하기 위한 수단, 즉 키이코드메모리에 있는 할당레벨의 불이행 구성을 설정하는 블럭(214)으로 진행된다. 전술한 바와같이, RAM에 있는 키이코드메모리(217)는 8개의 상이한 위치 또는 레벨을 갖으며 각각의 레벨은 키이코드를 기억한다. 또한, RAM내에 있는 기능테이블(219)는 8개의 상이한 위치 또는 레벨을 갖는데, 8개 위치중 각가의 위치는 그러한 레벨에 해당하는 키이에 따라 실행되는 특정의 기능을 표시한다. 도시된 실시예에서, 8개의 상이한 할당 레벨의 불이행 구성은 다음과 같다.4 is a flowchart showing a decision start program. The operating system start
메모리레벨 1 : 카드형태 C, 손님수 1 :Memory level 1: card type C, number of guests 1:
메모리레벨 2 : 카드형태 B, 일발 ;Memory level 2: Card Type B, one shot;
메모리리벨 3 : 카드형태 4, 고장-안전 :Memory level 3:
메모리레벨 4 : 카드형태 D, 관리인/금지된손님 :Memory level 4: card type D, custodian / banned guest:
메모리레벨 5 : 카드형태 A, 할당된 영역을 위한 지배인 :Memory level 5: card type A, ruler for allocated area:
메모리레벨 6 : 카드형태 F, 비상/리페이즈 ;Memory level 6: Card Type F, Emergency / Rephase;
메모리레벨 7 : 카드형태 C, 손님수 2(수행원) :Memory Level 7: Card Type C, Number of Customers 2 (Executive):
메모리레벨 8 : 카드형태 E, 종업원 :Memory level 8: card type E, employee:
전술한 바와같이 설정된 불이행구성과 더불어, 프로그램은 시즈템이 키이입력을 위해 대기하는 입력블럭(216)으로 진행된다. 개시 과정중 이 위치에서, 효과적인 키이 입력만이 제1 또는 개시변경 키이이며, 그것은 특정키이 코드를 상이한 메모리레벨에 할당하는 전단계로서 사용된다.In addition to the default configuration set as described above, the program proceeds to an input block 216 where the system waits for key input. At this location during the initiation process, only the effective key entry is the first or initiation change key, which is used as a pre-step to assign a particular key code to different memory levels.
만약 시험블럭 (218)이 입력키이가 리페이즈키이가 아님을 결정할 경우, 프로그램은 블럭 (216)으로 되돌아가서 또 다른 입력을 기다린다. 만약 입력키이가 리페이즈 키이일 경우, 프로그램은 블럭 (218)에서 논리 데드볼트를 삽입하는, 즉 논리데드볼트비트를 1로 설정하는 블럭 (220)으로 진행한다음, 입력블럭 (222)으로 진행하여 키이입력을 기다린다. 개시 과정이 이루어지는 동안 이 위치에서, 자물쇠는 할당된 메모리레벨에 따라 기능테이블(219)에 의해 사용되는것과 동일한 포인터에 의해 할당된 위치에서의 키이코드 메모리(217)에 쓰여진 할당된 키이코드를 위해 준비된다.If the
바꿔말하면, 어떤 키이코드는 한사람의 손님 기능을 위해서 레벨 1에 해당하는 위치에서 메모리에 기입되며 어떤 키이코드는 일발 기능과 같은것을 위해서 레벨 2에 대한 메모리에 기입된다. 시스템이 키이입력을 수신할때, 프로그램은 블럭 (224)으로 진행하며, 키이로 부터의 제2코드는 키이상에서 부호화된 키이레벨 또는 제어코드에 해당하는 레벨에서 키이코드메모리(217)에 기입된다.In other words, some keycodes are written to the memory at
블럭 (224)에 의해 표시되는 것과 같은 이 과정은 각각의 키이입력에 대해 반복된다. 키이가 입력된후, 그것은 블럭(224)에 의해 처리된다음, 정지 루틴(234)은 시스템을 대기상태로 유지한다 시험블럭(226)은 모든 레벨이 수행될때를 결정한다. 상이한 메모리레벨에 해당하는 상이한 키이는 소정의 시퀀스로 입력될수도 있다.This process, as indicated by
키이코드 페이즈-인의 이러한 작동은 자물쇠를 리페이징 (한개이상의 레벨에서의 키이코드를 변경)하는 것과 근본적으로 롱일하다. 블럭 (224)에 의해서 페이즈-인 시퀀스가 완결된후에, 프로그램은 다음 키이를 위해 시스템을 기다리도록 대기하는 블럭 (234)로 진행된다. 키이가 입력단(228)에 입력되었을때, 프로그램은 입력된키이가 비상키이인가를 결정하는 시험블럭 (230)으로 진행된다.This operation of the keycode phase-in is fundamentally long with rephasing the lock (changing the keycode at more than one level). After the phase-in sequence is completed by
만약 비상키이가 아니라면, 마이크로컴퓨터는 키이가 삽입되었을 때에도 진행될 것이지만, 프로그램은 입력단(228)로 되돌아 온다. 입력된 키이가 비상키이라면, 프로그램은 논리 데드볼트를 클리어(clear)시키는 블럭(232)으로 진행된다. 이것은 자물쇠를 사용하기에 용이하게 위치시키며, 프로그램은 시스템을 다음키이를 기다리는 대기상태로 위치시키는 정지루틴(234)으로 진행된다 따라서, 자물쇠를 위한 개시과정이 완성되며, 자물쇠는 용이하게 사용된다. 일반적으로, 이 개시과정은 자물쇠가 도어에 설치되었을때 용이하게 사용하도록하기 위해서 공장에서 수행된다. 필요하다면, 개시과정은 자물쇠가 설치된 후에 수행될 수도 있다.If it is not an emergency key, the microcomputer will proceed even when the key is inserted, but the program returns to the
제5도에는 자물쇠의 작동이 기술되어있다. 전술한 바와같이, 개시과정은 자물쇠에 잠겨진 여러개의 키이에 의해서 용이하게 사용하기 위한 자물쇠를 위치하는 것이다. 개시과정이 이루어진후, 자물쇠는 대기상태에 있으며, 키이 입력을 기다린다. 제5도의 플로우차트에 의해 포시한 바와같은 작동은 자물쇠와 함께 사용되는 여러개의 모든 키이에 대해 동일하다. 어떤 키이가 입력츨럭 (240)에 입력되면, 프로그램은 마이크로컴퓨터에 있는 주기 타이머를 시작하는 블럭(242)으로 진행된다. 키이가 삽입된후 개시 스위치가 작동되며, 클럭되어질 키이로 부터의 9니블의 데이터와, 회전되어질 노브를 위한 주기 타이머에 의해 5초가 허용된다. 전형적으로, 키이는 취출속도에 따라 1초이하에서 판독된다(나머지 시간동안에 일어나는 작동은 이후 기술될 것이다). 프로그램은 블럭(242)으로 부터, 기억상태의 집적을 시험하기 위해 마이크로컴퓨터의 중앙연상장치(CPU)를 작동시키는 블럭(244)을 진향된다. 이 시험에서, 현재의 상태는 자물쇠가 대기 상태로 진행되었을때 기억된 상태와 비교된다.5, the operation of the lock is described. As mentioned above, the initiation process is to locate a lock for ease of use by multiple keys locked. After the initiation process, the lock is on standby and waits for key entry. The operation as indicated by the flowchart of FIG. 5 is the same for all of the multiple keys used with the lock. If a key is entered in
만약 에러가 있다면, CPU는 회복을 하도록 시도하며, 프로그램은 LED를 ON상태로 도달하도록하기 위한 시간지연을 제공하는 블럭(246)으로 진행된다음 블럭(248)은 데이터변경을 위해 기다린후, 입력블럭(250)에서 키이는 개시스위치를 개방하도록 취출된다. 이것은 프로그램을 키이로 부터의 코드를 입력시키는 블럭(252)으로 진행시킨다. 이 블럭은 제어코드와, 제1코드, 및 코드 판독기로 부터의 제2코드를 표시하는 아홉개의 문자를 포함한다.If there is an error, the CPU attempts to recover and the program proceeds to block 246 which provides a time delay for the LED to reach the ON state.
그런다음 프로그램은 타당한 열번째의 문자가 입력되었는가를 결정한다. 이러한 목적을 위해서 프로그램은 키이상의 아홉 개의 부호화된 문자의 양호한 판독이 이루어진 후에 코드판독기의 정확한 상태인 각각의 비트위치에서 하나를 갖는 10번째의 문자를 코드 판독기가 탐지하는 가를 결정하는 시험블럭(254)으로 진행된다. 환언하면, 키이의 취출시에 아홉 개의 문자가 연속적으로 탐지되는 동안 카드판독기는 불투명키이가 판독기를 클리어할 때 아홉번째의 문자 다음에 모두1(모든 비트위치가 명확한)을 탐지해야한다. 따라서, 10번째의 문자가 모두 1이 아닐 경우, 오판독은 카드와 같은 것의 불규칙운동으로부터 여기될 수 있다는 것을 표시한다. 만약 문자가 모두 1이 아니라면, 프로그램은 에러(오판독) 카운터(239)를 증가시키는 블럭(255)으로 진행한 다음 시스템을 대기시켜 다음 키이를 기다리도록 하는 정지루틴(234)으로 진행한다. 키이의 오판독일 경우, 키이는 재삽입도리 수 있으며, 프로그램은 블럭(240)으로부터 반복될 것이다. 만약 10번째의 문자 모두 1이라면, 프로그램은 밧데리 상태를 할당하는 블럭(255)으로 징행한다. 밧데리의 상태가 로우(low)가 아니면, 프로그램은 제6a도의 블럭(260)으로 진행하며, 밧테리의 상태가 로우이면, 프로그램은 적색 LED에 의한 로우 밧테리 표시를 위한 상태를 설정하는 블럭(257)으로 진행한다음 제6a도의 블럭(260)으로 진행된다.The program then determines if the tenth valid character has been entered. For this purpose, the program checks whether the code reader detects the tenth character with one at each bit position that is the correct state of the code reader after good reading of nine encoded characters above the key. Proceeds to). In other words, the card reader should detect all 1s (all bit positions are clear) after the ninth character when the opaque key clears the reader while nine characters are detected consecutively at the time of key extraction. Thus, if the tenth character is not all 1s, the misread indicates that it can be excited from the irregular motion of something like a card. If the characters are not all 1's, the program proceeds to block 255 which increments the error (misread) counter 239 and then to the
제6a 및 b도의 플로루우챠트에 의해 표시된 프로그램은 제5도 프로그램의 계속이다. 또한 그것은 키이코드메모리의 상이한 레벨에서 페이즈되는 상이한 키이에 의한 쇄정 작동에 이용된다. 환언하면, 레벨1-8중 하나에서 유형 A-F인 키이는 제5도와 제6a 및 b도의 계속 프로그램에 따라 마이크로컴퓨터의 작동을 야기시킬 것이다. 제5도를 참조로 하여 기술한 바와같이. 키이상에서 부호화된 9개의 문자의 유효판독을 내장시킬때에 프로그램은 제5도의 블럭(257)으로부터 제6a도의 블럭(260)으로 진행된다. 블럭 (260)은 레벨코드를 표시하는 제1문자와, 키이코드메모리(217)에 기억된 키이코드의 위치를 위해 포인터 또는 어드레스를 얻기위한 메모리에 있는 기능케이블(219)를 사용한다. 그런다음 시험블럭(261)은 최정키이가 리페이즈 키이인가를 결정한다.The program indicated by the flow chart of FIGS. 6A and 6B is a continuation of the FIG. 5 program. It is also used for lockout operations by different keys phased at different levels of keycode memory. In other words, a key of type A-F at one of levels 1-8 will cause the microcomputer to operate according to the continuing program of FIGS. 5 and 6a and b. As described with reference to FIG. When embedding valid reading of nine characters encoded above the key, the program proceeds from block 257 of FIG. 5 to block 260 of FIG. 6a.
최종키이가 리페이즈 키이일 경우, 프로그램은 시험블럭(254)으로 진행하지만, 그렇지 않을경우에는 키이의 제1코드가 키이코드메모리에 기억된 코드와 일치하는 가를 결정하는 시험블럭(262)으로 진행한다. 제1코드가 메모리에 기억된 코드와 일치할 경우, 프로그램은 제2코드가-1인가를 결정하는 시험블럭(264)으로 진행한다. 모두 1인 제2코드는 비상/리페이스키이와 접속할때에만 사용된다. 시험블럭(264)이, 제2코드가 모두 1이 아닌 것을 결정한다면 프로그램은 키이코드메모리가 모두 1로세트되는가를 결정하는 시험블럭(266)으로 진행한다. (키이코드메모리는 자물쇠를 사용치 못하도록 하기위해 모두 1로 세트되며 다른 어떠한 것도 타당한 코드로써 사용되지 않는다.)만약 시험블럭(266)이 키이코드메모리가 모두-1이 아닌 것을 결정하면, 프로그램은 키이로부터의 제2코드를 키이코드메모리에 라이트(write)하는 블럭(268)으로 진행되며, 그것은 전에 기억된 키이코드를 대치한다.If the last key is a reverse key, the program proceeds to test
그런다음 프로그램은 키이가 새로운가 즉, 첫 번째로 사용되는 가를 표시하기위한 새로운 플래그(227)을 셋트한는 블럭(270)으로 진행한다. 프로그램은 블럭(270)으로부터, 제2코드가 메모리에 기억된 키이코드와 일치하는 지를 결정하는 시험블럭(272)으로 진행된다. 제2코드가 키이코드와 일치할 경우, 프로그램은 상기에 기술한 오판독 카운터(239)를 클리어하는 블럭(274)으로 진행한다(오판독 카운터의 용도는 곧 기술할 것이다.) 에러카운터를 클리어시킨후에 프로그램은 블럭(260)에 의해 얻어진 포인터에 해당하는 레벨을 위해 특정 서브루틴에 프로그램을 분기시키는 블럭(276)으로 진행된다.The program then proceeds to block 270 which sets a new flag 227 to indicate whether the key is new, that is, the first one used. The program proceeds from block 270 to a test block 272 that determines whether the second code matches the key code stored in the memory. If the second code matches the keycode, the program proceeds to block 274 for clearing the misread counter 239 described above (the purpose of the misread counter will be described soon). Clearing the error counter After execution, the program proceeds to block 276 which branches the program to a particular subroutine for the level corresponding to the pointer obtained by
따라서 제6도를 참조하여 기술한 작동에 있어서 프로그램일 블럭(260)에서 불터 블럭(276)까지 직선적으로 진행된다는 상태를 가정하였다. 시험블블럭(262)에서, 제1코드가 메모리내에서 기억된 키이코드와 동일하지 않다는 것을 결정한다면, 프로그램은 그로부터 제2코드가 메모리와 일치하는지를 결정하는 시험블럭(272)으로 진행될 것이다.Therefore, it is assumed that the program proceeds linearly from the
만약에 제2코드가 메모리와 동일하다면, 프로그램은 먼저 블럭(274)으로 진행된다음 프로그램이 분기되는 블럭(276)으로 진행된다. 전술하지 않은 또다른 상태가 있는데, 그것은 작동을 프로그램이 분기되는 곳인 블럭(276)으로 진행시킨다. 이러한 다른 상태는 다음과 같다.If the second code is the same as the memory, the program first proceeds to block 274 and then to block 276 where the program branches. There is another state not described above, which proceeds operation to block 276 where the program is forked. These other states are as follows.
만약 시험블럭(262)이 제1코드가 메모리와 일치하고 제2코드가 블럭(264)에 의해 결정되는 것과 같이모두 -1이라면, 프로그램은 개방형의 최종키이가 비상키이인가를 결정하는 시험블럭(278)으로 진행할 것이며, 그렇지 않을 경우 프로그램은 삽입된 최종키이가 리페이즈키이인가를 결정하는 시험블럭(280)으로 진행된다. 최종키이가 리페이즈 키이일경우, 프로그램은 제2코드를 메모리에 기입하는 블럭(268)으로 진행된 다음, 블럭(270,272,274)을 지나서 프로그램이 분기되는 블럭(276)으로 진행된다. 상기의 상태는 키이코드 메모리레벨에 모두 1을 기입하므로써 주어진 레벨을 위해 사용할 수 없는 자물쇠를 필요로할 때 얻어지는 것이다. 제6도의 프로우챠트에 따라 시스템의 작동시 또다른 상태가 있는데, 그 상태에서 프로그램은 블럭(276)으로 진행될 것이다. 시험블럭(262)이 제1코드가 메모리와 일치하는 가를 결정하고, 시험블럭(276)이 제2코드가 모두1이 아니다라는 것을 결정하고, 시험블럭(266)이 키이코드 메모리가 모두 1이 아니다라는 것을 결정할 경우, 프로그램은 최종 개방키이가 비상키이인가를 결정하는 시험블럭(278)으로 진행될 것이다. 최종키이가 비상키이일경우, 시험블럭(280)은 삽입된 최종키이가 리페이즈키이인가를 결정한다. 최종키이가 리페이즈키이일경우, 프로그램은 제2코드를 메모리에 기입하는 블럭(268)으로 진행한다음, 블럭(270,272,274)을 경유하여 상기에 기술한 바와 같이 프로그램이 분기되는 블럭(276)으로 진행될 것이다.If the
이 후자의 상태는 메모리가 특정레벨에서 사용치 못하는 자물쇠를 모두 1로 셋트를 시킬 경우 얻어질 수 있다.This latter state can be obtained if the memory sets all locks that are not available at a particular level to one.
그러나 , 시험블럭(274)이 제2코드가 모두 1인 것을 결정하거나 시험블럭(266)이 메모리가 모두 1인 것을 결정하고, 시험블럭 (278)이 최종 개방키이가 비상키이가 아닌 것을 결정하거나, 시험블럭(280)이 최종키이가 리페이즈키이가 아닌 것을 결정할경우, 이것은 자물쇠가 사용한다는 것을 표시하고, 전에 사용치 못한 자물쇠는 리페이즈되지 않는다.However, the
따라서 프로그램은 블럭(278)에서부터 정지루틴(234)으로 진행되어 시스템을 대기상태로 유지한다.Thus, the program proceeds from
제6도의 프로그램에서 프로그램이 시험블럭(272)으로 진행되고, 제2코드가 메모리와 일치하지 않는다는 것을 결정한다면, 프로그램은 에러카운터(239)를 증가시키는 블럭(282)으로 진행할 것이다. 전술한 바와 같이, 에러카운터는 키이가 메모리와 제2코드가 일치하지 않는 자물쇠에 사용되는 횟수를 기록하기 위하여 사용된다. 이것은 맞지않는 키이를 사용하므로써 야기될 수 있거나 제5도의 프로그램에서 참조한바와 같은 오데이터 판독으로부터 야기될 수 있다. 키이가 코드를 일치시키기 위하여 8번의 실패와 함께 여덟번이상 삽입된다면, 아주 성가신 것이다. 이런 이유 때문에 프로그램은 블럭(282)으로부터 에러의 계수가 8이상인가를 결정하는 시험블럭(284)으로 진행된다. 에러계수가 8이하일 경우, 프로그램은 시스템을 대기상태로 있게하여 다음키이를 기다리는 정지루틴(234)으로 진행된다. 만약 에러계수가 8이상이라면 프로그램은 5초가 경과할 때까지 제5도의 클럭(252)에 의한 키이로부터 데이터를 판독치 못하게하기위해 5초동안 작동상태 제어메코리(223)에 있응 지역 타이머를 셋트시키는 블럭(288)으로 진행된다. 에러카운터(230)으로 코드의 일치가 블럭(272)에 의해 결정될 때마다 블럭(274)에서 클리어 된다.If the program in FIG. 6 determines that the program proceeds to the test block 272 and that the second code does not match the memory, the program will proceed to block 282 which increments the error counter 239. As mentioned above, the error counter is used to record the number of times the key is used for a lock whose memory and second code do not match. This may be caused by using a mismatched key or may result from a misreading of data as referenced in the program of FIG. If a key is inserted more than eight times with eight failures to match the code, it is very annoying. For this reason, the program proceeds from
전술한 바와 같이 제6a 및 b도의 프로그램이 블럭(276)에 도달했을 때, 프로그램은 블럭(260)에 의해 얻어진 포인터에 해당한 레벨을 위한 서브루틴으로 분기된다. 상이한 레벨에 해당하는 서브루틴은 이후 기술할 것이다.When the program of FIGS. 6A and 6B reaches block 276 as described above, the program branches to the subroutine for the level corresponding to the pointer obtained by
제5도의 블럭(240)에 입력된 키이가 레벨 1에서 손님수가 1이고 레벨 7에서 손님수가 2인 손님키이일 경우, 프로그램은 제6b도의 블럭(276)에서 제7도의 블럭(300)으로 진행할 것이다. 제7도는 손님키이용 프로그램 또는 서브루틴을 표시한 것이다. 손님키이는 실제데드볼트가 투여되지 않고, 논리 데드볼트가 셋트되지 않거나, 쇄정작동이 금지비트가 입력된 키이의 레벨을 위해 셋트되기 때문에 금지되지 않는한 자물쇠를 열기위한 것이다. 금지비트는 관리인키이를 이미 입력(비개방상태)시키므로써 셋트되어 먼저 손님 키이를 사용하여 열지못하도록 할 수 있다.If the key entered in
그러한 과정은 객실을 출입하는 손님을 보호하기 위해 안전장치로써 이용될 수도 있는데, 관리인키이에 의한 시스템의 작동은 이후 상세히 기술될 것이다. 이러한 관점에 비추어, 관리인 키이(비개방상태)는 금지비트의 모든 것을 금지레지스터(235)에 셋트하는데 효과적이다. 전술한 바와 같이 금지 레지스터는 기술한 바와 같은 자물쇠를 위해서 기능 테이블에 할당된 두 개의 손님레벨 즉 레벨(1,7)만이 있기 때문에 단지 두 개의 능동 금지비트를 갖는다.Such a procedure may be used as a safeguard to protect the guest entering and leaving the room, the operation of the system by the supervisor key will be described in detail later. In view of this, the manager key (non-open state) is effective to set all of the inhibit bits in the inhibit
새로운 손님키이 예컨대, 블럭(240)에 입력된 키이가 할당되었을 때, 만약 그러한 금지비트가 셋트된다면 그 키이는 그의 레벨을 위해 금지비트를 클리어시키도록 작동해야만 한다.When a new guest key is assigned, e.g., a key entered in
손님키이 프로그램은 제7도에 도시되어 있다. 전술한 바와 같이 한 개 이상의 레벨은 손님키이기능을 위해 할당된다. 금지레지스터는 4비트를 내장하는데, 각각의 비트는 손님키이레벨중 하나를 레벨을 위해 선택적으로 셋트될 수도 있다. 따라서 아웃셋에서 금지레지스터는 입력된 손님키이에 해당하는 금지비트를 결정해야만 한다. 이런 목적을 위해서 초기 블럭(300)은 그 자신의 레벨밑에 있는 손님기능을 기능테이블에서 계수한다. 해당금지 비트는 손님 키이레벨과 동일한 상대 위치에 있다. 그때 프로그램은 금지비트가 진행될 키이의 레벨을 위해 셋트되는 가를 결정하는 시험블럭(302)으로 진행된다. 금지비트가 셋트되었을경우, 프로그램은 새로운 플래그가 셋트되는가를 결정하는 시험블럭(304)으로 진행된다. 만약에 새로운 플래그가 셋트되지 않을 경우, 즉, 진행될 키이가 새로운 키이가 아닐 경우, 프로그램은 키이코드가 일치되지만, 도어가 열리지 않을 것이라는 것을 표시하는 황색 LED를 점등하는 블럭(306)으로 진행된다. 시험블럭(304)이 새로운 플래그가 셋트되는 것을 결정할 경우, 프로그램은 진행될 키이의 레벨을 위한 금지 비트를 클리어시키는 블럭(308)으로 진행된다음 논리 데드볼트가 셋트되는가를 결정하는 시험블럭(310)으로 진행한다. 만약에 시험블럭(302)이 금지비트가 셋트되지 않는다는 것을 결정할 경우, 프로그램은 논리 데드볼트가 셋트되는 가를 결정하는 시험블럭(310)으로 직접 진행한다. 논리 데드볼트가 셋트되었을경우, 프로그램은 황색LED를 점등하는 블럭(306)으로 진행한다. 논리 데드볼트가 셋트되지 않았을 경우, 프로그램은 실제데드볼트가 셋트되는가를 결정하는 시험블럭(312)으로 진행한다. 실제데드볼트가 셋트되었을경우, 블럭(306)은 황색 LED를 점등하며 그렇지 않을 경우, 프로그램은 솔레노이드를 활성화시키는 블럭(314)으로 진행된다음, 주기시간이 경과되었는가를 결정하는 시험블럭(316)으로 진행된다. 주기시간이 경과되었을 경우, 프로그램은 정지루틴을 시작하는 블럭(234)으로 직접 진행되는데, 이는 제8도를 참조하여 기술할 것이다. 만약 주기 시간이 다 소요되지 않았다면, 프로그램은 노브가 회전되었는가를 결정하는 시험블럭(318)으로 진행된다. 노브가 회전되지 않았을 경우, 프로그램은 시험블럭(316)으로 궤환되는 반면 노브가 회전되었을 경우에는 정지루틴(234)으로 진행한다.The guest key program is shown in FIG. As mentioned above, one or more levels are allocated for the guest key function. The inhibit register contains 4 bits, each of which may optionally be set for one of the guest key levels. Therefore, in the offset, the forbidden register must determine the forbidden bit corresponding to the entered guest key. For this purpose, the
제8도에는 정치루틴이 도시되어있다. 대체로 정지루틴은 쇄정작동의 최근의 일(history)에 관여된 어떤 데이터를 기록하거나 기억시켜 자물쇠를 대기상태로 위치시키고자 의도한 것이다.In Fig. 8, a political routine is shown. Generally, stop routines are intended to place a lock in standby by recording or storing some data involved in the recent history of the lockout operation.
쇄정메모리에 있는 쇄정작동의 히스토리는 분석, 안전, 또는 진단목적을 위해서 연속적인 메모리 덤프(dump)를 허용한다. 이 메모리덤프는 8개의 개방형키이가 문을 실질적으로 개방하는데 사용하기 위한 식별을 포함한다. 개방반복 카운터(243)는 자물쇠를 개방하는데 사용된 여러개(예컨데, 5개)의 상이한 키이를 위해 최대한 15개까지 도어개방수를 기록하기위해 제공된다. 정지루틴(234)은 노브가 도어를 개방시키기 위해 회전되었는가 즉, 도어가 열렸는가를 결정하는 블럭(328)에서 시작된다. 노브가 회전되지 않았다면, 프로그램은 지연 타이머가 시간을 다소비했는가를 결정하는 시험블럭(329)으로 진행된다. 시간이 종료되었다면, 프로그램은 블럭(334)으로 직접 진행되고 기록 단계를 바이-패스한다. 만약 지연타이머가 시간을 다소 비하지 않았다면, 프로그램은 블럭(328)으로 궤환된다. 블럭(328)이 노브가 회전된 것을 결정한다면, 프로그램은 키이형 레지스터(241)로 부터, 진행될 키이가 문을 개방시키기 위해 사용된 최종키와 동일한 레벨인가를 결정하는 블럭(330)으로 진행된다. 상기의 키이가 최종 키이와 동일한 레벨에 있지 않다면, 프로그램은 반복 카운터(243)를 포함하며 진행될 키이의 레벨을 위해 0을 기록하는 히스토리버퍼내에 새로운 데이터를 편이시키는 블럭(332)으로 진행한다음, 블럭(334)으로 진행한다. 시험블럭(330)에 대한 반응이 예라면, 프로그램은 진행될 키이의 레벨에 관계된 반복 카운터(243)가 15인가를 결정하는 시험블럭(336)으로 진행한다. 반봅 카운터가 15이면, 프로그램은 블럭(334)으로 진행하고, 반복카운터가 15가 아니라면, 프로그램은 카운터를 증가시키는 블럭(338)으로 진행된다음 블럭(334)으로 진행된다. 블럭(334)은 솔레노이드와 LED로 구성된 외부장치에 대한 전력을 차단한다.The history of lockout operations in lockout memory permits a continuous memory dump for analysis, safety, or diagnostic purposes. This memory dump contains an identification for eight open keys to use to actually open the door. An open repeat counter 243 is provided for recording up to 15 door openings for several (eg five) different keys used to open the lock. Stop routine 234 begins at block 328 where the knob is rotated to open the door, i.e., the door is opened. If the knob has not been rotated, the program proceeds to a
그런다음 프로그램은 자물쇠의 현재상태를 기억시키기 위해서 RAM의 상태제어 메모리 (223)에 데이터를 기입하는 블럭(340)으로 진행한다. 이렇게 기억된 상태는 기준데이터로써 이용되어, 자물쇠가 다음에 작동될 때 기억상태를 재차세트 되도록 한다. 블럭(340)을 통과한후에 프로그램은 다음의 키이를 위해 기다리도록 대기상태로 자물쇠를 위치시키는 블럭(342)으로 진행된다. 상기에 기술한 정지루틴은 다른 키이와 연결되어 사용되는데, 그의 작동은 이후 기술할 것이다.The program then proceeds to block 340 which writes data to the state control memory 223 of the RAM to store the current state of the lock. This stored state is used as reference data to cause the lock state to be reset the next time the lock is activated. After passing
종업원키이가 블럭(240)에 입력될 경우, 프로그램은 블럭(276에서 제9도의 프로우챠트에 표시된 종업원키이 서브루틴으로 분기된다. 기능테이블에서 레벨번호 8로 할당된 종업원 키이는 다수의 객실, 예컨대, 호텔의 동일한 층에 있는 모든 객실을 위한 개방키이로서 사용하기위한 것이다. 또한 종업원키이는 그것을 현재 유행하는 것으로 대치할 수 있도록 하기 위해, 자물쇠의 낮은 밧테리상태를 종업원에게 경보하는데 쓰인다.When an employee key is entered in
종업원 키이프로그램은 밧테리가 로우상태인가를 결정하는 블럭(360)에서 시작한다. 밧테리가 로우이면, 프로그램은 전술한 바와같이, 밧테리가 로우상태일동안에 종업원 키이에 의한 도어의 개방횟수를 계수하는 종업원 키이카운터를 증가시키는 블럭(362)으로 진행한다.The employee key program starts at
프로그램은 종업원키이 카운터가 4인가를 결정하는 블럭(364)으로 진행한다. 그 카운터가 4일 경우, 프로그램은 최종키이가 종업원키이인가를 결정하는 시험블럭(366)으로 진행하며, 그렇지 않을 경우, 프로그램은 전술한 바와같이 정지루틴(234)으로 진행하며 다음키이를 위해 기다린다.The program proceeds to block 364 which determines whether the employee key counter is four. If the counter is 4, the program proceeds to a
따라서, 종업원키이의 최초삽입은 솔레노이드가 활성화 되었을때에는 문을 개방할 수 없을 것이며, 문(노브)은 낮은 밧테리와 함께 종업원키이에 의해 4번 개방된다(회전된다). 이런상황하에서 도어를 열기위하여, 종업원키이는 두번 삽입 되어야만 한다. 시험블럭(366)이 최종키이가 종업원 키이임을 결정한다면, 블럭(368)은 적색LED를 점등한 다음, 시험블럭(370)으로 진행한다. 시험블럭(370)은 논리데드볼트가 셋트되었는가를 결정한다. 논리데드볼트가 셋트될 경우, 블럭(372)은 황색 LED를 점등한다. 논리데드볼트가 셋트되지 않을경우, 프로그램은 실제데드볼트가 셋트되었는가를 결정하는 블럭(374)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 블럭(372)은 황색 LED를 점등한다. 실제데드볼트가 셋트되지 않았을 경우, 프로그램은 솔레노이드를 활성화시키는 블럭(376)으로 진행한다음 정지루틴(234)으로 진행한후, 다음 키이를 기다린다. 시험블럭(360)이 밧테리가 하이(high)일때, 프로그램은 종업원 키이카운터를 클리어시키는 블럭(378)으로 진행한다음, 블럭(370)으로 진행하여 상기와 같이 진행한다.Thus, the initial insertion of the employee key will not be able to open the door when the solenoid is activated, and the door (knob) is opened (rotated) four times by the employee key with a low battery. In this situation, in order to open the door, the employee key must be inserted twice. If
관리인 키이가 블럭(240)에 입력된다면, 프로그램은 블럭(276)에서 제10도의 플로우챠트에 도시한 관리인키이 서브루틴으로 분기된다. 관리인 키이는 두개의 상이한 상태 즉, 개방과 비개방상태로 제공된다. 키이의 두가지 상태는 다수의 상이한 자물쇠, 예컨대 호텔의 모든 객실을 위한 자물쇠에 사용되어진다. 관리인 키이의 개방상태는 도어를 개방하는 객실에 들어가기 위해 쓰인다.If a custodian key is entered in
잠금상태는 새로운 손님키이가 문을 여는데 쓰이도록 금지비트를 1로 셋팅하므로써 먼저번의 손님이 사용치 못하도록 쇄정하는데 쓰인다. 관리인 키이 서브루틴은 개방비트(제1문자인 하나의 비트가가 1인가를 결정하는 블럭(390)에서 시작한다. 개방비트가 1일 경우, 키이는 개방상태이며, 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 시험블럭(392)으로 진행한다. 논리데드볼트가 셋트될 경우, 프로그램은 황색 LED를 점등하는 블럭(394)으로 진행된 후 정지루틴(234)으로 진행한다. 논리데드볼트가 셋트되지 않을경우, 프로그램은 블럭(392)으로 부터 실제데드볼트가 셋트되어는가를 결정하는 블럭(396)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등하는 블럭(394)으로 진행한다. 실제데드볼트가 셋트되지 않았을 경우, 프로그램은 솔레노이드를 활성화시키는 블럭(398)으로 진행한다. 시험블럭(390)에서 개방비트가 1이 아니라는 것을 결정할 경우, 프로그램은 모든 금지비트를 1로 셋트시키는 블럭(400)으로 진행한후, 황색LED를 점등하는 블럭(394)로 진행하여 정지루틴(234)으로 진행한다.The lock state is used to lock the first guest from being used by setting the inhibit bit to 1 so that the new guest key can be used to open the door. The custodian key subroutine starts with an open bit (block 390, which determines whether one bit, which is the first character, is 1.) If the open bit is 1, the key is open and the program is set to a logical deadbolt. If the logic dead bolt is set, the program proceeds to block 394, which lights up an amber LED, and then to the
일발키이가 입력 블럭(240)에 입력될 경우, 프로그램은 블럭(276)에서 일발키이 서브루틴으로 분기될 것이다. 이 서브루틴은 제11도의 플로우챠트에 의해 표시된다. 일발키이는 한번씩만 문을 열기위한 목적을 갖는다. 예컨대 그것을 보호되는 객실에 수리공이 한번만 들어가지만, 여러번 연속적으로 들어가지 못하도록 사용될 수 있다. 일발키이 서브루틴은 새로운 플래그가 셋트되는가를 결정하는 시험블럭(410)에서 시작한다. 새로운 플래그가 셋트되지 않을경우, 즉 이 키이가 이미 사용되었을 경우, 프로그램은 정지루틴(234)으로 진행한다. 새로운 플래그가 셋트되면, 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 시험블럭(414)으로 진행한다. 논리 데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등하는 블럭(412)으로 진행하며, 그렇지 않을경우, 프로그램은 실제데드볼트가 셋트되었는가를 결정하는 시험블럭(416)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 황색 LED는 발광하며, 그렇지 않을 경우, 프로그램은 솔레노이드를 활성화 시키는 블럭(418)으로 진행하여 정지루틴(234)으로 진행한다.If a primary key is entered at the
여분의 키이가 입력블럭(240)에 입력되었다면, 프로그램은 블럭(276)에서 제12도의 플로우챠트에 표시된 여분의 서브루틴으로 분기된다. 여분의 키이는 할당영역 또는 객실의 그룹을 위한 지배인 열쇠로 사용하기 위한 키이카드 메모리표에서 레벨 5로 할당된다. 또한 여분의 키이는 메모리표에서 레벨 3으로 할당되며, 그러한 경우, 고장-안전키이, 예컨대, 장비의 고장 또는 호텔에서의 단전과 같은 비상사태로 인하여 발생될 수 없는 손님 키이와 같은 기능을 하는데 쓰인다. 고장-안전 또는 영역이든간에 여분의 키이는 논리 또는 실제데드볼트가 셋트되지 않는 도어를 개방하는 기능을 갖는다. 관리인 키이는 여분의 키이에 의한 개방을 금지하지 않는다.If an extra key has been entered in the
여분의 서브루틴은 논리 데드볼트가 셋트되었는가를 결정하는 시험블럭(430)에서 개시한다. 논리 데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등하는 블럭(432)으로 진행하여 정지루틴(234)으로 진행한다. 논리 데드볼트가 셋트되지 않았을 경우, 프로그램은 실제데드볼트가 셋트되었는가를 결정하는 시험블럭(434)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 황색LED는 발광되며 그렇지 않을경우, 프로그램은 솔레노이드를 활성화시키는 블럭(436)으로 진행하여 정지루틴(234)으로 진행한다.The extra subroutine starts at
비상/리페이즈 키이가 입력블럭(240)에 입력되었을 경우, 프로그램은 블럭(276)으로 진행한 다음 제13도 및 제14도의 플로우챠트에 도시한 비상/리페이즈 키이 서브루틴으로 분기된다. 비상/리페이즈 키이에 대한 두가지 상태가 있다. 비상키이라고 하는 한가지 상태는 키이상에서 부호화된 제1문자의 개방비트 위치에서 1을 갖는 개방상태이다. 리페이즈 키이라고 하는 다른 상태는 비 개방 키이이며, 제1문자의 개방비트에서 0을 갖는다. 비상키이는 실제 또는 논리 데드볼트 상태에 관계없이 문을 개방할 것이다. 비상 키이가 입력되었을 때 논리 데드볼트는 셋트되면, 노브가 회전하지 않을경우, 그것은 셋트상태로 유지된다. 비상키이가 개방키이기 때문에, 노브는 회전되며, 노브가 회전될경우, 비상키이는 논리 데드볼트를 삭제할 것이다. 또한 노브가 회전하므로써 실제데드볼트를 해재시킨다. 논리 데드볼트는 비상키이 이외의 다른 키이에 의해서는 해제되지 않는다.If an emergency / rephase key has been entered into the
비상/리페이즈키이 서브루틴은 논리 데드볼트를 셋트하는 블럭(450)에서 시작한다. 프로그램은 키이가 개방상태 인가를 결정하는 시험블럭(452)으로 진행한다. 키이가 개방상태가 아닐경우, 프로그램은 제14도의 리페이즈 서브루틴으로 분기된다. 개방상태일 경우, 프로그램은 솔레노이드를 활성화하는 블럭(454)에서 시작하는 비상 서브루틴으로 진행한다. 프로그램은 황색 LED를 점등하는 블럭(456)으로진행되며, 이것은 솔레노이드가 도어를 열기위하여 활성화되었지만 노브는 회전되지 않는다는 것을 표시한다. 프로그램은 주기가 종료되었는가를 결정하는 시럼블럭(458)으로 진행한다.Emergency / Replace Key This subroutine starts at
주기가 종료되었다면, 프로그램은 정지루틴(234)으로 진행한다. 주기가 종료되지 않았다면, 프로그램은 노브가 회전되었는가를 결정하는 블럭(460)으로 진행한다. 노브가 회전되지 않았을 때, 프로그램은 블럭(458)으로 궤환된다. 노브가 회전되었을 경우, 프로그램은 논리 데드볼트를 클리어시키는 블럭(462)으로 진행한 다음, 초록색 LED를 세번 점등하는 블럭(464)으로 진행한후 정지루틴(234)으로 진행하여다음 키이를 기다린다.If the cycle has ended, the program proceeds to stop routine 234. If the cycle has not ended, the program proceeds to block 460 which determines if the knob has been rotated. When the knob is not rotated, the program returns to block 458. If the knob is rotated, the program proceeds to block 462 to clear the logic deadbolt, then to block 464 to illuminate the green LED three times, and to the
비상키이는 고도로 안전하게 객실을 쇄정하는 데 사용된다. 예컨데, 손님이 객실에 귀중품을 갖고 있어서 종업원 키이, 관리인 키이와 같은 것으로 자물쇠를 열지않도록 하고자 할 경우, 호텔 관리인은 비상키이를 사용할 수 있으며, 노브를 회전시키지 않고서도 주기시간을 끝나지 않도록 한다. 이것은 논리 데드볼트의 셋트를 해제시키며 비상키이가 취출된 후에 셋트상태를 유지할 것이다.The emergency key is used to lock the room in a highly secure manner. For example, if a guest has valuables in the room and would like to avoid opening the lock with an employee key or a manager key, the hotel manager can use the emergency key and not end the cycle without turning the knob. This will release the set of logic deadbolts and will remain set after the emergency key is taken out.
이런 상태에 있어서 어떠한 다른 키이도 개방기구를 작동시킬 수 없을 것이다. 손님이 쇄정작동을 복귀하고자할 경우, 비상키이는 호텔 경영자에 의해 삽입되어 노브는 문을 개방하도록 회전된다. 이것은 자물쇠를 대기상태로 위치시키며 다음 키이를 기다린다.In this state no other key will be able to actuate the opening mechanism. When the guest wishes to return to the lockout operation, the emergency key is inserted by the hotel manager and the knob is rotated to open the door. This puts the lock on hold and waits for the next key.
리페이즈 키이는 새로운 키이코드를 메모리의 소정레벨로 자물쇠에 기입하는데 사용된다. 일반적으로 자물쇠는 리페이즈 키이를 자물쇠에 삽입하고 그 키이를 제거한 다음 키이코드 메모리로 판독되는 키이코드로 부호화되는 소정의 다른 키이를 삽입함으로써 사용된다. 이것은 키이의 제2코드가 상기 키이에 대응하는 레벨에서 키이코드 메모리에 기입되는 최초로 사용되는 손님 키이와 유사한 순서로 행해진다.The phase key is used to lock the new keycode to a predetermined level of memory. Generally, a lock is used by inserting a phase key into the lock, removing the key, and then inserting some other key encoded with a keycode that is read into the keycode memory. This is done in a similar order to the first guest key used, where the second code of the key is written to the keycode memory at the level corresponding to the key.
리페이즈 서브루틴은 제14도로 참고로하여 기술하겠다. 비상/리페이즈 키이 프로그램은 키이가 비 개방상태 즉 리페이즈 키이라고 설정될 때 블럭(452)에서 분기된다. 리페이즈 서브루틴은 리페이즈 키이가 최초로 사용된 키이인가를 결정하는 블럭(480)에서 시작한다. (리페이즈 키이가 연속적으로 2회 사용될 때 반복 카운터(243)를 포함하는 RAM메모리는 마이크로컴퓨터 상의 단자를 경유하여 분석용 포터블 컴퓨터로 덤프된 다음, 프로그램은 황색 LED를 점등하는 블럭(482)으로 진행한다.) 만약 이것이 처음으로 사용될 키이일 경우, 프로그램은 나머지 사이클 시간을 4배로 확장하는 블럭(484)으로 진행된다음 확장된 사이클 시간이 종료되었나를 결정하는 시험블럭(488)으로 진행한다. 사이클 시간이 종료되었다면, 프로그램은 사용된 리페이즈 키이의 기록을 소거하는 블럭(490)으로 진행한다. 만약 상기 사이클 시간이 종료되지 않았다면, 프로그램은 또다른 키이가 입려되었는지의 여부를 결정하는 블럭(492)으로 진행한다. 또다른 키이가 입력되지 않았다면, 프로그램은 시험블럭(488)으로 궤환된다. 만약 또다른 키이가 삽입되었다면, 프로그램은 제2코드가 모두 1인지를 판정하는 블럭(494)으로 진행한다. 결과가 예스이면 프로그램은 현재대로 기술해야 할 시험블럭(498)으로 진행한다. 그렇지 않으면, 프로그램은 키이코드 메모리가 모두 1인지를 판정하는 블럭(496)으로 진행한다.The phase subroutine will be described with reference to FIG. The emergency / replace key program is branched at block 452 when the key is set to a non-open state, that is, a reverse key. The phase subroutine starts at
답이 예스이면 프로그램은 비상키이가 문을 여는 최종 키이인지를 판정하는 블럭(498)으로 진행한다. 비상키이가 아닐 경우 프로그램은 정지루틴 (234)으로 진행한다. 비상키이일 경우,프로그램은 새로운 키이코드를 메모리에 기입하는 블럭(500)으로 진행한다. 만약 블럭(494, 496)양자의 답이 모두 노이면, 프로그램은 새로운 코드를 메모리에 기입하는 블럭(500)으로 직접 진행한다.If the answer is yes, the program proceeds to block 498, where the emergency key is the last key to open the door. If it is not an emergency key, the program proceeds to stop routine 234. If it is an emergency key, the program proceeds to block 500 where the new key code is written to memory. If both blocks 494 and 496 answer both no, the program proceeds directly to block 500 where the new code is written to memory.
본 발명의 제2실시에는 제15도 내지 제21도에 도시되어있다. 본 발명의 제2실시에는 제1실시에를 참조하여 기술된 펀치 카드키이와는 달리 자기 키이를 특징으로 한다. 제15도에 도시된 바와 같이 자기키이(508)는 자기밴드가 띠를 부착하기에 적합한 불투명 플라스틱 재료로 만든 카드(510)로 구성된다. 자기 띠(512)는 두개의 기록트랙(514, 516)을 갖으며, 스테레오 기록 테이프의 성질이 있다. 각각의 트랙은 애널로그 신호형태로 자기포올(poie)열을 타나태는 파상의 자계로서 기록된다. 각각의 트랙은 20비트정보를 나타내는 자기신호로서 부호화된다. 다음에 기술되는 바와같이, 자기 키이(508)는 트랙(512,513)의 자기 신호를 전기 신호로 변환하는 키이 판독기에 의하여 읽혀진다.A second embodiment of the present invention is shown in FIGS. 15 to 21. FIG. The second embodiment of the present invention is characterized by a magnetic key, unlike the punch card key described with reference to the first embodiment. As shown in FIG. 15, the magnetic key 508 consists of a
제1실시예에서와 같이 자물쇠는 8개의 상이한 키이 기능을 사용하기 에 적합하다. 그러나, 8개의 이상의 상이한 형태의 키이기능은 단지 8이 일시예 자물쇠에 프로그램 될지라도 이용가능하다. 다음과 같은 상이한 형태의 키이가 프로그램 될 수도 있다.As in the first embodiment, the lock is suitable for using eight different key functions. However, more than eight different types of keying functions are available even if only eight are programmed in a temporary lock. Different types of keys may be programmed as follows.
키이 형태 A : 개방과 비개방, 및 순차와 비순차 즉 일반적인 사용 또는 마스터 키이 페벨을 위한 정상동작, 다른 모든 키이형태는 주지된 바와 같이 특별기능을 제외하고는 상기와 같이 동작한다.Key Form A: Open and unopened, and sequential and non-sequential ie normal operation for normal use or master key Pevel, all other key forms operate as above except for special functions as is well known.
키이-형태 B : 단일 입력 일발(one-shot)"단지 1회만 문을 개방시킨다. 내부 플래그는 띠의 코드당 단지 1작동만을 허용하도록 메모리에 유지된다. 객실에 단지 한번만 출입할 필요가 있는 서어비스 요원을 위해 사용됨.Key-type B: single input "one-shot" only opens the door once. An internal flag is held in memory to allow only one operation per code of the strap. A service that only needs to enter the room once. Used for personnel.
키이형태 C : 정상적인 손님용, 비개방 관리인 키이는 현재 작동하는 손님 레벨을 금지(폐쇄)하는데 사용될 수 있다. 내부 플래그는 4개의 상이한 손님 레벨까지 금지하는데 사용된다. 즉 순차형 카드는 객실에 접근하는데 사용되는 다음 카드이어야만 한다. 새로운 손님카드가 자물쇠에 시이퀸스될때, 그 손님레벨은 여전히 금지된 다른 손님 레벨로 다시 활성화 된다. 금지된 손님 키이의 사용은 황색 LED를 점등할 뿐이다.Key Form C: A normal guest, non-open manager key can be used to prohibit (close) the currently active guest level. Internal flags are used to prohibit up to four different guest levels. The sequential card must be the next card used to access the cabin. When a new guest card is sequenced to the lock, the guest level is still reactivated with another forbidden guest level. The use of prohibited guest keys only lights the yellow LED.
키이-형태 D : 관리인 기능, 개방상태는 정상적으로 동작한다. 비 개방상태는 현재의 모든 손님 레벨카드를 금지할 것이다. 새로운 손님 카드가 시이퀸스 되기 전에 나간 (check-out)고객을 금지하기 위해 사용됨, 정상적 손님 또는 수행원과 같은 4개 이상의 레벨이 동시에 금지됨.Key-type D: Manager function, open status works normally. Non-open status will prohibit all current guest level cards. Used to prohibit a check-out customer before a new guest card is sequenced. Four or more levels, such as a normal guest or attendant, are prohibited at the same time.
키이-형태 E : 종업원/저 밧테리 키이. 저 밧테리 금지기능의 특별 효과를 갖는 종업원에 의하여 접근하기 위하여 정상적으로 사용됨, 종업원 키이가 저 밧테리로 상이하게 4번 문을열기 (즉 손잡이를 돌림) 위하여 사용될 때, 키이는 문을 개방하기 위하여 순차적으로 2회 삽입된다. 그 목적은 종업원에게 밧테리를 교체할 필요성이 있다는 것을 알려주기 위한 것이다. 만약 저 밧테리 금지 기능이 정상적이고, 자물쇠가 잠겼다면, 종업원 키이의 최초 삽입은 저 밧테리 표시기를 초기화할 것이다.Key-Form E: Employee / Low Battery Key. Normally used for access by employees with the special effect of the low battery prohibition function, when an employee key is used to open the
키이-형태 F : 비상/리페이즈. 이것은 가장 안전한 키이이며 키이가 삽입되고 노브가 회전하지 않으면 논리 데드볼트 상태를 확인할 것이다. 개방상태는 비상 키이로 잔주되고, 실제 또는 논리 데드볼트 상태에 관계없이 항상 문을 개방할 것이다. 키을 삽입하고 도어노브를 돌리면 논리 데드볼트가 해제될 것이다. 이 키이의 비 개방상태는 리페이즈 키이로 간주된다. 이 키이의 삽입은 논리 데드볼트를 확인하지만, 손잡이는 논리 데드볼트를 해제토록 회전할 수 없다. 이 키이는 새로운 키이코드를 키이코드 메모리에 부하시킨다. 만약, 특정의 메모리 레벨이 모두 1인코드에 의하여 금지되었다면, 리페이즈 키이는 새로운 키이코드를 부하하도록 하는 비상키이에 의하여 진행되어야만 한다. 비상키이와 리페이즈 키이의 순차적인 사용은 상기 레벨의 사용을 금지하도록 소정 레벨에서 모두 1인 코드로 페이즈될 것을 요구한다.Key-Form F: Emergency / Repaid. This is the safest key and if the key is inserted and the knob does not rotate it will check the logic deadbolt status. The open state remains as an emergency key and will always open the door regardless of the actual or logical deadbolt state. Insert the key and turn the door knob to release the logic deadbolt. The non-open state of this key is considered to be a phase key. Insertion of this key confirms the logical deadbolt, but the handle cannot rotate to release the logical deadbolt. This key loads the new keycode into keycode memory. If a particular memory level is all forbidden by one encoding, the phase key must be advanced by an emergency key that causes a new key code to be loaded. Sequential use of the emergency key and the phase key requires that the code be phased to 1 for all at a given level to prohibit the use of that level.
키이-형태 G : 안전 A : 이 키이는 안전의 정확도를 위하여 2개의 키이 시이퀸스중 제1시이퀸스 이다. 저방 상태는 논리 데드볼트를 확보하지만 비 개방 상태는 그렇지 못하다. 이것은 자물쇠를 데드 볼트하지 않고서도 새로운 안전 키이의 시퀸스를 허용한다.Key-type G: Security A: This key is the first of two key sequences for safety accuracy. The low state secures a logical deadbolt, but the non-open state does not. This allows a sequence of new safety keys without dead bolting the lock.
키이-형태 H, 안전 B : 이 키이는 안전의 정확도를 위하여 2개의 키이 시퀸스 중 제2시이퀸스이다. 이 키이는 문이 열리도록 하기위해서 안전 A키 이후에 정상적 사이클 시간내에 삽입되어야만 한다. 이키의 개방상태는 데드볼트상태에 무관하게 자물쇠를 개방하고, 사용후에는 논리 데드볼트 상태를 확보한다. 비개방상태는 필요하다면 새로운 키이를 시이퀸스할 수 있으며 데드볼트를 확보하지 못한다. 안전 A-안전 B키이 시이퀸스를 가진 도어자물쇠의 작동은 단지 안전 B가 도어록 히스토리에 기록된다.Key-type H, safety B: This key is the second of the two key sequences for safety accuracy. This key must be inserted within the normal cycle time after the safety A key to allow the door to open. This key is unlocked regardless of the dead bolt state, and secures the logical dead bolt state after use. The non-open state can sequence new keys if necessary and will not secure deadbolts. Safety A-Safety B The operation of the door lock with this sequence only safety B is recorded in the door lock history.
키이-형태 I, 비동작. 상기의 비동작 키이는 레벨을 비활성 상태, 즉 상기 레벨을 비상용 상태로 프로그램하는데 사용된다. 키이는 비활성 레벨을 위해 작동치 않는다. 상기 레벨은 전원 공급 및 재프로그램에 의하여서만 작동될 수 있다. 키이는 금지 레벨에서 동작되지 않을 것이다.Key-type I, non-operating. The non-operation key is used to program the level into an inactive state, i. Keys do not work for inactive levels. The level can only be activated by powering and reprogramming. The key will not operate at the inhibit level.
키이-형태 J, 호텔통과 : 이것은 카드 키이 레벨코드와 호텔 코드만을 일치시키므로써 도어쇄정 작동을 허여하도록 프로그램 할수 있는 사용기능이다. 즉 제1또는 제2키이코드의 일치를 필요로하지 않는다. 전형적인 용도는 손님이 수영장, 오락실과 같은 호텔지역에 출입하는 것을 포함한다.Key-type J, Hotel Pass: This is a useable function that can be programmed to allow door lock operation by matching the card key only with the level code and hotel code. That is, it does not require matching of the first or second key codes. Typical uses include access to hotel areas such as swimming pools and game rooms.
기술한 바와 같이 키이상의 기록코드는 데이터의 두개의 병렬 스트림에서 키이로부터 판독한다. 상기 목적을 위하여 자기 키이판독기(520)가 제16도 개략도에 도시된 바와같이 제공된다. 자기 키이판독기는 키이의 자기띠상의 기록 트랙(514,516)과 각각 상호 작동하는 한쌍의 자기 테이프 판독 헤드(522,524)로 구성된다. 판독 헤드(522,524)는 종래의 스트레오 픽업 또는 판독 헤드이다. 자기 판독 헤드(522,524)는 전압원 양단에 접속된 전압 분배기 (526)와 접속된다. 판독 헤드(522)의 출력은 차동증폭기(528)의 입력에 접속되고, 상기 증폭기의 출력은 에널로그-디지탈(A/D)변환기 (532)의 입력에 접속된다. A/D변환기(532)출력은 마이크로컴퓨터(112)의 데이터 핀(Do)접속된다. 유사하게 판독 헤드(524)의 출력은 차동증폭기(534)의 입력에 접속된다. 상기 증폭기의 출력은 애널로그-디지탈(A/D)변환기 (536)의 입력에 접속되고, 그의 출력은 마이크로컴퓨터(12)의 보조클럭(AUX CLK) 핀과 데이터 핀(D1,D2,D3)에 접속된다. 제2a 및 b도를 참고하여기술한 바와 같이, 키이 판독기(38)는 키이를 완전히 삽입했을 때에는 폐쇄 상태로 작동하여 키이를 취출했을 때에는 개방 상태로 작동하는 키이 스위치(58)를 포함한다. 따라서 키이상의 기록 트랙(514,516)으로 부터 자기 판독헤드(522,524)에 의하여 발생하는 데이터 스트림은 키이의 취출시 마이크로컴퓨터에서 판독된다. 키이 동작은 신호전압을 각각의 트랩(514,516)상의 기록된 자기신호에 따라 판독 헤드 (522,524)에 유도되도록 한다. 상기 신호는 증폭기(528,534)에 의하여 각각 증폭되어 향상된 애널로그 전압신호를 발생한다. 증폭기(528,534)로 부터의 애널로그 신호는 A/D변환기(532,536)에 의하여 처리되어 대응하는 디지털 신호를 발생한다. A/D변환기(532)의 출력은 20비트의 직렬 비트 스트림을 트랙(514)에 기록된 데이터에 대응하는 데이터 핀(Do)에 공급한다. 유사하게 변환기(536)의 출력은 20비트의 직렬비트 스트림을 트랙(516)에 기록된 데이터에 대응하는 마이크로컴퓨터에 공급한다.As described, the write code above the key reads from the key in two parallel streams of data. For this purpose a magnetic
기술한 바와 같이 마이크로컴퓨터(112)는 스트림당 20비트를 갖는 직렬비트 데이터의 2개의 병렬 스트림으로 자기 키이로부터 코드를 수신한다. 마이크로컴퓨터의 ROM(215)은 키이코드의 다음 처리를 위하여 입력되는 코드 스트림을 리포맷(reformat)하도록 프로그램 제어하에 동작하는 디코더를 포함한다. 특히, 그디코더는 2개의 직렬 비트 스트림을 키이코드 메모리 (217)에 기억된 코드와 비교하기 위하여 기억 포맷을 변환한다 설명을 위하여 키이로부터 판독된 코드 데이터는 디코더에 의하여 리포맷되어 그것이 제어코드계, 호텔코드계, 및 제1 및 제2키이 코드계를 구성하도록 한다. 제어코드는 4비트 문자로 구성되는데 그 중의 3비트는 키이의 기능 또는 레벨을 표시하고 4번 째 비트는 "1"일때 개방키이로서 정의되며, "0"일때 비개방 키이인 키이를 한정하도록 한 개방키이이다. 호텔코드는 호텔을 판별하고 다음에 기술될 호탤통과 코드의 기능을 하는 4비트 문자를 포함한다. 자물쇠용 제1키이 코드는 16비트 문자로 구성되고, 자물쇠용 제2키이 코드는 다른 16비트 문자로 구성된다. 기억된 키이코드의 배열은 제2c도를 참고하여 기술된 것과 유사하다.As described, microcomputer 112 receives code from its own key in two parallel streams of serial-bit data having 20 bits per stream. The microcomputer's ROM 215 includes a decoder that operates under program control to reformat the incoming code stream for subsequent processing of the keycode. In particular, the decoder decodes the storage format to compare the two serial bit streams with the code stored in the
본 발명의 제2실시예에서, 마이크로컴퓨터와 외부 회로와의 접속은 제16도를 참고하여 기술된 자기 키이 판독기(520)를 받아들이는 것을 수정한 점을 제외하고는 제3a, b 및 c도를 참고하여 기술한 것과 동일한다. 마이크로컴퓨터(112)의 프로그래밍과 동작은 아래에 기술한 것을 제외하고는 전술한 것과 동일하다.In the second embodiment of the present invention, the connection of the microcomputer with the external circuit is shown in Figs. 3a, b and c except that it has modified the acceptance of the magnetic
자기 키이를 사용한 쇄정인 본 발명의 제2실시예는 여러가지 이유에서 제1실시예보다 더 높은 안전도를 갖는다. 첫째, 키이자체상의 자기 부호화는 쉽게 조사될 수 없으며 재구성 또는 복사가 어렵다. 둘째, 개시 프로그램은 다수의 키이를 갖는 특정 시이퀸스를 필요로 한다. 특히, 쇄정이 콜드 개시로부터 시작될 때, 최소한 11개의 키이가 자물쇠를 열기 위하여 적당한 순거대로 사용되어야만 한다. 셋째 프로그래밍 키이는 기능이 무엇을 요구할지라도 소정의 레벨이 할당되는 것을 허락한다. 더욱이 더높은 안전도가 코드처리를 해야함으로써 제공된다. 특히, 직렬 비트스트림을 기억 포맷으로 리포맷하는 디코더는 마이크로컴퓨터칩의 내부에 있으며, 마이크로컴퓨터의 단자를 통하여 억세스하는 경우를 제외하고 억세스할 수 없다. 상기의 특징은 행에서 8개의 오판독후에 종류요구와 각각의 키이용 키이 스위치의 동작을 위한 요구 및 정 키이코드를 명중한 후에 시간 제한내에 손잡이를 돌려야 하는 조건등이 제1실시예에 관하여 기술된 것을 추가된다.The second embodiment of the present invention, which is locked with a magnetic key, has a higher degree of safety than the first embodiment for various reasons. First, self-coding on the key itself cannot be easily investigated and difficult to reconstruct or copy. Second, the initiation program requires a specific sequence with multiple keys. In particular, when a lockout commences from cold initiation, at least 11 keys must be used in the proper sequence to unlock. The third programming key allows a certain level to be assigned whatever the function requires. Furthermore, a higher degree of safety is provided by code processing. In particular, a decoder for reformatting a serial bitstream into a storage format is inside a microcomputer chip and cannot be accessed except when accessing it through a terminal of the microcomputer. The above features are described in relation to the first embodiment after the eight misreads in a row, the type request, the request for the operation of each keyed key switch, and the condition of turning the knob within the time limit after hitting the correct key code. Is added.
본 발명의제2실시예의 개시과정은 제17a도 및 b도의 플로우 챠트에 도시되었다. 개시과정은 제1 및 제2개시 키이를 순차적으로 입력할 것을 요구하며 레벨의 할당 수단으로서 프로그래밍 키이의 선택적 사용 즉 키이코드메모리내의 할당된 레벨을 정의 또는 재정의를 특징으로 한다. 작동시스템 개시 블럭(610)은 마이크로컴퓨터와 전자 제어회로에 전원에 공급하도록 동작한다.The initiation process of the second embodiment of the present invention is shown in the flow charts of Figs. 17a and b. The initiation process requires the input of the first and second initiation keys sequentially and is characterized by the selective use of programming keys as a means for assigning levels, i.e. defining or redefining the assigned levels in the keycode memory. The operating system initiation block 610 is operative to supply power to the microcomputer and the electronic control circuit.
상기 전원공급상태는 쇄정 회로의 밧테리를 접속할 때 일어나며 시스템의 콜드스타트를 구성한다. 전원 공급이 이루어졌을때 프로그램은 시스템의 어느 부분이 고장났는가를 판별하는 시험블럭(612)으로 진행한다. 고장났다면, 개시블럭(610)으로 궤환되고, 그렇지 않다면 프로그램은 입력 블럭(614)으로 진행하여 키이의 삽입을 기다린다. 키이가 삽입되면 프로그램은 삽입된 키이가 제1개시 키이인지를 판정하는 시험블럭(616)으로 진행한다. 삽입된 키이가 개시키이가 아닐 경우, 프로그램은 블럭(614)으로 복귀하여 또다른 키이를 기다린다. 삽입된 키이가 개시키이면, 프로그램은 입력블럭(618)으로 진행하며 다른 키이의 삽입을 기다린다. 어떤 키이가 삽입될때, 시험블럭(622)은 그 키이가 제2개시 키이인지를 판정한다. 삽입된 키이가 제2개시 키이가 아닐경우, 프로그램은 입력 블럭(614)으로 복귀하고, 그 키이가 제2개시 키이면, 프로그램은 입력 블럭(624)으로 진행하여 다른 키이를 기다린다. 키이가 삽입될 때 시험블럭(626)은 고장/리페이즈 키이인가를 판정한다. 그 키이가 고장/리페이즈 키이일경우, 프로그램은 예컨데 본발명의 제1실시예를 참고하여 기술한 것과 동일한 불이행 구성을 설정하는 블럭(628)으로 진행한다.The power supply state occurs when the battery of the locking circuit is connected and constitutes a cold start of the system. When power is applied, the program proceeds to a
삽입된 키이가 고장/리페이즈 키이가 아니면, 프로그램은 삽입된 키이가 유효 프로그램 키이인지를 결정 하도록 진행한다. 프로그래밍 키이는 기능 테이블(219)에서 상이한 레벨로 소망하는 키이기능으로써 미리 기입된다. 프로그래밍 키이가 마이크로컴퓨터에 의해 검사될 때 일정한 기준을 만족한다면, 프로그래밍 키이는 기능 테이블에서 모든 8레벨을 셋트하도록 동작하며, 4비트제어 코드로 개방비트 구성을 할당한다. 제1실시예에서와 같이, 제어코드의 4비트중 3비트가 8개의 상이한 레벨 중 하나를 정하고, 나머지 한 개의 비트는 그것이 개방 또는 비개방 키인지를 정한다. 제2실시예에서, 개방 비트는 4비트 위치중 어느 하나에 위치할 수 있다. 미리 기입된것과 같이, 입력 키이가 유효 프로그램 키이인지를 판정하기 위하여 시험블럭(624)에서 개시되는 일련의 시험에 의해 검사된다. 시험블럭(634)은 제1열, 즉 4비트 제어코드에 한 개의 1비트만 존재하는지를 판정하여 다음의 쇄정 프로그램에서 단지 1개방 비트만이 지정되게 한다.If the inserted key is not a fault / replace key, the program proceeds to determine if the inserted key is a valid program key. The programming keys are pre-written as desired key functions at different levels in the function table 219. If the programming key meets certain criteria when examined by the microcomputer, the programming key operates to set all eight levels in the function table, assigning an open bit configuration to the 4-bit control code. As in the first embodiment, three of the four bits of the control code define one of eight different levels, and the other one determines whether it is an open or non-open key. In the second embodiment, the open bit may be located in any one of the four bit positions. As noted previously, a series of tests initiated in test block 624 are checked to determine if the input key is a valid program key. The test block 634 determines whether there is only one 1 bit in the first column, that is, the 4-bit control code, so that only one open bit is designated in the next decision program.
시험 블럭(634)이 제1열 1비트이상이 존재하는지를 판정한다면, 프로그램은 불이행 구성을 설정하는 블럭(628)으로 진행한다. 단지 한 개의 1비트만 존재한다면, 프로그램은 하나 및 단지 하나의 비상 키이 할당이 프로그램 키이내에 존재하는 지를 판정하는 시험블럭(636)으로 진행한다. 한개의 비상키이가 없거나 한개 이상의 비상키이가 있을 때, 프로그램은 불이행 구성을 설정하는 블럭(628)으로 진행한다. 단지 한 개의 비상키이가 존재한다면, 프로그램은 적어도 하나이 종업원 키이 할당이 존재하는지를 판정하는 시험블럭(638)으로 진행한다. 한 개 이상의 종업원 키이가 없다면, 불이행 구성은 블럭(628)에 설정된다. 1개 이상의 종업원 키이가 할당된다면, 프로그램은 적어도 한 개의 안전 A또는 적어도 안전 B키이 중 어느하나가 프로그래밍 키이에 의하여 할당되는가를 결정하는 시험블럭으로 진행한다. 안전 A또는 B가 할당되지 않았을 경우, 프로그램은 블럭(644)으로 진행한다. 블럭(644)은 새로운 구성을 할당하도록 동작한다. 시럼블럭(642)이 프로그래밍 키이가 적어도 하나의 안전 A또는 안전 B키이를 할당하는지를 판정하면, 프로그램은 시험블럭(646)으로 진행한다. 시험블럭(646)은 안전 A또는 안전 B의 보수가 할당되었는지 즉 둘중 다른것인지를 판정한다. 할당되지 않았을 경우, 프로그램은 불이행 구성을 설정하는 블럭(628)으로 진행한다. 보수가 블럭(646)에 의하여 발견되었을 경우, 프로그램은 새로운 구성을 할당하는 즉 8개의 상이한 레벨중 각각의 레벨에 대한 키이 기능이 프로그래밍 키이에 미리 기입되었나를 설정한 블럭(644)으로 진행한 다음 키이입력을 기다리는 입력 블럭(652)으로 진행한다. 상기 시점에서 8문자 기능 테이블(219)은 블럭(644)에 의하여 기입되고, 8개의 키이레벨의 소망구성을 설정한다. 그것이 개시 처리단계에 남아있어 8개의 상이한 키이기능 할당과 대응하는 8개의 상이한 레벨에 키이 코드로서 키이 코드메모리 (217)에 부하한다. 이러한 목적을 위해서 개시 시이퀸스에 요망하는 다음 키이는 리페이즈 키이다.If the test block 634 determines whether more than one bit of the first column exists, the program proceeds to block 628 which sets a default configuration. If there is only one 1 bit, the program proceeds to test block 636 which determines if one and only one emergency key is present within the program key. When there is no one emergency key or more than one emergency key, the program proceeds to block 628 which sets the default configuration. If there is only one emergency key, the program proceeds to test block 638 which determines whether at least one employee key assignment exists. If there is no more than one employee key, the default configuration is set at
키이가 입력블럭(652)에 입력되었을 때 프로그램은 삽입된 키이가 프로그래밍 키이에 의하여 할당되는 레벨에 따른 레벨 지정을 갖는 리페이즈 키이인지를 판정하는 시험블럭(654)으로 진행한다. 그것이 리페이즈 키이가 아닐 경우, 프로그램은 입력 블럭(652)으로 복귀하여 다른 키이를 기다린다. 그것이 리페이즈 키이일 경우, 프로그램은 리페이즈 키이의 삽입에 반응하여 논리 데드볼트를 셋트하는 블럭(656)으로 진행한 다음 리페이즈 키이에서 자물쇠의 호텔 코드 메모리에 내장된 호텔 코드에 기입함으로써 호텔 코드를 할당하는 블럭(658)로 진행한다.When a key is entered into the
입력블럭(662)에서 시스템은 키이입력을 기다린다. 개시 처리의 상기 시점에서 자물쇠는 할당된 메모리 레벨에 따라 기능 테이블(219)에 의하여 사용되는 것과 동일한 포인터에 의하여 지정되는 위치에서 키이코드 메모리(217)에 기입된 키이코드를 할당하기 위하여 준비상태에 놓인다. 키이코드를 메모리에 시입하는 페이즈-인(phase-in)처리는 자물쇠에 프로그램된 키이의 순차적인 삽입에 의하여 수행된다. 키이 삽입의 상기 시이퀸스는 리페이즈 키이레벨의 다음 레벨에 할당된 키이에 의하여 개시되어야만 한다. 시이퀸스는 키이 레벨의 숫자순서로 계속되며, 레벨(7)에 도달했을 때 시이퀸스는 레벨(0)로 계속된다. 상기 페이즈-인시이퀸스는 리페이즈 키이보다 더 높은 다음 레벨을 갖는 키이를 입력시킴으로써 블럭(662)에서 개시된다. 그때 프로그램은 페이즈-인 시이퀸스의 처리를 나타내는 블럭(664)으로 진행하여 키이의 정 레벨이 삽입되었는지를 확인한다. 키이의 정 레벨이 삽입되지 않을 경우, 프로그램은 블럭(662)으로 복귀한다. 키이가 정 레벨에 있으면, 블럭(664)은 키이 로부터의 제2키이코드를 키이상에서 부호화된 키이레벨 코드에 대응하는 위치, 또는 레벨에서 코드메모리(217)에 기입되게 한다. 그런다음, 프로그램은 정지루틴(234)으로 진행하며, 시스템은 대기상태에 놓인다. 그후, 시험블럭(666)은 키이의 모든 레벨이 페이즈-인 되었는지를 판정한다.At input block 662 the system waits for keystrokes. At this point in the initiation process, the lock is in a ready state for allocating the keycode written in the
모든 레벨일 페이즈-인 되지 않았을 경우, 프로그램은 블럭(662)으로 복귀하여 다른 키이의 삽입을 기다린다. 모든 레벨이 수행되어졌을 때, 프로그램은 입력블럭(668)으로 진행하여 다른 키이의 입력을 기다린다. 프로그램의 상기 시점에서 자물쇠에는 소정의 키이가 입력되어, 논리 데드 볼트가 설정되었기 때문에 문이 열릴 수 없다는 것을 제외한 정상 기능에 따라 프로그램이 진행된다. 할당된 키이에 의하여 문을 용이하게 개방시키기 위해서 자물쇠는 비상키이가 요구된다. 키이가 블럭(668)에 입력되었을 때, 프로그램은 입력된 키이가 비상 키이인지를 결정하는 시험블럭(672)으로 진행한다. 그 키이가 비상키이가 아닐 경우, 프로그램은 입력블럭(668)으로 복귀하여 다른 키이를 기다린다. 그 키이가 비상키이일 경우, 프로그램은 자물쇠의 손잡이가 회전될 경우, 논리 데드볼트를 크리어하는 블럭(674)으로 진행한다. 프로그램은 블럭(674)을 지난 다음 정지루틴(234)으로 진행하며 자물쇠는 대기상태에 놓인다. 전술한 개시 처리는 자물쇠가 문에 설치될 때 사용하도록 공정에서 실행된다. 그러나 그것을 설치된 후에 실행할 수도 있으며, 개시절차는 쇄정이 성가시거나 밧테리가 단선될 경우와 같은 단전의 경우에 사용되어야만 한다.If all levels have not been phased in, the program returns to block 662 and waits for insertion of another key. When all levels have been performed, the program proceeds to input block 668 and waits for input of another key. At this point in the program, a predetermined key is input to the lock, and the program proceeds according to the normal function except that the door cannot be opened because the logical dead bolt is set. The lock requires an emergency key to easily open the door by the assigned key. When the key is entered at block 668, the program proceeds to test block 672 which determines whether the entered key is an emergency key. If the key is not an emergency key, the program returns to input block 668 and waits for another key. If the key is an emergency key, the program proceeds to block 674 that clears the logical deadbolt when the handle of the lock is rotated. The program proceeds to block 674 and then to the
제17a도와 b도를 참고하여 전술한바와같은 개시 처리가 끝난 후에 자물쇠는 사용준비 상태에 있으며 자물쇠에 페이즈된 여러키이중 하나에 의하여 동작될 수 있다. 어느 키이가 자물쇠에 삽입됨에 따라서, 마이크로컴퓨터는 키이에서 판독된 코드에 따라 쇄정을 제어한다. 마이크로컴퓨터는 프로그램 제어하에서 동작한다. 즉, 페이즈-인 된 모든 키이용 프로그램은 하기와 같은 것을 제외하고는 상기와 같은 제5, 6a, b 플로우 챠트에 의해 표시된다. 제5도의 플로우챠트에 의해 표시되는 프로그램은 블럭(252)이 호탤 코드용 추가적인 4비트 문자가 존재하므로 키이의 취출시 10문자를 입력하고 기억하도록 수정된다. 그렇지 않다면, 제5도로 표시되는 프로그램은 본 발명의 제1실시예에서의 동일하다. 제6a도로 표시된 프로그램은 각각의 키이상의 호텔코드를 체크하는데 적합하다는 점에서 제1실시예의 프로그램과 상이히다. 이같은 수정은 다음에 기술할 제18도의 플로우챠트에 도시하였다. 전술한 바와 같이, 프로그램이 제6b도의 블럭(276)에 도달했을때, 프로그램은 블럭(260)에 의하여 획득된 포인터에 대응하는 상기 레벨용 서브루틴으로 분기한다.After the start process as described above with reference to FIGS. 17A and B, the lock is ready for use and can be operated by one of several keys phased to the lock. As a key is inserted into the lock, the microcomputer controls the lock according to the code read from the key. The microcomputer runs under program control. That is, all phased-in keyed programs are represented by the fifth, sixa, b flow charts as above except for the following. The program represented by the flowchart of FIG. 5 is modified so that block 252 enters and
본발명의 제2실시예에서, 동일한 키이기능은 제1실시예에서 기술한 것 즉 제7도 내지 제14도의 프로우챠트에 표시된 프로그램 서브루틴을 참고로하여 기술된 키이기능으로 사용될 수도 있다. 또한 본 발명의 제2실시예는 이후, 안전 A, 안전B , 호텔통과, 및 비동작(no-op)등으로 간주되는 추가적인 키이기능을 포함한다. 이같은 키이기능과 쇄정 동작을 실행하기 위한 대응 프로그램서브루틴은 이후 기술될 것이다.In the second embodiment of the present invention, the same key function may be used as the key function described with reference to the program subroutines described in the first embodiment, i.e., shown in the procharts of Figs. The second embodiment of the present invention also includes additional key functions, which are then considered safety A, safety B, hotel passage, no-op, and the like. Corresponding program subroutines for performing such key functions and read operations will be described later.
호텔통과기능에 대한 프로그램은 제18도의 플로우챠트로 표시된다. 상기의 플로우챠트로 표시되는 프로그램은 제6a도의 플로우챠트로 표시되는 프로그램의 일부이며, 특히, 제6a도의 플로우챠트는 블럭(260)과 블럭(261)사이에 제18도의 플로우챠트를 삽입하므로써 수정도니다. 코드 메모리내의 키이코드의 위치용 포인터 또는 어드레스를 얻기 위하여 제어코드를 표시하는 제1문자를 사용하는 프로그램은 블럭(260)을 지난 후에 시험블럭(704)으로 진행한다. 시험 블럭(704)은 키이상의 호텔코드가 키이코드 메모리에 기억된 호텔 코드와 일치하는지를 판정한다. 그것이 일치하지 않을 경우, 프로그램은 블럭(282)(제6b도)으로 복귀하여 다른 키이의 삽입을 기다린다. 호텔코드가 일치하면, 프로그램은 기능 테이블(219)에 표시된 것과 같은 키이기능이 호텔통과 기능인지를 판정하는 시험블럭(706)으로 진행한다. 그것이 호텔통과 기능이 아닐경우, 프로그램은 블록(261)으로 진행하여 제6a 및 b도를 참고하여 전술한 바와 같이 실행된다. 키이기능이 호텔통과기능이면, 프로그램은 블럭(706)으로 부터 솔레노이드를 활성화 시켜 문을 열게하는 블럭(708)으로 진행한다음, 정지루틴(234)으로 진행한다. 상기와 같이, 호텔통과 키이는 호텔손님이 수영장, 오락실등과 같은 공동지역에 들어가도록 하는데 사용된다.The program for hotel passing function is shown in the flowchart of FIG. The program represented by the above flowchart is a part of the program represented by the flowchart of FIG. 6A. In particular, the flowchart of FIG. 6A is modified by inserting the flowchart of FIG. 18 between
추가기능 예컨대 비작동, 안전 A 및 안전B등은 제7도 내지 제14도의 플로우챠트를 참고하여 기술한 제1실시예의 상이한 키이 기능과 동일한 방식으로 서브루틴에 의하여 제공된다. 상기와 같이 제6b도의 프로그램이 블럭(276)에 도달했을때, 프로그램은 블럭(216)에 의하여 얻어지는 포인터에 대응하는 상기 레벨용 서브루틴으로 분기하다. 제2실시예의 추가 서브루틴에 관하여 기술하겠다. 제5도의 블럭(240)에 입력된 키이가 비작동 키이일경우, 프로그램은 제6b도의 블럭(276)에서 제19도의 블럭(720)으로 분기한다.Additional functions such as non-operation, safety A and safety B, etc. are provided by the subroutine in the same way as the functions of the different keys of the first embodiment described with reference to the flowcharts of FIGS. When the program of FIG. 6B reaches block 276 as described above, the program branches to the level subroutine corresponding to the pointer obtained by block 216. A further subroutine of the second embodiment will be described. If the key entered in
비작동기능은 비상용 레벨이 키이코드 메모리에 있는 비상용레벨을 표시하는데 사용되며, 레벨을 비활성상태로 프로그램하는 효과를 갖는다. 정상 동작에서, 비작동기능은 비작동키이를 발생하는데 유용하지 않은데, 왜냐하면 그것은 기능을 갖지않기 때문이다. 그러나 1개이상의 레벨을 비작동 기능으로 프로그램하는 안전 목적에는 유용하다. 전술한 바와 같이, 기능 테이블과 키이 메모리내의 모든 8레벨은 특정기능을 할당 받아야만한다. 그렇지 않을 경우, 프로그램 키이는 무효이다. 그러므로 쇄정이 프로그램되고 8개의 상이한 활성 기능이하가 요망될때, 나머지 레벨은 비작동기능을 할당받는다. 부당한 입력이 비작동기능에 대응하여 우연히 부호화되는 키이에 의하여 시도될 경우에, 컴퓨터 프로그램은 에러 정지루틴으로 진행함으로써 반응한다. 비작동 기능이 선택된 레벨로 할당될때, 키이코드 메모리(217)내의 상기레벨은 모두 1로 부하된다. 이것은 특정 레벨을 위한 동작을 폐쇄시킨다. 비작동 키이가 자물쇠에 삽입되면, 마이크로컴퓨터는 제5, 6a, 6b의 플로우챠트를 참고로 하여 기술된 바와 같이 프로그램 제어하에서 동작한다. 제6b도의 블럭(276)에서 프로그램은 비작동 기능용 서브루틴으로 분기한다. 이것은 제19도의 플로우챠트로서 표시된다. 프로그램은 비작동 기능용 레벨코드를 처리하는 블럭(720)으로 진행한 다음 블럭(282)에서 에러 정지루틴으로 진행한다. 따라서 시스템은 대기상태에 놓이며 다른 키이가 삽입될 때까지 활성화 되지 않는다.The inactive function is used to indicate the emergency level in which the emergency level is in the keycode memory, and has the effect of programming the level as inactive. In normal operation, the inactive function is not useful for generating an inactive key because it has no function. However, it is useful for safety purposes, where one or more levels are programmed with non-operating functions. As mentioned above, all eight levels in the function table and key memory must be assigned a specific function. Otherwise, the program key is invalid. Therefore, when a lockout is programmed and less than eight different active functions are desired, the remaining levels are assigned inactive functions. If an invalid input is attempted by a key that is accidentally encoded in response to a non-operational function, the computer program responds by going to an error stop routine. When the inactive function is assigned to the selected level, the above levels in the
안전 목적을 위해서, 자물쇠는 상기와 같은 안전 A와 안전 B기능을 갖추도록 프로그램될 수도 있다. 개시과정을 참조하여 기술한 바와같이, 안전 (A 및 B)기능은 동시에 사용되어야만 하며, 단지 하나만이 프로그램키이에 제공된다면, 그 키이는 무효이며 프로그램을 운용하는데 비효율적이다. 안전(A 및 B)기능이록에 프로그램된다면 안전(A와 B) 키이는 논리 데드볼트와 실제 데드볼트에 무관하며 자물쇠를 열수있도록 한 허가된 자에 의하여 사용되어야 한다. 키이는 적당한 시이퀀스에 안전 A가 먼저 삽입된 다음, 소정시간 간격내에 안전B가 삽입되어야만 한다. 이것은 문을 열고, 자물쇠는 논리데드볼트로 세트된 상태로 유지될 것이다. 그러나, 메모리는 문을 여는 최종키이로서 안전 B키이를 기록할 것이다.For safety purposes, the lock may be programmed to have the above safety A and safety B functions. As described with reference to the initiation process, the safety (A and B) functions must be used at the same time, and if only one is provided to the program key, that key is invalid and inefficient to operate the program. If the safety (A and B) functions are programmed in the lock, the safety (A and B) keys must be used by an authorized person who can open the lock, independent of the logical deadbolt and the actual deadbolt. The key must be inserted with safety A first in the appropriate sequence and then with safety B inserted within a predetermined time interval. This will open the door and the lock will remain set to the logical deadbolt. However, the memory will record the safe B key as the final key to open the door.
안전 A 및 안전 B 키이를 갖춘 쇄정작동과 이들 서브루틴용 제어프로그램은 제20도와 21도의 플로우챠트를 참고하여 기술하겠다. 제5도의 블럭(240)에 입력된 키이가 안전 A키이라면, 프로그램은 제6b도의 블럭(276)에서 제20도의 블럭(730)으로 분기한다. 제20도는 안전 A키이용 프로그램 또는 서브루틴을 나타낸다. 블럭(730)에 논리 데드볼트가 세트되면 프로그램은 키이의 수신을 표시하는 황색 LED를 점등하는 블럭(732)으로 진행한 다음, 5초 타이머가 종료되었을 경우, 프로그램은 최종키이로 사용된 메모리로 부터 입력되는 안전 A를 소거하는 블럭(736)으로 진행한 다음, 정지루틴(234)으로 진행한다. 시험 블럭(734)에서 타이머가 종료되지 않았을경우, 프로그램은 새로운 키이가 삽입되었는지를 판정하는 시험블럭(738)으로 진행한다. 새로운 키이가 삽입되지 않았을 경우, 프로그램은 블럭(734)으로 복귀한다. 새로운 키이가 삽입되면, 프로그램은 블럭(240)으로 복귀하여 새로운 키이를 처리한다. 새로운 키이가 처리될때 프로그램은 키이 형태에 의하여 처리되지만 논리 데드볼트는 안전 A키이에 의하여 세트된다는 제약이 있다. 따라서 새로운 키이가 종업원 키이라면, 논리 데드볼트가 세트되기 때문에 문은 열리지 않을 것이다. 더우기, 다른 키이의 삽입은 최종키이로 사용되는 메모리로 부터 안전 A 키이 기록을 소거하는 효과를 갖는다. 새로운 키이가 블럭(734)에 의하여 판정된 바와 같이 타이머가 종료되기전에 삽입되지 않는다면, 프로그램은 상기와 같이 안전 A 입력을 소거하는 블럭(736)으로 진행한다.The lockout operation with safety A and safety B keys and the control programs for these subroutines will be described with reference to the flowcharts of FIGS. If the key entered in
시험블럭(738)에 의하여 판정된 바와같이 새로운 키이가 5초간격으로 삽입되고, 그것이 안전 B 키이일 경우, 프로그램은 제5도의 블럭(240)에서 제6b도으 ㅣ블럭(276)으로 진행할 것이다. 그런다음, 프로그램은 제21도의 안전 B 서브루틴으로 분기한다. 이 서브루틴에서, 블럭(750)은 논리데드볼트를 세트하고 프로그램은 시험블럭(752)으로 진행한다. 이 시험블럭은 입력된 최종키이가 안전 A키이인지를 판정한다. 그것이 안전 A키이가 아니면, 프로그램은 (황색 LED를 점등한 후에)정지루틴(234)으로 진행한다. 최종 키이가 안전 A키이일 경우, 프로그램은 안전 B키이가 개방 키이일때 솔레노이드를 활성화 하는 블럭(754)으로 진행한 다음, 개방 표시를 제공하도록 초록색 LED를 점등하는 블럭(756)으로 진행한 후, 타이머가 종료되었는지를 판정하는 시험 블럭(758)으로 진행한다. 타이머가 종료되지 않았으면, 프로그램은 노브가 회전되었는지를 판정하는 시험블럭(762)으로 진행한다. 노브가 회전되지 않았을 경우, 프로그램은 시험블럭(758)으로 복귀한다. 노브가 회전되었을경우, 프로그램은 정지루틴(234)으로 진행한다.As determined by the test block 738, a new key is inserted at 5 second intervals, and if it is a secure B key, the program will proceed from
본 발명의 제3실시예는 제23도 내지 제31에 도시 되었다. 제3실시예는 제2실시예에서와 같이 자기 키이를 이용하는데, 키이상의 연결코드, 쇄정의 온-라인 프로그램, 키이상의 40비트 또는 64비트 코드를 가진 동작 추가동작 기능, 및 문 개방의 의사시간 기록을 특징으로 한다.A third embodiment of the present invention is shown in FIGS. 23 to 31. FIG. The third embodiment uses a magnetic key as in the second embodiment, which includes a connection code of more than a key, an on-line program of a decision, an operation additional operation function having a 40-bit or 64-bit code of more than a key, and the intention of opening a door. It features time recording.
제2실시예에서와 같이 자물쇠는 8개의 상이한 키이기능의 사용에 적합하다. 그러나 8개이상의 상이한 형태의 키이기능은 단지 8형태만이 한번에 자물쇠에 프로그래밍 될지라도 이용가능하다. 제2실시예에서 기술한 키이기능에 추가하여 다음과 같은 형태의 키이가 프로그램될 수 있다.As in the second embodiment, the lock is suitable for the use of eight different key functions. However, more than eight different types of key functions are available even if only eight types are programmed to the lock at a time. In addition to the key function described in the second embodiment, the following types of keys can be programmed.
키이형태 K, 사무실 잠금(latch)기능 : 사무실 하드웨어가 부차되었을때, 상기 기능은 솔레노이드와 잠금부분을 동작시켜 래치로써 하드에어를 어서트(assert)한다. 황색 LED는 잠김시이퀀스 동안 점등된다. 사무실 하드웨어가 부착되지 않았다면, 상기 기능 할당은 보조기능으로서 행하여진다.Key Form K, Office Latch Function: When the office hardware is attached, this function actuates the solenoid and the lock to assert the hard air with a latch. The amber LED lights up during the lock sequence. If no office hardware is attached, the function assignment is made as an auxiliary function.
키이형태 L, 사무실 개방(unlatch)기능 : 사무실 하드웨어가 부착되고 하드웨어가 이미 개방상태를 표시하지 않을때, 상기기능은 솔레노이드와 잠김 단자를 동작하여 언래치로써 하드웨어를 어세트한다. 초록색 LED는 개방 시이퀀스 동안에 점등된다. 하두에어가 이미 개방되었다면, 초록색 LED는 짧은 기간동안 점등된다. 사무실 하드웨어가 부착되지 않았다면, 상기 기능 할당은 보조기능으로서 행하여 진다.Key Type L, Office Unlatch Function: When office hardware is attached and the hardware is not already in the open state, the function operates the solenoid and the lock terminal to assign hardware by unlatch. The green LED lights up during the open sequence. If HaduAir is already open, the green LED will light up for a short time. If no office hardware is attached, the function assignment is made as an auxiliary function.
키이형태 M, 사무실 토글(toggle)기능 : 사무실 하드웨어가 부착되어 있다면, 상기 기능의 하드웨어 제한 센서의 상태에 따라 사무실 잠금 기능 또는 사무실 개방기능중 어느하나로 작동한다. 사무실 하드웨어가 부착되지 않았다면 상기 기능할당은 보조기능으로서 행동한다.Key Type M, Office Toggle Function: If office hardware is attached, it operates either as an office lock function or an office open function depending on the state of the hardware limit sensor of the function. If no office hardware is attached, the function assignment acts as a secondary function.
키이형태 N, 안전 C : 상기 기능은 논리 데드볼트는 무사하지만 실제데드볼트는 무사하지 않는다. 추가적 소프트 웨어 스위치가 상기 기능을 논리 데드볼트를 어서트하고 실제데드볼트를 바이패스 하도록 하는데 이용된다. 이것을 전술한 안전 A와 안전 B기능과 구별되는 단일 키이카드이다.Key Type N, Safety C: The above function is logical dead bolt but not actual dead bolt. An additional software switch is used to assert the logic deadbolt and bypass the actual deadbolt. This is a single key card which is distinguished from the safety A and safety B functions described above.
키이형태 O, 저 (low)쇄정 토글 : 이 기능은 이기능의 레볼보다 더 낮은 모든레벨을 쇄정한다. 이 기능이 실행될때, 기능할당 테이블에서 숫자적으로 더 낮은 다른 레벨은 금지된다. 적색 LED는 금지상태가 셋트되고 저 밧데리 표시를 선점할 경우 표시를 위해 사용된다.Key Type O, Low Detect Toggle: This function resets all levels lower than this function's level. When this function is executed, other levels that are numerically lower in the function assignment table are prohibited. The red LED is used for indication when the prohibition status is set and preempt the low battery indication.
키이형태 P, 고(high)쇄정토글 : 이 기능은 레벨보다 더 높은 모든 레벨을 쇄정한다. 이 기능이 실행될때 기능할당 테에블에서 숫적으로 더 높은 다른 레벨은 금지된다. 적색 LED는 금지상태가 셋트되고 저 밧데리 표시를 선점할 경우 표시를 위해 사용된다.Key Type P, High Lock Toggle: This function locks all levels higher than the level. When this function is executed, any other level higher in the function assignment table is prohibited. The red LED is used for indication when the prohibition status is set and preempt the low battery indication.
키이형태 Q, 재정의 (redefinition)(프로그래밍)키이 : 이 키이는 호텔코드 문자대신에 4비트 런 모드문자를 갖는다 재정의 키이는 쇄정을 온-라인 프로그래밍하는데 사용된다.Key Type Q, Redefinition (Programming) Key: This key has a 4-bit run mode character instead of a hotel code character. The redefine key is used for on-line programming of a lock.
키이형태 R, 할당키이 : 이키이는 호텔코드와 런모드를 재할당하는데 사용된다.Key Type R, Assignment Key: This key is used to reassign Hotel Code and Run Mode.
아래에서 상세히 기술되는 바와같이, 기능할당은 동작상태로 공헌하는 자물쇠에 의하여, 즉 온-라인 프로그램에 의하여 변환가능하다. 이것은 재정의 키이카드에 의하여 행하여진다. 키이카드가 일정한 요건 시험을 만족하지 않는한, 기능할당에서의 변화는 행하여 지지 않는다. 그것을 비상레벨할당 또는 개방비트 할당의 변환을 허용하지 않는다.As described in detail below, the function assignment is convertible by means of a lock contributing to the operating state, ie by an on-line program. This is done by redefining keycards. No change in function assignment will be made unless the key card meets certain requirements tests. It does not allow conversion of emergency level assignments or open bit assignments.
상기 특정에 추가하여 제3실시예는 문 개방히스토리 즉 문 개방의 의사시간 기록을 위한 시간 베이스 특징으로 제공한다. 추가 하드웨어가 쇄정 개방 연표가 수일동안 추적이 가능하도록 제공된다. 상기 시간 베이스를 제공하는데 필요한 회로는 223도에 도시되었다. 제3실시예에서 마이크로컴퓨터 쇄정 제어회로는 제23도를 참고로하여 아래에서 기술한 변화를 가지며 제3a도를 참고로 하여 상기에서 기술한 것과 동일하다.In addition to the above specification, the third embodiment provides a door opening history, that is, a time base feature for pseudo time recording of the door opening. Additional hardware is provided to allow the unlocked timeline to be tracked for several days. The circuit required to provide the time base is shown at 223 degrees. In the third embodiment, the microcomputer decision control circuit has the changes described below with reference to FIG. 23 and is the same as described above with reference to FIG. 3A.
제23도에 도시된 바와 같이, 외부클록은 마이크로컴퓨터(112)와 접속된다. 클록(820)은 외부주파수 결정회로(822)를 갖는 오실레이터와 2진 분재기능을 실행하는 리플(ripple) 카운터로 구성된다. 블럭(820)은 분당 1펄스의 비율로 출력단(824)에 정 진행(positive going) 펄스를 발생한다. 상기 출력단 (824)은 마이크로컴퓨터(112)의 SI 입력핀관입력핀에 직접 접속된다. 또한 출력단(824)은 조정 다이오드(826)를 통하여 마이크로컴퓨터의 개시입력핀(START)과 접속된다. 마이크로컴퓨터의 리셋트 스트로브 출력핀(RESETSTROBE)은 저항-용량 회로망(828)을 통하여 클록(820)의 레셋트 입력단에 접속된다. 개시 스위치(58)는입력핀과 직접 접속되며, 조정 다이오드(832)를 통하여 마이크로컴퓨터의 개시 입력핀(START)와 접속된다.As shown in FIG. 23, the external clock is connected to the microcomputer 112. As shown in FIG. The clock 820 is composed of an oscillator having an external frequency determining circuit 822 and a ripple counter for performing a binary bonsai function. Block 820 generates a positive going pulse at
일반적으로 실시간 클록(820)은 히스토리 버퍼에 쇄정개방의 기록을 위한 시간 베이스를 제공하도록 마이크로컴퓨터(112)에 의하여 이용된다. 상기 목적을 위하여, 시간신호는 정해진 간격 대략 4분마다 기록된다. 클록펄스가 클록(820)의 출력(824)에 발생할때, 클럭펄스는 다이오드(826)를 통하여 개시입력핀(START)에 인가되며 마이크로컴퓨터는 대시상태로부터 온(on) 또는 런상태로 변환된다. 또한, 클럭펄스는 SI와입력핀에 인가된다.입력은 직렬버퍼플러그를 다음에 기술하는 바와 같이 4번째 펄스를 받을 때마다 세트되도록 한다. SI입력은 마이크로컴퓨터가 리셋트펄스를 리셋트 스트로브 출력핀으로부터 클록(820)의 리셋트 입력까지 송신하도록 한다. 상기 리세트 펄스는 클록 카운터를 효율적으로 소거하여 그것이 다음 1분동안의 출력 클록펄스를 다시 계수하도록 한다. 동시에 클록출력(824)이 낮아지고 마이크로컴퓨터(112)는 대기상태로 변환된다. 키이 삽입에 의하여 발생하는 마이크로컴퓨터용 개시신호는 클록(820)에 의하여 발생하는 개시신호 전반에 걸쳐서 처리가 행해진다. 이것을 위하여, 키이스위치(58)가 닫히므로서 발생하는 논리적인 고신호는 다이오드(832)를 통하여 개시 입력핀(START)에 인가되며 동시에 클록신호에 대하여 키이스위치 우선순위를 부여하는 차단요구 신호로서단자에 인가된다. 결과적으로, 키이가 클록펄스 간격동안 삽입되면, 키이는 통상방식으로 처리될 것이며, 키이데이터의 처리중에 클록 펄스는 유지될 것이며, 클록은 키이데이터 처리를 완료한 후까지 리셋트되지 않을 것이다. 리세트 펄스 후에 마이크로컴퓨터는 대기상태로 복귀할 것이다.The real time clock 820 is generally used by the microcomputer 112 to provide a time base for writing open to the history buffer. For this purpose, time signals are recorded approximately every four minutes at defined intervals. When a clock pulse occurs at the
제3실시예의 사무실 쇄정 기능을 수행하기 위하여, 마이크로컴퓨터(112)는 다음과 같은 추가적인 핀 접속이 제공된다. 핀(A)은 스위치(852)를 통하여 아래에 접속되어 사무실 자물쇠와 접속하는데 사용되게 한다. 자물쇠가 잠김상태에 있을 때, 하이(high)가 되는 잠김 검출기(854)는 입력핀(B)과 접속된다. 비개방검출기(856)는 입력핀(C)과 접속되고 자물쇠가 비잠김 상태에 있을때 하이로 된다. 또한 사물실 쇄정 볼트의 작동기의 활성화를 제어하기 위해서 4개의 출력핀이 제공된다. 이러한 출력핀들은 비잠김 스트로브 핀(ULS), 비잠금 유지핀(ULH),잠김 스트로브 핀(LS) 및 잠김 유지핀(LH)이다. 이들 출력핀은 전술한 바와같이 쇄정/개방 출력으로서의 기능을 하며, 풀-인(pull-in)모드와 호울드-인(hold-in)모드에서 솔레노이드(66)의 여자를 제어하는 출력핀(04,05)과 접속하는데 사용된다. ULS핀이 참일때, ULH핀은 초기작동중에 동시에 참이 되며, 핀(ULS)에서의 비잠김스트로브 신호는 단주기이며, 그것이 거짓이 된후에, 핀(ULH)에서의 비잠김 유지신호는 소정시간 동안 참으로 남아있어 비잠김상태가 성취되도록 한다.In order to perform the office lockout function of the third embodiment, the microcomputer 112 is provided with the following additional pin connections. Pin A is connected below via switch 852 to be used to connect with the office lock. When the lock is in the locked state, the lock detector 854 which is high is connected to the input pin B. The open detector 856 is connected to the input pin C and goes high when the lock is in the unlocked state. Four output pins are also provided to control the activation of the actuator of the lockout bolt. These output pins are Unlocked Strobe Pins (ULS), Unlocked Holding Pins (ULH), Locked Strobe Pins (LS), and Locked Holding Pins (LH). These output pins function as a lock / open output as described above, and output pins for controlling the excitation of the solenoid 66 in pull-in mode and hold-in mode. 04,05). When the ULS pin is true, the ULH pin will be true at the same time during initial operation, and the non-locking strobe signal at pin (ULS) is short-lived, and after it is false, the non-locking hold signal at pin (ULH) will be It remains true for the time to allow the unlocked state to be achieved.
이와 유사하게, LS핀이 참이될때 LH핀은 동시에 참이된다. 잠김 스트로브 신호는 단주기의 펄스이며그것이 거짓이 된 후에, 핀(LH)에서의 잠김 유지신호는 소정 시간 동안 참으로 남아있어 잠김상태가 성취 되도록 한다. 잠김과 비잠김 동작상태를 갖는 사무실 자물쇠는 다양한 형태를 갖는다. 예컨대 제2a와 b도를 참고로 기술한 형태의 자물쇠는 비잠김 상태 즉 개방상태로 쇄정핀을 유지하기 위한 개방핀과, 잠김상태로 쇄정핀을 유지하기 위한 쇄정핀과 함께 쇄정핀(64)으로 사용될 수도 있다. 개방핀은 개방 솔레노이드에 의하여 쇄정핀을 풀도록 작동되며 귀환 스프링에 의하여 쇄정핀을 결합하도록 작동된다. 이와 유사하게, 자물쇠에는 잠김 솔레노이드에 의하여 쇄정핀을 풀도록 작동되며, 귀환 스프링에 의하여 쇄정핀을 결합하도록 작동되는 잠김 핀이 제공된다. 그런 배열은 쇄정핀이 솔레노이드 또는 다른 작동기를 여자하지 않고서 확장(쇄정) 또는 수축(개방)위치, 즉 쇄정 또는 개방상태에서 유지되도록 한다.Similarly, the LH pin is true at the same time when the LS pin is true. The locked strobe signal is a short-period pulse and after it goes false, the locked hold signal at pin LH remains true for a predetermined time to allow the locked state to be achieved. Office locks that are locked and unlocked have a variety of forms. For example, a lock of the type described with reference to FIGS. 2A and 2B is a locking pin 64 with an opening pin for keeping the locking pin in an unlocked state, that is, an open state, and a locking pin for retaining the locking pin in the locked state. Can also be used as. The opening pin is operated to release the locking pin by the open solenoid and to engage the locking pin by the return spring. Similarly, the lock is provided with a locking pin which is operated to release the locking pin by the locking solenoid and which is operated to engage the locking pin by the return spring. Such an arrangement allows the clamping pin to be held in an extended (locked) or contracted (opened) position, i.e. locked or open, without exciting the solenoid or other actuator.
따라서, 자물쇠가 쇄정 및 개방상태 사이에서 그의 상태를 변경하도록 작동될 때를 제외하고 작동기는 밧데리상의 소정의 드레인 전류를 부과하지 않는다. 쇄정 및 개방 상태를 갖춘 다른 기구가 작동기를 여자하지 않고서 본래부터 잠김 또는 비잠김 위치 중 어느 하나에 유지되는 쇄정핀을 작동하는 리드 스크루우를 구동하는 모터등이 이용될 수도 있다. 따라서, 핀(04,05)과 핀(ULS,ULH,LS,LH)은 사무실 자물쇠를 쇄정 및 개방하기 위한 특정기구에 따라 이용될 것이다.Thus, the actuator does not impose any drain current on the battery except when the lock is operated to change its state between the lock and open states. A motor or the like that drives the lead screw to operate the locking pin that is inherently held in either the locked or unlocked position may be used without other mechanisms having a locked and open state engaging the actuator. Thus, pins 04,05 and pins ULS, ULH, LS, LH will be used according to the specific mechanism for locking and opening the office lock.
또한, 3실시예의 특징을 수행하기 위하여 마이크로컴퓨터(112)의 RAM은 제24도에 도시된 바와같이 추가적 레지스터를 갖추고 있다. 클록(820)에 의하여 제공되는 시간 베이스와 접속아혀 사용하기 위하여, RAM은 직렬 버퍼플레그(838) 3 디지트계수기(842), 및 히스토리 버퍼(844)를 포함한다. 또한, RAM은 하이 셀 레지스터(845), 로우 셀 레지스터(847), 호텔 코드 레지스터(849), 및 재정의 플레그(848)를 포함한다. 이들 레지스터와 플레그의 용도는 다음에 상세히 기술하겠다. 또한 RAM은 상기와 같은 기능할당을 위해 사용될 때 재정의 키이에 의하여 할당되는 4비트 문자를 유지하는 런모드 레지스터(846)를 포함한다. 런모드 레지스터의 4비트는 다음과 같다. 비트(0)는 저밧데리 기능의 액션을 결정한다. 비트가 로우로 셋트될 때, 종업원 키이는 상기와 같이 기능한다. 즉, 저밧데리 상태와 4키이가 삽입된 후에, 키이는 문을 열도록 2회 삽입되어야만 한다. 0비트가 하이일때, 키이는 밧데리 상태가 정정될 때까지 문을 열지 않는다. 비트 0는 "괘정"비트라 부른다. 런모드 문자의 비트 1은 안전 C기능의 안전 한계와 부적당한 데이터를 내장한 완전 판독기이 카드의 식별을 결정한다. 비트 1은 "C볼트"비트로서 간주된다. 그 비트가 로우일 경우, 부적합한 키이데이터는 부적합한 키이의 이전 삽입수가 전술한 보호 모드로 쇄정을 하지 못할 경우, 황색 LED의 단일 스트로브로 확인되며, 충분한 사이클 회수가 보장되고 키이의 즉각적인 재삽입이 무효하게 된다.In addition, the RAM of the microcomputer 112 has additional registers as shown in FIG. 24 to carry out the features of the three embodiments. For use in conjunction with the time base provided by the clock 820, the RAM includes a serial buffer flag 838, a 3-
또한, 이러한 비트가 로우일 경우, 더 낮은 레벨의 안전이 안전 C기능으로 제공되어 논리 대드볼트는 무시되고, 실제데드볼트가 명령된다. 비트 1이 하이일 경우, 더 높은 레벨의 안전이 제공되어 부적합한 키이는 오퍼레이터로의 어떤 귀환을 제공하지 않는다. 즉, 어떤 LED 신호도 없다. 또한 안전 C기능은 문 개방이 논리 데드볼트를 클리어시키지 않는다는 것을 제외하면 비상 키이와 동일하게 동작한다. "코드 64" 비트로 표시된 런모드 문자의 비트 2는 2진 키이의 데이터 포맷을 결정하지만, 펀치카드데이터 포맷을 변경시키지 않는다. 이러한 비트가 로우일 경우, 키이데이터는 제2실시예를 참조로 하여 설명된 40비트코드에 대해 설립된 방식으로 해석된다. 이러한 비트가 하이일 경우, 제3실시예의 64비트 포맷이 이용된다. 런모드 문자의 비트3은 쇄정 엔트리 히스토리의 범위 및 분포를 결정한다. 그것은 "두실시간 클럭(DO RTC)" 비트로 표시된다. 이러한 비트가 로우일 경우, 자물쇠는 최종 15엔트리의 각각에 결합된 모사 확인수 및 반복엔트리 카운터 및 인식코드를 위한 메모리를 배당한다. 이러한 비트가 하이일 경우, 전체의 히스토리는 15에서 8로 감소되며, 모든 엔트리는 관련 키이의 최종 엔트리의 시간에 관련되어 판독하는 3문자 카운터를 갖는다.In addition, if these bits are low, a lower level of safety is provided to the safety C function so that the logic deadbolts are ignored and the actual deadbolts are commanded. If
제25 내지 제31도의 플로우 챠트를 참고로 하여 제3실시예의 동작과 특징을 설명할 것이다. 제3실시예의 개시절차는 제17a 및 b도를 참조로 하여 설명된 제2실시예와 동일하다. 개시절차후에 자물쇠는 사용준비 상태에 있고 자물쇠에 페이즈된 키이중 어느 하나에 의해 동작될 수 있다. 소정의 키이를 자물쇠에 삽입시킴에 따라 마이크로컴퓨터는 키이로부터 판독된 코드에 따라 자물쇠를 제어한다. 페이즈-인된 모든 키이의 프로그램 제어는 하기에 설명된 것을 제외하고 제2실시예를 참고로 설명한 제5도, 제6a 및 b도의 플로우챠트에 의해 표시되어 있다. 제5도의 플로우챠트에 의해 표시된 프로그램은 런모드 문자의 비트 2(코드 64비트)가 하이일 경우 블럭(252)이 키이의 취출에 대한 16문자를 입력시키고 기억시키도록 수정된다. 이것은 64비트 포멧을 가능하게 한다. 코드 64비트가 로우일 경우, 40비트 포맷이 가능하고 제5도의 프로그램은 불변하게 된다. 이러한 제3실시예에서 제6a 및 b도의 플로우 챠트에 의해 표시된 프로그램은 하기에 설명된 바와같이 수정된다.The operation and features of the third embodiment will be described with reference to the flowcharts of FIGS. 25 to 31. FIG. The starting procedure of the third embodiment is the same as that of the second embodiment described with reference to FIGS. 17A and 17B. After the initiation procedure, the lock is ready for use and can be operated by either of the keys phased on the lock. As a given key is inserted into the lock, the microcomputer controls the lock according to the code read from the key. Program control of all phased-in keys is indicated by the flowcharts of Figs. 5, 6a and b described with reference to the second embodiment except as described below. The program indicated by the flowchart of FIG. 5 is modified such that block 252 inputs and stores 16 characters for the retrieval of the key when bit 2 (code 64 bits) of the run mode character is high. This enables 64-bit format. When 64 bits of code are low, a 40-bit format is possible and the program of FIG. 5 remains unchanged. In this third embodiment, the program indicated by the flowcharts of FIGS. 6A and 6B is modified as described below.
제1코드가 종전에 발행된 키이의 키이코드와 일치하지 않을 경우, 새로운 키이가 그의 기능을 수행하도록 하기 위해, 키이를 유효하게 하는 수단이 메모리의 또다른 코드에 의해 제공된다. 제6a 및 b도를 참조로하여 기술한 제2실시예에서 손님키이와 같은 새로운 키이가 제1코드 및 제2코드를 맡게된다. 제2코드는 그러한 특별한 키이를 위한 새로운 키이코드이고 처음 사용된 후에 키이가 자물쇠를 개방시키도록하는 자물쇠의 키이코드 메모리에 기억되어야만 한다. 키이 상의 제1코드는 이전 손님 키이와 같이 앞서 언급한 키이에 할당된 키이코드이다. 제6a 및 b도를 참조로 하여 기수한 제2실시예에서, 처음으로 사용된 새로운 키이는 제1코드가 이전 키이에 의해 키이코드 메모리에 이전에 기억된 코드와 일치할 경우 자물쇠를 개방시킬 것이다.If the first code does not match the keycode of the previously issued key, the means for validating the key is provided by another code in memory so that the new key performs its function. In the second embodiment described with reference to Figs. 6A and 6B, a new key, such as a guest key, assumes the first code and the second code. The second code is a new keycode for that particular key and must be stored in the lock's keycode memory that allows the key to open the lock after first use. The first code on the key is the key code assigned to the aforementioned key as the previous guest key. In the second embodiment, which is radiated with reference to FIGS. 6A and 6B, the new key used for the first time will open the lock if the first code matches the code previously stored in the keycode memory by the previous key. .
그러나 예를들어 주어진 객실에 대해 이전 손님키이에게 발행된 손님키이가 자물쇠에 키이를 계속 삽입시키지 않을 경우, 키이코드 메모리에 기억된 키이코드는 자물쇠에 사용된 최종 키이의 삽입에 의해 기입된것과 동일한 상태로 남아있게 된다. 따라서 제2실시예에서 제1코드나 제2코드가 키이코드 메모리에 기억된 코드와 일치하지 않으므로 비동작 상태로 있게 되는 것이 가능하다. 이러한 것은 제1코드외의 각각의 새로운 발행 키이 상의 적합한 링크코드의 제공에 의해 최소로 된다. 링크코드는 제1코드가 발생된 키이에 앞서 발생된 키이의 키이코드이이다. 링크코드는 최종 발행시키의 바로 다음에 발생된 키이의 코드로 하는 것이 바람직하다. 이러한 링크코드의 특징은 런모드 문자의 코드 64비트가 하이일 경우에만 이용가능하며 이것은 64비트 포맷이 이용된다는 것을 의미한다. 링크코드 특징을 가진 자물쇠의 동작을 제25a 및 b도를 참조로 하여 설명할 것이다.However, for example, if a guest key issued to a previous guest key for a given room does not continue to insert the key in the lock, the key code stored in the keycode memory is the same as the one entered by the insertion of the last key used in the lock. It remains in the state. Therefore, in the second embodiment, since the first code or the second code does not match the code stored in the keycode memory, it is possible to be in an inoperative state. This is minimized by providing a suitable link code on each new issue key other than the first code. The link code is the key code of the key generated before the key where the first code is generated. The link code is preferably the code of the key generated immediately after the last issue. This link code feature is only available when code 64 bits of the run mode character is high, which means that the 64-bit format is used. The operation of the lock with the link code feature will be described with reference to FIGS. 25A and B. FIG.
제25a 및 b도의 플로우챠트에 의해 표시된 프로그램은 제6a 및 b도의 플로우챠트에 의해 표시된 것과 유사하다. 그러나, 그 프로그램은 키이상의링크코드의 이용dmf 위해 제공된다는 점에 있어서는 다르다. 제23a 및 b도의 프로그램은 키이코드 메모리의 상이한 레벨에서 페이즈-인된 상이한 키이에 의해서 자물쇠의 동작에 사용된다. 키이 데이터의 유효판독을 포함할시에 제5도를 참고로 하여 설명하였듯이, 프로그램은 제5도의 블럭(257)에서 제25a도의 블럭(260)으로 진행한다. 제25a 및 b도의 프로그램 블럭은 동일한 참조문자가 사용된 제6a 및 6a도의 프로그램 단계와 동일하다).블럭(260)의 프로그램 단계는 키이코드 메모리 (217)에 기억된 키이코드의 위치용 포인터 또는 어드레스를 얻기위한 메모리의 기능 테이블(219)에서 레벨코드를 나타내는 제1문자를 사용한 다음, 테스트 블럭(260A)은 키이의 제2코드가 키이코드 메모리에 기억된 코드와 일치하고, 후자코드가 1이 아닌가를 결정한다. 그러한 경우, 프로그램은 에러카운터를 클리어시키는 블럭(274)으로 진행한 다음 블럭(276)으로 진행한다. 이 시점에서 프로그램은 포인터에 해당하는 레벨을 위한 서브루틴으로 분기된다.The program indicated by the flowcharts of FIGS. 25A and B is similar to that indicated by the flowcharts of FIGS. 6A and b. However, the program differs in that it is provided for use of the link code above the key. The programs of FIGS. 23A and B are used for the operation of the lock by different keys phased in at different levels of keycode memory. As described with reference to FIG. 5 when the key data includes valid reading, the program proceeds from block 257 of FIG. 5 to block 260 of FIG. 25A. The program blocks in Figs. 25A and B are the same as the program steps in Figs. 6A and 6A in which the same reference characters are used. The program steps in the
시험블럭(260A)에서 응답이 아니오일 경우, 프로그램은 최종 키이가 리페이즈 키이인가를 결정하는 시험블럭(261)으로 진행한다. 리페이즈 키이일 경우, 프로그램은 시험블럭(264)으로 진행하고, 그렇지 않을 경우, 프로그램은 키이의 제1코드가 키이코드 메모리에 기억된 코드와 일치하는가를 결정하는 시험블럭(262)으로 진행한다. 일치할 경우, 프로그램은 시험블럭(264)으로 진행한다. 일치하지 않은 경우, 프로그램은 키이의 링크코드가 키이코드 메모리에 기억된 키이코드와 일치하는가를 결정하는 시험블럭(262A)으로 진행한다. 링크코드가 키이코드와 일치하지 않을 경우, 프로그램은 에러 카운터(239_를 증가시키는 시험블럭(282)으로 진행한 다음, 시험블럭(284)은 에러 계수가 8보다 큰가를 결정한다. 8보다 크지않은 경우, 프로그램는 시스템을 대기상태로 인도하여 다음 키이를 위해 대기하는 정지 루틴(234)으로 진행한다. 에러 계수가 8보다 클경우, 블럭(288)은 5초가 경과할 때까지 제5도의 블럭(252)에 의해 키이로부터 데이터이 판독을 방지하기 위해서 5초 동안의 상태제어 메모리(223)에서 지연 타이머를 셋트시킨다.If the answer to test
시험블럭(262A)에서, 키이의 링크코드가 키이코드 메모리에 기억된 코드와 같을 경우, 프로그램은 시험블럭(264)으로 진행한다. 이 시점으로부터, 블럭(264, 266,278,280,234,268,270,274 및 276)에 의해 표시된 프로그램은제6a 및 b도를 참조로 하여 상기에 설명된 것과 동일하다. 프로그램은 링크코드 특징에 대해 다음과 같이 요약될 수 있다. 키이의 제2코드가 키이코드 메모리와 일치하고 모두 1이 아닐경우, 프로그램은 그 키이에 대응하는 레벨용 서브루틴으로 진행한다. 그렇지 않고 키이의 제1코드 메모리와 일치할 경우 제2코드는 키이코드 메모리로 기입되고, "새로운" 플래그가 세트되며, 프로그램은 그 키이에대응하는 레벨용 서브루틴으로 진행한다. 제1코드가 메모리와 일치하지 않고 링크코드가 메모리와 일치할 경우, 동일한 결과는 제1코드가 메모리와 일치할 경우와 같이 얻어진다. 키이코드의 어느것도 메모리와 일치하지 않을 경우, 에러 카운터는 증가되고 쇄정은 정지 루틴으로 진행한다.In the test block 262A, if the link code of the key is the same as the code stored in the key code memory, the program proceeds to the test block 264. From this point in time, the program represented by
프로그램이 제25b도의 블럭(276)에 도착할 경우, 프로그램은 블럭(260)에 의해 얻어진 포인터에 대응하는 레벨용 서브루틴으로 분기된다. 제2실시예에서 기술된 것과 동일한 키이 기능이 제3실시예에 사용될 수도 있다. 제2실시예를 참고로 하여 기술된 키이 기능을 위해, 서브루틴은 하기와 같은 것을 제외하고는 이러한 제3실시예를 위해 동일하게 남게된다. 제9도의 서브루틴은 블럭(370,374,376,372 및 234)을 소거하고 그 위치에 제29도의 서브루틴을 대치시킴으로써 변경된다. 제10도의 서브루틴은 블럭(392,396,398 및 234)을 소거하고 제29도의 서브루틴을 대치시킴으로써 변경된다. 제11도의 서브루틴은 블럭(414,416,412,418 및 234)을 소거하고 제29도의 서브루틴을 대치시킴으로써 변경된다. 제18도의 서브루틴은 블록(708 및 234)을 소거하고 제29도의 서부루틴을 대치시킴으로써 변경된다.When the program arrives at
또한 본 제3실시예는 사무실 토글, 사무실 개방, 사무실 잠금, 안전 C, 로우 쇄정 토글, 및 하이 쇄정 토글로서 여기에 언급된 부가적인 키이기능 또는 형태를 포함한다. 또한 보조 키이 기능을 위한 상이한 서브루틴을 포함한다. 여러키이 기능을 위한 또다른 서브루틴을 포함한다. 이렇나 부가적인 키이 기능 및 쇄정 동작을 유효하게 하기 위한 해당 프로그램 서브루틴에 대해 기술하기로 한다 사무실 키이 기능은 사무실의 문에 공통적으로 사용된 쇄정 동작을 위해 제공된다. 이러한 쇄정장치는 잠기거나 개방되는, 즉 잠김 및 해제상태에 대해 각각 확장 모드 수축상태로 유지되는 볼트를 갖고 있다. 사무실 기능을 위한 능력을 제공하기 위해, 마이크로컴퓨터(112)는 사무실 자물쇠와 결합하여 사용되도록 스위치(852)를 통해 결합된 핀(A)를 갖고 있다. 또한, 마이크로프로세서는 자물쇠가 잠김상태에 있을 때 진행하는 잠김 검출기(854)와 결합된 입력 핀(B)과, 자물쇠가 비잠감상태에 일을 때 진행하는 비잠김 검출기(856)와 결합된 핀(C)를 갖고 있다. 사무실 자물쇠에 있어서 잠김 키이는 솔레노이드를 여자시키며 잠김 부분은 볼트를 잠김상태에 놓여 있게 한다. 비잠김 키이는 자물쇠가 이미 비잠감 상태에 있지 않을 경우, 솔레노이드를 여자시키도록 동작하며, 잠김 부분이 자물쇠를 비잠김 상태에 놓여있게 한다. 토글 키이는 그것이 잠길 경우 자물쇠를 개방시키고 그것이 비잠김 상태에 있을 경우 자물쇠를 잠기게 하도록 동작한다. 사무실 기능을 위한 프로그램을 제26a 및 b도의 플로우 챠트에 의해 표시된다. 제5도의 블럭(240)에 입력된 키이가 잠감 키이, 비잠김키이 또는 토글키이일 경우, 프로그램은 25b도의 블럭(276)에서 26a도의 블럭(860)으로 분기된다.This third embodiment also includes additional key functions or forms referred to herein as office toggle, office open, office lock, safety C, low lock toggle, and high lock toggle. The secondary key also contains different subroutines for function. Several keys contain another subroutine for this function. This additional key function and corresponding program subroutine for validating the lockout operation will be described. Office Key This function is provided for the lockout operation commonly used in office doors. These locking devices have bolts that are locked or opened, i.e., held in extended mode retracted state for the locked and unlocked states, respectively. To provide the ability for office functions, microcomputer 112 has pin A coupled through switch 852 to be used in conjunction with office locks. The microprocessor also has an input pin B coupled with a lock detector 854 that proceeds when the lock is in a locked state, and a pin coupled with an unlocked detector 856 that proceeds when the lock is in an unlocked state. Has (C) In the office lock, the locking key excites the solenoid and the locking portion keeps the bolt locked. An unlocked key acts to excite the solenoid if the lock is not already unlocked, leaving the locked portion in the unlocked state. The toggle key operates to unlock the lock if it is locked and to lock the lock if it is in an unlocked state. The program for the office function is represented by the flowcharts of FIGS. 26A and B. FIG. If the key input to block 240 of FIG. 5 is a lock key, an unlock key or a toggle key, the program branches from
시험블럭(860)은 논리데드 볼트가 세트되는가를 결정한다. 논리데드 볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(862)으로 진행한 다음, 정지 루틴(234)으로 진행한다. 논리데브 볼트가 세트되지 않을 경우, 프로그램은 실제데드볼트가 세트되는가를 결정하는 시험블럭(864)으로 진행한다. 실제데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(862)으로 진행한 뒤 정지루틴(234)으로 진행한다. 실제데드볼트가 세트되지 않을 경우, 프로그램은 자물쇠가 사물실 자물쇠, 즉 사무실 하드웨어 핀(A)이 논리 로우상태에 있는가를 결정하는 시험블럭(866)으로 진행한다. 자물쇠가 사무실 자물쇠가 아닐경우, 프로그램은 솔레노이드를 여자시키는 블럭(868)으로 진행한 다음, 정지(234)으로 진행한다. 자물쇠가 사무실 자물쇠일 경우, 프로그램은 키이가 비잠김 키이인가를 결정하는 시험블록(870)으로 진행한다.비잠김 키이일 경우, 시험블럭(872)은 자물쇠가 비잠김 상태인가를 결정한다. 잠루쇠가 비잠김 상태일 경우, 블럭(874)는 초록색 LED를 점등시킨다. 자물쇠가 비잠김상태가 아닐 경우, 프로그램은 비잠김 작동기를 비잠김 상태로 여자시키도록 비잠김 핀을 세트시키는 블럭(876)으로 진행한다.The test block 860 determines whether the logic dead bolt is set. If the logic dead bolt has been set, the program proceeds to block 862 which illuminates the yellow LED and then to stop routine 234. If the logical dev bolt is not set, the program proceeds to test block 864 which determines whether the actual dead bolt is set. If the actual dead bolt has been set, the program proceeds to block 862 which illuminates the yellow LED and then to the
시험블럭(870)이 키이가 비잠김 키이가 아니라고 결정할 경우, 시험블럭(878)은 키이가 잠김 키이인가를 결정한다. 잠금 키이일 경우 시험블럭(880)은 자물쇠가 잠김 상태에 있는가를 결정한다. 자물쇠가 잠김 상태에 있을 경우, 블럭(882)은 황색 LED를 점등시킨다. 잠김상태가 아닐경우 블럭(884)은 잠김 작동기를 잠김 상태로 여자시키도록 핀을 세트시킨다.If test block 870 determines that the key is not an unlocked key, then test
시험블럭(878)이 키이가 잠김 키이가 아니라는 것을 결정할 경우, 프로그램은 키이가 토글 키이인가를 결정하는 시험블럭(886)으로 진행한다. 토글 키이일 경우, 시험블럭(888)은 자물쇠가 비잠김 상태에 있는가를 결정한다. 자물쇠가 비잠김 상태에 있을 경우, 프로그램은 솔레노이드를 잠김 상태로 여자시키는 블럭(884)으로 진행한다. 자물쇠가 잠김 상태에 있을 경우, 프로그램은 비잠김 작동기를 비잠김 상태로 여자시키도록 잠김핀을 세트시키는 블럭(890)으로 진행한다.If
시험블럭(886)이 키이가 토글키이가 아니라는 것을 결정할 경우, 프로그램은 키이가 비상 키이인가를 결정하는 시험블록(892)으로 진행한다. 비상 키이일 경우, 블럭(894)은 솔레노이드를 비잠김 상태로 여자시키며 프로그램은 블럭(896)으로 진행한다. 블럭(896)은 솔레노이드를 잠김 상태로 여자시킨다. 이때, 블럭 (896)은 노브가 회전되지 않을 경우에는 논리데드볼트를 투여한 상태로 유지하며 노브가 회전될 경우에는 논리데드볼트를 개방상태로 유지한다.If
시험블럭(892)이 키이가 비상키이가 아니라는 것을 결정할 경우, 프로그램은 자물쇠가 비잠김 상태에 있는가를 결정하는 시험블럭(902)으로 진행한다. 비잠김 상태일 경우, 블럭(904)은 초록색 LED를 점등시킨다. 그렇지 않을 경우, 블럭(906)은 사무실 비잠김을 여자시킨다. 이때, 프로그램은 노브가 회전되었는가를 결정하는 시험블럭(908)으로 진행한다. 노브가 회전하지 않았을 경우, 시험블럭(910)은 5초 타이머가 종료되었는가를 결정한다. 타이머가 종료되지 않았을 경우, 프로그램은 시험블럭(908)으로 귀환된다. 타이머가 종료될 경우, 프로그램은 사무실 잠금을 여자시키는 블럭(912)으로 진행된다.If test block 892 determines that the key is not an emergency key, the program proceeds to test block 902 which determines whether the lock is in the unlocked state. In the non-locked state, block 904 lights the green LED. Otherwise, block 906 unlocks the office lockout. At this point, the program proceeds to a
안전성을 위해, 자물쇠는 상기에서 언급한 바와같이 안전 C기능을 제공하도록 프로그램될 수 있다. 제2실시예에서 안전 A 및 안전 B기능은 전술한 바와같이 제공되다. 안전 A 및 B키이는 논리데드보트 및 실제데드볼트의 상태와 무관하게 자물쇠를 개방시키기 위한 위임자에 의해 사용될 수도 있다. 키이는 상기와 같이 적절한 순서로 삽입될 수 있고 삽입사이에 소정시간 간격 내에 삽입될 수 있다. 이것은 문을 개방시키며 자물쇠는 논리데드볼트가 세트된 상태로 남아 있게 될 것이다.For safety reasons, the lock can be programmed to provide a safety C function as mentioned above. In the second embodiment, the safety A and safety B functions are provided as described above. The safety A and B keys may be used by the delegate to open the lock regardless of the state of the logical dead boat and the actual dead bolt. The keys may be inserted in the appropriate order as above and within a predetermined time interval between insertions. This will open the door and the lock will be left with the logic deadbolt set.
본 발명의 제3실시예에서, 안전 C기능은 안전 A 및 B보다 더 낮은 레벨의 안전을 허용하도록 제공되며 단일 키이로 동작된다. 안전 C기능은 논리데드볼트를 무시하는 능력을 갖고 있으나 실제데드볼트를 저안전 모드로 놓여있지 않게 한다. 더우기, 런모드 문자의 C 볼트 비트로 세팅함으로써, 안전 C기능은 논리데드볼트를 나타나게 하고 실제데드볼트를 통과시키도록 한 동작이다. 안전C키이를 가진 잠루쇠의 동작 및 이러한 서브루틴용 제어 프로그램을 제27도의 플로우챠트를 참고로하여 설명할 것이다.In a third embodiment of the invention, the safety C function is provided to allow a lower level of safety than safety A and B and is operated with a single key. The safety C function has the ability to ignore logic deadbolts but does not put the actual deadbolts into low safety mode. In addition, by setting the C volt bit of the run-mode character, the safety C function causes the logical dead bolt to appear and pass the actual dead bolt. The operation of the lock with the safety C key and the control program for this subroutine will be described with reference to the flowchart of FIG.
제5도의 블록(240에 입력된 키이가 안전 C키이일 경우, 프로그램은 제25b도의 블럭(276)에서 제27도의 시험 블럭(920)으로 분기될 것이다. 시험 블럭(920)은 키이가 개방 키이인가를 결정한다. 개방 키이가 아닐 경우, 블럭(922)은 황색 LED를 점등시킨다. 개방키이일 경우, 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 실험 블록(923)으로 진행하며, 그 응답에 관계없이 프로그램은 런모드 문자의 C볼트비트가논리하이인가를 결정하는 시험 블럭(924)으로 진행한다. C볼트 비트가 1이아닐 경우, 시험 블럭(926)은 실제데브볼트가 셋트되었는가를 결정한다. 실제데드볼트가 셋트되었을 경우, 블럭(922)은 황색 LED를 점등시킨다. 실제데드볼트가 세트되지 않았을 경우, 프로그램은 시험블럭(928)으로 진행한다. 시험 블럭(924)이 C볼트 비트가 논리하이에 있는가를 결정할 경우, 프로그램은 실제데드볼트 시험블럭(926)을 통과한 다음 블럭(930)에서 논리 데드 볼트를 세팅한 후에만 블럭(932)으로 진행한 다음, 블럭(934)은 초록색 LED를 점등시킨다. 그리고 나서 프로그램은 5초 타이머가 종료되었는가를 결정하는 시험블럭(936)으로 진행한다. 타이머가 종료되었을 경우, 프로그램은 정지 루틴 블럭(234)으로 진행한다.If the key entered in
타이머가 종료되지 않았을 경우, 시험블럭(938)은 노브가 회전되었나를 결정한다. 노브가 회전하지 않았을 경우, 프로그램은 시험 블럭(936)으로 귀환된다. 노브가 회전되었을 경우 프로로그램은 정지 루틴(234)으로 진행한다.If the timer has not expired, the test block 938 determines whether the knob has been rotated. If the knob has not rotated, the program returns to test
안전성을 위해, 자물쇠는 하이쇄정(high lock) 이나 로우쇄정(low lock)기능을 제공하도록 프로그램될수도 있다. 예를 들어, 호텔측은 잠정적인 베이스에서 동작될 수 없는 어떤 키이기능을 갖도록 바랄 수도 있다. 이것을 위해, 하이쇄정키이 및 서브루킨은, 하이쇄정 키이의 레벨보다 더 높은 레벨에서 모든 키이기능(안전기능 제외)을 일시적으로 동작시킬 수 없거나 폐쇄시키도록 제공되어진다. 마찬가지로, 로우 쇄정키이 및 서브 루틴은 로우 쇄정 키이의 레벨보다 더 낮은 레벨에서 키이(안전기능제외)를 폐쇄 시키도록 하기위해 제공된다.For safety reasons, the lock may be programmed to provide a high lock or low lock function. For example, the hotel may wish to have some key function that cannot be operated on a provisional base. To this end, the high lock key and subroutine are provided to temporarily disable or close all key functions (except the safety function) at a level higher than that of the high lock key. Likewise, low-keys and subroutines are provided to close the key (except for the safety function) at a level lower than that of the low-keys.
어느 한 키이가 폐쇄기능을 수행하도록 사용된 후에, 그 폐쇄 기능은 키이의 재 삽입에 의해 취소되므로 모든 레벨 동작이 회복된다.After either key is used to perform the closing function, the closing function is canceled by reinsertion of the key so that all level operations are restored.
하이쇄정 및 로우쇄정 키이를 가진 자물쇠의 동작 및 이러한 서브루틴용 제어 프로그램을 제28a, b도의 플로우 챠트를 참고로 하여 설명할 것이다. 제5도의 블럭(240)에 입력된 키이가 하이 쇄정 키이일 경우, 프로그램은 제25b도의 블럭(276)에서 제28a도의 블럭(950)으로 분기될 것이다. 블럭(950)은 적색 RED를 클리어시켜 폐쇄상태를 의미하도록 이용될 수 있다. (폐쇄중에 적색 LED는 저 밧테리 표시용으로 이용될 수 없다.) 프로그램은 RAM의 하이셀(high cell)레지스터에 기억된 레벨수를 판독하는 블럭(952)으로 진행한다.The operation of the lock with the high lock and low lock keys and the control program for such a subroutine will be described with reference to the flowcharts of FIGS. 28A and b. If the key entered in
이때, 시험블럭(954)은 하이셀 레지스터(845)에 기억된 레벨 수가 키이기능 위치, 즉 레지스터(219)의 하이 쇄정 키이의 레벨수와 같은가를 결정한다. 동일하지 않을 경우, 블럭(956)은 키이의 기능 위치를 하이셀 레지스터에 기억한다.At this time, the test block 954 determines whether the number of levels stored in the
이때, 블럭(958)은 적색 LED를 셋트시키며, 프로그램은 시험블럭(970)으로 진행한다. 시험 블럭(954)이 하이 셀 레지스터의 레벨수가 키이기능 위치와 같은가 를 결정할 경우, 이것은 하이쇄정 키이가 하이쇄정 기능을 취소하기위해 재삽입되어 진다는 것을 나타낸다. 그리고 나서, 블럭(962)은 하이셀 레지스터에 1을 기억한다. 이것은 하이 셀의 레벨수가 어느 키이레벨수 보다 더 크며, 키이 레벨의 어느것도 폐쇄되지 않았다는 것을 보장한다. 이때, 프로그램은 하기에 상술한 제29도의 보조 서브루틴의 블럭(970)으로 진행한다.At this time, block 958 sets a red LED, and the program proceeds to test
간략히, 보조 서브루틴은 전류레벨이 하이 쇄정이나 로우 쇄정에 의해 금지되는가를 시험한다. 금지될 경우, 프로그램은 정지루틴으로 진행하고, 그렇지 않을 경우, 솔레노이드가 여자된다.Briefly, the auxiliary subroutine tests whether the current level is prohibited by high or low determination. If prohibited, the program proceeds to a stop routine, otherwise the solenoid is excited.
로우 쇄정 키이용 서브루틴은 제28b도의 플로우 챠트에 표시되었다. 이 플로우 챠트는 하기에서 설명된 부분을 제외하고 하이 쇄정 키이에 대한 것과 동일하며, 간략을 위해서 동일하지 않은 부분만 설명할 것이다. 제28b도의 각각의 참조번호에 프라임(')이 첨가된 것을 제외하고는, 제28a도에 해당하는 블럭에 대해 동일한 참조문자가 제28b도에서 사용되었다. 하이쇄정 서브루틴과 로우 쇄정 서브루틴의 차이점은 다음과 같다. 블럭(952')은 RAM의 로우셀 레지스터에 기억된 레벨수를 판독한다. 이때, 시험블럭(954')은 로우셀 레지스터(847)에 기억된 레벨수가 키이 기능위치, 즉 레지스터(217)의 로우록 키이의 레벨수가 동일한 가를 결정한다. 동일하지 않을 경우, 블럭(956')키이의 기능위치를 로우셀 레지스터에 기억한다. 이때, 블럭(958')은 적색 LED를 셋트시키며, 프로그램은 시험블럭(970)으로 진행한다.The low decision keying subroutine is shown in the flow chart of FIG. 28B. This flowchart is identical to that for a high-lock key, except as described below, and for simplicity, only the parts that are not identical will be described. The same reference characters are used in FIG. 28B for the blocks corresponding to FIG. 28A, except that a prime (') is added to each reference number in FIG. 28B. The differences between the high and low decision subroutines are as follows. Block 952 'reads the number of levels stored in the low cell register of RAM. At this time, the test block 954 'determines whether the number of levels stored in the low cell register 847 is the key function position, that is, the number of levels of the low lock key of the
시험블럭(954')이 로우셀 레지스터의 레벨수가 키이기능 위치와 동일하다는 것을 결정할 경우, 이것은 로우쇄정 키이가 로우쇄정 기능을 최소하기 위해 재삽입되어진다는 것을 나타낸다. 그리고 나서, 블럭(962')은 로우 셀 레지스터에 0을 기억시킨다.If the test block 954 'determines that the number of levels in the low cell register is equal to the key function position, this indicates that the low reset key is reinserted to minimize the low reset function. Then, block 962 '
이것은 로우셀의 레벨수가 어느 키이 레벨수보다 작으며, 키이 레벨의 어느 것도 폐쇄되지 않는다는 것을 보장한다. 이 포인트로부터, 프로그램은 블럭(970)으로 진행하며 제28a도의 것과 동일하게된다.This ensures that the number of levels in the low cell is less than the number of key levels, and none of the key levels are closed. From this point, the program proceeds to block 970 and becomes the same as that of FIG. 28A.
하이쇄정 또는 로우쇄정 키이 기능이 상기 기술된 시스템에 사용될 경우, 모든 키이는 제29도의 서브루틴에 따라 처리된다. 이러한 서브루틴의 하이쇄정 및 로우쇄정 때문에 이러한 제3실시예를 위한 새로운 보조서브루틴이다.If a high lock or low lock key is used in the system described above, all keys are processed according to the subroutine of FIG. Because of the high and low crystallization of these subroutines, this is a new auxiliary subroutine for this third embodiment.
키이가 제5도의 블럭(240)에 입력될 경우, 프로그램은 제25b도의 블럭(276)에서 제29도의 블럭(970)으로 분기된다.When the key is entered in
블럭(970)은 키이의 키이 기능위치가 로우셀 레지스터(847)에 기억된 레벨수보다 더 작은가를 결정한다. 작을 경우, 프로그램은 황색 LED를 점등시키는 블럭(972)으로 분기되어 정지 루틴(234)으로 진행한다. 시험 블럭(970)이 키이 기능 위치가 로우셀 레지스터의 레벨수보다 작지 않다는 것을 결정할 경우, 프로그램은 키이기능 위치가 하이셀 레지스터(845)에 기억된 레벨수보다 더 큰가를 결정하는 시험블럭(974)으로 진행한다. 클경우, 프로그램은 황색 LED를 점등시키는 블럭(972)으로 분기되어, 정지 루틴(234)으로 진행한다. 크지않을 경우 프로그램은 논리 데드볼트가 셋트되었는가를 결정하는 시험 블럭(976)으로 진행한다. 논리데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(972)을 지나 정지 루틴(234)으로 진행한다. 논리 데드볼트가 셋트되지 않을 경우, 시험블럭(978)은 실제데드볼트가 셋트되는가를 결정한다.
실제데드볼트가 셋트되었을 경우, 프로그램은 황색 LED를 점등시키는 블럭(972)으로 진행한 다음, 정지 루틴(234)으로 진행한다. 실제데브볼트가 셋트되지 않았을 경우, 블럭(980)은 솔레노이드를 여자시키며, 그리고나서 프로그램은 정지 루틴(234)으로 진행한다. 이와 같이, 제29도의 서브루틴은 하이쇄정이나 로우쇄정 기능키이중 어느 하나에 일치하여 폐쇄되도록 동작한다. 상기에서 설명한 바와 같이, 정상동작이 어느 키이도 하이쇄정이나 로우쇄정 키이중 어느 하나를 재삽입함으로써 폐쇄하지 않도록 회복된다.If the actual dead bolt has been set, the program proceeds to block 972 where the yellow LED is lit and then to stop routine 234. If no actual dev bolt has been set, block 980 excites the solenoid, and then the program proceeds to stop routine 234. As such, the subroutine of FIG. 29 operates to be closed in accordance with either the high lock or the low lock function key. As described above, the normal operation is restored so that neither key is closed by reinserting either the high or low key.
전술한 바와 같이, 본 발명의 제2실시예는 키이기능의 ㅍ로그램에 대한 특수한 특징을 갖고 있다. 이것은 키이코드 메모리에 있는 어느 바람직한 레벨에 대한 소정의 키이 기능의 할당을 허용한다. 제17a 및 b도를 참조로하여 앞서 설명한 개시 절차는 제1 및 제2개시 키이를 순서적으로 입력시키기 위한 요구 조건 및 키이코드 메모리의 할당된 레벨을 한정하거나 제한정하기 위한 것과 같이 레벨을 할당하기 위한 수단으로서 프로그래밍 키이의 선택적 사용에 특징이 있었다.As mentioned above, the second embodiment of the present invention has a special feature for the program of the key function. This allows the assignment of certain key functions to any desired level in key code memory. The initiating procedure described above with reference to FIGS. 17A and B provides a requirement for sequentially entering the first and second initiating keys and assigning a level such as to limit or limit the assigned level of keycode memory. It was characterized by the selective use of programming keys as a means for.
또한, 이러한 개시 절차는 쇄정 메모리의 호텔 코드의 할당을 허용한다. 이러한 프로그래밍의 특징은 그것이 호텔 코드 및 레벨을 다른 설비로 할당하는데 있어서의 융통성을 갖으며, 또한 제공된 설비에서 레벨할당 및 호텔 코드의 변경을 허용한다는 장점이 있다. 그러나 제2실시예는 전력 제거와 같은 자물쇠의 단전 및 전 개시 절차를 통하지 않고서는 변경이 이루어질 수 없다는 단점이 있다. 본 발명의 제3실시예는 상기 언급한 단점이 있다. 본 발명의 제3실시예는 상기 언급한 단점을 극복했으며 어떤 변경을 하기 위한 온-라인 프로그래밍의 특징을 제공한다. 이것을 위해, 어떤 데이터 시퀀스에 응하고 선택적인 변경을 하기 위한 수단이 제공된다. 선택적 변경은 프로그래밍 키이에 의해 상이한 레벨을 위한 새로운 기능을 할당하고, 할당 키이에 의해 턴모드 문자 및 호텔 코드의 비트를 제할당하도록 제프로그램하는 것이다.This initiation procedure also permits the assignment of hotel codes of lockout memory. This programming feature has the advantage that it is flexible in assigning hotel codes and levels to other facilities, and also allows for level assignments and changes in hotel codes in a given facility. However, the second embodiment has a disadvantage in that the change cannot be made without going through the lock disconnection and the prestart procedure such as power removal. The third embodiment of the present invention has the disadvantages mentioned above. The third embodiment of the present invention overcomes the above mentioned disadvantages and provides a feature of on-line programming for making some changes. For this purpose, means are provided for responding to certain data sequences and for making selective changes. An optional change is to program a program key to assign a new function for a different level and to allocate a bit of turnmode characters and hotel codes by the assign key.
본 발명의 제3실시예의 온-라인 프로그래밍은 제17a 및 b도를 참조로 하여 설명하였듯이 자물쇠가 페이즈-인된 후에 어느 때라도 개시될 수 있다. 제30a,b 및 c도를 참조로하여 온라인 프로그래밍 서브루틴을 설명하고자 한다.On-line programming of the third embodiment of the present invention can be initiated at any time after the lock has been phased in as described with reference to FIGS. 17A and 17B. An online programming subroutine will be described with reference to Figures 30a, b and c.
일반적으로, 온-라인 프로그래밍 서브루틴은 재정의 키이의 삽입에 의해 잇따른 2개의 상이한 키이의 코드 시퀀스를 요구한다. 제1키이는 제1개시 키이이며 개시이외의 기능을 갖고 있지 않고, 제2키이는 비상레벨 키이(비상키이 또는 리페이즈 키이중 하나)이며, 재정의 키이는 프로그래밍 키이 또는 재할당 키이중 하나일 수도 있다.In general, the on-line programming subroutine requires a code sequence of two different keys followed by the insertion of an override key. The first key is the first starting key and has no function other than initiation, the second key is an emergency level key (either an emergency key or a phase key), and the redefining key can be either a programming key or a reallocation key. It may be.
제30a도를 참조하면, 온-라인 프로그래밍 서브루틴 블럭(1000)에 키이를 입력시킴으로서 개시된다. 시험블럭(1002)은 입력된 키이가 제1개시 키이 인가를 결정한다.Referring to FIG. 30A, a key is entered into the on-line programming subroutine block 1000. The test block 1002 determines whether the input key is the first starting key.
제1개시 키이가 아닐경우, 프로그램은 앞서 설명한 키이 데이터를 처리하기 위해 제25a 및 b도의 서브루틴을 갖춘 블럭(260)으로 진행한다. 입력된 키이가 제1개시 키이일 경우, 프로그램은 황색 LED를 점등시키는 블럭(1004)으로 진행한 다음 타이머를 20초로 세트시키는 블럭(1006)으로 진행한다.If it is not the first starting key, the program proceeds to block 260 with the subroutines of FIGS. 25a and b to process the key data described above. If the input key is the first start key, the program proceeds to block 1004 that lights the yellow LED and then to block 1006 that sets the timer to 20 seconds.
이때, 시험 블럭(1008)은 타이머가 또 다른 키이의 삽입을 위해 종료되는가를 결정하며 프로그램은 정지루틴(34)으로 진행한다. 타이머가 종료되지 않을 경우, 프로그램은 또 다른 키이가 삽입되었는가를 결정하는 시험 블럭(1010)으로 진행한다.At this time, the test block 1008 determines whether the timer is terminated for the insertion of another key and the program proceeds to the
또 다른 키이가 삽입되지 않았을 경우, 프로그램은 블럭(1007)으로 귀환된다. 또 다른 키이가 삽입될 경우, 프로그램은 삽입된 키이가 비상 레벨키이 인가를 결정하는 시험 블럭(1012)으로 진행한다. 삽입된 키이가 비상 레벨키이가 아닐경우, 프로그램은 키이 데이터를 처리하기 위해 제25a도 및 b도의 서브루틴의 블럭(260)으로 진행한다. 입력된 키이가 비상 레벨 키이일 경우, 프로그램은 황색 LED를 점등시키는 블럭(1014)으로 진행한 다음, 타이머를 20초로 리셋트시키는 블럭(1016)으로 진행한다. 이때, 블럭(1018)은 비상 레벨 키이가 개방 키이일 경우 "재정의" 플래그(848)를 세트시킨다.If another key has not been inserted, the program returns to block 1007. If another key is inserted, the program proceeds to test block 1012 where the inserted key determines whether an emergency level key is granted. If the inserted key is not an emergency level key, the program proceeds to block 260 of the subroutines of Figs. 25a and b to process the key data. If the key entered is an emergency level key, the program proceeds to block 1014 to light the yellow LED and then to block 1016 to reset the timer to 20 seconds. At this time, block 1018 sets the "override" flag 848 if the emergency level key is an open key.
이때, 프로그램은 타이머가 종료되는 가를 결정하는 시험 블럭(1020)으로 진행한다. 타이머가 종료되었을 경우, 프로그램은 정지 루틴(234)으로 진행한다. 타이머가 종료되지 않았을 경우, 시험 블럭(1022)은 또 다른 키이가 타이머가 종료되기 전에 삽입되었는가를 결정한다. 또 다른 키이가 삽입되지 않았을 경우, 프로그램은 블럭(1020)으로 귀환된다.At this point, the program proceeds to a test block 1020 that determines if the timer expires. When the timer expires, the program proceeds to stop routine 234. If the timer has not expired, test block 1022 determines whether another key has been inserted before the timer expires. If another key is not inserted, the program returns to block 1020.
또 다른 키이가 삽입되었을 경우, 프로그램은 재정의 플래그가 셋트되는가를 결정하는 시험 블럭(11024)으로 진행한다.If another key is inserted, the program proceeds to test block 1102 to determine if the redefine flag is set.
제3키이, 즉 시험 블럭(1022)에 삽입된 키이는 그 키이가 재정의 키이인가를 결정하도록 시험될 것이다. 시험 블럭(1024)에 의해 결정된 재정의 플래그가 세트될 경우, 제3키이는 프로그래밍 키이로서 처리될 것이고, 그렇지 않을 경우, 제3키이는 런모드 및 호텔 코드 문자의 재할당을 허용하는 재할당 키이로서 처리될 것이다. 플래그가 세트될 경우, 프로그램은 시험 블럭(1024)으로 부터, 제1문자에 단일 1비트만이 있는 가를 결정하는 시험 블럭(1026)으로 진행한다.The third key, i.e., the key inserted into the test block 1022, will be tested to determine if the key is an overriding key. If the redefinition flag determined by the
그렇지 않을 경우, 키이는 프로그래밍 키이로서 자격이 없으며 프로그램은 제25a 및 b도의 서브루틴의 블럭(260)으로 진행한다. 제1문자에 단일 1비트만이 있을 경우, 키이는 프로그래밍 키이로서 자격이 있으며, 프로그램은 이러한 코드에 어떤 변경도 없다는 것을 보장하는 메모리의 비상코드 및 현재의 개방 비트를 지배하는 블럭(1028)으로 진행한 다음, 그 키이가 제17a 및 b도를 참조로 하여 앞서 설명된 프로그래밍 키이에 대한 기준을 충족시키는 가를 결정하는 시험 블럭(1030)으로 진행한다. 키이가 기준을 충족시키지 않을 경우, 프로그램은 제25a도의 블럭(260)으로 진행한다. 충족시킬 경우, 프로그램은 새로운 기능을 프로그래밍 키이의 코딩에 따라 다른 상이한 레벨로 할당하는 블럭(1032)으로 진행한다.Otherwise, the key is not qualified as a programming key and the program proceeds to block 260 of the subroutines of FIGS. 25a and b. If there is only one single bit in the first character, the key is qualified as a programming key and the program goes to block 1028 which governs the emergency code of the memory and the current open bits to ensure that there is no change in this code. It then proceeds to a
이때, 블럭(1033)은 황색 LED를 점등시키며, 프로그램은 정지루틴(234)으로 진행한다.At this time, block 1033 turns on a yellow LED and the program proceeds to stop routine 234.
시험 블럭(1024)이 재정의 플래그가 세트되지 않았다는 것을 결정할 경우 프로그램은 제1문자에 1-비트가 없는가를 결정하는 시험 블럭(1034)으로 진행한다. 1비트가 없을 경우 프로그램은 정지(234)으로 간다. 제1문자에 어떤 1비트가 있을 경우 시험 블럭(1036)은 키이가 할당 키이로서 자격이 있다는 것을 더욱 확실히 하기 위해 키이가 제1개시 키이와 동일한 5문자를 내장하는가를 결정한다. 내장하지 않을 경우, 프로그램은 정지 루틴(234)으로 진행한다.If
내장할 경우, 블럭(1038)은 새로이 입력된 턴모드 문자를 레지스터(846)에 기억시킨 다음, 블럭(1040)은 새로이 입력된 호텔코드를 호텔 코드 레지스터(849)에 기억시킨 후 프로그램은 수용을 표시하기 위해 황색 LED를 점등시키는 블럭(1042)으로 진행한다.If embedded, block 1038 stores the newly entered turn-mode characters in
전술한 바와 같이, 제3실시예에는 최종 8엔트리 또는 문 개방을 기록하기 위한 시간베이스를 제공한다. 8개 방의 각각에 관한 정보는 히스토리 버퍼(241)에 기록된다. 턴모드 문자의 실시간 클럭 비트가 하이로 셋트될 경우, 마이크로 프로세서는 히스토리 버퍼의 각각의 문개방에 관한 데이터를 기록하기 위해 실시간 클록(820)과 함께 동작한다. 특히, 최종 이의 인식 코드(제어코드)가 기록된다. 인식코드가 동일한 키이에 의해 제엔트리될 경우, 재앤트리 카운터가 증가된다. 키이가 동일한 인식 코드를 가지나 상이한 ID코드를 가질 경우, ID코드는 버퍼에 기록된다. 이러한 엔트리에 따라, 3디지트 실시간 클록 카운터(842)의 판독은 히스토리 버퍼에 입력된다. 따라서 최종 8엔트리 각각을 위한 이러한 데이터는 히스토리 버퍼에 기록되고 버퍼의 판독시에 조사될 수 있다.As mentioned above, the third embodiment provides a time base for recording the last 8 entries or door openings. Information about each of the eight rooms is recorded in the
실시간 클록(820) 및 3디지트 실기간 클럭 카운터를 가진 마이크로 프로세서의 동작을 제31도의 플로우 챠트를 참조로 하여 설명할 것이다. 이러한 플로우 챠트에 의해 표시된 프로그램은 마이크로 프로세서의 개시핀이 블럭(1050)에 표시된 것과 같이 하이로될 때마다 금지된다. 시험 블럭(1052)은 하이 입력이 키이 스위치(58)에 의해 발생되는가를 결정한다.The operation of the microprocessor with real time clock 820 and three digit real time clock counter will be described with reference to the flowchart of FIG. The program indicated by this flow chart is prohibited whenever the start pin of the microprocessor goes high as indicated by
그럴 경우, 프로그램은 키이 데이터를 처리하기 위해 제25a도의 플로우 챠트의 블럭(260)으로 진행한다. 키이 스위치에 의해 발생되지 않을 경우, 프로그램은 하이 입력이 입력(824)상의 실시간 클록(820)에 의해 발생되는가를 결정하는 시험 블럭(1054)으로 진행한다. 실시간 클럭에 의해 발생되지 않을 경우, 프로그램은 정지(234)으로 진행하며, 실시간 클럭에 의해 발생된 경우, 시험 블럭(1056)은 입력 핀(SI)이 하이인가를 결정한다. 하이일 경우, 블럭(1058)은 리셋트 신호를 마이크로 프로세서의 리셋트 스트로브로부터 클록(820)의 리세트 핀에 송신한다. 핀(SI)이 하이가 아닐 경우, 프로그램은 직렬 버퍼 플래그(838)가 참인가, 즉 4계수를 보유하는 직렬 버퍼가 충만해 있는가를 결정하는 시험 블럭(1060)으로 진행한다. 참이 아닐 경우, 프로그램은 정지 루틴(234)으로 진행한다. 참일 경우, 프로그램은 3디지트 실시간 클럭 카운터를 증가시키는 블럭(1062)으로 진행한 다음, 정지 루틴 (234)으로 진행한다.If so, the program proceeds to block 260 of the flowchart of FIG. 25A to process the key data. If the key is not generated by the switch, the program proceeds to test
본 발명의 설명이 특별한 실시예를 참조하여 기술되었다 할지라도, 그것에만 한정하는 것은 아니다. 본 기술분야에 통상의 지식을 가진자에게는 여러가지의 수정과 변경이 있을 수 있다는 것을 알 수 있을 것이다.Although the description of the present invention has been described with reference to a particular embodiment, it is not limited thereto. It will be appreciated that various modifications and changes may be made by those skilled in the art.
Claims (30)
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US64179284A | 1984-08-17 | 1984-08-17 | |
US641,792 | 1984-08-17 | ||
US74004085A | 1985-05-31 | 1985-05-31 | |
US740,040 | 1985-05-31 | ||
PCT/US1985/001024 WO1986001360A1 (en) | 1984-08-17 | 1985-06-04 | Microcomputer controlled locking system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR860700327A KR860700327A (en) | 1986-08-01 |
KR930005700B1 true KR930005700B1 (en) | 1993-06-24 |
Family
ID=27093845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019860700043A KR930005700B1 (en) | 1984-08-17 | 1985-06-04 | Microcomputer controlled locking system |
Country Status (9)
Country | Link |
---|---|
EP (1) | EP0193537B1 (en) |
KR (1) | KR930005700B1 (en) |
AT (1) | ATE75092T1 (en) |
AU (1) | AU4493485A (en) |
BR (1) | BR8506882A (en) |
CA (2) | CA1252854A (en) |
DE (1) | DE3585876D1 (en) |
NO (1) | NO301434B1 (en) |
WO (1) | WO1986001360A1 (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1303867C (en) * | 1986-01-23 | 1992-06-23 | David Charles Blake | Security system |
KR870009095A (en) * | 1986-03-21 | 1987-10-23 | 존 디. 델폰티 | Keying system |
US5021776A (en) * | 1988-07-11 | 1991-06-04 | Yale Security Inc. | Electronic combination of lock with changeable entry codes, lock-out and programming code |
US5198643A (en) * | 1991-02-26 | 1993-03-30 | Computerized Security Systems, Inc. | Adaptable electronic key and lock system |
GB9314326D0 (en) * | 1993-07-09 | 1993-08-25 | Sedley Bruce S | Magnetic card- operated door closure |
ES2112152B1 (en) * | 1995-04-03 | 1998-10-01 | Talleres Escoriaza Sa | AUTONOMOUS ELECTRONIC LOCK WITH PROXIMITY READER. |
CN2217077Y (en) * | 1995-07-21 | 1996-01-10 | 北京亿鑫企业发展总公司 | Electronic puzzle lock |
IES950815A2 (en) * | 1995-10-18 | 1995-12-27 | Canmoy Holdings Ltd | A resource controller |
JP3769804B2 (en) * | 1996-02-02 | 2006-04-26 | ソニー株式会社 | Decoding method and electronic device |
GB2315804A (en) * | 1996-07-29 | 1998-02-11 | Christopher James Hunter | Programmable key and lock |
US20110254661A1 (en) | 2005-12-23 | 2011-10-20 | Invue Security Products Inc. | Programmable security system and method for protecting merchandise |
EP3162988B1 (en) * | 2015-10-29 | 2018-08-15 | BKS GmbH | Closing device for a door |
US10666439B2 (en) | 2017-12-01 | 2020-05-26 | International Business Machines Corporation | Hybrid security key with physical and logical attributes |
US10764064B2 (en) | 2017-12-01 | 2020-09-01 | International Business Machines Corporation | Non-networked device performing certificate authority functions in support of remote AAA |
US10392833B2 (en) | 2017-12-01 | 2019-08-27 | International Busniess Machines Corporation | Hybrid physical and logical locking device and mechanism |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3786471A (en) * | 1971-04-05 | 1974-01-15 | H Hochman | Security maintenance system |
US3821704A (en) * | 1972-03-13 | 1974-06-28 | D Sabsay | Self re keying security device with coded key |
US3926021A (en) * | 1974-01-02 | 1975-12-16 | Monitron Ind | Electronic combination lock and system |
US3969584A (en) * | 1975-01-17 | 1976-07-13 | Cecil John Miller | System for recording the actuation of remotely located locking devices |
US4177657A (en) * | 1976-04-16 | 1979-12-11 | Kadex, Inc. | Electronic lock system |
US4148092A (en) * | 1977-08-04 | 1979-04-03 | Ricky Martin | Electronic combination door lock with dead bolt sensing means |
US4232353A (en) * | 1978-06-19 | 1980-11-04 | Roger Mosciatti | Door lock security system |
US4283710A (en) * | 1978-10-25 | 1981-08-11 | J.S. Lock Company | Security system |
US4385231A (en) * | 1980-06-27 | 1983-05-24 | Omron Tateisi Electronics Co. | Unlocking system for use with cards |
-
1985
- 1985-06-04 WO PCT/US1985/001024 patent/WO1986001360A1/en active IP Right Grant
- 1985-06-04 EP EP85903111A patent/EP0193537B1/en not_active Expired - Lifetime
- 1985-06-04 BR BR8506882A patent/BR8506882A/en not_active IP Right Cessation
- 1985-06-04 AU AU44934/85A patent/AU4493485A/en not_active Abandoned
- 1985-06-04 AT AT85903111T patent/ATE75092T1/en active
- 1985-06-04 DE DE8585903111T patent/DE3585876D1/en not_active Expired - Fee Related
- 1985-06-04 KR KR1019860700043A patent/KR930005700B1/en not_active IP Right Cessation
- 1985-08-16 CA CA000488916A patent/CA1252854A/en not_active Expired
-
1986
- 1986-04-10 NO NO861387A patent/NO301434B1/en not_active IP Right Cessation
-
1989
- 1989-02-28 CA CA000592386A patent/CA1276039C/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
EP0193537A4 (en) | 1987-02-12 |
AU4493485A (en) | 1986-03-07 |
BR8506882A (en) | 1986-12-09 |
KR860700327A (en) | 1986-08-01 |
EP0193537B1 (en) | 1992-04-15 |
NO861387L (en) | 1986-06-11 |
NO301434B1 (en) | 1997-10-27 |
ATE75092T1 (en) | 1992-05-15 |
EP0193537A1 (en) | 1986-09-10 |
DE3585876D1 (en) | 1992-05-21 |
WO1986001360A1 (en) | 1986-02-27 |
CA1276039C (en) | 1990-11-06 |
CA1252854A (en) | 1989-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR930005700B1 (en) | Microcomputer controlled locking system | |
US5986564A (en) | Microcomputer controlled locking system | |
US4972182A (en) | Electronic security lock | |
US4385231A (en) | Unlocking system for use with cards | |
US3866173A (en) | Access control system for restricted area | |
US4283710A (en) | Security system | |
EP0044630A1 (en) | Electronic security device | |
EP0162171A2 (en) | Method of code changing for electronic lock | |
GB2118614A (en) | Method of code changing for electronic lock | |
JPH03100286A (en) | Locking device | |
JPS60195280A (en) | Electronic lock controller | |
US4868914A (en) | Method for clearing unlocking key codes in an electronic locking device | |
ES2252476T3 (en) | ELECTRONICALLY CONTROLLED ADMISSION DEVICE AND WRENCH USED WITH THE SAME. | |
US4851828A (en) | Electronic locking devices | |
JP2759448B2 (en) | Microcomputer controlled lock system | |
CA1298902C (en) | Microcomputer controlled door locking system | |
JPS58575A (en) | Electronic lock | |
JPS5851593B2 (en) | How to unlock using a card | |
JPH0224464A (en) | Operation control device | |
JPH0444063B2 (en) | ||
EP0382412A2 (en) | Locking system | |
EP0246903A1 (en) | A method for clearing unlocking key codes in an electronic locking device | |
JPS6210385A (en) | Method for cleaing unlocking key code in electronic lock apparatus | |
JP2591661B2 (en) | Electronic lock | |
JPH0444064B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20000622 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |