JPH01116177A - Electric wave type key system - Google Patents

Electric wave type key system

Info

Publication number
JPH01116177A
JPH01116177A JP27521187A JP27521187A JPH01116177A JP H01116177 A JPH01116177 A JP H01116177A JP 27521187 A JP27521187 A JP 27521187A JP 27521187 A JP27521187 A JP 27521187A JP H01116177 A JPH01116177 A JP H01116177A
Authority
JP
Japan
Prior art keywords
indicator
locking
key
unlocking
lock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP27521187A
Other languages
Japanese (ja)
Other versions
JP2599935B2 (en
Inventor
Shigeto Okuya
奥谷 重人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alpha Corp
Original Assignee
Alpha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alpha Corp filed Critical Alpha Corp
Priority to JP27521187A priority Critical patent/JP2599935B2/en
Publication of JPH01116177A publication Critical patent/JPH01116177A/en
Application granted granted Critical
Publication of JP2599935B2 publication Critical patent/JP2599935B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

PURPOSE: To certainly unlock a key device by a back-up electric power source of small capacity by providing an indicator light-out means to put out lights of a locking indicator and an unlocking indicator in accordance with power failure detection by a power failure detection means. CONSTITUTION: A request signal is transmitted from a request signal transmission means B to a key transceiver C in accordance with operation of an outer locking operation means A. A key code signal returned from the key transceiver C is received by a key code signal receiving means D, and it is compared with a previously set code by a comparison means E. A lock device F is locked and unlocked by matching detection of the both codes, the lock device F is locked and unlocked in accordance with operation of an inner locking and unlocking operation means G, and a locking and unlocking state is displayed by lighting of one of a locking indicator H and an unlocking indicator I. When a power failure detection means J detects a power failure, an electric power source change-over means K changes a power source from a commercial power source L over to a back-up power source M, and an indicator lights-out means N puts out lights of both of the indicators H, I.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ドアなどの開閉体又はその近傍に設けられた
錠装置の施解錠を制御する施解錠制御装置が携帯可能な
キー送受信機との間で電波による交信を行い、該交信が
適正に行われたとき錠装置の施解錠を行うようになした
電波式キーシステムに関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a locking/unlocking control device that controls the locking/unlocking of a locking device provided on or near an opening/closing body such as a door, and a portable key transmitter/receiver. The present invention relates to a radio wave type key system in which communication is carried out by radio waves between the two, and when the communication is properly performed, the lock device is locked and unlocked.

〔従来の技術及び発明が解決しようとする問題点〕従来
この種のキーシステムでは、戸外に設けた施錠操作釦及
び解錠操作1口を操作したとき、施解錠制御装置からキ
ー送受信機に所定のコードのリクエスト信号を電波で送
信し、該リクエスト信号を受信したキー送受信機が所定
のキーコード信号を電波で返送し、該キーコード信号を
受信した施解錠制御装置が所定の照合を行い、照合が一
致していれば錠装置を施解錠するようにしている。該キ
ーシステムではまた、室内側にも施錠操作釦及び解錠操
作釦を設け、当然のことながらこれら釦を操作すること
により室内でも施解錠操作できるようになっている。こ
の室内での施解錠の場合は、キー送受信機との交信は行
わず、釦操作に応じて直ちに錠装置を施解錠するように
している。
[Prior art and problems to be solved by the invention] Conventionally, in this type of key system, when a lock operation button and an unlock operation button provided outdoors are operated, a predetermined signal is sent from the lock/unlock control device to the key transmitter/receiver. A request signal for the code is transmitted by radio waves, the key transmitter/receiver that receives the request signal returns a predetermined key code signal by radio waves, and the lock/unlock control device that receives the key code signal performs a predetermined verification, If the verification matches, the lock device is locked and unlocked. In this key system, a locking operation button and an unlocking operation button are also provided on the indoor side, and as a matter of course, by operating these buttons, it is possible to perform locking and unlocking operations even indoors. In the case of locking and unlocking indoors, no communication with the key transceiver is performed, and the locking device is immediately locked and unlocked in response to button operation.

そして、室内には錠装置の現在の状態、すなわち施錠状
態又は解錠状態を家人に知らせ、施錠忘れなどを防止す
るためなどの目的で常時いずれか一方が点灯される施錠
インジケータ及び解錠インジケータが設けられている。
In the room, there is a lock indicator and an unlock indicator that are always lit, one of which is always on, to inform the household of the current status of the lock device, that is, whether it is locked or unlocked, and to prevent people from forgetting to lock the lock. It is provided.

ところで、この種のキーシステムは通常商用電源を用い
ているが、停電時に動作できないと、帰宅した家人が入
室できないことになるため、バックアップ電源を設け、
停電時にも動作できるようにすることが考えられている
By the way, this type of key system usually uses commercial power, but if it does not work during a power outage, family members who return home will not be able to enter the room, so a backup power source is installed.
The idea is to make it possible to operate even during a power outage.

しかし、バックアップ電源で通常時と同じ動作を全て行
わせようとすると、大容量のバックアップ電源が必要と
なる他、停電が長時間に亘って生じると、帰宅し、入室
しようとして解錠操作しても錠装置の解錠が行えず、戸
外に閉め出されるという問題点が生じる。
However, if you try to use a backup power source to perform all the same operations as normal, you will need a large-capacity backup power source, and if there is a power outage for a long time, you will have to go home and unlock the room when trying to enter. However, the problem arises that the locking device cannot be unlocked and the user is locked out of the door.

よって、本発明は停電が生じたとき小容量のバックアッ
プ電源で確実に解錠を行えるようにして閉め出しを防止
するようにした電波式キーシステムを提供しようとする
ものである。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a radio-controlled key system that can reliably unlock the door using a small-capacity backup power source in the event of a power outage, thereby preventing lock-outs.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決するため本発明により成された電波式
キーシステムは、第1図の基本構成図に示す如く、外部
施錠操作手段Aの操作に応じてリクエスト信号送信手段
Bからリクエスト信号を送信し、該リクエスト信号を受
信したキー送受信機Cから返送されてくるキーコード信
号をキーコード信号受信手段りで受信し、該受信したキ
ーコード信号のコードと予め設定したコードとを比較手
段Eで比較し、両コードの一致検出により錠装置Fを施
解錠すると共に、内部施解錠操作手段Gの操作に応じて
錠装置Fを直接施解錠し、かつ前記内部施解錠操作手段
Gに隣接して設けた施錠インジケータH及び解錠インジ
ケータ■の一方の常時点灯により錠装置Fの施解錠状態
を表示し、しかも停電検出手段Jによる停電検出に応じ
て電源切換手段Kにより電源を商用電源りからバックア
ップ電源Mに切換るようにしたものにおいて、前記停電
検出手段Jによる停電検出に応じて前記施錠インジケー
タH及び解錠インジケータ■を消灯するインジケータ消
灯手段Nを備えることを特徴とする。
In order to solve the above-mentioned problems, the radio wave type key system made according to the present invention transmits a request signal from the request signal transmitting means B in response to the operation of the external locking operation means A, as shown in the basic configuration diagram of FIG. The key code signal returned from the key transceiver C that received the request signal is received by the key code signal receiving means, and the code of the received key code signal and the preset code are compared by the comparing means E. The locking device F is locked and unlocked by comparing the two codes, and the locking device F is directly locked and unlocked in response to the operation of the internal locking/unlocking operation means G, and the locking device F is directly locked and unlocked in response to the operation of the internal locking/unlocking operation means G. The locked/unlocked state of the locking device F is displayed by constantly lighting one of the provided locking indicator H and unlocking indicator ■, and in addition, in response to a power failure detected by the power failure detection means J, the power source is backed up from the commercial power source by the power supply switching means K. The power source M is switched to the power source M, and is characterized by comprising an indicator extinguishing means N for extinguishing the locking indicator H and the unlocking indicator (2) in response to the power failure detection by the power failure detecting means J.

〔作 用〕[For production]

以上の構成により、停電検出手段Jが停電を検出し、こ
れに応じて電源切換手段Kが電源を商用電源りからバッ
クアップ電源Mに切換たとき、インジケータ消灯手段N
が施錠インジケータ手段H及び解錠インジケータ手段I
を消灯するため、常時一方が点灯していて比較的大きな
電力を消費しているインジケータ手段11及びIにバッ
クアップ電源Mから電力供給する必要がな(なり、バッ
クアップ電源Mの電力消費を最少に抑えることができ、
停電していても必要なときバックアップ電源Mを用いて
錠装置Fの解錠を確実に行うことができる。
With the above configuration, when the power outage detection means J detects a power outage and the power supply switching means K switches the power supply from the commercial power supply to the backup power supply M in response to this, the indicator light extinguishing means N
are the locking indicator means H and the unlocking indicator means I
In order to turn off the lights, there is no need to supply power from the backup power source M to the indicator means 11 and I, which are always on and consume a relatively large amount of power (this minimizes the power consumption of the backup power source M). It is possible,
Even if there is a power outage, the lock device F can be reliably unlocked using the backup power source M when necessary.

〔実施例〕〔Example〕

以下、本発明による電波式キーシステムの実施例を図に
基づいて説明する。
Embodiments of the radio key system according to the present invention will be described below with reference to the drawings.

第2図は、電波式キーシステムの概略構成を示す図であ
り、図において、1は例えば住宅のドアの枠側に取り付
けられる錠装置としての電気錠であり、該電気錠lは施
錠杆1aと、該施錠杆1aを解錠作動する解錠用ソレノ
イド(図示せず)と、施錠作動する施錠用モータ(図示
せず)とを有する。2は外部操作ボックスであり、ドア
近傍に設けられるインターホン3に隣接して設置される
FIG. 2 is a diagram showing a schematic configuration of a radio key system. In the figure, 1 is an electric lock as a locking device attached to the door frame of a house, for example, and the electric lock 1 is attached to a locking rod 1a. , an unlocking solenoid (not shown) for unlocking the locking rod 1a, and a locking motor (not shown) for locking the locking rod 1a. 2 is an external operation box, which is installed adjacent to the intercom 3 provided near the door.

外部操作ボックス2は、その表面に外部施錠操作釦2a
と外部解錠操作釦2bが設けられており、またその内部
に操作釦2a及び2bにそれぞれ対応して設けられた施
錠インジケータ及び解錠インジケータと、外部送受信用
アンテナと、警告用外部ブザーと、操作S口2a及び2
bによりそれぞれ操作される外部施錠及び解錠スイッチ
とが収容されている。
The external operation box 2 has an external lock operation button 2a on its surface.
and an external unlocking operation button 2b, and a locking indicator and an unlocking indicator provided inside thereof corresponding to the operating buttons 2a and 2b, respectively, an external transmitting/receiving antenna, and an external warning buzzer, Operation S ports 2a and 2
External locking and unlocking switches each operated by b are housed therein.

4はドアに隣接して室内に設置される制御装置であり、
そのパネル面には内部施錠操作S[14a、内部解錠操
作釦4b、キーにより操作するセット操作部4C、リセ
ット操作!04dが設けられ、内部には各操作釦及び操
作部にそれぞれ対応して設けられた内部施錠スイッチ、
内部施錠インジケータ、内部解錠スイッチ、内部解錠イ
ンジケータ、リセットスイッチ、送受信用内部アンテナ
、警告用内部ブザーなどの他、各種の回路ボードが収容
されている。電気錠1、操作ボックス2と制御装置4と
はコネクタ5を介して相互接続されている。
4 is a control device installed in the room adjacent to the door,
On the panel surface, there is an internal locking operation S[14a], an internal unlocking operation button 4b, a set operation section 4C operated by a key, and a reset operation! 04d, and an internal lock switch provided corresponding to each operation button and operation part,
It houses various circuit boards, including an internal lock indicator, internal unlock switch, internal unlock indicator, reset switch, internal transmitting and receiving antenna, and internal warning buzzer. The electric lock 1, the operation box 2, and the control device 4 are interconnected via a connector 5.

制御装置4にはまた、ACコード6を通じてAC100
V電源が供給されており、また停電時用のバックアップ
電源7が内蔵されている。
The controller 4 also has an AC 100 via an AC cord 6.
V power is supplied, and a backup power supply 7 is built-in in case of a power outage.

8は電気錠1を施解錠するためのキーとしてポケットな
どに入れて携帯されるカード状のキー送受信機であり、
内蔵する小型電池により電源が常に供給されている。
8 is a card-shaped key transmitter/receiver that is carried in a pocket or the like as a key for locking and unlocking the electric lock 1;
Power is constantly supplied by a small built-in battery.

なお、図示していないが、電気錠lにはドア施錠状態を
検出するドアロック状態検出スイッチやドアの開閉状態
を検出するドア開閉検出スイッチも設けられている。ま
た、ドアには機械式の錠装置も設けられており、メカキ
ーによっても施錠杆1aを操作できるようになっている
Although not shown, the electric lock 1 is also provided with a door lock state detection switch for detecting the door lock state and a door open/close detection switch for detecting the open/close state of the door. The door is also provided with a mechanical locking device, and the locking rod 1a can also be operated with a mechanical key.

上記制御装置4は第3図に示すような電気回路構成を有
する。図において、41は予め定めたプログラムに従っ
て作動するマイクロコンピュータ(以下CPUと略記す
る)であり、該CPU41は出力ポートO3〜0.。、
入力ポートl、〜114などを有する。出力ボート01
〜0.には、出力回路42を介して電気錠1内の解錠ソ
レノイド及び施錠モータ、内部及び外部解錠インジケー
タ、内部及び外部施錠インジケータ、並びに内外のブザ
ーがそれぞれ接続され、入力ポートI+〜l。
The control device 4 has an electric circuit configuration as shown in FIG. In the figure, 41 is a microcomputer (hereinafter abbreviated as CPU) that operates according to a predetermined program, and the CPU 41 operates at output ports O3 to O0. . ,
It has input ports l, ~114, etc. Output boat 01
~0. are connected to the unlocking solenoid and locking motor in the electric lock 1, internal and external unlocking indicators, internal and external locking indicators, and internal and external buzzers, respectively, via the output circuit 42, and input ports I+ to l.

には入力回路43を介してドアロック状態検出スイッチ
、ドア開閉検出スイッチ、外部の施錠スイッチ及び解錠
スイッチ、内部の施錠スイッチ及び解錠スイッチがそれ
ぞれ接続されている。また、入力ポートItにはセット
操作部4Cにより操作されるセットスイッチ44、入力
ポートtsにはリセット操作釦4dにより操作されるリ
セットスイッチ45、入力ポート■、〜11□には4ビ
ツトデイツプスイツチ46がそれぞれ接続されている。
A door lock state detection switch, a door opening/closing detection switch, an external locking switch and an unlocking switch, and an internal locking switch and an unlocking switch are respectively connected to the input circuit 43. Further, the input port It has a set switch 44 operated by the set operation section 4C, the input port ts has a reset switch 45 operated by the reset operation button 4d, and the input ports ■ and ~11□ have a 4-bit deep switch. 46 are connected to each other.

出力ポート08及び0.には発振回路47及び変調回路
48がそれぞれ接続され、出力ポートOsがHレベルに
なると発振回路47が発振を開始し、この発振回路47
からの出力信号をキャリアとして入力する変調回路48
は出力ボート0.からのリクエストコード信号によりキ
ャリアを変調する。
Output ports 08 and 0. An oscillation circuit 47 and a modulation circuit 48 are respectively connected to the oscillation circuit 47 and the modulation circuit 48. When the output port Os becomes H level, the oscillation circuit 47 starts oscillating.
A modulation circuit 48 which inputs the output signal from as a carrier.
is the output boat 0. The carrier is modulated by the request code signal from.

変調されたキャリアは増幅回路49で増幅された後、内
外の送受信用アンテナに送られてリクエスト信号として
発射される。
After the modulated carrier is amplified by an amplifier circuit 49, it is sent to internal and external transmitting and receiving antennas and is emitted as a request signal.

入力ポート113には、内外の送受信用アンテナで受信
され復調回路50で復調されたキーコード信号が入力さ
れる。復調回路50は高周波増幅回路50a1セラミツ
クフイルタ50b、中間周波増幅回路(I FAMP)
50 c及びコンパレータ50dからなる。
A key code signal received by the internal and external transmitting/receiving antennas and demodulated by the demodulation circuit 50 is input to the input port 113 . The demodulation circuit 50 includes a high frequency amplification circuit 50a, a ceramic filter 50b, and an intermediate frequency amplification circuit (I FAMP).
50c and a comparator 50d.

出力ポートO8゜は、バックアップ電源とボート■、と
の間に設けられたスイッチング回路51の制御端子に接
続されている。ボートVl)Dにはまた、電圧レギュレ
ータ52及びダイオードD1を介して、商用電源を整流
降圧して得られる12Vの電圧が供給されている。内外
の施錠及び解錠スイッチ並びにセットスイッチ44はイ
ンバータを介してオアゲート53の入力に接続され、オ
アゲート53の出力はダイオードD2を介してスイッチ
ング回路51の制御端子に接続されると共に、更にコン
デンサC2を介してボートR3Tに接続されている。ボ
ートR3Tには、シュミット回路54、コンデンサCt
を介して電圧レギュレータ52の出力が接続されている
The output port O8° is connected to a control terminal of a switching circuit 51 provided between the backup power supply and the boat (2). The boat Vl)D is also supplied with a voltage of 12V obtained by rectifying and stepping down the commercial power supply via a voltage regulator 52 and a diode D1. The internal and external locking and unlocking switches and the set switch 44 are connected to the input of an OR gate 53 via an inverter, and the output of the OR gate 53 is connected to the control terminal of the switching circuit 51 via a diode D2. It is connected to boat R3T via. The boat R3T includes a Schmitt circuit 54 and a capacitor Ct.
The output of the voltage regulator 52 is connected via.

なお、入力ポート114には電圧レギュレータ52の出
力が接続され、ボートCL1及びCL2にはロック発生
用の水晶発振子52に接続されている。
Note that the output of the voltage regulator 52 is connected to the input port 114, and the crystal oscillator 52 for lock generation is connected to the ports CL1 and CL2.

上記CPU41は図示しない内部RAMを有し、該内部
RAMにはリクエストメモリ領域RM、コードメモリ領
域CM、受信したキーコード信号のコードである入力デ
ータを一時記憶する領域などが定められている。リクエ
ストメモリ領域RMとしては4ビット割り当てられ1〜
15の数字が記憶され、コードメモリ領域CMとしては
、各々が4桁の数字を記憶する4つの領域CM、〜CM
The CPU 41 has an internal RAM (not shown), and the internal RAM has a request memory area RM, a code memory area CM, an area for temporarily storing input data which is a code of a received key code signal, and the like. As the request memory area RM, 4 bits are allocated and 1 to
15 numbers are stored, and the code memory area CM includes four areas CM, ~CM, each storing a 4-digit number.
.

が割り当てられる。is assigned.

一方、上記キー送受信機8は、第4図に示すように、予
め定めたプログラムに従って動作するCPU81を有す
る。CPtJ81は出力ポート01〜04、入力ポート
I+ 〜I3などを有し、出力ポートO2及びO2には
発振回路82及び変調回路83が接続され、出力ポート
04及び0.並びに入力ポートI2には、リクエストコ
ードとキーコードを記憶しているROM84が接続され
ている。発振回路82は出力ポートO1がHレベルにな
ることにより発振を開始し、その発振出力をキャリアと
して変調回路83に供給する。変調回路83は発振回路
82からのキャリアを出力ポート02からのキーコード
信号により変調してトランジスタQ3のベースに印加し
ている。トランジスタQ3はキーコード信号により変調
されたキャリアにより駆動され、そのコレクタに接続さ
れた送受信用アンテナ85を介してキーコード信号を発
射する。
On the other hand, the key transceiver 8 has a CPU 81 that operates according to a predetermined program, as shown in FIG. CPtJ81 has output ports 01 to 04, input ports I+ to I3, etc. An oscillation circuit 82 and a modulation circuit 83 are connected to output ports O2 and O2, and output ports 04 and 0. Also connected to the input port I2 is a ROM 84 that stores request codes and key codes. The oscillation circuit 82 starts oscillating when the output port O1 becomes H level, and supplies the oscillation output to the modulation circuit 83 as a carrier. The modulation circuit 83 modulates the carrier from the oscillation circuit 82 with the key code signal from the output port 02 and applies it to the base of the transistor Q3. Transistor Q3 is driven by a carrier modulated by the key code signal, and emits the key code signal via a transmitting/receiving antenna 85 connected to its collector.

送受信用アンテナ85はリクエスト信号を受信し、これ
を復調回路86に供給する。復調回路86は復調したリ
クエスト信号をCPU81の入力ポート■1に供給する
。復調回路86の出力は電子スイッチSW、の制御入力
にも印加されていて、復調回路86の出力が立上ると電
子スイッチSW1がオンし、電池87をコンデンサC2
を介してCPU81のポートR3Tに接続し、このこと
によってCPU81をリセットしてスタンバイ状態にす
る。電子スイッチSWIの制御入力には出力ポートo3
も接続されている。
The transmitting/receiving antenna 85 receives the request signal and supplies it to the demodulation circuit 86 . The demodulation circuit 86 supplies the demodulated request signal to the input port 1 of the CPU 81. The output of the demodulation circuit 86 is also applied to the control input of the electronic switch SW, and when the output of the demodulation circuit 86 rises, the electronic switch SW1 is turned on, and the battery 87 is connected to the capacitor C2.
The CPU 81 is connected to the port R3T of the CPU 81 via the CPU 81, thereby resetting the CPU 81 and putting it into a standby state. Output port o3 is used as a control input for electronic switch SWI.
is also connected.

出力ポート06には電池87の電源電圧をROM84に
供給する電子スイッチS W 2の制御端子が接続され
ている。
A control terminal of an electronic switch SW 2 that supplies the power supply voltage of the battery 87 to the ROM 84 is connected to the output port 06 .

以上の構成において、制御装置4のCPU41は、予め
定めたプログラムに従って第5図乃至第11図のフロー
チャートを実行し、所定の動作を行う。
In the above configuration, the CPU 41 of the control device 4 executes the flowcharts of FIGS. 5 to 11 according to a predetermined program and performs predetermined operations.

すなわち、制御装置4のCPU41は、装置の電源投入
により電圧レギュレータ52の出力電圧が立上り、ポー
トvI、Dに電源電圧が供給されると共に、シュミット
回路54の出力のHレベルの立上りを微分するコンデン
サC2により発生されるリセット信号がポートR3Tに
印加されると、スタンバイ状態となり、フローチャート
の実行を開始する。
That is, the CPU 41 of the control device 4 causes the output voltage of the voltage regulator 52 to rise when the device is powered on, supplying the power supply voltage to the ports vI and D, and a capacitor for differentiating the rise of the H level of the output of the Schmitt circuit 54. When the reset signal generated by C2 is applied to port R3T, it enters a standby state and starts executing the flowchart.

まず、最初のステップSlにおいて、セット操作部4c
によりセントスイッチ44がオンされているか否かを入
力ポートI?の状態により判定する。このステップS1
の判定がYESのときにはステップS2に進み、ここで
CPU41中のRAMの所定領域CM、RMへのキーコ
ード、リクエストコードの設定処理を行う。なお、既に
CM。
First, in the first step Sl, the set operation section 4c
The input port I? determines whether the cent switch 44 is turned on or not. Judgment is made based on the state of This step S1
If the determination is YES, the process proceeds to step S2, where a process of setting key codes and request codes to predetermined areas CM and RM of the RAM in the CPU 41 is performed. In addition, it is already a commercial.

RMにコードが格納されていて、その代わりに新しいコ
ードをセットする場合にはリセット操作釦4dによりリ
セットスイッチ45がオンされる。
If a code is stored in the RM and a new code is to be set in its place, the reset switch 45 is turned on by the reset operation button 4d.

この設定処理は本発明と直接関係ないので、詳細な説明
は省略する。ステップS2の実行後はステップSlに戻
る。
Since this setting process is not directly related to the present invention, detailed explanation will be omitted. After executing step S2, the process returns to step Sl.

上記ステップS1の判定がNOのときは、ステップS3
に進み、ここで入力ポートIIの状態によりドアロック
状態検出スイッチがオンしているか否かを知り、ドアが
施錠状態か否かを判定する。
If the determination in step S1 is NO, step S3
Then, it is determined whether the door lock state detection switch is on based on the state of the input port II, and it is determined whether the door is in the locked state.

ステップS3の判定がYESのとき、すなわちドアがロ
ック状態にあるときには、ステップS4に進み、ここで
出力ポート0.をHレベルに立上げて内部施錠インジケ
ータを点灯する。ステップS3の判定がNoのとき、す
なわちドアがアンロック状態にあるときにはステップS
5に進み、ここで出力ポート03をHレベルに立上げて
内部解錠インジケータを点灯する。ステップ84又はS
5の実行後はステップS、に進み、ここで入力ポート■
4の状態により外部解錠スイッチがオンされたか否かを
判定する。このステップShの判定がYESのときはス
テップS6゜、(第6図)に進み、Noのときはステッ
プS、に進む。
When the determination in step S3 is YES, that is, when the door is in the locked state, the process advances to step S4, where output port 0. is raised to H level and the internal lock indicator lights up. When the determination in step S3 is No, that is, when the door is in the unlocked state, step S
Proceed to step 5, where the output port 03 is raised to H level and the internal unlock indicator is lit. Step 84 or S
After executing step 5, proceed to step S, where the input port ■
Based on the state of step 4, it is determined whether the external unlock switch is turned on. When the determination in step Sh is YES, the process proceeds to step S6° (FIG. 6), and when the determination is No, the process proceeds to step S.

ステップS7では、入力ポートI6の状態により内部解
錠スイッチがオンされたか否かを判定し、このステップ
S、の判定がYESのときはステップ5701  (第
8図)に進み、NoのときはステップS8に進む。ステ
ップS8では、入力ポート■。
In step S7, it is determined whether or not the internal unlock switch is turned on based on the state of the input port I6. If the determination in step S is YES, the process proceeds to step 5701 (Fig. 8), and if NO, the process proceeds to step S7. Proceed to S8. In step S8, the input port ■.

の状態により外部施錠スイッチがオンされているか否か
を判定し、このステップS、の判定がYESのときはス
テップSso+  (第9図)に進み、NOのときはス
テップS、に進む。ステ・ノブS、では、入力ポート■
5の状態により内部施錠スイッチがオンされているか否
かを判定し、このステップS9の判定がYESのときは
ステップS、。I (第11図)に進み、Noのときは
ステップS1゜に進む。
It is determined whether the external lock switch is turned on based on the state of , and if the determination in step S is YES, the process proceeds to step Sso+ (FIG. 9), and if NO, the process proceeds to step S. Ste Knob S, input port ■
It is determined whether the internal lock switch is turned on based on the state of step S9, and if the determination in step S9 is YES, step S. Proceed to step I (FIG. 11), and if No, proceed to step S1°.

ステップS1゜では、入カポ−)114の状態により停
電であるか否かを判定し、該ステップS1゜の判定がN
Oのとき、すなわち停電でないときには、ステップS1
に戻り、上述のステップ5INS9を再び実行する。ス
テップS、。の判定がYES、すなわち停電のときは、
ステップSllに進み、ここで出カポ−)03〜0.を
Lレベルに立下げ、内部及び外部インジケータを消灯し
た後、フローチャートの実行を停止する。
In step S1°, it is determined whether or not there is a power outage based on the state of the input capacitor 114, and the determination in step S1° is N.
When O, that is, when there is no power outage, step S1
, and execute step 5INS9 described above again. Step S. If the judgment is YES, that is, there is a power outage,
Proceed to step Sll, where output capo)03~0. After lowering the signal to L level and turning off the internal and external indicators, execution of the flowchart is stopped.

上述のステップS6゜1 (第6図)では、出力ボート
0.を0.1秒間Hレベルにして内外のブザーを0.1
秒オンし、外部解錠スイッチのオンを認識したことを知
らせる。その後ステップS、。2に進み、ここで入カポ
−)1+ の状態によりドアが施錠状態にあるか否かを
判定する。判定がNoのときは、ステップS 601で
出力ポートO,,04をHレベルにして内部、外部解錠
インジケータを点灯すると共に、ステップ3604で出
力ポート07を一定時間繰返しH,Lレベルにして内外
ブザーを鳴動し、異種釦操作を警告してからステップS
1(第5図)に戻る。
In the above step S6゜1 (FIG. 6), the output port 0. is set to H level for 0.1 seconds and the internal and external buzzers are set to 0.1 seconds.
It turns on for seconds to notify that it has recognized that the external unlock switch is on. Then step S. The program proceeds to step 2, where it is determined whether the door is locked or not based on the state of the input capo (1+). If the determination is No, in step S 601 the output ports O, 04 are set to H level to light up the internal and external unlock indicators, and in step S 3604 the output port 07 is repeatedly set to H and L levels for a certain period of time to lock the internal and external locks. Sound the buzzer to warn you of different button operations, then step S.
Return to 1 (Figure 5).

上記ステップS 60+1の判定がYESのときには、
ステップS6.5に進み、ここで出力ポート03゜04
をHレベルにして内部、外部施錠インジケータを点灯し
てからステップS6゜6に進む。ステップS 66&で
は、出力ポート08をHレベルにして発振回路47の発
振を開始させると共に、RAM中の領域RMからリクエ
スト信号のコードを読出し、これを出力ポートO,から
順次出力することにより、送受信用アンテナからリクエ
スト信号を送信し、その後ステップS&@7に進む。
When the determination in step S60+1 is YES,
Proceed to step S6.5, where the output port 03゜04
is set to H level, the internal and external locking indicators are turned on, and the process proceeds to step S6.6. In step S66&, the output port 08 is set to H level and the oscillation circuit 47 starts oscillating, and the code of the request signal is read from the area RM in the RAM and sequentially outputted from the output port O, thereby transmitting/receiving. A request signal is transmitted from the antenna, and the process then proceeds to step S&@7.

ステップS、。、では、キー送受信機8からキーコード
信号を受信したか否かを、送受信用アンテナで受信され
復調回路50により復調された後人力ボートl+zに入
力される信号により判定する。
Step S. , it is determined whether or not a key code signal has been received from the key transmitter/receiver 8 based on the signal received by the transmitting/receiving antenna, demodulated by the demodulation circuit 50, and then input to the human-powered boat l+z.

キーコード信号を受信し、ステップS6゜ヮの判定がY
ESのときにはステップS60@に進み、ここでRAM
中の領域CMからキーコードを読出し、これと受信した
キーコード信号のコードとを比較し、両者が一致してい
るか否かを判定する。
The key code signal is received and the determination in step S6゜ is Y.
When it is ES, the process advances to step S60@, where the RAM
The key code is read from the middle area CM, and compared with the code of the received key code signal to determine whether or not the two match.

上記ステップS、。8の判定がYESのときは、ステッ
プS6゜9に進み、ここで出力ポートolをHレベルに
して錠装置lの解錠ソレノイドを駆動して解錠を行い、
その後ステップSl、l。に進む。
Step S above. If the determination in step 8 is YES, the process proceeds to step S69, where the output port ol is set to H level and the unlocking solenoid of the locking device 1 is driven to unlock it.
Then step Sl,l. Proceed to.

ステップS6゜では、キー送受信機8からキーコード信
号と共に送信されて(るデータに基づいてキー送受信機
8の電池の電圧レベルが低下しているか否かを判定し、
判定がYESのときはステップ5e11に進み、ここで
出力ポートo、をHレベルにしてザブ−をオンして電池
電圧の低下を警告し、電池の交換が必要であることを知
らせる。そして、判定がNoのときはステップ5htz
に進み、ここで出力ボート0,1,0.をHレベルにし
て内部、外部解錠インジケータを点灯してからステップ
S41.に進む。ステップ5611では、ステップS6
゜で点灯した外部解錠インジケータの点灯時間を規定す
るインジケータタイマをスタートさせる。このステップ
S、1.の実行後はステップs hls(第7図)に進
む。
In step S6°, it is determined whether the voltage level of the battery of the key transceiver 8 has decreased based on the data transmitted together with the key code signal from the key transceiver 8,
If the determination is YES, the process proceeds to step 5e11, where the output port o is set to H level and the switch is turned on to warn of a drop in battery voltage and notify that the battery needs to be replaced. Then, if the judgment is No, step 5htz
and now output boats 0, 1, 0 . is set to H level and the internal and external unlock indicators are turned on, and then step S41. Proceed to. In step 5611, step S6
Starts an indicator timer that specifies the lighting time of the external unlock indicator that lights up at °. This step S, 1. After execution, the process advances to step shls (FIG. 7).

なお、上記ステップ5667s 5&。Bの判定がNO
のときはステップ5614に進み、ここでステップS 
611&でのリクエスト信号の送信を既に2回行ったか
否かを判定し、判定がNoのときはステップ3606に
戻りリクエスト信号を再度送信させ、判定がYESのと
きはステップ86.3に進む。
Note that the above step 5667s 5&. B's judgment is NO
If so, the process advances to step 5614, where step S
It is determined whether the request signal has already been transmitted twice in step 611&, and if the determination is No, the process returns to step 3606 and the request signal is transmitted again, and if the determination is YES, the process proceeds to step 86.3.

上記ステップ5hys  (第7図)では、入力ポート
I2の状態によりドア開閉スイッチのオン、オフを検出
してドアが間しているか否かを判定し、判定がNO5す
なわち外部解錠スイッチの操作により錠装置1が解錠さ
れた後ドアがまだ開されていないときには、ステップS
61&に進む、ステップS、16では入力ボート■14
の状態により停電であるか否かを判定し、判定がNOで
停電でないときにはステップSKI?に進み、ここで新
たにスイッチ操作されたか否かを入力ボートIs〜1.
などの状態により判定する。この判定がYESのときに
は上記ステップS+(第5図)に戻り、判定がNOのと
きにはステップS6,8に進み、上記ステップS&13
でスタートしたインジケータタイマがタイムオーバとな
っているか否かを判定する。ステップ5618の判定が
NoのときはステップS61%に戻り、YESのときは
ステップS 619に進み、こ、こで出力ポート04,
06をLレベルにして外部施解錠インジケータを消灯し
た後、ステ、ツブS。
In step 5hys (Fig. 7), it is determined whether the door is open or not by detecting whether the door opening/closing switch is on or off depending on the state of the input port I2, and the determination is based on NO5, that is, the operation of the external unlocking switch. If the door has not yet been opened after the locking device 1 has been unlocked, step S is performed.
Proceed to 61&, step S, input boat ■14 in 16
It is determined whether or not there is a power outage based on the state of , and if the determination is NO and there is no power outage, step SKI? Proceed to , and input whether or not a new switch has been operated at Is~1.
Judgment will be made based on the following conditions. When this determination is YES, the process returns to the step S+ (FIG. 5), and when the determination is NO, the process proceeds to steps S6 and 8, and the process proceeds to the steps S&13.
Determine whether the indicator timer started at has timed out. When the determination in step 5618 is No, the process returns to step S61%, and when it is YES, the process proceeds to step S619.
After setting 06 to L level and extinguishing the external lock/unlock indicator, step S.

(第5図)に戻る。Return to (Figure 5).

上記ステップS61&  、Sol?及びS&I11の
判定がNOの間にステップ5htsの判定がYESとな
ると、すなわち解錠から一定時間内にドアが開されると
、ステップs izoに進み、ここでインジケータタイ
マを再度スタートさせる。その後ステップS&21に進
み、ここで入力ボート■2の状態によりドアが閉してい
るか否かを判定し、判定がNOのとき、すなわちドアが
開いたままのときにはステップS bttに進む。
Above step S61&, Sol? If the determination in step 5hts becomes YES while the determination in S&I 11 is NO, that is, if the door is opened within a certain period of time after unlocking, the process proceeds to step s izo, where the indicator timer is restarted. Thereafter, the process proceeds to step S&21, where it is determined whether or not the door is closed based on the state of the input port 2. If the determination is NO, that is, if the door remains open, the process proceeds to step Sbtt.

ステップS1□では停電であるか否かを判定し、このス
テップS1□の判定がNoのときはステップS&23に
進み、ここで新たなスイッチ入力が有るか否かを判定す
る。このステップS6□3の判定がYESのときは上記
ステップSI (第5図)に戻り、Noのときはステッ
プS6,4に進み、ここで上記ステップS btoでス
タートしたインジケータタイマがタイムオーバになって
いるか否かを判定する。ステップS6□4の判定がNo
のとき、すなわちタイムオーバとなっていないときには
ステップS11に戻り、ステップ36!l〜3624が
これらの判定がYESとなるまで繰返される。そしてス
テップS6□4の判定がYESとなるとステップ563
1に進み、ここで外部施解錠インジケータを消灯した後
ステップSl (第5図)に戻る。
In step S1□, it is determined whether there is a power outage or not. If the determination in step S1□ is No, the process proceeds to step S&23, where it is determined whether there is a new switch input. If the determination in step S6□3 is YES, the process returns to the above step SI (Fig. 5), and if it is NO, the process proceeds to steps S6 and 4, where the indicator timer started in the above step Sbto has timed out. Determine whether or not the The determination in step S6□4 is No.
When , that is, when the time has not exceeded, the process returns to step S11, and step 36! 1 to 3624 are repeated until these determinations become YES. If the determination in step S6□4 is YES, step 563
1, and after turning off the external lock/unlock indicator, the process returns to step Sl (FIG. 5).

上記ステップ36.4の判定がYESとなる前、すなわ
ちドアが開かれてから一定時間経過する前に、ステップ
S、2.の判定がYESとなったとき、すなわちドアが
閉じられたときには、ステップS &!Sに進み、ここ
で1秒待機した後、ステップS6!6に進む。この1秒
の待機時間はドアが確実に閉じられることを保障するた
めのものである。
Before the determination in step 36.4 becomes YES, that is, before a certain period of time has elapsed since the door was opened, step S, 2. When the determination becomes YES, that is, when the door is closed, step S&! After proceeding to step S and waiting here for 1 second, proceeding to step S6!6. This one second wait time is to ensure that the door is closed.

ステップs bzbでは、出力ポートO!をHレベルに
して施錠モータを駆動し、錠装置1を施錠する。その後
、ステップ36Z’lに進み、ここで内部、外部施錠イ
ンジケータを点灯する。続いてステップS6゜に進み、
ここで停電であるか否かを判定し、判定がNOのときは
ステップS 6+19に進む。
In step s bzb, the output port O! is set to H level, the locking motor is driven, and the locking device 1 is locked. Thereafter, the process proceeds to step 36Z'l, where the internal and external lock indicators are turned on. Next, proceed to step S6°,
Here, it is determined whether there is a power outage or not, and if the determination is NO, the process proceeds to step S6+19.

ステップS19では新たなスイッチ入力が有るか否かを
判定し、判定がYESのときにはステップS、(第5図
)に戻り、NoのときにはステップSl、3゜に進み、
ここでステップS&!。でスタートしたインジケータタ
イマがタイムオーバとなっているか否かを判定する。こ
のステップS 6:1Gの判定がNoのときはステップ
S6□8に戻り、ステップs its〜S63゜がこれ
らのいずれかがYESとなるまで繰返され、ステップS
ol。の判定がYESとなると、ステップS63+で外
部施解錠インジケータを消灯した後ステップSI (第
5図)に戻る。
In step S19, it is determined whether there is a new switch input, and if the determination is YES, the process returns to step S (FIG. 5), and if the determination is No, the process proceeds to step Sl, 3°.
Step S & here! . Determine whether the indicator timer started at has timed out. When the determination in step S6:1G is No, the process returns to step S6□8, steps Sits to S63° are repeated until one of them becomes YES, and step S6□8 is repeated.
ol. If the determination is YES, the external lock/unlock indicator is turned off in step S63+, and then the process returns to step SI (FIG. 5).

なお、上記ステップ51116 .5btz  s S
i+□、の停電か否かの判定がYESのときには、それ
ぞれステップS&3□ 、5613に進み、ここで内部
、外部施解錠インジケータを消灯した後フローチャート
の実行をストップする。
Note that step 51116. 5btz s S
When the determination as to whether or not there is a power outage in i+□ is YES, the process proceeds to steps S&3□ and 5613, where the internal and external lock/unlock indicators are turned off, and then the execution of the flowchart is stopped.

上記ステップS7の判定がYESのとき、すなわち内部
解錠スイッチがオンされたときには、ステップS、。1
 (第8図)に進む。ステップS?O1では、ブザーを
0.1秒オンして内部解錠スイッチのオンを認識したこ
とを知らせる。その後ステップS、。2に進み、ここで
ドアが施錠状態にあるか否かを判定し、判定がNOのと
き、すなわちドアが解錠状態にあるときにはステップS
7゜、に進み、ここで内部解錠インジケータを点灯した
後、ステップ5704に進み、ここでブザーをオンして
誤って異1450を操作したことを警告してからステッ
プS、(第5図)に戻る。
When the determination in step S7 is YES, that is, when the internal unlock switch is turned on, step S. 1
Proceed to (Figure 8). Step S? At O1, the buzzer is turned on for 0.1 seconds to notify that the internal unlock switch has been turned on. Then step S. 2, it is determined whether the door is in the locked state or not, and if the determination is NO, that is, the door is in the unlocked state, step S is performed.
7. After turning on the internal unlock indicator, the process proceeds to step 5704, where the buzzer is turned on to warn that the user has mistakenly operated the lock 1450, and then step S is shown (FIG. 5). Return to

一方、上記ステップS7゜2の判定がYESのとき、す
なわちドアが施錠状態にあるときには、ステップS7゜
、に進み、ここで内部施錠インジケータを点灯した後ス
テップSy。6に進み、ここで錠装置lを解錠する。ス
テップS、。あの実行後ステップS7゜、に進み、ここ
で内部解錠インジケータを点灯してからステップSl 
(第5図)に戻る。
On the other hand, if the determination in step S7.2 is YES, that is, if the door is locked, the process proceeds to step S7. Here, the internal lock indicator is turned on, and then step Sy is executed. Proceed to step 6, where the locking device l is unlocked. Step S. After that execution, proceed to step S7゜, where the internal unlock indicator is lit, and then step Sl
Return to (Figure 5).

上記ステップS、(第5図)の判定がYESのとき、す
なわち外部施錠スイッチがオンされたときには、ステッ
プSso+  (第9図)に進む。ステップS 801
では、ブザーを0.1秒オンして外部施錠スイッチのオ
ン操作を認識したことを知らせ、その後ステップS8゜
2に進み、ここでドアが解錠状態にあるか否かを判定す
る。このステップs sexの判定がNoのときには、
ステップ5llo3に進み、ここで内部、外部施錠イン
ジケータを点灯し、その後ステップ5l(14に進み、
ここでブザーをオンして誤った異種釦を操作したことを
知らせてからステップSl  (第5図)に戻る。一方
、ステップS sagの判定がYESのときにはステッ
プS sosに進む。
When the determination in step S (FIG. 5) is YES, that is, when the external lock switch is turned on, the process proceeds to step Sso+ (FIG. 9). Step S801
Then, the buzzer is turned on for 0.1 seconds to notify that the on operation of the external locking switch has been recognized, and the process then proceeds to step S8.2, where it is determined whether the door is in the unlocked state. When the determination of this step s sex is No,
Proceed to step 5llo3, where the internal and external locking indicators are illuminated, then proceed to step 5l (14,
At this point, the buzzer is turned on to notify that the user has operated the wrong button, and then the process returns to step Sl (FIG. 5). On the other hand, when the determination in step S sag is YES, the process advances to step S sos.

ステップS8゜、では、停電であるか否かを判定し、こ
の判定がNOのときにはステップS、。6に進み、ここ
で内部、外部解錠インジケータを点灯する。その後ステ
ップS、。7に進み、ここでリクエスト信号を送信した
後、ステップS8゜8に進む。
In step S8, it is determined whether or not there is a power outage, and if this determination is NO, step S. Proceed to step 6, where the internal and external unlock indicators are turned on. Then step S. The process proceeds to step S7, where a request signal is transmitted, and then the process proceeds to step S8.8.

ステップS6゜8では、キー送受信機8からキーコード
信号を受信したか否かを判定し、この判定がYESのと
きはステップS 1109に進み、ここで受信したキー
コード信号のコードと内部のキーコードを比較し、両者
が一致しているか否かを判定する。
In step S6.8, it is determined whether or not a key code signal has been received from the key transmitter/receiver 8. If this determination is YES, the process proceeds to step S1109, where the code of the received key code signal and the internal key Compare the codes and determine whether they match.

ステップS8゜、の判定がYESのときはステップSs
+oに進み、ここで錠装置lを施錠する。その後ステッ
プ5ll11に進み、ここでキーコード信号と共に受信
したデータによりキー送受信機8の電池電圧が低下した
か否かを判定する。判定がYESのときはステップ5l
lI2に進み、ここでフ゛ザ。
If the determination in step S8° is YES, step Ss
Proceed to +o and lock the locking device l here. Thereafter, the process proceeds to step 5ll11, where it is determined whether the battery voltage of the key transmitter/receiver 8 has decreased based on the data received together with the key code signal. If the judgment is YES, go to step 5l.
Proceed to lI2 and click here.

−をオンして電池電圧の低下を警告してからステップS
 813に進む。ステップS、□の判定がNOのときに
は、すなわちキー送受信機の電池電圧が正常のときは直
ちにステップ5l113に進む、ステップ511+3で
は、内部、外部施錠インジケータを点灯し、その後ステ
ップ5814に進み、ここでインジケータタイマをスタ
ートする。
Turn on - to warn of low battery voltage, then step S.
Proceed to 813. When the determination in step S, □ is NO, that is, when the battery voltage of the key transmitter/receiver is normal, the process immediately proceeds to step 5l113.In step 511+3, the internal and external lock indicators are lit, and then the process proceeds to step 5814, where Start the indicator timer.

なお、上記ステップS8゜8 、S8゜、のいずれかの
判定がNoのときは、ステップ5alSに進み、ここで
ステップS 1107でのリクエスト信号の送信を2回
行ったか否かを判定し、判定がNOのときはステップS
8゜、に戻り、ステップS flO?〜S 1109を
繰返し、判定がYESのときはステップ5ll14に進
み、インジケータタイマをスタートする。
Incidentally, when the determination in either of the above steps S8. If is NO, step S
Return to 8°, step S flO? - S1109 are repeated, and when the determination is YES, the process proceeds to step 51114 and the indicator timer is started.

ステップSll+4の実行後はステップSsz、(第1
0図)に進み、ここで停電しているか否かを判定する。
After executing step Sll+4, step Ssz, (first
0), and it is determined here whether or not there is a power outage.

このステップ5816の判定がNOのときはステップS
□、に進み、ここで新たにスイッチ入力が有るか否かを
判定し、判定がYESのときはステップS、(第5図)
に戻り、Noのときはステップ5allに進む、ステッ
プ58111では、ステップS□4でスタートしたイン
ジケータタイマがタイムオーバしているか否かを判定し
、判定がNOのときはステップS81.に戻り、YES
のときはステップ5l119に進み、ここで外部施錠イ
ンジケータを消灯してからステップS1 (第5図)に
戻る。
If the determination in step 5816 is NO, step S
Proceed to step □, where it is determined whether there is a new switch input, and if the determination is YES, step S, (Fig. 5)
If the answer is No, the process goes to step 5all. In step 58111, it is determined whether the indicator timer started in step S□4 has timed out. If the determination is no, the process goes to step S81. Return to YES
If so, the process proceeds to step 5l119, where the external locking indicator is turned off, and then the process returns to step S1 (FIG. 5).

上記ステップ5ees  ? S*+hの判定がYES
のとき、すなわち停電が判定されたときには、ステップ
S8□。(第10図)に進み、ここで内部、外部施解錠
インジケータを消灯した後、フローチャートの実行をス
トップする。
Above step 5ees? Judgment of S*+h is YES
When , that is, when it is determined that a power outage has occurred, step S8□. Proceeding to (FIG. 10), after turning off the internal and external locking/unlocking indicators, the execution of the flowchart is stopped.

上記ステップS9  (第5図)の判定がYESのとき
、すなわち内部施錠スイッチがオンされたときには、ス
テップS、。、(第11図)に進み、ここでブザーを0
.1秒オンしてスイッチオンを認識したことを知らせる
。その後ステップS9.2に進み、ここでドアが解錠状
態にあるか否かを判定する。判定がNOであればステッ
プs 9(13に進み、ここで内部施錠インジケータを
点灯し、その後ステップS、。4でブザーをオンして誤
った釦操作を警告してからステップSl  (第5図)
に戻る。
When the determination in step S9 (FIG. 5) is YES, that is, when the internal lock switch is turned on, step S. , (Fig. 11) and turn the buzzer to 0.
.. It turns on for 1 second to let you know that it has recognized the switch on. The process then proceeds to step S9.2, where it is determined whether the door is in the unlocked state. If the determination is NO, proceed to step s9 (13, where the internal lock indicator is turned on, and then step S.4, where the buzzer is turned on to warn of incorrect button operation, and then step S1 (Fig. 5) )
Return to

一方、ステップS、。2の判定がYESのときはステッ
プS、。、に進み、ここで停電であるが否かを判定する
。このステップS、。、のIll定がNo(7)ときに
はステップS、。6に進み、ここで内部解錠インジケー
タを点灯し、その後ステップS9゜7に進む。ステップ
S、。、では錠装置1を施錠し、その後ステップS 9
011に進み、ここで内部施錠インジケータを点灯して
からステップSl  (第5図)に戻る。
On the other hand, step S. If the determination in step 2 is YES, step S. , and here it is determined whether there is a power outage or not. This step S. When the Ill constant of , is No (7), step S. The process proceeds to Step 6, where the internal unlocking indicator is turned on, and then the process proceeds to Step S9.7. Step S. , the locking device 1 is locked, and then step S9
The process proceeds to step 011, where the internal locking indicator is turned on, and then the process returns to step Sl (FIG. 5).

上記ステップS、。、の判定がYESのとき、すなわち
停電のときは、ステップS、。、に進み、ここで内部、
外部施解錠インジケータを消灯した後、フローチャート
の実行をストップする。従って、停電時には施錠スイッ
チによる施錠は行われず、この場合は、メカキーにより
施錠を行えばよい。
Step S above. When the determination of , is YES, that is, when there is a power outage, step S. , and here inside,
After the external lock/unlock indicator is turned off, the execution of the flowchart is stopped. Therefore, in the event of a power outage, the lock switch will not be used to lock the door, and in this case, the mechanical key may be used to lock the door.

以上により、ステップ5ea(第5図)、ステップ56
16jS6□2 、S6□Il(第7図)、ステップ5
eos  (第9図)、ステップSll+6  (第1
O図)、ステップS9゜、(第11図)において、停電
が検出されたときには、次のステップで内部、外部施解
錠インジケータを消灯するように出カポ−)03〜04
の全てをLレベルにしている。従って、停電していない
とき常にいずれか一方が点灯されている内部施解錠イン
ジケータが消灯され、バックアップ電源7からインジケ
ータに点灯のための電力を供給する必要がなくなり、バ
ンクアンプ電源7の電力消費を抑えることができる。
As described above, step 5ea (FIG. 5), step 56
16jS6□2, S6□Il (Figure 7), Step 5
eos (Figure 9), step Sll+6 (first
When a power outage is detected in steps S9 and (Fig. 11), the output capo is set to turn off the internal and external lock/unlock indicators in the next step.
All of them are set to L level. Therefore, the internal lock/unlock indicators, one of which is always lit when there is no power outage, are turned off, eliminating the need to supply power from the backup power supply 7 to the indicators for lighting, and reducing the power consumption of the bank amplifier power supply 7. It can be suppressed.

また、上記インジケータの全ての消灯の後フローチャー
トの実行をストップしているため、CPU41を走らせ
るための電力もカットすることができる。そして、内外
の施解錠スイッチのいずれかがオンされると、CPU4
1に電源が供給され、スイッチ操作に対応する仕事を行
う。なお、操作されたスイッチが施錠スイッチである場
合には、該操作に応じた施錠動作は行わず、内外のイン
ジケータを消灯した後、フローチャートの実行をストッ
プする。これに対し、解錠スイッチを操作し 4た場合
は、所定の解錠動作を行った後、フローチャートの実行
をストップする。
Further, since execution of the flowchart is stopped after all of the indicators are turned off, the power required to run the CPU 41 can also be cut. Then, when either the internal or external lock switch is turned on, the CPU4
1 is supplied with power and performs the work corresponding to the switch operation. In addition, when the operated switch is a locking switch, the locking operation according to the operation is not performed, and after extinguishing the internal and external indicators, the execution of the flowchart is stopped. On the other hand, if the unlock switch is operated, the execution of the flowchart is stopped after performing a predetermined unlocking operation.

以上のように、停電時には必要最少限の仕事以外は行わ
ず、インジケータランプの消灯と相俟ってバックアップ
電源を長持ちさせるため、必要な解錠動作を確実に行う
ことができる。一方、施錠については、錠装置lは外部
からは入力キー操作によって、内部からは操作ノブの手
動操作によってそれぞれ施解錠できるようになっている
ので、何ら問題ない。
As described above, in the event of a power outage, only the minimum necessary work is performed, and together with the indicator lamp being turned off, the backup power supply is extended for a long time, so that the necessary unlocking operation can be performed reliably. On the other hand, with regard to locking, there is no problem since the locking device 1 can be locked and unlocked from the outside by input key operation and from the inside by manual operation of the operating knob.

〔効 果〕〔effect〕

以上説明したように本発明によれば、常時一方が点灯し
ていて一般に電力消費の大きな内部施解錠インジケータ
を停電時に消灯するようにしているため、バックアップ
電源の消耗を最少に抑えることができるようになり、長
期間に亘る停電であっても小さな容量のバックアップ電
源で確実に錠装置の解錠を行うことができ、家人が戸外
に閉め出されることを防止することができる。
As explained above, according to the present invention, one side of the internal lock/unlock indicator, which is always on and generally consumes a large amount of power, is turned off during a power outage, so that the consumption of the backup power source can be minimized. Even in the event of a long-term power outage, the lock device can be reliably unlocked using a small-capacity backup power source, and family members can be prevented from being locked out.

【図面の簡単な説明】[Brief explanation of the drawing]

“第1図は本発明による電波式キーシステムの基本構成
を示すブロック図、 第2図は本発明による電波式キーシステムの一使用例を
示す斜視図、 第3図は第2図中の一部分である施解錠制御装置の具体
例を示す回路図、 第4図は第2図中の一部分であるキー送受信機の具体例
を示す回路図、 第5図乃が第11図は第3図中のCPUが実行するフロ
ーチャートを示す図、 第12図は第4図中のCPUが実行するフローチャート
を示す図である。 A・・・外部施解錠操作手段、B・・・リクエスト信号
送信手段、C・・・キー送受信機、D・・・キーコード
信号受信手段、E・・・比較手段、F・・・錠装置、G
・・・内部施解錠操作手段、H・・・施錠インジケータ
手段、■・・・解錠インジケータ手段、J・・・停電検
出手段、K・・・電源切換手段、L・・・商用電源、M
・・・バンクアップ電源、N・・・インジケータ消灯手
段、第8図 第10図
“Figure 1 is a block diagram showing the basic configuration of the radio key system according to the present invention, Figure 2 is a perspective view showing an example of the use of the radio key system according to the present invention, and Figure 3 is a portion of Figure 2. 4 is a circuit diagram showing a specific example of a key transceiver, which is a part of FIG. 2, and FIGS. 5 to 11 are in FIG. FIG. 12 is a diagram showing a flowchart executed by the CPU in FIG. 4. A: external locking/unlocking operation means, B: request signal transmitting means, C: ...Key transmitter/receiver, D...Key code signal receiving means, E...Comparison means, F...Lock device, G
...Internal lock/unlock operation means, H...Lock indicator means, ■...Unlock indicator means, J...Power failure detection means, K...Power supply switching means, L...Commercial power supply, M
...Bank up power supply, N...Indicator extinguishing means, Fig. 8 Fig. 10

Claims (1)

【特許請求の範囲】  外部施解錠操作手段の操作に応じてリクエスト信号送
信手段からリクエスト信号を送信し、該リクエスト信号
を受信したキー送受信機から返送されてくるキーコード
信号をキーコード信号受信手段で受信し、該受信したキ
ーコード信号のコードと予め設定したコードとを比較手
段で比較し、両コードの一致検出により錠装置を施解錠
すると共に、内部施解錠操作手段の操作に応じて錠装置
を直接施解錠し、かつ前記内部施解錠操作手段に隣接し
て設けた施錠インジケータ及び解錠インジケータの一方
の常時点灯により錠装置の施解錠状態を表示し、しかも
停電検出手段による停電検出に応じて電源切換手段によ
り電源を商用電源からバックアップ電源に切換るように
した電波式キーシステムにおいて、 前記停電検出手段による停電検出に応じて前記施錠イン
ジケータ及び解錠インジケータを消灯するインジケータ
消灯手段を備える、 ことを特徴とする電波式キーシステム。
[Claims] Key code signal receiving means transmits a request signal from a request signal transmitting means in response to an operation of an external lock/unlock operating means, and receives a key code signal returned from a key transceiver that has received the request signal. A comparison means compares the code of the received key code signal with a preset code, and locks and unlocks the locking device upon detecting a match between the two codes, and also locks the locking device according to the operation of the internal locking/unlocking operation means. Directly locking and unlocking the device, displaying the locked/unlocked state of the locking device by constantly lighting one of the locking indicator and the unlocking indicator provided adjacent to the internal locking/unlocking operation means, and detecting a power outage by the power outage detection means. In the radio key system, the power source is switched from a commercial power supply to a backup power source by a power supply switching means according to the power supply, comprising an indicator light extinguishing means for extinguishing the lock indicator and the unlock indicator in response to a power failure detected by the power failure detection means. A radio key system characterized by:
JP27521187A 1987-10-30 1987-10-30 Radio key system Expired - Fee Related JP2599935B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27521187A JP2599935B2 (en) 1987-10-30 1987-10-30 Radio key system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27521187A JP2599935B2 (en) 1987-10-30 1987-10-30 Radio key system

Publications (2)

Publication Number Publication Date
JPH01116177A true JPH01116177A (en) 1989-05-09
JP2599935B2 JP2599935B2 (en) 1997-04-16

Family

ID=17552243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27521187A Expired - Fee Related JP2599935B2 (en) 1987-10-30 1987-10-30 Radio key system

Country Status (1)

Country Link
JP (1) JP2599935B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01129459U (en) * 1988-02-26 1989-09-04
JP2007146586A (en) * 2005-11-30 2007-06-14 Alpha Corp Electric lock controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01129459U (en) * 1988-02-26 1989-09-04
JP2007146586A (en) * 2005-11-30 2007-06-14 Alpha Corp Electric lock controller
JP4573761B2 (en) * 2005-11-30 2010-11-04 株式会社アルファ Electric lock control device

Also Published As

Publication number Publication date
JP2599935B2 (en) 1997-04-16

Similar Documents

Publication Publication Date Title
US10904837B2 (en) Systems and methods for controlling electronically operable access devices using WI-FI and radio frequency technology
US5838257A (en) Keyless vehicle entry system employing portable transceiver having low power consumption
KR20080017267A (en) Wireless key and door remote control system
CN204904406U (en) Safe access control system
JP2002511542A (en) System and method for remotely controlled door lock
JPH01116177A (en) Electric wave type key system
JPH09256701A (en) Transmission/reception system for controlling locking and unlocking of key
JPH11131879A (en) Non-contact-type lock control device
US20020099965A1 (en) Energy-saving control interface and method for power-on identification
JP2012025253A (en) Control system for vehicle
JP2004308165A (en) Electronic key system
JP4369625B2 (en) Locking / unlocking system and locking / unlocking method
JPH01116176A (en) Electric wave type key system
JPH01214680A (en) Radio wave type key system
JP2656506B2 (en) Radio key system
JP2007146586A (en) Electric lock controller
JP3954418B2 (en) Locking / unlocking control device
KR20040106668A (en) Power Saving Digital Door Lock Apparatus
JPH09177396A (en) Electronic lock device for door
JPH11182109A (en) Object detecting sensor and door lock control device using it
JP2005141394A (en) Security system
JP4458688B2 (en) Locking / unlocking system and locking / unlocking method
KR100669288B1 (en) Locker control system using the battery a long period
CN217404879U (en) Intelligent power-taking card with induction radar
JP2656502B2 (en) Radio key system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees