JP6811428B2 - Electric lock system and electric lock device - Google Patents

Electric lock system and electric lock device Download PDF

Info

Publication number
JP6811428B2
JP6811428B2 JP2016233478A JP2016233478A JP6811428B2 JP 6811428 B2 JP6811428 B2 JP 6811428B2 JP 2016233478 A JP2016233478 A JP 2016233478A JP 2016233478 A JP2016233478 A JP 2016233478A JP 6811428 B2 JP6811428 B2 JP 6811428B2
Authority
JP
Japan
Prior art keywords
lock
unit
side communication
electric lock
communication 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.)
Active
Application number
JP2016233478A
Other languages
Japanese (ja)
Other versions
JP2018090991A (en
Inventor
圭太郎 干場
圭太郎 干場
西尾 昭彦
昭彦 西尾
昌典 栗田
昌典 栗田
雄 川上
雄 川上
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 JP2016233478A priority Critical patent/JP6811428B2/en
Publication of JP2018090991A publication Critical patent/JP2018090991A/en
Application granted granted Critical
Publication of JP6811428B2 publication Critical patent/JP6811428B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Description

本発明は、一般に、電気錠システム及び電気錠装置に関し、より詳細には、建物の出入口を電動で解錠又は施錠する電気錠システム及び電気錠装置に関する。 The present invention generally relates to an electric lock system and an electric lock device, and more particularly to an electric lock system and an electric lock device that electrically unlocks or locks an entrance / exit of a building.

従来、携帯機器と電気錠とを備えたロックシステムがあった(例えば特許文献1参照)。携帯機器は錠前の施解錠に必要なキーデータを記憶する。電気錠は、携帯機器から取得したキーデータの正当性を判別し、正常に認証したときに錠前を解錠制御する。 Conventionally, there has been a lock system including a portable device and an electric lock (see, for example, Patent Document 1). The portable device stores the key data required for locking and unlocking the lock. The electric lock determines the validity of the key data acquired from the mobile device and controls the unlocking of the lock when it is normally authenticated.

特開2007−239347号公報JP-A-2007-239347

上記のロックシステムにおいて、携帯機器(携帯端末)の送信電力、及び電気錠(電気錠装置)の受信感度には個体ごとにばらつきがあるため、携帯機器を用いた電気錠の操作が有効な操作範囲が個体ごとにばらつく可能性があった。 In the above lock system, since the transmission power of the portable device (mobile terminal) and the reception sensitivity of the electric lock (electric lock device) vary from individual to individual, the operation of the electric lock using the portable device is effective. The range could vary from individual to individual.

本発明の目的は、携帯端末を用いた電気錠装置の操作が有効な操作範囲のばらつきを低減できる電気錠システム及び電気錠装置を提供することにある。 An object of the present invention is to provide an electric lock system and an electric lock device capable of reducing variation in an effective operating range for operating an electric lock device using a mobile terminal.

本発明の一態様の電気錠システムは、建物の出入口を解錠又は施錠する電気錠を制御する錠制御部と、電波を媒体とする無線通信を行う鍵側通信部を有し前記出入口の解錠操作及び施錠操作のうち少なくとも一方の操作を行うための携帯端末との間で電波を媒体する無線通信を行う錠側通信部と、前記携帯端末による電気錠装置の前記操作が有効な操作範囲に関わる設定を行う設定部と、比較部と、を備える。錠制御部の動作モードには通常モードと調整モードとがある。前記設定部は、前記動作モードが前記調整モードである場合に、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度の測定結果に基づいて前記携帯端末ごとに閾値を設定する。前記比較部は、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度と前記閾値との高低を比較する。前記錠制御部は、前記動作モードが前記通常モードである場合に、前記比較部の比較結果が前記受信信号強度が前記閾値よりも高いという結果であり、かつ、前記錠側通信部が受信した無線信号に含まれる鍵情報の認証に成功すると、前記電気錠を制御する。前記閾値は第1閾値と第2閾値とを含む。前記錠制御部は、前記携帯端末が前記建物の屋外にある場合は前記受信信号強度と前記第1閾値との高低を比較し、前記携帯端末が前記建物の屋内にある場合は前記受信信号強度と前記第2閾値との高低を比較する。
本発明の一態様の電気錠システムは、建物の出入口を解錠又は施錠する電気錠を制御する錠制御部と、電波を媒体とする無線通信を行う鍵側通信部を有し前記出入口の解錠操作及び施錠操作のうち少なくとも一方の操作を行うための携帯端末との間で電波を媒体する無線通信を行う錠側通信部と、前記携帯端末による電気錠装置の前記操作が有効な操作範囲に関わる設定を行う設定部と、比較部と、を備える。錠制御部の動作モードには通常モードと調整モードとがある。前記設定部は、前記動作モードが前記調整モードである場合に、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度の測定結果に基づいて前記携帯端末ごとに閾値を設定する。前記比較部は、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度と前記閾値との高低を比較する。前記錠制御部は、前記動作モードが前記通常モードである場合に、前記比較部の比較結果が前記受信信号強度が前記閾値よりも高いという結果であり、かつ、前記錠側通信部が受信した無線信号に含まれる鍵情報の認証に成功すると、前記電気錠を制御する。前記設定部は、前記鍵側通信部での前記受信信号強度の測定結果と、前記錠側通信部での前記受信信号強度の測定結果とに基づいて、前記閾値を設定する。
本発明の一態様の電気錠システムは、建物の出入口を解錠又は施錠する電気錠を制御する錠制御部と、電波を媒体とする無線通信を行う鍵側通信部を有し前記出入口の解錠操作及び施錠操作のうち少なくとも一方の操作を行うための携帯端末との間で電波を媒体する無線通信を行う錠側通信部と、前記携帯端末による電気錠装置の前記操作が有効な操作範囲に関わる設定を行う設定部と、比較部と、通知部と、を備える。錠制御部の動作モードには通常モードと調整モードとがある。前記設定部は、前記動作モードが前記調整モードである場合に、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度の測定結果に基づいて前記携帯端末ごとに閾値を設定する。前記比較部は、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度と前記閾値との高低を比較する。前記錠制御部は、前記動作モードが前記通常モードである場合に、前記比較部の比較結果が前記受信信号強度が前記閾値よりも高いという結果であり、かつ、前記錠側通信部が受信した無線信号に含まれる鍵情報の認証に成功すると、前記電気錠を制御する。前記通知部は、前記動作モードが前記通常モードである場合の前記比較部の比較結果と認証結果との履歴に基づいて、前記履歴が所定の条件を満たすと前記設定部による前記閾値の設定を促す通知信号を前記携帯端末に送信する。
The electric lock system of one aspect of the present invention has a lock control unit that controls an electric lock that unlocks or locks an entrance / exit of a building, and a key-side communication unit that performs wireless communication using radio waves as a medium. An operation range in which the operation of the electric lock device by the mobile terminal and the lock-side communication unit that performs wireless communication using radio waves with the mobile terminal for performing at least one of the lock operation and the lock operation is effective. It is provided with a setting unit for making settings related to radio waves and a comparison unit. The operation mode of the lock control unit includes a normal mode and an adjustment mode. When the operation mode is the adjustment mode, the setting unit sets a threshold value for each mobile terminal based on the measurement result of the received signal strength in at least one of the lock side communication unit and the key side communication unit. .. The comparison unit compares the high and low of the received signal strength and the threshold value in at least one of the lock-side communication unit and the key-side communication unit. In the lock control unit, when the operation mode is the normal mode, the comparison result of the comparison unit is the result that the received signal strength is higher than the threshold value, and the lock side communication unit receives the signal. When the key information included in the wireless signal is successfully authenticated, the electric lock is controlled. The threshold includes a first threshold and a second threshold. The lock control unit compares the height of the received signal strength with the first threshold value when the mobile terminal is outside the building, and when the mobile terminal is inside the building, the received signal strength is compared. And the height of the second threshold value are compared.
The electric lock system according to one aspect of the present invention includes a lock control unit that controls an electric lock that unlocks or locks an entrance / exit of a building, and a key-side communication unit that performs wireless communication using radio waves as a medium. An operation range in which the operation of the electric lock device by the mobile terminal and the lock-side communication unit that performs wireless communication using radio waves with the mobile terminal for performing at least one of the lock operation and the lock operation is effective. It is provided with a setting unit for making settings related to the above and a comparison unit. The operation mode of the lock control unit includes a normal mode and an adjustment mode. When the operation mode is the adjustment mode, the setting unit sets a threshold value for each mobile terminal based on the measurement result of the received signal strength in at least one of the lock side communication unit and the key side communication unit. .. The comparison unit compares the high and low of the received signal strength and the threshold value in at least one of the lock-side communication unit and the key-side communication unit. In the lock control unit, when the operation mode is the normal mode, the comparison result of the comparison unit is the result that the received signal strength is higher than the threshold value, and the lock side communication unit receives the signal. When the key information included in the wireless signal is successfully authenticated, the electric lock is controlled. The setting unit sets the threshold value based on the measurement result of the received signal strength by the key-side communication unit and the measurement result of the received signal strength by the lock-side communication unit.
The electric lock system of one aspect of the present invention has a lock control unit that controls an electric lock that unlocks or locks an entrance / exit of a building, and a key-side communication unit that performs wireless communication using radio waves as a medium. An operation range in which the operation of the electric lock device by the mobile terminal and the lock-side communication unit that performs wireless communication using radio waves with the mobile terminal for performing at least one of the lock operation and the lock operation is effective. It is provided with a setting unit for making settings related to radio waves, a comparison unit, and a notification unit. The operation mode of the lock control unit includes a normal mode and an adjustment mode. When the operation mode is the adjustment mode, the setting unit sets a threshold value for each mobile terminal based on the measurement result of the received signal strength in at least one of the lock side communication unit and the key side communication unit. .. The comparison unit compares the high and low of the received signal strength and the threshold value in at least one of the lock-side communication unit and the key-side communication unit. In the lock control unit, when the operation mode is the normal mode, the comparison result of the comparison unit is the result that the received signal strength is higher than the threshold value, and the lock side communication unit receives the signal. When the key information included in the wireless signal is successfully authenticated, the electric lock is controlled. Based on the history of the comparison result and the authentication result of the comparison unit when the operation mode is the normal mode, the notification unit sets the threshold value by the setting unit when the history satisfies a predetermined condition. A reminder notification signal is transmitted to the mobile terminal.

本発明の一態様の電気錠装置は、前記電気錠システムにおける電気錠装置であって、前記設定部を有する。 The electric lock device according to one aspect of the present invention is the electric lock device in the electric lock system and has the setting unit.

本発明によれば、携帯端末を用いた電気錠装置の操作が有効な操作範囲のばらつきを低減することができる。 According to the present invention, it is possible to reduce the variation in the operation range in which the operation of the electric lock device using the mobile terminal is effective.

図1は、本発明の実施形態1に係る電気錠システムの使用例の説明図である。FIG. 1 is an explanatory diagram of a usage example of the electric lock system according to the first embodiment of the present invention. 図2は、同上の電気錠システムの構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the electric lock system of the above. 図3は、同上の電気錠システムの動作を説明するシーケンス図である。FIG. 3 is a sequence diagram illustrating the operation of the electric lock system of the above. 図4は、実施形態2の電気錠システムの動作を説明するシーケンス図である。FIG. 4 is a sequence diagram illustrating the operation of the electric lock system of the second embodiment.

以下に説明する実施形態は、本発明の種々の実施形態の一つに過ぎない。本発明の実施形態は、下記実施形態に限定されることはなく、この実施形態以外も含み得る。また、下記の実施形態は、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能である。 The embodiments described below are merely one of the various embodiments of the present invention. The embodiment of the present invention is not limited to the following embodiment, and may include other embodiments. Further, the following embodiments can be variously modified according to the design and the like as long as they do not deviate from the technical idea of the present invention.

(1)電気錠システムの構成
本実施形態に係る電気錠システム1は、図1に示すように、建物40の出入口を電動で解錠及び施錠するためのシステムである。ここでいう建物40の「出入口」とは、建物40の外(屋外41)と内(屋内42)とを隔てる扉(開き戸、引き戸など)又は窓であり、本実施形態では例えば玄関扉43である。ただし、建物40の出入口は玄関扉43に限定されず、勝手口に設けられた扉、掃き出し窓などでもよい。本実施形態では、建物40が戸建て住宅である場合を例にして説明する。この場合、電気錠システム1のユーザ50は、建物40の住人のうち、携帯端末3を所持(携帯)する人である。
(1) Configuration of Electric Lock System As shown in FIG. 1, the electric lock system 1 according to the present embodiment is a system for electrically unlocking and locking the entrance and exit of a building 40. The "doorway" of the building 40 referred to here is a door (swing door, sliding door, etc.) or window that separates the outside (outdoor 41) and the inside (indoor 42) of the building 40, and in the present embodiment, for example, the entrance door 43. is there. However, the entrance / exit of the building 40 is not limited to the entrance door 43, and may be a door provided at the door, a sweep-out window, or the like. In the present embodiment, the case where the building 40 is a detached house will be described as an example. In this case, the user 50 of the electric lock system 1 is a person who possesses (carries) the mobile terminal 3 among the residents of the building 40.

本実施形態の電気錠システム1は、図1及び図2に示すように、玄関扉43に設けられた電気錠装置2と、玄関扉43の解錠及び施錠を許可されたユーザ50が使用する1以上(例えば3台)の携帯端末3(3A,3B,3C)と、を備えている。携帯端末3は例えば電話機能を有する携帯電話端末であり、電気錠装置2と携帯端末3との間では電波を媒体とする無線通信が行われる。 As shown in FIGS. 1 and 2, the electric lock system 1 of the present embodiment is used by the electric lock device 2 provided on the entrance door 43 and the user 50 who is authorized to unlock and lock the entrance door 43. It includes one or more (for example, three) mobile terminals 3 (3A, 3B, 3C). The mobile terminal 3 is, for example, a mobile phone terminal having a telephone function, and wireless communication is performed between the electric lock device 2 and the mobile terminal 3 using radio waves as a medium.

電気錠システム10の基本的な機能としては、携帯端末3に予め記憶されている鍵情報を、携帯端末3が電気錠装置2に送信することによって、電気錠装置2での玄関扉43の解錠及び施錠を可能にする。すなわち、電気錠装置2と携帯端末3とが通信し、電気錠装置2において携帯端末3の持つ鍵情報の認証が成功した場合に、電気錠装置2は玄関扉43の解錠及び施錠が可能な状態となる。ここで、電気錠装置2は、認証の成功後、操作部25(図2参照)の所定の操作(解錠操作)を待って玄関扉43の解錠を行ってもよいし、解錠操作の有無にかかわらず、認証の成功後、直ちに玄関扉43の解錠を行ってもよい。結果的に、電気錠装置2は、携帯端末3との通信によって、施錠状態から解錠状態へ切り替える解錠動作、及び解錠状態から施錠状態へ切り替える施錠動作の少なくとも一方の動作を行う。 The basic function of the electric lock system 10 is to solve the entrance door 43 in the electric lock device 2 by transmitting the key information stored in advance in the mobile terminal 3 to the electric lock device 2. Allows locking and locking. That is, when the electric lock device 2 and the mobile terminal 3 communicate with each other and the key information of the mobile terminal 3 is successfully authenticated in the electric lock device 2, the electric lock device 2 can unlock and lock the entrance door 43. It becomes a state. Here, after the successful authentication, the electric lock device 2 may wait for a predetermined operation (unlocking operation) of the operation unit 25 (see FIG. 2) to unlock the entrance door 43, or the unlocking operation. The entrance door 43 may be unlocked immediately after the authentication is successful. As a result, the electric lock device 2 performs at least one of an unlocking operation for switching from the locked state to the unlocked state and a locking operation for switching from the unlocked state to the locked state by communicating with the mobile terminal 3.

上述したような電気錠装置2による解錠動作は、ユーザ50が屋外41に居るとき、つまりユーザ50の帰宅時と、ユーザ50が屋内42に居るとき、つまりユーザ50の外出時との少なくとも一方において行われる。本実施形態では、ユーザ50の帰宅時と外出時の両方において、電気錠装置2による解錠動作が行われる。 The unlocking operation by the electric lock device 2 as described above is at least one of when the user 50 is outdoors 41, that is, when the user 50 returns home and when the user 50 is indoors 42, that is, when the user 50 goes out. It is done in. In the present embodiment, the unlocking operation by the electric lock device 2 is performed both when the user 50 returns home and when he / she goes out.

ユーザ50の帰宅時には、屋外41に居るユーザ50が玄関扉43に近付いて、電気錠装置2を中心とする所定の操作範囲に携帯端末3が入った状態で、ユーザ50の所持する携帯端末3が電気錠装置2と通信することで、玄関扉43が解錠可能となる。同様に、ユーザ50の外出時には、屋内42に居るユーザ50が玄関扉43に近付いて、電気錠装置2を中心とする所定の操作範囲に携帯端末3が入った状態で、ユーザ50の所持する携帯端末3が電気錠装置2と通信することで、玄関扉43が解錠可能となる。ここにおいて、所定の操作範囲とは、携帯端末3を用いた電気錠装置2の操作が有効な範囲であり、所定の操作範囲の外側では携帯端末3を用いて解錠操作を行っても、電気錠装置2は解錠可能な状態とはならない。 When the user 50 returns home, the mobile terminal 3 possessed by the user 50 is in a state where the user 50 who is outdoors 41 approaches the entrance door 43 and the mobile terminal 3 is within a predetermined operation range centered on the electric lock device 2. Communicates with the electric lock device 2, so that the entrance door 43 can be unlocked. Similarly, when the user 50 goes out, the user 50 who is indoors 42 approaches the entrance door 43, and the user 50 possesses the mobile terminal 3 in a predetermined operation range centered on the electric lock device 2. When the mobile terminal 3 communicates with the electric lock device 2, the entrance door 43 can be unlocked. Here, the predetermined operation range is a range in which the operation of the electric lock device 2 using the mobile terminal 3 is effective, and even if the unlocking operation is performed using the mobile terminal 3 outside the predetermined operation range. The electric lock device 2 is not in an unlockable state.

また、電気錠装置2は、玄関扉43が解錠されている状態において、携帯端末3との通信によって携帯端末3の鍵情報と認証情報との認証が成功し、操作部25にて所定の操作(施錠操作)がなされると、玄関扉43の施錠を行う。つまり、電気錠装置2は、解錠操作だけでなく、携帯端末3との通信によって、解錠状態から施錠状態へ切り替える施錠動作も行うことができる。 Further, in the electric lock device 2, when the entrance door 43 is unlocked, the key information and the authentication information of the mobile terminal 3 are successfully authenticated by communication with the mobile terminal 3, and the operation unit 25 determines. When the operation (locking operation) is performed, the entrance door 43 is locked. That is, the electric lock device 2 can perform not only the unlocking operation but also the locking operation of switching from the unlocked state to the locked state by communicating with the mobile terminal 3.

ところで、図1及び図2の例では、扉(玄関扉43)の解錠及び施錠を許可された携帯端末3の台数が3台であるが、携帯端末3の台数は1台でも、2台以上でもよく、電気錠システム1が適用される建物40ごとに携帯端末3の台数は変化する。以下の説明において、複数台の携帯端末3のそれぞれについて説明する場合は、携帯端末3A,3B,3Cと記載し、携帯端末3A,3B,3Cに共通する説明を行う場合は携帯端末3と記載する。 By the way, in the examples of FIGS. 1 and 2, the number of mobile terminals 3 permitted to unlock and lock the door (entrance door 43) is three, but the number of mobile terminals 3 is one or two. The above may be sufficient, and the number of mobile terminals 3 varies depending on the building 40 to which the electric lock system 1 is applied. In the following description, when each of the plurality of mobile terminals 3 is described, it is described as mobile terminals 3A, 3B, 3C, and when the description common to the mobile terminals 3A, 3B, 3C is described, it is described as mobile terminal 3. To do.

また、電気錠システム1が適用される建物40に出入口が2箇所以上ある場合に、2箇所以上の出入口のそれぞれに電気錠装置2が設けられてもよく、電気錠装置2の台数は適宜変更が可能である。 Further, when the building 40 to which the electric lock system 1 is applied has two or more entrances and exits, the electric lock device 2 may be provided at each of the two or more entrances and exits, and the number of the electric lock devices 2 is appropriately changed. Is possible.

電気錠装置2は、錠側制御回路21と、錠側通信部22と、電気錠23と、錠側記憶部24と、操作部25と、報知部26と、開閉センサ27と、を備えている。電気錠装置2の動作モードには、電気錠23の動作を制御する通常モードと、調整モードとがある。 The electric lock device 2 includes a lock side control circuit 21, a lock side communication unit 22, an electric lock 23, a lock side storage unit 24, an operation unit 25, a notification unit 26, and an open / close sensor 27. There is. The operation mode of the electric lock device 2 includes a normal mode for controlling the operation of the electric lock 23 and an adjustment mode.

錠側制御回路21は、例えばプロセッサとメモリとを有するマイクロコンピュータを備えている。プロセッサがメモリに格納されているプログラムを実行することによって、比較部211、認証部212、錠制御部213、設定部214、通知部215などの機能が実現される。プロセッサが実行するプログラムは、マイクロコンピュータのメモリに予め記憶されているが、メモリカード等の記録媒体に記録されて提供されてもよいし、電気通信回線を通じて提供されてもよい。 The lock-side control circuit 21 includes, for example, a microcomputer having a processor and a memory. When the processor executes a program stored in the memory, functions such as a comparison unit 211, an authentication unit 212, a lock control unit 213, a setting unit 214, and a notification unit 215 are realized. The program executed by the processor is stored in the memory of the microcomputer in advance, but may be recorded in a recording medium such as a memory card and provided, or may be provided through a telecommunication line.

比較部211は、錠側通信部22が携帯端末3から受信した無線信号の受信信号強度(RSSI:Received Signal Strength Indication)と、錠側記憶部24が携帯端末3ごとに記憶している閾値との高低を比較する。比較部211は、例えば、受信信号強度が閾値よりも高いか否かの判定を行う。 The comparison unit 211 sets the received signal strength (RSSI) of the radio signal received from the mobile terminal 3 by the lock-side communication unit 22 and the threshold value stored by the lock-side storage unit 24 for each mobile terminal 3. Compare the high and low of. The comparison unit 211 determines, for example, whether or not the received signal strength is higher than the threshold value.

認証部212は、錠側通信部22が携帯端末3から受信した鍵情報を、錠側記憶部24が記憶する認証情報と照合することによって、鍵情報を送信してきた携帯端末3が、電気錠23の操作を許可された携帯端末3であるか否かを認証する。 The authentication unit 212 collates the key information received from the mobile terminal 3 by the lock-side communication unit 22 with the authentication information stored in the lock-side storage unit 24, so that the mobile terminal 3 that has transmitted the key information is an electric lock. It authenticates whether or not the mobile terminal 3 is permitted to operate the 23.

錠制御部213は、動作モードが通常モードである場合に、比較部211の比較結果が受信信号強度が閾値よりも高いという結果であり、かつ、認証部212が携帯端末3の認証に成功すると、電気錠23を制御(解錠制御及び施錠制御)する。 When the operation mode of the lock control unit 213 is the normal mode, the comparison result of the comparison unit 211 is that the received signal strength is higher than the threshold value, and the authentication unit 212 succeeds in authenticating the mobile terminal 3. , Controls the electric lock 23 (unlocking control and locking control).

設定部214は、電気錠装置2の動作モードが調整モードである場合に、錠側通信部22及び鍵側通信部32の少なくとも一方における受信信号強度の測定結果に基づいて、携帯端末3による電気錠装置2の操作が有効な操作範囲に関わる設定を行う。本実施形態では、設定部214は受信信号強度の閾値を設定することによって操作範囲を設定する。設定部214は、携帯端末3ごとに設定した閾値を錠側記憶部24に記憶する。 When the operation mode of the electric lock device 2 is the adjustment mode, the setting unit 214 receives electricity from the mobile terminal 3 based on the measurement result of the received signal strength in at least one of the lock side communication unit 22 and the key side communication unit 32. Make settings related to the operation range in which the operation of the lock device 2 is effective. In the present embodiment, the setting unit 214 sets the operation range by setting the threshold value of the received signal strength. The setting unit 214 stores the threshold value set for each mobile terminal 3 in the lock side storage unit 24.

通知部215は、電気錠装置2の動作モードが通常モードである場合の比較部211の比較結果と認証部212の認証結果との履歴に基づいて、履歴が所定の条件を満たすと通知信号を錠側通信部22から携帯端末3に送信する。ここにおいて、所定の条件とは、閾値の設定値が適切か否かを判定するための条件である。例えば、所定の条件は、認証部212が認証に成功しているにもかかわらず、比較部211の比較結果が受信信号強度が閾値以下となるために、携帯端末3を用いた操作が行われない失敗回数が、所定の判定回数を超えるという条件である。また、通知信号は、設定部214による閾値の設定を、携帯端末3を所持するユーザ50に促すための信号である。 The notification unit 215 sends a notification signal when the history satisfies a predetermined condition based on the history of the comparison result of the comparison unit 211 and the authentication result of the authentication unit 212 when the operation mode of the electric lock device 2 is the normal mode. It is transmitted from the lock side communication unit 22 to the mobile terminal 3. Here, the predetermined condition is a condition for determining whether or not the set value of the threshold value is appropriate. For example, under certain conditions, even though the authentication unit 212 has succeeded in authentication, the comparison result of the comparison unit 211 shows that the received signal strength is equal to or less than the threshold value, so that an operation using the mobile terminal 3 is performed. It is a condition that the number of failures does not exceed the predetermined number of determinations. Further, the notification signal is a signal for prompting the user 50 who owns the mobile terminal 3 to set the threshold value by the setting unit 214.

錠側通信部22は、例えばアンテナと、通信回路とを備え、電波を媒体とする無線通信を行う。錠側通信部22は、例えばBLE(Bluetooth(登録商標) Low Energy)の規格に準拠した近距離無線通信を行うように構成されている。BLEとは、無線PAN(Personal Area Network)技術であるBluetooth(登録商標)の仕様における、バージョン4.0の呼称である。錠側通信部22は、錠側制御回路21からの指令に従って、ビーコン信号を間欠的に送信する。また、錠側通信部22は、ビーコン信号に応答して鍵側通信部32から送信される応答信号を受信すると、携帯端末3の認証を行うための認証通信を電気錠装置2との間で開始する。 The lock-side communication unit 22 includes, for example, an antenna and a communication circuit, and performs wireless communication using radio waves as a medium. The lock-side communication unit 22 is configured to perform short-range wireless communication conforming to, for example, a BLE (Bluetooth (registered trademark) Low Energy) standard. BLE is the name of version 4.0 in the specifications of Bluetooth (registered trademark), which is a wireless PAN (Personal Area Network) technology. The lock-side communication unit 22 intermittently transmits a beacon signal in accordance with a command from the lock-side control circuit 21. Further, when the lock-side communication unit 22 receives the response signal transmitted from the key-side communication unit 32 in response to the beacon signal, the lock-side communication unit 22 transmits an authentication communication for authenticating the mobile terminal 3 with the electric lock device 2. Start.

錠側通信部22は、受信した無線信号の受信信号強度を測定する測定機能を有しており、受信信号強度の測定結果を錠側制御回路21に出力する。 The lock-side communication unit 22 has a measurement function for measuring the received signal strength of the received wireless signal, and outputs the measurement result of the received signal strength to the lock-side control circuit 21.

電気錠23は、建物40の玄関扉43(図1参照)を解錠及び施錠する。電気錠23は、デッドボルトと、駆動部と、駆動回路とを備えている。駆動回路は、錠制御部213から出力される制御信号(解錠信号又は施錠信号)に応じて駆動信号を生成し、生成した駆動信号を駆動部に出力する。駆動部は、電動モータと、電動モータの駆動力をデッドボルトに伝達する伝達機構とを備える。駆動部は、駆動回路から入力される駆動信号に従って駆動モータを駆動する。駆動モータの駆動力が伝達機構を介してデッドボルトに伝達されることによって、デッドボルトが施錠位置又は解錠位置に移動する。ここで、デッドボルトが施錠位置に移動した状態では、デッドボルトの少なくとも一部が、玄関扉43を支持する扉枠に設けられたボルト穴に挿入されており、この状態では玄関扉43が閉じた状態で保持される。デッドボルトが解錠位置に移動した状態では、デッドボルトの全体がボルト穴の外に出ており、この状態では玄関扉43の開閉が可能になる。 The electric lock 23 unlocks and locks the entrance door 43 (see FIG. 1) of the building 40. The electric lock 23 includes a dead bolt, a drive unit, and a drive circuit. The drive circuit generates a drive signal in response to a control signal (unlocking signal or lock signal) output from the lock control unit 213, and outputs the generated drive signal to the drive unit. The drive unit includes an electric motor and a transmission mechanism that transmits the driving force of the electric motor to the dead bolt. The drive unit drives the drive motor according to a drive signal input from the drive circuit. The driving force of the drive motor is transmitted to the dead bolt via the transmission mechanism, so that the dead bolt moves to the locking position or the unlocking position. Here, in the state where the dead bolt is moved to the locked position, at least a part of the dead bolt is inserted into the bolt hole provided in the door frame supporting the entrance door 43, and in this state, the entrance door 43 is closed. It is held in a state of being. When the dead bolt is moved to the unlocked position, the entire dead bolt is out of the bolt hole, and in this state, the entrance door 43 can be opened and closed.

錠側記憶部24は、例えば、EEPROM(Electrically Erasable and Programmable Read-Only Memory)のような電気的に書き換え可能な不揮発性メモリを備える。錠側記憶部24は、電気錠23の解錠操作及び施錠操作が許可された1台以上の携帯端末3の鍵情報を認証情報として記憶する。本実施形態では複数の携帯端末3のそれぞれに個別の鍵情報が付与されており、錠側記憶部24は、携帯端末3の識別情報と、当該携帯端末3に付与した鍵情報とを対応付けて記憶する。 The lock-side storage unit 24 includes, for example, an electrically rewritable non-volatile memory such as an EEPROM (Electrically Erasable and Programmable Read-Only Memory). The lock-side storage unit 24 stores the key information of one or more mobile terminals 3 permitted to unlock and lock the electric lock 23 as authentication information. In the present embodiment, individual key information is assigned to each of the plurality of mobile terminals 3, and the lock side storage unit 24 associates the identification information of the mobile terminal 3 with the key information assigned to the mobile terminal 3. And remember.

操作部25は、例えば、玄関扉43の屋外41側に設けられた押釦スイッチと、玄関扉43の屋内42側に設けられた押釦スイッチとを備える。操作部25は、錠側制御回路21に電気的に接続されている。使用者が屋外41側又は屋内42側の押釦スイッチを押すと、操作部25から錠側制御回路21に操作信号が入力される。 The operation unit 25 includes, for example, a push button switch provided on the outdoor 41 side of the entrance door 43 and a push button switch provided on the indoor 42 side of the entrance door 43. The operation unit 25 is electrically connected to the lock side control circuit 21. When the user presses the push button switch on the outdoor 41 side or the indoor 42 side, an operation signal is input from the operation unit 25 to the lock side control circuit 21.

報知部26は、例えば、複数の発光ダイオードを備えている。報知部26は、発光ダイオードの消灯、点灯、点滅によって、電気錠装置2の動作状態を報知する。 The notification unit 26 includes, for example, a plurality of light emitting diodes. The notification unit 26 notifies the operating state of the electric lock device 2 by turning off, turning on, and blinking the light emitting diode.

開閉センサ27は、玄関扉43が開いているか、閉じているかを検知する。開閉センサ27は、例えば、玄関扉43において扉枠と対向する部位に設けられた近接スイッチを備えている。開閉センサ27の近接スイッチが扉枠を検知していれば、開閉センサ27は、玄関扉43が閉じた状態(閉状態)にあると検知する。開閉センサ27の近接スイッチが扉枠を検知していなければ、開閉センサ27は、玄関扉43が開いた状態(開状態)にあると検知する。 The open / close sensor 27 detects whether the entrance door 43 is open or closed. The open / close sensor 27 includes, for example, a proximity switch provided at a portion of the entrance door 43 facing the door frame. If the proximity switch of the open / close sensor 27 detects the door frame, the open / close sensor 27 detects that the entrance door 43 is in the closed state (closed state). If the proximity switch of the open / close sensor 27 does not detect the door frame, the open / close sensor 27 detects that the entrance door 43 is in the open state (open state).

本実施形態では、図1に示すように、建物40の玄関扉43に取り付けられるケース28に、電気錠装置2の全ての構成要素が収納されている。 In the present embodiment, as shown in FIG. 1, all the components of the electric lock device 2 are housed in the case 28 attached to the entrance door 43 of the building 40.

携帯端末3は例えばスマートホンである。携帯端末3は、鍵側制御回路31と、鍵側通信部32と、表示部33と、鍵側記憶部34と、操作部35と、を備えている。 The mobile terminal 3 is, for example, a smart phone. The mobile terminal 3 includes a key-side control circuit 31, a key-side communication unit 32, a display unit 33, a key-side storage unit 34, and an operation unit 35.

鍵側制御回路31は、例えばプロセッサとメモリとを有するマイクロコンピュータを備えている。プロセッサがメモリに格納されているプログラムを実行することによって、鍵側制御回路31の機能が実現される。プロセッサが実行するプログラムは、マイクロコンピュータのメモリに予め記憶されているが、メモリカード等の記録媒体に記録されて提供されてもよいし、電気通信回線を通じて提供されてもよい。 The key-side control circuit 31 includes, for example, a microcomputer having a processor and a memory. The function of the key side control circuit 31 is realized by the processor executing the program stored in the memory. The program executed by the processor is stored in the memory of the microcomputer in advance, but may be recorded in a recording medium such as a memory card and provided, or may be provided through a telecommunication line.

鍵側通信部32は、例えばアンテナと、通信回路とを備えている。鍵側通信部32は、錠側通信部22との間で、例えばBLEの規格に準拠した近距離無線通信を行うように構成されている。鍵側通信部32は、鍵側制御回路31からの指令に従って、応答信号を送信する。また、鍵側通信部32は、錠側通信部22から間欠的に送信されるビーコン信号を受信する。鍵側通信部32は、ビーコン信号を受信すると、ビーコン信号を受信したことを通知するACK(ACKnowledgement)を電気錠装置2に送信する。携帯端末3からのACKを電気錠装置2が受信することにより、携帯端末3の認証を行うための認証通信が電気錠装置2と携帯端末3との間で開始される。また、鍵側通信部32は、受信した無線信号の受信信号強度を測定する機能を備えている。 The key-side communication unit 32 includes, for example, an antenna and a communication circuit. The key-side communication unit 32 is configured to perform short-range wireless communication with the lock-side communication unit 22, for example, in accordance with the BLE standard. The key-side communication unit 32 transmits a response signal in accordance with a command from the key-side control circuit 31. Further, the key-side communication unit 32 receives a beacon signal intermittently transmitted from the lock-side communication unit 22. When the key side communication unit 32 receives the beacon signal, it transmits an ACK (ACKnowledgement) notifying that the beacon signal has been received to the electric lock device 2. When the electric lock device 2 receives the ACK from the mobile terminal 3, the authentication communication for authenticating the mobile terminal 3 is started between the electric lock device 2 and the mobile terminal 3. Further, the key-side communication unit 32 has a function of measuring the received signal strength of the received wireless signal.

表示部33は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイなどの薄型ディスプレイ装置である。表示部33は、鍵側制御回路31によって表示内容が制御される。 The display unit 33 is a thin display device such as a liquid crystal display or an organic EL (Electro Luminescence) display. The display content of the display unit 33 is controlled by the key side control circuit 31.

鍵側記憶部34は、例えば、EEPROMのような電気的に書き換え可能な不揮発性メモリを備える。鍵側記憶部34は、携帯端末3に割り当てられた個別の識別情報、及び電気錠装置2から付与された鍵情報などを記憶する。また、鍵側記憶部34には、携帯端末3のコンピュータが実行するプログラムが記憶されている。このプログラムは予めメモリに記憶されていてもよいし、電気通信回線を介して、あるいは記録媒体に記憶された状態で提供されてもよい。 The key-side storage unit 34 includes, for example, an electrically rewritable non-volatile memory such as EEPROM. The key side storage unit 34 stores individual identification information assigned to the mobile terminal 3, key information given by the electric lock device 2, and the like. Further, the key side storage unit 34 stores a program executed by the computer of the mobile terminal 3. This program may be stored in a memory in advance, or may be provided via a telecommunication line or in a state of being stored in a recording medium.

操作部35は、例えば表示部33を構成するディスプレイ装置に設けられたタッチパネルを備える。タッチパネルは静電容量方式、感圧式などのタッチセンサを備える。使用者が表示部33を構成するディスプレイ装置に触れる操作(タップ操作、スワイプ操作など)を行うと、操作部35は操作に応じた信号を鍵側制御回路31に出力する。 The operation unit 35 includes, for example, a touch panel provided on the display device constituting the display unit 33. The touch panel is equipped with a capacitive touch sensor or a pressure sensitive touch sensor. When the user touches the display device constituting the display unit 33 (tap operation, swipe operation, etc.), the operation unit 35 outputs a signal corresponding to the operation to the key side control circuit 31.

(2)動作
以下に、本実施形態の電気錠システム1の動作について説明する。電気錠装置2の動作モードには通常モードと調整モードとがあり、各モードの動作を以下に説明する。
(2) Operation The operation of the electric lock system 1 of the present embodiment will be described below. The operation mode of the electric lock device 2 includes a normal mode and an adjustment mode, and the operation of each mode will be described below.

(2.1)調整モードの動作
通常モードにおいて電気錠装置2から携帯端末3が離れた位置にある状態で携帯端末3の認証が成功し、電気錠装置2が玄関扉43を解錠可能な状態になると、玄関扉43の解錠を許可されていない人が玄関扉43を解錠してしまう可能性がある。そこで、携帯端末3を用いて電気錠装置2の解錠及び施錠の操作が可能な操作範囲を制限する必要があり、本実施形態では受信信号強度に閾値を設定することによって、携帯端末3で電気錠装置2を操作可能な操作範囲を設定する。すなわち、調整モードでは、電気錠装置2の設定部214が受信信号強度の閾値を設定する。
(2.1) Operation in Adjustment Mode In the normal mode, the mobile terminal 3 is successfully authenticated while the mobile terminal 3 is located away from the electric lock device 2, and the electric lock device 2 can unlock the entrance door 43. In this state, a person who is not permitted to unlock the entrance door 43 may unlock the entrance door 43. Therefore, it is necessary to limit the operation range in which the electric lock device 2 can be unlocked and locked by using the mobile terminal 3. In the present embodiment, the mobile terminal 3 sets a threshold value for the received signal strength. The operating range in which the electric lock device 2 can be operated is set. That is, in the adjustment mode, the setting unit 214 of the electric lock device 2 sets the threshold value of the received signal strength.

調整モードでの電気錠システム1の動作について図3を参照して説明する。 The operation of the electric lock system 1 in the adjustment mode will be described with reference to FIG.

ユーザが電気錠装置2の操作部25を用いて所定の操作(例えば屋外41側の押釦スイッチを一定時間以上連続して押す操作など)を行うと、錠側制御回路21が操作部25からの操作信号に応じて動作モードを調整モードに設定する(ステップS1)。 When the user performs a predetermined operation (for example, an operation of continuously pressing the push button switch on the outdoor 41 side for a certain period of time or longer) using the operation unit 25 of the electric lock device 2, the lock side control circuit 21 is released from the operation unit 25. The operation mode is set to the adjustment mode according to the operation signal (step S1).

ユーザは、電気錠装置2の動作モードを調整モードにした後、調整対象の携帯端末3を所持した状態で、屋外41において電気錠装置2から所定の距離L1(例えば1m)だけ離れた場所に立つ。 After setting the operation mode of the electric lock device 2 to the adjustment mode, the user holds the mobile terminal 3 to be adjusted at a place separated from the electric lock device 2 by a predetermined distance L1 (for example, 1 m) outdoors 41. stand.

錠側制御回路21が調整モードで動作を開始すると、錠側制御回路21は錠側通信部22からビーコン信号を所定の周期で連続的に送信する(ステップS2,S4,…,S6)。錠側制御回路21は、調整モードで動作を開始すると、報知部26の発光ダイオードを例えば所定の周期で点滅させることによって、動作モードが調整モードであることをユーザ50に報知する。 When the lock-side control circuit 21 starts operating in the adjustment mode, the lock-side control circuit 21 continuously transmits a beacon signal from the lock-side communication unit 22 at a predetermined cycle (steps S2, S4, ..., S6). When the lock-side control circuit 21 starts the operation in the adjustment mode, the lock-side control circuit 21 notifies the user 50 that the operation mode is the adjustment mode by blinking the light emitting diode of the notification unit 26, for example, at a predetermined cycle.

携帯端末3の鍵側通信部32は、電気錠装置2から送信されたビーコン信号を受信すると、ビーコン信号に対する応答信号(ビーコン応答)を錠側通信部22に送信する(ステップS3,S5,…,S7)。錠側通信部22は、携帯端末3の鍵側通信部32からのビーコン応答を受信すると、受信したビーコン応答の受信信号強度を測定する。 When the key-side communication unit 32 of the mobile terminal 3 receives the beacon signal transmitted from the electric lock device 2, it transmits a response signal (beacon response) to the beacon signal to the lock-side communication unit 22 (steps S3, S5, ... , S7). When the lock-side communication unit 22 receives the beacon response from the key-side communication unit 32 of the mobile terminal 3, the lock-side communication unit 22 measures the reception signal strength of the received beacon response.

電気錠装置2の動作モードが調整モードである状態で、設定部214は、錠側通信部22における受信信号強度、つまり錠側通信部22が受信した無線信号の受信信号強度に基づいて、閾値の設定を行う(ステップS8)。 In a state where the operation mode of the electric lock device 2 is the adjustment mode, the setting unit 214 sets a threshold value based on the received signal strength of the lock-side communication unit 22, that is, the reception signal strength of the radio signal received by the lock-side communication unit 22. Is set (step S8).

設定部214は、調整モードにおいて錠側通信部22が所定時間の間に受信した複数の無線信号(ビーコン応答)の受信信号強度に基づいて、閾値の設定を行う。例えば、錠側通信部22が0.1秒程度の間隔でビーコン信号を定期的に送信し、錠側通信部22が10秒程度の間に受信した約100回分のビーコン応答の受信信号強度に基づいて設定部214が閾値を設定する。本実施形態の設定部214は、複数のビーコン応答の受信信号強度から受信信号強度の最高値X1(dB)を求め、受信信号強度の最高値X1(dB)に基づいて受信信号強度の閾値に設定する。 The setting unit 214 sets the threshold value based on the received signal strength of a plurality of radio signals (beacon responses) received by the lock side communication unit 22 during a predetermined time in the adjustment mode. For example, the lock-side communication unit 22 periodically transmits a beacon signal at intervals of about 0.1 seconds, and the reception signal strength of about 100 beacon responses received by the lock-side communication unit 22 in about 10 seconds. Based on this, the setting unit 214 sets the threshold value. The setting unit 214 of the present embodiment obtains the maximum value X1 (dB) of the received signal strength from the received signal strengths of the plurality of beacon responses, and sets the threshold value of the received signal strength based on the maximum value X1 (dB) of the received signal strength. Set.

ここで、携帯端末3を用いて電気錠装置2を操作可能な操作範囲内で電気錠装置2から最も離れた位置に携帯端末3があるときの携帯端末3と電気錠装置2との間の距離をL2とする。距離L2は例えば数十cm程度の距離であり、距離L2は調整モードでの距離L1よりも短い距離に設定されている。そして、電気錠装置2から携帯端末3までの距離が距離L1のときの受信信号強度と、距離L2のときの受信信号強度との差分が調整値Z1(dB)として錠側記憶部24に予め設定されている。 Here, between the mobile terminal 3 and the electric lock device 2 when the mobile terminal 3 is located at the position farthest from the electric lock device 2 within the operation range in which the electric lock device 2 can be operated by using the mobile terminal 3. Let the distance be L2. The distance L2 is, for example, a distance of about several tens of cm, and the distance L2 is set to be shorter than the distance L1 in the adjustment mode. Then, the difference between the received signal strength when the distance from the electric lock device 2 to the mobile terminal 3 is the distance L1 and the received signal strength when the distance is L2 is set in advance in the lock side storage unit 24 as an adjustment value Z1 (dB). It is set.

したがって、本実施形態の設定部214は、電気錠装置2と携帯端末3との距離がL1であるときの受信信号強度の最高値X1(dB)に、調整値Z1(例えば5dB)を加えた値を閾値として決定する。すなわち、閾値Y1は下記の式(1)で求められる。 Therefore, the setting unit 214 of the present embodiment adds an adjustment value Z1 (for example, 5 dB) to the maximum value X1 (dB) of the received signal strength when the distance between the electric lock device 2 and the mobile terminal 3 is L1. The value is determined as a threshold. That is, the threshold value Y1 is obtained by the following equation (1).

Y1=X1+Z1(dB) …(1)
これにより、閾値Y1は、電気錠装置2と携帯端末3との間の距離が調整時の距離L1よりも短い距離L2であるときの受信信号強度に対応した値に設定される。
Y1 = X1 + Z1 (dB) ... (1)
As a result, the threshold value Y1 is set to a value corresponding to the received signal strength when the distance between the electric lock device 2 and the mobile terminal 3 is a distance L2 shorter than the distance L1 at the time of adjustment.

ところで、通信環境の変化などによって無線信号の受信信号強度は低下する可能性はあるが、複数回の受信信号強度の最高値X1よりも受信信号強度が高くなる可能性は少ない。設定部214は、複数回の受信信号強度の最高値X1に基づいて閾値Y1を設定しているので、閾値Y1を適切な値に設定することができる。 By the way, although the received signal strength of the wireless signal may decrease due to a change in the communication environment or the like, it is unlikely that the received signal strength becomes higher than the maximum value X1 of the received signal strength of a plurality of times. Since the setting unit 214 sets the threshold value Y1 based on the maximum value X1 of the received signal strength a plurality of times, the threshold value Y1 can be set to an appropriate value.

また、錠側通信部22が受信したビーコン応答には携帯端末3の識別情報が含まれており、設定部214は閾値Y1を決定すると、この閾値Y1と携帯端末3の識別情報とを対応付けて錠側記憶部24に記憶する。これにより、電気錠装置2の錠側記憶部24は、複数台の携帯端末3に対して複数の閾値Y1をそれぞれ記憶することができる。つまり、設定部214は、複数台の携帯端末3のそれぞれについて個別の閾値Y1を設定することができる。 Further, the beacon response received by the lock-side communication unit 22 includes the identification information of the mobile terminal 3, and when the setting unit 214 determines the threshold value Y1, the threshold value Y1 is associated with the identification information of the mobile terminal 3. It is stored in the lock side storage unit 24. As a result, the lock-side storage unit 24 of the electric lock device 2 can store a plurality of threshold values Y1 for each of the plurality of mobile terminals 3. That is, the setting unit 214 can set individual threshold values Y1 for each of the plurality of mobile terminals 3.

設定部214による閾値Y1の設定が終了すると、錠側制御回路21は電気錠装置2の動作モードを通常モードに設定する(ステップS9)。錠側制御回路21は、電気錠装置2の動作モードを通常モードに設定すると、報知部26の発光ダイオードを、例えば一定時間点灯させた後に消灯させることで、調整モードが終了したことを報知する。 When the setting of the threshold value Y1 by the setting unit 214 is completed, the lock side control circuit 21 sets the operation mode of the electric lock device 2 to the normal mode (step S9). When the operation mode of the electric lock device 2 is set to the normal mode, the lock side control circuit 21 notifies that the adjustment mode has ended by turning on the light emitting diode of the notification unit 26 for a certain period of time and then turning it off. ..

ここで、調整モードにおいて、錠側制御回路21が、調整モードでのユーザ50の動作を指示する指示画面を表示部33に表示させる制御命令を、錠側通信部22から携帯端末3に送信してもよい。指示画面は、例えば、調整モードにおいて携帯端末3の向きや位置を変化させるようにユーザ50に指示する内容を表示する画面であり、静止画面でも動画面でもよい。これにより、調整モードにおいて携帯端末3の向きや位置を変化させることでき、携帯端末3の向きや位置が様々に変化した状態で、携帯端末3から電気錠装置2に送信されたビーコン応答の受信信号強度に基づいて、設定部214が閾値Y1を設定できる。 Here, in the adjustment mode, the lock side control circuit 21 transmits a control command for displaying an instruction screen instructing the operation of the user 50 in the adjustment mode on the display unit 33 from the lock side communication unit 22 to the mobile terminal 3. You may. The instruction screen is, for example, a screen for displaying the content instructing the user 50 to change the orientation or position of the mobile terminal 3 in the adjustment mode, and may be a static screen or a moving screen. As a result, the orientation and position of the mobile terminal 3 can be changed in the adjustment mode, and the beacon response transmitted from the mobile terminal 3 to the electric lock device 2 is received in a state where the orientation and position of the mobile terminal 3 are variously changed. The setting unit 214 can set the threshold value Y1 based on the signal strength.

(2.2)通常モードの動作
通常モードでの電気錠システム1の動作について図1に基づいて説明する。以下では、帰宅時に携帯端末3を用いて玄関扉43を解錠する場合の動作について説明する。
(2.2) Operation in Normal Mode The operation of the electric lock system 1 in the normal mode will be described with reference to FIG. The operation when the entrance door 43 is unlocked by using the mobile terminal 3 when returning home will be described below.

電気錠装置2の錠側通信部22は、通常モードでは、錠側制御回路21からの指令に従って、ビーコン信号を間欠的(例えば0.1〜2秒程度の間隔)に送信する。錠側制御回路21は、ビーコン信号を送信する処理と、ビーコン信号の送信後に一定時間、ビーコン応答を待ち受ける処理とを、所定の周期で繰り返す。 In the normal mode, the lock-side communication unit 22 of the electric lock device 2 intermittently transmits a beacon signal (for example, at intervals of about 0.1 to 2 seconds) according to a command from the lock-side control circuit 21. The lock-side control circuit 21 repeats a process of transmitting a beacon signal and a process of waiting for a beacon response for a certain period of time after transmitting the beacon signal at a predetermined cycle.

屋外41に居るユーザ50が玄関扉43に近付き、ユーザ50が所持する携帯端末3が、電気錠装置2を基準にして、携帯端末3と電気錠装置2との間で通信が可能な範囲(通信可能範囲)に入ると、鍵側通信部32が電気錠装置2からのビーコン信号を受信する。ここにおいて、通信可能範囲は上記の操作範囲よりも広い範囲である。鍵側制御回路31は、鍵側通信部32がビーコン信号を受信すると、ビーコン応答を鍵側通信部32から電気錠装置2に送信する。 A range in which the user 50 in the outdoor 41 approaches the entrance door 43, and the mobile terminal 3 possessed by the user 50 can communicate between the mobile terminal 3 and the electric lock device 2 with reference to the electric lock device 2 ( When entering the communicable range), the key-side communication unit 32 receives the beacon signal from the electric lock device 2. Here, the communicable range is wider than the above operating range. When the key-side communication unit 32 receives the beacon signal, the key-side control circuit 31 transmits a beacon response from the key-side communication unit 32 to the electric lock device 2.

電気錠装置2の錠側通信部22がビーコン応答を受信すると、比較部211が、錠側通信部22が受信したビーコン応答の受信信号強度と、錠側記憶部24が記憶する閾値Y1との高低を比較する。 When the lock-side communication unit 22 of the electric lock device 2 receives the beacon response, the comparison unit 211 sets the reception signal strength of the beacon response received by the lock-side communication unit 22 and the threshold value Y1 stored in the lock-side storage unit 24. Compare high and low.

また、電気錠装置2の錠側通信部22がビーコン応答を受信すると、認証部212が認証処理を開始する。認証部212が、認証処理を開始すると、錠側通信部22から携帯端末3へ鍵情報を要求する要求信号を送信する。携帯端末3の鍵側通信部32が要求信号を受信すると、鍵側制御回路31が、鍵側記憶部34に記憶された鍵情報を含めた応答信号を作成し、この応答信号を鍵側通信部32から電気錠装置2へ送信する。錠側通信部22が携帯端末3から応答信号を受信すると、認証部212は、応答信号に含まれる鍵情報及び携帯端末3の識別情報を、錠側記憶部24が記憶している認証情報と照合することによって、携帯端末3の認証を行う。 Further, when the lock side communication unit 22 of the electric lock device 2 receives the beacon response, the authentication unit 212 starts the authentication process. When the authentication unit 212 starts the authentication process, the lock side communication unit 22 transmits a request signal requesting key information to the mobile terminal 3. When the key side communication unit 32 of the mobile terminal 3 receives the request signal, the key side control circuit 31 creates a response signal including the key information stored in the key side storage unit 34, and this response signal is used for key side communication. It is transmitted from the unit 32 to the electric lock device 2. When the lock-side communication unit 22 receives the response signal from the mobile terminal 3, the authentication unit 212 uses the key information included in the response signal and the identification information of the mobile terminal 3 as the authentication information stored in the lock-side storage unit 24. By collating, the mobile terminal 3 is authenticated.

ここで、比較部211の比較結果が受信信号強度が閾値Y1以下であるという結果であるか、又は、認証部212の認証が失敗すると、錠制御部213は電気錠23の解錠を行わない。 Here, if the comparison result of the comparison unit 211 is that the received signal strength is equal to or less than the threshold value Y1, or if the authentication of the authentication unit 212 fails, the lock control unit 213 does not unlock the electric lock 23. ..

一方、比較部211の比較結果が受信信号強度が閾値Y1より高いという結果であり、かつ、認証部212の認証が成功すると、錠制御部213は電気錠23の解錠が可能な状態となる。ここで、受信信号強度などの2値間の比較において、「以下」としているところは、2値が等しい場合、及び2値の一方が他方を下回っている場合との両方を含む。ただし、これに限らず、ここでいう「以下」は、2値の一方が他方を下回っている場合のみを含む「より低い」と同義であってもよい。つまり、2値が等しい場合を含むか否かは、閾値の設定次第で任意に変更できるので、「以下」か「より低い」かに技術上の差異はない。同様に、「より高い」においても「以上」と同義であってもよい。 On the other hand, if the comparison result of the comparison unit 211 shows that the received signal strength is higher than the threshold value Y1 and the authentication of the authentication unit 212 is successful, the lock control unit 213 is in a state where the electric lock 23 can be unlocked. .. Here, in the comparison between two values such as the received signal strength, the place where "less than or equal to" is used includes both the case where the two values are equal and the case where one of the two values is less than the other. However, the present invention is not limited to this, and the term "less than or equal to" may be synonymous with "lower" including only the case where one of the binary values is less than the other. That is, whether or not the two values are equal can be arbitrarily changed depending on the setting of the threshold value, so there is no technical difference between "less than or equal to" and "lower". Similarly, "higher" may be synonymous with "greater than or equal to".

錠制御部213が電気錠23の解錠を可能な状態で、ユーザ50が操作部25の屋外41側の押釦スイッチを押すと、錠制御部213が解錠信号を生成し、錠制御部213で生成された解錠信号は電気錠23の駆動回路に入力される。駆動回路は、解錠信号に従ってデッドボルトを解錠位置に移動させる駆動信号を生成し、生成した駆動信号を駆動部に出力する。そして、駆動部は、駆動回路からの駆動信号に従ってデッドボルトを解錠位置に移動させる。デッドボルトが解錠位置に移動した状態では、玄関扉43を開けることができ、携帯端末3のユーザ50は玄関扉43を開けて、建物40の中に入ることができる。 When the user 50 presses the push button switch on the outdoor 41 side of the operation unit 25 while the lock control unit 213 is capable of unlocking the electric lock 23, the lock control unit 213 generates an unlock signal, and the lock control unit 213 generates an unlock signal. The unlocking signal generated in is input to the drive circuit of the electric lock 23. The drive circuit generates a drive signal for moving the dead bolt to the unlock position according to the unlock signal, and outputs the generated drive signal to the drive unit. Then, the drive unit moves the dead bolt to the unlocking position according to the drive signal from the drive circuit. In the state where the dead bolt is moved to the unlocked position, the entrance door 43 can be opened, and the user 50 of the mobile terminal 3 can open the entrance door 43 and enter the building 40.

電気錠23が玄関扉43を解錠している状態で、開閉センサ27が玄関扉43の開状態を検知した後、玄関扉43の閉状態を検知すると、錠制御部213が施錠信号を生成し、錠制御部213で生成された施錠信号は電気錠23の駆動回路に入力される。駆動回路は、施錠信号に従ってデッドボルトを施錠位置に移動させる駆動信号を生成し、生成した駆動信号を駆動部に出力する。そして、駆動部は、駆動回路からの駆動信号に従ってデッドボルトを施錠位置に移動させており、電気錠23が玄関扉43を施錠する。 When the open / close sensor 27 detects the open state of the front door 43 and then detects the closed state of the front door 43 while the electric lock 23 unlocks the front door 43, the lock control unit 213 generates a lock signal. Then, the lock signal generated by the lock control unit 213 is input to the drive circuit of the electric lock 23. The drive circuit generates a drive signal for moving the dead bolt to the lock position according to the lock signal, and outputs the generated drive signal to the drive unit. Then, the drive unit moves the dead bolt to the lock position according to the drive signal from the drive circuit, and the electric lock 23 locks the entrance door 43.

また、錠制御部213が電気錠23の解錠を可能にした時点から所定の待機時間が経過するまで、操作部25の押釦スイッチが押されなかった場合、錠制御部213は電気錠23の解錠が可能な状態を終了する。 Further, when the push button switch of the operation unit 25 is not pressed from the time when the lock control unit 213 enables the unlocking of the electric lock 23 until a predetermined standby time elapses, the lock control unit 213 is used for the electric lock 23. End the unlockable state.

上記した通常モードの動作説明は、帰宅時に携帯端末3を用いて玄関扉43を解錠する場合の動作であったが、外出時などに玄関扉43を施錠する場合の動作も同様であるので、その説明は省略する。 The above-mentioned operation explanation of the normal mode is an operation when the entrance door 43 is unlocked by using the mobile terminal 3 when returning home, but the operation when the entrance door 43 is locked when going out is also the same. , The description is omitted.

ところで、通常モードにおいて通信環境の悪化等によって電気錠装置2の錠側通信部22が携帯端末3から受信するビーコン応答の受信信号強度が低下すると、携帯端末3が所定の操作範囲にある場合でも、受信信号強度が閾値Y1よりも低くなる可能性がある。この場合、認証部212の認証は成功しているのに、比較部211の比較結果が受信信号強度が閾値Y1以下となるために、錠制御部213が電気錠23を解錠しない回数、つまり、携帯端末3を用いた玄関扉43の解錠に失敗する回数が増加する。 By the way, if the reception signal strength of the beacon response received from the mobile terminal 3 by the lock side communication unit 22 of the electric lock device 2 decreases due to deterioration of the communication environment in the normal mode, even if the mobile terminal 3 is within a predetermined operation range. , The received signal strength may be lower than the threshold value Y1. In this case, although the authentication of the authentication unit 212 is successful, the comparison result of the comparison unit 211 shows that the received signal strength is equal to or less than the threshold value Y1, so that the number of times the lock control unit 213 does not unlock the electric lock 23, that is, , The number of times that the entrance door 43 fails to be unlocked using the mobile terminal 3 increases.

ここで、電気錠装置2の通知部215は、動作モードが通常モードである場合の比較部211の比較結果と認証部212の認証結果との履歴に基づいて、当該履歴が所定の条件を満たすと設定部214による閾値Y1の再設定を促す通知信号を携帯端末3に送信している。電気錠装置2の錠制御部213は、携帯端末3の認証を行うごとに、比較部211の比較結果と認証部212の認証結果との履歴を錠側記憶部24に記憶する。通知部215は、認証部212が認証に成功した回数から比較部211の比較結果が受信信号強度が閾値Y1以下となる回数を引いた失敗回数と所定の判定回数との高低を比較する。通知部215は、失敗回数が判定回数以上になると、携帯端末3が電気錠装置2と通信可能な領域に入ったときに、設定部214による閾値Y1の設定を促す通知信号を錠側通信部22から携帯端末3に送信する。携帯端末3の鍵側通信部32が電気錠装置2から通知信号を受信すると、鍵側制御回路31は、スピーカから報知音を出力させるとともに、閾値Y1の再設定をユーザ50に促す通知内容を表示部33に表示する。携帯端末3のユーザ50が、表示部33に表示された通知内容を確認し、電気錠装置2の操作部25を用いて閾値Y1の設定を行うための所定の操作を行うと、「(2.1)調整モードの動作」で説明した動作によって閾値Y1が設定される。 Here, the notification unit 215 of the electric lock device 2 satisfies a predetermined condition based on the history of the comparison result of the comparison unit 211 and the authentication result of the authentication unit 212 when the operation mode is the normal mode. A notification signal prompting the setting unit 214 to reset the threshold value Y1 is transmitted to the mobile terminal 3. The lock control unit 213 of the electric lock device 2 stores the history of the comparison result of the comparison unit 211 and the authentication result of the authentication unit 212 in the lock side storage unit 24 each time the mobile terminal 3 is authenticated. The notification unit 215 compares the number of failures obtained by subtracting the number of times the comparison result of the comparison unit 211 is equal to or less than the threshold value Y1 from the number of times the authentication unit 212 succeeds in authentication, and the high or low number of predetermined determinations. When the number of failures exceeds the number of determinations, the notification unit 215 sends a notification signal prompting the setting unit 214 to set the threshold value Y1 when the mobile terminal 3 enters the area where the electric lock device 2 can communicate with the electric lock device 2. It is transmitted from 22 to the mobile terminal 3. When the key-side communication unit 32 of the mobile terminal 3 receives the notification signal from the electric lock device 2, the key-side control circuit 31 outputs a notification sound from the speaker and prompts the user 50 to reset the threshold value Y1. It is displayed on the display unit 33. When the user 50 of the mobile terminal 3 confirms the notification content displayed on the display unit 33 and performs a predetermined operation for setting the threshold value Y1 using the operation unit 25 of the electric lock device 2, "(2). The threshold value Y1 is set by the operation described in "1) Operation in adjustment mode".

(3)変形例
以下に、上記実施形態の変形例に係る電気錠システム及び電気錠装置を列記する。以下に説明する変形例の各構成は、上記実施形態で説明した各構成と適宜組み合わせて適用可能である。
(3) Modified Example The electric lock system and the electric lock device according to the modified example of the above embodiment are listed below. Each configuration of the modification described below can be applied in combination with each configuration described in the above embodiment as appropriate.

(3.1)変形例1
上記の実施形態において、設定部214には閾値Y1の下限値及び上限値が予め設定されていてもよい。設定部214は、「(2.1)調整モードの動作」で説明した式(1)で求めた閾値Y1の計算結果を下限値及び上限値とそれぞれ比較する。設定部214は、閾値Y1の計算結果が下限値を下回っていれば閾値Y1を下限値に設定し、閾値Y1の計算結果が上限値を上回っていれば閾値Y1を上限値に設定する。
(3.1) Modification 1
In the above embodiment, the lower limit value and the upper limit value of the threshold value Y1 may be set in advance in the setting unit 214. The setting unit 214 compares the calculation result of the threshold value Y1 obtained by the equation (1) described in "(2.1) Operation of the adjustment mode" with the lower limit value and the upper limit value, respectively. The setting unit 214 sets the threshold value Y1 to the lower limit value if the calculation result of the threshold value Y1 is lower than the lower limit value, and sets the threshold value Y1 to the upper limit value if the calculation result of the threshold value Y1 exceeds the upper limit value.

これにより、設定部214は、下限値と上限値との間の所望の範囲内の値に閾値Y1を設定することができる。したがって、閾値Y1が下限値よりも低い値や、上限値よりも高い値に設定されることがなく、携帯端末3を用いて電気錠装置2の解錠及び施錠を行える操作範囲を適正な範囲に設定することができる。 As a result, the setting unit 214 can set the threshold value Y1 to a value within a desired range between the lower limit value and the upper limit value. Therefore, the threshold value Y1 is not set to a value lower than the lower limit value or a value higher than the upper limit value, and the operation range in which the electric lock device 2 can be unlocked and locked using the mobile terminal 3 is an appropriate range. Can be set to.

(3.2)変形例2
上記の実施形態及び変形例1において、屋内42にある携帯端末3を用いて電気錠装置2の解錠及び施錠の操作を行えるようにしてもよい。この場合、設定部214は、閾値Y1として、携帯端末3が屋外41にあるときに使用される第1閾値と、携帯端末3が屋内42にあるときに使用される第2閾値とを設定してもよい。
(3.2) Modification 2
In the above embodiment and the first modification, the electric lock device 2 may be unlocked and locked by using the mobile terminal 3 located indoors 42. In this case, the setting unit 214 sets the threshold value Y1 as a first threshold value used when the mobile terminal 3 is outdoors 41 and a second threshold value used when the mobile terminal 3 is indoors 42. You may.

ここで、電気錠装置2の錠側制御回路21は、操作部25の屋外41側の押釦スイッチが押された場合は屋外41にある携帯端末3を用いた操作と判断し、操作部25の屋内42側の押釦スイッチが押された場合は屋内42にある携帯端末3を用いた操作と判断する。 Here, the lock-side control circuit 21 of the electric lock device 2 determines that when the push button switch on the outdoor 41 side of the operation unit 25 is pressed, it is determined that the operation is performed using the mobile terminal 3 in the outdoor 41, and the operation unit 25 When the push button switch on the indoor 42 side is pressed, it is determined that the operation is performed using the mobile terminal 3 in the indoor 42.

屋外41にいるユーザ50が、操作部25の屋外41側の押釦スイッチを用いて動作モードを調整モードにするための操作を行うと、錠側制御回路21は、操作部25からの操作信号に基づいて動作モードを第1閾値を調整する調整モードに設定する。設定部214は、「(2.1)調整モードの動作」で説明した調整モードの動作を行い、受信信号強度の測定結果に基づいて第1閾値を設定し、第1閾値を錠側記憶部24に記憶する。 When the user 50 in the outdoor 41 performs an operation for setting the operation mode to the adjustment mode by using the push button switch on the outdoor 41 side of the operation unit 25, the lock side control circuit 21 receives an operation signal from the operation unit 25. Based on this, the operation mode is set to the adjustment mode for adjusting the first threshold value. The setting unit 214 performs the operation of the adjustment mode described in "(2.1) Operation of the adjustment mode", sets the first threshold value based on the measurement result of the received signal strength, and sets the first threshold value on the lock side storage unit. Store in 24.

また、屋内42にいるユーザ50が、操作部25の屋内42側の押釦スイッチを用いて動作モードを調整モードにするための操作を行うと、錠側制御回路21は、操作部25からの操作信号に基づいて動作モードを第2閾値を調整する調整モードに設定する。設定部214は、「(2.1)調整モードの動作」で説明した調整モードの動作を行い、受信信号強度の測定結果に基づいて第2閾値を設定し、第2閾値を錠側記憶部24に記憶する。 Further, when the user 50 in the indoor 42 performs an operation for setting the operation mode to the adjustment mode by using the push button switch on the indoor 42 side of the operation unit 25, the lock side control circuit 21 is operated from the operation unit 25. The operation mode is set to the adjustment mode for adjusting the second threshold value based on the signal. The setting unit 214 performs the operation of the adjustment mode described in "(2.1) Operation of the adjustment mode", sets the second threshold value based on the measurement result of the received signal strength, and sets the second threshold value on the lock side storage unit. Store in 24.

これにより、設定部214は、閾値として、携帯端末3が屋外41にある場合の第1閾値と、携帯端末3が屋内42にある場合の第2閾値とを錠側記憶部24に記憶する。 As a result, the setting unit 214 stores the first threshold value when the mobile terminal 3 is outdoors 41 and the second threshold value when the mobile terminal 3 is indoors 42 in the lock side storage unit 24 as threshold values.

そして、電気錠装置2の動作モードが通常モードの状態では、電気錠装置2の錠側通信部22は、錠側制御回路21からの指令に従って、ビーコン信号を間欠的(例えば0.1〜2秒程度の間隔)に送信する。錠側制御回路21は、ビーコン信号を送信する処理と、ビーコン信号の送信後に一定時間、ビーコン信号に対する応答信号(ビーコン応答)を待ち受ける処理とを、所定の周期で繰り返す。 Then, when the operation mode of the electric lock device 2 is the normal mode, the lock side communication unit 22 of the electric lock device 2 intermittently (for example, 0.1 to 2) emits a beacon signal according to a command from the lock side control circuit 21. Send at intervals of about seconds). The lock-side control circuit 21 repeats a process of transmitting a beacon signal and a process of waiting for a response signal (beacon response) for the beacon signal for a certain period of time after transmitting the beacon signal at a predetermined cycle.

屋内42又は屋外41に居るユーザ50が玄関扉43に近付き、ユーザ50が所持する携帯端末3が、電気錠装置2を基準にして、携帯端末3と電気錠装置2との間で通信が可能な範囲に入ると、鍵側通信部32が電気錠装置2からのビーコン信号を受信する。鍵側制御回路31は、鍵側通信部32がビーコン信号を受信すると、ビーコン応答を鍵側通信部32から電気錠装置2に送信する。 The user 50 in the indoor 42 or the outdoor 41 approaches the entrance door 43, and the mobile terminal 3 possessed by the user 50 can communicate between the mobile terminal 3 and the electric lock device 2 with reference to the electric lock device 2. When entering the range, the key-side communication unit 32 receives the beacon signal from the electric lock device 2. When the key-side communication unit 32 receives the beacon signal, the key-side control circuit 31 transmits a beacon response from the key-side communication unit 32 to the electric lock device 2.

電気錠装置2の錠側通信部22がビーコン応答を受信すると、認証部212が認証処理を開始する。認証部212が、認証処理を開始すると、錠側通信部22から携帯端末3へ鍵情報を要求する要求信号を送信する。携帯端末3の鍵側通信部32が要求信号を受信すると、鍵側制御回路31が、鍵側記憶部34に記憶された鍵情報を含めた応答信号を作成し、この応答信号を鍵側通信部32から電気錠装置2へ送信する。錠側通信部22が携帯端末3から応答信号を受信すると、認証部212は、応答信号に含まれる鍵情報及び携帯端末3の識別情報を、錠側記憶部24が記憶している認証情報と照合することによって、携帯端末3の認証を行う。 When the lock-side communication unit 22 of the electric lock device 2 receives the beacon response, the authentication unit 212 starts the authentication process. When the authentication unit 212 starts the authentication process, the lock side communication unit 22 transmits a request signal requesting key information to the mobile terminal 3. When the key side communication unit 32 of the mobile terminal 3 receives the request signal, the key side control circuit 31 creates a response signal including the key information stored in the key side storage unit 34, and this response signal is used for key side communication. It is transmitted from the unit 32 to the electric lock device 2. When the lock-side communication unit 22 receives the response signal from the mobile terminal 3, the authentication unit 212 uses the key information included in the response signal and the identification information of the mobile terminal 3 as the authentication information stored in the lock-side storage unit 24. By collating, the mobile terminal 3 is authenticated.

ここで、屋外41にいるユーザ50が屋外41側の押釦スイッチを操作すると、錠側制御回路21は屋外41からの操作と判断し、比較部211が、錠側通信部22の受信信号強度と第1閾値との高低を比較する。 Here, when the user 50 in the outdoor 41 operates the push button switch on the outdoor 41 side, the lock side control circuit 21 determines that the operation is from the outdoor 41, and the comparison unit 211 determines the received signal strength of the lock side communication unit 22. Compare the height with the first threshold.

比較部211の比較結果が受信信号強度が第1閾値以下であるという結果であるか、又は、認証部212の認証が失敗すると、錠制御部213は電気錠23の解錠を行わない。 If the comparison result of the comparison unit 211 is that the received signal strength is equal to or less than the first threshold value, or if the authentication of the authentication unit 212 fails, the lock control unit 213 does not unlock the electric lock 23.

一方、比較部211の比較結果が受信信号強度が第1閾値より高いという結果であり、かつ、認証部212の認証が成功すると、錠制御部213は電気錠23を解錠する。すなわち、錠制御部213が解錠信号を生成し、錠制御部213で生成された解錠信号は電気錠23の駆動回路に入力され、電気錠23が玄関扉43を解錠する。 On the other hand, when the comparison result of the comparison unit 211 shows that the received signal strength is higher than the first threshold value and the authentication of the authentication unit 212 is successful, the lock control unit 213 unlocks the electric lock 23. That is, the lock control unit 213 generates an unlocking signal, the unlocking signal generated by the lock control unit 213 is input to the drive circuit of the electric lock 23, and the electric lock 23 unlocks the entrance door 43.

また、屋内42にいるユーザ50が屋内42側の押釦スイッチを操作すると、錠側制御回路21は屋内42からの操作と判断し、比較部211が、錠側通信部22の受信信号強度と第2閾値との高低を比較する。 Further, when the user 50 in the indoor 42 operates the push button switch on the indoor 42 side, the lock side control circuit 21 determines that the operation is from the indoor 42, and the comparison unit 211 determines the received signal strength of the lock side communication unit 22 and the first. Compare the height with the two thresholds.

比較部211の比較結果が受信信号強度が第2閾値以下であるという結果であるか、又は、認証部212の認証が失敗すると、錠制御部213は電気錠23の解錠を行わない。 If the comparison result of the comparison unit 211 is that the received signal strength is equal to or less than the second threshold value, or if the authentication of the authentication unit 212 fails, the lock control unit 213 does not unlock the electric lock 23.

一方、比較部211の比較結果が受信信号強度が第2閾値より高いという結果であり、かつ、認証部212の認証が成功すると、錠制御部213は電気錠23を解錠する。すなわち、錠制御部213が解錠信号を生成し、錠制御部213で生成された解錠信号は電気錠23の駆動回路に入力され、電気錠23が玄関扉43を解錠する。 On the other hand, when the comparison result of the comparison unit 211 shows that the received signal strength is higher than the second threshold value and the authentication of the authentication unit 212 is successful, the lock control unit 213 unlocks the electric lock 23. That is, the lock control unit 213 generates an unlocking signal, the unlocking signal generated by the lock control unit 213 is input to the drive circuit of the electric lock 23, and the electric lock 23 unlocks the entrance door 43.

そして、電気錠23が玄関扉43を解錠している状態で、開閉センサ27が玄関扉43の開状態を検知した後、玄関扉43の閉状態を検知すると、錠制御部213が施錠信号を生成する。錠制御部213で生成された施錠信号は電気錠23の駆動回路に入力され、電気錠23が玄関扉43を施錠する。 Then, when the open / close sensor 27 detects the open state of the entrance door 43 while the electric lock 23 unlocks the entrance door 43, and then detects the closed state of the entrance door 43, the lock control unit 213 detects the lock signal. To generate. The lock signal generated by the lock control unit 213 is input to the drive circuit of the electric lock 23, and the electric lock 23 locks the entrance door 43.

また、錠制御部213が電気錠23を解錠している状態で、所定の待機時間が経過すると、錠制御部213は電気錠23に施錠信号を出力し、電気錠23が玄関扉43を施錠する。 Further, when a predetermined waiting time elapses while the lock control unit 213 unlocks the electric lock 23, the lock control unit 213 outputs a lock signal to the electric lock 23, and the electric lock 23 closes the entrance door 43. Lock it.

携帯端末3が屋外41にある場合と携帯端末3が屋内42にある場合とでは、電気錠装置2と携帯端末3との距離が同じでも、電気錠装置2の錠側通信部22で受信される無線信号の受信信号強度が異なる。変形例2では、設定部214が、比較部211の閾値として第1閾値と第2閾値とを設定しているので、携帯端末3が屋外41にある場合と屋内42にある場合とでそれぞれ操作範囲を所望の範囲に設定することができる。 When the mobile terminal 3 is located outdoors 41 and when the mobile terminal 3 is located indoors 42, even if the distance between the electric lock device 2 and the mobile terminal 3 is the same, it is received by the lock side communication unit 22 of the electric lock device 2. The received signal strength of the radio signal is different. In the second modification, the setting unit 214 sets the first threshold value and the second threshold value as the threshold values of the comparison unit 211, so that the mobile terminal 3 can be operated depending on whether the mobile terminal 3 is outdoors 41 or indoors 42. The range can be set to the desired range.

(3.3)変形例3
上記の実施形態及び変形例1、2において、設定部214は、鍵側通信部32での受信信号強度の測定結果と、錠側通信部22での受信信号強度の測定結果とに基づいて、閾値Y2を設定してもよい。
(3.3) Modification 3
In the above-described embodiments and modifications 1 and 2, the setting unit 214 is based on the measurement result of the received signal strength of the key-side communication unit 32 and the measurement result of the reception signal strength of the lock-side communication unit 22. The threshold value Y2 may be set.

この場合の調整モードにおける動作を以下に説明する。 The operation in the adjustment mode in this case will be described below.

ユーザ50が電気錠装置2の操作部25を用いて所定の操作を行うと、錠側制御回路21が操作部25からの操作信号に応じて動作モードを調整モードに設定する。 When the user 50 performs a predetermined operation using the operation unit 25 of the electric lock device 2, the lock side control circuit 21 sets the operation mode to the adjustment mode according to the operation signal from the operation unit 25.

ユーザ50は、電気錠装置2の動作モードを調整モードにした後、調整対象の携帯端末3を所持した状態で、屋外41において電気錠装置2から所定の距離L1だけ離れた場所に立つ。 After setting the operation mode of the electric lock device 2 to the adjustment mode, the user 50 stands at a place separated from the electric lock device 2 by a predetermined distance L1 in the outdoor 41 while holding the mobile terminal 3 to be adjusted.

錠側制御回路21が調整モードで動作を開始すると、錠側制御回路21は錠側通信部22からビーコン信号を所定の周期で連続的に送信する。 When the lock-side control circuit 21 starts operating in the adjustment mode, the lock-side control circuit 21 continuously transmits a beacon signal from the lock-side communication unit 22 at a predetermined cycle.

携帯端末3の鍵側通信部32は、電気錠装置2から送信されたビーコン信号を受信すると、ビーコン信号の受信信号強度を測定し、受信信号強度の測定結果の情報を含めたビーコン応答を錠側通信部22に送信する。 When the key side communication unit 32 of the mobile terminal 3 receives the beacon signal transmitted from the electric lock device 2, it measures the reception signal strength of the beacon signal and locks the beacon response including the information of the measurement result of the reception signal strength. It is transmitted to the side communication unit 22.

錠側通信部22は、携帯端末3の鍵側通信部32からのビーコン応答を受信すると、受信したビーコン応答の受信信号強度を測定するとともに、受信したビーコン応答に含まれる携帯端末3での受信信号強度の測定結果の情報を取得する。 When the lock-side communication unit 22 receives the beacon response from the key-side communication unit 32 of the mobile terminal 3, the lock-side communication unit 22 measures the reception signal strength of the received beacon response and receives the beacon response on the mobile terminal 3 included in the received beacon response. Acquire information on the measurement result of signal strength.

そして、設定部214は、電気錠装置2の動作モードが調整モードである状態で、錠側通信部22での受信信号強度の測定結果と、鍵側通信部32での受信信号強度の測定結果とに基づいて、閾値Y2の設定を行う。 Then, the setting unit 214 measures the reception signal strength of the lock-side communication unit 22 and the reception signal strength of the key-side communication unit 32 in a state where the operation mode of the electric lock device 2 is the adjustment mode. Based on the above, the threshold value Y2 is set.

設定部214は、調整モードにおいて、鍵側通信部32が所定時間の間に受信した複数の無線信号(ビーコン信号)の受信信号強度と、錠側通信部22が所定時間の間に受信した複数の無線信号の受信信号強度とに基づいて、閾値Y2の設定を行う。 In the adjustment mode, the setting unit 214 receives the reception signal strength of the plurality of wireless signals (beacon signals) received by the key side communication unit 32 during the predetermined time, and the plurality of received signals received by the lock side communication unit 22 during the predetermined time. The threshold value Y2 is set based on the received signal strength of the radio signal of.

設定部214は、錠側通信部22が受信した複数回のビーコン応答の受信信号強度をもとに錠側通信部22での受信信号強度の最高値X1を求め、鍵側通信部32が受信した複数回のビーコン信号の受信信号強度をもとに鍵側通信部32での最高値X2を求める。 The setting unit 214 obtains the maximum value X1 of the received signal strength of the lock side communication unit 22 based on the reception signal strength of the plurality of beacon responses received by the lock side communication unit 22, and the key side communication unit 32 receives the signal. The maximum value X2 in the key side communication unit 32 is obtained based on the received signal strength of the plurality of beacon signals.

設定部214は、電気錠装置2と携帯端末3との距離がL1であるときの、電気錠装置2での受信信号強度の最高値X1(dB)と、携帯端末3での受信信号強度の最高値X2(dB)との総和に、調整値Z1(例えば5dB)を加えた値を閾値Y2として決定する。すなわち、閾値Y2は下記の式(2)で求められる。 The setting unit 214 determines the maximum value X1 (dB) of the received signal strength of the electric lock device 2 and the received signal strength of the mobile terminal 3 when the distance between the electric lock device 2 and the mobile terminal 3 is L1. The value obtained by adding the adjustment value Z1 (for example, 5 dB) to the sum of the maximum value X2 (dB) is determined as the threshold value Y2. That is, the threshold value Y2 is obtained by the following equation (2).

Y2=X1+X2+Z1(dB) …(2)
このようにして、設定部214が閾値Y2を設定すると、動作モードが通常モードである場合に、比較部211は、携帯端末3での受信信号強度の測定結果と電気錠装置2での受信信号強度の測定結果とに基づいて、閾値Y2との比較を行う。
Y2 = X1 + X2 + Z1 (dB) ... (2)
When the setting unit 214 sets the threshold value Y2 in this way, when the operation mode is the normal mode, the comparison unit 211 determines the measurement result of the received signal strength of the mobile terminal 3 and the received signal of the electric lock device 2. A comparison with the threshold value Y2 is performed based on the measurement result of the intensity.

電気錠装置2が通常モードで動作中に、屋外41において携帯端末3を所持するユーザ50が玄関扉43に近付き、携帯端末3が、電気錠装置2の通信可能範囲に入ると、鍵側通信部32が電気錠装置2からのビーコン信号を受信する。鍵側制御回路31は、鍵側通信部32がビーコン信号を受信すると、ビーコン信号の受信信号強度の測定結果の情報を含めたビーコン応答を鍵側通信部32から電気錠装置2に送信する。 While the electric lock device 2 is operating in the normal mode, when the user 50 who owns the mobile terminal 3 approaches the entrance door 43 outdoors 41 and the mobile terminal 3 enters the communicable range of the electric lock device 2, the key side communication The unit 32 receives the beacon signal from the electric lock device 2. When the key-side communication unit 32 receives the beacon signal, the key-side control circuit 31 transmits a beacon response including information on the measurement result of the reception signal strength of the beacon signal from the key-side communication unit 32 to the electric lock device 2.

電気錠装置2の錠側通信部22がビーコン応答を受信すると、比較部211が、錠側通信部22が受信したビーコン応答の受信信号強度及び鍵側通信部32での受信信号強度と、錠側記憶部24が記憶する閾値Y2との高低を比較する。すなわち、比較部211は、鍵側通信部32での受信信号強度X3に錠側通信部22での受信信号強度X4を加算した値(X3+X4)と、上記の閾値Y2との高低を比較する。 When the lock-side communication unit 22 of the electric lock device 2 receives the beacon response, the comparison unit 211 determines the reception signal strength of the beacon response received by the lock-side communication unit 22 and the reception signal strength of the key-side communication unit 32. The height with the threshold value Y2 stored in the side storage unit 24 is compared. That is, the comparison unit 211 compares the value (X3 + X4) obtained by adding the reception signal strength X4 of the lock side communication unit 22 to the reception signal strength X3 of the key side communication unit 32 and the height of the threshold value Y2.

また、電気錠装置2の錠側通信部22がビーコン応答を受信すると、認証部212が認証処理を開始する。認証部212が認証処理を開始すると、認証部212は錠側通信部22から携帯端末3へ鍵情報を要求する要求信号を送信する。携帯端末3の鍵側通信部32が要求信号を受信すると、鍵側制御回路31が、鍵側記憶部34に記憶された鍵情報を含めた応答信号を作成し、この応答信号を鍵側通信部32から電気錠装置2へ送信する。錠側通信部22が携帯端末3から応答信号を受信すると、認証部212は、応答信号に含まれる鍵情報及び携帯端末3の識別情報を、錠側記憶部24が記憶している認証情報と照合することによって、携帯端末3の認証を行う。 Further, when the lock side communication unit 22 of the electric lock device 2 receives the beacon response, the authentication unit 212 starts the authentication process. When the authentication unit 212 starts the authentication process, the authentication unit 212 transmits a request signal requesting key information from the lock side communication unit 22 to the mobile terminal 3. When the key side communication unit 32 of the mobile terminal 3 receives the request signal, the key side control circuit 31 creates a response signal including the key information stored in the key side storage unit 34, and this response signal is used for key side communication. It is transmitted from the unit 32 to the electric lock device 2. When the lock-side communication unit 22 receives the response signal from the mobile terminal 3, the authentication unit 212 uses the key information included in the response signal and the identification information of the mobile terminal 3 as the authentication information stored in the lock-side storage unit 24. By collating, the mobile terminal 3 is authenticated.

ここで、比較部211の比較結果が受信信号強度(X3+X4)が閾値Y2以下であるという結果であるか、又は、認証部212の認証が失敗すると、錠制御部213は電気錠23の解錠を行わない。 Here, if the comparison result of the comparison unit 211 is that the received signal strength (X3 + X4) is equal to or less than the threshold value Y2, or if the authentication of the authentication unit 212 fails, the lock control unit 213 unlocks the electric lock 23. Do not do.

一方、比較部211の比較結果が受信信号強度(X3+X4)が閾値Y2より高いという結果であり、かつ、認証部212の認証が成功すると、錠制御部213は電気錠23の解錠が可能な状態となる。錠制御部213が電気錠23の解錠を可能な状態で、ユーザ50が操作部25の押釦スイッチを押すと、錠制御部213が解錠信号を電気錠23に出力し、電気錠23が玄関扉43を解錠する。 On the other hand, if the comparison result of the comparison unit 211 shows that the received signal strength (X3 + X4) is higher than the threshold value Y2 and the authentication of the authentication unit 212 is successful, the lock control unit 213 can unlock the electric lock 23. It becomes a state. When the user 50 presses the push button switch of the operation unit 25 while the lock control unit 213 can unlock the electric lock 23, the lock control unit 213 outputs an unlocking signal to the electric lock 23, and the electric lock 23 outputs the unlocking signal to the electric lock 23. The entrance door 43 is unlocked.

電気錠23が玄関扉43を解錠している状態で、開閉センサ27が玄関扉43の開状態を検知した後、玄関扉43の閉状態を検知すると、錠制御部213が施錠信号を生成する。錠制御部213で生成された施錠信号は電気錠23の駆動回路に入力され、電気錠23が玄関扉43を施錠する。 When the open / close sensor 27 detects the open state of the front door 43 and then detects the closed state of the front door 43 while the electric lock 23 unlocks the front door 43, the lock control unit 213 generates a lock signal. To do. The lock signal generated by the lock control unit 213 is input to the drive circuit of the electric lock 23, and the electric lock 23 locks the entrance door 43.

また、錠制御部213が電気錠23の解錠を可能にした時点から所定の待機時間が経過するまで、操作部25の押釦スイッチが押されなかった場合、錠制御部213は電気錠23に施錠信号を出力し、電気錠23が玄関扉43を施錠する。 Further, if the push button switch of the operation unit 25 is not pressed from the time when the lock control unit 213 enables the unlocking of the electric lock 23 until a predetermined standby time elapses, the lock control unit 213 is changed to the electric lock 23. A lock signal is output, and the electric lock 23 locks the entrance door 43.

このように、変形例3では、比較部211は、携帯端末3での受信信号強度及び電気錠装置2での受信信号強度の両方に基づく値と閾値Y2との高低を比較している。したがって、電気錠装置2の送信電力及び携帯端末の送信電力にそれぞればらつきがある場合でも、携帯端末3による操作範囲のばらつきを抑制できる。 As described above, in the modification 3, the comparison unit 211 compares the height of the threshold value Y2 with the value based on both the reception signal strength of the mobile terminal 3 and the reception signal strength of the electric lock device 2. Therefore, even if there are variations in the transmission power of the electric lock device 2 and the transmission power of the mobile terminal, it is possible to suppress variations in the operating range of the mobile terminal 3.

(3.4)その他の変形例
上記の実施形態及び変形例1〜3では、設定部214が、調整モードでの複数の受信信号強度の測定結果の最高値に基づいて閾値を設定しているが、複数の受信信号強度の測定結果に基づいて閾値を設定すればよい。設定部214は、調整モードでの複数の受信信号強度の測定結果をもとに、例えば複数の受信信号強度の平均値、最頻値、中央値、最低値などに基づいて閾値を設定してもよい。
(3.4) Other Modified Examples In the above embodiments and modified examples 1 to 3, the setting unit 214 sets the threshold value based on the maximum value of the measurement results of the plurality of received signal intensities in the adjustment mode. However, the threshold value may be set based on the measurement results of a plurality of received signal strengths. The setting unit 214 sets a threshold value based on, for example, the average value, the mode value, the median value, the minimum value, etc. of the plurality of received signal strengths based on the measurement results of the plurality of received signal strengths in the adjustment mode. May be good.

上記の実施形態及び変形例1〜3において、錠側通信部22と鍵側通信部32とは、使用する周波数帯域に周波数が異なる複数の周波数チャネルを設定し、周波数チャネルの切り替えを行いながら無線通信を行っている。例えば、錠側通信部22がビーコン信号を送信する場合は、錠側通信部22は3つの周波数チャネルでビーコン信号を送信している。ここで、錠側通信部22と鍵側通信部32との間の伝送損失などは、使用する周波数チャネルによって異なるため、設定部214は複数の周波数チャネルに対して複数の閾値をそれぞれ設定するのが好ましい。 In the above-described embodiments and modifications 1 to 3, the lock-side communication unit 22 and the key-side communication unit 32 wirelessly set a plurality of frequency channels having different frequencies in the frequency band to be used, and switch the frequency channels. Communicating. For example, when the lock-side communication unit 22 transmits a beacon signal, the lock-side communication unit 22 transmits the beacon signal on three frequency channels. Here, since the transmission loss between the lock-side communication unit 22 and the key-side communication unit 32 differs depending on the frequency channel used, the setting unit 214 sets a plurality of threshold values for each of the plurality of frequency channels. Is preferable.

電気錠装置2の比較部211は、通常モードにおいて、錠側通信部22が受信した無線信号の無線信号強度と、使用した周波数チャネルでの閾値との高低を比較している。したがって、電気錠装置2と携帯端末3との間で複数の周波数チャネルを使用して無線通信を行う場合でも、携帯端末3を用いて電気錠装置2の操作が行える操作範囲のばらつきを低減することができる。 The comparison unit 211 of the electric lock device 2 compares the height of the radio signal strength of the radio signal received by the lock-side communication unit 22 with the threshold value in the frequency channel used in the normal mode. Therefore, even when wireless communication is performed between the electric lock device 2 and the mobile terminal 3 using a plurality of frequency channels, it is possible to reduce variations in the operating range in which the electric lock device 2 can be operated using the mobile terminal 3. be able to.

また、上記の実施形態及び変形例1〜3において、錠側通信部22は、複数のアンテナを有するダイバーシティアンテナを使用して無線通信を行っていてもよい。ここで、複数のアンテナのそれぞれで利得や通信特性が異なるため、設定部214は、ダイバーシティアンテナが有する複数のアンテナに対して複数の閾値をそれぞれ設定してもよい。すなわち、設定部214は、調整モードにおいて、錠側通信部22が使用するアンテナを順番に切り替え、各々のアンテナについて、錠側通信部22が受信した複数回の受信信号強度に基づいて閾値を設定する。 Further, in the above-described embodiments and modifications 1 to 3, the lock-side communication unit 22 may perform wireless communication using a diversity antenna having a plurality of antennas. Here, since the gain and communication characteristics are different for each of the plurality of antennas, the setting unit 214 may set a plurality of threshold values for each of the plurality of antennas of the diversity antenna. That is, in the adjustment mode, the setting unit 214 switches the antennas used by the lock-side communication unit 22 in order, and sets a threshold value for each antenna based on the strength of the received signal received by the lock-side communication unit 22 a plurality of times. To do.

そして、電気錠装置2の比較部211は、通常モードにおいて、錠側通信部22が受信した無線信号の無線信号強度と、使用したアンテナでの閾値との高低を比較している。したがって、電気錠装置2と携帯端末3との間でダイバーシティアンテナを使用して無線通信を行う場合でも、携帯端末3を用いて電気錠装置2の操作が行える操作範囲のばらつきを低減することができる。 Then, the comparison unit 211 of the electric lock device 2 compares the height of the radio signal strength of the radio signal received by the lock side communication unit 22 with the threshold value of the antenna used in the normal mode. Therefore, even when wireless communication is performed between the electric lock device 2 and the mobile terminal 3 using the diversity antenna, it is possible to reduce variations in the operating range in which the electric lock device 2 can be operated using the mobile terminal 3. it can.

上記の実施形態及び変形例1〜3において、錠側通信部22と鍵側通信部32とは、BLEの規格に準拠した近距離無線通信方式で通信を行っているが、錠側通信部22と鍵側通信部32との通信方式はBLEの規格に準拠した近距離無線通信方式に限定されない。錠側通信部22と鍵側通信部32とは、ZigBee(登録商標)の規格に準拠した無線通信方式などでもよい。 In the above embodiments and modifications 1 to 3, the lock-side communication unit 22 and the key-side communication unit 32 communicate with each other by a short-range wireless communication method conforming to the BLE standard, but the lock-side communication unit 22 The communication method between the key side communication unit 32 and the key side communication unit 32 is not limited to the short-range wireless communication method conforming to the BLE standard. The lock-side communication unit 22 and the key-side communication unit 32 may be a wireless communication system conforming to the ZigBee (registered trademark) standard.

上記の実施形態及び変形例1〜3では、錠制御部213が電気錠23を制御可能な状態で操作部25が操作されると電気錠23を制御するが、操作部25の操作は必須ではない。すなわち、錠制御部213は、比較部211の比較結果が受信信号強度が閾値以上であるとの比較結果であり、かつ、認証部212の認証に成功すると、電気錠23を解錠又は施錠する制御を行ってもよい。 In the above-described embodiments and modifications 1 to 3, when the operation unit 25 is operated while the lock control unit 213 can control the electric lock 23, the electric lock 23 is controlled, but the operation of the operation unit 25 is not essential. Absent. That is, the lock control unit 213 unlocks or locks the electric lock 23 when the comparison result of the comparison unit 211 is the comparison result that the received signal strength is equal to or higher than the threshold value and the authentication of the authentication unit 212 is successful. Control may be performed.

上記の実施形態及び変形例1〜3では、通常モードにおいて失敗回数が判定回数以上になるという条件が成立すると、通知部215が閾値の設定を促す通知信号を携帯端末3に送信しているが、所定の条件は上記の条件に限定されない。通知部215は、例えば、認証に成功した回数に対する失敗回数の割合が所定の判定値以上になるという条件が成立すると、閾値の設定を促す通知信号を携帯端末3に送信してもよい。 In the above-described embodiments and modifications 1 to 3, when the condition that the number of failures exceeds the number of determinations in the normal mode is satisfied, the notification unit 215 transmits a notification signal prompting the setting of the threshold value to the mobile terminal 3. , The predetermined conditions are not limited to the above conditions. For example, the notification unit 215 may transmit a notification signal prompting the setting of the threshold value to the mobile terminal 3 when the condition that the ratio of the number of failures to the number of successful authentications is equal to or greater than a predetermined determination value is satisfied.

上記の実施形態及び変形例1〜3では、携帯端末3がスマートホンのような電話機能を有する携帯端末であるが、携帯端末3に電話機能は必須ではない。携帯端末3は、コンピュータを電気錠装置2の鍵として動作させるためのプログラム(アプリ)を実行可能な携帯端末であれば、タブレット型のコンピュータなどでもよい。 In the above-described embodiments and modifications 1 to 3, the mobile terminal 3 is a mobile terminal having a telephone function such as a smart phone, but the mobile terminal 3 does not have a telephone function. The mobile terminal 3 may be a tablet-type computer or the like as long as it is a mobile terminal capable of executing a program (application) for operating the computer as a key of the electric lock device 2.

上記の実施形態及び変形例1〜3では、携帯端末3が、電気錠23の解錠及び施錠の両方の操作を行うことができるが、携帯端末3は、電気錠23の解錠及び施錠の一方の操作だけを行うものでもよい。 In the above-described embodiments and modifications 1 to 3, the mobile terminal 3 can perform both unlocking and locking of the electric lock 23, but the mobile terminal 3 unlocks and locks the electric lock 23. It may be the one that performs only one operation.

上記の実施形態及び変形例1〜3では、建物40の「出入口」が、建物40の内(屋内42)と外(屋外41)とを隔てる扉(開き戸又は引き戸)又は窓であったが、建物40の一部の区画の内と外とを隔てる扉であってもよい。例えば、建物40に複数の住戸が入居する集合住宅、建物40に複数の店舗が入居するテナントビル、及び建物40に複数の事務所が入居するオフィスビルでは、個々の区画(住戸、店舗、事務所)の内と外とを隔てる扉が各区画の出入口となる。 In the above-described embodiments and modifications 1 to 3, the "doorway" of the building 40 is a door (swing door or sliding door) or window that separates the inside (indoor 42) and the outside (outdoor 41) of the building 40. It may be a door that separates the inside and the outside of a part of the building 40. For example, in an apartment house in which a plurality of dwelling units are housed in a building 40, a tenant building in which a plurality of stores are housed in a building 40, and an office building in which a plurality of offices are housed in a building 40, individual sections (dwelling units, stores, office work) are used. The door that separates the inside and the outside of the building is the entrance to each section.

上記の実施形態及び変形例1〜3では、電気錠システム1が戸建て住宅に適用されているが、集合住宅の各住戸に適用されてもよく、集合住宅の共用部玄関に設置された共用玄関(いわゆるロビーインターホン)を操作するものでもよい。また、電気錠システム1は、例えば事務所、店舗、又は工場などの非住宅用の建物40に適用されてもよい。 In the above embodiments and modifications 1 to 3, the electric lock system 1 is applied to the detached house, but it may be applied to each dwelling unit of the apartment house, and the common entrance installed at the common part entrance of the apartment house. It may be the one that operates (so-called lobby intercom). Further, the electric lock system 1 may be applied to a non-residential building 40 such as an office, a store, or a factory.

上記の実施形態及び変形例1〜3では、玄関扉43に取り付けられたケース28に、電気錠装置2の全ての構成要素が収納されているが、電気錠装置2の構成要素が複数のケースに分散して収納されてもよい。例えば、電気錠装置2の構成要素が、玄関扉43に取り付けられる第1ケースと、建物40の屋内42に設置される第2ケースとに、分散して収納されていてもよい。 In the above-described embodiments and modifications 1 to 3, all the components of the electric lock device 2 are housed in the case 28 attached to the entrance door 43, but the case where the components of the electric lock device 2 are a plurality of components. It may be distributed and stored in. For example, the components of the electric lock device 2 may be distributed and stored in a first case attached to the entrance door 43 and a second case installed in the indoor 42 of the building 40.

(実施形態2)
上記の実施形態1(変形例を含む)では、電気錠装置2が、閾値を設定する設定部214を備えていたが、本実施形態では、携帯端末3が閾値を設定する設定部を備えている。すなわち、携帯端末3の鍵側制御回路31が、閾値を設定する設定部の機能を備えている。実施形態2で説明した構成は、実施形態1で説明した構成(変形例を含む)と適宜組み合わせて適用可能である。
(Embodiment 2)
In the above embodiment 1 (including a modification), the electric lock device 2 is provided with a setting unit 214 for setting a threshold value, but in the present embodiment, the mobile terminal 3 is provided with a setting unit for setting a threshold value. There is. That is, the key side control circuit 31 of the mobile terminal 3 has a function of a setting unit for setting a threshold value. The configuration described in the second embodiment can be applied in appropriate combination with the configuration (including a modification) described in the first embodiment.

本実施形態の電気錠システム1では、電気錠装置2の動作モードとして通常モードと調整モードとがあり、携帯端末3の動作モードとして通常モードと調整モードとがある。 In the electric lock system 1 of the present embodiment, the operation mode of the electric lock device 2 includes a normal mode and an adjustment mode, and the operation mode of the mobile terminal 3 includes a normal mode and an adjustment mode.

本実施形態の電気錠システム1の調整モードでの動作を図4を参照して説明する。 The operation of the electric lock system 1 of the present embodiment in the adjustment mode will be described with reference to FIG.

ユーザが電気錠装置2の操作部25を用いて所定の操作(例えば押釦スイッチを一定時間以上連続して押す操作など)を行うと、錠側制御回路21が操作部25からの操作信号に応じて動作モードを調整モードに設定する(ステップS11)。錠側制御回路21は、調整モードで動作を開始すると、報知部26の発光ダイオードを例えば所定の周期で点滅させることによって、動作モードが調整モードであることをユーザ50に報知する。 When the user performs a predetermined operation (for example, an operation of continuously pressing the push button switch for a certain period of time or longer) using the operation unit 25 of the electric lock device 2, the lock side control circuit 21 responds to an operation signal from the operation unit 25. The operation mode is set to the adjustment mode (step S11). When the lock-side control circuit 21 starts the operation in the adjustment mode, the lock-side control circuit 21 notifies the user 50 that the operation mode is the adjustment mode by blinking the light emitting diode of the notification unit 26, for example, at a predetermined cycle.

ユーザ50は、電気錠装置2の動作モードを調整モードにした後、調整対象の携帯端末3を所持した状態で、屋外41において電気錠装置2から所定の距離L1(例えば1m)だけ離れた場所に立つ。 After setting the operation mode of the electric lock device 2 to the adjustment mode, the user 50 is at a place separated from the electric lock device 2 by a predetermined distance L1 (for example, 1 m) in the outdoor 41 while holding the mobile terminal 3 to be adjusted. Stand in.

錠側制御回路21が調整モードで動作を開始すると、錠側制御回路21は錠側通信部22から携帯端末3の動作モードを調整モードにするモード設定信号を送信する(ステップS12)。 When the lock-side control circuit 21 starts operating in the adjustment mode, the lock-side control circuit 21 transmits a mode setting signal for setting the operation mode of the mobile terminal 3 to the adjustment mode from the lock-side communication unit 22 (step S12).

携帯端末3の鍵側通信部32が電気錠装置2からモード設定信号を受信すると、鍵側制御回路31は、動作モードを調整モードとして(ステップS13)、ビーコン信号の受信に備える。 When the key-side communication unit 32 of the mobile terminal 3 receives the mode setting signal from the electric lock device 2, the key-side control circuit 31 sets the operation mode as the adjustment mode (step S13) and prepares for receiving the beacon signal.

錠側制御回路21は、モード設定信号の送信後に所定の待機時間(例えば1秒から数秒程度の時間)が経過すると、錠側通信部22から所定の送信出力でビーコン信号を送信する(ステップS14,S15,…,S16)。錠側通信部22は、例えば、所定の周期(0.1秒程度の周期)でビーコン信号を定期的に送信する。 When a predetermined standby time (for example, a time of about 1 second to several seconds) elapses after the mode setting signal is transmitted, the lock side control circuit 21 transmits a beacon signal from the lock side communication unit 22 with a predetermined transmission output (step S14). , S15, ..., S16). The lock-side communication unit 22 periodically transmits a beacon signal at a predetermined cycle (a cycle of about 0.1 seconds), for example.

携帯端末3の鍵側通信部32は、電気錠装置2から送信されたビーコン信号を受信すると、ビーコン信号の受信信号強度を測定する。鍵側制御回路31は、鍵側通信部32が受信した複数のビーコン信号の受信信号強度に基づいて、受信信号強度の閾値を設定する(ステップS17)。ここにおいて、鍵側制御回路31は、複数のビーコン信号の受信信号強度から、受信信号強度の最高値X1を求め、受信信号強度の最高値X1に所定の調整値Z1を加えた値を閾値Y1として決定する。設定部としての鍵側制御回路31は、受信信号強度の閾値を決定すると、決定した閾値の情報を含めた無線信号を鍵側通信部32から電気錠装置2に送信し(ステップS18)、動作モードを通常モードとする(ステップS19)。また、電気錠装置2の錠側通信部22が携帯端末3から送信された無線信号を受信すると、錠側制御回路21は、無線信号に含まれる閾値を錠側記憶部24に記憶し、動作モードを通常モードとする(ステップS20)。 When the key side communication unit 32 of the mobile terminal 3 receives the beacon signal transmitted from the electric lock device 2, the key side communication unit 32 measures the reception signal strength of the beacon signal. The key-side control circuit 31 sets a threshold value for the received signal strength based on the received signal strength of the plurality of beacon signals received by the key-side communication unit 32 (step S17). Here, the key side control circuit 31 obtains the maximum value X1 of the received signal strength from the received signal strengths of the plurality of beacon signals, and adds a predetermined adjustment value Z1 to the maximum value X1 of the received signal strength to set the threshold value Y1. To determine as. When the key side control circuit 31 as the setting unit determines the threshold value of the received signal strength, the key side communication unit 32 transmits a radio signal including the determined threshold value information to the electric lock device 2 (step S18), and operates. The mode is set to the normal mode (step S19). Further, when the lock-side communication unit 22 of the electric lock device 2 receives the wireless signal transmitted from the mobile terminal 3, the lock-side control circuit 21 stores the threshold value included in the wireless signal in the lock-side storage unit 24 and operates. The mode is set to the normal mode (step S20).

電気錠装置2の錠側制御回路21が錠側記憶部24に受信信号強度の閾値を設定すると、電気錠システム1は「(2.2)通常モードの動作」で説明した通常モードでの動作を行う。 When the lock-side control circuit 21 of the electric lock device 2 sets a threshold value of the received signal strength in the lock-side storage unit 24, the electric lock system 1 operates in the normal mode described in "(2.2) Normal mode operation". I do.

ところで、実施形態2において、携帯端末3の鍵側制御回路31が受信信号強度と閾値との高低を比較してもよい。つまり、携帯端末3が、電気錠装置2の比較部211の機能を備えていてもよい。この場合、鍵側制御回路31は、通常モードにおいて、鍵側通信部32が受信したビーコン信号の受信信号強度が閾値よりも高ければ、鍵側通信部32から電気錠装置2にビーコン応答を送信してもよい。 By the way, in the second embodiment, the key side control circuit 31 of the mobile terminal 3 may compare the height of the received signal strength and the threshold value. That is, the mobile terminal 3 may have the function of the comparison unit 211 of the electric lock device 2. In this case, in the normal mode, the key-side control circuit 31 transmits a beacon response from the key-side communication unit 32 to the electric lock device 2 if the reception signal strength of the beacon signal received by the key-side communication unit 32 is higher than the threshold value. You may.

以上説明したように、第1の態様の電気錠システム1は、電気錠装置2と、携帯端末3と、設定部214とを備える。電気錠装置2は、建物40の出入口(玄関扉43)を解錠又は施錠する電気錠23を制御する。携帯端末3は、出入口の施錠操作及び解錠操作のうち少なくとも一方の操作を行う。設定部214は、携帯端末3による操作が可能な操作範囲に関わる設定を行う。携帯端末3は、認証のための鍵情報を記憶する鍵側記憶部34と、電波を媒体とする無線通信を行う鍵側通信部32とを備える。電気錠装置2の動作モードには通常モードと調整モードとがある。電気錠装置2は、錠側通信部22と、錠側記憶部24と、比較部211と、錠制御部213とを備える。錠側通信部22は電波を媒体とする無線通信を行う。錠側記憶部24は、1以上の携帯端末3の鍵情報を含む認証情報、及び設定部214が携帯端末3ごとに設定した閾値を記憶する。比較部211は、錠側通信部22及び鍵側通信部32の少なくとも一方における受信信号強度と閾値との高低を比較する。設定部214は、動作モードが調整モードである場合に、錠側通信部22及び鍵側通信部32の少なくとも一方における受信信号強度の測定結果に基づいて閾値を設定する。錠制御部213は、動作モードが通常モードである場合に、比較部211の比較結果が受信信号強度が閾値よりも高いという結果であり、かつ、錠側通信部22が受信した無線信号に含まれる鍵情報と認証情報との認証に成功すると、電気錠23を制御する。 As described above, the electric lock system 1 of the first aspect includes an electric lock device 2, a mobile terminal 3, and a setting unit 214. The electric lock device 2 controls an electric lock 23 that unlocks or locks the entrance (entrance door 43) of the building 40. The mobile terminal 3 performs at least one of a doorway locking operation and an unlocking operation. The setting unit 214 makes settings related to the operation range that can be operated by the mobile terminal 3. The mobile terminal 3 includes a key-side storage unit 34 that stores key information for authentication, and a key-side communication unit 32 that performs wireless communication using radio waves as a medium. The operation mode of the electric lock device 2 includes a normal mode and an adjustment mode. The electric lock device 2 includes a lock-side communication unit 22, a lock-side storage unit 24, a comparison unit 211, and a lock control unit 213. The lock-side communication unit 22 performs wireless communication using radio waves as a medium. The lock-side storage unit 24 stores authentication information including key information of one or more mobile terminals 3 and a threshold value set by the setting unit 214 for each mobile terminal 3. The comparison unit 211 compares the height of the received signal strength and the threshold value in at least one of the lock-side communication unit 22 and the key-side communication unit 32. When the operation mode is the adjustment mode, the setting unit 214 sets the threshold value based on the measurement result of the received signal strength in at least one of the lock side communication unit 22 and the key side communication unit 32. The lock control unit 213 is a result that the comparison result of the comparison unit 211 shows that the received signal strength is higher than the threshold value when the operation mode is the normal mode, and is included in the radio signal received by the lock side communication unit 22. When the key information and the authentication information are successfully authenticated, the electric lock 23 is controlled.

第1の態様の電気錠システム1によれば、錠制御部213は、動作モードが通常モードである場合に、比較部211の比較結果が受信信号強度が閾値よりも高いという結果であり、かつ、認証に成功すると、電気錠23を制御している。設定部214は、動作モードが設定モードにおいて、携帯端末3ごとに受信信号強度の閾値を設定しているので、携帯端末3の送信電力などが携帯端末3ごとにばらつく場合でも、携帯端末3による操作が可能な操作範囲のばらつきを低減することができる。 According to the electric lock system 1 of the first aspect, the lock control unit 213 is a result that the comparison result of the comparison unit 211 is higher than the threshold value when the operation mode is the normal mode. If the authentication is successful, the electric lock 23 is controlled. Since the setting unit 214 sets the threshold value of the received signal strength for each mobile terminal 3 when the operation mode is the setting mode, even if the transmission power of the mobile terminal 3 varies from mobile terminal 3 to mobile terminal 3, it depends on the mobile terminal 3. It is possible to reduce variations in the operating range that can be operated.

第2の態様の電気錠システム1では、第1の態様において、閾値は第1閾値と第2閾値とを含んでもよい。錠制御部213は、携帯端末3が建物40の屋外41にある場合は受信信号強度と第1閾値との高低を比較し、携帯端末3が建物40の屋内42にある場合は受信信号強度と第2閾値との高低を比較すればよい。 In the electric lock system 1 of the second aspect, in the first aspect, the threshold value may include a first threshold value and a second threshold value. The lock control unit 213 compares the height of the received signal strength with the first threshold value when the mobile terminal 3 is located outdoors 41 of the building 40, and compares the received signal strength with the received signal strength when the mobile terminal 3 is located indoors 42 of the building 40. The height may be compared with the second threshold value.

第2の態様の電気錠システム1によれば、携帯端末3が屋外41にある場合、及び携帯端末3が屋内42にある場合の両方で、携帯端末3による操作が可能な操作範囲のばらつきを低減することができる。 According to the electric lock system 1 of the second aspect, there are variations in the operation range that can be operated by the mobile terminal 3 both when the mobile terminal 3 is outdoors 41 and when the mobile terminal 3 is indoors 42. It can be reduced.

第3の態様の電気錠システム1では、第1又は第2の態様において、設定部214が、鍵側通信部32での受信信号強度の測定結果と、錠側通信部22での受信信号強度の測定結果とに基づいて、閾値を設定してもよい。 In the electric lock system 1 of the third aspect, in the first or second aspect, the setting unit 214 measures the reception signal strength of the key side communication unit 32 and the reception signal strength of the lock side communication unit 22. The threshold value may be set based on the measurement result of.

第3の態様の電気錠システム1によれば、鍵側通信部32での受信信号強度及び錠側通信部22での受信信号強度の両方が個体ごとにばらつく場合でも、携帯端末3による操作が可能な操作範囲のばらつきを低減することができる。 According to the electric lock system 1 of the third aspect, even if both the reception signal strength of the key-side communication unit 32 and the reception signal strength of the lock-side communication unit 22 vary from individual to individual, the operation by the mobile terminal 3 can be performed. It is possible to reduce the variation in the possible operating range.

第4の態様の電気錠システム1では、第1〜第3のいずれか1つの態様において、鍵側通信部32及び錠側通信部22は、複数の周波数チャネルを使用して無線通信を行っており、設定部214は、複数の周波数チャネルに対して複数の閾値をそれぞれ設定してもよい。 In the electric lock system 1 of the fourth aspect, in any one of the first to third aspects, the key side communication unit 32 and the lock side communication unit 22 perform wireless communication using a plurality of frequency channels. Therefore, the setting unit 214 may set a plurality of threshold values for each of the plurality of frequency channels.

第4の態様の電気錠システム1によれば、鍵側通信部32及び錠側通信部22が、複数の周波数チャネルを使用して無線通信を行う場合でも、携帯端末3による操作が可能な操作範囲のばらつきを低減することができる。 According to the electric lock system 1 of the fourth aspect, even when the key-side communication unit 32 and the lock-side communication unit 22 perform wireless communication using a plurality of frequency channels, the operation can be operated by the mobile terminal 3. The variation in the range can be reduced.

第5の態様の電気錠システム1では、第1〜第4のいずれか1つの態様において、設定部214は、受信信号強度の複数回の測定結果に基づいて閾値を設定してもよい。 In the electric lock system 1 of the fifth aspect, in any one of the first to fourth aspects, the setting unit 214 may set the threshold value based on the result of a plurality of measurements of the received signal strength.

第5の態様の電気錠システム1によれば、設定部214が、受信信号強度の複数回の測定結果に基づいて閾値を設定しているので、通信環境の変化などで受信信号強度が変動した場合でも、携帯端末3による操作が可能な操作範囲のばらつきを低減することができる。 According to the electric lock system 1 of the fifth aspect, since the setting unit 214 sets the threshold value based on the result of a plurality of measurement of the received signal strength, the received signal strength fluctuates due to a change in the communication environment or the like. Even in this case, it is possible to reduce variations in the operating range that can be operated by the mobile terminal 3.

第6の態様の電気錠システム1では、第1〜第5のいずれか1つの態様において、鍵側通信部32及び錠側通信部22が、複数のアンテナを有するダイバーシティアンテナを使用して無線通信を行ってもよい。設定部214は、複数のアンテナに対して複数の閾値をそれぞれ設定してもよい。 In the electric lock system 1 of the sixth aspect, in any one of the first to fifth aspects, the key-side communication unit 32 and the lock-side communication unit 22 wirelessly communicate using a diversity antenna having a plurality of antennas. May be done. The setting unit 214 may set a plurality of threshold values for each of the plurality of antennas.

第6の態様の電気錠システム1によれば、鍵側通信部32及び錠側通信部22が、ダイバーシティアンテナを使用して無線通信を行う場合でも、携帯端末3による操作が可能な操作範囲のばらつきを低減することができる。 According to the electric lock system 1 of the sixth aspect, even when the key-side communication unit 32 and the lock-side communication unit 22 perform wireless communication using the diversity antenna, the operation range that can be operated by the mobile terminal 3 The variation can be reduced.

第7の態様の電気錠システム1では、第1〜第6のいずれか1つの態様において、設定部214が、受信信号強度の測定結果をもとに求めた閾値の値が下限値を下回ると閾値を下限値に設定してもよい。設定部214が、受信信号強度の測定結果をもとに求めた閾値の値が上限値を上回ると閾値を上限値に設定してもよい。 In the electric lock system 1 of the seventh aspect, in any one of the first to sixth aspects, when the threshold value obtained by the setting unit 214 based on the measurement result of the received signal strength is lower than the lower limit value. The threshold value may be set to the lower limit value. When the value of the threshold value obtained by the setting unit 214 based on the measurement result of the received signal strength exceeds the upper limit value, the threshold value may be set to the upper limit value.

第7の態様の電気錠システム1によれば、下限値よりも低い値や上限値よりも高い値に閾値が設定されることがないので、設定部214は、下限値以上かつ上限値以下の範囲で閾値を設定することができる。 According to the electric lock system 1 of the seventh aspect, the threshold value is not set to a value lower than the lower limit value or a value higher than the upper limit value, so that the setting unit 214 is equal to or less than the lower limit value and less than or equal to the upper limit value. The threshold can be set in the range.

第8の態様の電気錠システム1では、第1〜第7のいずれか1つの態様において、電気錠装置2が通知部215をさらに備えてもよい。通知部215は、動作モードが通常モードである場合の比較部211の比較結果と認証結果との履歴に基づいて、履歴が所定の条件を満たすと設定部214による閾値の設定を促す通知信号を携帯端末3に送信する通知部215をさらに備える。 In the electric lock system 1 of the eighth aspect, in any one of the first to seventh aspects, the electric lock device 2 may further include a notification unit 215. The notification unit 215 sends a notification signal prompting the setting unit 214 to set a threshold value when the history satisfies a predetermined condition based on the history of the comparison result and the authentication result of the comparison unit 211 when the operation mode is the normal mode. A notification unit 215 for transmitting to the mobile terminal 3 is further provided.

第8の態様の電気錠システム1によれば、通信環境の変化などによって、比較部211の比較結果と認証結果との履歴が所定の条件を満たした場合には、通知部215が通知信号を携帯端末3に送信する。これにより、電気錠システム1は、携帯端末3を所持するユーザ50に閾値の設定を促すことができる。 According to the electric lock system 1 of the eighth aspect, when the history of the comparison result and the authentication result of the comparison unit 211 satisfies a predetermined condition due to a change in the communication environment or the like, the notification unit 215 sends a notification signal. It is transmitted to the mobile terminal 3. As a result, the electric lock system 1 can prompt the user 50 who owns the mobile terminal 3 to set the threshold value.

一態様の電気錠装置2は、第1〜第8のいずれか1項に記載の電気錠システム1における電気錠装置2であって、設定部214を有する。 The electric lock device 2 of one aspect is the electric lock device 2 in the electric lock system 1 according to any one of items 1 to 8, and has a setting unit 214.

電気錠装置2は、携帯端末3の送信電力などが携帯端末3ごとにばらつく場合でも、携帯端末3による操作が可能な操作範囲のばらつきを低減することができる。 The electric lock device 2 can reduce variations in the operating range that can be operated by the mobile terminal 3 even when the transmission power of the mobile terminal 3 varies from mobile terminal to mobile terminal 3.

1 電気錠システム
2 電気錠装置
3,3A,3B,3C 携帯端末
21 錠側制御回路
211 比較部
212 認証部
213 錠制御部
214 設定部
215 通知部
22 錠側通信部
23 電気錠
24 錠側記憶部
32 鍵側通信部
34 鍵側記憶部
40 建物
41 屋外
42 屋内
43 玄関扉
Y1,Y2 閾値
1 Electric lock system 2 Electric lock device 3,3A, 3B, 3C Mobile terminal 21 Lock side control circuit 211 Comparison unit 212 Authentication unit 213 Lock control unit 214 Setting unit 215 Notification unit 22 Lock side communication unit 23 Electric lock 24 Lock side storage Part 32 Key side communication part 34 Key side storage part 40 Building 41 Outdoor 42 Indoor 43 Entrance door Y1, Y2 Threshold

Claims (9)

建物の出入口を解錠又は施錠する電気錠を制御する錠制御部と、
電波を媒体とする無線通信を行う鍵側通信部を有し前記出入口の解錠操作及び施錠操作のうち少なくとも一方の操作を行うための携帯端末との間で電波を媒体する無線通信を行う錠側通信部と、
前記携帯端末による電気錠装置の前記操作が有効な操作範囲に関わる設定を行う設定部と、
比較部と、を備え
錠制御部の動作モードには通常モードと調整モードとがあり
前記設定部は、前記動作モードが前記調整モードである場合に、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度の測定結果に基づいて前記携帯端末ごとに閾値を設定し、
前記比較部は、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度と前記閾値との高低を比較し、
記錠制御部は、前記動作モードが前記通常モードである場合に、前記比較部の比較結果が前記受信信号強度が前記閾値よりも高いという結果であり、かつ、前記錠側通信部が受信した無線信号に含まれる鍵情報の認証に成功すると、前記電気錠を制御し、
前記閾値は第1閾値と第2閾値とを含み、
前記錠制御部は、前記携帯端末が前記建物の屋外にある場合は前記受信信号強度と前記第1閾値との高低を比較し、前記携帯端末が前記建物の屋内にある場合は前記受信信号強度と前記第2閾値との高低を比較する、
ことを特徴とする電気錠システム。
A lock control unit that controls an electric lock that unlocks or locks the doorway of a building,
Tablets that performs wireless communication for medium waves between the portable terminal for performing at least one operation of the unlocking operation and the locking operation of the doorway having a key-side communication unit which performs wireless communication of the radio wave as a medium With the side communication unit
A setting unit that makes settings related to the operation range in which the operation of the electric lock device by the mobile terminal is effective, and
With a comparison section ,
There are two operation modes for the lock control unit : normal mode and adjustment mode .
The setting unit, when the operation mode is the adjustment mode, the threshold value for each of said mobile terminal based on the measurement result of the received signal strength that put on at least one of the lock-side communication unit and the key-side communication unit Set and
The comparison unit compares the high and low of the received signal strength and the threshold value in at least one of the lock-side communication unit and the key-side communication unit.
Before Kijo control unit, when said operation mode is the is the normal mode, the comparison result is the received signal strength of the comparison unit is the result of higher than the threshold value, and the lock-side communication section receives the successful authentication of the contained Ru key information to the wireless signal, and controls the electric lock,
The threshold includes a first threshold and a second threshold.
The lock control unit compares the height of the received signal strength with the first threshold value when the mobile terminal is outside the building, and when the mobile terminal is inside the building, the received signal strength is compared. And the height of the second threshold value are compared.
An electric lock system that features that.
建物の出入口を解錠又は施錠する電気錠を制御する錠制御部と、 A lock control unit that controls an electric lock that unlocks or locks the doorway of a building,
電波を媒体とする無線通信を行う鍵側通信部を有し前記出入口の解錠操作及び施錠操作のうち少なくとも一方の操作を行うための携帯端末との間で電波を媒体する無線通信を行う錠側通信部と、 A lock that has a key-side communication unit that performs wireless communication using radio waves and performs wireless communication using radio waves with a mobile terminal for performing at least one of the unlocking operation and the locking operation of the doorway. With the side communication unit
前記携帯端末による電気錠装置の前記操作が有効な操作範囲に関わる設定を行う設定部と、 A setting unit that makes settings related to the operation range in which the operation of the electric lock device by the mobile terminal is effective, and
比較部と、を備え、 With a comparison section,
錠制御部の動作モードには通常モードと調整モードとがあり、 There are two operation modes for the lock control unit: normal mode and adjustment mode.
前記設定部は、前記動作モードが前記調整モードである場合に、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度の測定結果に基づいて前記携帯端末ごとに閾値を設定し、 When the operation mode is the adjustment mode, the setting unit sets a threshold value for each mobile terminal based on the measurement result of the received signal strength in at least one of the lock-side communication unit and the key-side communication unit. ,
前記比較部は、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度と前記閾値との高低を比較し、 The comparison unit compares the high and low of the received signal strength and the threshold value in at least one of the lock-side communication unit and the key-side communication unit.
前記錠制御部は、前記動作モードが前記通常モードである場合に、前記比較部の比較結果が前記受信信号強度が前記閾値よりも高いという結果であり、かつ、前記錠側通信部が受信した無線信号に含まれる鍵情報の認証に成功すると、前記電気錠を制御し、 In the lock control unit, when the operation mode is the normal mode, the comparison result of the comparison unit is the result that the received signal strength is higher than the threshold value, and the lock side communication unit receives the signal. If the key information contained in the wireless signal is successfully authenticated, the electric lock is controlled.
前記設定部は、前記鍵側通信部での前記受信信号強度の測定結果と、前記錠側通信部での前記受信信号強度の測定結果とに基づいて、前記閾値を設定する、 The setting unit sets the threshold value based on the measurement result of the received signal strength at the key-side communication unit and the measurement result of the received signal strength at the lock-side communication unit.
ことを特徴とする電気錠システム。 An electric lock system that features that.
建物の出入口を解錠又は施錠する電気錠を制御する錠制御部と、 A lock control unit that controls an electric lock that unlocks or locks the doorway of a building,
電波を媒体とする無線通信を行う鍵側通信部を有し前記出入口の解錠操作及び施錠操作のうち少なくとも一方の操作を行うための携帯端末との間で電波を媒体する無線通信を行う錠側通信部と、 A lock that has a key-side communication unit that performs wireless communication using radio waves and performs wireless communication using radio waves with a mobile terminal for performing at least one of the unlocking operation and the locking operation of the doorway. With the side communication unit
前記携帯端末による電気錠装置の前記操作が有効な操作範囲に関わる設定を行う設定部と、 A setting unit that makes settings related to the operation range in which the operation of the electric lock device by the mobile terminal is effective, and
比較部と、 Comparison part and
通知部と、を備え、 With a notification section,
錠制御部の動作モードには通常モードと調整モードとがあり、 There are two operation modes for the lock control unit: normal mode and adjustment mode.
前記設定部は、前記動作モードが前記調整モードである場合に、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度の測定結果に基づいて前記携帯端末ごとに閾値を設定し、 When the operation mode is the adjustment mode, the setting unit sets a threshold value for each mobile terminal based on the measurement result of the received signal strength in at least one of the lock-side communication unit and the key-side communication unit. ,
前記比較部は、前記錠側通信部及び前記鍵側通信部の少なくとも一方における受信信号強度と前記閾値との高低を比較し、 The comparison unit compares the high and low of the received signal strength and the threshold value in at least one of the lock-side communication unit and the key-side communication unit.
前記錠制御部は、前記動作モードが前記通常モードである場合に、前記比較部の比較結果が前記受信信号強度が前記閾値よりも高いという結果であり、かつ、前記錠側通信部が受信した無線信号に含まれる鍵情報の認証に成功すると、前記電気錠を制御し、 In the lock control unit, when the operation mode is the normal mode, the comparison result of the comparison unit is the result that the received signal strength is higher than the threshold value, and the lock side communication unit receives the signal. If the key information contained in the wireless signal is successfully authenticated, the electric lock is controlled.
前記通知部は、前記動作モードが前記通常モードである場合の前記比較部の比較結果と認証結果との履歴に基づいて、前記履歴が所定の条件を満たすと前記設定部による前記閾値の設定を促す通知信号を前記携帯端末に送信する、 Based on the history of the comparison result and the authentication result of the comparison unit when the operation mode is the normal mode, the notification unit sets the threshold value by the setting unit when the history satisfies a predetermined condition. Send a prompting notification signal to the mobile terminal,
ことを特徴とする電気錠システム。 An electric lock system that features that.
前記鍵側通信部及び前記錠側通信部は、複数の周波数チャネルを使用して無線通信を行っており、
前記設定部は、前記複数の周波数チャネルに対して複数の前記閾値をそれぞれ設定する
ことを特徴とする請求項1〜3のいずれか1項に記載の電気錠システム。
The key-side communication unit and the lock-side communication unit perform wireless communication using a plurality of frequency channels.
The electric lock system according to any one of claims 1 to 3, wherein the setting unit sets a plurality of the threshold values for each of the plurality of frequency channels.
前記設定部は、前記受信信号強度の複数回の測定結果に基づいて前記閾値を設定する
ことを特徴とする請求項1〜4のいずれか1項に記載の電気錠システム。
The electric lock system according to any one of claims 1 to 4, wherein the setting unit sets the threshold value based on the result of a plurality of measurements of the received signal strength.
前記鍵側通信部及び前記錠側通信部は、複数のアンテナを有するダイバーシティアンテナを使用して無線通信を行っており、
前記設定部は、前記複数のアンテナに対して複数の前記閾値をそれぞれ設定する
ことを特徴とする請求項1〜5のいずれか1項に記載の電気錠システム。
The key-side communication unit and the lock-side communication unit perform wireless communication using a diversity antenna having a plurality of antennas.
The electric lock system according to any one of claims 1 to 5, wherein the setting unit sets a plurality of the threshold values for each of the plurality of antennas.
前記設定部は、前記受信信号強度の測定結果をもとに求めた前記閾値の値が下限値を下回ると前記閾値を前記下限値に設定し、前記受信信号強度の測定結果をもとに求めた前記閾値の値が上限値を上回ると前記閾値を前記上限値に設定する
ことを特徴とする請求項1〜6のいずれか1項に記載の電気錠システム。
When the threshold value obtained based on the measurement result of the received signal strength falls below the lower limit value, the setting unit sets the threshold value to the lower limit value and obtains the threshold value based on the measurement result of the received signal strength. The electric lock system according to any one of claims 1 to 6, wherein when the value of the threshold value exceeds the upper limit value, the threshold value is set to the upper limit value.
前記出入口の解錠操作及び施錠操作のうち少なくとも一方の操作を行うための前記携帯端末をさらに備える、 The mobile terminal for performing at least one of the unlocking operation and the locking operation of the doorway is further provided.
ことを特徴とする請求項1〜7のいずれか1項に記載の電気錠システム。 The electric lock system according to any one of claims 1 to 7, wherein the electric lock system is characterized.
請求項1〜8のいずれか1項に記載の電気錠システムにおける電気錠装置であって、
前記設定部を有することを特徴とする電気錠装置。
The electric lock device in the electric lock system according to any one of claims 1 to 8.
An electric lock device having the setting unit.
JP2016233478A 2016-11-30 2016-11-30 Electric lock system and electric lock device Active JP6811428B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016233478A JP6811428B2 (en) 2016-11-30 2016-11-30 Electric lock system and electric lock device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016233478A JP6811428B2 (en) 2016-11-30 2016-11-30 Electric lock system and electric lock device

Publications (2)

Publication Number Publication Date
JP2018090991A JP2018090991A (en) 2018-06-14
JP6811428B2 true JP6811428B2 (en) 2021-01-13

Family

ID=62565260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016233478A Active JP6811428B2 (en) 2016-11-30 2016-11-30 Electric lock system and electric lock device

Country Status (1)

Country Link
JP (1) JP6811428B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7063384B2 (en) * 2018-06-29 2022-05-09 ソニーグループ株式会社 Locking / unlocking device, locking / unlocking method and locking / unlocking system
KR102323002B1 (en) * 2018-08-08 2021-11-09 주식회사 슈프리마에이치큐 Access control system and access control method using the same
JP6751863B1 (en) * 2018-10-15 2020-09-09 PaylessGate株式会社 Location identification system, location identification device, location identification method, location identification program, computer-readable recording medium, and recording equipment
JP2020136983A (en) * 2019-02-22 2020-08-31 日本電産モビリティ株式会社 On-vehicle communication device and vehicle control system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5684983B2 (en) * 2009-12-18 2015-03-18 株式会社東海理化電機製作所 Communication area forming device for electronic key system
JP6104132B2 (en) * 2013-11-13 2017-03-29 アルプス電気株式会社 In-vehicle communication system
JP6356468B2 (en) * 2014-04-11 2018-07-11 株式会社東海理化電機製作所 Communication area adjustment device
JP2016001772A (en) * 2014-06-11 2016-01-07 カルソニックカンセイ株式会社 Vehicle communication system

Also Published As

Publication number Publication date
JP2018090991A (en) 2018-06-14

Similar Documents

Publication Publication Date Title
JP6811428B2 (en) Electric lock system and electric lock device
US9721413B2 (en) Wireless access control system operating in automatic calibration mode and including door position based lock switching and related methods
KR101767496B1 (en) Digital Door-Lock having Automatic Unlock Funciton Using Smart Phone and Control Method Thereof
EP3300033A1 (en) Access control system, portable user device, and method of controlling access
JP5887567B2 (en) Entrance / exit management system
CN109219682B (en) Electronic lock system and electronic lock device
KR101979373B1 (en) Portable communication apparatus installed door-lock application
JP2011094292A (en) Electric lock system
JP6811426B2 (en) Electric lock system, electric lock device, and program for electric lock
JP6956378B2 (en) Electric lock control system
JP5988189B2 (en) Electric lock system
JP6817581B2 (en) Electric lock control system, electric lock system, control method of electric lock control system, and program
JP6778901B2 (en) Electric lock system and electric lock device
JP6890273B2 (en) Electric lock control system, electric lock system, registration method, and program
JP6931831B2 (en) Electric lock control system, electric lock system, control method and program
JP6796804B2 (en) Electric lock system and electric lock device
JP6895635B2 (en) Electric lock system and electric lock device
KR200407889Y1 (en) Door lock system having mode selecting function of home automation
KR200361322Y1 (en) Door rock control apparatus using mobile phone
JP2019108683A (en) Electric lock control system, display method, and program
JP6895637B2 (en) Control methods for electric lock systems, programs, and mobile terminals
JP7539286B2 (en) Switching control system and switching control method
JP6820520B2 (en) Electric lock device and electric lock system
JP2022095440A (en) Open-close device and open-close control method
JP6796793B2 (en) Electric lock system

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20170117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200128

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200325

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200528

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201127

R151 Written notification of patent or utility model registration

Ref document number: 6811428

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151