JP2009121110A - Door locking/unlocking device - Google Patents

Door locking/unlocking device Download PDF

Info

Publication number
JP2009121110A
JP2009121110A JP2007295538A JP2007295538A JP2009121110A JP 2009121110 A JP2009121110 A JP 2009121110A JP 2007295538 A JP2007295538 A JP 2007295538A JP 2007295538 A JP2007295538 A JP 2007295538A JP 2009121110 A JP2009121110 A JP 2009121110A
Authority
JP
Japan
Prior art keywords
unlocking
locking
door
control
switch
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
JP2007295538A
Other languages
Japanese (ja)
Other versions
JP5036497B2 (en
Inventor
Masaichi Nakahigashi
政一 中東
Hideo Ogata
秀雄 緒方
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.)
U Shin Ltd
Original Assignee
Yuhshin Co Ltd
Yuhshin Seiki Kogyo KK
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 Yuhshin Co Ltd, Yuhshin Seiki Kogyo KK filed Critical Yuhshin Co Ltd
Priority to JP2007295538A priority Critical patent/JP5036497B2/en
Publication of JP2009121110A publication Critical patent/JP2009121110A/en
Application granted granted Critical
Publication of JP5036497B2 publication Critical patent/JP5036497B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a door locking/unlocking device which can easily identify a cause of an inconvenience when it occurs. <P>SOLUTION: The door locking/unlocking device is formed of: a control means 6 which electrically controls locking/unlocking of a door 2, and carries out the locking/unlocking of the door 2 if locking/unlocking operation by the operator coincides with any of a plurality of operating conditions; a memory means 17 which stores therein control information concerning the locking/unlocking of the door 2, inclusive of driving information indicating with which operating condition the locking/unlocking operation by the operator coincides when the locking/unlocking of the door 2 is carried out, even after completion of the locking/unlocking operation of the door 2; and a monitor means 15 which can output the control information stored in the memory means 17. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ドア用施解錠装置に関する。   The present invention relates to a door locking / unlocking device.

住宅のドアの施解錠を電気的に制御する施解錠装置では、特許文献1,2に記載されているように、扉面等に取り付けられたタッチスイッチのユーザ操作や、ユーザが携帯するカードキーなどの携帯機が発信した信号に基づいて、ドアの施解錠を制御している。   In a locking / unlocking device that electrically controls locking / unlocking of a door of a house, as described in Patent Documents 1 and 2, a user operation of a touch switch attached to a door surface or the like, or a card key carried by a user The door is locked and unlocked based on a signal transmitted by a portable device.

近年の施解錠装置は、ユーザの操作に基づいて施解錠するだけでなく、セキュリティの向上のために、ユーザ操作による解錠から所定時間経過後、自動的に施錠するなどの付加機能を有している。   Recent locking / unlocking devices not only lock and unlock based on user operations, but also have an additional function such as automatically locking after a predetermined time has elapsed since unlocking by user operations, in order to improve security. ing.

このような施解錠装置では、ドアが勝手に開いてしまうなどの不具合が生じたとき、その原因を容易に特定できず、復旧に時間がかかったり、セキュリティ上の不安を残すという問題があった。
特開2004−068483号公報 特開平5−156849号公報
With such a locking / unlocking device, when a problem such as the door opening itself occurs, the cause cannot be easily identified, and it takes time to recover or leaves security concerns .
JP 2004-068483 A Japanese Patent Laid-Open No. 5-1556849

前記問題点に鑑みて、本発明は、不具合が生じたときに、その原因を容易に特定できるドア用施解錠装置を提供することを課題とする。   In view of the above problems, an object of the present invention is to provide a door locking / unlocking device that can easily identify the cause when a problem occurs.

前記課題を解決するために、本発明によるドア用施解錠装置は、ドアの施解錠を電気的に制御する制御手段と、前記ドアの施解錠に係る制御情報を、前記ドアの施解錠動作が終了した後も記憶する記憶手段と、前記記憶手段に記憶した前記制御情報を出力可能なモニタ手段とを備えるものとする。   In order to solve the above-mentioned problems, a door locking / unlocking device according to the present invention includes a control means for electrically controlling the locking / unlocking of the door, and control information relating to the locking / unlocking of the door. It is assumed that storage means for storing the information after the completion and monitoring means capable of outputting the control information stored in the storage means are provided.

この構成によれば、ドアに不具合が発生したときに、サービスマン等の操作者は、モニタ手段によって記憶手段が記憶している制御情報を確認できるので、施解錠装置の不具合が発生したときの状況を容易に把握でき、不具合の原因を容易に特定でき、有効な対策を講じることができる。   According to this configuration, when a malfunction occurs in the door, an operator such as a serviceman can check the control information stored in the storage means by the monitor means, so that when the malfunction of the locking / unlocking device occurs The situation can be easily grasped, the cause of the defect can be easily identified, and effective measures can be taken.

また、本発明のドア用施解錠装置において、前記制御手段は、複数の操作条件のいずれかに合致する場合に、前記ドアの施解錠を行い、前記制御情報は、前記ドアの施解錠が行われたときにいずれの前記操作条件に合致していたかを示す駆動情報を含んでもよい。   Further, in the door locking / unlocking device according to the present invention, the control means performs locking / unlocking of the door when any of a plurality of operation conditions is satisfied, and the control information includes locking / unlocking of the door. It may also include drive information indicating which of the above operating conditions was met when it was released.

この構成によれば、制御手段が処理する情報の中でも、いかなる操作条件において電気錠を施解錠制御したのかを特定することで、不具合の原因を特定できる可能性が大幅に向上する。   According to this configuration, it is possible to greatly improve the possibility that the cause of the malfunction can be identified by identifying the operating conditions under which the electric lock is controlled to be unlocked / unlocked among the information processed by the control means.

また、本発明のドア用施解錠装置において、前記制御情報は、前記ドア用施解錠装置の故障を検出したとき、前記制御情報のいずれに基づいて故障であると判断したかを示す故障情報を含んでもよい。   In the door locking / unlocking device of the present invention, the control information includes failure information indicating which of the control information is determined to be a failure when a failure of the door locking / unlocking device is detected. May be included.

この構成によれば、電気錠の駆動装置の駆動エラーによる不具合等を容易に判断することができる。   According to this configuration, it is possible to easily determine a malfunction or the like due to a drive error of the drive device for the electric lock.

また、本発明のドア用施解錠装置において、前記制御手段は、携帯機から送信されるIDコードを受信し、受信した前記IDコードが認証される場合に、前記ドアの施解錠を行い、前記駆動情報は、前記IDコードまたは前記IDコードによって特定される前記携帯機を示す情報を含んでもよい。   In the door locking / unlocking device of the present invention, the control means receives an ID code transmitted from a portable device, and when the received ID code is authenticated, locks and unlocks the door, The drive information may include the ID code or information indicating the portable device specified by the ID code.

この構成によれば、どの携帯機により電気錠が施解錠制御されたのかを確認できるので、施解錠装置の不具合なのか、人的要因による過失なのかをより容易に判断することができる。   According to this configuration, since it is possible to confirm which portable device has been used to control the locking / unlocking of the electric lock, it is possible to more easily determine whether the locking / unlocking device is malfunctioning or negligent due to human factors.

また、本発明のドア用施解錠装置において、前記制御手段には、周辺機器の情報が入力され、前記制御情報は、前記周辺機器の不具合を示す情報を含んでもよい。   In the door locking / unlocking device of the present invention, information on peripheral devices may be input to the control means, and the control information may include information indicating a defect of the peripheral devices.

この構成によれば、周辺機器の情報を確認できるので、故障箇所と故障原因の特定が容易である。   According to this configuration, information on the peripheral device can be confirmed, so that it is easy to identify the failure location and the cause of the failure.

また、本発明のドア用施解錠装置において、さらに、操作者が操作可能な操作スイッチを備え、前記操作スイッチの所定の操作により、前記モニタ手段が前記制御情報を出力してもよい。   The door locking / unlocking device of the present invention may further include an operation switch that can be operated by an operator, and the monitor means may output the control information by a predetermined operation of the operation switch.

この構成によれば、操作者が、必要に応じて、制御手段がどのような制御を行ったか、もしくはどのような不具合が生じているのかを簡単に知ることができる。   According to this configuration, the operator can easily know what kind of control the control unit has performed or what kind of trouble has occurred as necessary.

また、本発明のドア用施解錠装置において、前記制御手段は、携帯機から送信されるIDコードを受信し、受信した前記IDコードが認証される場合に、前記ドアの施解錠を行い、前記操作スイッチは、前記制御手段に、前記IDコードを登録するための登録処理を起動させる登録スイッチであり、前記制御手段は、前記登録スイッチが1度押下されたときに前記登録処理を起動し、前記登録スイッチが所定時間内に所定の複数回押下されたときに前記モニタ手段に前記制御情報を出力させてもよい。   In the door locking / unlocking device of the present invention, the control means receives an ID code transmitted from a portable device, and when the received ID code is authenticated, locks and unlocks the door, The operation switch is a registration switch that causes the control means to activate a registration process for registering the ID code, and the control means activates the registration process when the registration switch is pressed once, The control means may output the control information when the registration switch is pressed a predetermined number of times within a predetermined time.

この構成によれば、従来の施解錠装置にも設けられている登録スイッチを利用することにより、スイッチを別途設ける必要がないので、コストを上昇させずに、防犯性・安全性の高いシステムとすることができる。   According to this configuration, by using the registration switch provided in the conventional locking / unlocking device, it is not necessary to provide a separate switch. can do.

本発明によれば、ドアの施解錠に係る制御情報を記憶する記憶手段と、記憶した制御情報を出力するモニタ手段とを備えるので、不具合が発生したときの状況を操作者が容易に確認でき、不具合の原因の特定や対策の立案が容易である。   According to the present invention, since the storage means for storing the control information related to the locking / unlocking of the door and the monitor means for outputting the stored control information are provided, the operator can easily confirm the situation when the trouble occurs. Therefore, it is easy to identify the cause of failure and to plan countermeasures.

これより、本発明の実施形態について、図面を参照しながら説明する。
図1に、本発明の施解錠装置1の構成を示す。施解錠装置1は、住宅用のドア2に、室内側および室外側の両側から操作可能に取り付けられている。図中の(A)はドア2の室外側、(B)はドア2の側端側、(C)はドア2の室内側を示す。施解錠装置1は、メイン錠箱3、サブ錠箱4、タッチスイッチ5および制御装置6とからなる。
Embodiments of the present invention will now be described with reference to the drawings.
In FIG. 1, the structure of the locking / unlocking apparatus 1 of this invention is shown. The locking / unlocking device 1 is attached to a residential door 2 so as to be operable from both the indoor side and the outdoor side. In the drawing, (A) shows the outdoor side of the door 2, (B) shows the side end side of the door 2, and (C) shows the indoor side of the door 2. The locking / unlocking device 1 includes a main lock box 3, a sub lock box 4, a touch switch 5, and a control device 6.

メイン錠箱3およびサブ錠箱4は、それぞれ、ドア2の内部に組み付けられており、ドア2の側端面から突出または内部に収納可能なデッドボルト7,8を有し、室内側に露出する手動操作部9,10と、室外側に露出するキー操作部11,12と、デッドボルト7,8を駆動する不図示のモータとをそれぞれ備える。手動操作部9,10は、ユーザ(居住者)が回動できるサムターン13,14と、複数のLEDからなる表示器(モニタ手段)15,16とを備えている。キー操作部11,12は、所定の鍵を差し込んで回動させることができるようになっている。   The main lock box 3 and the sub lock box 4 are each assembled inside the door 2, have dead bolts 7 and 8 that protrude from the side end face of the door 2 or can be accommodated therein, and are exposed to the indoor side. Manual operation units 9 and 10, key operation units 11 and 12 exposed to the outdoor side, and a motor (not shown) that drives dead bolts 7 and 8 are provided. The manual operation units 9 and 10 include thumb turns 13 and 14 that can be rotated by a user (resident), and indicators (monitor means) 15 and 16 each including a plurality of LEDs. The key operation units 11 and 12 can be rotated by inserting a predetermined key.

制御装置6は、例えばEEPROMからなる記憶手段17と、RAMからなるワーキングメモリ18と、ユーザがそれぞれ所有する携帯機19と無線通信するアンテナ装置20と、ドア2の端面側に配設された登録スイッチ21とを備える。制御装置6は、サムターン13,14、キー操作部11,12の動作、タッチスイッチ5の状態、携帯機19との通信内容等の様々な制御情報に基づいて、デッドボルト7,8を駆動することで、ドア2を施錠または解錠する。尚、本実施形態の施解錠装置1において、制御装置6は、メイン錠箱3およびサブ錠箱4を共に施錠もしくは解錠することが可能であるだけでなく、メイン錠箱3およびサブ錠箱4のいずれか一方だけを施錠もしくは解錠することもできる。   The control device 6 includes, for example, a storage means 17 made of EEPROM, a working memory 18 made of RAM, an antenna device 20 that wirelessly communicates with a portable device 19 owned by each user, and a registration provided on the end face side of the door 2. And a switch 21. The control device 6 drives the dead bolts 7 and 8 based on various control information such as the thumbturns 13 and 14, the operation of the key operation units 11 and 12, the state of the touch switch 5, and the communication content with the portable device 19. Thus, the door 2 is locked or unlocked. In the locking / unlocking device 1 of the present embodiment, the control device 6 can not only lock or unlock the main lock box 3 and the sub lock box 4 together, but also the main lock box 3 and the sub lock box. Only one of 4 can be locked or unlocked.

制御装置6は、施解錠装置1の制御のために、メイン錠箱3、サブ錠箱4、タッチスイッチ5、或いは、不図示のセンサ等の他の構成要素から受信する各種のデータや制御の過程で生成されるフラグなどの様々な制御情報をワーキングメモリ18に一時的に記憶する。また、制御装置6は、ワーキングメモリ18の制御情報の中から、施解錠動作を開始した操作条件を示す駆動情報コードと、故障検出時にどのような制御情報に基づいて故障と判断したかを示す故障情報コードとを、EEPROM17にも記憶させる。駆動情報コードは、メイン錠箱3、サブ錠箱4のモータを駆動する毎にEEPROM17の所定の領域に上書きされて最新の情報のみが保存されるが、故障情報コードは、EEPROM17の容量が許す限り、故障が発生した順番に書き足される。また、EEPROM17には、居住者が保有する携帯機19のIDコードなどの登録データも記憶される。ワーキングメモリ18に記憶した制御情報は、制御装置6のリセット時には消去されるが、不揮発性のEEPROM17に記憶した制御情報は、制御装置6のリセットや電源の遮断によっても消去されずに保持される。   For the control of the locking / unlocking device 1, the control device 6 performs various data and control received from the main lock box 3, the sub lock box 4, the touch switch 5, or other components such as a sensor (not shown). Various control information such as a flag generated in the process is temporarily stored in the working memory 18. Further, the control device 6 indicates a drive information code indicating an operation condition for starting the locking / unlocking operation from the control information in the working memory 18 and what kind of control information is determined as a failure when the failure is detected. The failure information code is also stored in the EEPROM 17. The drive information code is overwritten in a predetermined area of the EEPROM 17 each time the motors of the main lock box 3 and the sub lock box 4 are driven, and only the latest information is stored. However, the failure information code is allowed by the capacity of the EEPROM 17. As long as there is a failure, they are added in the order in which they occurred. The EEPROM 17 also stores registration data such as an ID code of the portable device 19 owned by the resident. The control information stored in the working memory 18 is erased when the control device 6 is reset. However, the control information stored in the nonvolatile EEPROM 17 is retained without being erased even when the control device 6 is reset or the power is turned off. .

図2に、この施解錠装置1の制御装置6の、ドア2の施解錠に係る通常処理の流れを示す。制御装置6は、ステップS1において、タッチスイッチ5の状態を確認する。ステップS1でタッチスイッチ5が押下されていれば、ステップS2に進んで、後述のタッチスイッチ処理を行い、ステップS1に戻る。ステップS1でタッチスイッチスイッチ5が押下されていれば、ステップS3に進んで1つの携帯機19を特定する呼出信号を設定し、アンテナ装置20から設定した呼出信号を含むチャレンジ信号を送出する。そして、ステップS4において、携帯機19からの応答信号を受信する信号受信処理を行う。この信号受信処理は、受信した信号が所定のフォーマットであるか否かを判定する。例えば、受信した信号が所定のビット長でない場合、制御装置6は、「通信異常故障」であると判断し、EEPROM17に、通信異常故障を示す制御情報である通信異常故障情報コードを記憶する。   In FIG. 2, the flow of the normal process which concerns on locking / unlocking of the door 2 of the control apparatus 6 of this locking / unlocking apparatus 1 is shown. The control device 6 confirms the state of the touch switch 5 in step S1. If the touch switch 5 is pressed in step S1, the process proceeds to step S2, performs touch switch processing described later, and returns to step S1. If the touch switch 5 is pressed in step S1, the process proceeds to step S3, where a call signal for specifying one portable device 19 is set, and a challenge signal including the set call signal is transmitted from the antenna device 20. In step S4, signal reception processing for receiving a response signal from the portable device 19 is performed. In this signal reception process, it is determined whether or not the received signal has a predetermined format. For example, if the received signal is not a predetermined bit length, the control device 6 determines that it is “communication abnormality failure”, and stores a communication abnormality failure information code, which is control information indicating the communication abnormality failure, in the EEPROM 17.

さらに、制御装置6は、ステップS5に進んで、受信した信号に含まれる携帯機19固有のIDコードがEEPROM17に予め記憶しているIDコードに合致する場合にのみ、チャレンジ信号に応答した携帯機19を認証する信号認証処理を行う。ここで、受信したIDコードが記憶しているIDコードに合致するという操作条件を満たせば、制御装置はユーザを認証し、メイン錠箱3およびサブ錠箱4の施解錠を行う。受信したIDコードが記憶しているIDコードに合致しない場合、制御装置6は、「認証不一致故障」であると判断し、EEPROM17に、認証不一致故障を示す認証不一致故障情報コードを記憶する。   Further, the control device 6 proceeds to step S5, and the portable device that responds to the challenge signal only when the ID code unique to the portable device 19 included in the received signal matches the ID code stored in the EEPROM 17 in advance. A signal authentication process for authenticating 19 is performed. Here, if the operating condition that the received ID code matches the stored ID code is satisfied, the control device authenticates the user and locks and unlocks the main lock box 3 and the sub lock box 4. If the received ID code does not match the stored ID code, the control device 6 determines that it is an “authentication mismatch failure” and stores an authentication mismatch failure information code indicating an authentication mismatch failure in the EEPROM 17.

尚、本実施形態の制御装置6は、EEPROM17の異なる3つのエリアに、同じデータを記憶させるようになっている。例えばEPROM17からIDコードの読み出し処理を行うステップS4やステップS5において、制御装置6は、EEPROM17の3つのエリアからそれぞれデータを読み出して照合し、3つのエリアのデータが不一致である場合は、「EEPROM故障」であると判断し、EEPROM17に、EEPROM故障を示すEEPROM故障情報コードを記憶する。3つのエリアの内2つ以上のエリアのデータが一致する限り、制御装置6は、多数のデータに基づいて制御を継続する。   Note that the control device 6 of this embodiment stores the same data in three different areas of the EEPROM 17. For example, in step S4 or step S5 in which the ID code is read from the EPROM 17, the control device 6 reads and collates data from each of the three areas of the EEPROM 17, and if the data in the three areas do not match, the "EEPROM" The EEPROM 17 is determined to be “failure”, and an EEPROM failure information code indicating the EEPROM failure is stored in the EEPROM 17. As long as the data in two or more of the three areas match, the control device 6 continues the control based on a large number of data.

ステップS5の信号認証処理が終了したなら、制御装置6は、ステップS6に進んで、登録されている携帯機19の数だけチャレンジ信号を送出したかどうかを確認する。携帯機19の登録数だけチャレンジ信号を送出していない場合は、ステップS1に戻ってステップS1からS5の処理を繰り返す。登録された携帯機19の全てにチャレンジ信号を送信したなら、ステップS7に進んで、次の操作が行われるまで待機する。   If the signal authentication process of step S5 is complete | finished, the control apparatus 6 will progress to step S6, and will confirm whether the challenge signal is transmitted by the number of the portable devices 19 registered. When the challenge signal is not transmitted as many times as the number of registrations of the portable device 19, the process returns to step S1 and the processes from step S1 to S5 are repeated. If the challenge signal is transmitted to all the registered portable devices 19, the process proceeds to step S7 and waits until the next operation is performed.

続いて、図3に、図2のステップS3のタッチスイッチ処理の詳細を示す。制御装置6は、図2のステップS2でタッチスイッチ5が押下されている場合、図3のステップS11において、タッチスイッチ5の室内側のボタンが押下されたか否かを確認し、室内側のボタンが押下されていなければ、さらに、ステップS12で、タッチスイッチ5の室外側のボタンが押下されたか否かを確認する。制御装置6は、タッチスイッチ5の室内側または室外側のいずれかのボタンが押下されていれば、ステップS13に進み、タッチスイッチ5が30秒以上継続して押下されているか否かを確認する。タッチスイッチ5が30秒以上継続して押下されていれば、制御装置6は、「タッチスイッチ異常故障」であると判断し、ステップS14に進んで、EEPROM17にタッチスイッチ故障を示す制御情報であるタッチスイッチ故障情報コードを記憶する。ステップS13でタッチスイッチ5の押下時間が30秒未満であると判定されれば、制御装置6は、ステップS15でEEPROM17からIDコードを読み込み、ステップS16でアンテナ装置20のアンテナ出力を準備して、図2の通常処理に戻る。   Next, FIG. 3 shows details of the touch switch process in step S3 of FIG. When the touch switch 5 is pressed in step S2 of FIG. 2, the control device 6 confirms whether or not the indoor button of the touch switch 5 is pressed in step S11 of FIG. If is not pressed, it is further checked in step S12 whether or not a button on the outside of the touch switch 5 has been pressed. If either the indoor or outdoor button of the touch switch 5 is pressed, the control device 6 proceeds to step S13 and confirms whether or not the touch switch 5 is continuously pressed for 30 seconds or more. . If the touch switch 5 is continuously pressed for 30 seconds or more, the control device 6 determines that there is a “touch switch abnormal failure”, proceeds to step S14, and shows control information indicating the touch switch failure in the EEPROM 17. The touch switch failure information code is stored. If it is determined in step S13 that the pressing time of the touch switch 5 is less than 30 seconds, the control device 6 reads the ID code from the EEPROM 17 in step S15, prepares the antenna output of the antenna device 20 in step S16, Returning to the normal processing of FIG.

図4に、メイン錠箱3およびサブ錠箱4のデッドボルト7,8を駆動するモータの制御の流れを示す。この処理は、図2のステップS5の信号認証処理において、制御装置6が受信したIDコードが認証されたときに行われる。制御装置6は、ステップS21で後述(図5)のモータ駆動処理およびモータ駆動処理を実行してから、ステップS22で、後述(図6)のモータ停止処理においてワーキングメモリ18に設定される制御情報の1つである施解錠スイッチ故障情報コードと、後述のタッチスイッチ操作駆動情報処理(図8)においてワーキングメモリ18に設定される駆動情報の1つである施解錠駆動情報コードとをEEPROM17に記憶させる。そして、ステップS23で、後述(図7)のモータエラー処理においてワーキングメモリ18に設定されるモータエラーフラグの有無を確認する。モータエラーフラグが確認されれば、ステップS24に進み、ステップS21において実行されたモータ駆動処理とは逆方向へモータを駆動処理する。つまり、モータエラーの際には、デッドボルト7または8が施錠位置と解錠位置との間で止まっている可能性があるため、元の位置へ戻るように制御する。そして、ステップS25で、EEPROM17に駆動情報であるモータエラー駆動情報コードを記憶させ、さらに、ステップS26でワーキングメモリ18に異常を示すエラーブザーフラグを設定する。   FIG. 4 shows the flow of control of the motor that drives the dead bolts 7 and 8 of the main lock box 3 and the sub lock box 4. This process is performed when the ID code received by the control device 6 is authenticated in the signal authentication process in step S5 of FIG. The control device 6 executes the motor drive process and motor drive process described later (FIG. 5) in step S21, and then, in step S22, the control information set in the working memory 18 in the motor stop process described later (FIG. 6). Are stored in the EEPROM 17 and a lock / unlock switch failure information code, which is one of the above, and a lock / unlock drive information code which is one of drive information set in the working memory 18 in the touch switch operation drive information processing (FIG. 8) described later. Let In step S23, it is confirmed whether or not there is a motor error flag set in the working memory 18 in a motor error process described later (FIG. 7). If the motor error flag is confirmed, the process proceeds to step S24, and the motor is driven in the direction opposite to the motor driving process executed in step S21. That is, in the case of a motor error, since there is a possibility that the dead bolt 7 or 8 is stopped between the locked position and the unlocked position, control is performed so as to return to the original position. In step S25, a motor error drive information code as drive information is stored in the EEPROM 17, and an error buzzer flag indicating abnormality is set in the working memory 18 in step S26.

制御装置6は、さらに、ステップS27で、ドア2が開いているか否かを不図示のセンサによって確認する。ドア2が開いていれば、ステップS28で、ワーキングメモリ18に開扉ブザーフラグを設定する。最後に、ステップS29で、設定されているエラーに応じて定められたブザー音、エラーが設定されていなければ、施錠完了または解錠完了を知らせるブザー音を出力して、モータ制御処理を終了する。   In step S27, the control device 6 further confirms whether or not the door 2 is open by a sensor (not shown). If the door 2 is open, an opening buzzer flag is set in the working memory 18 in step S28. Finally, in step S29, if a buzzer sound determined according to the set error or no error is set, a buzzer sound for notifying completion of locking or unlocking is output, and the motor control process is terminated. .

図5に、図4のステップS21およびステップS24で実行するモータ駆動処理の詳細を示す。モータ駆動処理では、制御装置6は、先ず、ステップS31で、ドア2が閉じているか否かを確認し、ドア2が閉じていなければ、ステップS32に進んで、メイン錠箱3およびサブ錠箱4が共に解錠、つまり、デッドボルト7,8がいずれも収納されているかどうかを確認する。メイン錠箱3およびサブ錠箱4が共に解錠状態であれば、ステップS33においてワーキングメモリ18に開扉ブザーフラグを設定し、処理を終了する。   FIG. 5 shows details of the motor drive processing executed in steps S21 and S24 in FIG. In the motor drive process, the control device 6 first checks in step S31 whether or not the door 2 is closed. If the door 2 is not closed, the control device 6 proceeds to step S32, and the main lock box 3 and the sub lock box. 4 is unlocked, that is, it is confirmed whether both dead bolts 7 and 8 are accommodated. If both the main lock box 3 and the sub lock box 4 are unlocked, the door opening buzzer flag is set in the working memory 18 in step S33, and the process is terminated.

ステップS31でドア2が閉じているか、ステップS32でメイン錠箱3およびサブ錠箱4の少なくともいずれかが施錠(デッドボルト7,8が突出)状態であれば、制御装置6は、ステップS34に進んで、後述(図8)のタッチスイッチ操作駆動情報処理を行う。そして、ステップS35において、メイン錠箱3のデッドボルト7の位置を検出する不図示のスイッチの検出結果に応じて、デッドボルト7を駆動するモータを動作させ、ステップS36において、サブ錠箱4のデッドボルト8の位置を検出する不図示のスイッチの検出結果に応じて、デッドボルト8を駆動するモータを動作させる。   If the door 2 is closed in step S31, or if at least one of the main lock box 3 and the sub lock box 4 is locked (the dead bolts 7 and 8 are protruding) in step S32, the control device 6 proceeds to step S34. Then, touch switch operation drive information processing described later (FIG. 8) is performed. In step S35, a motor for driving the dead bolt 7 is operated in accordance with a detection result of a switch (not shown) that detects the position of the dead bolt 7 of the main lock box 3. In step S36, the sub lock box 4 A motor for driving the deadbolt 8 is operated in accordance with a detection result of a switch (not shown) that detects the position of the deadbolt 8.

さらに、制御装置6は、ステップS37において、デッドボルト7,8を駆動する間の電圧変化を監視し、さらに、ステップS38において、デッドボルト7,8の駆動時間を監視する。デッドボルト7,8の駆動中に電圧低下が検出されず、所定の時間までにデッドボルト7,8の駆動が完了すれば、ステップS39に進んで、後述(図6)のモータ停止処理を実行し、デッドボルト7,8の駆動中に電圧低下が検出された場合および所定の時間までにデッドボルト7,8の駆動が完了しなかった場合には、ステップS40に進んで、後述(図7)のモータエラー処理を実行する。このモータ停止処理が終了したなら、図4のモータ制御処理に戻り、ステップS22に進む。   Further, in step S37, the control device 6 monitors voltage changes during driving of the dead bolts 7 and 8, and further monitors the drive time of the dead bolts 7 and 8 in step S38. If no voltage drop is detected during the driving of the dead bolts 7 and 8 and the driving of the dead bolts 7 and 8 is completed by a predetermined time, the process proceeds to step S39, and a motor stop process described later (FIG. 6) is executed. When a voltage drop is detected during the driving of the dead bolts 7 and 8 and when the driving of the dead bolts 7 and 8 is not completed by a predetermined time, the process proceeds to step S40, which will be described later (FIG. 7). ) Motor error processing is executed. If this motor stop process is completed, the process returns to the motor control process of FIG. 4 and proceeds to step S22.

図6に、上記モータ停止処理の詳細を示す。モータ停止処理では、制御装置6は、先ず、ステップS41で、メイン錠箱3およびサブ錠箱4のモータ駆動命令が、施錠方向の駆動であるか解錠方向の駆動であるかを確認する。施錠方向の駆動命令でない場合、つまり、解錠方向の駆動命令である場合は、ステップS42からステップS51までの処理を行い、施錠方向の駆動命令である場合は、ステップS52からステップS61までの処理を行う。   FIG. 6 shows details of the motor stop process. In the motor stop process, first, in step S41, the control device 6 confirms whether the motor drive command for the main lock box 3 and the sub lock box 4 is a drive in the locking direction or a drive in the unlocking direction. If it is not a locking direction driving command, that is, if it is an unlocking direction driving command, the processing from step S42 to step S51 is performed, and if it is a locking direction driving command, the processing from step S52 to step S61. I do.

解錠方向の駆動命令である場合、ステップS42において、メイン錠箱3の解錠(デッドボルト7の収納)を検出する不図示のメイン解錠スイッチの状態を確認し、メイン解錠スイッチがオフでなければ、ステップS43でメイン錠箱3のモータの駆動開始から所定時間が経過していないか確認する。所定時間が経過していれば、ステップS44でメイン錠箱3を解錠するためのモータの出力を停止し、ステップS45で、メイン錠箱3の施錠(デッドボルト7の突出)を検出する不図示のメイン施錠スイッチの状態を確認する。解錠駆動命令があったにも拘わらずメイン施錠スイッチがオンしていれば、ステップS46で、ワーキングメモリ18にメイン施錠スイッチ故障情報コードを設定し、ステップS47に進む。ステップS42でメイン解錠スイッチがオン、ステップS43で所定時間が未経過、ステップS45でメイン施錠スイッチがオフの場合は、いずれもそのままステップS47に進む。   If the drive command is in the unlocking direction, in step S42, the state of the main unlocking switch (not shown) for detecting the unlocking of the main lock box 3 (storage of the dead bolt 7) is confirmed, and the main unlocking switch is turned off. If not, it is confirmed in step S43 whether a predetermined time has elapsed since the start of driving of the motor of the main lock box 3. If the predetermined time has elapsed, the output of the motor for unlocking the main lock box 3 is stopped in step S44, and the lock of the main lock box 3 (protrusion of the dead bolt 7) is detected in step S45. Check the state of the main locking switch shown. If the main locking switch is turned on despite the unlocking drive command, the main locking switch failure information code is set in the working memory 18 in step S46, and the process proceeds to step S47. If the main unlocking switch is on in step S42, the predetermined time has not passed in step S43, and the main unlocking switch is off in step S45, the process proceeds to step S47 as it is.

ステップS47では、サブ錠箱4の解錠(デッドボルト8の収納)を検出する不図示のサブ解錠スイッチの状態を確認し、サブ解錠スイッチがオフであれば、ステップS62に進み、サブ解錠スイッチがオンであれば、ステップS48でサブ錠箱4のモータの駆動開始から所定時間が経過していないか確認する。所定時間が経過していれば、ステップS49でサブ錠箱4を解錠するためのモータの出力を停止し、ステップS50で、サブ錠箱4の施錠(デッドボルト8の突出)を検出する不図示のサブ施錠スイッチの状態を確認する。解錠駆動命令があったにも拘わらずサブ施錠スイッチがオンしていれば、ステップS51で、ワーキングメモリ18にサブ施錠スイッチ故障情報コードを設定し、ステップS63に進む。ステップS47でサブ解錠スイッチがオフ、ステップS49で所定時間が未経過、ステップS50でサブ施錠スイッチがオンの場合は、いずれも直接ステップS63に進む。   In step S47, the state of a sub-unlocking switch (not shown) that detects unlocking of the sub-lock box 4 (accommodation of the dead bolt 8) is confirmed. If the sub-unlocking switch is off, the process proceeds to step S62. If the unlocking switch is on, it is confirmed in step S48 whether or not a predetermined time has elapsed since the start of driving of the motor of the sub lock box 4. If the predetermined time has elapsed, the output of the motor for unlocking the sub lock box 4 is stopped in step S49, and the lock of the sub lock box 4 (protrusion of the dead bolt 8) is not detected in step S50. Check the state of the illustrated sub-locking switch. If the sub-locking switch is on despite the unlocking drive command, the sub-locking switch failure information code is set in the working memory 18 in step S51, and the process proceeds to step S63. If the sub-unlocking switch is off in step S47, the predetermined time has not elapsed in step S49, and the sub-locking switch is on in step S50, the process proceeds directly to step S63.

施錠方向の駆動命令である場合、ステップS52において、メイン錠箱3の施錠(デッドボルト7の突出)を検出する不図示のメイン施錠スイッチの状態を確認し、メイン施錠スイッチがオフでなければ、ステップS53でメイン錠箱3のモータの駆動開始から所定時間が経過していないか確認する。所定時間が経過していれば、ステップS54でメイン錠箱3を施錠するためのモータの出力を停止し、ステップS55で、メイン錠箱3の解錠(デッドボルト7の収納)を検出する不図示のメイン解錠スイッチの状態を確認する。施錠駆動命令があったにも拘わらずメイン解錠スイッチがオンしていれば、ステップS56で、ワーキングメモリ18にメイン解錠スイッチ故障情報コードを設定し、ステップS57に進む。ステップS52でメイン施錠スイッチがオン、ステップS53で所定時間が未経過、ステップS55でメイン解錠スイッチがオフのいずれも場合は、そのままステップS57に進む。   If it is a driving command in the locking direction, in step S52, the state of the main locking switch (not shown) for detecting the locking of the main lock box 3 (protrusion of the dead bolt 7) is confirmed. If the main locking switch is not OFF, In step S53, it is confirmed whether a predetermined time has elapsed since the start of driving of the motor of the main lock box 3. If the predetermined time has elapsed, the output of the motor for locking the main lock box 3 is stopped in step S54, and the unlocking of the main lock box 3 (storage of the dead bolt 7) is detected in step S55. Check the state of the main unlock switch shown. If the main unlocking switch is on despite the locking drive command, the main unlocking switch failure information code is set in the working memory 18 in step S56, and the process proceeds to step S57. If the main locking switch is on in step S52, the predetermined time has not elapsed in step S53, and the main unlocking switch is off in step S55, the process proceeds directly to step S57.

ステップS57では、サブ錠箱4の施錠(デッドボルト8の突出)を検出する不図示のサブ施錠スイッチの状態を確認し、サブ施錠スイッチがオフであれば、ステップS62に進むが、サブ施錠スイッチがオンであれば、ステップS58でサブ錠箱3のモータの駆動開始から所定時間が経過していないか確認する。所定時間が経過していれば、ステップS59でサブ錠箱4を施錠するためのモータの出力を停止し、ステップS60で、サブ錠箱4の解錠(デッドボルト8の収納)を検出する不図示のサブ解錠スイッチの状態を確認する。施錠駆動命令があったにも拘わらずサブ解錠スイッチがオンしていれば、ステップS61で、ワーキングメモリ18にサブ解錠スイッチ故障情報コードを設定し、ステップS63に進む。ステップS57でサブ施錠スイッチがオフ、ステップS59で所定時間が未経過、ステップS60でサブ解錠スイッチがオンの場合は、いずれも直接ステップS63に進む。   In step S57, the state of a sub locking switch (not shown) that detects locking of the sub lock box 4 (protrusion of the dead bolt 8) is confirmed. If the sub locking switch is off, the process proceeds to step S62. If ON, it is checked in step S58 whether a predetermined time has elapsed since the start of driving of the motor of the sub lock box 3. If the predetermined time has passed, the output of the motor for locking the sub lock box 4 is stopped in step S59, and the unlocking of the sub lock box 4 (storage of the dead bolt 8) is detected in step S60. Check the state of the sub-unlock switch shown. If the sub-unlocking switch is turned on despite the locking drive command, the sub-unlocking switch failure information code is set in the working memory 18 in step S61, and the process proceeds to step S63. If the sub-locking switch is off in step S57, the predetermined time has not elapsed in step S59, and the sub-unlocking switch is on in step S60, the process proceeds directly to step S63.

ステップS62では、メイン錠箱3およびサブ錠箱4のモータの駆動を開始してから、所定の時間が経過しているかどうかを確認し、所定の時間が未経過であれば、ステップS41に戻って、上記の制御を繰り返す。ステップS63では、メイン錠箱3のモータが未だ回転中であるかどうかを確認し、モータが回転中であればステップS62に進む。ステップS63でメイン錠箱3のモータが停止していれば、ステップS64に進んでさらにサブ錠箱4のモータが回転中であるかどうかを確認する。サブ錠箱4のモータが回転中であれば、やはり、ステップS62に進んで、ステップS41からステップS61までの処理を繰り返すか否かを判断する。ステップS62で、所定時間が経過していれば、ステップS65に進んで、後述(図7)のモータエラー処理を実行する。   In step S62, it is checked whether or not a predetermined time has elapsed since the start of driving the motors of the main lock box 3 and the sub lock box 4. If the predetermined time has not elapsed, the process returns to step S41. The above control is repeated. In step S63, it is confirmed whether or not the motor of the main lock box 3 is still rotating. If the motor is rotating, the process proceeds to step S62. If the motor of the main lock box 3 is stopped in step S63, the process proceeds to step S64 to check whether the motor of the sub lock box 4 is rotating. If the motor of the sub lock box 4 is rotating, the process proceeds to step S62, and it is determined whether or not the processing from step S41 to step S61 is repeated. If it is determined in step S62 that the predetermined time has elapsed, the process proceeds to step S65, and motor error processing described later (FIG. 7) is executed.

ステップS63およびステップS64で、メイン錠箱3およびサブ錠箱4のモータがいずれも停止していれば、ステップS66に進んで、メイン錠箱3およびサブ錠箱4に対する駆動命令を停止する。そして、ステップS67においてメイン錠箱3およびサブ錠箱4の状態を確認し、メイン施錠スイッチとメイン解錠スイッチとが共にオン、或いは、サブ施錠スイッチとサブ解錠スイッチとが共にオンになっていれば、ステップS65に進んでモータエラー処理を実行する。メイン錠箱3およびサブ錠箱4においてデッドボルト7,8の位置を検出する2つのスイッチが同時にオンしていなければ、モータ停止処理を終了し、図4のモータ制御処理に戻り、ステップS22に進む。図4のステップS22では、本モータ停止処理のステップS46,S51,S56,S61でワーキングメモリ18に施解錠スイッチ故障情報コードが設定されている場合、設定されている施解錠スイッチ故障情報コードをEEPROM17に記憶する。   If the motors of the main lock box 3 and the sub lock box 4 are both stopped in step S63 and step S64, the process proceeds to step S66, and the drive command for the main lock box 3 and the sub lock box 4 is stopped. In step S67, the states of the main lock box 3 and the sub lock box 4 are confirmed, and both the main lock switch and the main lock switch are turned on, or both the sub lock switch and the sub lock switch are turned on. If so, the process proceeds to step S65 to execute a motor error process. If the two switches for detecting the positions of the dead bolts 7 and 8 are not turned on at the same time in the main lock box 3 and the sub lock box 4, the motor stop process is terminated, the process returns to the motor control process of FIG. move on. In step S22 of FIG. 4, when the lock / unlock switch failure information code is set in the working memory 18 in steps S46, S51, S56, and S61 of the motor stop process, the set lock / unlock switch failure information code is stored in the EEPROM 17 as shown in FIG. To remember.

図7に、モータエラー処理の詳細を示す。この処理では、制御装置6は、先ず、ステップS71において、上述のモータ制御処理において、ワーキングメモリ18にエラーブザーフラグ(図4ステップS26)が設定されているかどうかを確認する。エラーブザーフラグが設定されていなければ、ステップS72でメイン錠箱3のモータ駆動命令が発せられているかどうかを確認し、メイン錠箱3のモータ駆動命令がなければステップS73でさらにサブ錠箱4のモータ駆動命令の有無を確認する。ステップS71でエラーブザーフラグ設定されている場合、および、ステップS72,S73でメイン錠箱3およびサブ錠箱4のモータ駆動命令がいずれも発せられていない場合は、ステップS74に進んでメイン錠箱3およびサブ錠箱4の出力を停止し、処理を終了する。ステップS72,S73でメイン錠箱3およびサブ錠箱4のいずれかのモータ駆動命令が発せられている場合は、ステップS75に進んで、ワーキングメモリ18にモータエラーフラグとエラーブザーフラグとを設定し、ステップS76で、メイン錠箱3の駆動命令を削除して、メイン錠箱3のモータ駆動出力を停止する。さらに、ステップS77に進み、モータ駆動開始から所定時間が経過しているかどうかを確認し、所定時間が経過していなければ、上述のモータ停止処理(図6)を再度実行し、所定時間が経過していれば、ステップS71に戻る。ステップS71ではエラーブザーフラグが設定されているため、ステップS74に進んでメイン錠およびサブ錠への出力を停止してから処理を終了する。このモータエラー処理が終了したときも、図4のモータ制御処理に戻り、ステップS22に進む。   FIG. 7 shows details of the motor error processing. In this process, the control device 6 first checks in step S71 whether or not the error buzzer flag (step S26 in FIG. 4) is set in the working memory 18 in the motor control process described above. If the error buzzer flag is not set, it is checked in step S72 whether or not a motor drive command for the main lock box 3 has been issued. If there is no motor drive command for the main lock box 3, the sub lock box 4 is further checked in step S73. Check if there is a motor drive command. If the error buzzer flag is set in step S71, and if neither the motor drive command for the main lock box 3 or the sub lock box 4 is issued in steps S72 and S73, the process proceeds to step S74 and the main lock box is reached. 3 and the sub lock box 4 are stopped, and the process is terminated. If the motor drive command for either the main lock box 3 or the sub lock box 4 is issued in steps S72 and S73, the process proceeds to step S75, and the motor error flag and the error buzzer flag are set in the working memory 18. In step S76, the drive command for the main lock box 3 is deleted, and the motor drive output of the main lock box 3 is stopped. Furthermore, it progresses to step S77, it is confirmed whether predetermined time has passed since the motor drive start, and if predetermined time has not passed, the above-mentioned motor stop process (FIG. 6) will be performed again, and predetermined time will pass. If so, the process returns to step S71. Since the error buzzer flag is set in step S71, the process proceeds to step S74, the output to the main lock and the sub lock is stopped, and the process ends. When the motor error process is completed, the process returns to the motor control process of FIG. 4 and proceeds to step S22.

図8に、モータ駆動処理におけるタッチスイッチ操作駆動情報処理(図5ステップS34)の詳細を示す。この処理では、先ず、ステップS81で、呼出信号の出力回数、つまりチャレンジ信号の送信回数を確認する。呼出回数が0であれば、直ちにこの処理を終了するが、呼出回数が1回以上であり、チャレンジ信号が送信されていれば、ステップS82に進む。ステップS82において、呼出回数を再確認し、呼出回数が1回で施解錠動作を行っていた場合、ステップS83に進んで、その駆動前のメイン錠箱3およびサブ錠箱4が共に解錠状態であるか否かを確認する。駆動前のメイン錠箱3およびサブ錠箱4が共に解錠状態であれば、ステップS84において、ワーキングメモリ18に1番目に登録された携帯機19を認証して施錠することを示す施錠駆動情報コード1を記憶させて処理を終了する。駆動前にメイン錠箱3およびサブ錠箱4が共に解錠状態でなく、施錠状態であれば、ステップS85において、ワーキングメモリ18に1番目に登録された携帯機19を認証して解錠することを示す情報コードである解錠駆動情報コード1を記憶させて処理を終了する。   FIG. 8 shows details of touch switch operation drive information processing (step S34 in FIG. 5) in the motor drive process. In this process, first, in step S81, the number of output of the call signal, that is, the number of transmission of the challenge signal is confirmed. If the number of calls is 0, this process is immediately terminated. If the number of calls is 1 or more and a challenge signal is transmitted, the process proceeds to step S82. In step S82, the number of calls is reconfirmed, and if the number of calls is one and the unlocking operation is performed, the process proceeds to step S83, and the main lock box 3 and the sub lock box 4 before the drive are both unlocked. It is confirmed whether or not. If both the main lock box 3 and the sub lock box 4 before being driven are unlocked, locking drive information indicating that the portable device 19 registered first in the working memory 18 is authenticated and locked in step S84. Code 1 is stored and the process is terminated. If the main lock box 3 and the sub lock box 4 are not unlocked and not locked before driving, the portable device 19 registered first in the working memory 18 is authenticated and unlocked in step S85. The unlocking drive information code 1 which is an information code indicating this is stored, and the process is terminated.

ステップS82で、呼出回数が1回でなかった場合、ステップS86に進んで、呼出回数が2回であったかどうかを確認する。呼出回数が2回であれば、ステップS87からステップS89において、ステップS83からステップS85と同様に、ワーキングメモリ18に2番目に登録された携帯機19を認証して施錠すること示す施錠駆動情報コード2、または、2番目に登録された携帯機19を認証して解錠することを示す解錠駆動情報コード2を記憶させて処理を終了する。   If the number of calls is not 1 in step S82, the process proceeds to step S86 to check whether the number of calls is 2 or not. If the number of calls is two times, the locking drive information code indicating that the portable device 19 registered second in the working memory 18 is authenticated and locked in steps S87 to S89, as in steps S83 to S85. The unlocking drive information code 2 indicating that the portable device 19 registered second or second is authenticated and unlocked is stored, and the process is terminated.

さらに、ステップ90からステップ112では、同様に、3番目から8番目のいずれに登録された携帯機19を認証して、施錠または解錠を行うときは、施錠駆動情報コード3〜8、および、解錠駆動情報コード3〜8のいずれかをワーキングメモリ18に記憶して処理を終了する。本実施形態では、最大8つの携帯機19を登録できるようになっており、いずれの携帯機19を認証したか、および、解錠と施錠のいずれの動作を行うかを示す最新の駆動情報コードをワーキングメモリ18の所定領域に上書きして記憶する。このタッチスイッチ操作駆動情報処理が終了して図5のモータ駆動処理に戻り、さらにモータ駆動処理が終了して図4のモータ制御処理に戻ったとき、ステップS22において、ワーキングメモリ18に記憶されている駆動情報コードは、EEPROM17の所定領域に上書きして記憶される。このように、EEPROM17には、最新駆動情報コードだけが記憶されるので、EEPROM17の容量が小さくて済む。しかしながら、必ずしも最新の駆動情報コードのみを記憶する必要はなく、時系列に沿って駆動情報コードを蓄積して記憶してもよい。   Further, in Step 90 to Step 112, similarly, when the portable device 19 registered in any of the third to eighth is authenticated and locked or unlocked, the locking drive information codes 3 to 8 and Any one of the unlocking drive information codes 3 to 8 is stored in the working memory 18 and the process is terminated. In the present embodiment, a maximum of eight portable devices 19 can be registered, and the latest drive information code indicating which portable device 19 has been authenticated and which operation to perform unlocking or locking is performed. Is overwritten in a predetermined area of the working memory 18 and stored. When this touch switch operation drive information processing is completed and the process returns to the motor drive process of FIG. 5, and when the motor drive process is completed and the process returns to the motor control process of FIG. 4, it is stored in the working memory 18 in step S22. The drive information code is overwritten in a predetermined area of the EEPROM 17 and stored. Thus, since only the latest drive information code is stored in the EEPROM 17, the capacity of the EEPROM 17 can be reduced. However, it is not always necessary to store only the latest drive information code, and the drive information code may be accumulated and stored in time series.

続いて、図9に、施解錠装置1の制御装置6の制御プログラムの起動処理の流れを示す。この処理は、制御装置6をリセットしたときや、ドア2の側端面に露出するように設けられた登録スイッチ21が押下されたときに起動する。この処理では、先ず、ステップS121で、登録スイッチ21が押下されたか否かを確認し、登録スイッチ21が押下されていたときは、ステップS122でドア2が開放されているか確認する。ドア2が開いていれば、さらに、ステップS123でタッチスイッチ5の室内側のボタンが押下されているか、ステップS124でタッチスイッチ5の室外側のボタンが押下されているかを確認する。登録スイッチ21が押下され、ドア2が開いており、且つ、タッチスイッチ5の室内側および室外側のいずれのボタンも押下されていない場合には、ステップS125に進んで、後述する自己診断モード(図10)を起動する。自己診断モードの実行が終了すると、ステップS126に進んで、自己診断モードにおいて自己診断を完了したかどうかを確認する。自己診断を完了していない場合は、ステップS127に進んで、携帯機19を登録するための登録モードの制御を行う。ステップS121で登録スイッチ21が押下されていないか、ステップS122でドア2が閉まっているか、ステップS123,S124でタッチスイッチ5の室内側および室外側のいずれかのボタンが押下されたか、ステップS126で自己診断が完了していないことが確認されたときには、ステップS128に進んで登録スイッチ21の押下回数のカウントをクリアし、ステップS129に進んで上述の通常処理(図2)を起動する。尚、携帯機19の登録処理は公知であるので、詳細な制御の説明は省略する。   Next, FIG. 9 shows a flow of a control program activation process of the control device 6 of the locking / unlocking device 1. This process is activated when the control device 6 is reset or when the registration switch 21 provided so as to be exposed at the side end surface of the door 2 is pressed. In this process, first, in step S121, it is confirmed whether or not the registration switch 21 has been pressed. If the registration switch 21 has been pressed, it is checked in step S122 whether or not the door 2 has been opened. If the door 2 is open, it is further confirmed in step S123 whether the button on the indoor side of the touch switch 5 is pressed or whether the button on the outdoor side of the touch switch 5 is pressed in step S124. When the registration switch 21 is pressed, the door 2 is open, and neither the indoor side button nor the outdoor side button of the touch switch 5 is pressed, the process proceeds to step S125, and a self-diagnosis mode (described later) 10) is started. When the execution of the self-diagnosis mode is completed, the process proceeds to step S126 to check whether the self-diagnosis has been completed in the self-diagnosis mode. If the self-diagnosis has not been completed, the process proceeds to step S127, and the registration mode for registering the portable device 19 is controlled. Whether the registration switch 21 is not pressed in step S121, whether the door 2 is closed in step S122, whether any button on the indoor side or outdoor side of the touch switch 5 is pressed in steps S123, S124, or in step S126 When it is confirmed that the self-diagnosis is not completed, the process proceeds to step S128 to clear the count of the number of times the registration switch 21 is pressed, and the process proceeds to step S129 to start the above-described normal processing (FIG. 2). Since the registration process of the portable device 19 is known, detailed description of the control is omitted.

図10に、自己診断モードの制御の流れを詳細に示す。自己診断モードを起動すると、先ず、制御装置6は、ステップS131で、登録スイッチ21の押下された回数のカウントを確認する。登録スイッチ21の押下回数が3回未満であれば、ステップS132に進んで、登録スイッチ21の押下回数のカウントに1加算して、以下の自己診断を行うことなく、自己診断モードを終了して、上述した起動処理(図9)に戻る。   FIG. 10 shows the flow of control in the self-diagnosis mode in detail. When the self-diagnosis mode is activated, first, the control device 6 confirms the count of the number of times the registration switch 21 is pressed in step S131. If the number of times the registration switch 21 has been pressed is less than 3, the process proceeds to step S132, where 1 is added to the count of the number of times the registration switch 21 has been pressed, and the self-diagnosis mode is terminated without performing the following self-diagnosis. Then, the process returns to the above-described activation process (FIG. 9).

ステップS131で登録スイッチ21の押下回数が3回以上であれば、ステップS133以下の自己診断を行う。先ず、ステップS133でEEPROM17から駆動情報コードおよび故障情報コードを読み込む。ステップS134でメイン施錠スイッチ故障情報コードが確認されれば、ステップS135でメイン錠箱3の手動操作部9の表示器15のLEDをメイン施錠スイッチ故障を示す所定のパターンで点滅させる。続いて同様に、ステップS136でメイン解錠スイッチ故障情報コードが確認されれば、ステップS137で表示器15のLEDをメイン解錠スイッチ故障を示すパターンで点滅させる。ステップS138でサブ施錠スイッチ故障情報コードが確認されれば、ステップS139で表示器15のLEDをサブ施錠スイッチ故障を示すパターンで点滅させ、ステップS140でサブ解錠スイッチ故障情報コードが確認されれば、ステップS141で表示器15のLEDをサブ解錠スイッチ故障を示すパターンで点滅させる。ステップS142でタッチスイッチ故障情報コードが確認されれば、ステップS143で表示器15のLEDをタッチスイッチ故障を示すパターンで点滅させる。ステップS144で通信異常故障情報コードが確認されれば、ステップS145で表示器15のLEDを通信異常故障を示すパターンで点滅させる。ステップS146で認証不一致故障情報コードが確認されれば、ステップS147で表示器15のLEDを認証不一致故障を示すパターンで点滅させる。ステップS148でEEPROM故障情報コードが確認されれば、ステップS149で表示器15のLEDをEEPROM故障を示すパターンで点滅させる。そして、ステップ150で、施解錠を行った条件を示す駆動情報コードうちEEPROM17に記憶されている最新の駆動情報コードを示すパターンで、表示器15のLEDを点滅させる。最後に、ステップS151で、登録スイッチ21の押下回数のカウントをクリアして、自己診断を完了し、上述した起動処理(図9)に戻る。   If the number of times the registration switch 21 is pressed is 3 or more in step S131, the self-diagnosis in step S133 and after is performed. First, in step S133, the drive information code and the failure information code are read from the EEPROM 17. If the main lock switch failure information code is confirmed in step S134, the LED of the indicator 15 of the manual operation unit 9 of the main lock box 3 is blinked in a predetermined pattern indicating the main lock switch failure in step S135. Subsequently, similarly, if the main unlocking switch failure information code is confirmed in step S136, the LED of the display unit 15 is blinked in a pattern indicating the main unlocking switch failure in step S137. If the sub-locking switch failure information code is confirmed in step S138, the LED of the indicator 15 blinks in a pattern indicating the sub-locking switch failure in step S139, and if the sub-unlocking switch failure information code is confirmed in step S140. In step S141, the LED of the display unit 15 blinks in a pattern indicating a sub-unlocking switch failure. If the touch switch failure information code is confirmed in step S142, the LED of the display unit 15 is blinked in a pattern indicating the touch switch failure in step S143. If the communication abnormality failure information code is confirmed in step S144, the LED of the display unit 15 is blinked in a pattern indicating a communication abnormality failure in step S145. If the authentication mismatch failure information code is confirmed in step S146, the LED of the display unit 15 is blinked in a pattern indicating the authentication mismatch failure in step S147. If the EEPROM failure information code is confirmed in step S148, the LED of the display unit 15 is blinked in a pattern indicating the EEPROM failure in step S149. In step 150, the LED of the display unit 15 is blinked with a pattern indicating the latest drive information code stored in the EEPROM 17 among the drive information codes indicating the conditions for locking and unlocking. Finally, in step S151, the count of the number of times the registration switch 21 is pressed is cleared, the self-diagnosis is completed, and the process returns to the above-described activation process (FIG. 9).

以上の自己診断処理により、サービスマン(または居住者などの操作者)は、施解錠装置1に発生した直近のエラーの種類と、そのエラーがいかなる動作の過程で発生したかを知ることができる。具体的には、エラー発生時にいずれの居住者の携帯機19を認証して動作していたか、エラーが施錠時に発生したか解錠時に発生したかなどを容易に確認でき、エラーの発生原因の特定と、その対策立案が迅速に行える。   Through the above self-diagnosis process, a serviceman (or an operator such as a resident) can know the type of the most recent error that has occurred in the locking / unlocking device 1 and in what operation the error has occurred. . Specifically, it is possible to easily confirm which resident portable device 19 was operating when an error occurred, whether the error occurred during locking or unlocking, and the cause of the error Identification and countermeasure planning can be performed quickly.

本実施形態では、モータの駆動が完了したときに施解錠を行った条件を示す駆動情報コードとして、いずれの携帯機19か、並びに、施錠動作か解錠動作かを特定する施錠駆動情報コード、について説明したが、このような人為的な操作によって開始される施解錠動作以外にも、制御装置6が自動的にモータの駆動制御を行い、モータの駆動が完了した場合に施解錠を行った条件を特定する駆動情報コードをEEPROM17に記憶することもできる。そのような駆動情報コードとしては、ユーザが施解錠装置1を解錠してから30秒間ドア2の開放や施錠が行われなかった場合に自動的に施錠する制御を行ったことを示す駆動情報コード、ユーザが施解錠装置1を解錠してドア2が一度開けられてから再度閉じたことを検出した場合に、ドア2の閉鎖から2秒後に自動的に施錠する制御を行ったことを示す駆動情報コード、メイン錠箱3およびサブ錠箱4が共に施錠状態であったとき、サムターン13,14いずれか一方だけが解錠位置に回動させられてから18秒間、サムターン13,14の他方が操作されない場合に、両方のサムターン13,14を自動的に施錠状態に復帰させるピッキング対策の制御を行ったことを示す駆動情報コード、メイン錠箱3およびサブ錠箱4が共に施錠状態であったとき、サムターン13,14いずれか一方だけが施錠位置に回転されれば、サムターン13,14の他方も自動で施錠状態にする制御を行ったことを示す駆動情報コードなどが列挙される。尚、これらのいずれ駆動情報コードを記憶する場合でも、モータの駆動が完了しなかったときは、モータエラーが検出されて逆方向のモータ駆動処理(図4のステップS24)が実行されるので、EEPROM17にはモータエラーによって施解錠を行ったこと示すモータエラー駆動情報コードが記憶される(ステップS25)。   In the present embodiment, as the drive information code indicating the condition for performing the unlocking when the driving of the motor is completed, which portable device 19 and the locking drive information code for specifying the locking operation or the unlocking operation, In addition to the locking / unlocking operation started by such an artificial operation, the control device 6 automatically controls the drive of the motor and performs the locking / unlocking when the driving of the motor is completed. A drive information code for specifying the condition can also be stored in the EEPROM 17. As such a drive information code, drive information indicating that control is automatically performed when the door 2 is not opened or locked for 30 seconds after the user unlocks the locking / unlocking device 1. Code, when the user unlocks the locking / unlocking device 1 and detects that the door 2 has been opened and then closed again, it has been controlled to automatically lock 2 seconds after the door 2 is closed When the drive information code shown, the main lock box 3 and the sub lock box 4 are both locked, only one of the thumbturns 13 and 14 is rotated to the unlocked position for 18 seconds. When the other is not operated, the drive information code indicating that the control of picking measures for automatically returning both thumbturns 13 and 14 to the locked state, the main lock box 3 and the sub lock box 4 are both locked. If only one of the thumbturns 13 and 14 is rotated to the locked position, a drive information code indicating that the other thumbturn 13 or 14 has been controlled to be automatically locked is listed. . Even if any of these drive information codes is stored, if the motor drive is not completed, a motor error is detected and the reverse motor drive process (step S24 in FIG. 4) is executed. The EEPROM 17 stores a motor error drive information code indicating that locking / unlocking has been performed due to a motor error (step S25).

また、施解錠装置1は、防犯カメラなどの周辺機器と連動してもよく、周辺機器からの入力を施解錠を行うための操作条件とすることができ、周辺機器の不具合を示す情報などを制御情報としてEEPROM17に記憶するようにしてもよい。   Also, the locking / unlocking device 1 may be linked with a peripheral device such as a security camera, and can input information from the peripheral device as an operation condition for performing locking / unlocking. You may make it memorize | store in EEPROM17 as control information.

本発明の第1実施形態の施解錠装置の概略構成図。The schematic block diagram of the locking / unlocking apparatus of 1st Embodiment of this invention. 図1の施解錠装置の通常処理の流れ図。The flowchart of the normal process of the locking / unlocking apparatus of FIG. 図1の施解錠装置のタッチスイッチ処理の流れ図。The flowchart of the touch switch process of the locking / unlocking apparatus of FIG. 図1の施解錠装置のモータ制御処理の流れ図。The flowchart of the motor control process of the locking / unlocking apparatus of FIG. 図1の施解錠装置のモータ駆動処理の流れ図。The flowchart of the motor drive process of the locking / unlocking apparatus of FIG. 図1の施解錠装置のモータ停止処理の流れ図。The flowchart of the motor stop process of the locking / unlocking apparatus of FIG. 図1の施解錠装置のモータエラー処理の流れ図。The flowchart of the motor error process of the locking / unlocking apparatus of FIG. 図1の施解錠装置のタッチスイッチ操作駆動情報処理の流れ図。The flowchart of the touch switch operation drive information processing of the locking / unlocking apparatus of FIG. 図1の施解錠装置の制御起動処理の流れ図。The flowchart of the control starting process of the locking / unlocking apparatus of FIG. 図1の施解錠装置の自己診断モード処理の流れ図。The flowchart of the self-diagnosis mode process of the locking / unlocking apparatus of FIG.

符号の説明Explanation of symbols

1…施解錠装置
2…ドア
3…メイン錠箱
4…サブ錠箱
5…タッチスイッチ
6…制御装置
7,8…デッドボルト
15…表示器(モニタ手段)
17…EEPROM(記憶手段)
19…携帯機
20…アンテナ装置
21…登録スイッチ
DESCRIPTION OF SYMBOLS 1 ... Locking / unlocking device 2 ... Door 3 ... Main lock box 4 ... Sub lock box 5 ... Touch switch 6 ... Control device 7, 8 ... Dead bolt 15 ... Display (monitor means)
17 ... EEPROM (storage means)
19 ... portable device 20 ... antenna device 21 ... registration switch

Claims (7)

ドアの施解錠を電気的に制御する制御手段と、
前記ドアの施解錠に係る制御情報を、前記ドアの施解錠動作が終了した後も記憶する記憶手段と、
前記記憶手段に記憶した前記制御情報を出力可能なモニタ手段とを備えることを特徴とするドア用施解錠装置。
Control means for electrically controlling the locking and unlocking of the door;
Storage means for storing control information related to locking / unlocking of the door even after the door locking / unlocking operation is completed,
A door locking / unlocking device comprising: monitoring means capable of outputting the control information stored in the storage means.
前記制御手段は、複数の操作条件のいずれかに合致する場合に、前記ドアの施解錠を行い、
前記制御情報は、前記ドアの施解錠が行われたときにいずれの前記操作条件に合致していたかを示す駆動情報を含むことを特徴とする請求項1に記載のドア用施解錠装置。
The control means performs locking / unlocking of the door when any of a plurality of operation conditions is met,
The door control / unlocking device according to claim 1, wherein the control information includes drive information indicating which of the operation conditions is met when the door is locked / unlocked.
前記制御手段は、携帯機から送信されるIDコードを受信し、受信した前記IDコードが認証される場合に、前記ドアの施解錠を行い、
前記駆動情報は、前記IDコードまたは前記IDコードによって特定される前記携帯機を示す情報を含むことを特徴とする請求項2に記載のドア用施解錠装置。
The control means receives an ID code transmitted from a portable device, and when the received ID code is authenticated, locks and unlocks the door,
The door driving / unlocking device according to claim 2, wherein the drive information includes the ID code or information indicating the portable device specified by the ID code.
前記制御手段には、周辺機器の情報が入力され、
前記制御情報は、前記周辺機器の不具合を示す情報を含むことを特徴とする請求項1から3のいずれかに記載のドア用施解錠装置。
Information on peripheral devices is input to the control means,
The door control / unlocking device according to any one of claims 1 to 3, wherein the control information includes information indicating a malfunction of the peripheral device.
前記制御情報は、前記ドア用施解錠装置の故障を検出したとき、前記制御情報のいずれに基づいて故障であると判断したかを示す故障情報を含むことを特徴とする請求項1から4のいずれかに記載のドア用施解錠装置。   5. The control information according to claim 1, wherein the control information includes failure information indicating which of the control information is determined to be a failure when a failure of the door locking / unlocking device is detected. The door locking / unlocking device according to any one of the above. さらに、操作者が操作可能な操作スイッチを備え、
前記操作スイッチの所定の操作により、前記モニタ手段が前記制御情報を出力することを特徴とする請求項1から5のいずれかに記載のドア用施解錠装置。
Furthermore, an operation switch that can be operated by the operator is provided.
6. The door locking / unlocking device according to claim 1, wherein the monitor means outputs the control information by a predetermined operation of the operation switch.
前記制御手段は、携帯機から送信されるIDコードを受信し、受信した前記IDコードが認証される場合に、前記ドアの施解錠を行い、
前記操作スイッチは、前記制御手段に、前記IDコードを登録するための登録処理を起動させる登録スイッチであり、
前記制御手段は、前記登録スイッチが1度押下されたときに前記登録処理を起動し、前記登録スイッチが所定時間内に所定の複数回押下されたときに前記モニタ手段に前記制御情報を出力させることを特徴とする請求項6に記載のドア用施解錠装置。
The control means receives an ID code transmitted from a portable device, and when the received ID code is authenticated, locks and unlocks the door,
The operation switch is a registration switch that activates a registration process for registering the ID code in the control means,
The control unit activates the registration process when the registration switch is pressed once, and causes the monitor unit to output the control information when the registration switch is pressed a predetermined number of times within a predetermined time. The door locking / unlocking device according to claim 6.
JP2007295538A 2007-11-14 2007-11-14 Door unlocking device Active JP5036497B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007295538A JP5036497B2 (en) 2007-11-14 2007-11-14 Door unlocking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007295538A JP5036497B2 (en) 2007-11-14 2007-11-14 Door unlocking device

Publications (2)

Publication Number Publication Date
JP2009121110A true JP2009121110A (en) 2009-06-04
JP5036497B2 JP5036497B2 (en) 2012-09-26

Family

ID=40813557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007295538A Active JP5036497B2 (en) 2007-11-14 2007-11-14 Door unlocking device

Country Status (1)

Country Link
JP (1) JP5036497B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003097107A (en) * 2001-09-25 2003-04-03 Matsushita Electric Works Ltd Electric lock system
JP2004003153A (en) * 2002-05-31 2004-01-08 Yuhshin Co Ltd Building door locking/unlocking system
JP2004143846A (en) * 2002-10-25 2004-05-20 Bunka Shutter Co Ltd Non-opening/closing body side communication device
JP2005320742A (en) * 2004-05-07 2005-11-17 Xanavi Informatics Corp Vehicular information system, on-vehicle information terminal, and computer device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003097107A (en) * 2001-09-25 2003-04-03 Matsushita Electric Works Ltd Electric lock system
JP2004003153A (en) * 2002-05-31 2004-01-08 Yuhshin Co Ltd Building door locking/unlocking system
JP2004143846A (en) * 2002-10-25 2004-05-20 Bunka Shutter Co Ltd Non-opening/closing body side communication device
JP2005320742A (en) * 2004-05-07 2005-11-17 Xanavi Informatics Corp Vehicular information system, on-vehicle information terminal, and computer device

Also Published As

Publication number Publication date
JP5036497B2 (en) 2012-09-26

Similar Documents

Publication Publication Date Title
US8640513B2 (en) Electronic and manual lock assembly
US20120324968A1 (en) Electronic and manual lock assembly
JPH08319742A (en) Electronic combination lock
JP5036511B2 (en) Door unlocking device
KR101899864B1 (en) A push pull digital doorlock
JP5036497B2 (en) Door unlocking device
JP3403148B2 (en) Double lock device
EP3570255A1 (en) Lock assembly system and method of control
JP2008127869A (en) Electric lock system
JP2004190419A (en) Locking/unlocking control device and locking/unlocking control method
WO2002018734A2 (en) Method and system for unlocking doorway
JP2009174224A (en) Door locking/unlocking control device and door locking/unlocking control system
JP2008138467A (en) Electric lock system
JP2003148014A (en) Electric lock
JP4850590B2 (en) Locking device
JP6778901B2 (en) Electric lock system and electric lock device
CN110080620A (en) A kind of processing method improving electronic lock security level
JP4704839B2 (en) Switchgear control system
JP4704840B2 (en) Switchgear control system
JPH05141139A (en) Locking device and writing device used therefor
JP2007303127A (en) Portable machine and security control system
JP2018062803A (en) Electric lock device
JP4523262B2 (en) Keyless entry device
JP2007315033A (en) Building door lock control device
JP2010229682A (en) Electronic key system and locking device of the electronic key system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100616

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120510

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120626

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120703

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5036497

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250