JP2019039186A - Electric lock control system, electro lock control device, lock device, program and electric lock system - Google Patents

Electric lock control system, electro lock control device, lock device, program and electric lock system Download PDF

Info

Publication number
JP2019039186A
JP2019039186A JP2017160624A JP2017160624A JP2019039186A JP 2019039186 A JP2019039186 A JP 2019039186A JP 2017160624 A JP2017160624 A JP 2017160624A JP 2017160624 A JP2017160624 A JP 2017160624A JP 2019039186 A JP2019039186 A JP 2019039186A
Authority
JP
Japan
Prior art keywords
communication unit
side communication
key
lock
unit
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
JP2017160624A
Other languages
Japanese (ja)
Other versions
JP6934630B2 (en
Inventor
真介 植田
Shinsuke Ueda
真介 植田
圭太郎 干場
Keitaro Hoshiba
圭太郎 干場
光司 河田
Koji Kawada
光司 河田
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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2017160624A priority Critical patent/JP6934630B2/en
Publication of JP2019039186A publication Critical patent/JP2019039186A/en
Application granted granted Critical
Publication of JP6934630B2 publication Critical patent/JP6934630B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To determine whether or not there is a lock device in a specific area further accurately.SOLUTION: A measurement unit 33 measures the reception intensity of a measurement signal which is transmitted from one of a key side communication unit 42 and a lock side communication unit 32 and which is received by the other. A determination unit 34 determines, based on the reception intensity of the measurement signal measured by the measurement unit 33, whether or not there is a lock device in a previously set specific area. At least one of an electric lock control device 3 and the lock device performs different processing depending on the determination result of the determination unit 34. A plurality of antennas ANT1 and ANT2 of the lock side communication unit 32 function as at least a diversity antenna that transmits or receives the measurement signal.SELECTED DRAWING: Figure 1

Description

本開示は電気錠制御システム、電気錠制御装置、鍵装置、プログラム及び電気錠システムに関し、より詳細には、鍵装置から電気錠制御装置に信号を送信することによって、建物の開口部を開閉する開閉部材を施錠又は解錠する電気錠制御システム、この電気錠制御システムに用いられる電気錠制御装置、鍵装置及びプログラム、並びに、この電気錠制御システムを備える電気錠システムに関する。   The present disclosure relates to an electric lock control system, an electric lock control device, a key device, a program, and an electric lock system, and more specifically, opens and closes an opening of a building by transmitting a signal from the key device to the electric lock control device. The present invention relates to an electric lock control system that locks or unlocks an opening / closing member, an electric lock control device used in the electric lock control system, a key device and a program, and an electric lock system including the electric lock control system.

従来例として特許文献1記載の電気錠システムを例示する。特許文献1記載の電気錠システムは、電気錠装置と、携帯機(鍵装置)と、を備える。電気錠装置は、検知部と、通信部と、駆動部と、制御部と、を備える。通信部は、認証情報を記憶する携帯機がドア(開閉部材)の周囲に設定された通信圏内(所定のエリア)に入ると、携帯機との間で無線通信を行って、携帯機から認証情報を取得する。制御部は、通信部が取得した認証情報の認証に成功し、かつ、検知部が人体の存在を検知すると、ドアに設けられた錠前を駆動部に解錠させる。   An electric lock system described in Patent Document 1 is illustrated as a conventional example. The electric lock system described in Patent Literature 1 includes an electric lock device and a portable device (key device). The electric lock device includes a detection unit, a communication unit, a drive unit, and a control unit. When a portable device that stores authentication information enters a communication area (predetermined area) set around the door (opening / closing member), the communication unit performs wireless communication with the portable device and authenticates from the portable device. Get information. When the authentication unit succeeds in authenticating the authentication information acquired by the communication unit and the detection unit detects the presence of a human body, the control unit causes the drive unit to unlock the lock provided on the door.

特開2016−030894号公報Japanese Patent Laid-Open No. 2006-030894

このような電気錠システムにおいて、携帯機が通信圏内に入ったか否かをより精度良く判定できる電気錠システムが望まれていた。   In such an electric lock system, there has been a demand for an electric lock system that can more accurately determine whether or not the portable device has entered the communication range.

本開示は、所定のエリアに鍵装置が存在するか否かをより精度良く判定できる電気錠制御システム、電気錠制御装置、鍵装置、プログラム及び電気錠システムを提供することを目的とする。   An object of the present disclosure is to provide an electric lock control system, an electric lock control device, a key device, a program, and an electric lock system that can determine whether or not a key device exists in a predetermined area with higher accuracy.

上記の課題を解決するために、本開示の一態様に係る電気錠制御システムは、鍵装置と、電気錠制御装置と、を備える。前記鍵装置は、無線通信を行う鍵側通信部を有する。前記電気錠制御装置は、前記鍵側通信部と無線通信を行う錠側通信部と、錠側制御部と、を有する。前記錠側制御部は、建物の開口部を開閉する開閉部材を電気錠に施錠又は解錠させる。前記電気錠制御装置と前記鍵装置とのうち少なくとも一方は、計測部を有する。前記計測部は、前記鍵側通信部と前記錠側通信部とのうち一方から送信され他方で受信される計測信号の受信強度を計測する。前記電気錠制御システムは、判定部を更に備える。前記判定部は、前記計測部が計測した前記計測信号の受信強度に基づいて、予め決められた所定のエリアに前記鍵装置が存在するか否かを判定する。前記電気錠制御装置と前記鍵装置とのうち少なくとも一方は、前記判定部の判定結果によって異なる処理をする。前記錠側通信部は、複数のアンテナを含む。前記複数のアンテナは、少なくとも前記計測信号を送信又は受信するダイバーシティアンテナとして機能する。   In order to solve the above problem, an electric lock control system according to an aspect of the present disclosure includes a key device and an electric lock control device. The key device includes a key side communication unit that performs wireless communication. The electric lock control device includes a lock side communication unit that performs wireless communication with the key side communication unit, and a lock side control unit. The lock-side control unit locks or unlocks the opening and closing member that opens and closes the opening of the building. At least one of the electric lock control device and the key device has a measuring unit. The measurement unit measures the reception intensity of a measurement signal transmitted from one of the key side communication unit and the lock side communication unit and received by the other. The electric lock control system further includes a determination unit. The determination unit determines whether or not the key device is present in a predetermined area based on reception intensity of the measurement signal measured by the measurement unit. At least one of the electric lock control device and the key device performs different processing depending on the determination result of the determination unit. The lock side communication unit includes a plurality of antennas. The plurality of antennas function as diversity antennas that transmit or receive at least the measurement signal.

本開示の一態様に係る電気錠制御装置は、前記電気錠制御システムに用いられる。前記電気錠制御装置は、前記錠側通信部と、前記錠側制御部と、を有する。   An electric lock control device according to an aspect of the present disclosure is used in the electric lock control system. The electric lock control device includes the lock side communication unit and the lock side control unit.

本開示の一態様に係る鍵装置は、前記電気錠制御システムに用いられる。前記鍵装置は、前記鍵側通信部を有する。   A key device according to an aspect of the present disclosure is used in the electric lock control system. The key device includes the key side communication unit.

本開示の一態様に係るプログラムは、携帯端末を前記鍵装置として機能させるための制御処理を、前記携帯端末のコンピュータに実行させる。   A program according to an aspect of the present disclosure causes a computer of the mobile terminal to execute control processing for causing the mobile terminal to function as the key device.

本開示の一態様に係る電気錠システムは、前記電気錠制御システムと、前記電気錠と、を備える。   An electric lock system according to an aspect of the present disclosure includes the electric lock control system and the electric lock.

本開示の一態様に係る電気錠制御システム、電気錠制御装置、鍵装置、プログラム及び電気錠システムでは、所定のエリアに鍵装置が存在するか否かを、より精度良く判定できる。   In the electric lock control system, the electric lock control device, the key device, the program, and the electric lock system according to one aspect of the present disclosure, it can be determined with higher accuracy whether or not the key device exists in a predetermined area.

図1は、実施形態1に係る電気錠システムのブロック図である。FIG. 1 is a block diagram of the electric lock system according to the first embodiment. 図2は、同上の電気錠システムの動作シーケンス図である。FIG. 2 is an operation sequence diagram of the electric lock system. 図3は、実施形態1の変形例1に係る電気錠システムのブロック図である。FIG. 3 is a block diagram of the electric lock system according to the first modification of the first embodiment. 図4は、同上の電気錠システムの動作シーケンス図である。FIG. 4 is an operation sequence diagram of the above electric lock system. 図5は、実施形態1の変形例2に係る電気錠システムのブロック図である。FIG. 5 is a block diagram of an electric lock system according to the second modification of the first embodiment. 図6は、同上の電気錠システムの動作シーケンス図である。FIG. 6 is an operation sequence diagram of the electric lock system. 図7は、実施形態2に係る電気錠システムの概念図である。FIG. 7 is a conceptual diagram of the electric lock system according to the second embodiment. 図8は、実施形態3に係る電気錠システムのブロック図である。FIG. 8 is a block diagram of the electric lock system according to the third embodiment. 図9は、同上の電気錠システムの動作シーケンス図である。FIG. 9 is an operation sequence diagram of the electric lock system. 図10は、実施形態4に係る電気錠システムの動作シーケンス図である。FIG. 10 is an operation sequence diagram of the electric lock system according to the fourth embodiment. 図11は、実施形態5に係る電気錠システムの動作シーケンス図である。FIG. 11 is an operation sequence diagram of the electric lock system according to the fifth embodiment. 図12は、実施形態6に係る電気錠システムの動作シーケンス図である。FIG. 12 is an operation sequence diagram of the electric lock system according to the sixth embodiment.

以下、実施形態に係る電気錠制御システム、電気錠制御装置、鍵装置、プログラム及び電気錠システムについて、図面を用いて説明する。ただし、以下に説明する実施形態は、本開示の様々な実施形態の一部に過ぎない。下記の実施形態は、本開示の目的を達成できれば、設計などに応じて種々の変更が可能である。   Hereinafter, an electric lock control system, an electric lock control device, a key device, a program, and an electric lock system according to embodiments will be described with reference to the drawings. However, the embodiments described below are only some of the various embodiments of the present disclosure. The following embodiment can be variously changed according to the design or the like as long as the object of the present disclosure can be achieved.

(実施形態1)
(1)構成
実施形態1に係る電気錠システム20は、建物(例えば戸建て住宅や集合住宅の各住戸など)の開口部を開閉する開閉部材を電動で施錠又は解錠するためのシステムである。開閉部材は、例えば、玄関ドア若しくは勝手口ドアなどのドア、又は掃き出し窓などの窓である。本実施形態では、開閉部材は、玄関ドアである。開閉部材は、開き戸であってもよいし、引き戸であってもよい。
(Embodiment 1)
(1) Configuration The electric lock system 20 according to the first embodiment is a system for electrically locking or unlocking an opening / closing member that opens and closes an opening of a building (for example, each house in a detached house or an apartment house). The opening / closing member is, for example, a door such as a front door or a doorway door, or a window such as a sweep window. In the present embodiment, the opening / closing member is a front door. The opening / closing member may be a hinged door or a sliding door.

本実施形態の電気錠システム20は、図1に示すように、電気錠制御システム2と、開閉部材に取り付けられる電気錠1と、を備えている。電気錠制御システム2は、開閉部材に取り付けられる電気錠制御装置3と、ユーザ(例えば住人)が所持する1又は複数(図1では1つ)の携帯端末4(鍵装置)と、を備えている。1又は複数の携帯端末4は、電気錠制御装置3に予め登録されている。1又は複数の携帯端末4は、電波を媒体として、電気錠制御装置3と無線通信を行う。無線通信には、高周波(RF:Radio Frequency)又はマイクロ波が用いられる。   The electric lock system 20 of this embodiment is provided with the electric lock control system 2 and the electric lock 1 attached to an opening / closing member, as shown in FIG. The electric lock control system 2 includes an electric lock control device 3 attached to the opening / closing member, and one or a plurality (one in FIG. 1) of portable terminals 4 (key devices) possessed by a user (for example, a resident). Yes. One or a plurality of portable terminals 4 are registered in advance in the electric lock control device 3. One or a plurality of portable terminals 4 perform wireless communication with the electric lock control device 3 using radio waves as a medium. Radio communication uses radio frequency (RF) or microwaves.

電気錠1は、デッドボルトと、モータと、駆動回路とを有している。モータは、モータの駆動力をデッドボルトに伝達することで、デッドボルトを施錠位置と解錠位置との間で移動させる。施錠位置は、デッドボルトの少なくとも一部が開閉部材(ドア)の側面から突出して、ドア枠のボルト穴に挿入される位置である。解錠位置は、デッドボルトの全体が開閉部材の側面より内側に収まる位置である。駆動回路は、電気錠制御装置3の後述の錠側制御部31から施錠信号Sig5が入力されると、モータを駆動してデッドボルトを施錠位置に移動させ、開閉部材を施錠する。また、駆動回路は、錠側制御部31から解錠信号Sig6が入力されると、モータを駆動してデッドボルトを解錠位置に移動させ、開閉部材を解錠する。   The electric lock 1 has a dead bolt, a motor, and a drive circuit. The motor transmits the driving force of the motor to the dead bolt, thereby moving the dead bolt between the locked position and the unlocked position. The locking position is a position where at least a part of the dead bolt protrudes from the side surface of the opening / closing member (door) and is inserted into the bolt hole of the door frame. The unlocking position is a position where the entire dead bolt is located inside the side surface of the opening / closing member. When a lock signal Sig5 is input from a lock side control unit 31 (to be described later) of the electric lock control device 3, the drive circuit drives the motor to move the dead bolt to the lock position, and locks the opening / closing member. When the unlock signal Sig6 is input from the lock side control unit 31, the drive circuit drives the motor to move the dead bolt to the unlock position and unlocks the opening / closing member.

電気錠制御装置3は、認証部30と、錠側制御部31と、錠側通信部32と、計測部33と、判定部34と、を有している。   The electric lock control device 3 includes an authentication unit 30, a lock side control unit 31, a lock side communication unit 32, a measurement unit 33, and a determination unit 34.

電気錠制御装置3は、プロセッサ及びメモリを主構成とするコンピュータ(マイクロコンピュータ)を含む。メモリに記憶されているプログラムをプロセッサが実行することにより、電気錠制御装置3としての機能が実現される。   The electric lock control device 3 includes a computer (microcomputer) having a processor and a memory as main components. The function as the electric lock control device 3 is realized by the processor executing the program stored in the memory.

電気錠制御装置3は、鍵情報を1又は複数の携帯端末4と共有している。鍵情報は、電気錠制御装置3と1又は複数の携帯端末4との通信の暗号化及び復号に使用される情報である。   The electric lock control device 3 shares key information with one or a plurality of portable terminals 4. The key information is information used for encryption and decryption of communication between the electric lock control device 3 and one or a plurality of portable terminals 4.

認証部30は、1又は複数の携帯端末4に予め割り当てられた、携帯端末4ごとに固有の識別情報と、上述の鍵情報とに基づいて、1又は複数の携帯端末4の認証を行う。つまり、認証部30は、各携帯端末4を区別し、また、携帯端末4が開閉部材を施錠・解錠する権限を正当に有しているか否かを、携帯端末4ごとに判断する。識別情報は、電気錠制御装置3に各携帯端末4を登録する際に各携帯端末4に割り当てられる。識別情報及び鍵情報は、各携帯端末4から電気錠制御装置3に送信される後述の応答信号Sig2(図2参照)に含まれている。これにより、電気錠制御システム2が携帯端末4を複数備えている場合であっても、電気錠制御装置3は、複数の携帯端末4と個別に通信することができる。実施形態1において、以下では、携帯端末4は1つであるとして説明する。   The authentication unit 30 authenticates one or a plurality of portable terminals 4 based on the identification information unique to each portable terminal 4 and the key information described above, which is assigned to the one or more portable terminals 4 in advance. That is, the authentication unit 30 distinguishes each mobile terminal 4 and determines for each mobile terminal 4 whether the mobile terminal 4 has a right to lock / unlock the opening / closing member. The identification information is assigned to each portable terminal 4 when each portable terminal 4 is registered in the electric lock control device 3. The identification information and the key information are included in a response signal Sig2 (described later) transmitted from each portable terminal 4 to the electric lock control device 3. Thereby, even if the electric lock control system 2 includes a plurality of portable terminals 4, the electric lock control device 3 can communicate with the plurality of portable terminals 4 individually. In the first embodiment, the following description will be made assuming that there is one mobile terminal 4.

錠側制御部31は、携帯端末4から送信される後述の指令信号Sig4(図2参照)に基づいて、電気錠1を制御して電気錠1に開閉部材を施錠又は解錠させる。より詳細には、錠側制御部31は、電気錠1に施錠信号Sig5又は解錠信号Sig6を送信することにより、電気錠1に開閉部材を施錠又は解錠させる。   The lock control unit 31 controls the electric lock 1 based on a command signal Sig4 (see FIG. 2) described later transmitted from the mobile terminal 4 to lock or unlock the opening / closing member in the electric lock 1. More specifically, the lock side control unit 31 causes the electric lock 1 to lock or unlock the opening / closing member by transmitting the lock signal Sig5 or the unlock signal Sig6 to the electric lock 1.

錠側通信部32は、複数(本実施形態では2つ)のアンテナANT1、ANT2と、切替回路320とを有している。複数のアンテナANT1、ANT2はそれぞれ、例えば、ダイポールアンテナ又は八木・宇田アンテナである。複数のアンテナANT1、ANT2は、電路321により錠側制御部31から給電される。   The lock side communication unit 32 includes a plurality (two in the present embodiment) of antennas ANT1 and ANT2 and a switching circuit 320. Each of the plurality of antennas ANT1 and ANT2 is, for example, a dipole antenna or a Yagi / Uda antenna. The plurality of antennas ANT <b> 1 and ANT <b> 2 are fed from the lock-side control unit 31 through the electric path 321.

切替回路320は、電路321のアンテナANT1、ANT2側の端に電気的に接続されている。切替回路320は、具体的には、リレー回路である。切替回路320の接点は、例えばc接点である。切替回路320は、錠側制御部31に接続された電路321と複数のアンテナANT1、ANT2との電気的な接続を、錠側制御部31の制御により切り替える。すなわち、切替回路320の接点が切り替わることにより、アンテナANT1とアンテナANT2とが択一的に給電される。   The switching circuit 320 is electrically connected to the ends of the electric circuit 321 on the antennas ANT1 and ANT2 side. Specifically, the switching circuit 320 is a relay circuit. The contact of the switching circuit 320 is, for example, a c contact. The switching circuit 320 switches the electrical connection between the electric circuit 321 connected to the lock side control unit 31 and the plurality of antennas ANT1 and ANT2 under the control of the lock side control unit 31. That is, when the contact of the switching circuit 320 is switched, the antenna ANT1 and the antenna ANT2 are alternatively supplied with power.

これにより、複数のアンテナANT1、ANT2のうち、信号を送信及び受信するアンテナである使用アンテナが、アンテナANT1からアンテナANT2へ、又は、アンテナANT2からアンテナANT1へ切り替わる。すなわち、複数のアンテナANT1、ANT2は、アンテナ選択方式によるダイバーシティアンテナとして機能する。なお、切替回路320の接点は、c接点に限定されず、a接点であっても、b接点であってもよい。   Thereby, the use antenna which is an antenna which transmits and receives a signal among the plurality of antennas ANT1 and ANT2 is switched from the antenna ANT1 to the antenna ANT2, or from the antenna ANT2 to the antenna ANT1. That is, the plurality of antennas ANT1 and ANT2 function as diversity antennas based on an antenna selection method. The contact of the switching circuit 320 is not limited to the c contact, and may be an a contact or a b contact.

錠側通信部32は、携帯端末4の後述の鍵側通信部42と無線通信を行う。無線通信の規格は、例えばBluetooth(登録商標)又はZigBee(登録商標)が利用される。錠側通信部32は、錠側制御部31からの指令に従って、ビーコン信号Sig1(図2参照)を間欠的に(例えば1秒間隔で)送信する。また、錠側通信部32は、ビーコン信号Sig1に応答して携帯端末4から送信される応答信号Sig2を受信する。   The lock side communication unit 32 performs wireless communication with a later-described key side communication unit 42 of the mobile terminal 4. As a wireless communication standard, for example, Bluetooth (registered trademark) or ZigBee (registered trademark) is used. The lock side communication unit 32 intermittently transmits a beacon signal Sig1 (see FIG. 2) according to a command from the lock side control unit 31 (for example, at intervals of 1 second). The lock side communication unit 32 receives the response signal Sig2 transmitted from the portable terminal 4 in response to the beacon signal Sig1.

携帯端末4は、鍵側制御部41と、鍵側通信部42と、指令制限部43と、鍵側操作部49と、を有している。   The portable terminal 4 includes a key side control unit 41, a key side communication unit 42, a command restriction unit 43, and a key side operation unit 49.

携帯端末4は、プロセッサ及びメモリを主構成とするコンピュータ(マイクロコンピュータ)を含む。メモリに記憶されているプログラムをプロセッサが実行することにより、携帯端末4としての機能が実現される。携帯端末4は、スマートフォンなどの携帯電話である。ただし、携帯端末4は携帯電話に限らず、例えばPDA(Personal Digital Assistant)、タブレット型端末又はIC(Integrated Circuit)タグなどであってもよい。   The portable terminal 4 includes a computer (microcomputer) having a processor and a memory as main components. The function as the portable terminal 4 is realized by the processor executing the program stored in the memory. The mobile terminal 4 is a mobile phone such as a smartphone. However, the mobile terminal 4 is not limited to a mobile phone, and may be, for example, a PDA (Personal Digital Assistant), a tablet terminal, or an IC (Integrated Circuit) tag.

鍵側通信部42は、1又は複数のアンテナを有している。鍵側通信部42は、錠側通信部32と無線通信を行う。無線通信の規格は、例えばBluetooth(登録商標)又はZigBee(登録商標)が利用される。鍵側通信部42は、錠側通信部32から間欠的に送信されるビーコン信号Sig1を受信する。鍵側通信部42は、ビーコン信号Sig1を受信すると、鍵側制御部41からの指令に従って、錠側通信部32に応答信号Sig2を送信する。   The key side communication unit 42 has one or a plurality of antennas. The key side communication unit 42 performs wireless communication with the lock side communication unit 32. As a wireless communication standard, for example, Bluetooth (registered trademark) or ZigBee (registered trademark) is used. The key side communication unit 42 receives the beacon signal Sig1 that is intermittently transmitted from the lock side communication unit 32. Upon receiving the beacon signal Sig1, the key side communication unit 42 transmits a response signal Sig2 to the lock side communication unit 32 in accordance with a command from the key side control unit 41.

電気錠制御装置3の計測部33は、錠側通信部32で受信された応答信号Sig2(計測信号)の受信強度(RSSI:Received Signal Strength Indication)を計測する。   The measurement unit 33 of the electric lock control device 3 measures a received signal strength indication (RSSI) of the response signal Sig2 (measurement signal) received by the lock side communication unit 32.

判定部34は、計測部33が計測した応答信号Sig2の受信強度に基づいて、所定のエリアに携帯端末4が存在するか否かを判定する。所定のエリアは、開閉部材に取り付けられた錠側通信部32の付近に広がっている。判定部34は例えば、コンパレータである。判定部34は、具体的には、応答信号Sig2の受信強度を閾値と比較することにより、所定のエリアに携帯端末4が存在するか否かを判定する。閾値は、所定の値であり、電気錠制御装置3のメモリに記憶されている。所定のエリアは、予め決められている。例えば、ユーザが電気錠制御装置3を操作して所定のエリアの広さを設定すると、閾値が変更されることにより、所定のエリアが改めて決められる。   The determination unit 34 determines whether or not the mobile terminal 4 is present in a predetermined area based on the reception intensity of the response signal Sig2 measured by the measurement unit 33. The predetermined area extends in the vicinity of the lock side communication unit 32 attached to the opening / closing member. The determination unit 34 is, for example, a comparator. Specifically, the determination unit 34 determines whether or not the mobile terminal 4 exists in a predetermined area by comparing the reception intensity of the response signal Sig2 with a threshold value. The threshold value is a predetermined value and is stored in the memory of the electric lock control device 3. The predetermined area is determined in advance. For example, when the user operates the electric lock control device 3 to set the size of a predetermined area, the predetermined area is determined again by changing the threshold value.

また、所定のエリアに携帯端末4が存在すると判定部34が判定した場合に、錠側通信部32は、錠側制御部31からの指令に従って、鍵側通信部42にエリア信号Sig3(図2参照)を送信する。   Further, when the determination unit 34 determines that the mobile terminal 4 is present in a predetermined area, the lock side communication unit 32 sends an area signal Sig3 (FIG. 2) to the key side communication unit 42 in accordance with a command from the lock side control unit 31. Send).

鍵側操作部49は、例えば、携帯端末4のタッチパネルである。鍵側操作部49は、ユーザによる所定の操作を受け付ける。所定の操作とは、鍵側操作部49(タッチパネル)へのタップ操作又はフリック操作などである。所定の操作は、開閉部材を施錠させるための操作であってもよいし、開閉部材を解錠させるための操作であってもよい。   The key side operation unit 49 is, for example, a touch panel of the mobile terminal 4. The key side operation unit 49 receives a predetermined operation by the user. The predetermined operation is a tap operation or a flick operation on the key side operation unit 49 (touch panel). The predetermined operation may be an operation for locking the opening / closing member or an operation for unlocking the opening / closing member.

鍵側通信部42が錠側通信部32からエリア信号Sig3を受信してから、鍵側操作部49に所定の操作がされると、鍵側通信部42は、錠側通信部32に指令信号Sig4を送信する。   When the key side communication unit 42 receives the area signal Sig3 from the lock side communication unit 32 and then performs a predetermined operation on the key side operation unit 49, the key side communication unit 42 sends a command signal to the lock side communication unit 32. Sig4 is transmitted.

指令制限部43は、鍵側通信部42が錠側通信部32に指令信号Sig4を送信することを制限する。より詳細には、指令制限部43は、鍵側通信部42がエリア信号Sig3を受信した場合にのみ、鍵側通信部42の状態を、指令信号Sig4を送信できる状態にする。   The command restriction unit 43 restricts the key side communication unit 42 from transmitting the command signal Sig4 to the lock side communication unit 32. More specifically, the command restriction unit 43 changes the state of the key side communication unit 42 to a state where the command signal Sig4 can be transmitted only when the key side communication unit 42 receives the area signal Sig3.

(2)動作の詳細
次に、本実施形態の電気錠システム20の動作の詳細について、図2のシーケンス図を参照して説明する。
(2) Details of Operation Next, details of the operation of the electric lock system 20 of the present embodiment will be described with reference to the sequence diagram of FIG.

電気錠制御装置3の使用アンテナは、切替回路320により、一定の切替周期でアンテナANT1とアンテナANT2とに交互に切り替えられる。ただし、図2では使用アンテナが切り替えられるステップを図示していない。   The use antenna of the electric lock control device 3 is alternately switched between the antenna ANT1 and the antenna ANT2 by the switching circuit 320 at a constant switching cycle. However, FIG. 2 does not show the step of switching the antenna to be used.

錠側通信部32は、錠側制御部31からの指令に従って、ビーコン信号Sig1を間欠的に(例えば1秒間隔で)送信する(ステップS1)。ただし、図2及び図2以外のシーケンス図(図4、6、9〜12)では、間欠的に送信されるビーコン信号Sig1のうち、一部のタイミングで送信されるビーコン信号Sig1のみを図示している。   The lock side communication unit 32 transmits the beacon signal Sig1 intermittently (for example, at intervals of 1 second) in accordance with a command from the lock side control unit 31 (step S1). However, in the sequence diagrams other than FIGS. 2 and 2 (FIGS. 4, 6, and 9 to 12), only the beacon signal Sig <b> 1 transmitted at a partial timing is illustrated among the beacon signals Sig <b> 1 transmitted intermittently. ing.

ステップS2では、携帯端末4がビーコン信号Sig1を受信可能なエリアの外にあるときは、鍵側通信部42は、ビーコン信号Sig1を受信できない。携帯端末4がビーコン信号Sig1を受信可能なエリアは、上述の所定のエリアを含み、上述の所定のエリアよりも広いエリアである。   In step S2, when the mobile terminal 4 is outside the area where the beacon signal Sig1 can be received, the key side communication unit 42 cannot receive the beacon signal Sig1. The area where the portable terminal 4 can receive the beacon signal Sig1 includes the above-described predetermined area and is an area wider than the above-described predetermined area.

錠側通信部32は、ビーコン信号Sig1の送信(ステップS1)を繰り返す。携帯端末4がビーコン信号Sig1を受信可能なエリアに移動し、ステップS2で鍵側通信部42がビーコン信号Sig1の受信に成功すると、鍵側通信部42は、鍵側制御部41からの指令に従って、応答信号Sig2を送信する(ステップS3)。   The lock side communication unit 32 repeats transmission of the beacon signal Sig1 (step S1). When the portable terminal 4 moves to an area where the beacon signal Sig1 can be received and the key side communication unit 42 succeeds in receiving the beacon signal Sig1 in step S2, the key side communication unit 42 follows the instruction from the key side control unit 41. The response signal Sig2 is transmitted (step S3).

錠側通信部32が鍵側通信部42からの応答信号Sig2を受信すると、認証部30は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、携帯端末4の認証を行う(ステップS4)。以下の説明において、認証部30が携帯端末4を「正当と判断する」とは、認証部30が携帯端末4を認証した結果、開閉部材を施錠又は解錠する権限を携帯端末4が有していると認証部30が判断することである。   When the lock side communication unit 32 receives the response signal Sig2 from the key side communication unit 42, the authentication unit 30 authenticates the portable terminal 4 based on the identification information and the key information included in the response signal Sig2 (step S4). ). In the following description, the authentication unit 30 “determines that the mobile terminal 4 is valid” means that the mobile terminal 4 has the authority to lock or unlock the opening / closing member as a result of the authentication unit 30 authenticating the mobile terminal 4. The authentication unit 30 determines that the

認証部30が携帯端末4を認証した結果、携帯端末4を正当と判断しない場合、計測部33は、応答信号Sig2(計測信号)の錠側通信部32での受信強度を計測しない。認証部30が携帯端末4を認証し正当と判断すると、計測部33は、応答信号Sig2(計測信号)の錠側通信部32での受信強度を計測する(ステップS5)。さらに、判定部34は、計測部33が計測した応答信号Sig2の受信強度に基づいて、所定のエリアに携帯端末4が存在するか否かを判定する(ステップS6)。所定のエリアに携帯端末4が存在しないと判定部34が判定した場合は、錠側通信部32は、鍵側通信部42にエリア信号Sig3を送信しない。エリア信号Sig3は、所定のエリアに携帯端末4が存在することを示す信号である。   As a result of the authentication unit 30 authenticating the portable terminal 4, if the portable terminal 4 is not determined to be valid, the measurement unit 33 does not measure the reception strength of the response signal Sig2 (measurement signal) at the lock side communication unit 32. If the authentication unit 30 authenticates the portable terminal 4 and determines that it is valid, the measurement unit 33 measures the reception strength of the response signal Sig2 (measurement signal) at the lock side communication unit 32 (step S5). Furthermore, the determination unit 34 determines whether or not the mobile terminal 4 is present in a predetermined area based on the reception intensity of the response signal Sig2 measured by the measurement unit 33 (step S6). When the determination unit 34 determines that the portable terminal 4 does not exist in the predetermined area, the lock side communication unit 32 does not transmit the area signal Sig3 to the key side communication unit 42. The area signal Sig3 is a signal indicating that the mobile terminal 4 is present in a predetermined area.

ステップS5で計測部33が計測した応答信号Sig2の受信強度に基づいて、ステップS6において、所定のエリアに携帯端末4が存在すると判定部34が判定した場合は、錠側通信部32は、鍵側通信部42にエリア信号Sig3を送信する(ステップS7)。   If the determination unit 34 determines in step S6 that the mobile terminal 4 is present in the predetermined area based on the reception strength of the response signal Sig2 measured by the measurement unit 33 in step S5, the lock side communication unit 32 The area signal Sig3 is transmitted to the side communication unit 42 (step S7).

このように、錠側通信部32は、所定のエリアに携帯端末4が存在しないと判定部34が判定した場合はエリア信号Sig3を送信せず、所定のエリアに携帯端末4が存在すると判定部34が判定した場合はエリア信号Sig3を送信する。すなわち、電気錠制御装置3(錠側通信部32)は、判定部34の判定結果によって異なる処理をする。   Thus, when the determination unit 34 determines that the portable terminal 4 does not exist in the predetermined area, the lock side communication unit 32 does not transmit the area signal Sig3 and determines that the portable terminal 4 exists in the predetermined area. If 34 is determined, the area signal Sig3 is transmitted. That is, the electric lock control device 3 (lock side communication unit 32) performs different processes depending on the determination result of the determination unit 34.

鍵側通信部42がエリア信号Sig3を受信すると、指令制限部43は、鍵側通信部42の状態を、指令信号Sig4を送信できない状態から送信できる状態に切り替える(ステップS8)。その後、ユーザが鍵側操作部49に所定の操作を行うと(ステップS9)、鍵側通信部42は、鍵側制御部41からの指令に従って、錠側通信部32に指令信号Sig4を送信する(ステップS10)。つまり、鍵側通信部42がエリア信号Sig3を受信するまでは、携帯端末4への所定の操作は無効になっており、携帯端末4に所定の操作がされても鍵側通信部42は指令信号Sig4を送信しない。   When the key side communication unit 42 receives the area signal Sig3, the command restriction unit 43 switches the state of the key side communication unit 42 from a state where the command signal Sig4 cannot be transmitted to a state where it can be transmitted (step S8). Thereafter, when the user performs a predetermined operation on the key side operation unit 49 (step S9), the key side communication unit 42 transmits a command signal Sig4 to the lock side communication unit 32 in accordance with a command from the key side control unit 41. (Step S10). In other words, until the key-side communication unit 42 receives the area signal Sig3, the predetermined operation on the portable terminal 4 is invalid, and the key-side communication unit 42 is instructed even if the predetermined operation is performed on the portable terminal 4. The signal Sig4 is not transmitted.

錠側通信部32が指令信号Sig4を受信すると、錠側制御部31は、電気錠1に施錠信号Sig5又は解錠信号Sig6を送信することにより、電気錠1を制御して電気錠1に開閉部材を施錠又は解錠させる(ステップS11:図1参照)。つまり、ステップS9でされた所定の操作が、開閉部材5を施錠させるための操作である場合は、錠側制御部31は、施錠信号Sig5を送信する。ステップS9でされた所定の操作が、開閉部材5を解錠させるための操作である場合は、錠側制御部31は、解錠信号Sig6を送信する。   When the lock side communication unit 32 receives the command signal Sig4, the lock side control unit 31 controls the electric lock 1 to open and close the electric lock 1 by transmitting the lock signal Sig5 or the unlock signal Sig6 to the electric lock 1. The member is locked or unlocked (step S11: see FIG. 1). That is, when the predetermined operation performed in step S9 is an operation for locking the opening / closing member 5, the lock-side control unit 31 transmits the locking signal Sig5. When the predetermined operation performed in step S9 is an operation for unlocking the opening / closing member 5, the lock-side control unit 31 transmits an unlock signal Sig6.

ところで、錠側通信部32において、ビーコン信号Sig1及びエリア信号Sig3は、ダイバーシティアンテナとして機能する複数のアンテナANT1、ANT2により送信される。応答信号Sig2及び指令信号Sig4は、複数のアンテナANT1、ANT2により受信される。特に、ダイバーシティアンテナとして機能する複数のアンテナANT1、ANT2が応答信号Sig2を受信するので、錠側通信部32では、アンテナを1つのみ用いる場合と比較して、応答信号Sig2の受信強度のばらつきが低減される。つまり、ダイバーシティアンテナを用いることで、錠側通信部32では、応答信号Sig2の受信強度がフェージングなどによりばらつく可能性が低減される。すなわち、電気錠システム20では、フェージングを低減できるので、電気錠制御装置3又は携帯端末4の周辺に電波を反射する物があっても、応答信号Sig2の受信強度の計測部33での計測精度が低下する可能性を低減できる。   Meanwhile, in the lock side communication unit 32, the beacon signal Sig1 and the area signal Sig3 are transmitted by a plurality of antennas ANT1 and ANT2 that function as diversity antennas. The response signal Sig2 and the command signal Sig4 are received by the plurality of antennas ANT1 and ANT2. In particular, since the plurality of antennas ANT1 and ANT2 functioning as diversity antennas receive the response signal Sig2, the lock-side communication unit 32 has a variation in the reception intensity of the response signal Sig2 compared to the case where only one antenna is used. Reduced. That is, by using the diversity antenna, the lock side communication unit 32 reduces the possibility that the reception intensity of the response signal Sig2 varies due to fading or the like. That is, since the fading can be reduced in the electric lock system 20, even if there is an object that reflects radio waves around the electric lock control device 3 or the portable terminal 4, the measurement accuracy of the response signal Sig2 received intensity measurement unit 33 is accurate. Can be reduced.

また、上述した通り、電気錠制御装置3は、計測部33を有している。携帯端末4のみが計測部を有しており、携帯端末4の計測部で信号(例えば、ビーコン信号Sig1)の受信強度を計測すると、携帯端末4ごとに計測精度が異なる場合には、携帯端末4ごとに計測結果がばらついてしまう。例えば、携帯端末4は、機種ごとに信号の計測精度、分解能及びダイナミックレンジが異なる場合がある。これに対して、本実施形態の電気錠システム20では、電気錠制御装置3が計測部33を有しているので、携帯端末4のみが計測部を有しているときと比較して、信号の受信強度をより精度良く計測できる。互いに機種が異なる複数の携帯端末4は、信号の計測精度よりも信号の送信強度の方がばらつきが小さいことがあるので、本実施形態のように、携帯端末4を計測信号(応答信号Sig2)の送信側とすることが好ましい。   Further, as described above, the electric lock control device 3 includes the measuring unit 33. When only the portable terminal 4 has a measurement unit and the reception intensity of a signal (for example, beacon signal Sig1) is measured by the measurement unit of the portable terminal 4, the measurement accuracy differs for each portable terminal 4. Measurement results vary every four. For example, the portable terminal 4 may have different signal measurement accuracy, resolution, and dynamic range for each model. On the other hand, in the electric lock system 20 of the present embodiment, since the electric lock control device 3 has the measuring unit 33, the signal is compared with the case where only the mobile terminal 4 has the measuring unit. Can be measured with higher accuracy. Since a plurality of portable terminals 4 of different models have a smaller variation in signal transmission intensity than the signal measurement accuracy, the portable terminal 4 is used as a measurement signal (response signal Sig2) as in this embodiment. It is preferable to be the transmission side.

上述した通り、電気錠制御装置3及び携帯端末4は、それぞれコンピュータを含む。すなわち、本開示における電気錠システム20の実行主体は、複数のコンピュータを含んでいる。コンピュータは、ハードウェアとしてのプロセッサ及びメモリを主構成とする。コンピュータのメモリに記録されたプログラムをプロセッサが実行することによって、本開示における電気錠システム20の実行主体としての機能が実現される。プログラムは、コンピュータのメモリに予め記録されていてもよいが、電気通信回線を通じて提供されてもよいし、コンピュータで読み取り可能なメモリカード、光学ディスク、ハードディスクドライブ(磁気ディスク)などの非一時的記録媒体に記録されて提供されてもよい。コンピュータのプロセッサは、半導体集積回路(IC)又は大規模集積回路(LSI)を含む1乃至複数の電子回路で構成される。複数の電子回路は、1つのチップに集約されていてもよいし、複数のチップに分散して設けられていてもよい。複数のチップは、1つの装置に集約されていてもよいし、複数の装置に分散して設けられていてもよい。   As described above, the electric lock control device 3 and the portable terminal 4 each include a computer. That is, the execution subject of the electric lock system 20 in the present disclosure includes a plurality of computers. The computer mainly includes a processor and memory as hardware. When the processor executes the program recorded in the memory of the computer, the function as the execution subject of the electric lock system 20 in the present disclosure is realized. The program may be recorded in advance in the memory of the computer, but may be provided through an electric communication line, or a non-temporary recording such as a computer-readable memory card, an optical disk, or a hard disk drive (magnetic disk). It may be provided by being recorded on a medium. A processor of a computer includes one or more electronic circuits including a semiconductor integrated circuit (IC) or a large scale integrated circuit (LSI). The plurality of electronic circuits may be integrated on one chip, or may be distributed on the plurality of chips. The plurality of chips may be integrated into one device, or may be distributed and provided in a plurality of devices.

(実施形態1の変形例1)
次に、実施形態1の変形例1について、図3、4を参照して説明する。なお、実施形態1と同様の構成については、同一の符号を付して説明を省略する。実施形態1と同様の動作については、説明を省略する。
(Modification 1 of Embodiment 1)
Next, Modification 1 of Embodiment 1 will be described with reference to FIGS. In addition, about the structure similar to Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the first embodiment is omitted.

図3に示すように、本変形例の電気錠システム20A及び電気錠制御システム2Aは、判定部34Aが電気錠制御装置3Aではなく携帯端末4Aに備えられている点で、実施形態1の電気錠システム20及び電気錠制御システム2とは異なる。   As shown in FIG. 3, the electric lock system 20A and the electric lock control system 2A according to the present modification are different from those in the first embodiment in that the determination unit 34A is provided not in the electric lock control device 3A but in the portable terminal 4A. Different from the lock system 20 and the electric lock control system 2.

図4は、本変形例の電気錠システム20Aの動作シーケンス図である。ステップS12〜S16は、実施形態1のステップS1〜S5と同じである。   FIG. 4 is an operation sequence diagram of the electric lock system 20A of the present modification. Steps S12 to S16 are the same as steps S1 to S5 of the first embodiment.

ステップS16において計測部33が応答信号Sig2の受信強度を計測すると、錠側通信部32は、鍵側通信部42に受信強度信号Sig7を送信する(ステップS17)。受信強度信号Sig7は、計測部33が計測した応答信号Sig2の受信強度を示す信号である。   When the measuring unit 33 measures the reception strength of the response signal Sig2 in step S16, the lock side communication unit 32 transmits the reception strength signal Sig7 to the key side communication unit 42 (step S17). The reception intensity signal Sig7 is a signal indicating the reception intensity of the response signal Sig2 measured by the measurement unit 33.

携帯端末4Aの判定部34Aは、受信強度信号Sig7に基づいて、所定のエリアに携帯端末4Aが存在するか否かを判定する(ステップS18)。所定のエリアに携帯端末4Aが存在しないと判定部34Aが判定した場合は、指令制限部43は、鍵側通信部42の状態を、指令信号Sig4を送信できない状態のまま切り替えない。所定のエリアに携帯端末4Aが存在すると判定部34Aが判定した場合は、指令制限部43は、鍵側通信部42の状態を、指令信号Sig4を送信できない状態から送信できる状態に切り替える(ステップS19)。その後、鍵側操作部49に所定の操作がされると(ステップS20)、鍵側通信部42は、鍵側制御部41からの指令に従って、錠側通信部32に指令信号Sig4を送信する(ステップS21)。   The determination unit 34A of the mobile terminal 4A determines whether or not the mobile terminal 4A exists in a predetermined area based on the reception intensity signal Sig7 (step S18). When the determination unit 34A determines that the mobile terminal 4A does not exist in the predetermined area, the command restriction unit 43 does not switch the state of the key side communication unit 42 while the command signal Sig4 cannot be transmitted. When the determination unit 34A determines that the mobile terminal 4A is present in the predetermined area, the command restriction unit 43 switches the state of the key side communication unit 42 from a state where the command signal Sig4 cannot be transmitted to a state where the command signal Sig4 can be transmitted (step S19). ). Thereafter, when a predetermined operation is performed on the key side operation unit 49 (step S20), the key side communication unit 42 transmits a command signal Sig4 to the lock side communication unit 32 in accordance with a command from the key side control unit 41 ( Step S21).

錠側通信部32が指令信号Sig4を受信すると、錠側制御部31は、電気錠1に施錠信号Sig5又は解錠信号Sig6を送信することにより、電気錠1を制御して電気錠1に開閉部材を施錠又は解錠させる(ステップS22:図3参照)。   When the lock side communication unit 32 receives the command signal Sig4, the lock side control unit 31 controls the electric lock 1 to open and close the electric lock 1 by transmitting the lock signal Sig5 or the unlock signal Sig6 to the electric lock 1. The member is locked or unlocked (step S22: see FIG. 3).

以上説明したように、本変形例に係る電気錠システム20Aでは、携帯端末4Aが判定部34Aを有する。判定部34Aが電気錠制御装置3Aにおいて判定を行わなくてもよい分、電気錠制御装置3Aの処理量を抑制でき、電気錠制御装置3Aでの電力消費量を低減できる。また、携帯端末4Aがスマートフォンなどであって、判定部34Aとして用いることが可能なコンパレータなどをそもそも具備している場合には、電気錠制御装置3Aに判定部34Aを設けなくてもよい分、電気錠制御システム2Aのコストを低減することができる。   As described above, in the electric lock system 20A according to this modification, the mobile terminal 4A includes the determination unit 34A. Since the determination unit 34A does not need to make a determination in the electric lock control device 3A, the processing amount of the electric lock control device 3A can be suppressed, and the power consumption in the electric lock control device 3A can be reduced. Further, when the portable terminal 4A is a smartphone or the like and originally includes a comparator that can be used as the determination unit 34A, the determination unit 34A may not be provided in the electric lock control device 3A. The cost of the electric lock control system 2A can be reduced.

(実施形態1の変形例2)
次に、実施形態1の変形例2について、図5、6を参照して説明する。なお、実施形態1と同様の構成については、同一の符号を付して説明を省略する。実施形態1と同様の動作については、説明を省略する。
(Modification 2 of Embodiment 1)
Next, Modification 2 of Embodiment 1 will be described with reference to FIGS. In addition, about the structure similar to Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the first embodiment is omitted.

図5に示すように、本変形例の電気錠システム20B及び電気錠制御システム2Bにおいて、電気錠制御装置3Bは、錠側操作部39を更に有している。本変形例では、携帯端末4Bは指令制限部43(図1参照)及び鍵側操作部49(図1参照)を有していなくてもよい。   As shown in FIG. 5, in the electric lock system 20 </ b> B and the electric lock control system 2 </ b> B of the present modification, the electric lock control device 3 </ b> B further includes a lock side operation unit 39. In this modification, the portable terminal 4B may not include the command restriction unit 43 (see FIG. 1) and the key side operation unit 49 (see FIG. 1).

錠側操作部39は、例えば、開閉部材5(図7参照)の引手51(図7参照)に設けられる。錠側操作部39は、タッチパネルである。錠側操作部39は、ユーザによる第一操作を受け付ける。第一操作とは、錠側操作部39(タッチパネル)へのタッチ操作である。錠側操作部39に第一操作がされると、錠側制御部31は、電気錠1の駆動回路に施錠信号Sig5又は解錠信号Sig6を送信して、電気錠1に開閉部材5を施錠又は解錠させる。第一操作は、開閉部材5を施錠させるための操作であってもよいし、開閉部材5を解錠させるための操作であってもよい。なお、錠側操作部39は、開閉部材5が設けられている建物の壁面又は開閉部材5に取り付けられていてもよい。   The lock side operation part 39 is provided in the handle 51 (refer FIG. 7) of the opening-and-closing member 5 (refer FIG. 7), for example. The lock side operation unit 39 is a touch panel. The lock side operation part 39 receives the 1st operation by a user. The first operation is a touch operation on the lock side operation unit 39 (touch panel). When the first operation is performed on the lock operation unit 39, the lock control unit 31 transmits the lock signal Sig 5 or the unlock signal Sig 6 to the drive circuit of the electric lock 1, and locks the opening / closing member 5 on the electric lock 1. Or let it unlock. The first operation may be an operation for locking the opening / closing member 5 or an operation for unlocking the opening / closing member 5. In addition, the lock side operation part 39 may be attached to the wall surface of the building in which the opening / closing member 5 is provided or the opening / closing member 5.

錠側制御部31は、錠側操作部39の状態を、第一操作を受け付ける状態と、第一操作を受け付けない状態とに切り替える。より詳細には、錠側制御部31は、所定のエリアに携帯端末4Bが存在しないと判定部34が判定した場合にのみ、錠側操作部39の状態を、第一操作を受け付ける状態にする。   The lock side control unit 31 switches the state of the lock side operation unit 39 between a state where the first operation is accepted and a state where the first operation is not accepted. More specifically, the lock side control unit 31 changes the state of the lock side operation unit 39 to accept the first operation only when the determination unit 34 determines that the portable terminal 4B does not exist in the predetermined area. .

図6は、本変形例の電気錠システム20Bの動作シーケンス図である。ステップS23〜S28は、実施形態1のステップS1〜S6と同じである。   FIG. 6 is an operation sequence diagram of the electric lock system 20B of the present modification. Steps S23 to S28 are the same as steps S1 to S6 of the first embodiment.

ステップS28において、所定のエリアに携帯端末4Bが存在すると判定部34が判定した場合は、錠側制御部31は、錠側操作部39の状態を、第一操作を受け付ける状態にする(ステップS29)。その後、錠側操作部39に第一操作がされると(ステップS30)、錠側制御部31は、電気錠1に施錠信号Sig5又は解錠信号Sig6を送信することにより、電気錠1を制御して電気錠1に開閉部材5(図7参照)を施錠又は解錠させる(ステップS31:図5参照)。   In step S28, when the determination unit 34 determines that the mobile terminal 4B exists in the predetermined area, the lock side control unit 31 sets the state of the lock side operation unit 39 to accept the first operation (step S29). ). Thereafter, when the first operation is performed on the lock side operation unit 39 (step S30), the lock side control unit 31 controls the electric lock 1 by transmitting the lock signal Sig5 or the unlock signal Sig6 to the electric lock 1. Then, the opening / closing member 5 (see FIG. 7) is locked or unlocked in the electric lock 1 (step S31: see FIG. 5).

本変形例によれば、ユーザは、錠側操作部39への第一操作により、開閉部材5(図7参照)を施錠又は解錠することができる。   According to this modification, the user can lock or unlock the opening / closing member 5 (see FIG. 7) by the first operation on the lock side operation unit 39.

なお、錠側操作部39は、例えば、開閉部材5(図7参照)、開閉部材5の引手51(図7参照)又は開閉部材5の周囲に設けられた釦であってもよい。つまり、第一操作とは、釦である錠側操作部39への操作であってもよい。あるいは、錠側操作部39は、非接触でユーザを検知する人感センサであってもよい。つまり、操作には、ユーザが錠側操作部39に近づく行為が含まれ、第一操作とは、ユーザが錠側操作部39に近づく行為(操作)であってもよい。   The lock side operation unit 39 may be, for example, the opening / closing member 5 (see FIG. 7), the handle 51 (see FIG. 7) of the opening / closing member 5, or a button provided around the opening / closing member 5. That is, the first operation may be an operation on the lock side operation unit 39 that is a button. Alternatively, the lock side operation unit 39 may be a human sensor that detects the user in a non-contact manner. That is, the operation includes an action in which the user approaches the lock-side operation unit 39, and the first operation may be an action (operation) in which the user approaches the lock-side operation unit 39.

(実施形態1の変形例3)
次に、実施形態1の変形例3について説明する。基本構成は実施形態1の変形例1と同じなので、図3を参照して説明する。なお、実施形態1の変形例1と同様の構成については、同一の符号を付して説明を省略する。実施形態1の変形例1と同様の動作については、説明を省略する。図3では図示していないが、本変形例の電気錠制御装置3Aは、実施形態1の変形例2の錠側操作部39(図5参照)を更に有している。
(Modification 3 of Embodiment 1)
Next, a third modification of the first embodiment will be described. The basic configuration is the same as that of the first modification of the first embodiment, and will be described with reference to FIG. In addition, about the structure similar to the modification 1 of Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the first modification of the first embodiment is omitted. Although not illustrated in FIG. 3, the electric lock control device 3 </ b> A of the present modification further includes a lock side operation unit 39 (see FIG. 5) of the second modification of the first embodiment.

計測部33が計測した応答信号Sig2の受信強度に基づいて、所定のエリアに携帯端末4Aが存在すると判定部34Aが判定した場合は、鍵側通信部42は、錠側通信部32に所定の操作許可信号を送信する。所定のエリアに携帯端末4Aが存在しないと判定部34Aが判定した場合は、鍵側通信部42は、操作許可信号を送信しない。   If the determination unit 34A determines that the mobile terminal 4A is present in a predetermined area based on the reception strength of the response signal Sig2 measured by the measurement unit 33, the key side communication unit 42 transmits a predetermined value to the lock side communication unit 32. An operation permission signal is transmitted. When the determination unit 34A determines that the mobile terminal 4A does not exist in the predetermined area, the key side communication unit 42 does not transmit an operation permission signal.

錠側通信部32が操作許可信号を受信すると、錠側制御部31は、錠側操作部39の状態を、第一操作を受け付ける状態にする。その後、錠側操作部39に第一操作がされると、錠側制御部31は、電気錠1に施錠信号Sig5又は解錠信号Sig6を送信することにより、電気錠1を制御して電気錠1に開閉部材を施錠又は解錠させる。   When the lock-side communication unit 32 receives the operation permission signal, the lock-side control unit 31 changes the state of the lock-side operation unit 39 to a state for accepting the first operation. After that, when the first operation is performed on the lock side operation unit 39, the lock side control unit 31 controls the electric lock 1 by transmitting the lock signal Sig5 or the unlock signal Sig6 to the electric lock 1, thereby controlling the electric lock. 1, the opening / closing member is locked or unlocked.

本変形例によれば、電気錠制御装置3Aが判定部34を有しておらず、携帯端末4Aが判定部34Aを有している場合であっても、錠側制御部31は、錠側操作部39の状態を、第一操作を受け付ける状態にすることができる。   According to this modification, even if the electric lock control device 3A does not have the determination unit 34 and the mobile terminal 4A has the determination unit 34A, the lock side control unit 31 The state of the operation unit 39 can be changed to a state where the first operation is accepted.

(実施形態1のその他の変形例)
以下、実施形態1のその他の変形例を列挙する。以下の変形例は、適宜組み合わせて実現されてもよいし、上述の変形例1〜3と適宜組み合わせて実現されてもよい。
(Other variations of Embodiment 1)
Hereinafter, other modifications of the first embodiment will be listed. The following modifications may be realized in combination as appropriate, or may be realized in combination with the modifications 1 to 3 described above as appropriate.

電気錠制御装置3は、錠側操作部39を更に有していてもよい。所定のエリアに携帯端末4が存在すると判定部34が判定した場合に、錠側操作部39への第一操作により開閉部材を施錠又は解錠することと、鍵側操作部49への所定の操作(第二操作)により開閉部材を施錠又は解錠することと、の両方が可能になってもよい。   The electric lock control device 3 may further include a lock side operation unit 39. When the determination unit 34 determines that the mobile terminal 4 is present in a predetermined area, the first operation to the lock side operation unit 39 locks or unlocks the opening / closing member, and the key side operation unit 49 It may be possible to both lock and unlock the opening / closing member by an operation (second operation).

また、鍵側操作部49は、例えば、携帯端末4の釦であってもよい。つまり、所定の操作(第二操作)とは、釦である鍵側操作部49への操作であってもよい。   Moreover, the key side operation part 49 may be a button of the portable terminal 4, for example. That is, the predetermined operation (second operation) may be an operation to the key side operation unit 49 that is a button.

また、複数のアンテナANT1、ANT2のうち信号を送信又は受信するアンテナである使用アンテナを切替回路320で切り替えるのではなく、常に両方のアンテナを用いて信号を送信又は受信してもよい。すなわち、複数のアンテナANT1、ANT2をダイバーシティアンテナとして機能させるための方式は、複数のアンテナANT1、ANT2を切り替える方式(アンテナ選択方式)に限定されない。例えば、合成器、分配器及び、複数の信号の位相を一致させるための移相器などを用いて、等利得合成法(Equal Gain Combining)又は最大比合成法(Maximum Ratio Combining)でダイバーシティアンテナを構成してもよい。   In addition, the antenna to be used which transmits or receives signals among the plurality of antennas ANT1 and ANT2 is not switched by the switching circuit 320, but signals may always be transmitted or received using both antennas. That is, the method for causing the plurality of antennas ANT1 and ANT2 to function as diversity antennas is not limited to the method for switching the plurality of antennas ANT1 and ANT2 (antenna selection method). For example, using a combiner, a distributor, and a phase shifter for matching the phases of a plurality of signals, the diversity antenna is set by the equal gain combining method (Equal Gain Combining) or the maximum ratio combining method (Maximum Ratio Combining). It may be configured.

また、複数のアンテナANT1、ANT2にダイバーシティを適用する方式は、例えば、空間ダイバーシティ、偏波ダイバーシティ、角度ダイバーシティ、周波数ダイバーシティ又は時間ダイバーシティのいずれでもよいし、これらの方式を組み合わせて用いてもよい。   Moreover, the system for applying diversity to the plurality of antennas ANT1 and ANT2 may be, for example, any of space diversity, polarization diversity, angle diversity, frequency diversity, or time diversity, or a combination of these systems.

また、切替回路320は、リレー回路に限定されず、スイッチ又はマルチプレクサなどであってもよい。   The switching circuit 320 is not limited to a relay circuit, and may be a switch or a multiplexer.

また、アンテナの数は2つに限定されず、3つ以上であってもよい。   Further, the number of antennas is not limited to two and may be three or more.

また、錠側通信部32において、信号を送信するときと、信号を受信するときとで、異なるアンテナを用いてもよい。このとき、錠側通信部32は、ダイバーシティアンテナとして機能する複数のアンテナとは別のアンテナを更に備えていてもよい。ダイバーシティアンテナとして機能する複数のアンテナは、少なくとも計測信号(例えば、応答信号Sig2)を送信又は受信すればよい。   Moreover, in the lock | rock side communication part 32, when transmitting a signal, you may use a different antenna by the time of receiving a signal. At this time, the lock side communication unit 32 may further include an antenna different from the plurality of antennas functioning as a diversity antenna. A plurality of antennas functioning as diversity antennas may transmit or receive at least a measurement signal (for example, response signal Sig2).

また、電気錠制御装置3は、構成要素の一部が分散して設けられていてもよい。例えば、電気錠制御装置3は、認証部30、錠側制御部31、錠側通信部32及び計測部33を含む第一ユニットと、判定部34を含む第二ユニットとに分散されていてもよい。また、判定部34を含む第二ユニットは、電気通信回線を通じて第一ユニットと接続されるサーバなどのコンピュータに備えられていてもよい。   The electric lock control device 3 may be provided with some of the components dispersed. For example, the electric lock control device 3 may be distributed to a first unit including the authentication unit 30, the lock side control unit 31, the lock side communication unit 32, and the measurement unit 33, and a second unit including the determination unit 34. Good. The second unit including the determination unit 34 may be provided in a computer such as a server connected to the first unit through an electric communication line.

また、電気錠制御装置3が計測部33を有していてもよいし、携帯端末4が計測部33を有していてもよい。また、電気錠制御装置3と携帯端末4との各々が計測部33を有していてもよい。携帯端末4が計測部33を有しているとき、計測部33は、例えば、鍵側通信部42でのビーコン信号Sig1の受信強度を計測すればよい。あるいは、錠側通信部32が応答信号Sig2を受信したときに、錠側通信部32がビーコン信号Sig1とは別の所定の信号を送信するように構成し、計測部33は、鍵側通信部42での当該所定の信号の受信強度を計測してもよい。   Further, the electric lock control device 3 may have the measurement unit 33, and the mobile terminal 4 may have the measurement unit 33. In addition, each of the electric lock control device 3 and the mobile terminal 4 may have a measuring unit 33. When the portable terminal 4 includes the measurement unit 33, the measurement unit 33 may measure the reception intensity of the beacon signal Sig1 at the key side communication unit 42, for example. Alternatively, when the lock side communication unit 32 receives the response signal Sig2, the lock side communication unit 32 is configured to transmit a predetermined signal different from the beacon signal Sig1, and the measurement unit 33 includes the key side communication unit. The reception intensity of the predetermined signal at 42 may be measured.

また、電気錠制御装置3が判定部34を有していてもよいし、携帯端末4が判定部34を有していてもよい。また、電気錠制御装置3と携帯端末4との各々が判定部34を有していてもよい。   Further, the electric lock control device 3 may have the determination unit 34, and the mobile terminal 4 may have the determination unit 34. Further, each of the electric lock control device 3 and the portable terminal 4 may have a determination unit 34.

携帯端末4が有する計測部で計測信号(鍵側通信部42が受信したビーコン信号Sig1)の受信強度を計測し、携帯端末4が有する計測部が計測した計測信号の受信強度を示す信号を電気錠制御装置3に送信し、電気錠制御装置3が有する判定部34により、所定のエリアに携帯端末4が存在するか否かを判定してもよい。   The measurement strength of the measurement signal (beacon signal Sig1 received by the key side communication unit 42) is measured by the measurement unit of the portable terminal 4, and the signal indicating the reception strength of the measurement signal measured by the measurement unit of the portable terminal 4 is electrically You may determine whether the portable terminal 4 exists in a predetermined | prescribed area by the determination part 34 which transmits to the lock control apparatus 3, and the electric lock control apparatus 3 has.

また、電気錠制御装置3の計測部33で応答信号Sig2の受信強度を計測し、かつ、携帯端末4の計測部でビーコン信号Sig1の受信強度を計測してもよい。   Further, the reception strength of the response signal Sig2 may be measured by the measurement unit 33 of the electric lock control device 3, and the reception strength of the beacon signal Sig1 may be measured by the measurement unit of the portable terminal 4.

判定部34は、応答信号Sig2の受信強度とビーコン信号Sig1の受信強度との両方に基づいて、所定のエリアに携帯端末4が存在するか否かを判定してもよい。例えば、応答信号Sig2の受信強度がある一定の閾値以上であり、かつ、ビーコン信号Sig1の受信強度が所定の閾値以上であるときに、判定部34は、所定のエリアに携帯端末4が存在すると判断してもよい。   The determination unit 34 may determine whether or not the mobile terminal 4 exists in a predetermined area based on both the reception strength of the response signal Sig2 and the reception strength of the beacon signal Sig1. For example, when the reception intensity of the response signal Sig2 is equal to or greater than a certain threshold value and the reception intensity of the beacon signal Sig1 is equal to or greater than a predetermined threshold value, the determination unit 34 determines that the mobile terminal 4 exists in a predetermined area. You may judge.

また、認証部30は、識別情報及び鍵情報に基づいて携帯端末4の認証を行うのではなく、鍵情報のみに基づいて携帯端末4の認証を行ってもよい。   Further, the authentication unit 30 may authenticate the mobile terminal 4 based only on the key information instead of authenticating the mobile terminal 4 based on the identification information and the key information.

また、本実施形態では、錠側制御部31が複数のアンテナANT1、ANT2に給電するが、複数のアンテナANT1、ANT2に給電するための構成を錠側制御部31とは別に設けてもよい。   In the present embodiment, the lock-side control unit 31 supplies power to the plurality of antennas ANT1 and ANT2, but a configuration for supplying power to the plurality of antennas ANT1 and ANT2 may be provided separately from the lock-side control unit 31.

(実施形態1及び実施形態1の変形例のまとめ)
以上説明したように、本実施形態に係る電気錠制御システム2は、鍵装置(携帯端末4)と、電気錠制御装置3と、を備える。鍵装置は、無線通信を行う鍵側通信部42を有する。電気錠制御装置3は、鍵側通信部42と無線通信を行う錠側通信部32と、錠側制御部31と、を有する。錠側制御部31は、建物の開口部を開閉する開閉部材を電気錠1に施錠又は解錠させる。電気錠制御装置3と鍵装置とのうち少なくとも一方は、計測部33を有する。計測部33は、鍵側通信部42と錠側通信部32とのうち一方から送信され他方で受信される計測信号(例えば応答信号Sig2)の受信強度を計測する。電気錠制御システム2は、判定部34を更に備える。判定部34は、計測部33が計測した計測信号の受信強度に基づいて、予め決められた所定のエリアに鍵装置が存在するか否かを判定する。電気錠制御装置3と鍵装置とのうち少なくとも一方は、判定部34の判定結果によって異なる処理をする。錠側通信部32は、複数のアンテナANT1、ANT2を含む。複数のアンテナANT1、ANT2は、少なくとも計測信号を送信又は受信するダイバーシティアンテナとして機能する。
(Summary of Modifications of Embodiment 1 and Embodiment 1)
As described above, the electric lock control system 2 according to the present embodiment includes the key device (portable terminal 4) and the electric lock control device 3. The key device includes a key side communication unit 42 that performs wireless communication. The electric lock control device 3 includes a lock side communication unit 32 that performs wireless communication with the key side communication unit 42, and a lock side control unit 31. The lock side control unit 31 causes the electric lock 1 to lock or unlock the opening / closing member that opens and closes the opening of the building. At least one of the electric lock control device 3 and the key device has a measuring unit 33. The measuring unit 33 measures the reception intensity of a measurement signal (for example, the response signal Sig2) transmitted from one of the key side communication unit 42 and the lock side communication unit 32 and received by the other. The electric lock control system 2 further includes a determination unit 34. The determination unit 34 determines whether there is a key device in a predetermined area based on the reception intensity of the measurement signal measured by the measurement unit 33. At least one of the electric lock control device 3 and the key device performs different processing depending on the determination result of the determination unit 34. The lock side communication unit 32 includes a plurality of antennas ANT1 and ANT2. The plurality of antennas ANT1 and ANT2 function as diversity antennas that transmit or receive at least measurement signals.

上記の構成によれば、電気錠制御システム2において、計測部33は、錠側通信部32と鍵側通信部42とのうち一方から送信され他方で受信される計測信号(例えば、応答信号Sig2)の受信強度を計測する。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置(携帯端末4)が存在するか否かを判定する。ここで、錠側通信部32は、複数のアンテナANT1、ANT2を含み、複数のアンテナANT1、ANT2は、少なくとも計測信号を送信又は受信するダイバーシティアンテナとして機能する。錠側通信部32がアンテナを1つのみ含む場合と比較して、複数のアンテナANT1、ANT2が計測信号を送信する場合は計測信号の送信性能が安定し、複数のアンテナANT1、ANT2が計測信号を受信する場合は計測信号の受信性能が安定する。したがって、計測部33は、計測信号の受信強度をより精度良く計測できる。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置が存在するか否かをより精度良く判定できる。   According to the above configuration, in the electric lock control system 2, the measurement unit 33 is transmitted from one of the lock side communication unit 32 and the key side communication unit 42 and received by the other (for example, the response signal Sig2 ) Is measured. The determination unit 34 determines whether or not the key device (the portable terminal 4) is present in a predetermined area based on the reception intensity of the measurement signal. Here, the lock side communication unit 32 includes a plurality of antennas ANT1 and ANT2, and the plurality of antennas ANT1 and ANT2 function as a diversity antenna that transmits or receives at least measurement signals. Compared with the case where the lock side communication unit 32 includes only one antenna, when the plurality of antennas ANT1 and ANT2 transmit measurement signals, the transmission performance of the measurement signals is stabilized, and the plurality of antennas ANT1 and ANT2 measure signals. When receiving, measurement signal reception performance is stable. Therefore, the measurement unit 33 can measure the reception intensity of the measurement signal with higher accuracy. The determination unit 34 can more accurately determine whether or not a key device exists in a predetermined area based on the reception strength of the measurement signal.

また、本実施形態に係る電気錠制御システム2において、錠側通信部32は、複数のアンテナANT1、ANT2に電気的に接続される切替回路320を更に含むことが好ましい。切替回路320は、複数のアンテナANT1、ANT2のうち少なくとも計測信号(例えば、応答信号Sig2)を送信又は受信する1つのアンテナである使用アンテナを複数のアンテナANT1、ANT2のうち別のアンテナに切り替える。   In the electric lock control system 2 according to the present embodiment, it is preferable that the lock side communication unit 32 further includes a switching circuit 320 that is electrically connected to the plurality of antennas ANT1 and ANT2. The switching circuit 320 switches a used antenna, which is one antenna that transmits or receives at least a measurement signal (for example, the response signal Sig2) among the plurality of antennas ANT1 and ANT2, to another antenna among the plurality of antennas ANT1 and ANT2.

複数のアンテナANT1、ANT2を同時に用いて信号を送信及び受信する場合には、合成器、分配器及び、複数の信号の位相を一致させるための移相器などを用いる必要がある。これに対して、上記の構成では、切替回路320により使用アンテナを切り替えるので、合成器、分配器及び移相器などを用いなくてもよいという利点がある。これにより、合成器、分配器及び移相器などを用いる場合と比較して、例えば、合成器で信号を合成するための演算を省略することで、電気錠制御装置3での演算量を低減することができる。   When signals are transmitted and received using a plurality of antennas ANT1 and ANT2 at the same time, it is necessary to use a synthesizer, a distributor, a phase shifter for matching the phases of the plurality of signals, and the like. On the other hand, in the above configuration, since the antenna to be used is switched by the switching circuit 320, there is an advantage that it is not necessary to use a combiner, a distributor, a phase shifter, and the like. Thereby, compared with the case where a synthesizer, a divider, a phase shifter, etc. are used, for example, the calculation amount in the electric lock control device 3 is reduced by omitting the calculation for synthesizing the signal by the synthesizer. can do.

また、本実施形態に係る電気錠制御システム2において、電気錠制御装置3は、計測部33を有することが好ましい。   Moreover, in the electric lock control system 2 according to the present embodiment, the electric lock control device 3 preferably has a measuring unit 33.

仮に鍵装置(携帯端末4)のみが計測部を有しており、鍵装置の計測部で計測信号(例えば、ビーコン信号Sig1)の受信強度を計測すると、鍵装置ごとに計測精度が異なる場合には、鍵装置ごとに計測結果がばらついてしまう。これに対して、上記の構成によれば、電気錠制御装置3が計測部33を有するので、鍵装置のみが計測部を有しているときと比較して、計測信号(例えば、応答信号Sig2)の受信強度をより精度良く計測できる。   If only the key device (portable terminal 4) has a measuring unit, and the measurement strength of the measurement signal (for example, beacon signal Sig1) is measured by the measuring unit of the key device, the measurement accuracy differs for each key device. The measurement results vary for each key device. On the other hand, according to said structure, since the electric lock control apparatus 3 has the measurement part 33, compared with the time when only a key apparatus has a measurement part, it is a measurement signal (for example, response signal Sig2). ) Can be measured more accurately.

また、本実施形態に係る電気錠制御システム2において、電気錠制御装置3は、判定部34を有することが更に好ましい。所定のエリアに鍵装置(携帯端末4)が存在すると判定部34が判定した場合に、錠側通信部32は、鍵側通信部42にエリア信号Sig3を送信することが好ましい。所定のエリアに鍵装置が存在しないと判定部34が判定した場合に、錠側通信部32は、鍵側通信部42にエリア信号Sig3を送信しないことが好ましい。鍵装置は、指令制限部43を更に有することが好ましい。指令制限部43は、鍵側通信部42が錠側通信部32に指令信号Sig4を送信することを制限する。錠側通信部32は、指令信号Sig4を受信すると、電気錠1に開閉部材を施錠又は解錠させる。指令制限部43は、鍵側通信部42がエリア信号Sig3を受信したときに、鍵側通信部42の状態を、指令信号Sig4を送信できない状態から送信できる状態に切り替える。   In the electric lock control system 2 according to the present embodiment, the electric lock control device 3 further preferably includes a determination unit 34. When the determination unit 34 determines that the key device (the portable terminal 4) exists in the predetermined area, the lock side communication unit 32 preferably transmits the area signal Sig3 to the key side communication unit 42. When the determination unit 34 determines that there is no key device in the predetermined area, it is preferable that the lock side communication unit 32 does not transmit the area signal Sig3 to the key side communication unit 42. The key device preferably further includes a command restriction unit 43. The command restriction unit 43 restricts the key side communication unit 42 from transmitting the command signal Sig4 to the lock side communication unit 32. When receiving the command signal Sig4, the lock side communication unit 32 causes the electric lock 1 to lock or unlock the opening / closing member. When the key side communication unit 42 receives the area signal Sig3, the command restriction unit 43 switches the state of the key side communication unit 42 from a state where the command signal Sig4 cannot be transmitted to a state where it can be transmitted.

上記の構成によれば、電気錠制御装置3が判定部34を有するので、判定部34が鍵装置(携帯端末4)において判定を行わなくてもよい分、鍵装置の処理量を抑制でき、鍵装置での電力消費量を低減できる。また、所定のエリアに鍵装置が存在すると判定部34が判定した場合のみ、錠側通信部32は、鍵側通信部42にエリア信号Sig3を送信する。所定のエリアに鍵装置が存在しない場合には、錠側通信部32は、鍵側通信部42にエリア信号Sig3を送信しないので、鍵側通信部42での電力消費量を低減できる。   According to said structure, since the electric lock control apparatus 3 has the determination part 34, since the determination part 34 does not need to perform determination in a key apparatus (portable terminal 4), the processing amount of a key apparatus can be suppressed, Power consumption in the key device can be reduced. Further, only when the determination unit 34 determines that the key device is present in the predetermined area, the lock side communication unit 32 transmits the area signal Sig3 to the key side communication unit 42. When the key device does not exist in the predetermined area, the lock side communication unit 32 does not transmit the area signal Sig3 to the key side communication unit 42, so that the power consumption in the key side communication unit 42 can be reduced.

また、本実施形態に係る電気錠制御装置3は、電気錠制御システム2に用いられる。電気錠制御装置3は、錠側通信部32と、錠側制御部31と、を有する。   Moreover, the electric lock control device 3 according to the present embodiment is used in the electric lock control system 2. The electric lock control device 3 includes a lock side communication unit 32 and a lock side control unit 31.

上記の構成によれば、電気錠制御システム2において、計測部33は、錠側通信部32と鍵側通信部42とのうち一方から送信され他方で受信される計測信号(例えば、応答信号Sig2)の受信強度を計測する。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置(携帯端末4)が存在するか否かを判定する。ここで、錠側通信部32は、複数のアンテナANT1、ANT2を含み、複数のアンテナANT1、ANT2は、少なくとも計測信号を送信又は受信するダイバーシティアンテナとして機能する。錠側通信部32がアンテナを1つのみ含む場合と比較して、複数のアンテナANT1、ANT2が計測信号を送信する場合は計測信号の送信性能が安定し、複数のアンテナANT1、ANT2が計測信号を受信する場合は計測信号の受信性能が安定する。したがって、計測部33は、計測信号の受信強度をより精度良く計測できる。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置が存在するか否かをより精度良く判定できる。   According to the above configuration, in the electric lock control system 2, the measurement unit 33 is transmitted from one of the lock side communication unit 32 and the key side communication unit 42 and received by the other (for example, the response signal Sig2 ) Is measured. The determination unit 34 determines whether or not the key device (the portable terminal 4) is present in a predetermined area based on the reception intensity of the measurement signal. Here, the lock side communication unit 32 includes a plurality of antennas ANT1 and ANT2, and the plurality of antennas ANT1 and ANT2 function as a diversity antenna that transmits or receives at least measurement signals. Compared with the case where the lock side communication unit 32 includes only one antenna, when the plurality of antennas ANT1 and ANT2 transmit measurement signals, the transmission performance of the measurement signals is stabilized, and the plurality of antennas ANT1 and ANT2 measure signals. When receiving, measurement signal reception performance is stable. Therefore, the measurement unit 33 can measure the reception intensity of the measurement signal with higher accuracy. The determination unit 34 can more accurately determine whether or not a key device exists in a predetermined area based on the reception strength of the measurement signal.

また、本実施形態に係る鍵装置(携帯端末4)は、電気錠制御システム2に用いられる。鍵装置は、鍵側通信部42を有する。   The key device (portable terminal 4) according to the present embodiment is used in the electric lock control system 2. The key device has a key side communication unit 42.

上記の構成によれば、電気錠制御システム2において、計測部33は、錠側通信部32と鍵側通信部42とのうち一方から送信され他方で受信される計測信号(例えば、応答信号Sig2)の受信強度を計測する。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置(携帯端末4)が存在するか否かを判定する。ここで、錠側通信部32は、複数のアンテナANT1、ANT2を含み、複数のアンテナANT1、ANT2は、少なくとも計測信号を送信又は受信するダイバーシティアンテナとして機能する。錠側通信部32がアンテナを1つのみ含む場合と比較して、複数のアンテナANT1、ANT2が計測信号を送信する場合は計測信号の送信性能が安定し、複数のアンテナANT1、ANT2が計測信号を受信する場合は計測信号の受信性能が安定する。したがって、計測部33は、計測信号の受信強度をより精度良く計測できる。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置が存在するか否かをより精度良く判定できる。   According to the above configuration, in the electric lock control system 2, the measurement unit 33 is transmitted from one of the lock side communication unit 32 and the key side communication unit 42 and received by the other (for example, the response signal Sig2 ) Is measured. The determination unit 34 determines whether or not the key device (the portable terminal 4) is present in a predetermined area based on the reception intensity of the measurement signal. Here, the lock side communication unit 32 includes a plurality of antennas ANT1 and ANT2, and the plurality of antennas ANT1 and ANT2 function as a diversity antenna that transmits or receives at least measurement signals. Compared with the case where the lock side communication unit 32 includes only one antenna, when the plurality of antennas ANT1 and ANT2 transmit measurement signals, the transmission performance of the measurement signals is stabilized, and the plurality of antennas ANT1 and ANT2 measure signals. When receiving, measurement signal reception performance is stable. Therefore, the measurement unit 33 can measure the reception intensity of the measurement signal with higher accuracy. The determination unit 34 can more accurately determine whether or not a key device exists in a predetermined area based on the reception strength of the measurement signal.

また、本実施形態に係るプログラムは、携帯端末4を鍵装置として機能させるための制御処理を、携帯端末4のコンピュータに実行させる。   Further, the program according to the present embodiment causes the computer of the mobile terminal 4 to execute control processing for causing the mobile terminal 4 to function as a key device.

上記の構成によれば、鍵装置(携帯端末4)を用いる電気錠制御システム2において、計測部33は、錠側通信部32と鍵側通信部42とのうち一方から送信され他方で受信される計測信号(例えば、応答信号Sig2)の受信強度を計測する。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置(携帯端末4)が存在するか否かを判定する。ここで、錠側通信部32は、複数のアンテナANT1、ANT2を含み、複数のアンテナANT1、ANT2は、少なくとも計測信号を送信又は受信するダイバーシティアンテナとして機能する。錠側通信部32がアンテナを1つのみ含む場合と比較して、複数のアンテナANT1、ANT2が計測信号を送信する場合は計測信号の送信性能が安定し、複数のアンテナANT1、ANT2が計測信号を受信する場合は計測信号の受信性能が安定する。したがって、計測部33は、計測信号の受信強度をより精度良く計測できる。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置が存在するか否かをより精度良く判定できる。   According to said structure, in the electric lock control system 2 using a key apparatus (portable terminal 4), the measurement part 33 is transmitted from one among the lock side communication part 32 and the key side communication part 42, and is received by the other. The reception intensity of the measurement signal (for example, response signal Sig2) is measured. The determination unit 34 determines whether or not the key device (the portable terminal 4) is present in a predetermined area based on the reception intensity of the measurement signal. Here, the lock side communication unit 32 includes a plurality of antennas ANT1 and ANT2, and the plurality of antennas ANT1 and ANT2 function as a diversity antenna that transmits or receives at least measurement signals. Compared with the case where the lock side communication unit 32 includes only one antenna, when the plurality of antennas ANT1 and ANT2 transmit measurement signals, the transmission performance of the measurement signals is stabilized, and the plurality of antennas ANT1 and ANT2 measure signals. When receiving, measurement signal reception performance is stable. Therefore, the measurement unit 33 can measure the reception intensity of the measurement signal with higher accuracy. The determination unit 34 can more accurately determine whether or not a key device exists in a predetermined area based on the reception strength of the measurement signal.

また、本実施形態に係る電気錠システム20は、電気錠制御システム2と、電気錠1と、を備える。   The electric lock system 20 according to this embodiment includes an electric lock control system 2 and an electric lock 1.

上記の構成によれば、電気錠制御システム2において、計測部33は、錠側通信部32と鍵側通信部42とのうち一方から送信され他方で受信される計測信号(例えば、応答信号Sig2)の受信強度を計測する。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置(携帯端末4)が存在するか否かを判定する。ここで、錠側通信部32は、複数のアンテナANT1、ANT2を含み、複数のアンテナANT1、ANT2は、少なくとも計測信号を送信又は受信するダイバーシティアンテナとして機能する。錠側通信部32がアンテナを1つのみ含む場合と比較して、複数のアンテナANT1、ANT2が計測信号を送信する場合は計測信号の送信性能が安定し、複数のアンテナANT1、ANT2が計測信号を受信する場合は計測信号の受信性能が安定する。したがって、計測部33は、計測信号の受信強度をより精度良く計測できる。判定部34は、計測信号の受信強度に基づいて、所定のエリアに鍵装置が存在するか否かをより精度良く判定できる。   According to the above configuration, in the electric lock control system 2, the measurement unit 33 is transmitted from one of the lock side communication unit 32 and the key side communication unit 42 and received by the other (for example, the response signal Sig2 ) Is measured. The determination unit 34 determines whether or not the key device (the portable terminal 4) is present in a predetermined area based on the reception intensity of the measurement signal. Here, the lock side communication unit 32 includes a plurality of antennas ANT1 and ANT2, and the plurality of antennas ANT1 and ANT2 function as a diversity antenna that transmits or receives at least measurement signals. Compared with the case where the lock side communication unit 32 includes only one antenna, when the plurality of antennas ANT1 and ANT2 transmit measurement signals, the transmission performance of the measurement signals is stabilized, and the plurality of antennas ANT1 and ANT2 measure signals. When receiving, measurement signal reception performance is stable. Therefore, the measurement unit 33 can measure the reception intensity of the measurement signal with higher accuracy. The determination unit 34 can more accurately determine whether or not a key device exists in a predetermined area based on the reception strength of the measurement signal.

(実施形態2)
次に、実施形態2について、図1、7を参照して説明する。なお、実施形態1と同様の構成については、同一の符号を付して説明を省略する。実施形態1と同様の動作については、説明を省略する。図1では図示していないが、本実施形態の電気錠制御装置3は、実施形態1の変形例2の錠側操作部39(図5、7参照)を更に有している。
(Embodiment 2)
Next, Embodiment 2 will be described with reference to FIGS. In addition, about the structure similar to Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the first embodiment is omitted. Although not illustrated in FIG. 1, the electric lock control device 3 of the present embodiment further includes a lock side operation unit 39 (see FIGS. 5 and 7) of the second modification of the first embodiment.

図7に示すように、本実施形態では、携帯端末4が存在するか否かが判定部34で判定される所定のエリアは、複数(図示例では2つ)設けられている。すなわち、所定のエリアとして第一エリアAR1と、第二エリアAR2とが設けられている。   As shown in FIG. 7, in the present embodiment, a plurality of (two in the illustrated example) predetermined areas where the determination unit 34 determines whether or not the mobile terminal 4 exists is provided. That is, a first area AR1 and a second area AR2 are provided as predetermined areas.

第一エリアAR1及び第二エリアAR2は、建物の開口部50を開閉する開閉部材5(ドア)の周りのエリアである。開閉部材5には、錠側通信部32が取り付けられている。水平面に平行な面上で、第一エリアAR1及び第二エリアAR2は、長軸の一端が錠側通信部32に向かい合う楕円状である。水平面に平行な面上で、第二エリアAR2は、第一エリアAR1よりも広いエリアである。第二エリアの長軸方向の長さは、例えば数m程度である。水平面に平行な面上で、第一エリアAR1の中心C1から開閉部材5までの距離L1は、第二エリアAR2の中心C2から開閉部材5までの距離L2よりも小さい。第二エリアAR2は、第一エリアAR1の少なくとも一部を含む。本実施形態では、第二エリアAR2は、第一エリアAR1の全体を含む。   The first area AR1 and the second area AR2 are areas around the opening / closing member 5 (door) that opens and closes the opening 50 of the building. A lock side communication unit 32 is attached to the opening / closing member 5. On the plane parallel to the horizontal plane, the first area AR <b> 1 and the second area AR <b> 2 have an elliptical shape in which one end of the long axis faces the lock side communication unit 32. On the plane parallel to the horizontal plane, the second area AR2 is an area wider than the first area AR1. The length of the second area in the major axis direction is, for example, about several meters. On a plane parallel to the horizontal plane, the distance L1 from the center C1 of the first area AR1 to the opening / closing member 5 is smaller than the distance L2 from the center C2 of the second area AR2 to the opening / closing member 5. The second area AR2 includes at least a part of the first area AR1. In the present embodiment, the second area AR2 includes the entire first area AR1.

判定部34は、第一エリアAR1及び第二エリアAR2のうち、携帯端末4が存在するエリアを、計測部33が計測した応答信号Sig2の受信強度に基づいて判定する。より詳細には、判定部34は、応答信号Sig2の受信強度が第一の閾値以上であれば、携帯端末4が第一エリアAR1に存在すると判定する。また、判定部34は、応答信号Sig2の受信強度が第二の閾値以上であれば、携帯端末4が第二エリアAR2に存在すると判定する。第一の閾値は、第二の閾値よりも大きい値である。第一の閾値は、例えば−70dBmであり、第二の閾値は、例えば−100dBmである。   The determination unit 34 determines an area where the mobile terminal 4 is present among the first area AR1 and the second area AR2 based on the reception intensity of the response signal Sig2 measured by the measurement unit 33. More specifically, the determination unit 34 determines that the mobile terminal 4 is present in the first area AR1 if the reception intensity of the response signal Sig2 is equal to or greater than the first threshold value. Moreover, the determination part 34 will determine with the portable terminal 4 existing in 2nd area AR2, if the receiving strength of response signal Sig2 is more than a 2nd threshold value. The first threshold value is larger than the second threshold value. The first threshold value is, for example, −70 dBm, and the second threshold value is, for example, −100 dBm.

電気錠制御装置3及び携帯端末4のうち少なくとも一方は、第一エリアAR1に携帯端末4が存在すると判定部34で判定された場合と、第二エリアAR2に携帯端末4が存在すると判定部34で判定された場合とで、異なる処理をする。異なる処理とは、電気錠1に開閉部材5を施錠又は解錠させるための処理である。   At least one of the electric lock control device 3 and the mobile terminal 4 is determined by the determination unit 34 that the mobile terminal 4 exists in the first area AR1, and the determination unit 34 that the mobile terminal 4 exists in the second area AR2. Different processing is performed depending on whether or not it is determined in. The different processing is processing for locking or unlocking the opening / closing member 5 in the electric lock 1.

より詳細には、携帯端末4が第一エリアAR1に存在すると判定部34で判定された場合は、錠側操作部39に第一操作がされると、錠側制御部31は、電気錠1に開閉部材5を施錠又は解錠させる。第一操作については、実施形態1の変形例2で既に述べたので、説明を省略する。   More specifically, when the determination unit 34 determines that the mobile terminal 4 is present in the first area AR1, when the first operation is performed on the lock-side operation unit 39, the lock-side control unit 31 The opening / closing member 5 is locked or unlocked. Since the first operation has already been described in the second modification of the first embodiment, a description thereof will be omitted.

携帯端末4が第二エリアAR2に存在すると判定部34で判定された場合は、鍵側操作部49に第二操作がされると、錠側制御部31は、電気錠1に開閉部材5を施錠又は解錠させる。第二操作については、実施形態1で既に述べたので、説明を省略する。   When the determination unit 34 determines that the mobile terminal 4 is present in the second area AR2, when the key-side operation unit 49 is subjected to the second operation, the lock-side control unit 31 attaches the opening / closing member 5 to the electric lock 1. Lock or unlock. Since the second operation has already been described in the first embodiment, a description thereof will be omitted.

携帯端末4が第一エリアAR1と第二エリアAR2とに同時に存在すると判定部34で判定された場合は、錠側操作部39への第一操作と、鍵側操作部49への第二操作との少なくとも一方により、電気錠1が施錠又は解錠される。   When the determination unit 34 determines that the portable terminal 4 is present in the first area AR1 and the second area AR2 at the same time, the first operation on the lock side operation unit 39 and the second operation on the key side operation unit 49 are performed. The electric lock 1 is locked or unlocked by at least one of the above.

なお、判定部34は、計測部33が計測した応答信号Sig2の受信強度が計測部33の最小分解能以上であることをもって、携帯端末4が第二エリアAR2に存在すると判定することもできる。つまり、判定部34は、第二エリアAR2に携帯端末4が存在するか否かを判定するために、第二の閾値を用いなくてもよい。ただし、携帯端末4が第二エリアAR2に存在するとき、鍵側通信部42は、ビーコン信号Sig1を受信したり応答信号Sig2を送信したりすることで電力を消費する。したがって、第二エリアAR2を不必要に広くしないために、判定部34は、応答信号Sig2の受信強度が第二の閾値以上である場合にのみ、携帯端末4が第二エリアAR2に存在すると判定することが好ましい。   The determination unit 34 can also determine that the mobile terminal 4 exists in the second area AR2 when the reception intensity of the response signal Sig2 measured by the measurement unit 33 is equal to or higher than the minimum resolution of the measurement unit 33. That is, the determination unit 34 may not use the second threshold value in order to determine whether or not the mobile terminal 4 is present in the second area AR2. However, when the portable terminal 4 exists in the second area AR2, the key side communication unit 42 consumes power by receiving the beacon signal Sig1 or transmitting the response signal Sig2. Therefore, in order not to unnecessarily widen the second area AR2, the determination unit 34 determines that the mobile terminal 4 exists in the second area AR2 only when the reception strength of the response signal Sig2 is equal to or greater than the second threshold value. It is preferable to do.

また、所定のエリアの数は2つに限定されず、3つ以上であってもよい。   Further, the number of predetermined areas is not limited to two and may be three or more.

(実施形態2のまとめ)
以上説明したように、本実施形態に係る電気錠制御システム2において、判定部34は、各々が所定のエリアとして予め決められている第一エリアAR1及び第二エリアAR2のうち、鍵装置(携帯端末4)が存在するエリアを、計測部33が計測した計測信号(応答信号Sig2)の受信強度に基づいて判定する。第二エリアAR2は、第一エリアAR1よりも広く、第一エリアAR1の少なくとも一部を含む。鍵装置が第一エリアAR1又は第二エリアAR2に存在するとき、鍵側通信部42と錠側通信部32との間で無線通信可能である。電気錠制御装置3及び鍵装置のうち少なくとも一方は、第一エリアAR1に鍵装置が存在すると判定部34で判定された場合と、第二エリアAR2に鍵装置が存在すると判定部34で判定された場合とで、異なる処理をする。
(Summary of Embodiment 2)
As described above, in the electric lock control system 2 according to the present embodiment, the determination unit 34 includes the key device (portable cell phone) among the first area AR1 and the second area AR2 that are determined in advance as predetermined areas. The area where the terminal 4) exists is determined based on the reception intensity of the measurement signal (response signal Sig2) measured by the measurement unit 33. The second area AR2 is wider than the first area AR1 and includes at least a part of the first area AR1. When the key device exists in the first area AR1 or the second area AR2, wireless communication is possible between the key side communication unit 42 and the lock side communication unit 32. At least one of the electric lock control device 3 and the key device is determined by the determination unit 34 when the determination unit 34 determines that the key device exists in the first area AR1 and when the key device exists in the second area AR2. The process is different depending on the case.

上記の構成によれば、判定部34は、第一エリアAR1及び第二エリアAR2のうち鍵装置(携帯端末4)が存在するエリアを判定する。電気錠制御装置3及び鍵装置のうち少なくとも一方は、第一エリアAR1に鍵装置が存在すると判定部34で判定された場合と、第二エリアAR2に鍵装置が存在すると判定部34で判定された場合とで、異なる処理をする。したがって、電気錠制御装置3及び鍵装置は、第一エリアAR1に鍵装置が存在すると判定部34で判定された場合と第二エリアAR2に鍵装置が存在すると判定部34で判定された場合とで同じ処理をするときと比較して、より多様な処理を行うことができる。   According to said structure, the determination part 34 determines the area where a key apparatus (mobile terminal 4) exists among 1st area AR1 and 2nd area AR2. At least one of the electric lock control device 3 and the key device is determined by the determination unit 34 when the determination unit 34 determines that the key device exists in the first area AR1 and when the key device exists in the second area AR2. The process is different depending on the case. Therefore, in the electric lock control device 3 and the key device, the determination unit 34 determines that the key device exists in the first area AR1, and the case where the determination unit 34 determines that the key device exists in the second area AR2. Compared with the case where the same processing is performed at, more various processing can be performed.

また、本実施形態に係る電気錠制御システム2において、電気錠制御装置3は、錠側操作部39を更に有することが好ましい。錠側操作部39は、電気錠1に開閉部材5を施錠又は解錠させるための第一操作を受け付ける。鍵装置(携帯端末4)は、鍵側操作部49を更に有することが好ましい。鍵側操作部49は、電気錠1に開閉部材5を施錠又は解錠させるための第二操作を受け付ける。鍵装置が第一エリアAR1に存在すると判定部34で判定され、かつ、錠側操作部39に第一操作がされると、錠側制御部31は電気錠1に開閉部材5を施錠又は解錠させる。鍵装置が第一エリアAR1に存在せず第二エリアAR2に存在すると判定部34で判定され、かつ、鍵側操作部49に第二操作がされると、鍵側通信部42は電気錠制御装置3に指令信号Sig4を送信し、錠側通信部32は、指令信号Sig4を受信すると、電気錠1に開閉部材5を施錠又は解錠させる。   In the electric lock control system 2 according to the present embodiment, the electric lock control device 3 preferably further includes a lock side operation unit 39. The lock side operation unit 39 receives a first operation for causing the electric lock 1 to lock or unlock the opening / closing member 5. The key device (mobile terminal 4) preferably further includes a key side operation unit 49. The key-side operation unit 49 receives a second operation for causing the electric lock 1 to lock or unlock the opening / closing member 5. When the determination unit 34 determines that the key device exists in the first area AR1 and the first operation is performed on the lock side operation unit 39, the lock side control unit 31 locks or unlocks the opening / closing member 5 on the electric lock 1. Lock it. When the determination unit 34 determines that the key device does not exist in the first area AR1 but exists in the second area AR2, and the key side operation unit 49 performs a second operation, the key side communication unit 42 performs electric lock control. When the command signal Sig4 is transmitted to the device 3 and the lock side communication unit 32 receives the command signal Sig4, the lock-side communication unit 32 causes the electric lock 1 to lock or unlock the opening / closing member 5.

上記の構成によれば、鍵装置(携帯端末4)が第一エリアAR1に存在するときは、電気錠制御装置3が有する錠側操作部39への第一操作で電気錠1に開閉部材5を施錠又は解錠させることができる。したがって、ユーザは開閉部材5を施錠又は解錠する際に鍵装置を手に取る必要がなく、利便性が向上する。一方で、鍵装置が第一エリアAR1に存在せず、第一エリアAR1よりも広い第二エリアAR2に存在するときは、鍵装置が有する鍵側操作部49への第二操作で電気錠1に開閉部材5を施錠又は解錠させることができる。したがって、鍵装置が開閉部材5から離れていても開閉部材5を施錠又は解錠させることができ、利便性が向上する。   According to said structure, when the key apparatus (portable terminal 4) exists in 1st area AR1, the opening / closing member 5 is set to the electric lock 1 by the 1st operation to the lock side operation part 39 which the electric lock control apparatus 3 has. Can be locked or unlocked. Therefore, the user does not need to pick up the key device when locking or unlocking the opening / closing member 5, and convenience is improved. On the other hand, when the key device does not exist in the first area AR1 and exists in the second area AR2 wider than the first area AR1, the electric lock 1 is obtained by the second operation to the key side operation unit 49 of the key device. The opening / closing member 5 can be locked or unlocked. Therefore, even if the key device is separated from the opening / closing member 5, the opening / closing member 5 can be locked or unlocked, and convenience is improved.

(実施形態3)
次に、実施形態3について、図8、9を参照して説明する。なお、実施形態1の変形例2と同様の構成については、同一の符号を付して説明を省略する。実施形態1の変形例2と同様の動作については、説明を省略する。
(Embodiment 3)
Next, Embodiment 3 will be described with reference to FIGS. In addition, about the structure similar to the modification 2 of Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the second modification of the first embodiment is omitted.

図8に示すように、本実施形態の電気錠システム20C及び電気錠制御システム2Cは、携帯端末4Cが期間制限部44を更に有する点で、実施形態1の変形例2の電気錠システム20B及び電気錠制御システム2Bとは異なる。期間制限部44は、鍵側通信部42が錠側通信部32に応答信号Sig2を送信してよい期間を、応答周期T2ごとに訪れる応答期間P2に制限する。   As shown in FIG. 8, the electric lock system 20 </ b> C and the electric lock control system 2 </ b> C of the present embodiment are different from the electric lock system 20 </ b> B of the second modification of the first embodiment in that the portable terminal 4 </ b> C further includes a period limiting unit 44. Different from the electric lock control system 2B. The period limiting unit 44 limits the period during which the key side communication unit 42 may transmit the response signal Sig2 to the lock side communication unit 32 to the response period P2 that is visited every response cycle T2.

図9に示すように、シーケンスの最初の時点では、錠側通信部32の使用アンテナは、アンテナANT1となっている(ステップS32)。使用アンテナは、切替回路320により、一定の切替周期T1でアンテナANT1とアンテナANT2とに交互に切り替えられる(ステップS33、S34)。切替周期T1は、例えば、数十〜数百ミリ秒である。   As shown in FIG. 9, at the initial point of the sequence, the antenna used by the lock side communication unit 32 is the antenna ANT1 (step S32). The used antenna is alternately switched between the antenna ANT1 and the antenna ANT2 by the switching circuit 320 at a constant switching cycle T1 (steps S33 and S34). The switching period T1 is, for example, tens to hundreds of milliseconds.

錠側通信部32は、錠側制御部31からの指令に従って、ビーコン信号Sig1を間欠的に(例えば1秒間隔で)送信する(ステップS35)。鍵側通信部42が応答期間P2にビーコン信号Sig1を受信すると(ステップS36)、鍵側通信部42は、鍵側制御部41からの指令に従って、応答信号Sig2を送信する(ステップS37)。応答期間P2の値は、例えば、携帯端末4Cのメモリに予め記憶されている。鍵側通信部42は、応答期間P2以外の期間に錠側通信部32へ応答信号Sig2を送信しないように、期間制限部44により制御されている。   The lock side communication unit 32 transmits the beacon signal Sig1 intermittently (for example, at intervals of 1 second) in accordance with a command from the lock side control unit 31 (step S35). When the key side communication unit 42 receives the beacon signal Sig1 during the response period P2 (step S36), the key side communication unit 42 transmits the response signal Sig2 in accordance with a command from the key side control unit 41 (step S37). The value of the response period P2 is stored in advance in the memory of the mobile terminal 4C, for example. The key side communication unit 42 is controlled by the period limiting unit 44 so as not to transmit the response signal Sig2 to the lock side communication unit 32 during a period other than the response period P2.

錠側通信部32が鍵側通信部42からの応答信号Sig2を受信すると、認証部30は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、携帯端末4Cを認証する。認証部30が携帯端末4Cを正当と判断すると(ステップS38)、錠側制御部31は、錠側通信部32がビーコン信号Sig1を送信する周期を変更する。例えば、錠側制御部31は、錠側通信部32がビーコン信号Sig1を送信する周期を、1秒から変更して切替周期T1以下の値(例えば20ミリ秒)にする。   When the lock side communication unit 32 receives the response signal Sig2 from the key side communication unit 42, the authentication unit 30 authenticates the portable terminal 4C based on the identification information and the key information included in the response signal Sig2. When the authentication unit 30 determines that the mobile terminal 4C is valid (step S38), the lock side control unit 31 changes the cycle in which the lock side communication unit 32 transmits the beacon signal Sig1. For example, the lock side control unit 31 changes the cycle in which the lock side communication unit 32 transmits the beacon signal Sig1 from 1 second to a value (for example, 20 milliseconds) that is equal to or less than the switching cycle T1.

認証部30が携帯端末4Cを認証し正当と判断すると、計測部33は、応答信号Sig2(計測信号)の錠側通信部32での受信強度を計測する(ステップS39)。さらに、判定部34は、計測部33が計測した応答信号Sig2の受信強度に基づいて、所定のエリアに携帯端末4Cが存在するか否かを判定する。所定のエリアに携帯端末4Cが存在しないと判定部34が判定した場合(ステップS40)は、錠側制御部31は、錠側操作部39の状態を、第一操作を受け付ける状態にしない。   When the authentication unit 30 authenticates the portable terminal 4C and determines that it is valid, the measurement unit 33 measures the reception strength of the response signal Sig2 (measurement signal) at the lock side communication unit 32 (step S39). Further, the determination unit 34 determines whether or not the mobile terminal 4C exists in a predetermined area based on the reception intensity of the response signal Sig2 measured by the measurement unit 33. When the determination unit 34 determines that the mobile terminal 4C does not exist in the predetermined area (step S40), the lock side control unit 31 does not set the state of the lock side operation unit 39 to accept the first operation.

ステップS32で使用アンテナがアンテナANT1に切り替えられてから、切替周期T1が経過すると、使用アンテナがアンテナANT2に切り替えられる(ステップS33)。使用アンテナがアンテナANT2に切り替えられてからも、錠側通信部32は、ビーコン信号Sig1を間欠的に送信し続ける(ステップS41)。鍵側通信部42が応答期間P2にビーコン信号Sig1を受信すると(ステップS42)、鍵側通信部42は、鍵側制御部41からの指令に従って、応答信号Sig2を送信する(ステップS43)。   When the switching period T1 elapses after the used antenna is switched to the antenna ANT1 in step S32, the used antenna is switched to the antenna ANT2 (step S33). Even after the used antenna is switched to the antenna ANT2, the lock side communication unit 32 continues to transmit the beacon signal Sig1 intermittently (step S41). When the key side communication unit 42 receives the beacon signal Sig1 during the response period P2 (step S42), the key side communication unit 42 transmits the response signal Sig2 in accordance with a command from the key side control unit 41 (step S43).

認証部30は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、携帯端末4Cを認証する。認証部30が携帯端末4Cを正当と判断すると(ステップS44)、計測部33は、応答信号Sig2の錠側通信部32での受信強度を計測する(ステップS45)。計測部33が計測した応答信号Sig2の受信強度に基づいて、所定のエリアに携帯端末4Cが存在すると判定部34が判定した場合(ステップS46)は、錠側操作部39の状態を、第一操作を受け付ける状態にする(ステップS47)。なお、図7の動作例では、ステップS46とステップS47との間のタイミングで、使用アンテナがアンテナANT1に切り替わるが(ステップS34)、もちろん、使用アンテナがステップS46とステップS47との間のタイミングで切り替わることは必須ではない。   The authentication unit 30 authenticates the mobile terminal 4C based on the identification information and key information included in the response signal Sig2. When the authentication unit 30 determines that the portable terminal 4C is valid (step S44), the measurement unit 33 measures the reception strength of the response signal Sig2 at the lock side communication unit 32 (step S45). When the determination unit 34 determines that the mobile terminal 4C is present in a predetermined area based on the reception strength of the response signal Sig2 measured by the measurement unit 33 (step S46), the state of the lock side operation unit 39 is changed to the first state. An operation is accepted (step S47). In the operation example of FIG. 7, the antenna used is switched to the antenna ANT1 at the timing between step S46 and step S47 (step S34). Of course, the antenna used is at the timing between step S46 and step S47. It is not essential to switch.

ステップS47の後、錠側操作部39に第一操作がされると(ステップS48)、錠側制御部31は、電気錠1に施錠信号Sig5又は解錠信号Sig6を送信することにより、電気錠1を制御して電気錠1に開閉部材を施錠又は解錠させる(ステップS49:図8参照)。   When the first operation is performed on the lock side operation unit 39 after step S47 (step S48), the lock side control unit 31 transmits the lock signal Sig5 or the unlock signal Sig6 to the electric lock 1 to thereby 1 is controlled so that the electric lock 1 is locked or unlocked (step S49: see FIG. 8).

ここで、応答期間P2は応答周期T2ごとに訪れ、応答周期T2は、使用アンテナの切替周期T1以下である。したがって、鍵側通信部42でビーコン信号Sig1を受信できる位置に携帯端末4Cがあるとき、鍵側通信部42は、切替周期T1の間に少なくとも1度は、錠側通信部32に応答信号Sig2を送信する。これにより、錠側通信部32は、使用アンテナがアンテナANT2からアンテナANT1に切り替わってからアンテナANT2に切り替わるまでの間(ステップS32からステップS33までの間)に、少なくとも1回は応答信号Sig2を受信することができる。また、錠側通信部32は、使用アンテナがアンテナANT1からアンテナANT2に切り替わってからアンテナANT2に切り替わるまでの間(ステップS33からステップS34までの間)に、少なくとも1回は応答信号Sig2を受信することができる。したがって、ステップS32からステップS34までの間に、アンテナANT1、ANT2の両方が応答信号Sig2を受信することができる。すなわち、複数のアンテナANT1、ANT2をダイバーシティアンテナとしてより確実に機能させることができる。   Here, the response period P2 is visited every response cycle T2, and the response cycle T2 is equal to or shorter than the switching cycle T1 of the antenna used. Therefore, when the mobile terminal 4C is in a position where the key side communication unit 42 can receive the beacon signal Sig1, the key side communication unit 42 sends a response signal Sig2 to the lock side communication unit 32 at least once during the switching period T1. Send. Thereby, the lock side communication unit 32 receives the response signal Sig2 at least once during the period from when the antenna used is switched from the antenna ANT2 to the antenna ANT1 until it is switched to the antenna ANT2 (from step S32 to step S33). can do. The lock side communication unit 32 receives the response signal Sig2 at least once during the period from when the antenna used is switched from the antenna ANT1 to the antenna ANT2 until the antenna is switched to the antenna ANT2 (from step S33 to step S34). be able to. Therefore, both of the antennas ANT1 and ANT2 can receive the response signal Sig2 from step S32 to step S34. That is, the plurality of antennas ANT1 and ANT2 can be made to function more reliably as diversity antennas.

応答周期T2は例えば、切替周期T1に等しい。応答期間P2は、応答周期T2よりも短い期間である。応答期間P2は例えば、電気錠制御装置3Cに登録された携帯端末4Cの数で応答周期T2を除した長さである。   The response cycle T2 is equal to the switching cycle T1, for example. The response period P2 is a period shorter than the response period T2. The response period P2 is, for example, a length obtained by dividing the response cycle T2 by the number of portable terminals 4C registered in the electric lock control device 3C.

(実施形態3のまとめ)
以上説明したように、本実施形態に係る電気錠制御システム2Cにおいて、錠側通信部32は、ビーコン信号Sig1を送信する。鍵側通信部42は、ビーコン信号Sig1を受信すると錠側通信部32に応答信号Sig2を送信する。鍵装置(携帯端末4C)は、鍵側通信部42が錠側通信部32に応答信号Sig2を送信してよい期間を、応答周期T2ごとに訪れる応答期間P2に制限する期間制限部44を更に有する。切替回路320は、一定の切替周期T1で使用アンテナを複数のアンテナANT1、ANT2のうち別のアンテナに切り替える。応答周期T2は切替周期T1以下である。
(Summary of Embodiment 3)
As described above, in the electric lock control system 2C according to the present embodiment, the lock side communication unit 32 transmits the beacon signal Sig1. When receiving the beacon signal Sig1, the key side communication unit 42 transmits a response signal Sig2 to the lock side communication unit 32. The key device (portable terminal 4C) further includes a period limiting unit 44 that limits a period during which the key side communication unit 42 may transmit the response signal Sig2 to the lock side communication unit 32 to a response period P2 that is visited every response cycle T2. Have. The switching circuit 320 switches the antenna to be used to another antenna among the plurality of antennas ANT1 and ANT2 at a constant switching cycle T1. The response cycle T2 is not more than the switching cycle T1.

上記の構成によれば、鍵側通信部42が応答信号Sig2を送信してよい応答期間P2が訪れる応答周期T2は、使用アンテナの切替周期T1以下である。したがって、鍵側通信部42でビーコン信号Sig1を受信できる位置に鍵装置(携帯端末4C)があるとき、鍵側通信部42は、切替周期T1の間に少なくとも1度は、錠側通信部32に応答信号Sig2を送信する。これにより、錠側通信部32は、ある時点で使用アンテナであるアンテナと、その後に使用アンテナとなる1又は複数のアンテナとを、時分割で確実に使用アンテナとして用いて、鍵側通信部42からの応答信号Sig2を受信することができる。   According to said structure, the response period T2 in which the response period P2 in which the key side communication part 42 may transmit the response signal Sig2 visits is below the use antenna switching period T1. Therefore, when the key device (portable terminal 4C) is in a position where the key side communication unit 42 can receive the beacon signal Sig1, the key side communication unit 42 at least once during the switching period T1 is the lock side communication unit 32. The response signal Sig2 is transmitted. Thereby, the lock side communication unit 32 uses the antenna that is the antenna used at a certain point in time and the one or more antennas that become the antenna used thereafter as the use antennas in a time-sharing manner, so that the key side communication unit 42 Can receive the response signal Sig2.

(実施形態4)
次に、実施形態4について、図8、10を参照して説明する。なお、実施形態1の変形例2と同様の構成については、同一の符号を付して説明を省略する。実施形態1の変形例2と同様の動作については、説明を省略する。
(Embodiment 4)
Next, Embodiment 4 will be described with reference to FIGS. In addition, about the structure similar to the modification 2 of Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the second modification of the first embodiment is omitted.

電気錠制御システム2Cは、携帯端末4Cを複数(本実施形態では2つ)備えている(図10参照)。以下の説明では、2つの携帯端末4Cを区別する際には、一方の携帯端末4Cを第一の携帯端末4Cと称し、他方の携帯端末4Cを第二の携帯端末4Cと称する。錠側制御部31は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、複数の携帯端末4Cの認証を行う。識別情報は、携帯端末4Cごとに固有の情報である。これにより、電気錠制御装置3Cは、複数の携帯端末4Cと個別に通信することができる。   The electric lock control system 2C includes a plurality of portable terminals 4C (two in this embodiment) (see FIG. 10). In the following description, when distinguishing the two mobile terminals 4C, one mobile terminal 4C is referred to as a first mobile terminal 4C, and the other mobile terminal 4C is referred to as a second mobile terminal 4C. The lock control unit 31 authenticates the plurality of portable terminals 4C based on the identification information and key information included in the response signal Sig2. The identification information is information unique to each portable terminal 4C. Thereby, the electric lock control device 3C can communicate with the plurality of portable terminals 4C individually.

図8に示すように、本実施形態の電気錠システム20C及び電気錠制御システム2Cは、各携帯端末4Cが期間制限部44を更に有する点で、実施形態1の変形例2とは異なる。第一の携帯端末4Cの期間制限部44は、鍵側通信部42が錠側通信部32に応答信号Sig2を送信してよい期間を、応答周期T4ごとに訪れる応答期間P4に制限する。第二の携帯端末4Cの期間制限部44は、鍵側通信部42が錠側通信部32に応答信号Sig2を送信してよい期間を、応答周期T5ごとに訪れる応答期間P5に制限する。   As shown in FIG. 8, the electric lock system 20 </ b> C and the electric lock control system 2 </ b> C of the present embodiment are different from the second modification of the first embodiment in that each portable terminal 4 </ b> C further includes a period limiting unit 44. The period limiting unit 44 of the first portable terminal 4C limits the period during which the key side communication unit 42 may transmit the response signal Sig2 to the lock side communication unit 32 to the response period P4 that visits every response period T4. The period limiting unit 44 of the second portable terminal 4C limits a period during which the key side communication unit 42 may transmit the response signal Sig2 to the lock side communication unit 32 to a response period P5 that is visited every response cycle T5.

また、図10に示すように、錠側通信部32は、第一の携帯端末4Cから応答信号Sig2を受信すると、錠側制御部31からの指令に従って、返答信号Sig8を送信する。第一の携帯端末4Cの期間制限部44は、鍵側通信部42が応答信号Sig2を送信してから所定の時間t4以内に鍵側通信部42が返答信号Sig8を受信しなかった場合に、応答周期T4を変更する。錠側通信部32は、第二の携帯端末4Cから応答信号Sig2を受信すると、錠側制御部31からの指令に従って、返答信号Sig9を送信する。第二の携帯端末4Cの期間制限部44は、鍵側通信部42が応答信号Sig2を送信してから所定の時間t5以内に鍵側通信部42が返答信号Sig9を受信しなかった場合に、応答周期T5を変更する。以下、より詳細に説明する。   Also, as shown in FIG. 10, when receiving the response signal Sig2 from the first portable terminal 4C, the lock side communication unit 32 transmits a response signal Sig8 in accordance with a command from the lock side control unit 31. When the key side communication unit 42 does not receive the response signal Sig8 within a predetermined time t4 after the key side communication unit 42 transmits the response signal Sig2, the period limiting unit 44 of the first portable terminal 4C The response cycle T4 is changed. When receiving the response signal Sig <b> 2 from the second portable terminal 4 </ b> C, the lock side communication unit 32 transmits a response signal Sig <b> 9 in accordance with a command from the lock side control unit 31. When the key side communication unit 42 does not receive the response signal Sig9 within a predetermined time t5 after the key side communication unit 42 transmits the response signal Sig2, the period limiting unit 44 of the second portable terminal 4C The response cycle T5 is changed. This will be described in more detail below.

錠側通信部32は、錠側制御部31からの指令に従って、ビーコン信号Sig1を間欠的に(例えば1秒間隔で)送信する(ステップS50)。各携帯端末4Cは、鍵側通信部42でビーコン信号Sig1を受信する。各携帯端末4Cにおいて、鍵側通信部42は、応答期間にビーコン信号Sig1を受信すると(ステップS51、S52)、鍵側制御部41からの指令に従って、応答信号Sig2を送信する(ステップS53、S54)。応答期間は、第一の携帯端末4CではP4、第二の携帯端末4CではP5である。応答期間P4、P5は、例えば、各携帯端末4Cのメモリに予め記憶されている。鍵側通信部42は、応答期間P4(又はP5)以外の期間に錠側通信部32へ応答信号Sig2を送信しないように、期間制限部44により制御されている。   The lock side communication unit 32 transmits the beacon signal Sig1 intermittently (for example, at intervals of 1 second) in accordance with a command from the lock side control unit 31 (step S50). Each mobile terminal 4 </ b> C receives the beacon signal Sig <b> 1 by the key side communication unit 42. In each portable terminal 4C, when receiving the beacon signal Sig1 during the response period (steps S51 and S52), the key side communication unit 42 transmits the response signal Sig2 in accordance with a command from the key side control unit 41 (steps S53 and S54). ). The response period is P4 for the first portable terminal 4C and P5 for the second portable terminal 4C. The response periods P4 and P5 are stored in advance in the memory of each mobile terminal 4C, for example. The key side communication unit 42 is controlled by the period limiting unit 44 so as not to transmit the response signal Sig2 to the lock side communication unit 32 during a period other than the response period P4 (or P5).

錠側通信部32は、応答信号Sig2を受信すると、返答信号Sig8(又はSig9)を送信する(ステップS68、S69参照)。より詳細には、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、認証部30が第一の携帯端末4Cを認証し正当と判断すると、錠側通信部32は、第一の携帯端末4Cの識別情報を含む返答信号Sig8を第一の携帯端末4Cに送信する。また、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、認証部30が第二の携帯端末4Cを認証し正当と判断すると、錠側通信部32は、第二の携帯端末4Cの識別情報を含む返答信号Sig9を第二の携帯端末4Cに送信する。   When receiving the response signal Sig2, the lock side communication unit 32 transmits a response signal Sig8 (or Sig9) (see steps S68 and S69). More specifically, when the authentication unit 30 authenticates the first portable terminal 4C and determines that the first portable terminal 4C is valid based on the identification information and key information included in the response signal Sig2, the lock side communication unit 32 A response signal Sig8 including 4C identification information is transmitted to the first portable terminal 4C. When the authentication unit 30 authenticates the second portable terminal 4C and determines that the second portable terminal 4C is valid based on the identification information and key information included in the response signal Sig2, the lock side communication unit 32 identifies the second portable terminal 4C. A response signal Sig9 including information is transmitted to the second portable terminal 4C.

このように、錠側通信部32は、2つの携帯端末4Cのうち一方から応答信号Sig2を受信すると、当該携帯端末4Cの識別情報を含む返答信号Sig8(又はSig9)を鍵側通信部42に送信する。   As described above, when receiving the response signal Sig2 from one of the two portable terminals 4C, the lock side communication unit 32 sends the response signal Sig8 (or Sig9) including the identification information of the portable terminal 4C to the key side communication unit 42. Send.

錠側通信部32は、2つの携帯端末4Cからの応答信号Sig2を受信するタイミングが同時である又は互いに近いタイミングであると、応答信号Sig2の受信に失敗する場合がある(ステップS55)。錠側通信部32は、第一の携帯端末4Cからの応答信号Sig2の受信に失敗すると、返答信号Sig8を送信しない(ステップS56)。また、錠側通信部32は、第二の携帯端末4Cからの応答信号Sig2の受信に失敗すると、返答信号Sig9を送信しない(ステップS57)。   If the timing of receiving the response signal Sig2 from the two portable terminals 4C is the same time or close to each other, the lock side communication unit 32 may fail to receive the response signal Sig2 (step S55). If the lock side communication unit 32 fails to receive the response signal Sig2 from the first portable terminal 4C, the lock side communication unit 32 does not transmit the response signal Sig8 (step S56). Further, if the lock side communication unit 32 fails to receive the response signal Sig2 from the second portable terminal 4C, the lock side communication unit 32 does not transmit the response signal Sig9 (step S57).

第一の携帯端末4Cでは、鍵側通信部42が応答信号Sig2を送信してから所定の時間t4以内に鍵側通信部42が返答信号Sig8を受信しなかった場合に、期間制限部44は、応答周期T4を応答周期Tc4に変更する(ステップS58)。所定の時間t4は、例えば、応答期間P4に等しい。   In the first portable terminal 4C, when the key side communication unit 42 does not receive the response signal Sig8 within a predetermined time t4 after the key side communication unit 42 transmits the response signal Sig2, the period limiting unit 44 The response cycle T4 is changed to the response cycle Tc4 (step S58). The predetermined time t4 is equal to the response period P4, for example.

第二の携帯端末4Cでは、鍵側通信部42が応答信号Sig2を送信してから所定の時間t5以内に鍵側通信部42が返答信号Sig9を受信しなかった場合に、期間制限部44は、応答周期T5を応答周期Tc5に変更する(ステップS59)。所定の時間t5は、例えば、応答期間P5に等しい。   In the second portable terminal 4C, when the key side communication unit 42 does not receive the response signal Sig9 within a predetermined time t5 after the key side communication unit 42 transmits the response signal Sig2, the period limiting unit 44 The response cycle T5 is changed to the response cycle Tc5 (step S59). The predetermined time t5 is equal to the response period P5, for example.

変更前の応答周期から変更後の応答周期を引いた値は、複数の携帯端末4Cの各々で異なる。第一の携帯端末4Cでは、変更前の応答周期T4から変更後の応答周期Tc4を引いた値ΔT4は、例えば−10ミリ秒である。第二の携帯端末4Cでは、変更前の応答周期T5から変更後の応答周期Tc5を引いた値ΔT5は、例えば+20ミリ秒である。   The value obtained by subtracting the response period after the change from the response period before the change is different for each of the plurality of portable terminals 4C. In the first portable terminal 4C, a value ΔT4 obtained by subtracting the response period Tc4 after the change from the response period T4 before the change is −10 milliseconds, for example. In the second portable terminal 4C, a value ΔT5 obtained by subtracting the response period Tc5 after the change from the response period T5 before the change is, for example, +20 milliseconds.

値ΔT4(又はΔT5)は、携帯端末4Cが電気錠制御装置3Cに登録される際に、携帯端末4Cごとに異なる値が電気錠制御装置3Cにより決定され、携帯端末4Cのメモリに記憶される。なお、値ΔT4(又はΔT5)は、例えば、携帯端末4Cの処理によりランダムに決定されてもよい。   The value ΔT4 (or ΔT5) is determined by the electric lock control device 3C when the mobile terminal 4C is registered in the electric lock control device 3C, and is stored in the memory of the mobile terminal 4C. . Note that the value ΔT4 (or ΔT5) may be determined randomly by, for example, the processing of the mobile terminal 4C.

第一の携帯端末4Cでは、変更後の応答周期Tc4ごとに応答期間P4が訪れる。鍵側通信部42は、応答期間P4にビーコン信号Sig1を受信する(ステップS60)と、錠側通信部32に応答信号Sig2を送信する(ステップS61)。鍵側通信部42は、応答期間P4以外の期間にビーコン信号Sig1を受信しても(ステップS62)、応答信号Sig2を送信しない。   In the first portable terminal 4C, the response period P4 is visited every changed response cycle Tc4. When the key side communication unit 42 receives the beacon signal Sig1 during the response period P4 (step S60), the key side communication unit 42 transmits the response signal Sig2 to the lock side communication unit 32 (step S61). Even if the key side communication unit 42 receives the beacon signal Sig1 during a period other than the response period P4 (step S62), the key side communication unit 42 does not transmit the response signal Sig2.

第二の携帯端末4Cでは、変更後の応答周期Tc5ごとに応答期間P5が訪れる。鍵側通信部42は、応答期間P5にビーコン信号Sig1を受信する(ステップS64)と、錠側通信部32に応答信号Sig2を送信する(ステップS65)。鍵側通信部42は、応答期間P5以外の期間にビーコン信号Sig1を受信しても(ステップS63)、応答信号Sig2を送信しない。   In the second portable terminal 4C, the response period P5 is visited every changed response cycle Tc5. When the key side communication unit 42 receives the beacon signal Sig1 during the response period P5 (step S64), the key side communication unit 42 transmits the response signal Sig2 to the lock side communication unit 32 (step S65). Even if the key side communication unit 42 receives the beacon signal Sig1 during a period other than the response period P5 (step S63), the key side communication unit 42 does not transmit the response signal Sig2.

応答周期T4、T5が応答周期Tc4、Tc5へ変更されたことにより、錠側通信部32が2つの携帯端末4Cからの応答信号Sig2を受信するタイミングは、携帯端末4Cごとに異なっている。したがって、錠側通信部32は、2つの携帯端末4Cからの応答信号Sig2の受信に成功し、認証部30は、携帯端末4Cを認証する(ステップS66、S67)。認証部30が第一の携帯端末4Cを正当と判断すると、錠側通信部32は第一の携帯端末4Cに返答信号Sig8を送信し(ステップS68)、計測部33は、応答信号Sig2の受信強度を計測する(ステップS70)。認証部30が第二の携帯端末4Cを正当と判断すると、錠側通信部32は第二の携帯端末4Cに返答信号Sig9を送信し(ステップS69)、計測部33は、応答信号Sig2の受信強度を計測する(ステップS71)。   Since the response cycles T4 and T5 are changed to the response cycles Tc4 and Tc5, the timing at which the lock side communication unit 32 receives the response signal Sig2 from the two mobile terminals 4C is different for each mobile terminal 4C. Therefore, the lock side communication unit 32 succeeds in receiving the response signal Sig2 from the two portable terminals 4C, and the authentication unit 30 authenticates the portable terminal 4C (steps S66 and S67). When the authentication unit 30 determines that the first portable terminal 4C is valid, the lock side communication unit 32 transmits a response signal Sig8 to the first portable terminal 4C (step S68), and the measurement unit 33 receives the response signal Sig2. The intensity is measured (step S70). When the authentication unit 30 determines that the second portable terminal 4C is valid, the lock side communication unit 32 transmits a response signal Sig9 to the second portable terminal 4C (step S69), and the measurement unit 33 receives the response signal Sig2. The intensity is measured (step S71).

ステップS70、S71以降の動作は、実施形態1の変形例2と同様であるから、図10では図示を省略している。すなわち、ステップS70(又はステップS71)の後、判定部34は、計測部33が計測した第一の携帯端末4C(又は第二の携帯端末4C)からの応答信号Sig2の受信強度に基づいて、所定のエリアに第一の携帯端末4C(又は第二の携帯端末4C)が存在するか否かを判定する。所定のエリアに第一の携帯端末4C(又は第二の携帯端末4C)が存在すると判定部34が判定した場合は、錠側制御部31は、錠側操作部39の状態を、第一操作を受け付ける状態にする。その後、錠側操作部39に第一操作がされると、錠側制御部31は、電気錠1に施錠信号Sig5又は解錠信号Sig6を送信することにより、電気錠1を制御して電気錠1に開閉部材を施錠又は解錠させる。   Since the operations after steps S70 and S71 are the same as those of the second modification of the first embodiment, the illustration is omitted in FIG. That is, after step S70 (or step S71), the determination unit 34, based on the reception strength of the response signal Sig2 from the first mobile terminal 4C (or the second mobile terminal 4C) measured by the measurement unit 33, It is determined whether or not the first mobile terminal 4C (or the second mobile terminal 4C) exists in a predetermined area. When the determination unit 34 determines that the first portable terminal 4C (or the second portable terminal 4C) is present in the predetermined area, the lock-side control unit 31 changes the state of the lock-side operation unit 39 to the first operation. Ready to accept. After that, when the first operation is performed on the lock side operation unit 39, the lock side control unit 31 controls the electric lock 1 by transmitting the lock signal Sig5 or the unlock signal Sig6 to the electric lock 1, thereby controlling the electric lock. 1, the opening / closing member is locked or unlocked.

ただし、ステップS58、S59以降に、第一の携帯端末4Cでは、鍵側通信部42が応答信号Sig2を送信してから所定の時間t4以内に鍵側通信部42が返答信号Sig8を受信しなかった場合に、期間制限部44は、応答周期Tc4を更に変更する。第二の携帯端末4Cでは、鍵側通信部42が応答信号Sig2を送信してから所定の時間t5以内に鍵側通信部42が返答信号Sig9を受信しなかった場合に、期間制限部44は、応答周期Tc5を更に変更する。   However, in steps S58 and S59, in the first portable terminal 4C, the key communication unit 42 does not receive the response signal Sig8 within a predetermined time t4 after the key communication unit 42 transmits the response signal Sig2. In such a case, the period limiting unit 44 further changes the response cycle Tc4. In the second portable terminal 4C, when the key side communication unit 42 does not receive the response signal Sig9 within a predetermined time t5 after the key side communication unit 42 transmits the response signal Sig2, the period limiting unit 44 The response cycle Tc5 is further changed.

(実施形態4の変形例)
実施形態1のように、鍵側操作部49への所定の操作(第二操作)により開閉部材が施錠又は解錠される場合は、返答信号Sig8、Sig9は、判定部34での判定結果を示す信号であってもよい。すなわち、所定のエリアに携帯端末4Cが存在すると判定部34が判定した場合に、錠側通信部32は、当該携帯端末4Cがエリア内に存在することを示す返答信号(実施形態1のエリア信号Sig3に相当)を当該携帯端末4Cの鍵側通信部42に送信する。所定のエリアに携帯端末4Cが存在しないと判定部34が判定した場合に、錠側通信部32は、当該携帯端末4Cがエリア内に存在しないことを示す返答信号を当該携帯端末4Cの鍵側通信部42に送信する。期間制限部44は、鍵側通信部42が応答信号Sig2を送信してから所定の時間t4(又はt5)以内に鍵側通信部42が返答信号を受信しなかった場合に、応答周期T4(又はT5)を変更すればよい。携帯端末4Cがエリア内に存在することを示す返答信号を鍵側通信部42が受信したときに、指令制限部43(図1参照)は、鍵側通信部42の状態を、指令信号Sig4を送信できない状態から送信できる状態に切り替えてもよい。
(Modification of Embodiment 4)
As in the first embodiment, when the opening / closing member is locked or unlocked by a predetermined operation (second operation) on the key side operation unit 49, the response signals Sig8 and Sig9 indicate the determination result in the determination unit 34. It may be a signal shown. That is, when the determination unit 34 determines that the mobile terminal 4C exists in a predetermined area, the lock side communication unit 32 returns a response signal indicating that the mobile terminal 4C exists in the area (the area signal of the first embodiment). (Corresponding to Sig3) is transmitted to the key side communication unit 42 of the portable terminal 4C. When the determination unit 34 determines that the portable terminal 4C does not exist in the predetermined area, the lock side communication unit 32 sends a response signal indicating that the portable terminal 4C does not exist in the area to the key side of the portable terminal 4C. It transmits to the communication part 42. When the key side communication unit 42 does not receive a response signal within a predetermined time t4 (or t5) after the key side communication unit 42 transmits the response signal Sig2, the period limiting unit 44 returns a response cycle T4 ( Alternatively, T5) may be changed. When the key communication unit 42 receives a response signal indicating that the mobile terminal 4C exists in the area, the command restriction unit 43 (see FIG. 1) changes the state of the key communication unit 42 to the command signal Sig4. You may switch from the state which cannot transmit to the state which can transmit.

あるいは、実施形態1の変形例1のように、電気錠制御装置3Cが計測部33を有していて、携帯端末4Cが判定部34Aを有している場合には、返答信号Sig8、Sig9は、受信強度信号Sig7(図4参照)を兼ねていてもよい。受信強度信号Sig7は、計測部33が計測した応答信号Sig2の受信強度を示す信号である。期間制限部44は、鍵側通信部42が応答信号Sig2を送信してから所定の時間t4(又はt5)以内に鍵側通信部42が返答信号を受信しなかった場合に、応答周期T4(又はT5)を変更すればよい。   Alternatively, as in the first modification of the first embodiment, when the electric lock control device 3C has the measurement unit 33 and the portable terminal 4C has the determination unit 34A, the response signals Sig8 and Sig9 are The reception intensity signal Sig7 (see FIG. 4) may also be used. The reception intensity signal Sig7 is a signal indicating the reception intensity of the response signal Sig2 measured by the measurement unit 33. When the key side communication unit 42 does not receive a response signal within a predetermined time t4 (or t5) after the key side communication unit 42 transmits the response signal Sig2, the period limiting unit 44 returns a response cycle T4 ( Alternatively, T5) may be changed.

また、本実施形態の鍵側通信部42は、応答期間P4(又はP5)にビーコン信号Sig1を受信すると、錠側通信部32に応答信号Sig2を送信する。鍵側通信部42は、ビーコン信号Sig1を受信してから規定の時間(例えば、ビーコン信号Sig1の送信間隔である1秒)以内に応答期間P4(又はP5)が訪れた場合にも、錠側通信部32に応答信号Sig2を送信してもよい。すなわち、鍵側通信部42は、応答期間P4(又はP5)以外の期間には、錠側通信部32に応答信号Sig2を送信しなければよい。   Moreover, the key side communication part 42 of this embodiment will transmit the response signal Sig2 to the lock | rock side communication part 32, if the beacon signal Sig1 is received in the response period P4 (or P5). The key side communication unit 42 is also locked even when the response period P4 (or P5) arrives within a specified time (for example, 1 second which is the transmission interval of the beacon signal Sig1) after receiving the beacon signal Sig1. The response signal Sig2 may be transmitted to the communication unit 32. That is, the key side communication unit 42 does not have to transmit the response signal Sig2 to the lock side communication unit 32 during a period other than the response period P4 (or P5).

(実施形態4のまとめ)
以上説明したように、本実施形態に係る電気錠制御システム2Cは、鍵装置(携帯端末4C)を複数備える。錠側通信部32は、ビーコン信号Sig1を送信する。鍵側通信部42は、ビーコン信号Sig1を受信すると錠側通信部32に応答信号Sig2を送信する。鍵装置は、期間制限部44を更に有する。期間制限部44は、鍵側通信部42が錠側通信部32に応答信号Sig2を送信してよい期間を、応答周期T4(又はT5)ごとに訪れる応答期間P4(又はP5)に制限する。錠側通信部32は、複数の鍵装置の各々の鍵側通信部42から応答信号Sig2を受信すると、当該鍵装置の識別情報を含む返答信号Sig8(又はSig9)を鍵側通信部42に送信する。複数の鍵装置の各々において、期間制限部44は、鍵側通信部42が応答信号Sig2を送信してから所定の時間t4(又はt5)以内に鍵側通信部42が当該鍵装置の識別情報を含む返答信号Sig8(又はSig9)を受信しなかった場合に、応答周期T4(又はT5)を変更する。変更前の応答周期T4(又はT5)から変更後の応答周期Tc4(又はTc5)を引いた値ΔT4(又はΔT5)は、複数の鍵装置の各々で異なる。
(Summary of Embodiment 4)
As described above, the electric lock control system 2C according to the present embodiment includes a plurality of key devices (portable terminals 4C). The lock side communication unit 32 transmits a beacon signal Sig1. When receiving the beacon signal Sig1, the key side communication unit 42 transmits a response signal Sig2 to the lock side communication unit 32. The key device further includes a period limiting unit 44. The period limiting unit 44 limits the period during which the key side communication unit 42 may transmit the response signal Sig2 to the lock side communication unit 32 to the response period P4 (or P5) that is visited every response cycle T4 (or T5). When receiving the response signal Sig2 from each key side communication unit 42 of the plurality of key devices, the lock side communication unit 32 transmits a response signal Sig8 (or Sig9) including identification information of the key device to the key side communication unit 42. To do. In each of the plurality of key devices, the period limiting unit 44 has the key side communication unit 42 identify the key device identification information within a predetermined time t4 (or t5) after the key side communication unit 42 transmits the response signal Sig2. When the response signal Sig8 (or Sig9) including is not received, the response cycle T4 (or T5) is changed. A value ΔT4 (or ΔT5) obtained by subtracting the response period Tc4 (or Tc5) after the change from the response period T4 (or T5) before the change is different for each of the plurality of key devices.

上記の構成によれば、期間制限部44は、鍵側通信部42が応答信号Sig2を送信してから所定の時間t4(又はt5)以内に鍵側通信部42が錠側通信部32から返答信号Sig8(又はSig9)を受信しなかった場合に、応答信号Sig2を送信してよい応答期間P4(又はP5)が訪れる応答周期T4(又はT5)を変更する。つまり、複数の鍵側通信部42(鍵装置:携帯端末4C)からの応答信号Sig2の錠側通信部32での受信タイミングが同じであって錠側通信部32が応答信号Sig2の受信に失敗し、錠側通信部32が返答信号Sig8(又はSig9)を送信しない場合に、鍵側通信部42は応答周期T4(又はT5)を変更する。変更前の応答周期T4(又はT5)から変更後の応答周期Tc4(又はTc5)を引いた値ΔT4(又はΔT5)は、複数の鍵装置の各々で異なる。したがって、複数の鍵装置が次に応答信号Sig2を送信するときは、複数の鍵装置からの応答信号Sig2の錠側通信部32での受信タイミングが、複数の鍵装置の各々で異なる。これにより、複数の鍵装置が錠側通信部32に応答信号Sig2を送信する場合であっても、錠側通信部32は、各鍵装置からの応答信号Sig2を受信することができる。   According to the above configuration, the period limiting unit 44 returns the response from the lock side communication unit 32 to the key side communication unit 42 within a predetermined time t4 (or t5) after the key side communication unit 42 transmits the response signal Sig2. When the signal Sig8 (or Sig9) is not received, the response period T4 (or T5) in which the response period P4 (or P5) in which the response signal Sig2 may be transmitted is changed is changed. That is, the reception timing of the response signal Sig2 from the plurality of key side communication units 42 (key device: portable terminal 4C) at the lock side communication unit 32 is the same, and the lock side communication unit 32 fails to receive the response signal Sig2. When the lock side communication unit 32 does not transmit the response signal Sig8 (or Sig9), the key side communication unit 42 changes the response cycle T4 (or T5). A value ΔT4 (or ΔT5) obtained by subtracting the response period Tc4 (or Tc5) after the change from the response period T4 (or T5) before the change is different for each of the plurality of key devices. Therefore, when the plurality of key devices next transmit the response signal Sig2, the reception timing of the response signal Sig2 from the plurality of key devices at the lock side communication unit 32 is different for each of the plurality of key devices. Thereby, even if a some key apparatus transmits response signal Sig2 to the lock | rock side communication part 32, the lock | rock side communication part 32 can receive the response signal Sig2 from each key apparatus.

(実施形態5)
次に、実施形態5について、図11を参照して説明する。基本構成は実施形態1の変形例2と同じなので、図5も参照して説明する。なお、実施形態1の変形例2と同様の構成については、同一の符号を付して説明を省略する。実施形態1の変形例2と同様の動作については、説明を省略する。
(Embodiment 5)
Next, Embodiment 5 will be described with reference to FIG. Since the basic configuration is the same as that of the second modification of the first embodiment, it will be described with reference to FIG. In addition, about the structure similar to the modification 2 of Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the second modification of the first embodiment is omitted.

錠側通信部32は、切替回路320が使用アンテナをアンテナANT1からアンテナANT2に、又はアンテナANT1からアンテナANT2に切り替えるタイミングを示すタイミング信号を、鍵側通信部42に送信する。以下、より詳細に説明する。   The lock side communication unit 32 transmits to the key side communication unit 42 a timing signal indicating the timing at which the switching circuit 320 switches the used antenna from the antenna ANT1 to the antenna ANT2 or from the antenna ANT1 to the antenna ANT2. This will be described in more detail below.

図11に示すように、シーケンスの最初の時点では、錠側通信部32の使用アンテナは、アンテナANT1となっている(ステップS72)。   As shown in FIG. 11, at the first time of the sequence, the antenna used by the lock side communication unit 32 is the antenna ANT1 (step S72).

本実施形態では、タイミング信号は、ビーコン信号Sig1を兼ねている。すなわち、ステップS73において錠側通信部32が送信するビーコン信号Sig1には、使用アンテナを切り替えるタイミングを示す情報が含まれている。より詳細には、ビーコン信号Sig1には、現在の使用アンテナが複数のアンテナANT1、ANT2のいずれであるかを示す情報が含まれている。   In the present embodiment, the timing signal also serves as the beacon signal Sig1. That is, the beacon signal Sig1 transmitted by the lock side communication unit 32 in step S73 includes information indicating the timing for switching the antenna to be used. More specifically, the beacon signal Sig1 includes information indicating which of the plurality of antennas ANT1 and ANT2 is the currently used antenna.

実施形態1の変形例2と同様に、鍵側通信部42は、ビーコン信号Sig1を受信する(ステップS74)。ステップS74で鍵側通信部42が受信したビーコン信号Sig1に示される現在の使用アンテナは、アンテナANT1である。使用アンテナがアンテナANT1であるという情報は、携帯端末4Bのメモリに記憶される(ステップS75)。鍵側通信部42は、ビーコン信号Sig1を受信すると、応答信号Sig2を送信する(ステップS76)。錠側通信部32が応答信号Sig2を受信すると、認証部30は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、携帯端末4Bを認証する(ステップS77)。認証部30が携帯端末4Bを正当と判断すると、計測部33は、応答信号Sig2の受信強度を計測する(ステップS78)。判定部34は、計測部33が計測した応答信号Sig2の受信強度に基づいて、所定のエリアに携帯端末4Bが存在するか否かを判定する。所定のエリアに携帯端末4Bが存在すると判定部34が判定した場合の、以後の動作は、実施形態1の変形例2のステップS29〜S31と同様である。所定のエリアに携帯端末4Bが存在しないと判定部34が判定した場合(ステップS79)は、錠側制御部31は、錠側操作部39の状態を、第一操作を受け付ける状態にしない。   Similar to the second modification of the first embodiment, the key side communication unit 42 receives the beacon signal Sig1 (step S74). The currently used antenna indicated in the beacon signal Sig1 received by the key side communication unit 42 in step S74 is the antenna ANT1. Information that the antenna used is the antenna ANT1 is stored in the memory of the portable terminal 4B (step S75). When receiving the beacon signal Sig1, the key side communication unit 42 transmits the response signal Sig2 (step S76). When the lock side communication unit 32 receives the response signal Sig2, the authentication unit 30 authenticates the portable terminal 4B based on the identification information and key information included in the response signal Sig2 (step S77). When the authentication unit 30 determines that the portable terminal 4B is valid, the measurement unit 33 measures the reception intensity of the response signal Sig2 (step S78). The determination unit 34 determines whether or not the mobile terminal 4B exists in a predetermined area based on the reception intensity of the response signal Sig2 measured by the measurement unit 33. Subsequent operations when the determination unit 34 determines that the mobile terminal 4B is present in the predetermined area are the same as steps S29 to S31 of the second modification of the first embodiment. When the determination unit 34 determines that the mobile terminal 4B does not exist in the predetermined area (step S79), the lock side control unit 31 does not set the state of the lock side operation unit 39 to accept the first operation.

錠側通信部32は、ビーコン信号Sig1を間欠的に送信し続ける(ステップS80、S82)。鍵側通信部42は、ビーコン信号Sig1を受信する(ステップS81、S83)。ステップS81、S83で受信したビーコン信号Sig1が示す使用アンテナは、アンテナANT1である。鍵側制御部41は、ステップS81、S83で受信したビーコン信号Sig1に示される使用アンテナの情報と、ステップS75でメモリに記憶した使用アンテナの情報とを比較する。鍵側制御部41は、両者が一致すると判断すると、鍵側通信部42に応答信号Sig2を送信させない。   The lock side communication unit 32 continues to transmit the beacon signal Sig1 intermittently (steps S80 and S82). The key side communication unit 42 receives the beacon signal Sig1 (steps S81 and S83). The antenna used by the beacon signal Sig1 received in steps S81 and S83 is the antenna ANT1. The key-side control unit 41 compares the information on the used antenna indicated in the beacon signal Sig1 received in steps S81 and S83 with the information on the used antenna stored in the memory in step S75. If the key side control unit 41 determines that the two match, the key side control unit 41 does not cause the key side communication unit 42 to transmit the response signal Sig2.

ステップS72で使用アンテナがアンテナANT1に切り替えられてから、切替周期T1が経過すると、使用アンテナがアンテナANT2に切り替えられる(ステップS84)。使用アンテナがアンテナANT2に切り替えられてからも、錠側通信部32は、ビーコン信号Sig1を間欠的に送信し続け(ステップS85)、鍵側通信部42は、ビーコン信号Sig1を受信する(ステップS86)。ステップS86で受信されたビーコン信号Sig1が示す使用アンテナは、アンテナANT2である。鍵側制御部41は、ステップS86で受信したビーコン信号Sig1に示される使用アンテナの情報と、ステップS75でメモリに記憶した使用アンテナの情報とを比較する。鍵側制御部41は、両者が一致しないと判断すると、使用アンテナがアンテナANT2であるという情報を、携帯端末4Bのメモリに記憶させ(ステップS87)、鍵側通信部42に応答信号Sig2を送信させる(ステップS88)。   When the switching period T1 elapses after the used antenna is switched to the antenna ANT1 in step S72, the used antenna is switched to the antenna ANT2 (step S84). Even after the antenna used is switched to the antenna ANT2, the lock side communication unit 32 continues to transmit the beacon signal Sig1 intermittently (step S85), and the key side communication unit 42 receives the beacon signal Sig1 (step S86). ). The antenna used by the beacon signal Sig1 received in step S86 is the antenna ANT2. The key-side control unit 41 compares the information on the used antenna indicated in the beacon signal Sig1 received in step S86 with the information on the used antenna stored in the memory in step S75. If the key-side control unit 41 determines that the two do not match, the key-side control unit 41 stores the information that the antenna used is the antenna ANT2 in the memory of the portable terminal 4B (step S87), and transmits the response signal Sig2 to the key-side communication unit 42. (Step S88).

認証部30は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、携帯端末4Bを認証する(ステップS89)。認証部30が携帯端末4Bを正当と判断すると、計測部33は、応答信号Sig2の受信強度を計測する(ステップS90)。判定部34は、計測部33が計測した応答信号Sig2の受信強度に基づいて、所定のエリアに携帯端末4Bが存在するか否かを判定する(ステップS91)。ステップS91以降、開閉部材が施錠又は解錠されるまでの動作は、実施形態1の変形例2のステップS29〜S31と同じであるから、説明を省略する。   The authentication unit 30 authenticates the portable terminal 4B based on the identification information and key information included in the response signal Sig2 (step S89). If the authentication unit 30 determines that the portable terminal 4B is valid, the measurement unit 33 measures the reception intensity of the response signal Sig2 (step S90). The determination unit 34 determines whether or not the mobile terminal 4B exists in a predetermined area based on the reception intensity of the response signal Sig2 measured by the measurement unit 33 (step S91). Since step S91 and subsequent operations until the opening / closing member is locked or unlocked are the same as steps S29 to S31 of the second modification of the first embodiment, the description thereof is omitted.

ステップS87以降も、鍵側制御部41は、ビーコン信号Sig1に示される使用アンテナの情報と携帯端末4Bのメモリに記憶された使用アンテナの情報とが一致しないと判断した場合にのみ、ビーコン信号Sig1に示される使用アンテナの情報を携帯端末4Bのメモリに記憶させ、鍵側通信部42に応答信号Sig2を送信させる。   Even after step S87, the key-side control unit 41 only determines that the information on the used antenna indicated in the beacon signal Sig1 does not match the information on the used antenna stored in the memory of the mobile terminal 4B. Is stored in the memory of the portable terminal 4B, and the response signal Sig2 is transmitted to the key side communication unit.

(実施形態5の変形例)
鍵側制御部41は、ビーコン信号Sig1(タイミング信号)に示される使用アンテナの情報と携帯端末4Bのメモリに記憶された使用アンテナの情報とが一致しないと判断した場合に、鍵側通信部42に、応答信号Sig2を1回ではなく複数回送信させてもよい。
(Modification of Embodiment 5)
When the key side control unit 41 determines that the information on the used antenna indicated in the beacon signal Sig1 (timing signal) does not match the information on the used antenna stored in the memory of the mobile terminal 4B, the key side communication unit 42 In addition, the response signal Sig2 may be transmitted a plurality of times instead of once.

また、タイミング信号は、ビーコン信号Sig1を兼ねていなくてもよい。タイミング信号は、ビーコン信号Sig1とは別途の信号であってもよい。   Further, the timing signal may not double as the beacon signal Sig1. The timing signal may be a signal separate from the beacon signal Sig1.

あるいは、実施形態1の変形例1のように、電気錠制御装置3Bが計測部33を有していて、携帯端末4Bが判定部34Aを有している場合には、タイミング信号は、受信強度信号Sig7(図4参照)を兼ねていてもよい。受信強度信号Sig7は、計測部33が計測した応答信号Sig2の受信強度を示す信号である。   Or when the electric lock control apparatus 3B has the measurement part 33 and the portable terminal 4B has the determination part 34A like the modification 1 of Embodiment 1, a timing signal is received intensity | strength. It may also serve as the signal Sig7 (see FIG. 4). The reception intensity signal Sig7 is a signal indicating the reception intensity of the response signal Sig2 measured by the measurement unit 33.

また、タイミング信号は、現在の使用アンテナが複数のアンテナANT1、ANT2のいずれであるかを示す情報を含むことに限定されない。例えば、タイミング信号は、使用アンテナが次に切り替わるまでの時間を示す情報を含んでいてもよい。また、タイミング信号は、使用アンテナの切替周期T1を示す情報を更に含んでいてもよい。   In addition, the timing signal is not limited to including information indicating which of the plurality of antennas ANT1 and ANT2 is the currently used antenna. For example, the timing signal may include information indicating the time until the next use antenna is switched. The timing signal may further include information indicating the switching period T1 of the antenna used.

(実施形態5のまとめ)
以上説明したように、本実施形態に係る電気錠制御システム2Bにおいて、錠側通信部32は、切替回路320が使用アンテナを複数のアンテナANT1、ANT2のうち別のアンテナに切り替えるタイミングを示すタイミング信号(ビーコン信号Sig1)を、鍵側通信部42に送信する。
(Summary of Embodiment 5)
As described above, in the electric lock control system 2B according to the present embodiment, the lock communication unit 32 is a timing signal indicating the timing at which the switching circuit 320 switches the antenna to be used to another antenna among the plurality of antennas ANT1 and ANT2. (Beacon signal Sig1) is transmitted to key side communication unit 42.

上記の構成によれば、錠側通信部32は、使用アンテナを切り替えるタイミングを示すタイミング信号(ビーコン信号Sig1)を、鍵側通信部42に送信する。したがって、鍵側通信部42が、ある時点で使用アンテナであるアンテナに所定の信号(例えば計測信号、すなわち応答信号Sig2)を送信してから、使用アンテナが別のアンテナに切り替わるまでの間に、同じ所定の信号を送信することを抑制できる。これにより、鍵側通信部42での電力消費量を低減できる。また、鍵側通信部42から錠側通信部32への所定の信号の送信頻度を抑制できるので、鍵装置(携帯端末4B)が複数用いられる場合であっても、錠側通信部32と複数の鍵装置の鍵側通信部42との通信が混雑することを抑制できる。   According to said structure, the lock | rock side communication part 32 transmits the timing signal (beacon signal Sig1) which shows the timing which switches a use antenna to the key side communication part 42. FIG. Therefore, after the key-side communication unit 42 transmits a predetermined signal (for example, a measurement signal, that is, the response signal Sig2) to the antenna that is the use antenna at a certain point in time, the use antenna is switched to another antenna. Transmission of the same predetermined signal can be suppressed. Thereby, the power consumption in the key side communication part 42 can be reduced. Moreover, since the transmission frequency of the predetermined signal from the key side communication unit 42 to the lock side communication unit 32 can be suppressed, even when a plurality of key devices (portable terminals 4B) are used, a plurality of lock side communication units 32 and a plurality of key devices are used. The communication with the key side communication unit 42 of the key device can be prevented from being congested.

(実施形態6)
次に、実施形態6について、図5、12を参照して説明する。なお、実施形態1の変形例2と同様の構成については、同一の符号を付して説明を省略する。実施形態1の変形例2と同様の動作については、説明を省略する。
(Embodiment 6)
Next, Embodiment 6 will be described with reference to FIGS. In addition, about the structure similar to the modification 2 of Embodiment 1, the same code | symbol is attached | subjected and description is abbreviate | omitted. Description of operations similar to those of the second modification of the first embodiment is omitted.

電気錠制御システム2Bは、携帯端末4Bを複数(本実施形態では2つ)備えている(図12参照)。以下の説明では、2つの携帯端末4Bを区別する際には、一方の携帯端末4Bを第一の携帯端末4Bと称し、他方の携帯端末4Bを第二の携帯端末4Bと称する。錠側制御部31は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、複数の携帯端末4Bの認証を行う。識別情報は、携帯端末4Bごとに固有の情報である。これにより、電気錠制御装置3Bは、複数の携帯端末4Bと個別に通信することができる。   The electric lock control system 2B includes a plurality of portable terminals 4B (two in this embodiment) (see FIG. 12). In the following description, when distinguishing the two mobile terminals 4B, one mobile terminal 4B is referred to as a first mobile terminal 4B, and the other mobile terminal 4B is referred to as a second mobile terminal 4B. The lock control unit 31 authenticates the plurality of portable terminals 4B based on the identification information and key information included in the response signal Sig2. The identification information is information unique to each portable terminal 4B. Thereby, the electric lock control device 3B can individually communicate with the plurality of portable terminals 4B.

鍵側通信部42は、複数の携帯端末4Bの各々に割り当てられたタイムスロットで応答信号Sig2を送信する。第一の携帯端末4Bには、第一のタイムスロットTS1が割り当てられている。第二の携帯端末4Bには、第二のタイムスロットTS2が割り当てられている。第一のタイムスロットTS1と第二のタイムスロットTS2とは、時間的に交互に割り当てられている。以下、より詳細に説明する。   The key side communication unit 42 transmits the response signal Sig2 in the time slot assigned to each of the plurality of portable terminals 4B. A first time slot TS1 is assigned to the first portable terminal 4B. A second time slot TS2 is assigned to the second portable terminal 4B. The first time slot TS1 and the second time slot TS2 are assigned alternately in time. This will be described in more detail below.

間欠的に(例えば1秒間隔で)送信されるビーコン信号Sig1には、複数の携帯端末4B間で同期するための同期信号が含まれている。すなわち、各携帯端末4Bは、鍵側制御部41が同期信号を基準として時間をカウントすることにより、鍵側制御部41は、現在のタイムスロットを判断する。また、ビーコン信号Sig1には、第一の携帯端末4Bに第一のタイムスロットTS1を、第二の携帯端末4Bに第二のタイムスロットTS2を割り当てる情報が含まれている。   The beacon signal Sig1 that is transmitted intermittently (for example, at intervals of 1 second) includes a synchronization signal for synchronization between the plurality of portable terminals 4B. That is, in each portable terminal 4B, the key side control unit 41 determines the current time slot when the key side control unit 41 counts time with reference to the synchronization signal. Further, the beacon signal Sig1 includes information for assigning the first time slot TS1 to the first portable terminal 4B and the second time slot TS2 to the second portable terminal 4B.

第一の携帯端末4Bでは、鍵側通信部42がビーコン信号Sig1を受信したときのタイムスロットが第一のタイムスロットTS1である場合にのみ、鍵側通信部42は、応答信号Sig2を送信する。第二の携帯端末4Bでは、鍵側通信部42がビーコン信号Sig1を受信したときのタイムスロットが第二のタイムスロットTS2である場合にのみ、鍵側通信部42は、応答信号Sig2を送信する。   In the first mobile terminal 4B, the key communication unit 42 transmits the response signal Sig2 only when the time slot when the key communication unit 42 receives the beacon signal Sig1 is the first time slot TS1. . In the second portable terminal 4B, the key side communication unit 42 transmits the response signal Sig2 only when the time slot when the key side communication unit 42 receives the beacon signal Sig1 is the second time slot TS2. .

実施形態1の変形例2と同様に、錠側通信部32は、ビーコン信号Sig1を送信する(ステップS92)。各携帯端末4Bの鍵側通信部42は、ビーコン信号Sig1を受信する(ステップS93、S94)。ここで、第一の携帯端末4Bの鍵側通信部42がビーコン信号Sig1を受信したとき、タイムスロットは第一のタイムスロットTS1である。したがって、第一の携帯端末4Bの鍵側通信部42は、応答信号Sig2を送信する(ステップS95)。第二の携帯端末4Bの鍵側通信部42がビーコン信号Sig1を受信したとき、タイムスロットは第二のタイムスロットTS2である。したがって、第二の携帯端末4Bの鍵側通信部42は、応答信号Sig2を送信しない。   Similarly to the second modification of the first embodiment, the lock side communication unit 32 transmits a beacon signal Sig1 (step S92). The key side communication unit 42 of each portable terminal 4B receives the beacon signal Sig1 (steps S93 and S94). Here, when the key side communication unit 42 of the first portable terminal 4B receives the beacon signal Sig1, the time slot is the first time slot TS1. Therefore, the key side communication unit 42 of the first portable terminal 4B transmits the response signal Sig2 (step S95). When the key side communication unit 42 of the second portable terminal 4B receives the beacon signal Sig1, the time slot is the second time slot TS2. Therefore, the key side communication unit 42 of the second portable terminal 4B does not transmit the response signal Sig2.

錠側通信部32は、第一の携帯端末4Bからの応答信号Sig2を受信する。認証部30は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、第一の携帯端末4Bの認証する(ステップS96)。認証部30が第一の携帯端末4Bを正当と判断すると、計測部33は、応答信号Sig2の受信強度を計測する(ステップS97)。ステップS97以降、開閉部材が施錠又は解錠されるまでの動作は、実施形態1の変形例2のステップS28〜S31と同じであるから、説明を省略する。   The lock side communication unit 32 receives the response signal Sig2 from the first portable terminal 4B. The authentication unit 30 authenticates the first portable terminal 4B based on the identification information and key information included in the response signal Sig2 (step S96). When the authentication unit 30 determines that the first portable terminal 4B is valid, the measurement unit 33 measures the reception intensity of the response signal Sig2 (step S97). Since the operation after Step S97 until the opening / closing member is locked or unlocked is the same as Steps S28 to S31 of Modification 2 of Embodiment 1, the description thereof is omitted.

錠側通信部32は、ビーコン信号Sig1を間欠的に送信し続ける(ステップS98)。第一の携帯端末4Bの鍵側通信部42は、タイムスロットが第二のタイムスロットTS2であるときにビーコン信号Sig1を受信すると(ステップS99)、応答信号Sig2を送信しない。第二の携帯端末4Bの鍵側通信部42は、タイムスロットが第二のタイムスロットTS2であるときにビーコン信号Sig1を受信すると(ステップS100)、応答信号Sig2を送信する(ステップS101)。   The lock side communication unit 32 continues to transmit the beacon signal Sig1 intermittently (step S98). When receiving the beacon signal Sig1 when the time slot is the second time slot TS2 (step S99), the key side communication unit 42 of the first portable terminal 4B does not transmit the response signal Sig2. When the key side communication unit 42 of the second portable terminal 4B receives the beacon signal Sig1 when the time slot is the second time slot TS2 (step S100), the key side communication unit 42 transmits the response signal Sig2 (step S101).

錠側通信部32は、第二の携帯端末4Bからの応答信号Sig2を受信する。認証部30は、応答信号Sig2に含まれる識別情報及び鍵情報に基づいて、第二の携帯端末4Bを認証する(ステップS102)。認証部30が第二の携帯端末4Bを正当と判断すると、計測部33は、応答信号Sig2の受信強度を計測する(ステップS103)。ステップS103以降、開閉部材が施錠又は解錠されるまでの動作は、実施形態3のステップS28〜S31と同じであるから、説明を省略する。   The lock side communication unit 32 receives the response signal Sig2 from the second portable terminal 4B. The authentication unit 30 authenticates the second portable terminal 4B based on the identification information and key information included in the response signal Sig2 (step S102). When the authentication unit 30 determines that the second portable terminal 4B is valid, the measurement unit 33 measures the reception intensity of the response signal Sig2 (step S103). The operations after Step S103 until the opening / closing member is locked or unlocked are the same as Steps S28 to S31 of Embodiment 3, and thus the description thereof is omitted.

以上のように、複数の携帯端末4Bは、各々に割り当てられたタイムスロットで応答信号Sig2を送信する。したがって、錠側通信部32は、複数の携帯端末4Bからの応答信号Sig2を受信するタイミングが携帯端末4Bごとに異なるので、応答信号Sig2の受信に失敗する可能性を低減することができる。   As described above, the plurality of portable terminals 4B transmit the response signal Sig2 in the time slot assigned to each. Therefore, since the timing at which the lock side communication unit 32 receives the response signals Sig2 from the plurality of mobile terminals 4B is different for each mobile terminal 4B, it is possible to reduce the possibility that the reception of the response signal Sig2 will fail.

(実施形態6の変形例)
複数の携帯端末4Bが応答信号Sig2を送信するタイミングを示すタイムスロットは、各携帯端末4Bが電気錠制御装置3Bに登録されるときに、各携帯端末4Bに割り当てられてもよい。
(Modification of Embodiment 6)
A time slot indicating the timing at which the plurality of portable terminals 4B transmit the response signal Sig2 may be assigned to each portable terminal 4B when each portable terminal 4B is registered in the electric lock control device 3B.

また、本実施形態の携帯端末4Bの鍵側通信部42は、当該携帯端末4Bに割り当てられたタイムスロットのときにビーコン信号Sig1を受信すると、錠側通信部32に応答信号Sig2を送信する。鍵側通信部42は、ビーコン信号Sig1を受信してから規定の時間(例えば、ビーコン信号Sig1の送信間隔である1秒)以内に当該携帯端末4Bに割り当てられたタイムスロットが訪れた場合にも、錠側通信部32に応答信号Sig2を送信してもよい。すなわち、携帯端末4Bの鍵側通信部42は、当該携帯端末4Bに割り当てられたタイムスロット以外の期間には、錠側通信部32に応答信号Sig2を送信しなければよい。   Moreover, the key side communication part 42 of the portable terminal 4B of this embodiment will transmit the response signal Sig2 to the lock | rock side communication part 32, if the beacon signal Sig1 is received in the time slot allocated to the said portable terminal 4B. The key side communication unit 42 also receives a time slot assigned to the portable terminal 4B within a specified time (for example, 1 second which is the transmission interval of the beacon signal Sig1) after receiving the beacon signal Sig1. The response signal Sig2 may be transmitted to the lock side communication unit 32. That is, the key-side communication unit 42 of the mobile terminal 4B may not transmit the response signal Sig2 to the lock-side communication unit 32 during a period other than the time slot allocated to the mobile terminal 4B.

(実施形態6のまとめ)
以上説明したように、本実施形態に係る電気錠制御システム2Bは、鍵装置(携帯端末4B)を複数備える。錠側通信部32は、ビーコン信号Sig1を送信する。鍵側通信部42は、ビーコン信号Sig1を受信すると錠側通信部32に応答信号Sig2を送信する。鍵側通信部42は、複数の鍵装置の各々に割り当てられたタイムスロット(第一のタイムスロットTS1、第二のタイムスロットTS2)で応答信号Sig2を送信する。
(Summary of Embodiment 6)
As described above, the electric lock control system 2B according to this embodiment includes a plurality of key devices (portable terminals 4B). The lock side communication unit 32 transmits a beacon signal Sig1. When receiving the beacon signal Sig1, the key side communication unit 42 transmits a response signal Sig2 to the lock side communication unit 32. The key-side communication unit 42 transmits the response signal Sig2 in the time slot (first time slot TS1, second time slot TS2) assigned to each of the plurality of key devices.

上記の構成によれば、鍵側通信部42は、複数の鍵装置(携帯端末4B)の各々に割り当てられたタイムスロット(第一のタイムスロットTS1、第二のタイムスロットTS2)で応答信号Sig2を送信する。これにより、複数の鍵装置(鍵側通信部42)からの応答信号Sig2の錠側通信部32での受信タイミングは、鍵装置ごとに異なるので、錠側通信部32が応答信号Sig2の受信に失敗する可能性を低減することができる。   According to the above configuration, the key side communication unit 42 responds with the response signal Sig2 in the time slot (first time slot TS1, second time slot TS2) assigned to each of the plurality of key devices (portable terminals 4B). Send. As a result, the reception timing of the response signal Sig2 from the plurality of key devices (key side communication unit 42) at the lock side communication unit 32 differs for each key device, so that the lock side communication unit 32 receives the response signal Sig2. The possibility of failure can be reduced.

上述した各実施形態は、変形例も含めて、適宜組み合わせて実現されてもよい。   Each embodiment mentioned above may be suitably combined and realized including a modification.

1 電気錠
2、2A、2B、2C 電気錠制御システム
20、20A、20B、20C 電気錠システム
3、3A、3B、3C 電気錠制御装置
31 錠側制御部
32 錠側通信部
320 切替回路
33 計測部
34、34A 判定部
39 錠側操作部
4、4A、4B、4C 携帯端末(鍵装置)
42 鍵側通信部
43 指令制限部
44 期間制限部
49 鍵側操作部
5 開閉部材
50 開口部
ANT1、ANT2 アンテナ
AR1 第一エリア(所定のエリア)
AR2 第二エリア(所定のエリア)
P2、P4、P5 応答期間
Sig1 ビーコン信号(タイミング信号)
Sig2 応答信号(計測信号)
Sig3 エリア信号
Sig4 指令信号
Sig8、Sig9 返答信号
t4、t5 所定の時間
T1 切替周期
T2、T4、T5 応答周期
Tc4、Tc5 変更後の応答周期
ΔT4、ΔT5 値
TS1 第一のタイムスロット(タイムスロット)
TS2 第二のタイムスロット(タイムスロット)
1 electric lock 2, 2A, 2B, 2C electric lock control system 20, 20A, 20B, 20C electric lock system 3, 3A, 3B, 3C electric lock control device 31 lock side control unit 32 lock side communication unit 320 switching circuit 33 measurement Unit 34, 34A Determination unit 39 Lock side operation unit 4, 4A, 4B, 4C Mobile terminal (key device)
42 Key side communication part 43 Command restriction part 44 Period restriction part 49 Key side operation part 5 Opening and closing member 50 Opening part ANT1, ANT2 Antenna AR1 First area (predetermined area)
AR2 Second area (predetermined area)
P2, P4, P5 Response period Sig1 Beacon signal (timing signal)
Sig2 response signal (measurement signal)
Sig3 Area signal Sig4 Command signal Sig8, Sig9 Reply signal t4, t5 Predetermined time T1 Switching period T2, T4, T5 Response period Tc4, Tc5 Changed response period ΔT4, ΔT5 Value TS1 First time slot (time slot)
TS2 Second time slot (time slot)

Claims (14)

無線通信を行う鍵側通信部を有する鍵装置と、
前記鍵側通信部と無線通信を行う錠側通信部と、建物の開口部を開閉する開閉部材を電気錠に施錠又は解錠させる錠側制御部と、を有する電気錠制御装置と、を備え、
前記電気錠制御装置と前記鍵装置とのうち少なくとも一方は、前記鍵側通信部と前記錠側通信部とのうち一方から送信され他方で受信される計測信号の受信強度を計測する計測部を有し、
前記計測部が計測した前記計測信号の受信強度に基づいて、予め決められた所定のエリアに前記鍵装置が存在するか否かを判定する判定部を更に備え、
前記電気錠制御装置と前記鍵装置とのうち少なくとも一方は、前記判定部の判定結果によって異なる処理をし、
前記錠側通信部は、少なくとも前記計測信号を送信又は受信するダイバーシティアンテナとして機能する複数のアンテナを含む
ことを特徴とする電気錠制御システム。
A key device having a key side communication unit for performing wireless communication;
An electric lock control device comprising: a lock side communication unit that performs wireless communication with the key side communication unit; and a lock side control unit that locks or unlocks the electric lock on an opening and closing member that opens and closes the opening of the building. ,
At least one of the electric lock control device and the key device has a measuring unit that measures the reception intensity of a measurement signal transmitted from one of the key side communication unit and the lock side communication unit and received by the other. Have
A determination unit that determines whether or not the key device is present in a predetermined area based on reception intensity of the measurement signal measured by the measurement unit;
At least one of the electric lock control device and the key device performs different processing depending on the determination result of the determination unit,
The lock-side communication unit includes at least a plurality of antennas that function as diversity antennas that transmit or receive the measurement signal.
前記錠側通信部は、前記複数のアンテナに電気的に接続される切替回路を更に含み、
前記切替回路は、前記複数のアンテナのうち少なくとも前記計測信号を送信又は受信する1つのアンテナである使用アンテナを前記複数のアンテナのうち別のアンテナに切り替える
ことを特徴とする請求項1記載の電気錠制御システム。
The lock side communication unit further includes a switching circuit electrically connected to the plurality of antennas,
2. The electricity according to claim 1, wherein the switching circuit switches a use antenna, which is at least one antenna that transmits or receives the measurement signal among the plurality of antennas, to another antenna among the plurality of antennas. Lock control system.
前記錠側通信部は、ビーコン信号を送信し、
前記鍵側通信部は、前記ビーコン信号を受信すると前記錠側通信部に応答信号を送信し、
前記鍵装置は、前記鍵側通信部が前記錠側通信部に前記応答信号を送信してよい期間を、応答周期ごとに訪れる応答期間に制限する期間制限部を更に有し、
前記切替回路は、一定の切替周期で前記使用アンテナを前記複数のアンテナのうち別のアンテナに切り替え、
前記応答周期は前記切替周期以下である
ことを特徴とする請求項2記載の電気錠制御システム。
The lock side communication unit transmits a beacon signal,
When the key side communication unit receives the beacon signal, the key side communication unit transmits a response signal to the lock side communication unit,
The key device further includes a period limiting unit that limits a period during which the key side communication unit may transmit the response signal to the lock side communication unit to a response period that is visited every response cycle,
The switching circuit switches the used antenna to another antenna among the plurality of antennas at a constant switching period,
The electric lock control system according to claim 2, wherein the response cycle is equal to or shorter than the switching cycle.
前記錠側通信部は、前記切替回路が前記使用アンテナを前記複数のアンテナのうち別のアンテナに切り替えるタイミングを示すタイミング信号を、前記鍵側通信部に送信することを特徴とする請求項2又は3に記載の電気錠制御システム。   The lock side communication unit transmits a timing signal indicating a timing at which the switching circuit switches the used antenna to another antenna among the plurality of antennas to the key side communication unit. 4. The electric lock control system according to 3. 前記電気錠制御装置は、前記計測部を有することを特徴とする請求項1〜4のいずれか一項に記載の電気錠制御システム。   The electric lock control system according to claim 1, wherein the electric lock control device includes the measurement unit. 前記電気錠制御装置は、前記判定部を有し、
前記所定のエリアに前記鍵装置が存在すると前記判定部が判定した場合に、前記錠側通信部は、前記鍵側通信部にエリア信号を送信し、
前記所定のエリアに前記鍵装置が存在しないと前記判定部が判定した場合に、前記錠側通信部は、前記鍵側通信部に前記エリア信号を送信せず、
前記鍵装置は、前記鍵側通信部が前記錠側通信部に指令信号を送信することを制限する指令制限部を更に有し、
前記錠側通信部は、前記指令信号を受信すると、前記電気錠に前記開閉部材を施錠又は解錠させ、
前記指令制限部は、前記鍵側通信部が前記エリア信号を受信したときに、前記鍵側通信部の状態を、前記指令信号を送信できない状態から送信できる状態に切り替える
ことを特徴とする請求項5記載の電気錠制御システム。
The electric lock control device includes the determination unit,
When the determination unit determines that the key device is present in the predetermined area, the lock side communication unit transmits an area signal to the key side communication unit,
When the determination unit determines that the key device does not exist in the predetermined area, the lock side communication unit does not transmit the area signal to the key side communication unit,
The key device further includes a command restriction unit that restricts the key side communication unit from transmitting a command signal to the lock side communication unit,
The lock side communication unit, upon receiving the command signal, causes the electric lock to lock or unlock the opening and closing member,
The command restriction unit switches the state of the key side communication unit from a state where the command signal cannot be transmitted to a state where the command signal can be transmitted when the key side communication unit receives the area signal. 5. The electric lock control system according to 5.
前記鍵装置を複数備え、
前記錠側通信部は、ビーコン信号を送信し、
前記鍵側通信部は、前記ビーコン信号を受信すると前記錠側通信部に応答信号を送信し、
前記鍵装置は、前記鍵側通信部が前記錠側通信部に前記応答信号を送信してよい期間を、応答周期ごとに訪れる応答期間に制限する期間制限部を更に有し、
前記錠側通信部は、前記複数の鍵装置の各々の前記鍵側通信部から前記応答信号を受信すると、当該鍵装置の識別情報を含む返答信号を前記鍵側通信部に送信し、
前記複数の鍵装置の各々において、前記期間制限部は、
前記鍵側通信部が前記応答信号を送信してから所定の時間以内に前記鍵側通信部が当該鍵装置の前記識別情報を含む前記返答信号を受信しなかった場合に、前記応答周期を変更し、
変更前の前記応答周期から変更後の前記応答周期を引いた値は、前記複数の鍵装置の各々で異なる
ことを特徴とする請求項1〜6のいずれか一項に記載の電気錠制御システム。
A plurality of the key devices;
The lock side communication unit transmits a beacon signal,
When the key side communication unit receives the beacon signal, the key side communication unit transmits a response signal to the lock side communication unit,
The key device further includes a period limiting unit that limits a period during which the key side communication unit may transmit the response signal to the lock side communication unit to a response period that is visited every response cycle,
When the lock side communication unit receives the response signal from the key side communication unit of each of the plurality of key devices, the lock side communication unit transmits a response signal including identification information of the key device to the key side communication unit,
In each of the plurality of key devices, the period limiting unit includes:
The response cycle is changed when the key communication unit does not receive the response signal including the identification information of the key device within a predetermined time after the key communication unit transmits the response signal. And
The electric lock control system according to any one of claims 1 to 6, wherein a value obtained by subtracting the response period after the change from the response period before the change is different for each of the plurality of key devices. .
前記鍵装置を複数備え、
前記錠側通信部は、ビーコン信号を送信し、
前記鍵側通信部は、前記ビーコン信号を受信すると前記錠側通信部に応答信号を送信し、
前記鍵側通信部は、前記複数の鍵装置の各々に割り当てられたタイムスロットで前記応答信号を送信する
ことを特徴とする請求項1〜7のいずれか一項に記載の電気錠制御システム。
A plurality of the key devices;
The lock side communication unit transmits a beacon signal,
When the key side communication unit receives the beacon signal, the key side communication unit transmits a response signal to the lock side communication unit,
The electric lock control system according to claim 1, wherein the key side communication unit transmits the response signal in a time slot assigned to each of the plurality of key devices.
前記判定部は、各々が前記所定のエリアとして予め決められている第一エリア及び第二エリアのうち、前記鍵装置が存在するエリアを、前記計測部が計測した前記計測信号の受信強度に基づいて判定し、
前記第二エリアは、前記第一エリアよりも広く、前記第一エリアの少なくとも一部を含み、
前記鍵装置が前記第一エリア又は前記第二エリアに存在するとき、前記鍵側通信部と前記錠側通信部との間で無線通信可能であり、
前記電気錠制御装置及び前記鍵装置のうち少なくとも一方は、前記第一エリアに前記鍵装置が存在すると前記判定部で判定された場合と、前記第二エリアに前記鍵装置が存在すると前記判定部で判定された場合とで、異なる処理をする
ことを特徴とする請求項1〜8のいずれか一項に記載の電気錠制御システム。
The determination unit is configured to determine an area where the key device is present among a first area and a second area that are determined in advance as the predetermined area, based on reception intensity of the measurement signal measured by the measurement unit. Judgment
The second area is wider than the first area and includes at least a part of the first area;
When the key device exists in the first area or the second area, wireless communication is possible between the key side communication unit and the lock side communication unit,
At least one of the electric lock control device and the key device includes the determination unit when the determination unit determines that the key device exists in the first area, and the determination unit when the key device exists in the second area. The electric lock control system according to any one of claims 1 to 8, wherein different processing is performed depending on whether the determination is made in step (1).
前記電気錠制御装置は、前記電気錠に前記開閉部材を施錠又は解錠させるための第一操作を受け付ける錠側操作部を更に有し、
前記鍵装置は、前記電気錠に前記開閉部材を施錠又は解錠させるための第二操作を受け付ける鍵側操作部を更に有し、
前記鍵装置が前記第一エリアに存在すると前記判定部で判定され、かつ、前記錠側操作部に前記第一操作がされると、前記錠側制御部は前記電気錠に前記開閉部材を施錠又は解錠させ、
前記鍵装置が前記第一エリアに存在せず前記第二エリアに存在すると前記判定部で判定され、かつ、前記鍵側操作部に前記第二操作がされると、前記鍵側通信部は前記電気錠制御装置に指令信号を送信し、前記錠側通信部は、前記指令信号を受信すると、前記電気錠に前記開閉部材を施錠又は解錠させる
ことを特徴とする請求項9記載の電気錠制御システム。
The electric lock control device further includes a lock-side operation unit that receives a first operation for locking or unlocking the opening / closing member in the electric lock,
The key device further includes a key-side operation unit that receives a second operation for locking or unlocking the opening / closing member to the electric lock,
When the key device is present in the first area, it is determined by the determination unit, and when the first operation is performed on the lock side operation unit, the lock side control unit locks the opening / closing member on the electric lock. Or unlock it,
The determination unit determines that the key device does not exist in the first area but exists in the second area, and when the second operation is performed on the key side operation unit, the key side communication unit The electric lock according to claim 9, wherein a command signal is transmitted to the electric lock control device, and the lock side communication unit causes the electric lock to lock or unlock the opening / closing member when receiving the command signal. Control system.
請求項1〜10のいずれか一項に記載の電気錠制御システムに用いられる電気錠制御装置であって、
前記錠側通信部と、前記錠側制御部と、を有する
ことを特徴とする電気錠制御装置。
An electric lock control device used in the electric lock control system according to any one of claims 1 to 10,
An electric lock control device comprising: the lock side communication unit; and the lock side control unit.
請求項1〜10のいずれか一項に記載の電気錠制御システムに用いられる鍵装置であって、
前記鍵側通信部を有する
ことを特徴とする鍵装置。
A key device used in the electric lock control system according to any one of claims 1 to 10,
A key device comprising the key side communication unit.
携帯端末を請求項12記載の鍵装置として機能させるための制御処理を、前記携帯端末のコンピュータに実行させるプログラム。   The program which makes the computer of the said portable terminal perform the control processing for functioning a portable terminal as a key apparatus of Claim 12. 請求項1〜10のいずれか一項に記載の電気錠制御システムと、
前記電気錠と、
を備えることを特徴とする電気錠システム。
The electric lock control system according to any one of claims 1 to 10,
The electric lock;
An electric lock system comprising:
JP2017160624A 2017-08-23 2017-08-23 Electric lock control system, electric lock control device and electric lock system Active JP6934630B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017160624A JP6934630B2 (en) 2017-08-23 2017-08-23 Electric lock control system, electric lock control device and electric lock system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017160624A JP6934630B2 (en) 2017-08-23 2017-08-23 Electric lock control system, electric lock control device and electric lock system

Publications (2)

Publication Number Publication Date
JP2019039186A true JP2019039186A (en) 2019-03-14
JP6934630B2 JP6934630B2 (en) 2021-09-15

Family

ID=65725501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017160624A Active JP6934630B2 (en) 2017-08-23 2017-08-23 Electric lock control system, electric lock control device and electric lock system

Country Status (1)

Country Link
JP (1) JP6934630B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021039830A1 (en) * 2019-08-30 2021-03-04 Denso International America, Inc. Multiplexed antenna circuit network for ultra-high frequency low energy based phone as a key access to a vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015078537A (en) * 2013-10-17 2015-04-23 株式会社東海理化電機製作所 Key verification system
JP2016056503A (en) * 2014-09-05 2016-04-21 パナソニックIpマネジメント株式会社 Electric lock system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015078537A (en) * 2013-10-17 2015-04-23 株式会社東海理化電機製作所 Key verification system
JP2016056503A (en) * 2014-09-05 2016-04-21 パナソニックIpマネジメント株式会社 Electric lock system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021039830A1 (en) * 2019-08-30 2021-03-04 Denso International America, Inc. Multiplexed antenna circuit network for ultra-high frequency low energy based phone as a key access to a vehicle

Also Published As

Publication number Publication date
JP6934630B2 (en) 2021-09-15

Similar Documents

Publication Publication Date Title
US10089807B2 (en) Electronic access control device and access control method
CN107284412B (en) Keyless access system
AU2017361867B2 (en) Controlling a lock based on an activation signal and position of portable key device
US10498399B1 (en) Near field detection of mobile devices
US10453285B2 (en) Configurable electric wireless lock assembly
CN112243520B (en) Method and device for data transmission between a mobile device and a reader device
JP2006342545A (en) Keyless entry unit
JP2008266955A (en) Keyless entry system
ES2883412T3 (en) Bluetooth connectivity setting method to speed up access controls
JP6934630B2 (en) Electric lock control system, electric lock control device and electric lock system
JP5195496B2 (en) Authentication target device and key, and wireless authentication system
US10544606B2 (en) Door lock control system and door lock apparatus
KR102620611B1 (en) Vehicle control systems, mobile terminals and vehicle-mounted devices
WO2021111741A1 (en) Relay attack determination device
JP2019044378A (en) Electric lock control system, electric lock control device, key device, program, and electric lock system
JP7122521B2 (en) Communication system for electric lock, electric lock control system, electric lock system, door with electric lock, key device, communication method and program for key device
JP7012248B2 (en) Electric lock control system, key device, electric lock control device, and electric lock system
JP5131203B2 (en) Authentication target device and key, and wireless authentication system
KR101959270B1 (en) Bluetooth Low Energy based Smart door lock system
US20230188520A1 (en) Method and system for authenticating wireless devices
US20210134092A1 (en) Universal Secure Mobile Device Entry Upgrade Electronics Unit for Electronic Locks and Method of Use Thereof
CN114363132A (en) Communication method
JP2004341702A (en) Non-contact ic card and authentication system
JP2019127724A (en) On-vehicle device, existence detection method, and computer program
JP2023163583A (en) electric lock device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210105

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210308

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: 20210706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210805

R151 Written notification of patent or utility model registration

Ref document number: 6934630

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151