JP6340722B2 - Locking / unlocking sensor and locking / unlocking confirmation system using the same - Google Patents

Locking / unlocking sensor and locking / unlocking confirmation system using the same Download PDF

Info

Publication number
JP6340722B2
JP6340722B2 JP2014120909A JP2014120909A JP6340722B2 JP 6340722 B2 JP6340722 B2 JP 6340722B2 JP 2014120909 A JP2014120909 A JP 2014120909A JP 2014120909 A JP2014120909 A JP 2014120909A JP 6340722 B2 JP6340722 B2 JP 6340722B2
Authority
JP
Japan
Prior art keywords
locking
unlocking
acceleration
magnetic field
sensor
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
JP2014120909A
Other languages
Japanese (ja)
Other versions
JP2016000916A (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 JP2014120909A priority Critical patent/JP6340722B2/en
Publication of JP2016000916A publication Critical patent/JP2016000916A/en
Application granted granted Critical
Publication of JP6340722B2 publication Critical patent/JP6340722B2/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 a locking / unlocking sensor and a locking / unlocking confirmation system using the same, and more particularly to a locking / unlocking sensor for detecting a locking / unlocking state of a fitting and a locking / unlocking confirmation system using the same.

従来、磁気センサを有する本体ブロックと、磁石とを備え、引き違い戸を施錠するためのクレセント錠の施解錠状態を検出する窓用施解錠センサがあった(例えば特許文献1参照)。引き違い戸を構成する2枚のガラス戸のうち、一方のガラス戸には、本体ブロックとクレセント錠とが取り付けられ、他方のガラス戸には、受け金具が取り付けられている。磁石は、クレセント錠の操作レバーに取り付けられる。   Conventionally, there has been a window locking / unlocking sensor that includes a main body block having a magnetic sensor and a magnet and detects a locking / unlocking state of a crescent lock for locking a sliding door (see, for example, Patent Document 1). Of the two glass doors constituting the sliding door, a main body block and a crescent lock are attached to one glass door, and a receiving metal fitting is attached to the other glass door. The magnet is attached to the operation lever of the crescent lock.

操作レバーが施錠位置に回転された状態では、磁石は本体ブロックの近い位置にあり、操作レバーが解錠位置に回転された状態では、磁石は施錠位置よりも本体ブロックからさらに離れた位置にある。本体ブロックは、操作レバーに取り付けられた磁石によって発生する磁束に基づいて、クレセント錠の施解錠状態を判定する。   When the operating lever is rotated to the locked position, the magnet is in a position near the main body block, and when the operating lever is rotated to the unlocked position, the magnet is further away from the main body block than the locked position. . The main body block determines the locked / unlocked state of the crescent lock based on the magnetic flux generated by the magnet attached to the operation lever.

特開2013−44217JP2013-44217A

特許文献1に記載の窓用施解錠センサは、磁束の変化に基づいてクレセント錠の施解錠状態を判定しているが、窓用施解錠センサ周辺の磁束の変化によって施解錠状態を誤検知する可能性があった。   The window locking / unlocking sensor described in Patent Literature 1 determines the locking / unlocking state of the crescent lock based on the change in magnetic flux, but erroneously detects the locking / unlocking state based on the change in magnetic flux around the window locking / unlocking sensor. There was a possibility.

本発明は上記課題に鑑みて為されており、施解錠状態の誤検知をしにくい施解錠センサ及びそれを用いた施解錠確認システムを提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a locking / unlocking sensor and a locking / unlocking confirmation system using the locking / unlocking sensor that are less susceptible to erroneous detection of the locking / unlocking state.

上記課題を解決するために、本発明の施解錠センサは、建具に対して前記建具を施錠する位置と解錠する位置との間で回転自在に設けられた錠装置の回転部位に設けられ、磁界の方向及び重力加速度の方向を検出し、前記磁界の方向及び前記重力加速度の方向を基に施錠状態か解錠状態かを検知する判断部と、前記判断部の検知結果を外部の機器に送信する送信部とを備え、前記判断部は、前記施錠状態又は前記解錠状態で検出された磁界の方向を第1基準方向とし、磁界の検出方向の前記第1基準方向に対する相対的な第1変化角度を求め、前記施錠状態又は前記解錠状態で検出された重力加速度の方向を第2基準方向とし、重力加速度の検出方向の前記第2基準方向に対する相対的な第2変化角度を求め、前記第1変化角度に基づく判断結果が施錠状態であって、且つ前記第2変化角度に基づく判断結果が施錠状態である場合には前記施錠状態であると判断し、前記第1変化角度に基づく判断結果が解錠状態であって、且つ前記第2変化角度に基づく判断結果が解錠状態である場合には前記解錠状態であると判断するように構成されていることを特徴とする。 In order to solve the above-mentioned problem, the locking / unlocking sensor of the present invention is provided at a rotating portion of a locking device that is rotatably provided between a position for locking the joinery and a position for unlocking the joinery, Detecting the direction of the magnetic field and the direction of gravitational acceleration , and detecting the locked state or the unlocked state based on the direction of the magnetic field and the direction of the gravitational acceleration , and the detection result of the determining unit to an external device and a transmission unit for transmitting, the determination unit, the direction of the magnetic field detected by the locked state or the unlocked state to the first reference direction, relative the to the first reference direction of the detection direction of the magnetic field 1 change angle is obtained, and the direction of gravitational acceleration detected in the locked state or the unlocked state is set as a second reference direction, and a relative second change angle of the gravitational acceleration detection direction with respect to the second reference direction is obtained. And determination based on the first change angle Fruit is a locked state, it is determined that and the determination result based on the second change angle is in the locked state when a locked state, determination result based on the first change angle a in unlocked Te, and the second change angle based determination result when a unlocked state, characterized in that it is configured to determine that the said unlocked state.

本発明の施解錠確認システムは、上記の施解錠センサと、親機とを備え、前記親機は、前記送信部が送信した前記検知結果を受信する受信部を有することを特徴とする。 The locking / unlocking confirmation system according to the present invention includes the above-described locking / unlocking sensor and a parent device, and the parent device includes a reception unit that receives the detection result transmitted by the transmission unit.

本発明によれば、施解錠状態の誤検知をしにくい施解錠センサ及びそれを用いた施解錠確認システムを実現することができる。   According to the present invention, it is possible to realize a locking / unlocking sensor and a locking / unlocking confirmation system using the locking / unlocking sensor that are difficult to erroneously detect a locked / unlocked state.

実施形態1に係る施解錠センサの施錠状態を示す左側面図である。It is a left view which shows the locking state of the locking / unlocking sensor which concerns on Embodiment 1. FIG. 実施形態1に係る施解錠センサの状態を説明する図である。It is a figure explaining the state of the locking / unlocking sensor which concerns on Embodiment 1. FIG. 実施形態1に係る施解錠センサの解錠状態を示す左側面図である。It is a left view which shows the unlocking state of the locking / unlocking sensor which concerns on Embodiment 1. FIG. 実施形態1に係る施解錠センサの機能を説明する概念図である。It is a conceptual diagram explaining the function of the locking / unlocking sensor which concerns on Embodiment 1. FIG. 実施形態1に係る施解錠確認システムのブロック図である。1 is a block diagram of a locking / unlocking confirmation system according to Embodiment 1. FIG. 実施形態2に係る施解錠センサの機能を説明する概念図である。It is a conceptual diagram explaining the function of the locking / unlocking sensor which concerns on Embodiment 2. FIG.

(実施形態1)
以下、本発明に係る施解錠センサを備えた施解錠確認システムの実施形態について図1〜図5に基づいて説明する。なお、以下の説明では図4に示すx軸を基準として左右方向を規定し、y軸を基準として上下方向を規定して説明する。また、図1に示すz軸を基準として前後方向を規定して説明するが、この方向は説明の便宜上の定義であり、実際の使用状態での方向を上記の方向に限定する趣旨ではない。
(Embodiment 1)
Hereinafter, an embodiment of a locking / unlocking confirmation system including a locking / unlocking sensor according to the present invention will be described with reference to FIGS. In the following description, the horizontal direction is defined with reference to the x axis shown in FIG. 4, and the vertical direction is defined with respect to the y axis. Further, the description will be made by defining the front-rear direction with reference to the z-axis shown in FIG. 1, but this direction is a definition for convenience of description, and does not intend to limit the direction in the actual use state to the above-described direction.

施解錠センサ1は、引き戸や引き違い窓等の建具を施解錠する錠装置3に用いられる。錠装置3は、操作部が回転操作されると建具を施錠するか又は解錠するように構成されている。施解錠センサ1は、操作部や錠装置を施解錠する際に回転する部位に用いられる。本実施形態では、引き違い窓を施解錠するクレセント錠に用いられる施解錠センサ1について説明する。なお、錠装置3は、クレセント錠に限定されず、カムラッチハンドルや、サムターン等、回転操作されることで建具を施解錠する装置であればよい。   The locking / unlocking sensor 1 is used in a locking device 3 that locks / unlocks fittings such as sliding doors and sliding windows. The locking device 3 is configured to lock or unlock the joinery when the operation unit is rotated. The locking / unlocking sensor 1 is used for a portion that rotates when locking / unlocking the operation unit or the locking device. This embodiment demonstrates the locking / unlocking sensor 1 used for the crescent lock which locks / unlocks a sliding window. The lock device 3 is not limited to the crescent lock, and may be any device that locks and unlocks the joinery by a rotational operation such as a cam latch handle or a thumb turn.

本実施形態の引き違い窓は、図1〜図3に示すように、室内側の第1の戸4と、室外側の第2の戸5とで構成されている。第1の戸4は、板ガラス(図示せず)と、板ガラスの4辺を保持する第1の窓枠42とを有する。第2の戸5は、板ガラス51と、板ガラス51の4辺を保持する第2の窓枠52とを有する。錠装置3は、所謂クレセント錠であり、ハンドル31と、係止部32と、支持部33と、軸34と、フック35とを備えている。   As shown in FIGS. 1 to 3, the sliding window of this embodiment includes a first door 4 on the indoor side and a second door 5 on the outdoor side. The first door 4 includes a plate glass (not shown) and a first window frame 42 that holds four sides of the plate glass. The second door 5 includes a plate glass 51 and a second window frame 52 that holds four sides of the plate glass 51. The lock device 3 is a so-called crescent lock, and includes a handle 31, a locking portion 32, a support portion 33, a shaft 34, and a hook 35.

支持部33は、矩形箱状に形成されていて、第1の窓枠42の側面に取り付けられている。支持部33の上下方向の中央部分には、軸34が取り付けられている。軸34は、軸方向が板ガラス51の表面と平行するように支持部33から突き出ている。   The support portion 33 is formed in a rectangular box shape, and is attached to the side surface of the first window frame 42. A shaft 34 is attached to the center portion of the support portion 33 in the vertical direction. The shaft 34 protrudes from the support portion 33 so that the axial direction is parallel to the surface of the plate glass 51.

係止部32は側面視の形状が半円形状に形成されている。係止部32の周辺部からは厚さ方向に突き出るように鍔部36が形成されている。係止部32の円弧の中心部分には孔(図示せず)が形成されていて、軸34が通されている。係止部32は、軸34によって支持部33に対して回転自在に支持されている。   The locking portion 32 is formed in a semicircular shape when viewed from the side. A collar portion 36 is formed so as to protrude from the peripheral portion of the locking portion 32 in the thickness direction. A hole (not shown) is formed in the central portion of the arc of the locking portion 32, and the shaft 34 is passed therethrough. The locking portion 32 is supported by a shaft 34 so as to be rotatable with respect to the support portion 33.

係止部32には、係止部32を回転操作するためのハンドル31が一体に取り付けられている。ハンドル31は、矩形箱状に形成されていて、その長手方向が軸34の径方向に沿うように係止部32に取り付けられている。ハンドル31を、板ガラス51の表面と直交する面内で軸34を中心に回転させると、係止部32が回転してフック35に引っかかるか又はフック35から外れる。   A handle 31 for rotating the locking portion 32 is integrally attached to the locking portion 32. The handle 31 is formed in a rectangular box shape, and is attached to the locking portion 32 so that its longitudinal direction is along the radial direction of the shaft 34. When the handle 31 is rotated around the shaft 34 in a plane orthogonal to the surface of the plate glass 51, the locking portion 32 rotates and is caught by the hook 35 or detached from the hook 35.

フック35は、矩形板状に形成されていて、第2の戸5のうち室内側に取り付けられている。フック35の先端部分は、室内側にU字状に折り曲げられていて板ガラス51の表面と平行している。   The hook 35 is formed in a rectangular plate shape, and is attached to the indoor side of the second door 5. The tip portion of the hook 35 is bent in a U shape on the indoor side and is parallel to the surface of the plate glass 51.

係止部32がフック35に引っかかっていない状態でハンドル31を回転操作すると、鍔部36がフック35の折曲部分に引っかかることで、錠装置3は施錠状態となる。施錠状態から逆方向にハンドル31を回転操作することにより、係止部32がフック35から外れて錠装置3は解錠状態となる。   When the handle 31 is rotated while the locking portion 32 is not caught by the hook 35, the locking device 3 is locked by the hook portion 36 being caught by the bent portion of the hook 35. By rotating the handle 31 in the reverse direction from the locked state, the locking portion 32 is detached from the hook 35 and the locking device 3 is unlocked.

ここで錠装置3が第1の戸4と第2の戸5とを施錠又は解錠する動作について説明する。   Here, the operation in which the locking device 3 locks or unlocks the first door 4 and the second door 5 will be described.

図1は、施錠状態の錠装置3を示し、第1の戸4と第2の戸5とが閉められた状態で係止部32がフック35に引っかかる。係止部32は、ハンドル31が回転操作されることにより軸34を中心に回転してフック35に引っかかっている。施錠状態のハンドル31は、ハンドル31の長手方向がy軸方向に沿う位置にある。以下の説明では、ハンドル31のうち軸34に近い一端部分から長手方向に沿って他端部分に向かう方向をハンドル31の向きと呼ぶ。図1に示す施錠状態では、ハンドル31の向きは上向き(y軸の向き)となっている。なお、図1〜図3に示すY1軸、Z1軸、Y2軸、及びZ2軸に関する説明は後述する。   FIG. 1 shows the locking device 3 in a locked state, and the locking portion 32 is hooked on the hook 35 in a state where the first door 4 and the second door 5 are closed. The locking portion 32 rotates around the shaft 34 and is hooked on the hook 35 when the handle 31 is rotated. In the locked handle 31, the longitudinal direction of the handle 31 is located along the y-axis direction. In the following description, the direction from the one end portion near the shaft 34 toward the other end portion along the longitudinal direction of the handle 31 is referred to as the direction of the handle 31. In the locked state shown in FIG. 1, the direction of the handle 31 is upward (the direction of the y-axis). In addition, description regarding the Y1 axis, the Z1 axis, the Y2 axis, and the Z2 axis illustrated in FIGS. 1 to 3 will be described later.

図1に示す施錠状態のハンドル31の上部をz軸方向(図2の右方向)に引くと、図2に示すように、ハンドル31とともに係止部32が軸34を中心として右回りに回転し、鍔部36がフック35の折曲部分に対して相対的に移動する。図2は、ハンドル31を施錠状態の位置から角度R1だけ回転させた状態を示している。   When the upper portion of the locked handle 31 shown in FIG. 1 is pulled in the z-axis direction (right direction in FIG. 2), the locking portion 32 rotates clockwise about the shaft 34 together with the handle 31 as shown in FIG. Then, the collar portion 36 moves relative to the bent portion of the hook 35. FIG. 2 shows a state where the handle 31 is rotated by an angle R1 from the locked position.

ハンドル31をさらに回転操作して施錠状態の位置から180°まで回転させると、図3に示すように、係止部32がフック35から離れて解錠状態になる。   When the handle 31 is further rotated and rotated from the locked position to 180 °, the locking portion 32 is released from the hook 35 and unlocked as shown in FIG.

本実施形態の錠装置3では、係止部32を回転操作するためのハンドル31の内部に施解錠センサ1が収納されている。ハンドル31は、磁気を遮蔽しない材料(例えば、合成樹脂等)で箱状に形成されている。ハンドル31は、回転する係止部32の径方向に長手方向が沿うように係止部32に取り付けられている。ハンドル31は例えばねじ止めによって係止部32に取り付けられている。   In the locking device 3 of the present embodiment, the locking / unlocking sensor 1 is housed inside a handle 31 for rotating the locking portion 32. The handle 31 is formed in a box shape from a material that does not shield magnetism (for example, synthetic resin). The handle 31 is attached to the locking portion 32 so that the longitudinal direction is along the radial direction of the rotating locking portion 32. The handle 31 is attached to the locking portion 32 by, for example, screwing.

施解錠センサ1は、図4に示すように、判断部12と、送信部13とを備えている。本実施形態の施解錠センサ1はさらに、磁気センサ11と、加速度センサ16と、電源部14と、記憶部15と、基板(図示せず)とを備えている。   As shown in FIG. 4, the locking / unlocking sensor 1 includes a determination unit 12 and a transmission unit 13. The locking / unlocking sensor 1 of the present embodiment further includes a magnetic sensor 11, an acceleration sensor 16, a power supply unit 14, a storage unit 15, and a substrate (not shown).

電源部14は、基板に実装されている判断部12や、送信部13や、記憶部15等を動作させるための電力を供給する。電源部14は、ハンドル31内に着脱自在に取り付けられる電池(図示せず)を備えている。電池は例えばコイン型の1次電池や、単4型の2次電池等、適宜の種類の電池でよい。   The power supply unit 14 supplies power for operating the determination unit 12, the transmission unit 13, the storage unit 15 and the like mounted on the board. The power supply unit 14 includes a battery (not shown) that is detachably attached to the handle 31. The battery may be an appropriate type of battery such as a coin-type primary battery or an AAA secondary battery.

送信部13は、(第1の)アンテナ131(図5参照)を有し、電波を媒体とする無線通信を行う。送信部13の通信方式は例えば、920MHz帯の特定小電力無線、Zigbee(登録商標)、Bluetooth(登録商標)等の、免許が不要な近距離の無線通信である。なお、本実施形態の送信部13は電波を媒体とした無線通信を行うように構成されているが、電波を媒体とすることに限定されず、例えば赤外線通信等の光を媒体とする無線通信でもよい。また、送信部13の通信方式は無線通信に限定されず、例えばLAN(Local Area Network)ケーブル等を用いる有線通信でもよい。   The transmission unit 13 includes a (first) antenna 131 (see FIG. 5), and performs wireless communication using radio waves as a medium. The communication method of the transmission unit 13 is, for example, short-distance wireless communication that does not require a license, such as a specific low-power radio in the 920 MHz band, Zigbee (registered trademark), and Bluetooth (registered trademark). The transmission unit 13 of the present embodiment is configured to perform wireless communication using radio waves as a medium, but is not limited to using radio waves as a medium. For example, wireless communication using light as a medium such as infrared communication. But you can. The communication method of the transmission unit 13 is not limited to wireless communication, and may be wired communication using a LAN (Local Area Network) cable, for example.

判断部12は、マイクロコンピュータ(図示せず)で構成されている。判断部12は、ROM(図示せず)から命令を読み込んで実行することにより、第1方向検出部121と、第2方向検出部122と、施解錠検知部123との動作を実現している。第1方向検出部121と、第2方向検出部122と、施解錠検知部123との動作については後述する。   The determination unit 12 is composed of a microcomputer (not shown). The determination unit 12 reads and executes commands from a ROM (not shown), thereby realizing operations of the first direction detection unit 121, the second direction detection unit 122, and the locking / unlocking detection unit 123. . Operations of the first direction detection unit 121, the second direction detection unit 122, and the locking / unlocking detection unit 123 will be described later.

記憶部15は例えばEEPROM(Electrically Erasable Programmable Read-Only Memory)等の、情報の書き換えが可能な不揮発性の記憶媒体で構成されている。記憶部15は、第1方向検出部121が求めた磁界の方向及び施解錠検知部123が求めた磁界の大きさに関する情報と、第2方向検出部122が求めた加速度の方向及び施解錠検知部123が求めた加速度の大きさに関する情報とを記憶する。また記憶部15は、施解錠検知部123が錠装置3の施解錠状態を判断するために使用される第1閾値と第2閾値とを各々記憶する。記憶部15が記憶する磁界に関する情報、加速度に関する情報、第1閾値及び第2閾値については後述する。   The storage unit 15 is composed of a nonvolatile storage medium capable of rewriting information, such as an EEPROM (Electrically Erasable Programmable Read-Only Memory). The storage unit 15 includes information on the direction of the magnetic field obtained by the first direction detection unit 121 and the magnitude of the magnetic field obtained by the locking / unlocking detection unit 123, and the direction of acceleration obtained by the second direction detection unit 122 and the detection of locking / unlocking. Information on the magnitude of acceleration obtained by the unit 123 is stored. The storage unit 15 also stores a first threshold value and a second threshold value that are used by the locking / unlocking detection unit 123 to determine the locking / unlocking state of the locking device 3. Information regarding the magnetic field, information regarding acceleration, the first threshold value, and the second threshold value stored in the storage unit 15 will be described later.

磁気センサ11は、例えばホール素子を用いた地磁気センサからなり、互いに直交する3方向の各々で磁界の大きさを検出する。地磁気センサは、ホール素子を用いて地磁気による磁界の方向を検出することができるように構成されている。磁気センサ11は、ハンドル31の回転中心である軸34付近に配置されている。磁気センサ11は、検出した3方向の各々の磁界の強さに応じた信号を第1方向検出部121に出力する。なお、磁気センサ11は、ホール素子を用いることに限定されず、磁気抵抗素子や磁気インピーダンス素子等を用いて地磁気を検出することができるように構成されていてもよい。   The magnetic sensor 11 is composed of, for example, a geomagnetic sensor using a Hall element, and detects the magnitude of the magnetic field in each of three directions orthogonal to each other. The geomagnetic sensor is configured to detect the direction of the magnetic field due to geomagnetism using a Hall element. The magnetic sensor 11 is disposed in the vicinity of the shaft 34 that is the rotation center of the handle 31. The magnetic sensor 11 outputs a signal corresponding to the detected magnetic field strength in each of the three directions to the first direction detection unit 121. The magnetic sensor 11 is not limited to using a Hall element, and may be configured to detect geomagnetism using a magnetoresistive element, a magnetic impedance element, or the like.

加速度センサ16は、例えばMEMS(Micro Electro Mechanical Systems)技術を用いた半導体方式の加速度センサで構成されている。加速度センサ16は、例えば静電容量型やピエゾ抵抗型の加速度センサである。加速度センサ16は、ハンドル31が回転操作された際に回転する軸付近に配置されている。加速度センサ16は、検出した3方向の各々の加速度の大きさに応じた信号を第2方向検出部122に出力する。なお、加速度センサ16は上記構成に限定されず、重力加速度を検出できる適宜の構成でもよい。また、加速度センサ16には、ハンドル31の回転操作時や建具(第1の戸4、第2の戸5)の開閉時に発生する振動によって検出される信号をキャンセルするためのローパスフィルタ(図示せず)が設けられていてもよい。   The acceleration sensor 16 is composed of a semiconductor type acceleration sensor using, for example, MEMS (Micro Electro Mechanical Systems) technology. The acceleration sensor 16 is, for example, a capacitance type or piezoresistive type acceleration sensor. The acceleration sensor 16 is disposed in the vicinity of an axis that rotates when the handle 31 is rotated. The acceleration sensor 16 outputs a signal corresponding to the detected magnitude of each of the three directions to the second direction detection unit 122. The acceleration sensor 16 is not limited to the above configuration, and may have an appropriate configuration capable of detecting gravitational acceleration. Further, the acceleration sensor 16 has a low-pass filter (not shown) for canceling a signal detected by vibration generated when the handle 31 is rotated or when the joinery (first door 4 and second door 5) is opened and closed. May be provided.

ここで、磁気センサ11が磁界を検出する3方向の検出軸を各々、X1軸、Y1軸、Z1軸と定義し、加速度センサ16が加速度を検出する3方向の検出軸を各々、X2軸、Y2軸、Z2軸と定義する。本実施形態では、図1に示すようにハンドル31が上向きの位置にある状態で、X1軸が軸34の軸方向と一致するように磁気センサ11がハンドル31内の基板に実装されている。同様に、図1に示す施錠状態において、Y1軸がy軸と一致していて、Z1軸がz軸と一致するように磁気センサ11がハンドル31内の基板に実装されている。つまりハンドル31が回転操作されると磁気センサ11もハンドル31とともに回転するので、磁気センサ11の3軸の検出方向(X1軸、Y1軸、Z1軸)はハンドル31の回転に応じて回転する。   Here, three detection axes in which the magnetic sensor 11 detects a magnetic field are defined as an X1, Y1, and Z1 axes, respectively, and three detection axes in which the acceleration sensor 16 detects an acceleration are each in an X2 axis, The Y2 axis and the Z2 axis are defined. In the present embodiment, the magnetic sensor 11 is mounted on the substrate in the handle 31 so that the X1 axis coincides with the axial direction of the shaft 34 in a state where the handle 31 is in the upward position as shown in FIG. Similarly, in the locked state shown in FIG. 1, the magnetic sensor 11 is mounted on the substrate in the handle 31 so that the Y1 axis coincides with the y axis and the Z1 axis coincides with the z axis. That is, when the handle 31 is rotated, the magnetic sensor 11 also rotates together with the handle 31, so that the three sensor detection directions (X 1 axis, Y 1 axis, Z 1 axis) of the magnetic sensor 11 rotate according to the rotation of the handle 31.

また、図1に示すようにハンドル31が上向きの位置にある状態で、X2軸が軸34の軸方向となるように加速度センサ16がハンドル31内の基板に実装されている。同様に、図1に示す施錠状態において、Y2軸がy軸と逆方向となり、Z2軸がz軸方向となるように加速度センサ16がハンドル31内の基板に実装されている。つまりハンドル31が回転操作されると加速度センサ16もハンドル31とともに回転するので、加速度センサ16の3軸の検出方向(X2軸、Y2軸、Z2軸)はハンドル31の回転に応じて回転する。なお、Y2軸をy軸の逆方向に設定している理由は、図1に示す施錠状態において、Y2軸の順方向を重力加速度の方向と同じにすることで説明を簡単にするためであり、便宜上の設定である。つまり加速度センサ16のY2軸が磁気センサ11のY1軸(y軸方向)に対して逆方向を向いていることに限定される趣旨ではない。   Further, as shown in FIG. 1, the acceleration sensor 16 is mounted on the substrate in the handle 31 so that the X2 axis is the axial direction of the shaft 34 in a state where the handle 31 is in the upward position. Similarly, in the locked state shown in FIG. 1, the acceleration sensor 16 is mounted on the substrate in the handle 31 so that the Y2 axis is in the opposite direction to the y axis and the Z2 axis is in the z axis direction. That is, when the handle 31 is rotated, the acceleration sensor 16 also rotates with the handle 31, so that the three detection directions (X 2 axis, Y 2 axis, Z 2 axis) of the acceleration sensor 16 rotate according to the rotation of the handle 31. The reason why the Y2 axis is set in the direction opposite to the y axis is to simplify the description by making the forward direction of the Y2 axis the same as the direction of gravity acceleration in the locked state shown in FIG. This is a setting for convenience. That is, it is not limited to the fact that the Y2 axis of the acceleration sensor 16 is directed in the opposite direction to the Y1 axis (y-axis direction) of the magnetic sensor 11.

なお、磁気センサ11のX1軸、Y1軸、Z1軸は互いに直交していて、加速度センサ16のX2軸、Y2軸、Z2軸は互いに直交しているが、ここで言う直交とは、各々の軸が90°の角度で交差することに限定される趣旨ではない。直交とは各々の軸が90°の角度で交差することに限定されず、交差する軸のなす角度が90°に見えるように交差していることを意味する。   The X1 axis, Y1 axis and Z1 axis of the magnetic sensor 11 are orthogonal to each other, and the X2 axis, Y2 axis and Z2 axis of the acceleration sensor 16 are orthogonal to each other. It is not limited to the fact that the axes intersect at an angle of 90 °. The term “perpendicular” means that the respective axes intersect with each other so that the angle formed by the intersecting axes appears to be 90 °, without being limited to intersecting at an angle of 90 °.

第1方向検出部121は、定期的に磁気センサ11から信号を取り込み、磁気センサ11が出力した3方向の各々の磁界の強さに基づいて、合成磁界の方向を演算によって求める。本実施形態では第1方向検出部121は、Y1軸方向の地磁気成分EY1(図示せず)と、Z1軸方向の地磁気成分EZ1(図示せず)とを基に、arctan(EY1/EZ1)なる演算を行うことによって合成磁界の方向を求めている。すなわち第1方向検出部121は、Y1軸とZ1軸とを含む平面において、Z1軸に対する地磁気の方向を演算によって求めている。本実施形態の施解錠センサ1では磁気センサ11の周囲に磁界の発生源を設けていないので、磁気センサ11は地磁気を検出している。   The first direction detection unit 121 periodically acquires a signal from the magnetic sensor 11 and calculates the direction of the combined magnetic field by calculation based on the strength of each of the three magnetic fields output by the magnetic sensor 11. In the present embodiment, the first direction detection unit 121 is arctan (EY1 / EZ1) based on the geomagnetic component EY1 (not shown) in the Y1 axis direction and the geomagnetic component EZ1 (not shown) in the Z1 axis direction. The direction of the synthetic magnetic field is obtained by performing an operation. That is, the first direction detection unit 121 obtains the direction of geomagnetism with respect to the Z1 axis by calculation on a plane including the Y1 axis and the Z1 axis. In the locking / unlocking sensor 1 of the present embodiment, no magnetic field generation source is provided around the magnetic sensor 11, so the magnetic sensor 11 detects geomagnetism.

第2方向検出部122は、定期的に加速度センサ16から信号を取り込み、加速度センサ16が出力した3方向の各々の加速度の大きさに基づいて、合成加速度の方向を演算によって求める。本実施形態では第2方向検出部122は、Y2軸方向の加速度成分GY2(図示せず)と、Z2軸方向の加速度成分GZ2(図示せず)とを基に、arctan(GZ2/GY2)なる演算を行うことによって合成加速度の方向を求めている。すなわち第2方向検出部122は、Y2軸とZ2軸とを含む平面において、Y2軸に対する重力加速度の方向を演算によって求めている。   The second direction detection unit 122 periodically acquires a signal from the acceleration sensor 16 and calculates the direction of the resultant acceleration by calculation based on the magnitude of each of the three directions output by the acceleration sensor 16. In the present embodiment, the second direction detection unit 122 is arctan (GZ2 / GY2) based on the acceleration component GY2 (not shown) in the Y2 axis direction and the acceleration component GZ2 (not shown) in the Z2 axis direction. The direction of the resultant acceleration is obtained by performing calculation. That is, the second direction detection unit 122 obtains the direction of gravity acceleration with respect to the Y2 axis by calculation on a plane including the Y2 axis and the Z2 axis.

つまり施解錠センサ1は、地磁気の検出方向と重力加速度の検出方向とに基づいて施錠状態か解錠状態かを検出している。   That is, the locking / unlocking sensor 1 detects whether it is locked or unlocked based on the detection direction of geomagnetism and the detection direction of gravitational acceleration.

ここで施解錠検知部123が錠装置3の施解錠状態を判断する動作について図1〜図3を参照して説明する。   Here, the operation in which the locking / unlocking detection unit 123 determines the locking / unlocking state of the locking device 3 will be described with reference to FIGS.

まず、錠装置3が施錠状態である場合の施解錠センサ1の動作について説明する。なお、実際の地磁気の方向は、北半球では北を向いた状態で水平面に対して斜め下向きであるが、本実施形態では説明を簡単にするため、地磁気の方向がz軸方向と平行していると仮定して説明する。また、重力加速度の方向はy軸の逆方向(図1の下方向)として説明する。   First, the operation of the locking / unlocking sensor 1 when the locking device 3 is in the locked state will be described. Note that the actual geomagnetism direction is obliquely downward with respect to the horizontal plane in the northern hemisphere while facing north, but in the present embodiment, the geomagnetism direction is parallel to the z-axis direction in order to simplify the explanation. It is assumed that The direction of gravitational acceleration will be described as the reverse direction of the y-axis (downward direction in FIG. 1).

図1に示す施錠状態において、ハンドル31はハンドル31の長手方向がy軸方向と平行する位置にある。施錠状態の係止部32はフック35に引っかかっている。   In the locked state shown in FIG. 1, the handle 31 is in a position where the longitudinal direction of the handle 31 is parallel to the y-axis direction. The locking portion 32 in the locked state is caught by the hook 35.

第1の戸4と第2の戸5とが閉じている状態でハンドル31が上向きとなるように係止部32が回転操作されると、係止部32がフック35に引っかかって施錠状態となる。   When the locking portion 32 is rotated so that the handle 31 faces upward while the first door 4 and the second door 5 are closed, the locking portion 32 is caught by the hook 35 and is locked. Become.

本実施形態の磁気センサ11は、3方向(X1軸、Y1軸、Z1軸)の磁界の大きさを各々検出できるように構成されているが、X1軸はハンドル31の回転軸と平行しているため、ハンドル31が回転操作されてもX1軸の磁界の大きさは変化しない。すなわち磁気センサ11は、3方向の磁界の大きさを各々検出する磁気センサに限定されず、Y1軸とZ1軸の2方向の磁界の大きさを各々検出する2軸の磁気センサでもよい。同様に、本実施形態の加速度センサ16は、3方向(X2軸、Y2軸、Z2軸)の加速度の大きさを各々検出するが、X2軸はハンドル31の回転軸と平行しているため、ハンドル31が回転操作されてもX2軸の加速度の大きさは変化しない。すなわち加速度センサ16は、3方向の加速度の大きさを各々検出する加速度センサに限定されず、Y2軸とZ2軸の2方向の加速度の大きさを各々検出する2軸の加速度センサでもよい。   The magnetic sensor 11 of the present embodiment is configured to detect the magnitudes of magnetic fields in three directions (X1 axis, Y1 axis, Z1 axis), but the X1 axis is parallel to the rotation axis of the handle 31. Therefore, even if the handle 31 is rotated, the magnitude of the magnetic field on the X1 axis does not change. That is, the magnetic sensor 11 is not limited to a magnetic sensor that detects the magnitudes of magnetic fields in three directions, but may be a two-axis magnetic sensor that detects magnitudes of magnetic fields in two directions of the Y1 axis and the Z1 axis. Similarly, the acceleration sensor 16 of the present embodiment detects the magnitudes of acceleration in three directions (X2, Y2, and Z2 axes), respectively, but the X2 axis is parallel to the rotation axis of the handle 31, so Even if the handle 31 is rotated, the magnitude of the X2-axis acceleration does not change. That is, the acceleration sensor 16 is not limited to the acceleration sensor that detects the magnitudes of the accelerations in the three directions, but may be a biaxial acceleration sensor that detects the magnitudes of the accelerations in the two directions of the Y2 axis and the Z2 axis.

図1に示す施錠状態において第1方向検出部121が検出する合成磁界E1(磁界)の方向は、地磁気の方向であり、z軸方向となっている。第1方向検出部121は、Z1軸を基準とし、Z1軸に対して磁界がなす角度R2(図2参照)を検出している。図1に示す施錠状態におけるZ1軸もz軸方向を向いているので、Z1軸と合成磁界E1とがなす角度R2は0°となっている。また、本実施形態の施解錠センサ1は、磁気センサ11の周囲に磁界の発生源(例えば磁石等)を備えていないので、施解錠検知部123が検知する磁界の大きさは地磁気による磁界の大きさと等しい。   The direction of the synthetic magnetic field E1 (magnetic field) detected by the first direction detector 121 in the locked state shown in FIG. 1 is the direction of geomagnetism and is the z-axis direction. The first direction detection unit 121 detects an angle R2 (see FIG. 2) formed by the magnetic field with respect to the Z1 axis with reference to the Z1 axis. Since the Z1 axis in the locked state shown in FIG. 1 also faces the z-axis direction, the angle R2 formed by the Z1 axis and the combined magnetic field E1 is 0 °. In addition, since the locking / unlocking sensor 1 of the present embodiment does not include a magnetic field generation source (for example, a magnet) around the magnetic sensor 11, the magnitude of the magnetic field detected by the locking / unlocking detection unit 123 is the magnetic field generated by the geomagnetism. Equal to size.

図1に示す施錠状態において第2方向検出部122が検出する合成加速度G1(加速度)の方向は、重力加速度の方向であり、y軸の逆方向となっている。第2方向検出部122は、Y2軸を基準とし、Y2軸に対して重力加速度がなす角度R5(図2参照)を検出している。図1に示す施錠状態におけるY2軸もy軸の逆方向を向いているので、Y2軸と合成加速度G1とがなす角度R5は0°となっている。また、施解錠センサ1付近に振動源がなくて施解錠センサ1が静止している場合には、施解錠検知部123が検出する加速度の大きさは重力加速度の大きさと等しい。   The direction of the combined acceleration G1 (acceleration) detected by the second direction detection unit 122 in the locked state shown in FIG. 1 is the direction of gravitational acceleration, which is the direction opposite to the y axis. The second direction detection unit 122 detects an angle R5 (see FIG. 2) formed by gravity acceleration with respect to the Y2 axis with the Y2 axis as a reference. Since the Y2 axis in the locked state shown in FIG. 1 is also directed in the opposite direction of the y axis, the angle R5 formed by the Y2 axis and the resultant acceleration G1 is 0 °. When there is no vibration source near the locking / unlocking sensor 1 and the locking / unlocking sensor 1 is stationary, the magnitude of acceleration detected by the locking / unlocking detection unit 123 is equal to the magnitude of gravitational acceleration.

ハンドル31が施錠状態の位置にある状態で、基板に取り付けられたスイッチ(図示せず)を押すと、施解錠検知部123は、第1方向検出部121が求めた角度R2を第1基準角度R0として記憶部15に記憶させる。また施解錠検知部123は、磁気センサ11から入力された各軸の合成磁界の大きさを磁界の大きさ|E0|として記憶部15に記憶させる。図1に示す施錠状態では、第1基準角度R0は0°である。このとき施解錠検知部123はさらに、第2方向検出部122が求めた角度R5を第2基準角度R4として記憶部15に記憶させる。また施解錠検知部123は、加速度センサ16から入力された各軸の合成加速度の大きさを加速度の大きさ|G0|として記憶部15に記憶させる。図1に示す施錠状態では、第2基準角度R4は0°である。なお、第1基準角度R0及び磁界の大きさ|E0|と、第2基準角度R4及び加速度の大きさ|G0|とを各々記憶部15に記憶させる方法は、スイッチを押す方法に限定されない。また、第1基準角度R0及び磁界の大きさ|E0|と、第2基準角度R4及び加速度の大きさ|G0|とを記憶部15に記憶させる初期設定作業は、例えば施解錠センサ1を錠装置3に取り付けた際に1回行えばよい。   When a switch (not shown) attached to the board is pressed while the handle 31 is in the locked position, the locking / unlocking detection unit 123 sets the angle R2 obtained by the first direction detection unit 121 to the first reference angle. It is stored in the storage unit 15 as R0. Further, the locking / unlocking detection unit 123 stores the magnitude of the combined magnetic field of each axis input from the magnetic sensor 11 in the storage unit 15 as the magnitude of the magnetic field | E0 |. In the locked state shown in FIG. 1, the first reference angle R0 is 0 °. At this time, the locking / unlocking detection unit 123 further stores the angle R5 obtained by the second direction detection unit 122 in the storage unit 15 as the second reference angle R4. Further, the locking / unlocking detection unit 123 stores the magnitude of the combined acceleration of each axis input from the acceleration sensor 16 in the storage unit 15 as the magnitude of acceleration | G0 |. In the locked state shown in FIG. 1, the second reference angle R4 is 0 °. Note that the method of storing the first reference angle R0 and the magnitude of magnetic field | E0 | and the second reference angle R4 and the magnitude of acceleration | G0 | in the storage unit 15 is not limited to a method of pressing a switch. The initial setting operation for storing the first reference angle R0 and the magnitude of magnetic field | E0 | and the second reference angle R4 and the magnitude of acceleration | G0 | in the storage unit 15 is, for example, that the locking / unlocking sensor 1 is locked. What is necessary is just to perform once, when attaching to the apparatus 3. FIG.

次に、図2に示すように、ハンドル31が施錠状態から角度R1だけ回転操作された状態の施解錠センサ1の動作について説明する。   Next, as shown in FIG. 2, the operation of the locking / unlocking sensor 1 in a state where the handle 31 is rotated by an angle R1 from the locked state will be described.

ハンドル31が角度R1だけ回転操作されると、ハンドル31に内蔵された磁気センサ11及び加速度センサ16も回転する。磁気センサ11のY1軸はy軸に対して角度R1だけ回転し、Z1軸はz軸に対して角度R1だけ回転するが、地磁気の方向は変化しない。磁気センサ11の周辺に磁界を発生させる発生源等がない場合、合成磁界E1は地磁気の磁界である。つまりハンドル31が回転操作される前に第1方向検出部121が求めた合成磁界の方向と、ハンドル31が角度R1だけ回転操作された後に第1方向検出部121が求めた合成磁界の方向とは、角度R1だけ変化する。具体的には、ハンドル31が角度R1だけ回転操作されたとき、Z1軸は地磁気の方向(x軸方向)から角度R1だけ変化し、合成磁界E1とZ1軸とがなす角度R2は、0°から角度R1になる。なお、図2に示す状態では角度R1及び角度R2はおよそ30°である。   When the handle 31 is rotated by an angle R1, the magnetic sensor 11 and the acceleration sensor 16 built in the handle 31 also rotate. The Y1 axis of the magnetic sensor 11 rotates by an angle R1 with respect to the y axis and the Z1 axis rotates by an angle R1 with respect to the z axis, but the direction of geomagnetism does not change. When there is no source for generating a magnetic field around the magnetic sensor 11, the combined magnetic field E1 is a geomagnetic field. That is, the direction of the combined magnetic field obtained by the first direction detecting unit 121 before the handle 31 is rotated and the direction of the combined magnetic field obtained by the first direction detecting unit 121 after the handle 31 is rotated by the angle R1. Changes by an angle R1. Specifically, when the handle 31 is rotated by an angle R1, the Z1 axis changes from the geomagnetic direction (x-axis direction) by the angle R1, and the angle R2 formed by the combined magnetic field E1 and the Z1 axis is 0 °. From the angle R1. In the state shown in FIG. 2, the angle R1 and the angle R2 are approximately 30 °.

ハンドル31が回転操作されて、定期的に磁気センサ11から信号を取り込んで求めていた角度R2が変化すると、施解錠検知部123は、記憶部15から第1基準角度R0を読み込んで、角度R2から第1基準角度R0を引いて第1変化角度R3を求める。第1変化角度R3を数式で表すと、R3=R2−R0となっている。本実施形態では第1基準角度R0は0°であるため、ハンドル31が図2に示す状態の場合、第1変化角度R3は角度R2と同じ値の30°となっている。施解錠検知部123は、第1変化角度R3を求めることにより、ハンドル31が回転操作された角度R1が第1変化角度R3であるとみなす。   When the handle 31 is rotated and the angle R2 obtained by periodically taking in the signal from the magnetic sensor 11 changes, the locking / unlocking detection unit 123 reads the first reference angle R0 from the storage unit 15 and the angle R2 Is subtracted from the first reference angle R0 to obtain the first change angle R3. When the first change angle R3 is expressed by a mathematical formula, R3 = R2-R0. In the present embodiment, since the first reference angle R0 is 0 °, when the handle 31 is in the state shown in FIG. 2, the first change angle R3 is 30 °, which is the same value as the angle R2. The locking / unlocking detection unit 123 obtains the first change angle R3, and thus considers that the angle R1 by which the handle 31 is rotated is the first change angle R3.

ハンドル31が角度R1だけ回転操作されると、加速度センサ16のY2軸はy軸に対して角度R1だけ回転するが、重力加速度の方向は変化しない。加速度センサ16の周辺に振動を発生させる発生源等がない場合、合成加速度G1は重力加速度である。つまりハンドル31が回転操作される前に第2方向検出部122が求めた合成加速度の方向と、ハンドル31が角度R1だけ回転操作された後に第2方向検出部122が求めた合成加速度の方向とは、角度R1だけ変化する。ハンドル31が回転操作されて、定期的に加速度センサ16から信号を取り込んで求めていた角度R5が変化すると、施解錠検知部123は、記憶部15から第2基準角度R4を読み込んで、角度R5から第2基準角度R4を引いて第2変化角度R6を求める。第2変化角度R6を数式で表すと、R6=R5−R4となっている。本実施形態では第2基準角度R4は0°であるため、ハンドル31が図2に示す状態の場合、第2変化角度R6は角度R5と同じ値の30°となっている。   When the handle 31 is rotated by an angle R1, the Y2 axis of the acceleration sensor 16 rotates by the angle R1 with respect to the y axis, but the direction of the gravitational acceleration does not change. When there is no source for generating vibration around the acceleration sensor 16, the combined acceleration G1 is gravitational acceleration. That is, the direction of the composite acceleration obtained by the second direction detection unit 122 before the handle 31 is rotated and the direction of the composite acceleration obtained by the second direction detection unit 122 after the handle 31 is rotated by the angle R1. Changes by an angle R1. When the handle 31 is rotated and the angle R5 obtained by periodically acquiring a signal from the acceleration sensor 16 changes, the locking / unlocking detection unit 123 reads the second reference angle R4 from the storage unit 15 and reads the angle R5. Is subtracted from the second reference angle R4 to obtain a second change angle R6. When the second change angle R6 is expressed by a mathematical formula, R6 = R5-R4. In the present embodiment, since the second reference angle R4 is 0 °, when the handle 31 is in the state shown in FIG. 2, the second change angle R6 is 30 °, which is the same value as the angle R5.

記憶部15には、施解錠検知部123が錠装置3の施解錠状態を判断するために第1変化角度R3と比較するための第1閾値と、第2変化角度R6と比較するための第2閾値とが各々、予め登録されている。例えば一般家庭用の錠装置では、第1閾値及び第2閾値は各々20°〜30°程度に設定される。なお、第1閾値及び第2閾値は各々、同じ値であってもよいし、異なる値であってもよい。第1閾値及び第2閾値は各々、施解錠センサ1が使用される環境に応じて適宜の値に設定されてもよい。   The storage unit 15 includes a first threshold for the lock / unlock detection unit 123 to compare with the first change angle R3 in order to determine the lock / unlock state of the lock device 3, and a second threshold for comparison with the second change angle R6. Each of the two threshold values is registered in advance. For example, in a general household locking device, the first threshold value and the second threshold value are each set to about 20 ° to 30 °. The first threshold value and the second threshold value may be the same value or different values. Each of the first threshold value and the second threshold value may be set to an appropriate value according to the environment in which the locking / unlocking sensor 1 is used.

施解錠検知部123は、第1変化角度R3が第1閾値を超えているか否かによって磁界の方向の変化による施解錠状態を判断する。第1変化角度R3が第1閾値以下の場合には、施解錠検知部123は錠装置3が施錠状態であると判断する。第1変化角度R3が第1閾値を超えている場合には、施解錠検知部123は錠装置3が解錠状態であると判断する。施解錠検知部123は、磁界の方向の変化による施解錠状態を第1の状態として記憶部15に記憶させる。   The locking / unlocking detection unit 123 determines the locking / unlocking state due to the change in the direction of the magnetic field depending on whether or not the first change angle R3 exceeds the first threshold value. When the first change angle R3 is equal to or smaller than the first threshold, the lock / unlock detection unit 123 determines that the lock device 3 is in the locked state. When the first change angle R3 exceeds the first threshold, the locking / unlocking detection unit 123 determines that the locking device 3 is in the unlocked state. The locking / unlocking detection unit 123 stores the locking / unlocking state due to the change in the direction of the magnetic field in the storage unit 15 as the first state.

施解錠検知部123は、第2変化角度R6が第2閾値を超えているか否かによって重力加速度の方向の変化による施解錠状態を判断する。第2変化角度R6が第2閾値以下の場合には、施解錠検知部123は錠装置3が施錠状態であると判断する。第2変化角度R6が第2閾値を超えている場合には、施解錠検知部123は錠装置3が解錠状態であると判断する。施解錠検知部123は、重力加速度の方向の変化による施解錠状態を第2の状態として記憶部15に記憶させる。   The locking / unlocking detection unit 123 determines the locking / unlocking state due to a change in the direction of gravity acceleration depending on whether the second change angle R6 exceeds the second threshold. When the second change angle R6 is equal to or smaller than the second threshold, the lock / unlock detection unit 123 determines that the lock device 3 is in the locked state. When the second change angle R6 exceeds the second threshold, the locking / unlocking detection unit 123 determines that the locking device 3 is in the unlocked state. The locking / unlocking detection unit 123 causes the storage unit 15 to store the locking / unlocking state due to the change in the direction of gravity acceleration as the second state.

施解錠検知部123は、第1の状態と第2状態とを各々記憶部15から読み込み、第1の状態と第2状態とが一致する場合に、その一致した状態(施錠状態又は解錠状態)を錠装置3の施解錠状態として検知する。   The locking / unlocking detection unit 123 reads the first state and the second state from the storage unit 15 respectively, and when the first state and the second state match, the matching state (locking state or unlocking state) ) Is detected as the locking / unlocking state of the locking device 3.

本実施形態の錠装置3では、角度R1,R2,R5が90°を超えると係止部32がフック35から離れ、第1の戸4と第2の戸5とが開閉できる状態となる。例えば角度R1,R2,R5が40°(つまり角度R1,R2,R5が90°未満)である場合では、係止部32の先端部分がフック35に引っかかっているので、第1の戸4と第2の戸5とは開閉できない状態である。しかしながら閾値が30°に設定されていれば施解錠検知部123は、係止部32が解錠状態であると判断する。つまり、実際には建具が開閉できない状態であっても、第1変化角度R3が第1閾値を超えていて、且つ第2変化角度R6が第2閾値を超えていれば施解錠検知部123は解錠状態であることを検知するので、施錠状態の判断に対する信頼性が高まる。なお、セキュリティを高めたい場合には第1閾値及び第2閾値を例えば10°に設定する等、適宜の角度に設定すればよい。また、第1閾値及び第2閾値を記憶部15に設定する方法は、予め記憶部15に第1閾値及び第2閾値を書き込んでおく方法でもよいし、ディップスイッチ(図示せず)を用いて設定してもよい。例えばハンドル31内にディップスイッチを設け、そのディップスイッチの設定状態に応じて第1閾値及び第2閾値を変更できる等、適宜の方法でよい。   In the locking device 3 of the present embodiment, when the angles R1, R2, and R5 exceed 90 °, the locking portion 32 is separated from the hook 35, and the first door 4 and the second door 5 can be opened and closed. For example, when the angles R1, R2, and R5 are 40 ° (that is, the angles R1, R2, and R5 are less than 90 °), the distal end portion of the locking portion 32 is caught by the hook 35. The second door 5 cannot be opened or closed. However, if the threshold is set to 30 °, the locking / unlocking detection unit 123 determines that the locking unit 32 is in the unlocked state. That is, even if the joinery cannot actually be opened and closed, if the first change angle R3 exceeds the first threshold value and the second change angle R6 exceeds the second threshold value, the locking / unlocking detection unit 123 is Since it detects that it is an unlocked state, the reliability with respect to determination of a locked state increases. In order to increase security, the first threshold value and the second threshold value may be set to appropriate angles, for example, 10 °. Further, the method of setting the first threshold value and the second threshold value in the storage unit 15 may be a method of writing the first threshold value and the second threshold value in the storage unit 15 in advance, or using a dip switch (not shown). It may be set. For example, an appropriate method may be used, such as providing a dip switch in the handle 31 and changing the first threshold value and the second threshold value according to the setting state of the dip switch.

図3に示すように、ハンドル31が下向きになるまでハンドル31を回転操作すると、係止部32はストッパ(図示せず)に接して回転が止まる。ハンドル31が下向きの状態では、角度R1,R2,R5は180°である。係止部32はフック35から離れていて第1の戸4と第2の戸5とが開閉できる状態となる。第1変化角度R3も180°になり、第1閾値の30°を超えていて、第2変化角度R6も180°になり、第2閾値の30°を超えているので、施解錠検知部123は解錠状態であると判断する。   As shown in FIG. 3, when the handle 31 is rotated until the handle 31 is directed downward, the locking portion 32 comes into contact with a stopper (not shown) and stops rotating. In the state in which the handle 31 faces downward, the angles R1, R2, and R5 are 180 °. The locking portion 32 is separated from the hook 35 and can be opened and closed by the first door 4 and the second door 5. Since the first change angle R3 is also 180 ° and exceeds the first threshold value 30 °, and the second change angle R6 is also 180 ° and exceeds the second threshold value 30 °, the unlocking / unlocking detection unit 123 Is determined to be unlocked.

施解錠検知部123は、施錠状態又は解錠状態を検知すると、送信部13に検知結果を送信させる。なお、送信部13に検知結果を送信させるタイミングは、施解錠状態が変化した場合等、適宜のタイミングでよい。   When detecting the locking state or the unlocking state, the locking / unlocking detection unit 123 causes the transmission unit 13 to transmit the detection result. In addition, the timing which makes the transmission part 13 transmit a detection result may be an appropriate timing, such as when the locking / unlocking state changes.

本実施形態の施解錠センサ1は、磁気センサ11の周囲に磁界の発生源(例えば磁石等)を備えていないので、施解錠検知部123が検知する磁界の大きさは地磁気による磁界の大きさと等しくなり、一定であるとみなすことができる。施解錠検知部123は、磁気センサ11が検出した各軸の磁界を合成した合成磁界E1の大きさと、記憶部15に記憶されている磁界の大きさ|E0|との差を計算する。施解錠検知部123は、その差が第1の所定の範囲内であれば、合成磁界E1の大きさは地磁気による磁界の大きさと等しいと判断する。ここでいう第1の所定の範囲とは、磁気センサ11が検出する磁界にノイズが加わっていたとしても、検出された磁界が地磁気による磁界と等しいとみなすための許容範囲であり、施解錠センサ1の設置環境に応じて適宜の値に設定されていればよい。   Since the locking / unlocking sensor 1 of the present embodiment does not include a magnetic field generation source (for example, a magnet) around the magnetic sensor 11, the magnitude of the magnetic field detected by the locking / unlocking detection unit 123 is equal to the magnitude of the magnetic field due to geomagnetism. It can be considered equal and constant. The locking / unlocking detection unit 123 calculates a difference between the magnitude of the combined magnetic field E1 obtained by combining the magnetic fields of the respective axes detected by the magnetic sensor 11 and the magnitude | E0 | of the magnetic field stored in the storage unit 15. If the difference is within the first predetermined range, the locking / unlocking detection unit 123 determines that the magnitude of the combined magnetic field E1 is equal to the magnitude of the magnetic field due to geomagnetism. Here, the first predetermined range is an allowable range for assuming that the detected magnetic field is equal to the magnetic field by the geomagnetism even if noise is added to the magnetic field detected by the magnetic sensor 11. It is sufficient that the value is set to an appropriate value according to the installation environment.

磁気センサ11付近に、磁石等の磁界の発生源が近づけられると、磁気センサ11が検出する磁界が変化する。例えば磁石を磁気センサ11に近づけて地磁気とは異なる方向に磁界を発生させて、解錠状態であるにもかかわらず錠装置3が施錠状態であると施解錠検知部123に判断させようとすると、第1方向検出部121は地磁気の磁界よりも大きい磁界を検出する。施解錠検知部123は、磁気センサ11が検出した磁界を合成した合成磁界E1の大きさと、記憶部15に記憶されている磁界の大きさ|E0|との差を求める。施解錠検知部123は、その差が第1の所定の範囲を超えている場合には、係止部32は回転していないとみなして施解錠状態を判断しない。つまり、磁石の発生する磁界による誤検知が起こりにくくなる。言い換えると、記憶部15に記憶されている磁界の大きさ|E0|との差が第1の所定の範囲を超える磁界を磁気センサ11が検出しても、施解錠検知部123は施解錠状態を判断しないので、外来ノイズや磁石等による誤検知をしにくくなる。   When a magnetic field generation source such as a magnet is brought close to the magnetic sensor 11, the magnetic field detected by the magnetic sensor 11 changes. For example, when a magnet is brought close to the magnetic sensor 11 to generate a magnetic field in a direction different from the geomagnetism, the unlocking detection unit 123 tries to determine that the locking device 3 is locked despite being unlocked. The first direction detection unit 121 detects a magnetic field larger than the geomagnetic field. The locking / unlocking detection unit 123 obtains a difference between the magnitude of the combined magnetic field E1 obtained by combining the magnetic fields detected by the magnetic sensor 11 and the magnitude | E0 | of the magnetic field stored in the storage unit 15. When the difference exceeds the first predetermined range, the locking / unlocking detection unit 123 regards the locking unit 32 as not rotating and does not determine the locking / unlocking state. That is, erroneous detection due to the magnetic field generated by the magnet is less likely to occur. In other words, even if the magnetic sensor 11 detects a magnetic field in which the difference from the magnetic field magnitude | E0 | stored in the storage unit 15 exceeds the first predetermined range, the locking / unlocking detection unit 123 is in the locked / unlocked state. Therefore, it is difficult to detect errors due to external noise or magnets.

施解錠検知部123は、磁気センサ11が検出する磁界の3方向(X1軸、Y1軸、Z1軸)のうち、1方向のみ磁界の大きさが変化した場合には、施錠状態か解錠状態化の判断を行わない。磁気センサ11が回転した場合、Y1軸方向の磁界の大きさとZ1軸方向の磁界の大きさとが各々変化する。つまり3方向のうち1方向のみ磁界の大きさが変化した場合、この磁界の変化は、ハンドル31の回転によって、地磁気による磁界の大きさが変化した場合とは異なると考えられる。そこで施解錠検知部123は、3軸(X1軸、Y1軸、Z1軸)の検出方向のうち、1方向のみ磁界の大きさが変化した場合には、外来ノイズや、磁石等による不正な方法によって磁界が変化したとみなし、錠装置3の施解錠状態を判断しない。   The locking / unlocking detection unit 123 is in a locked state or an unlocked state when the magnitude of the magnetic field changes in only one direction among the three directions (X1, Y1, and Z1 axes) of the magnetic field detected by the magnetic sensor 11. Do not make a decision. When the magnetic sensor 11 rotates, the magnitude of the magnetic field in the Y1 axis direction and the magnitude of the magnetic field in the Z1 axis direction each change. That is, when the magnitude of the magnetic field changes in only one of the three directions, the change in the magnetic field is considered to be different from the case where the magnitude of the magnetic field due to geomagnetism changes due to the rotation of the handle 31. Therefore, the unlocking / unlocking detection unit 123 uses an external noise or an illegal method using a magnet or the like when the magnitude of the magnetic field changes in only one of the three detection directions (X1, Y1, and Z1). Therefore, the locking / unlocking state of the locking device 3 is not judged.

本実施形態の施解錠センサ1は、錠装置3の周囲に振動の発生源がなくて静止状態である場合、施解錠検知部123が検知する加速度の大きさは重力加速度の大きさと等しくなり、一定であるとみなすことができる。施解錠検知部123は、加速度センサ16が検出した各軸の加速度を合成した合成加速度G1の大きさと、記憶部15に記憶されている加速度の大きさ|G0|との差を計算する。施解錠検知部123は、その差が第2の所定の範囲内であれば、合成加速度G1の大きさは重力加速度の大きさと等しいと判断する。ここでいう第2の所定の範囲とは、第2方向検出部122が検出する加速度に微振動等によるノイズが加わっていたとしても、検出された加速度が重力加速度と等しいとみなすための許容範囲である。第2の所定の範囲は、施解錠センサ1の設置環境に応じて適宜の値に設定されていればよい。   When the locking / unlocking sensor 1 of the present embodiment is in a stationary state with no vibration source around the locking device 3, the magnitude of acceleration detected by the locking / unlocking detection unit 123 is equal to the magnitude of gravitational acceleration. It can be considered constant. The locking / unlocking detection unit 123 calculates a difference between the combined acceleration G1 obtained by combining the accelerations of the respective axes detected by the acceleration sensor 16 and the acceleration magnitude | G0 | stored in the storage unit 15. If the difference is within the second predetermined range, the locking / unlocking detection unit 123 determines that the magnitude of the combined acceleration G1 is equal to the magnitude of the gravitational acceleration. The second predetermined range here is an allowable range for assuming that the detected acceleration is equal to the gravitational acceleration even if noise due to microvibration or the like is added to the acceleration detected by the second direction detection unit 122. It is. The second predetermined range may be set to an appropriate value according to the installation environment of the locking / unlocking sensor 1.

加速度センサ16に衝撃や振動が加えられると、加速度センサ16は重力加速度とは異なる加速度を検出する。施解錠検知部123は、加速度センサ16が検出した加速度の合成加速度G1の大きさと、記憶部15に記憶させた加速度の大きさ|G0|との差を求める。施解錠検知部123は、その差が第2の所定の範囲を超えている場合には、ハンドル31は回転されていないとみなして施解錠状態を判断しない。つまり、記憶部15に記憶させた加速度の大きさ|G0|との差が第2の所定の範囲を超える加速度を第2方向検出部122が検出しても、施解錠検知部123は施解錠状態を判断しないので、振動等による誤検知をしにくくなる。   When an impact or vibration is applied to the acceleration sensor 16, the acceleration sensor 16 detects an acceleration different from the gravitational acceleration. The lock / unlock detection unit 123 obtains a difference between the magnitude of the combined acceleration G1 detected by the acceleration sensor 16 and the magnitude of acceleration | G0 | stored in the storage unit 15. When the difference exceeds the second predetermined range, the locking / unlocking detection unit 123 regards the handle 31 as not being rotated and does not determine the locking / unlocking state. That is, even when the second direction detection unit 122 detects an acceleration whose difference from the acceleration magnitude | G0 | stored in the storage unit 15 exceeds the second predetermined range, the locking / unlocking detection unit 123 does not lock / unlock. Since the state is not judged, erroneous detection due to vibration or the like becomes difficult.

施解錠検知部123は、加速度センサ16が検出する加速度の3方向(X2軸、Y2軸、Z2軸)のうち、1方向のみ加速度の大きさが変化した場合には、施錠状態か解錠状態化の判断を行わない。加速度センサ16が回転した場合、Y2軸方向の加速度の大きさとZ2軸方向の加速度の大きさとが各々変化する。つまり3方向のうち1方向のみ加速度の大きさが変化した場合、この加速度の変化は、ハンドル31の回転によって重力加速度の大きさが変化した場合とは異なると考えられる。そこで施解錠検知部123は、3軸(X2軸、Y2軸、Z2軸)の検出方向のうち、1方向のみ加速度の大きさが変化した場合には、錠装置3に衝撃や振動が加えられたとみなし、錠装置3の施解錠状態を判断しない。   The locking / unlocking detection unit 123 is in a locked state or an unlocked state when the magnitude of acceleration changes in only one of the three directions of acceleration detected by the acceleration sensor 16 (X2, Y2, and Z2 axes). Do not make a decision. When the acceleration sensor 16 rotates, the magnitude of acceleration in the Y2 axis direction and the magnitude of acceleration in the Z2 axis direction change. That is, when the magnitude of acceleration changes in only one of the three directions, this change in acceleration is considered to be different from the case where the magnitude of gravitational acceleration changes due to the rotation of the handle 31. Therefore, the locking / unlocking detection unit 123 applies an impact or vibration to the lock device 3 when the magnitude of acceleration changes in only one direction among the detection directions of the three axes (X2-axis, Y2-axis, Z2-axis). The locking / unlocking state of the locking device 3 is not judged.

本実施形態の施解錠検知部123は、錠装置3の施解錠状態の情報を送信部13に送信させているが、例えば磁石等が近づけられて合成磁界E1が大きく変化した場合に送信部13に警告用の情報を送信させるように構成されていてもよい。例えば合成磁界E1の大きさと磁界の大きさ|E0|との差が第1の所定の範囲を超える場合に、施解錠検知部123は、磁石等が近づけられた可能性があることを通知する情報を送信部13に送信させてもよい。同様に、例えば錠装置3に衝撃や振動が加えられて合成加速度G1の大きさと加速度の大きさ|G0|との差が第2の所定の範囲を超える場合に、施解錠検知部123は、送信部13に警告用の情報を送信させるように構成されていてもよい。   The locking / unlocking detection unit 123 of the present embodiment transmits information on the locking / unlocking state of the locking device 3 to the transmission unit 13. However, for example, when the combined magnetic field E <b> 1 changes greatly due to the approach of a magnet or the like, the transmission unit 13. May be configured to transmit warning information. For example, when the difference between the magnitude of the combined magnetic field E1 and the magnitude of the magnetic field | E0 | exceeds the first predetermined range, the locking / unlocking detection unit 123 notifies that there is a possibility that a magnet or the like has been brought closer. The information may be transmitted to the transmission unit 13. Similarly, for example, when an impact or vibration is applied to the lock device 3 and the difference between the magnitude of the combined acceleration G1 and the magnitude of acceleration | G0 | exceeds the second predetermined range, the locking / unlocking detection unit 123 The transmitter 13 may be configured to transmit warning information.

次に、本実形態の施解錠確認システム100について図5を参照して説明する。   Next, the locking / unlocking confirmation system 100 of this embodiment will be described with reference to FIG.

施解錠確認システム100は、施解錠センサ1と、親機2とを備えている。本実施形態では、1つの施解錠センサ1を備えた施解錠確認システム100について説明するが、施解錠センサ1を複数備えていてもよい。   The locking / unlocking confirmation system 100 includes a locking / unlocking sensor 1 and a parent device 2. In this embodiment, the locking / unlocking confirmation system 100 including one locking / unlocking sensor 1 will be described, but a plurality of locking / unlocking sensors 1 may be provided.

親機2は、(第2の)アンテナ211を有する受信部21と、制御部22と、表示部23とを備えている。本実施形態の親機2はさらに、電源部24と、基板(図示せず)、基板を収納する本体20とを有している。基板には、受信部21と、制御部22と、電源部24とが実装されている。また基板には、アンテナ211と、表示部23とが各々電気的に接続されている。   The base unit 2 includes a receiving unit 21 having a (second) antenna 211, a control unit 22, and a display unit 23. The base unit 2 of the present embodiment further includes a power supply unit 24, a board (not shown), and a main body 20 that houses the board. A reception unit 21, a control unit 22, and a power supply unit 24 are mounted on the substrate. The antenna 211 and the display unit 23 are electrically connected to the substrate.

受信部21は、アンテナ211で電波を受信し、受信した信号を電気信号に変換して制御部22に出力する。アンテナ211は、本体20の外側面から突き出るように取り付けられている。アンテナ211は、本体20の設置環境に応じて最も受信感度がよくなるようにアンテナ211の設置角度を調整できるようになっている。なお、アンテナ211は本体20の外側面から突き出るように取り付けられることに限定されず、例えば基板上に実装されていて、本体20の内側に配置されていてもよい。さらに、受信部21はアンテナ211を備えていなくてもよく、例えば本体20から露出する接続端子(図示せず)に接続される外部アンテナ(図示せず)を用いるように構成されていてもよい。   The receiving unit 21 receives radio waves with the antenna 211, converts the received signal into an electrical signal, and outputs the electrical signal to the control unit 22. The antenna 211 is attached so as to protrude from the outer surface of the main body 20. The antenna 211 is configured such that the installation angle of the antenna 211 can be adjusted so that the reception sensitivity is best according to the installation environment of the main body 20. Note that the antenna 211 is not limited to be attached so as to protrude from the outer surface of the main body 20, and may be mounted on a substrate and disposed inside the main body 20, for example. Furthermore, the receiving unit 21 may not include the antenna 211, and may be configured to use an external antenna (not shown) connected to a connection terminal (not shown) exposed from the main body 20, for example. .

制御部22は、受信部21から入力される受信信号に応じて、表示部23に表示させる表示内容を制御して、受信内容を表示部23に通知させる。   The control unit 22 controls the display content to be displayed on the display unit 23 according to the reception signal input from the reception unit 21, and notifies the display unit 23 of the reception content.

本実施形態の親機2はさらに、警戒ボタン(図示せず)と解除ボタン(図示せず)と、スピーカ(図示せず)とを有している。制御部22は、警戒ボタンを押されると警戒状態となり、警戒状態で施解錠センサ1から送信された解錠状態を通知する信号を受信すると、表示部23に警告を表示させ、スピーカから警報音を発生させる。警戒状態で解除ボタンが押されると、制御部22は警戒状態を解除する。   The base unit 2 of the present embodiment further has a warning button (not shown), a release button (not shown), and a speaker (not shown). When the warning button is pressed, the control unit 22 enters a warning state. When the control unit 22 receives a signal notifying the unlocking state transmitted from the locking / unlocking sensor 1 in the warning state, the control unit 22 displays a warning on the display unit 23 and outputs an alarm sound from the speaker. Is generated. When the release button is pressed in the alert state, the control unit 22 cancels the alert state.

表示部23は、複数のLED(Light Emitting Diode)(図示せず)を有している。各LEDの点灯/消灯は、制御部22によって制御される。表示部23には、点灯するLEDに応じて文字列や図形を表示するように構成されている。LEDが点灯すると、LEDの光を導く導光板(図示せず)によって文字列や図形が本体20の前面で光って見えるように構成されている。ここでいう文字列とは例えば、警戒状態において解錠された施解錠センサ1が設置されている場所名等である。また、ここでいう図形とは、例えば施解錠センサ1が設置されている場所名を連想させるピクトサインや、間取図等、適宜の図形でよい。なお、表示部23は、上記構成に限定されず、例えば本体20の前面に露出するように配置されたLED付近に文字や図形を表記しておき、点灯するLEDの位置によって通知内容がわかるようになっている等、適宜の方法で通知内容を表示できればよい。また、表示部は、LEDを有することに限定されず、液晶パネルや有機エレクトロルミネッセンスパネル等、適宜の表示機器を有していてもよい。   The display unit 23 includes a plurality of LEDs (Light Emitting Diodes) (not shown). Turning on / off of each LED is controlled by the control unit 22. The display unit 23 is configured to display a character string or a figure according to the LED to be lit. When the LED is lit, a character string and a figure are seen to shine on the front surface of the main body 20 by a light guide plate (not shown) that guides the light of the LED. The character string here is, for example, a place name where the unlocking / unlocking sensor 1 unlocked in the alert state is installed. In addition, the figure here may be an appropriate figure such as a pictograph reminiscent of a place name where the locking / unlocking sensor 1 is installed, a floor plan, or the like. Note that the display unit 23 is not limited to the above configuration, and for example, letters and figures are written near the LEDs arranged so as to be exposed on the front surface of the main body 20 so that the notification contents can be understood by the positions of the LEDs to be lit. It is only necessary that the notification content can be displayed by an appropriate method, such as. Further, the display unit is not limited to having LEDs, and may include appropriate display devices such as a liquid crystal panel and an organic electroluminescence panel.

電源部24は、基板上に実装された各部に電力を供給する。電源部24には、本体20の外部にある電源25から電力が供給されている。電源25は例えば、AC100V等の商用電源である。例えば本体20が壁等の建材(図示せず)に埋込設置されていて、建材内部の電線(図示せず)を介して電源25が電源部24に電気的に接続されていてもよい。また、電源25は、交流電圧を直流電圧に変換する変換部(例えばACアダプタ等)(図示せず)であってもよい。例えば本体20が壁等の建材の表面に取付設置された状態で、建材から露出するコンセント(図示せず)に接続されている変換部が電源部24に電力を供給してもよい。また、本体20は、建材に取り付けられる他にも、机や棚の上に置かれて使用されてもよい。   The power supply unit 24 supplies power to each unit mounted on the substrate. Power is supplied to the power source unit 24 from a power source 25 outside the main body 20. The power source 25 is, for example, a commercial power source such as AC 100V. For example, the main body 20 may be embedded in a building material (not shown) such as a wall, and the power supply 25 may be electrically connected to the power supply unit 24 via an electric wire (not shown) inside the building material. The power supply 25 may be a conversion unit (for example, an AC adapter) (not shown) that converts an AC voltage into a DC voltage. For example, a conversion unit connected to an outlet (not shown) exposed from the building material may supply power to the power supply unit 24 in a state where the main body 20 is attached and installed on the surface of the building material such as a wall. Moreover, the main body 20 may be used by being placed on a desk or a shelf other than being attached to a building material.

また電源部24は例えば、乾電池等の一次電池(図示せず)やニッケル水素電池等の二次電池(図示せず)を電源としてもよい。電源部24が電池駆動の場合は、親機2の設置場所を手軽に変更することができる。   The power supply unit 24 may use, for example, a primary battery (not shown) such as a dry battery or a secondary battery (not shown) such as a nickel hydride battery as a power source. When the power supply unit 24 is battery-driven, the installation location of the parent device 2 can be changed easily.

また電源部24は、内蔵の電池と外部電源とを切り替えて電力を供給するように構成されていてもよい。例えば、通常時には外部電源の電力を供給し、停電時等の非常時に内部電源の電力を供給するように構成されていてもよい。   The power supply unit 24 may be configured to supply power by switching between a built-in battery and an external power supply. For example, the power of the external power supply may be supplied during normal times, and the power of the internal power supply may be supplied in an emergency such as a power failure.

以上説明したように、本実施形態の施解錠センサ1は、判断部12と、送信部13とを備えている。判断部12は、建具(本実施形態では第1の戸4、第2の戸5)に対して建具を施錠する位置と解錠する位置との間で回転自在に設けられた錠装置3のハンドル31(回転部位)に設けられる。判断部12は、磁界(合成磁界E1)の方向及び加速度(合成加速度G1)の方向を検出する。判断部12は、検出された磁界(合成磁界E1)の方向及び検出された加速度(合成加速度G1)の方向を基に施錠状態か解錠状態かを検知する。送信部13は、判断部12の検知結果を外部の機器(本実施形態では親機2)に送信する。判断部12は、施錠状態又は解錠状態で検出された磁界(合成磁界E1)の方向を第1基準方向とする。判断部12は、磁界(合成磁界E1)の検出方向の第1基準方向に対する相対的な第1変化角度R3を求める。判断部12は、施錠状態又は解錠状態で検出された加速度(合成加速度G1)の方向を第2基準方向とする。判断部12は、加速度(合成加速度G1)の検出方向の第2基準方向に対する相対的な第2変化角度R6を求める。判断部12は、第1変化角度R3に基づく判断結果が施錠状態であって、且つ第2変化角度R6に基づく判断結果が施錠状態である場合には施錠状態であると判断する。判断部12は、第1変化角度R3に基づく判断結果が解錠状態であって、且つ第2変化角度R6に基づく判断結果が解錠状態である場合には解錠状態であると判断する。   As described above, the locking / unlocking sensor 1 of the present embodiment includes the determination unit 12 and the transmission unit 13. The determination unit 12 is provided for the lock device 3 that is rotatably provided between the position where the joinery is locked and the position where it is unlocked with respect to the joinery (first door 4 and second door 5 in this embodiment). Provided on the handle 31 (rotating part). The determination unit 12 detects the direction of the magnetic field (synthetic magnetic field E1) and the direction of acceleration (synthetic acceleration G1). The determination unit 12 detects whether the state is locked or unlocked based on the direction of the detected magnetic field (synthetic magnetic field E1) and the direction of the detected acceleration (synthetic acceleration G1). The transmission unit 13 transmits the detection result of the determination unit 12 to an external device (master device 2 in the present embodiment). The determination unit 12 sets the direction of the magnetic field (synthetic magnetic field E1) detected in the locked state or the unlocked state as the first reference direction. The determination unit 12 obtains a first change angle R3 relative to the first reference direction in the detection direction of the magnetic field (synthetic magnetic field E1). The determination unit 12 sets the direction of acceleration (synthetic acceleration G1) detected in the locked state or the unlocked state as the second reference direction. The determination unit 12 obtains a second change angle R6 relative to the second reference direction in the detection direction of the acceleration (synthetic acceleration G1). When the determination result based on the first change angle R3 is in the locked state and the determination result based on the second change angle R6 is in the locked state, the determination unit 12 determines that the lock is in the locked state. When the determination result based on the first change angle R3 is in the unlocked state and the determination result based on the second change angle R6 is in the unlocked state, the determining unit 12 determines that the state is in the unlocked state.

施解錠センサ1は地磁気による磁界の検出方向、及び重力加速度の検出方向の2つの検出方向に基づいて錠装置3の施解錠状態を検知するので、施解錠状態を誤検知しにくくなる。   Since the locking / unlocking sensor 1 detects the locking / unlocking state of the locking device 3 based on the two detection directions of the detection direction of the magnetic field by the geomagnetism and the detection direction of the gravitational acceleration, it is difficult to erroneously detect the locking / unlocking state.

磁気センサ11は、互いに交差する複数の第1検出軸(本実施形態ではX1軸、Y1軸、Z1軸)の各々で磁界の大きさを検出する。判断部12は、磁気センサ11から入力された複数の第1検出軸(X1軸、Y1軸、Z1軸)での磁界の大きさを合成することによって、磁界(合成磁界E1)の方向を検出する。加速度センサ16は、互いに交差する複数の第2検出軸(本実施形態ではX2軸、Y2軸、Z2軸)の各々で加速度の大きさを検出する。判断部12は、加速度センサ16から入力された複数の第2検出軸(X2軸、Y2軸、Z2軸)での加速度の大きさを合成することによって、加速度(合成加速度G1)の方向を検出することも好ましい。互いに交差するX1軸、Y1軸、Z1軸で各々検出される磁界の大きさを合成することによって合成磁界E1の方向を検出することにより、磁界の方向の検出精度が向上する。また、互いに交差するX2軸、Y2軸、Z2軸で各々検出される加速度の大きさを合成することによって合成加速度G1の方向を検出することにより、加速度の方向の検出精度が向上する。   The magnetic sensor 11 detects the magnitude of the magnetic field on each of a plurality of first detection axes (X1 axis, Y1 axis, Z1 axis in the present embodiment) that intersect each other. The determination unit 12 detects the direction of the magnetic field (synthetic magnetic field E1) by combining the magnitudes of the magnetic fields on the plurality of first detection axes (X1, Y1, and Z1 axes) input from the magnetic sensor 11. To do. The acceleration sensor 16 detects the magnitude of acceleration on each of a plurality of second detection axes (X2 axis, Y2 axis, and Z2 axis in the present embodiment) that intersect each other. The determination unit 12 detects the direction of acceleration (synthetic acceleration G1) by synthesizing the magnitude of acceleration on the plurality of second detection axes (X2, Y2, and Z2 axes) input from the acceleration sensor 16. It is also preferable to do. By detecting the direction of the combined magnetic field E1 by combining the magnitudes of the magnetic fields detected by the X1 axis, the Y1 axis, and the Z1 axis that intersect each other, the detection accuracy of the magnetic field direction is improved. Further, by detecting the direction of the combined acceleration G1 by combining the magnitudes of the accelerations detected by the X2 axis, the Y2 axis, and the Z2 axis that intersect each other, the accuracy of detection of the acceleration direction is improved.

判断部12は、複数の第1検出軸のうち1軸のみ磁界の大きさが変化した場合、又は複数の第2検出軸のうち1軸のみ加速度の大きさが変化した場合、施錠状態か解錠状態かの検知を行わないことも好ましい。複数の第1検出軸とは、本実施形態ではX1軸、Y1軸、Z1軸である。複数の第2検出軸とは、本実施形態ではX2軸、Y2軸、Z2軸である。複数の第1検出軸のうち1軸のみ磁界の大きさが変化した場合、又は複数の第2検出軸のうち1軸のみ加速度の大きさが変化した場合には、判断部12は、ハンドル31が回転操作されていないと判断する。そのため判断部12は、外来ノイズや磁石等や振動によって施解錠状態を誤検知しにくくなる。   When the magnitude of the magnetic field changes only in one of the plurality of first detection axes, or when the magnitude of acceleration changes in only one of the plurality of second detection axes, the determination unit 12 It is also preferable not to detect the lock state. In the present embodiment, the plurality of first detection axes are the X1 axis, the Y1 axis, and the Z1 axis. In the present embodiment, the plurality of second detection axes are the X2 axis, the Y2 axis, and the Z2 axis. When only one axis of the plurality of first detection axes changes the magnitude of the magnetic field, or when only one axis of the plurality of second detection axes changes the magnitude of the acceleration, the determination unit 12 uses the handle 31. Is determined not to be rotated. Therefore, the determination unit 12 is less likely to erroneously detect the locked / unlocked state due to external noise, magnets, or vibration.

判断部12は、磁気センサ11から入力される複数の検出軸(X1軸、Y1軸、Z1軸)での磁界の大きさの合成値(合成磁界E1の大きさ)が、予め設定された地磁気による磁界の大きさと異なっているか否かを判断する。予め設定された地磁気による磁界の大きさとは、記憶部15に記憶された磁界の大きさ|E0|のことである。判断部12は、上記の磁界の大きさの合成値(合成磁界E1の大きさ)が、地磁気による磁界の大きさ(磁界の大きさ|E0|)と異なっている場合、施錠状態か解錠状態かの検知を行わない。判断部12は、加速度センサ16から入力される複数の第2検出軸(X2軸、Y2軸、Z2軸)での加速度の大きさの合成値(合成加速度G1の大きさ)が、予め設定された加速度の大きさと異なっているか否かを判断する。予め設定された加速度の大きさとは、記憶部15に記憶された重力加速度の大きさ|G0|のことである。判断部12は、上記の加速度の大きさの合成値(合成加速度G1の大きさ)が、重力加速度の大きさ|G0|と異なっている場合、施錠状態か解錠状態かの検知を行わないことも好ましい。判断部12は、検出された合成磁界E1の大きさと磁界の大きさ|E0|との差が第1の所定の範囲を超える場合には、施解錠状態を判断しない。また、判断部12は、検出された合成加速度G1の大きさと重力加速度の大きさ|G0|との差が第2の所定の範囲を超える場合には、施解錠状態を判断しないので、外来ノイズや磁石や振動による誤検知をしにくくなる。   The determination unit 12 is a geomagnetism in which a composite value (magnitude of the composite magnetic field E1) of magnetic field magnitudes at a plurality of detection axes (X1, Y1, and Z1 axes) input from the magnetic sensor 11 is set in advance. It is determined whether or not the magnitude of the magnetic field is different. The magnitude of the magnetic field set in advance by the geomagnetism is the magnitude of the magnetic field | E0 | stored in the storage unit 15. When the composite value of the magnetic field magnitude (the magnitude of the synthetic magnetic field E1) is different from the magnitude of the magnetic field due to geomagnetism (magnet magnitude | E0 |), the determination unit 12 determines whether the locked state is unlocked. Does not detect status. The determination unit 12 is set in advance with a composite value of acceleration magnitudes (a magnitude of the composite acceleration G1) on the plurality of second detection axes (X2, Y2, and Z2 axes) input from the acceleration sensor 16. It is judged whether or not the magnitude of acceleration is different. The preset acceleration magnitude is the gravitational acceleration magnitude | G0 | stored in the storage unit 15. The determination unit 12 does not detect the locked state or the unlocked state when the combined value of the acceleration magnitude (the magnitude of the combined acceleration G1) is different from the gravity acceleration magnitude | G0 |. It is also preferable. The determination unit 12 does not determine the locked / unlocked state when the difference between the detected magnitude of the combined magnetic field E1 and the magnitude of the magnetic field | E0 | exceeds the first predetermined range. In addition, when the difference between the detected magnitude of the combined acceleration G1 and the magnitude of gravity acceleration | G0 | exceeds the second predetermined range, the determination unit 12 does not determine the locked / unlocked state, so that the external noise Makes it difficult to detect errors due to magnets and vibration.

判断部12は、施錠状態と解錠状態とを弁別するための第1閾値及び第2閾値を有している。判断部12は、第1変化角度R3と第1閾値との大小を比較して判断した施解錠状態と、第2変化角度R6と第2閾値との大小を比較して判断した施解錠状態とが一致する場合に施錠状態か解錠状態かを検知することも好ましい。判断部12は、実際に建具が開閉できるか否かに関わらず、第1変化角度R3と第1閾値との大小を比較し、且つ第2変化角度R6と第2閾値との大小を比較して施解錠状態を検知するので、施解錠状態の検知結果に対する信頼性を高めることができる。また、第1閾値及び第2閾値の設定により、施錠状態または解錠状態を検知する角度が変更可能となる。   The determination unit 12 has a first threshold value and a second threshold value for discriminating between the locked state and the unlocked state. The determination unit 12 compares the locking / unlocking state determined by comparing the magnitudes of the first change angle R3 and the first threshold value, and the locking / unlocking state determined by comparing the magnitudes of the second change angle R6 and the second threshold value. It is also preferable to detect the locked state or the unlocked state when the two match. The determination unit 12 compares the first change angle R3 with the first threshold value and compares the second change angle R6 with the second threshold value regardless of whether the joinery can actually be opened or closed. Since the locked / unlocked state is detected, the reliability of the detection result of the locked / unlocked state can be improved. Further, the angle at which the locked state or the unlocked state is detected can be changed by setting the first threshold value and the second threshold value.

本実施形態の施解錠確認システム100は、施解錠センサ1と、親機2とを備えている。親機2は、送信部13が送信した検知結果を受信する受信部21、及び錠装置3の施解錠状態を表示する表示部23を有する。施解錠確認システム100は、施解錠センサ1を備えているので、設置の手間を軽減した施解錠確認システムを実現できる。また、親機2の表示部23を見ることにより、設置した施解錠センサ1の施解錠状態を知ることができるようになる。   The locking / unlocking confirmation system 100 of this embodiment includes a locking / unlocking sensor 1 and a parent device 2. The base unit 2 includes a receiving unit 21 that receives the detection result transmitted by the transmitting unit 13 and a display unit 23 that displays the locking / unlocking state of the lock device 3. Since the locking / unlocking confirmation system 100 includes the locking / unlocking sensor 1, it is possible to realize a locking / unlocking confirmation system with reduced installation effort. Further, by looking at the display unit 23 of the master unit 2, it becomes possible to know the locking / unlocking state of the installed locking / unlocking sensor 1.

なお、本実施形態の施解錠センサ1は、ハンドル31内に収納されているが、ハンドル31内に収納されることに限定される趣旨ではない。施解錠センサ1は、錠装置3のうち回転する部位に設けられていればよい。   In addition, although the locking / unlocking sensor 1 of this embodiment is accommodated in the handle 31, it is not limited to being accommodated in the handle 31. The locking / unlocking sensor 1 only needs to be provided in a rotating portion of the locking device 3.

本実施形態の判断部12は、マイクロコンピュータで構成されているが、マイクロコンピュータで構成されることに限定されず、第1方向検出部121と、第2方向検出部122と、施解錠検知部123との動作を実現できる適宜の構成でもよい。   The determination unit 12 of the present embodiment is constituted by a microcomputer, but is not limited to being constituted by a microcomputer, and the first direction detection unit 121, the second direction detection unit 122, and the locking / unlocking detection unit. An appropriate configuration that can realize the operation with the computer 123 may be used.

本実施形態の施解錠検知部123は、施錠状態で検出した合成磁界E1の方向と合成加速度G1の方向とを各々記憶部15に記憶させているが、解錠状態で検出した検出した合成磁界E1の方向と合成加速度G1の方向とを各々記憶部15に記憶させてもよい。つまり施解錠検知部123は、解錠状態の合成磁界E1の方向の変化角度及び合成加速度G1の方向の変化角度に基づいて施解錠状態を判断してもよい。   The locking / unlocking detection unit 123 of the present embodiment stores the direction of the combined magnetic field E1 detected in the locked state and the direction of the combined acceleration G1 in the storage unit 15, respectively, but the detected combined magnetic field detected in the unlocked state. The direction of E1 and the direction of the combined acceleration G1 may be stored in the storage unit 15, respectively. That is, the locking / unlocking detection unit 123 may determine the locking / unlocking state based on the change angle in the direction of the combined magnetic field E1 in the unlocked state and the change angle in the direction of the combined acceleration G1.

本実施形態の記憶部15は、施錠状態又は解錠状態を判断するための第1閾値を1つ記憶しているが、複数の第1閾値を各々記憶していてもよい。例えば記憶部15は、施錠状態を判断するための第1閾値(例えば30°)と、解錠状態を判断するための第1閾値(例えば150°)とを各々記憶し、施解錠検知部123は、2つの第1閾値と第1変化角度R3とに基づいてハンドル31の状態を判断してもよい。例えば第1変化角度R3が、2つの閾値の間にある場合(30<R3<150)、ハンドル31が施錠位置又は解錠位置から回転した状態であると施解錠検知部123が判断して施解錠状態の確認を促す信号を送信部13に送信させてもよい。2つの第2閾値と第2変化角度R6との関係についても同様である。このように、閾値の数を増やしてハンドル31の状態に応じて施解錠検知部123の動作のパターンを増やすことにより、施解錠センサ1は、施解錠状態の検知の精度が要求されるセキュリティシステム等に利用可能である。   Although the memory | storage part 15 of this embodiment has memorize | stored one 1st threshold value for determining a locking state or an unlocking state, you may memorize | store each of several 1st threshold value. For example, the storage unit 15 stores a first threshold value (for example, 30 °) for determining the locking state and a first threshold value (for example, 150 °) for determining the unlocked state, and the locking / unlocking detection unit 123. May determine the state of the handle 31 based on the two first threshold values and the first change angle R3. For example, when the first change angle R3 is between two threshold values (30 <R3 <150), the locking / unlocking detection unit 123 determines that the handle 31 is rotated from the locking position or the unlocking position, and the unlocking is performed. A signal that prompts confirmation of the lock state may be transmitted to the transmission unit 13. The same applies to the relationship between the two second threshold values and the second change angle R6. In this way, by increasing the number of thresholds and increasing the pattern of operation of the locking / unlocking detection unit 123 according to the state of the handle 31, the locking / unlocking sensor 1 is a security system that requires accuracy in detecting the locking / unlocking state. Etc. are available.

本実施形態の第1方向検出部121は、3方向(本実施形態ではX1軸、Y1軸、Z1軸)の磁界を検出できるように構成されているが、磁界の検出方向は3方向に限定される趣旨ではない。第1方向検出部121は、回転部位の回転軸に沿う方向(つまり回転操作されても磁界が変化しない方向)を除いた方向であって、交差する2方向の磁界を検出してもよい。例えば本実施形態の場合では、Y1軸とZ1軸との磁界を各々検出することにより、角度R2を求めることができる。   The first direction detection unit 121 of the present embodiment is configured to detect magnetic fields in three directions (X1 axis, Y1 axis, and Z1 axis in the present embodiment), but the magnetic field detection direction is limited to three directions. Not intended. The first direction detection unit 121 may detect magnetic fields in two directions that intersect each other except for a direction along the rotation axis of the rotating part (that is, a direction in which the magnetic field does not change even if the rotation operation is performed). For example, in the present embodiment, the angle R2 can be obtained by detecting the magnetic fields of the Y1 axis and the Z1 axis.

本実施形態の第2方向検出部122は、3方向(本実施形態ではX2軸、Y2軸、Z2軸)の加速度を検出できるように構成されているが、加速度の検出方向は3方向に限定される趣旨ではない。第2方向検出部122は、回転部位の回転軸に沿う方向(つまり回転操作されても加速度が変化しない方向)を除いた方向であって、交差する2方向の加速度を検出してもよい。例えば本実施形態の場合では、Y2軸とZ2軸との加速度を各々検出することにより、角度R5を求めることができる。   The second direction detection unit 122 of the present embodiment is configured to detect acceleration in three directions (X2, Y2, and Z2 axes in the present embodiment), but the acceleration detection direction is limited to three directions. Not intended. The second direction detection unit 122 may detect accelerations in two directions that intersect each other except for a direction along the rotation axis of the rotation part (that is, a direction in which the acceleration does not change even if the rotation operation is performed). For example, in the case of the present embodiment, the angle R5 can be obtained by detecting the accelerations of the Y2 axis and the Z2 axis, respectively.

本実施形態の送信部13は錠装置3の施解錠状態の情報を送信し、受信部21はその施解錠状態の情報を受信するが、送信部13と受信部21とが互いに情報を送受信するように構成されていてもよい。例えば、親機2が錠装置3の施解錠状態を確認する信号を送信し、その信号を受信した複数の施解錠センサ1が各々、錠装置3の施解錠状態を送信してもよい。   The transmission unit 13 of the present embodiment transmits information on the locking / unlocking state of the lock device 3, and the receiving unit 21 receives the information on the locking / unlocking state, but the transmission unit 13 and the receiving unit 21 exchange information with each other. It may be configured as follows. For example, the master unit 2 may transmit a signal for confirming the locking / unlocking state of the locking device 3, and each of the plurality of locking / unlocking sensors 1 that have received the signal may transmit the locking / unlocking state of the locking device 3.

(実施形態2)
本実施形態に係る施解錠センサ1について図6を参照して説明する。
(Embodiment 2)
The locking / unlocking sensor 1 according to this embodiment will be described with reference to FIG.

施解錠センサ1は、筐体10を備えていて、ハンドル31とは別体に構成されている。本実施形態の施解錠センサ1は、ハンドル31に外付けされている点が実施形態1の施解錠センサ1と相違している。なお、施解錠センサ1は、ハンドル31に外付けされている点を除いて実施形態1と同様であるため、実施形態1と同一の構成については同一の符号を付してその説明を省略する。   The locking / unlocking sensor 1 includes a housing 10 and is configured separately from the handle 31. The locking / unlocking sensor 1 of this embodiment is different from the locking / unlocking sensor 1 of Embodiment 1 in that the handle 31 is externally attached. Since the locking / unlocking sensor 1 is the same as that of the first embodiment except that it is externally attached to the handle 31, the same components as those of the first embodiment are denoted by the same reference numerals and description thereof is omitted. .

筐体10は、基板(図示せず)を収納している。基板には、図6に示すように、磁気センサ11と、加速度センサ16と、判断部12と、送信部13と、電源部14と、記憶部15とが実装されている。筐体10は、円筒状に形成されていて、円形部分がハンドル31(回転部位)に取り付けられている。筐体10は、ハンドル31のうち、係止部32と接していない側面部分に取り付けられている。本実施形態では、筐体10内の磁気センサ11と加速度センサ16とが、軸34の回転軸付近に配置されるように筐体10がハンドル31に取り付けられている。なお、筐体10は、例えば両面粘着テープや、ねじ止め等の適宜の方法でハンドル31に取り付けられていればよい。また、筐体10は、ハンドル31のうち軸34に近い位置に取り付けられることに限定されず、施解錠する際に回転する部位に取り付けられていればよい。また、筐体10の形状は円筒状に限定されず、矩形箱状等の適宜の形状でもよい。   The housing 10 houses a substrate (not shown). As shown in FIG. 6, the magnetic sensor 11, the acceleration sensor 16, the determination unit 12, the transmission unit 13, the power supply unit 14, and the storage unit 15 are mounted on the substrate. The housing 10 is formed in a cylindrical shape, and a circular portion is attached to the handle 31 (rotating part). The housing 10 is attached to a side surface portion of the handle 31 that is not in contact with the locking portion 32. In the present embodiment, the housing 10 is attached to the handle 31 so that the magnetic sensor 11 and the acceleration sensor 16 in the housing 10 are arranged near the rotation axis of the shaft 34. In addition, the housing | casing 10 should just be attached to the handle | steering-wheel 31 by appropriate methods, such as a double-sided adhesive tape and screwing. Moreover, the housing | casing 10 is not limited to being attached to the position near the axis | shaft 34 among the handles 31, and should just be attached to the site | part which rotates when locking / unlocking. Further, the shape of the housing 10 is not limited to a cylindrical shape, and may be an appropriate shape such as a rectangular box shape.

なお、本実施形態の施解錠センサ1は、実施形態1の施解錠センサ1と同様に、3方向の各々の磁界を検出できる磁気センサ11を有しているが、磁界の検出方向は3方向に限定される趣旨ではない。本実施形態では、x軸方向(ハンドル31の回転軸に沿う方向)の磁界は変化しないため、x軸方向の磁界を検出する機能を省略してもよい。つまり本実施形態の磁気センサ11は、y軸とz軸とを含む平面内の磁界の大きさの変化を検出できるように2方向の磁界の大きさを検出するように構成されていればよい。   The locking / unlocking sensor 1 of the present embodiment has a magnetic sensor 11 that can detect magnetic fields in three directions as in the locking / unlocking sensor 1 of Embodiment 1, but the detection direction of the magnetic field is three directions. It is not intended to be limited to. In this embodiment, since the magnetic field in the x-axis direction (the direction along the rotation axis of the handle 31) does not change, the function of detecting the magnetic field in the x-axis direction may be omitted. That is, the magnetic sensor 11 of the present embodiment only needs to be configured to detect the magnitude of the magnetic field in two directions so that the change in the magnitude of the magnetic field in the plane including the y axis and the z axis can be detected. .

本実施形態の施解錠センサ1は、実施形態1の施解錠センサ1と同様に、3方向の各々の加速度を検出できる加速度センサ16を有しているが、加速度の検出方向は3方向に限定される趣旨ではない。本実施形態では、x軸方向(ハンドル31の回転軸に沿う方向)の加速度は変化しないため、x軸方向の加速度を検出する機能を省略してもよい。つまり本実施形態の加速度センサ16は、y軸とz軸とを含む平面内の加速度の大きさの変化を検出できるように2方向の加速度の大きさを検出するように構成されていればよい。   The locking / unlocking sensor 1 according to the present embodiment includes the acceleration sensor 16 that can detect the accelerations in the three directions as in the locking / unlocking sensor 1 according to the first embodiment. However, the acceleration detection direction is limited to the three directions. Not intended. In this embodiment, since the acceleration in the x-axis direction (the direction along the rotation axis of the handle 31) does not change, the function of detecting the acceleration in the x-axis direction may be omitted. That is, the acceleration sensor 16 of the present embodiment only needs to be configured to detect the magnitude of acceleration in two directions so that a change in the magnitude of acceleration in a plane including the y axis and the z axis can be detected. .

以上説明したように、本実施形態の施解錠センサ1では、判断部12及び送信部13は、錠装置3とは別体に形成された筐体10に収納される。筐体10はハンドル31(回転部位)に取り付けられることも好ましい。施解錠状態の検知機能を有していない錠装置に施解錠センサ1を取り付けることで、施解錠センサ1はその錠装置の施解錠状態を検知することができるようになる。   As described above, in the locking / unlocking sensor 1 of this embodiment, the determination unit 12 and the transmission unit 13 are housed in the housing 10 formed separately from the lock device 3. The housing 10 is also preferably attached to the handle 31 (rotating part). By attaching the locking / unlocking sensor 1 to a locking device that does not have the function of detecting the locking / unlocking state, the locking / unlocking sensor 1 can detect the locking / unlocking state of the locking device.

1 施解錠センサ
10 筐体
100 施解錠確認システム
11 磁気センサ
12 判断部
16 加速度センサ
13 送信部
23 表示部
2 親機
21 受信部
3 錠装置
31 ハンドル(回転部位)
4 第1の戸(建具)
5 第2の戸(建具)
E1 合成磁界(磁界)
G1 合成加速度(加速度)
DESCRIPTION OF SYMBOLS 1 Locking / unlocking sensor 10 Housing | casing 100 Locking / unlocking confirmation system 11 Magnetic sensor 12 Judgment part 16 Acceleration sensor 13 Transmission part 23 Display part 2 Parent | base station 21 Reception part 3 Locking device 31 Handle (rotation part)
4 First door (joint)
5 Second door (joint)
E1 Synthetic magnetic field
G1 Composite acceleration (acceleration)

Claims (7)

建具に対して前記建具を施錠する位置と解錠する位置との間で回転自在に設けられた錠装置の回転部位に設けられ、磁界の方向及び重力加速度の方向を検出し、前記磁界の方向及び前記重力加速度の方向を基に施錠状態か解錠状態かを検知する判断部と、
前記判断部の検知結果を外部の機器に送信する送信部と
を備え、
前記判断部は、
前記施錠状態又は前記解錠状態で検出された磁界の方向を第1基準方向とし、磁界の検出方向の前記第1基準方向に対する相対的な第1変化角度を求め、
前記施錠状態又は前記解錠状態で検出された重力加速度の方向を第2基準方向とし、重力加速度の検出方向の前記第2基準方向に対する相対的な第2変化角度を求め、
前記第1変化角度に基づく判断結果が施錠状態であって、且つ前記第2変化角度に基づく判断結果が施錠状態である場合には前記施錠状態であると判断し、
前記第1変化角度に基づく判断結果が解錠状態であって、且つ前記第2変化角度に基づく判断結果が解錠状態である場合には前記解錠状態であると判断するように構成されている
ことを特徴とする施解錠センサ。
Provided at a rotating part of a locking device that is rotatably provided between a position where the joinery is locked and unlocked with respect to the joinery, detects the direction of the magnetic field and the direction of gravity acceleration , and detects the direction of the magnetic field. And a determination unit that detects whether the locked state or the unlocked state based on the direction of the gravitational acceleration ,
A transmission unit that transmits the detection result of the determination unit to an external device,
The determination unit
The direction of the magnetic field detected by the locked state or the unlocked state to the first reference direction, obtains a relative first change angle relative to the first reference direction of the detection direction of the magnetic field,
The direction of the gravitational acceleration detected in the locked state or the unlocked state is set as a second reference direction, and a relative second change angle of the gravitational acceleration detection direction with respect to the second reference direction is obtained,
The first change angle based determination result is a locked state, and said second change angle based determination result determines that the case of the locked state is the locking state,
The first change angle based determination result an unlocked state, and when the second change angle based determination result is unlocked is configured to determine that the said unlocked state Locking / unlocking sensor characterized by
前記判断部は、
互いに交差する複数の第1検出軸の各々で磁界の大きさを検出する磁気センサから入力された前記複数の第1検出軸での磁界の大きさを合成することによって、磁界の方向を検出し、
互いに交差する複数の第2検出軸の各々で加速度の大きさを検出する加速度センサから入力された前記複数の第2検出軸での加速度の大きさを合成することによって、重力加速度の方向を検出するように構成されている
ことを特徴とする請求項1に記載の施解錠センサ。
The determination unit
The direction of the magnetic field is detected by synthesizing the magnitude of the magnetic field at the plurality of first detection axes input from the magnetic sensor that detects the magnitude of the magnetic field at each of the plurality of first detection axes that intersect each other. ,
The direction of gravitational acceleration is detected by synthesizing the magnitude of acceleration on the plurality of second detection axes input from an acceleration sensor that detects magnitude of acceleration on each of the plurality of second detection axes that intersect each other. The locking / unlocking sensor according to claim 1, wherein the locking / unlocking sensor is configured as described above.
前記判断部は、前記複数の第1検出軸のうち1軸のみ前記磁界の大きさが変化した場合、又は前記複数の第2検出軸のうち1軸のみ前記加速度の大きさが変化した場合、施錠状態か解錠状態かの検知を行わないように構成されている
ことを特徴とする請求項2に記載の施解錠センサ。
The determination unit, when the magnitude of the magnetic field changes only in one of the plurality of first detection axes, or when the acceleration changes only in one of the plurality of second detection axes, The locking / unlocking sensor according to claim 2, wherein the locking / unlocking sensor is configured not to detect whether it is locked or unlocked.
前記判断部は、前記磁気センサから入力される前記複数の第1検出軸での磁界の大きさの合成値が、予め設定された地磁気による磁界の大きさと異なっている場合、又は前記加速度センサから入力される前記複数の第2検出軸での加速度の大きさの合成値が、予め設定された重力加速度による加速度の大きさと異なっている場合、施錠状態か解錠状態かの検知を行わないように構成されている
ことを特徴とする請求項2又は3に記載の施解錠センサ。
The determination unit is configured when the combined value of the magnetic field magnitudes at the plurality of first detection axes input from the magnetic sensor is different from a preset magnetic field magnitude by the geomagnetism, or from the acceleration sensor When the composite value of the magnitudes of the accelerations input at the plurality of second detection axes is different from the acceleration magnitudes caused by the gravitational acceleration set in advance, the locked state or the unlocked state is not detected. It is comprised in these. The locking / unlocking sensor of Claim 2 or 3 characterized by the above-mentioned.
前記判断部は、施錠状態と解錠状態とを弁別するための第1閾値及び第2閾値を有し、前記第1変化角度と前記第1閾値との大小を比較して判断した施解錠状態と、前記第2変化角度と前記第2閾値との大小を比較して判断した施解錠状態とが一致する場合に施錠状態か解錠状態かを検知するように構成されている
ことを特徴とする請求項1乃至4の何れか1項に記載の施解錠センサ。
The determination unit has a first threshold value and a second threshold value for discriminating between a locked state and an unlocked state, and is determined by comparing the first change angle and the first threshold value. And when the unlocked state determined by comparing the magnitude of the second change angle and the second threshold matches, it is configured to detect whether the locked state or the unlocked state. The locking / unlocking sensor according to any one of claims 1 to 4.
前記判断部及び前記送信部は、前記錠装置とは別体に形成された筐体に収納され、前記筐体は前記回転部位に取り付けられるように構成されている
ことを特徴とする請求項1乃至5の何れか1項に記載の施解錠センサ。
The said determination part and the said transmission part are accommodated in the housing | casing formed separately from the said locking device, and the said housing | casing is comprised so that it may attach to the said rotation site | part. The locking / unlocking sensor according to any one of 1 to 5.
請求項1乃至6の何れか1項に記載の施解錠センサと、
親機とを備え、
前記親機は、前記送信部が送信した前記検知結果を受信する受信部を有する
ことを特徴とする施解錠確認システム。
The locking / unlocking sensor according to any one of claims 1 to 6,
With a base unit,
The base unit includes a receiving unit that receives the detection result transmitted by the transmitting unit.
JP2014120909A 2014-06-11 2014-06-11 Locking / unlocking sensor and locking / unlocking confirmation system using the same Active JP6340722B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014120909A JP6340722B2 (en) 2014-06-11 2014-06-11 Locking / unlocking sensor and locking / unlocking confirmation system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014120909A JP6340722B2 (en) 2014-06-11 2014-06-11 Locking / unlocking sensor and locking / unlocking confirmation system using the same

Publications (2)

Publication Number Publication Date
JP2016000916A JP2016000916A (en) 2016-01-07
JP6340722B2 true JP6340722B2 (en) 2018-06-13

Family

ID=55076637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014120909A Active JP6340722B2 (en) 2014-06-11 2014-06-11 Locking / unlocking sensor and locking / unlocking confirmation system using the same

Country Status (1)

Country Link
JP (1) JP6340722B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021023276A1 (en) 2019-08-06 2021-02-11 云丁网络技术(北京)有限公司 Smart lock control method and device
CN112343429B (en) * 2019-08-06 2021-12-24 云丁网络技术(北京)有限公司 Door lock state detection method, device and system
JP7253512B2 (en) * 2020-03-24 2023-04-06 株式会社Lixil Locking/unlocking device and fittings
JP7418257B2 (en) * 2020-03-24 2024-01-19 株式会社Lixil Locking and unlocking devices, fittings, and earthquake situation calculation devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6472993B1 (en) * 2001-10-16 2002-10-29 Pittway Corp. Singular housing window or door intrusion detector using earth magnetic field sensor
JP3908207B2 (en) * 2003-07-17 2007-04-25 伊藤忠丸紅テクノスチール株式会社 Crescent handle cap and crime prevention system using the crescent handle cap
JP4360947B2 (en) * 2004-03-12 2009-11-11 旭化成エレクトロニクス株式会社 Tilt sensor
DE102011013730B4 (en) * 2011-03-12 2013-11-28 Heike Bedoian Device for changing a locking state
GB2505003A (en) * 2012-08-18 2014-02-19 Mark Gray Fenestration alarm contact sensor for determining a locked and unlocked configuration
JP5628379B2 (en) * 2013-05-30 2014-11-19 ソフトバンクモバイル株式会社 Security monitoring system

Also Published As

Publication number Publication date
JP2016000916A (en) 2016-01-07

Similar Documents

Publication Publication Date Title
US20230306829A1 (en) Systems and methods for protecting retail display merchandise from theft
US11749076B2 (en) System and method for calibrating a wireless security range
US10184272B2 (en) Installation-free rechargeable door locking apparatus, systems and methods
JP6340722B2 (en) Locking / unlocking sensor and locking / unlocking confirmation system using the same
US9512643B1 (en) Door unlocking systems and methods
US11113940B2 (en) Wireless merchandise security system
US11223496B2 (en) Self-identifying, multi-function sensor device and monitoring system including same
WO2017193803A1 (en) Intelligent suitcase and usage method
US11225811B2 (en) Method for detecting a change of a state of a lock and a system for detecting a change of a state of a lock
JP6414776B2 (en) Locking / unlocking sensor and locking / unlocking confirmation system using the same
JP6295344B2 (en) Portable anti-theft device and related anti-theft system and anti-theft method
KR101640879B1 (en) A case for mobile device
US20160241169A1 (en) Power control device
JP6281823B2 (en) Sensor device
JP6467752B2 (en) Security system
CN107939163A (en) A kind of system for prompting whether to lock a door
KR102380172B1 (en) Smart deadlock system
JP2023110451A (en) Security sensor, locking/unlocking device and lock/unlock security system
JP2010007246A (en) Rotary knob monitoring system
WO2022150704A1 (en) Electronic door system
IT202100005819A1 (en) DEVICE FOR CONTROLLING A LOCK AND KEY INCLUDING THE DEVICE

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170125

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20170125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170926

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180427

R151 Written notification of patent or utility model registration

Ref document number: 6340722

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151