JP5307607B2 - Window open / close detection device - Google Patents

Window open / close detection device Download PDF

Info

Publication number
JP5307607B2
JP5307607B2 JP2009099638A JP2009099638A JP5307607B2 JP 5307607 B2 JP5307607 B2 JP 5307607B2 JP 2009099638 A JP2009099638 A JP 2009099638A JP 2009099638 A JP2009099638 A JP 2009099638A JP 5307607 B2 JP5307607 B2 JP 5307607B2
Authority
JP
Japan
Prior art keywords
window
magnetic force
window opening
closing
force level
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
JP2009099638A
Other languages
Japanese (ja)
Other versions
JP2010250576A (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.)
Hochiki Corp
Original Assignee
Hochiki Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hochiki Corp filed Critical Hochiki Corp
Priority to JP2009099638A priority Critical patent/JP5307607B2/en
Publication of JP2010250576A publication Critical patent/JP2010250576A/en
Application granted granted Critical
Publication of JP5307607B2 publication Critical patent/JP5307607B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、窓の開閉状態をホールセンサなどの磁気感知素子を使用して検出する窓開閉検出装置に関する。
The present invention relates to a window open / close detection device that detects the open / closed state of a window using a magnetic sensing element such as a hall sensor.

従来、監視対象として窓の開閉を検出して警報させる窓開閉検出装置が知られている。このような窓開閉検出装置にあっては、窓ガラスに配置したマグネットの磁力を磁気感知素子で検出し、検出磁力が低下したときに窓開閉と判断して警報させる。また窓に設けたクレセント錠の開閉レバーに配置したマグネットの磁力を別の磁気感知素子で検出し、検出磁力が低下したときにクレセント錠の開放と判断して警報させる装置もある。   2. Description of the Related Art Conventionally, a window opening / closing detection device that detects and alerts the opening / closing of a window is known as a monitoring target. In such a window opening / closing detection device, the magnetic force of the magnet arranged on the window glass is detected by the magnetic sensing element, and when the detected magnetic force decreases, the window opening / closing is determined and an alarm is given. There is also a device that detects the magnetic force of a magnet disposed on an open / close lever of a crescent lock provided on a window by another magnetic sensing element, and determines that the crescent lock is open when the detected magnetic force is reduced, and gives an alarm.

従来の窓開閉装置に使用される磁気感知素子は主に磁力の強弱に応じて接点を機械的にオン、オフするリードスイッチを使用していたが、近年にあっては、ホール効果を利用して磁力を検出するホールセンサが使用されている。   The magnetic sensing elements used in conventional window opening and closing devices mainly use reed switches that mechanically turn on and off the contacts according to the strength of the magnetic force, but in recent years, the Hall effect has been used. Hall sensors that detect magnetic force are used.

ホールセンサを磁気感知素子として使用する場合、検出対象とするマグネットに近いほど強い磁力がホールセンサを通過することで高いセンサ出力が得られる。ホールセンサで検出した磁気レベルに基づく窓の開閉検出は、窓を閉じた状態で検出される磁気レベルの最大値に対し、所定比率低い値を判定閾値として設定する。監視中に、検出している磁気レベルが低下して判定閾値以下になったら窓開と判定して警報させる。   When the Hall sensor is used as a magnetic sensing element, the closer the magnet is to the detection target, the stronger the magnetic force passes through the Hall sensor, thereby obtaining a higher sensor output. In the opening / closing detection of the window based on the magnetic level detected by the Hall sensor, a value that is lower by a predetermined ratio than the maximum value of the magnetic level detected with the window closed is set as a determination threshold. During monitoring, if the detected magnetic level falls below the determination threshold, it is determined that the window is open and an alarm is given.

また窓の開放を判定した後に、磁気レベルが増加して判定閾値を超えた時、窓閉と判定して警報を復旧させるようにしている。   When the magnetic level increases and exceeds the determination threshold after determining the opening of the window, it is determined that the window is closed and the alarm is restored.

窓開閉検出装置を現場で窓サッシに取り付ける場合、引き違い窓の内側の縦枠の横に窓開閉検出装置を両面テープやビス止めなどで固定し、窓縦枠に固定した窓開閉検出装置の側面に相対する外側の窓ガラスに短冊状のマグネットを位置合せして両面テープで貼り付ける。   When installing a window opening / closing detection device on a window sash on site, the window opening / closing detection device is fixed to the window vertical frame by fixing the window opening / closing detection device next to the vertical frame inside the sliding window with double-sided tape or screws. A strip-shaped magnet is aligned to the outside window glass facing the side and attached with double-sided tape.

この位置合せは上下方向におけるマグネットのセンターが装置内蔵のホールセンサの位置となるようにすることが望ましいが、装置外部からはホールセンサの位置は分からないため、例えば装置上端にマグネット上端を合わせると正しい位置決めができるようにしている。この取り付け状態でマグネットと装置内蔵のホールセンサとの距離が略最短となり、最大磁力レベルまたはそれに近いレベルが得られる。
For this alignment, it is desirable that the center of the magnet in the vertical direction be the position of the Hall sensor built in the device. The correct positioning is possible. In this attached state, the distance between the magnet and the hall sensor built in the apparatus is substantially shortest, and the maximum magnetic force level or a level close thereto is obtained.

特開2003−281636号公報JP 2003-281636 A 特開2001−14990号公報Japanese Patent Laid-Open No. 2001-14990

しかしながら、このような従来の窓開閉検出装置の現場における取り付け作業にあっては、窓縦枠に取り付けた窓開閉検出装置の例えば上端にマグネットの上端を合わせることで位置決めするようにしていたとしても、実際の現場作業においては、必ずしも正しい位置決めができず、マグネットとホールセンサの上下方向の位置関係が大きくばらつく。   However, in the installation work of such a conventional window opening / closing detection device in the field, even if the upper end of the magnet is aligned with the upper end of the window opening / closing detection device attached to the vertical window frame, for example, it may be positioned. In actual field work, correct positioning is not always possible, and the vertical positional relationship between the magnet and the Hall sensor varies greatly.

このような位置のばらつきは、マグネットからの距離の増加に対し磁力が距離の2乗に比例して低下する関係にあることから、位置ずれが大きいと窓閉鎖状態でホールセンサにより検出される磁力レベルが低くなって窓開閉に対する分解能が低下し、窓開閉に対する検出精度が低下する恐れがある。   Such a variation in position has a relationship in which the magnetic force decreases in proportion to the square of the distance as the distance from the magnet increases. Therefore, if the positional deviation is large, the magnetic force detected by the Hall sensor in the window closed state. There is a possibility that the resolution for window opening / closing will be lowered and the detection accuracy for window opening / closing will be lowered.

この問題を解決するためには現場における取り付け作業の位置決め精度を高めれば良いが、取り付け現場におる窓の状況も様々であり、位置決め誤差の許容範囲が狭いために現場での取り付け作業に手間と時間がかかる問題がある。
また、採用するマグネットが複数種あり場合は、マグネットの寸法や磁力パターンが異なため、採用するマグネットとホールセンサとの位置により検出精度が異なる。

In order to solve this problem may be increased positioning accuracy of the mounting work in the field is, the status of your only that window to the mounting site may vary, the mounting work in the field due to the narrow tolerance of the positioning error There is a problem that takes time and effort.
Furthermore, the magnet to be employed when there are multiple types, for dimensions and force pattern of the magnet difference exists, the detection accuracy by the position of the magnet and the Hall sensor employing different.

本発明は、装置内蔵の磁気感知素子に対し分離配置されるマグネットの許容設置範囲を広くして窓閉鎖状態で充分な分解能の磁力レベルが得られるようにした窓開閉検出装置を提供することを目的とする。
It is an object of the present invention to provide a window open / close detection device that can widen the allowable installation range of magnets arranged separately from a magnetic sensing element built in the device so that a magnetic force level with sufficient resolution can be obtained when the window is closed. Objective.

本発明は窓開閉検出装置に於いて、
監視対象に配置したマグネットによる磁力レベルを検出する複数の磁気感知素子と、
窓の閉鎖状態で複数の磁気感知素子で検出された磁力レベルを比較し、窓の状態監視において最も検出精度が高い磁力レベルが得られた磁気感知素子を選択する磁気感知素子選択部と、
選択された磁気感知素子で検出した磁力レベルと所定の判定閾値の比較により窓の開又は閉を判定する窓開閉監視部と、
を備えたことを特徴とする。
The present invention provides a window opening / closing detection apparatus,
A plurality of magnetic sensing elements for detecting a magnetic force level by a magnet disposed on a monitoring target;
A magnetic sensing element selection unit that compares magnetic force levels detected by a plurality of magnetic sensing elements in a closed state of the window, and selects a magnetic sensing element that has obtained the highest magnetic accuracy level in window state monitoring;
A window open / close monitoring unit that determines whether the window is open or closed by comparing the magnetic force level detected by the selected magnetic sensing element with a predetermined determination threshold;
It is provided with.

ここで、本発明の窓開閉検出装置は、例えば2つの磁気感知素子を備え、窓縦枠に対する設置状態で2つの磁気感知素子を上下方向に所定距離を離して配置する。   Here, the window opening / closing detection device of the present invention includes, for example, two magnetic sensing elements, and arranges the two magnetic sensing elements at a predetermined distance in the vertical direction in an installed state with respect to the window vertical frame.

本発明の窓開閉検出装置は、更に、窓の閉鎖状態で登録操作を判別した際に、選択された磁気感知素子により磁力レベルを検出して登録し、登録した磁力レベルに基づいて判定閾値を求めて登録する登録処理部を設けたことを特徴とする。
磁気感知素子選択部で選択されなかった磁気感知素子は、通常窓開閉状態監視に使用しないマグネットが不正に近づいたことを監視するために使用する。
The window opening / closing detection device of the present invention further detects and registers the magnetic force level by the selected magnetic sensing element when determining the registration operation in the closed state of the window, and sets the determination threshold based on the registered magnetic force level. A registration processing unit for obtaining and registering is provided.
The magnetic sensing elements that are not selected by the magnetic sensing element selection unit are used to monitor that a magnet that is not normally used for monitoring the open / close state of the window is improperly approached.

本発明によれば、装置本体に縦方向に所定距離を離して例えば2つの磁気感知素子としてのホールセンサを配置し、窓閉鎖状態で2つのホールセンサで検出されるマグネットによる磁力レベルの内、窓の状態監視において最も検出精度が高い磁力レベルが得られたほうの磁力レベルとなるホールセンサを選択することで、分離配置されるマグネットの上下方向の取り付け位置にずれがあっても、最適なホールセンサが選択され、マグネットの位置ずれの影響を受けることなく、充分な分解能を持つ磁力レベルによる高精度の窓の開閉検出ができる。   According to the present invention, a hall sensor as, for example, two magnetic sensing elements is arranged at a predetermined distance in the longitudinal direction of the apparatus main body, and among the magnetic force levels by the magnets detected by the two hall sensors when the window is closed, Even if there is a deviation in the vertical mounting position of the magnets to be separated by selecting the Hall sensor with the magnetic force level that has the highest detection accuracy in the window status monitoring, it is optimal A Hall sensor is selected, and it is possible to detect the opening and closing of the window with high accuracy by a magnetic force level having a sufficient resolution without being affected by the displacement of the magnet.

また、窓開閉検出装置に組み合わせて使用するマグネットが、使用している磁性材料の相違から高さ方向の寸法が相違していたとしても、異なる寸法のマグネットの配置に対し最も有効な監視ができるホールセンサが選択され、マグネットそのものの寸法の相違に対しても充分な分解能をもつ磁力レベルによって高精度の窓の開閉検出ができる。
Moreover, even if the magnet used in combination with the window open / close detection device has a different height dimension due to the difference in the magnetic material used, the most effective monitoring is possible for the arrangement of magnets of different sizes. A Hall sensor is selected, and it is possible to detect the opening and closing of the window with high accuracy by a magnetic force level having a sufficient resolution even when the size of the magnet itself is different.

本発明による窓開閉検出装置の設置状態を示した説明図Explanatory drawing which showed the installation state of the window opening / closing detection apparatus by this invention 本発明による窓開閉検出装置の実施形態を示した組立分解図Assembly exploded view showing an embodiment of a window opening and closing detection device according to the present invention 図1の設置状態におけるホールセンサとマグネットの関係を示した説明図Explanatory drawing which showed the relationship between a hall sensor and a magnet in the installation state of FIG. 本実施形態による窓開閉検出装置の回路構成を示したブロック図The block diagram which showed the circuit structure of the window opening / closing detection apparatus by this embodiment 図4のAD変換ポートによる磁気レベル検出信号のAD変換特性を示したグラフ図The graph which showed the AD conversion characteristic of the magnetic level detection signal by the AD conversion port of FIG. 本実施形態における2つの窓開閉検出用ホールセンサの検出信号から取得した磁力レベルの距離に対する関係を示したグラフ図The graph which showed the relationship with respect to the distance of the magnetic force level acquired from the detection signal of the two hall sensor for window opening / closing detection in this embodiment 本実施形態におけるクレセント錠検出マグネットとホールセンサの関係を示した説明図Explanatory drawing which showed the relationship between the crescent lock detection magnet and Hall sensor in this embodiment 本実施形態における施錠検出用ホールセンサの距離に対する磁力レベルの関係を示したグラフ図The graph which showed the relationship of the magnetic force level with respect to the distance of the Hall sensor for locking detection in this embodiment 図4のプロセッサによる本実施形態の窓開閉検出処理を示したフローチャートThe flowchart which showed the window opening / closing detection process of this embodiment by the processor of FIG. 図9のステップS3における窓開閉登録処理の詳細を示したフローチャートThe flowchart which showed the detail of the window opening / closing registration process in step S3 of FIG. 図9のステップS4におけるクレセント錠登録処理の詳細を示したフローチャートThe flowchart which showed the detail of the crescent lock registration process in step S4 of FIG. 図9のステップS7における窓開閉監視処理の詳細を示したフローチャートThe flowchart which showed the detail of the window opening / closing monitoring process in step S7 of FIG. 図9のステップS8における施錠監視処理の詳細を示したフローチャートThe flowchart which showed the detail of the locking monitoring process in step S8 of FIG. サイズの異なる2種のマグネットを使用した場合の設置状態におけるホールセンサとマグネットの関係を示した説明図Explanatory drawing showing the relationship between the Hall sensor and the magnet in the installed state when two types of magnets with different sizes are used

図1は本発明による窓開閉検出装置の設置状態を示した説明図である。図1において、本発明の窓開閉検出装置10は監視対象とする引き違い窓の窓サッシ12a,12bの縦枠に両面テープ又はビスなどにより固定される。   FIG. 1 is an explanatory view showing an installation state of a window opening / closing detection device according to the present invention. In FIG. 1, a window opening / closing detection device 10 of the present invention is fixed to a vertical frame of a window sash 12a, 12b of a sliding window to be monitored by a double-sided tape or a screw.

窓開閉検出装置10の上側には、窓サッシ12a,12bを閉じた状態で、相対する位置に窓開閉検出マグネット14を両面テープで貼り付けており、窓開閉検出マグネット14からの磁力を内蔵した磁気感知素子としてのホールセンサにより検出している。   On the upper side of the window opening / closing detection device 10, the window sash 12 a, 12 b is closed, and a window opening / closing detection magnet 14 is attached to the opposite position with double-sided tape, and the magnetic force from the window opening / closing detection magnet 14 is incorporated. It is detected by a Hall sensor as a magnetic sensing element.

窓サッシ12a,12bを開くと、窓開閉検出マグネット14が窓開閉検出装置10から離れることで磁力が低下し、この磁力の低下をホールセンサで検出して窓開を示す検出信号を別途設置された監視盤に無線で送信して警報させる。   When the window sash 12a, 12b is opened, the magnetic force is reduced by the window opening / closing detection magnet 14 being separated from the window opening / closing detection device 10, and a detection signal indicating the opening of the window is detected by detecting the decrease in the magnetic force with a hall sensor. Sent to the monitoring panel by radio to alert.

また窓開閉検出装置10はその下端を窓サッシ12a,12bに設けているクレセント錠16に近接するように配置し、クレセント錠16の開閉レバー18に貼り付けたクレセント錠検出マグネット20の磁力を下端側に内蔵した別のホールセンサで検出している。


The window opening / closing detection device 10 is arranged so that the lower end thereof is close to the crescent lock 16 provided on the window sash 12a, 12b, and the magnetic force of the crescent lock detection magnet 20 attached to the opening / closing lever 18 of the crescent lock 16 is lowered to the lower end. It is detected by another hall sensor built in the side.


クレセント錠16は開閉レバー18を図示の垂直方向に回した操作位置で窓サッシ12a,12bを施錠しており、このときクレセント錠検出マグネット20は窓開閉検出装置10に最も近接してホールセンサで検出する磁力が最大となり、施錠状態を検出している。   The crescent lock 16 locks the window sashes 12a and 12b at an operation position in which the opening / closing lever 18 is rotated in the illustrated vertical direction. At this time, the crescent lock detection magnet 20 is the hall sensor closest to the window opening / closing detection device 10. The magnetic force to be detected is maximized, and the locked state is detected.

開閉レバー18を下側に回してクレセント錠16を開錠すると、クレセント錠検出マグネット20が離れることで磁力が低下し、この磁力の低下をホールセンサで検出して解錠状態を示す検出信号を監視盤に無線送信して警報させる。   When the crescent lock 16 is unlocked by turning the opening / closing lever 18 downward, the magnetic force is reduced by the separation of the crescent lock detection magnet 20, and a detection signal indicating the unlocked state is detected by detecting the decrease in the magnetic force with a hall sensor. Alarm is transmitted by radio transmission to the monitoring panel.

図2は本発明による窓開閉検出装置の実施形態を示した組立分解図である。図2において、本実施形態の窓開閉検出装置10は装置本体22とカバー部材24で構成され、カバー部材24は装置本体22に対し着脱自在であり、正面中央に表示窓57を設け、装置本体22の表示部(不図示)の表示状態が見えるようにしている。   FIG. 2 is an exploded view showing an embodiment of the window opening / closing detection apparatus according to the present invention. In FIG. 2, the window opening / closing detection device 10 of the present embodiment includes an apparatus main body 22 and a cover member 24, and the cover member 24 is detachable from the apparatus main body 22, and a display window 57 is provided in the center of the front surface. The display state of 22 display parts (not shown) is made visible.

装置本体22は、ボディケース36内に回路基板38を組み立てている。   The apparatus main body 22 has a circuit board 38 assembled in a body case 36.

回路基板38の上部側にはセンサ基板45が起立され、ここに第1窓開閉検出用ホールセンサ46−1と第2窓開閉検出用ホールセンサ46−2を所定距離Lだけ離して配置している。また回路基板38の下端にはクレセント錠検出用ホール素子48が設置される。   A sensor board 45 is erected on the upper side of the circuit board 38, and the first window opening / closing detection hall sensor 46-1 and the second window opening / closing detection hall sensor 46-2 are arranged apart from each other by a predetermined distance L. Yes. A crescent lock detecting hall element 48 is provided at the lower end of the circuit board 38.

図3は図1の設置状態における窓開閉検出用のホールセンサ46とマグネット14の関係を示した説明図であり、図3(A)に平面を示し、図3(B)に横方向から見た状態を示している。   FIG. 3 is an explanatory diagram showing the relationship between the hall sensor 46 for detecting window opening and closing and the magnet 14 in the installed state of FIG. 1, in which FIG. 3 (A) shows a plan view and FIG. 3 (B) shows a side view. The state is shown.

図3(A)に示すように、本実施形態の窓開閉検出装置10は内側に位置する窓サッシ12aの縦枠に両面テープ又はビスにより取り付けられ、窓開閉検出装置10の右側面に相対して窓サッシ12bのガラス面に窓開閉検出マグネット14を両面テープで接着している。   As shown in FIG. 3 (A), the window opening / closing detection device 10 of the present embodiment is attached to the vertical frame of the window sash 12a located inside by double-sided tape or screws, and is opposed to the right side surface of the window opening / closing detection device 10. The window opening / closing detection magnet 14 is adhered to the glass surface of the window sash 12b with double-sided tape.

窓開閉検出装置10に内蔵した窓開閉検出用ホールセンサは、図3(B)に示すように、センサ基板45に第1窓開閉検出用ホールセンサ46−1と第2窓開閉検出用ホールセンサ46−2を所定距離Lだけ離して上下に配置している。   As shown in FIG. 3B, the window opening / closing detection hall sensor built in the window opening / closing detection device 10 includes a first window opening / closing detection hall sensor 46-1 and a second window opening / closing detection hall sensor on the sensor substrate 45. 46-2 is arranged up and down with a predetermined distance L apart.

第1及び第2窓開閉検出用ホールセンサ46−1,46−2に対する窓サッシ12bのガラス面におけるマグネット14の取付許容範囲は、センサ中心線47を中心に上下にそれぞれ距離Lだけ離れた境界線49a,49bの間の範囲となる。   The allowable attachment range of the magnet 14 on the glass surface of the window sash 12b with respect to the first and second window opening / closing detection hall sensors 46-1 and 46-2 is a boundary separated by a distance L from the sensor center line 47 in the vertical direction. The range is between the lines 49a and 49b.

図3(B)はマグネット14の上下方向の中心を上側に配置した第1窓開閉検出用ホールセンサ46−1に位置決めした状態であり、マグネット14から見て第1窓開閉検出用ホールセンサ46−1までの距離が、第2窓開閉検出用ホールセンサ46−2までの距離より短いため、第1窓開閉検出用ホールセンサ46−1からの検出信号による磁力レベルの方が大きくなり、このため図3(B)の場合には、磁力レベルの大きいセンサの方が、充分な分解能を持つ高精度の窓の開閉検出ができるとして、第1窓開閉検出用ホールセンサ46−1が窓開閉監視のために選択される。   FIG. 3B shows a state in which the vertical center of the magnet 14 is positioned on the first window opening / closing detection hall sensor 46-1 arranged on the upper side, and the first window opening / closing detection hall sensor 46 as viewed from the magnet 14. -1 is shorter than the distance to the second window opening / closing detection hall sensor 46-2, the magnetic force level by the detection signal from the first window opening / closing detection hall sensor 46-1 becomes larger. Therefore, in the case of FIG. 3B, it is assumed that the sensor with a large magnetic force level can detect the opening and closing of the window with sufficient resolution with high accuracy. Selected for monitoring.

図3(C)はマグネット14の上下方向の中心を下側に配置した第2窓開閉検出用ホールセンサ46−2に位置決めした状態であり、マグネット14から見て第2窓開閉検出用ホールセンサ46−2までの距離が、第1窓開閉検出用ホールセンサ46−1までの距離より短いため、第2窓開閉検出用ホールセンサ46−2からの検出信号による磁力レベルの方が大きくなり、このため図3(C)の場合には、第2窓開閉検出用ホールセンサ46−2が窓開閉監視のために選択される。   FIG. 3C shows a state in which the center of the magnet 14 in the vertical direction is positioned on the second window opening / closing detection hall sensor 46-2, and the second window opening / closing detection hall sensor viewed from the magnet 14 is shown. Since the distance to 46-2 is shorter than the distance to the first window opening / closing detection hall sensor 46-1, the magnetic force level by the detection signal from the second window opening / closing detection hall sensor 46-2 becomes larger. Therefore, in the case of FIG. 3C, the second window opening / closing detection hall sensor 46-2 is selected for window opening / closing monitoring.

即ち、マグネット14の上下方向の中心がセンサ中心線47の上側の距離Lの範囲にあれば第1窓開閉検出用ホールセンサ46−1が選択され、センサ中心線47の下側の距離Lの範囲にあれば第2窓開閉検出用ホールセンサ46−1が選択される。   That is, if the vertical center of the magnet 14 is within the range of the distance L above the sensor center line 47, the first window opening / closing detection hall sensor 46-1 is selected, and the distance L below the sensor center line 47 is selected. If it is within the range, the second window opening / closing detection hall sensor 46-1 is selected.

なお、窓の構造によっては窓サッシ12bが内側となり、その縦枠に図3とは反対向きに窓開閉検出装置10が設置される場合もある。その場合は窓サッシ12aのガラス面に貼り付けた窓開閉検出マグネット14による磁力線は窓開閉検出用ホールセンサ46を左から右に通過して、図3(B)の場合とは逆方向となるため、窓開閉検出用ホールセンサ46からはマイナスとなる逆極性の磁力レベル検出信号が出力される。   Depending on the structure of the window, the window sash 12b may be on the inside, and the window opening / closing detection device 10 may be installed in the vertical frame in the direction opposite to that in FIG. In that case, the lines of magnetic force generated by the window opening / closing detection magnet 14 affixed to the glass surface of the window sash 12a pass through the window opening / closing detection hall sensor 46 from left to right, and are in the opposite direction to that shown in FIG. Therefore, the magnetic sensor level detection signal having a negative polarity is output from the window opening / closing detection hall sensor 46.

図4は本実施形態による窓開閉検出装置の回路構成を示したブロック図である。図4において、制御部として設けられたプロセッサ50はワンチップマイコンとして知られたコンピュータであり、1チップにCPU、ROM,RAM、AD変換ポート、各種の入出力ポートなどを備えており、本実施形態ではEEPROMなどの不揮発メモリ68を外付けしている。   FIG. 4 is a block diagram showing a circuit configuration of the window opening / closing detection apparatus according to the present embodiment. In FIG. 4, a processor 50 provided as a control unit is a computer known as a one-chip microcomputer, and includes a CPU, a ROM, a RAM, an AD conversion port, various input / output ports, etc. on one chip. In the embodiment, a nonvolatile memory 68 such as an EEPROM is externally attached.

第1窓開閉検出用ホールセンサ46−1で検出した窓ガラスに設けた窓開閉検出マグネット14による磁力レベル検出信号は、増幅回路52−1で増幅された後にAD変換ポート70−1に与えられ、デジタル変換した磁力レベル(AD変換値)をプロセッサ50に取り込まれる。   The magnetic force level detection signal by the window opening / closing detection magnet 14 provided on the window glass detected by the first window opening / closing detection hall sensor 46-1 is amplified by the amplifier circuit 52-1 and then given to the AD conversion port 70-1. The digitally converted magnetic force level (AD conversion value) is taken into the processor 50.

同様に、第2窓開閉検出用ホールセンサ46−2で検出した窓ガラスに設けた窓開閉検出マグネット14による磁力レベル検出信号は、増幅回路52−2で増幅された後にAD変換ポート70−2に与えられ、デジタル変換した磁力レベルをプロセッサ50に取り込まれる。   Similarly, the magnetic force level detection signal by the window opening / closing detection magnet 14 provided on the window glass detected by the second window opening / closing detection hall sensor 46-2 is amplified by the amplification circuit 52-2 and then converted into the AD conversion port 70-2. The digitally converted magnetic force level is received by the processor 50.

また、施錠検出用ホールセンサ48で検出したクレセント錠16の開閉レバー18に設けたクレセント錠検出マグネット20による磁力レベル検出信号も増幅回路54で増幅された後にAD変換ポート72に与えられ、デジタル変換した磁力レベルをプロセッサ50に取り込まれる。   Further, a magnetic force level detection signal detected by the lock detection hall sensor 48 by the crescent lock detection magnet 20 provided on the open / close lever 18 of the crescent lock 16 is also amplified by the amplifier circuit 54 and then applied to the AD conversion port 72 for digital conversion. The obtained magnetic force level is taken into the processor 50.

プロセッサ50に対しては、表示部56、登録スイッチ60及び無線送信部66が設けられている。   A display unit 56, a registration switch 60, and a wireless transmission unit 66 are provided for the processor 50.

表示部56は2色LEDを設けており、例えば窓開や解錠に応じて異なる色で点灯して状態を表示する。   The display unit 56 is provided with a two-color LED. For example, the display unit 56 is lit in a different color according to the opening or unlocking of the window to display the state.

登録スイッチ60は本実施形態の窓開閉検出装置10の使用開始時に行う窓開閉登録モードとクレセント錠登録モードの設定に使用される。
無線送信部66は送信回路が設けられ、監視状態を監視盤に対して無線送信を行う。
The registration switch 60 is used for setting a window opening / closing registration mode and a crescent lock registration mode performed when the use of the window opening / closing detection device 10 of the present embodiment is started.
The wireless transmission unit 66 is provided with a transmission circuit and wirelessly transmits a monitoring state to the monitoring panel.

不揮発メモリ68には、窓開閉検出装置10を窓に設置した状態で行われる窓開閉登録処理の際に選択された第1窓開閉検出用ホールセンサ46−1又は第2窓開閉検出用ホールセンサ46−2から取得した磁力レベルVsi(但しi=1又は2)と、磁力レベルVsiに基づいて求めた窓開閉検出の第1窓判定閾値TH1と、悪戯などによる強い磁石を近づけたときの磁力を検出する第2窓判定閾値TH2が記憶されている。   In the nonvolatile memory 68, the first window opening / closing detection hall sensor 46-1 or the second window opening / closing detection hall sensor selected in the window opening / closing registration process performed with the window opening / closing detection device 10 installed in the window. The magnetic force level Vsi obtained from 46-2 (where i = 1 or 2), the first window determination threshold value TH1 for window opening / closing detection obtained based on the magnetic force level Vsi, and the magnetic force when a strong magnet due to mischief is brought close The second window determination threshold value TH2 for detecting is stored.

また不揮発メモリ68には、窓開閉登録処理に続いて行われるクレセント錠登録処理で施錠検出用ホールセンサ48から取得した磁力レベルVs3と、磁力レベルVs3に基づいて求めた錠開閉検出の錠判定閾値TH3が記憶されている。   The non-volatile memory 68 also includes a magnetic force level Vs3 acquired from the lock detection hall sensor 48 in the crescent lock registration process performed following the window open / close registration process, and a lock determination threshold value for the lock open / close detection obtained based on the magnetic force level Vs3. TH3 is stored.

プロセッサ50にはCPUによるプログラムの実行により実現される機能として、センサ選択部74、窓開閉登録処理部76、施錠登録処理部78、窓開閉監視部80、施錠監視部82及び通信制御部84が設けられている。   The processor 50 includes a sensor selection unit 74, a window opening / closing registration processing unit 76, a lock registration processing unit 78, a window opening / closing monitoring unit 80, a lock monitoring unit 82, and a communication control unit 84 as functions realized by execution of a program by the CPU. Is provided.

センサ選択部74は、登録スイッチ60の操作により窓開閉登録モードを設定したときに動作し、窓の閉鎖状態で第1及び第2窓開閉検出用ホールセンサ46−1,46−2の検出信号から取得された磁力レベルVs1,Vs2を比較し、大きい方のレベルが得られたホールセンサを選択する。このホールセンサの選択は、具体的にはAD変換ポート70−1,70−2からの磁力レベルの取込みを選択する。   The sensor selection unit 74 operates when the window opening / closing registration mode is set by operating the registration switch 60, and the detection signals of the first and second window opening / closing detection hall sensors 46-1, 46-2 in the closed state of the window. The magnetic force levels Vs1 and Vs2 acquired from the above are compared, and the Hall sensor having the larger level is selected. Specifically, the selection of the Hall sensor selects the acquisition of the magnetic force level from the AD conversion ports 70-1 and 70-2.

窓開閉登録処理部76は、窓閉鎖状態でセンサ選択部74により選択されている例えばAD変換ポート70−1からの窓開閉検出マグネット14による磁力レベルVs1を所定周期で取得し、予め設定した所定の有効レベルと比較し、有効レベルを超えていた場合には、不揮発メモリ68に磁力レベルVs1として記憶する。   The window opening / closing registration processing unit 76 acquires, for example, a magnetic force level Vs1 by the window opening / closing detection magnet 14 from the AD conversion port 70-1 selected by the sensor selection unit 74 in the window closed state at a predetermined period, and is set to a predetermined predetermined value. If it exceeds the effective level, it is stored in the nonvolatile memory 68 as the magnetic force level Vs1.

なお、初期登録時に測定した第1及び第2窓開閉検出用ホールセンサ46−1,46−2の検出信号から取得された磁力レベルVs1,Vs2共に不揮発メモリ68に初期登録してもよい。   The magnetic force levels Vs1 and Vs2 acquired from the detection signals of the first and second window opening / closing detection hall sensors 46-1 and 46-2 measured at the time of initial registration may be initially registered in the nonvolatile memory 68.

初期登録が済むと選択したホールセンサにより登録した磁力レベルVs1に対し所定の比率だけ低いレベルを窓開閉の第1窓判定閾値TH1として算出して不揮発メモリ68に登録する。つまり、窓が開かれてホールセンサの磁力検出レベル値が低下したことで窓開を判定する為の閾値TH1を登録する。更に、初期登録した磁力レベルVs1に対し通常ではあり得ない所定の比率だけ高いレベルを悪戯により近づけられた強い磁石の磁力を判定する第2窓判定閾値TH2として不揮発メモリ68に登録する。   When the initial registration is completed, a level lower than the magnetic force level Vs1 registered by the selected hall sensor by a predetermined ratio is calculated as the first window determination threshold value TH1 for opening / closing the window and registered in the nonvolatile memory 68. That is, the threshold value TH1 for determining the opening of the window when the window is opened and the magnetic force detection level value of the Hall sensor decreases is registered. Further, a level that is higher than the initially registered magnetic force level Vs1 by a predetermined ratio, which is not normal, is registered in the nonvolatile memory 68 as the second window determination threshold value TH2 for determining the magnetic force of a strong magnet brought closer by mischief.

施錠登録処理部78は、登録スイッチ60の再操作でクレセント錠登録モードを設定した際に動作し、LED56が点滅している間、即ち登録スイッチ60を操作してから所定の登録有効期間の間にクレセント錠16の開閉レバー18を施錠位置に操作してクレセント錠検出マグネット20を近づけた状態とする。   The lock registration processing unit 78 operates when the crescent lock registration mode is set by re-operation of the registration switch 60, and while the LED 56 is blinking, that is, during the predetermined registration valid period after the registration switch 60 is operated. Then, the open / close lever 18 of the crescent lock 16 is operated to the locked position to bring the crescent lock detection magnet 20 closer.

施錠登録処理部78は、クレセント錠登録モードの動作中、所定周期で施錠検出用ホールセンサ48から検出した磁力レベルを取得し、予め設定した所定の有効レベルと比較し、有効レベルを超えていた場合には、不揮発メモリ68に磁力レベルVs3として記憶する。   During the operation of the crescent lock registration mode, the lock registration processing unit 78 acquires the magnetic force level detected from the lock detection hall sensor 48 at a predetermined cycle, and compares it with a predetermined effective level set in advance and exceeds the effective level. In this case, the magnetic force level Vs3 is stored in the nonvolatile memory 68.

登録処理部74は、初期登録した磁力レベルVs3に対し所定比率だけ低いレベルを算出して錠判定閾値TH3として不揮発メモリ68に登録する。つまり、クレセント錠が開かれてホールセンサの磁力検出レベル値が低下したことでクレセントの開錠を判定する為の閾値TH3を登録する。   The registration processing unit 74 calculates a level lower than the initially registered magnetic force level Vs3 by a predetermined ratio, and registers it in the nonvolatile memory 68 as the lock determination threshold TH3. That is, the threshold TH3 for determining whether the crescent is unlocked when the crescent lock is opened and the magnetic force detection level value of the hall sensor is lowered is registered.

窓開閉監視部80はセンサ選択部74により選択されている例えばAD変換ポート70−1から取り込まれた第1窓開閉検出用ホールセンサ46−1からの磁力レベルを不揮発メモリ68から読み出した第1窓判定閾値TH1と比較し、窓の開又は閉を判定し、判定結果を示す電文を無線送信部66から監視盤に送信して警報又は警報解除を行わせる。   The window opening / closing monitoring unit 80 reads the magnetic force level from the first window opening / closing detection hall sensor 46-1, for example, taken in from the AD conversion port 70-1 selected by the sensor selection unit 74, from the nonvolatile memory 68. Compared with the window determination threshold value TH1, it is determined whether the window is open or closed, and a message indicating the determination result is transmitted from the wireless transmission unit 66 to the monitoring panel to cause an alarm or alarm release.

また、窓開閉監視部80は外部から強力な磁石を近づけることで磁力レベルが閾値TH1以下としないようにして窓を開けるよう悪戯による不正行為に対処するため、選択されているAD変換ポート70−1から取り込まれた第1窓開閉検出用ホールセンサ46−1からの磁力レベルを不揮発メモリ68から読み出した第2窓判定閾値TH2と比較し、磁力レベルが第2窓判定閾値TH2を超えた時にも窓開と見做して警報を行う。   Further, the window opening / closing monitoring unit 80 approaches the selected AD conversion port 70- in order to cope with an illegal act by opening the window so that the magnetic force level does not become the threshold value TH1 or less by bringing a strong magnet close from the outside. 1 is compared with the second window determination threshold value TH2 read from the nonvolatile memory 68, and the magnetic force level exceeds the second window determination threshold value TH2. Also, it is assumed that the window is open and an alarm is given.

なお、施錠及び解錠時の磁力レベルに基づき通常使用状態の磁力レベルの適正範囲を設定し、磁力レベルが適正範囲から上下に外れた場合には不正行為が発生したと判定するようにしても良い。つまり、適正使用範囲の上限値を施錠時の磁力レベルよりも所定比率分高い値に設定し、下限値を解錠時の零点レベルよりも所定比率小さい値に設定して、適正範囲内に磁力レベルがあるかを検出して不正行為を判定するようにしてもよい。これはクレセント錠の磁力レベルの測定や窓開閉検出の磁力レベルの測定のいずれにおいても適用できる。   In addition, based on the magnetic force level at the time of locking and unlocking, an appropriate range of the magnetic level of the normal use state is set, and if the magnetic force level deviates up and down from the appropriate range, it may be determined that fraud has occurred. good. In other words, the upper limit value of the proper use range is set to a value that is higher by a predetermined ratio than the magnetic force level at the time of locking, and the lower limit value is set to a value that is lower by a predetermined ratio than the zero point level at the time of unlocking, so that the magnetic force is within the proper range. It is possible to detect whether there is a level and determine fraud. This can be applied to either the measurement of the magnetic level of the crescent lock or the measurement of the magnetic level of the window opening / closing detection.

施錠監視部82は施錠検出用ホールセンサ48から得られた磁力レベルを施錠登録処理部78により設定した錠判定閾値TH3と比較し、錠判定閾値TH3以下となった場合にクレセント錠の開と判断して錠開を示す電文を無線送信部66から監視盤に送信して警報させる。また、施錠監視部80は、錠開を検出した後に、錠閉に戻った場合にも、その旨の電文を監視盤に無線送信する。   The lock monitoring unit 82 compares the magnetic force level obtained from the lock detection hall sensor 48 with the lock determination threshold value TH3 set by the lock registration processing unit 78, and determines that the crescent lock is opened when the lock determination threshold value TH3 or less. Then, an electronic message indicating unlocking is transmitted from the wireless transmission unit 66 to the monitoring panel to give an alarm. Further, even when the lock monitoring unit 80 detects unlocking and then returns to locking, the lock monitoring unit 80 wirelessly transmits a message to that effect to the monitoring panel.

通信制御部84は窓開閉監視部80及び施錠監視部82の判断に基づく電文を送信させる。   The communication control unit 84 transmits a message based on the judgments of the window opening / closing monitoring unit 80 and the lock monitoring unit 82.

図5は図4のAD変換ポート70−1による磁気レベル検出信号のAD変換特性を示したグラフ図である。図5に示した第1及び第2窓開閉検出用ホールセンサ46−1は磁力線の通過方向によりプラス極性の磁気レベル検出信号とマイナス極性の磁気レベル検出信号を出力する。   FIG. 5 is a graph showing the AD conversion characteristics of the magnetic level detection signal by the AD conversion port 70-1 of FIG. The first and second window opening / closing detection hall sensors 46-1 shown in FIG. 5 output a positive polarity magnetic level detection signal and a negative polarity magnetic level detection signal according to the direction of passage of magnetic lines of force.

第1窓開閉検出用ホールセンサ46−1からの磁気レベル検出信号は増幅回路52−1で増幅され、増幅された磁力レベル検出信号(電圧信号)はAD変換される。   The magnetic level detection signal from the first window opening / closing detection hall sensor 46-1 is amplified by the amplifier circuit 52-1, and the amplified magnetic force level detection signal (voltage signal) is AD converted.

このAD変換ポート70−1の変換特性は、縦軸に示すように、10進AD変換値として0〜256の値を持ち、入力するプラス極性の磁気レベル検出信号0〜+VmaxをAD変換値128〜256に変換し、入力するマイナス極性の磁気レベル検出信号0〜−VmaxをAD変換値128〜0に変換する。なお、AD変換ポート70−2,72も図5と同じ変換特性となる。   The conversion characteristic of the AD conversion port 70-1 has a value of 0 to 256 as a decimal AD conversion value as indicated by the vertical axis, and an input positive polarity magnetic level detection signal 0 to + Vmax is converted into an AD conversion value 128. The negative polarity magnetic level detection signals 0 to -Vmax are converted into AD conversion values 128 to 0. The AD conversion ports 70-2 and 72 also have the same conversion characteristics as in FIG.

図6(A)は本実施形態における装置側面から窓開閉検出マグネット14までの距離dに対する第1及び第2窓開閉検出用ホールセンサ46−1,46−2で検出した磁力レベルの関係を示したグラフ図である。なお、実際のAD変換ポート70−1,70−2の変換特性は図5のようになるが、図6にあっては、説明を簡単にするため、磁力レベル検出信号の極性に関らず、AD変換値を0〜128として示している。   FIG. 6A shows the relationship of the magnetic force level detected by the first and second window opening / closing detection hall sensors 46-1 and 46-2 with respect to the distance d from the device side surface to the window opening / closing detection magnet 14 in the present embodiment. FIG. The actual conversion characteristics of the AD conversion ports 70-1 and 70-2 are as shown in FIG. 5, but in FIG. 6, regardless of the polarity of the magnetic force level detection signal, in order to simplify the explanation. The AD conversion values are shown as 0 to 128.

図6(A)の特性は例えば図3(B)の設置状態で、装置側面から窓開閉検出マグネット14までの距離dをd=0〜24mmの範囲で変化させて測定した磁力レベルに対応したAD変換値を示しており、特性Aが第1窓開閉検出用ホールセンサ46−1による磁力レベルであり、特性Bが第2窓開閉検出用ホールセンサ46−2による磁力レベルである。   6A corresponds to the magnetic force level measured by changing the distance d from the side of the apparatus to the window opening / closing detection magnet 14 in the range of d = 0 to 24 mm in the installed state of FIG. 3B, for example. The AD conversion value is shown, the characteristic A is the magnetic force level by the first window opening / closing detection hall sensor 46-1, and the characteristic B is the magnetic force level by the second window opening / closing detection hall sensor 46-2.

このような特性について、例えば現場で設置した際の距離dがd=9mmであったとすると、第1窓開閉検出用ホールセンサ46−1による特性Aでは磁力レベルVs1であり、また第2窓開閉検出用ホールセンサ46−2による特性Bでは磁力レベルVs2であり、この場合、図4のプロセッサ50に設けたセンサ選択部74は大きい磁力レベルVs1を取得した第1窓開閉検出用ホールセンサ46−1を選択し、以後の磁力レベルはAD変換ポート70−1から取り込むようにする。   With respect to such characteristics, for example, if the distance d when installed on site is d = 9 mm, the characteristic A by the first window opening / closing detection hall sensor 46-1 is the magnetic force level Vs 1, and the second window opening / closing is performed. In the characteristic B by the detection hall sensor 46-2, the magnetic force level is Vs2. In this case, the sensor selection unit 74 provided in the processor 50 of FIG. 4 acquires the high magnetic force level Vs1 and the first window opening / closing detection hall sensor 46-. 1 is selected, and the subsequent magnetic force level is taken in from the AD conversion port 70-1.

図6(B)はセンサ選択部74により選択された第1窓開閉検出用ホールセンサ46−1による特性Aを取り出しており、P点で得られた磁力レベルVs1を不揮発メモリ68に初期登録する。続いて、初期登録した磁力レベルVs1より所定比率αだけ低い値を第1窓判定閾値TH1を
TH1=Vs1−α・Vs1
として算出し、不揮発メモリ68に登録する。
FIG. 6B shows the characteristic A by the first window opening / closing detection hall sensor 46-1 selected by the sensor selector 74, and the magnetic level Vs 1 obtained at point P is initially registered in the nonvolatile memory 68. . Subsequently, a value lower than the initially registered magnetic force level Vs1 by a predetermined ratio α is set to the first window determination threshold TH1 as TH1 = Vs1−α · Vs1.
And is registered in the nonvolatile memory 68.

更に、初期登録した磁力レベルVs1を所定比率β増加して通常監視ではあり得ない値とした第2窓判定閾値TH2を
TH2=Vs1+β・Vs1
として算出し、外部から強力な磁石を近づける悪戯などの不正行為を窓開とみなす判定閾値として不揮発メモリ68に登録する。
Further, the second window determination threshold TH2 in which the initially registered magnetic force level Vs1 is increased by a predetermined ratio β to a value that cannot be monitored normally is TH2 = Vs1 + β · Vs1.
And registering in the non-volatile memory 68 as a determination threshold value that considers an illegal act such as a mischief that brings a strong magnet from the outside close.

ここで図6(B)に示した磁力レベルVs1、第1窓判定閾値TH1,第2窓判定閾値TH2を図5のAD変換値に反映させると、磁力レベルがプラス極性の場合は、P点の磁力レベルVs1はVs1=Vs1+128、Q点の窓判定閾値TH1はTH1=128+TH1、R点の窓判定閾値TH2はTH2=128+TH2となる。   Here, when the magnetic force level Vs1, the first window determination threshold value TH1, and the second window determination threshold value TH2 shown in FIG. 6B are reflected in the AD conversion value of FIG. The magnetic force level Vs1 is Vs1 = Vs1 + 128, the Q point window determination threshold TH1 is TH1 = 128 + TH1, and the R point window determination threshold TH2 is TH2 = 128 + TH2.

また磁力レベルがマイナス極性の場合には、S点の磁力レベルVs1はVs1=128−Vs1、T点の窓判定閾値TH1はTH1=128−TH1、U点の窓判定閾値TH2はTH2=128−TH2となる。   When the magnetic force level is negative, the magnetic force level Vs1 at point S is Vs1 = 128-Vs1, the window determination threshold value TH1 at point T is TH1 = 128-TH1, and the window determination threshold value TH2 at point U is TH2 = 128-. TH2.

図7は、本実施形態におけるクレセント錠検出マグネット48と施錠検出用ホールセンサ48の関係を示した説明図である。図7において、窓開閉検出装置10における装置本体22のクレセント錠側の端部には施錠検出用ホールセンサ48が配置され、その前方(下方)にカバー部材24に収納した円錐状の集磁体26を配置している。   FIG. 7 is an explanatory diagram showing the relationship between the crescent lock detection magnet 48 and the lock detection hall sensor 48 in the present embodiment. In FIG. 7, a lock detection hall sensor 48 is disposed at the crescent lock side end of the apparatus main body 22 in the window opening / closing detection apparatus 10, and a conical magnetic current collector 26 housed in the cover member 24 in front (downward) thereof. Is arranged.

クレセント錠16の開閉レバー18に設けたクレセント錠検出マグネット20は、開閉レバー18の施錠状態で図示のカバー部材24の外端面から距離hに位置し、この施錠位置での距離hが最小距離となる。クレセント錠検出マグネット20からの磁束は集磁体26の大径入射面に入った後、反対側の小径出射面に収束されて施錠検出用ホールセンサ48を通過する。   The crescent lock detection magnet 20 provided on the open / close lever 18 of the crescent lock 16 is located at a distance h from the outer end surface of the illustrated cover member 24 in the locked state of the open / close lever 18, and the distance h at this lock position is the minimum distance. Become. The magnetic flux from the crescent lock detection magnet 20 enters the large-diameter incident surface of the magnetic collector 26, then converges on the opposite small-diameter exit surface and passes through the lock detection hall sensor 48.

このようなクレセント錠検出マグネット20による磁束は施錠検出用ホールセンサ48で磁力に応じた電圧信号として検出され、増幅回路54で増幅した後にAD変換ポート72により磁力レベル(AD変換値)として読み込まれる。   The magnetic flux generated by the crescent lock detection magnet 20 is detected as a voltage signal corresponding to the magnetic force by the lock detection hall sensor 48, amplified by the amplification circuit 54, and then read as a magnetic force level (AD conversion value) by the AD conversion port 72. .

図8は図7に示した装置端面からクレセント錠検出マグネット20までの距離hに対する施錠検出用ホールセンサ48で検出した磁力レベルの関係を示したグラフ図である。   FIG. 8 is a graph showing the relationship between the magnetic force level detected by the lock detection hall sensor 48 and the distance h from the device end face to the crescent lock detection magnet 20 shown in FIG.

なお、実際のAD変換ポート72の変換特性は図5と同じになるが、図8にあっては、説明を簡単にするため、磁力レベル検出信号の極性に関らず、AD変換値を0〜128として示している。   The actual conversion characteristics of the AD conversion port 72 are the same as those in FIG. 5, but in FIG. 8, the AD conversion value is set to 0 regardless of the polarity of the magnetic force level detection signal in order to simplify the description. ~ 128.

図4のプロセッサ50に設けた施錠登録処理部78は、例えばP点の磁力レベルVs3を取得したとすると、取得した磁力レベルVs3を不揮発メモリ68に初期登録する。   For example, if the lock registration processing unit 78 provided in the processor 50 of FIG. 4 acquires the magnetic force level Vs3 at the point P, the lock registration processing unit 78 initially registers the acquired magnetic force level Vs3 in the nonvolatile memory 68.

続いて、初期登録した磁力レベルVs3から所定比率γ分低い値として施錠判定閾値TH3を
TH3=Vs2−γ・Vs2
として算出して不揮発メモリ68に登録する。
Subsequently, the lock determination threshold TH3 is set to TH3 = Vs2−γ · Vs2 as a value lower than the initially registered magnetic force level Vs3 by a predetermined ratio γ.
And is registered in the nonvolatile memory 68.

図9は図4のプロセッサによる本実施形態の監視処理を示したフローチャートである。   FIG. 9 is a flowchart showing the monitoring process of this embodiment by the processor of FIG.

図9において、図3に示したような現場設置が済んだ状態で電源が投入されると、ステップS1で初期化処理と自己診断処理が実行され、異常が無ければステップS2に進み、不揮発メモリ68に記憶されているデータを読み込む。   In FIG. 9, when the power is turned on with the installation at the site as shown in FIG. 3, the initialization process and the self-diagnosis process are executed in step S1, and if there is no abnormality, the process proceeds to step S2, and the nonvolatile memory The data stored in 68 is read.

続いてステップS3に進み、カバー部材24を開いて登録スイッチ60をオン操作することによって窓開閉登録処理を実行し、磁力レベルVs1と窓判定閾値TH1,TH2を不揮発メモリ68に登録する。   Subsequently, the process proceeds to step S3, where the cover member 24 is opened and the registration switch 60 is turned on to execute the window opening / closing registration process, and the magnetic force level Vs1 and the window determination thresholds TH1, TH2 are registered in the nonvolatile memory 68.

続いて、ステップS4に進み、登録スイッチ60を再度オン操作することによって施錠監視登録を実行し、磁力レベルVs3と錠判定閾値TH3を不揮発メモリ68に登録する。   Subsequently, the process proceeds to step S4, and the lock switch registration is executed by turning on the registration switch 60 again, and the magnetic force level Vs3 and the lock determination threshold value TH3 are registered in the nonvolatile memory 68.

続いてステップS5で所定の監視周期への到達の有無を判定しており、監視周期への到達を判定するとステップS6に進んで電池44に対するローバッテリ監視処理を実行する。このとき電池電圧が規定電圧以下に低下していると、ローバッテリを示す電文を監視装置に無線送信して障害表示を行わせる。   Subsequently, in step S5, it is determined whether or not a predetermined monitoring period has been reached. If it is determined that the monitoring period has been reached, the process proceeds to step S6 to execute a low battery monitoring process for the battery 44. At this time, if the battery voltage drops below the specified voltage, a message indicating a low battery is wirelessly transmitted to the monitoring device to display a failure.

次にステップS7で窓開閉監視処理を実行し、窓開又は窓閉を判定すると、その内容を示す電文を監視装置に送信する。更にステップS18でクレセント錠の施錠監視処理を実行し、錠開又はその後の錠閉を判定すると、その内容を示す電文を監視装置に送信する。続いてステップS9で定期通報時間経過かを判別し、経過を判別した場合にはステップS10に進み、定期通報電文を監視装置に送信する定期通報処理を行う。   Next, in step S7, a window opening / closing monitoring process is executed, and when a window opening or window closing is determined, a message indicating the contents is transmitted to the monitoring device. In step S18, a crescent lock locking monitoring process is executed, and when it is determined whether the lock is unlocked or the subsequent lock is closed, a message indicating the contents is transmitted to the monitoring device. Subsequently, in step S9, it is determined whether the periodic notification time has elapsed, and if it has been determined, the process proceeds to step S10, and a periodic notification process for transmitting a periodic notification message to the monitoring device is performed.

図10は図9のステップS3における窓開閉登録処理の詳細を示したフローチャートである。図10において、まずステップS11で登録スイッチ60のオン操作を判別しており、磁力レベルの初期登録のため、窓を閉鎖した状態で図4に示したように窓開閉検出マグネット14を最小距離に設定し、登録スイッチ60を操作すると、登録スイッチオンが判別されてステップS12に進み、赤色LED56aを点滅し、ステップS13で窓開閉登録モードをスタートする。   FIG. 10 is a flowchart showing details of the window opening / closing registration process in step S3 of FIG. In FIG. 10, it is first determined in step S11 that the registration switch 60 is turned on, and the window open / close detection magnet 14 is set to the minimum distance as shown in FIG. When setting and operating the registration switch 60, it is determined that the registration switch is turned on, the process proceeds to step S12, the red LED 56a blinks, and the window open / close registration mode is started in step S13.

登録モードがスタートすると、ステップS14でAD変換ポート70−1,70−2から第1及び第2窓開閉検出用ホールセンサ46−1,46−2による磁力レベルVs1,Vs2を取得し、ステップS15で高い方の磁力レベルを読み込むようにAD変換ポート70−1又は70−2を選択する。   When the registration mode is started, the magnetic force levels Vs1, Vs2 by the first and second window opening / closing detection hall sensors 46-1 and 46-2 are acquired from the AD conversion ports 70-1 and 70-2 in step S14, and step S15. The AD conversion port 70-1 or 70-2 is selected so as to read the higher magnetic force level.

続いて、ステップS16で所定の登録可能期間を経過したか否か判別しており、登録可能期間が経過するまでの間、ステップS17に進んで、選択した磁力レベルを取得し、ステップS18で取得した磁力レベルを予め設定した所定の有効レベルと比較し、有効レベルである場合には、ステップS19に進み、不揮発メモリ68に磁力レベルVs1として記憶する。有効レベルの値であるかの判定とは、測定した磁力レベルに基づき、窓の開閉状態及び侵入者が不正にマグネットを近づけたこと判断できるかどうかであり、その後のステップで算出する窓判定閾値TH1、TH2共に図6のAD変換値の0付近に存在しない、及び128付近もしくは128以上の飽和値にならない閾値設定できる磁力レベルかどうかで判定する。   Subsequently, in step S16, it is determined whether or not a predetermined registrable period has elapsed. Until the registrable period elapses, the process proceeds to step S17, where the selected magnetic force level is acquired, and acquired in step S18. The obtained magnetic force level is compared with a predetermined effective level set in advance, and if it is an effective level, the process proceeds to step S19 and is stored in the nonvolatile memory 68 as the magnetic force level Vs1. The determination of whether the value is an effective level is based on the measured magnetic force level, whether the window is open or closed, and whether an intruder can improperly approach the magnet, and the window determination threshold value calculated in the subsequent steps Whether TH1 and TH2 are not present in the vicinity of 0 of the AD conversion value in FIG. 6 and whether the magnetic force level can be set to a threshold value that does not become near 128 or a saturation value of 128 or more is determined.

続いてステップS20で初期登録した磁力レベルVs1から所定比率αだけ低い窓判定閾値TH1を算出して不揮発メモリ68に登録する。   Subsequently, in step S20, a window determination threshold value TH1 that is lower than the initially registered magnetic force level Vs1 by a predetermined ratio α is calculated and registered in the nonvolatile memory 68.

またステップS21で初期登録した磁力レベルVs1を所定比率βだけ高い外部から強い磁石を近づける悪戯による不正行為を判定するための窓判定閾値TH2を算出して不揮発メモリ68に登録する。   In addition, a window determination threshold value TH2 for determining a fraudulent act by mischievous approaching a strong magnet from the outside with a magnetic force level Vs1 initially registered at step S21 being higher by a predetermined ratio β is calculated and registered in the nonvolatile memory 68.

不揮発メモリ68に磁力レベルVs1及び窓判定閾値TH1,TH2が登録されると、ステップS22で窓開閉監視部80による窓開閉の監視処理を開始させ、ステップS23で表示部56の緑色LED56bを点灯して登録完了を報知する。   When the magnetic force level Vs1 and the window determination thresholds TH1 and TH2 are registered in the nonvolatile memory 68, the window opening / closing monitoring process by the window opening / closing monitoring unit 80 is started in step S22, and the green LED 56b of the display unit 56 is turned on in step S23. Notification of registration completion.

一方、登録スイッチ60の操作により登録モードを設定している登録可能期間の間に、ステップS18で有効レベルを超える磁力レベル得られなかった場合には、ステップS16で登録可能期間を経過を判別したときにステップS24に進んで赤色LED56aを点滅から点灯に切り替えて初期登録の失敗を表示し、ステップS25で登録処理のエラー状態を登録すると共に、窓開閉監視処理部78による窓開閉の監視を解除する。   On the other hand, if the magnetic force level exceeding the effective level is not obtained in step S18 during the registerable period in which the registration mode is set by operating the registration switch 60, the elapse of the registerable period is determined in step S16. When the process proceeds to step S24, the red LED 56a is switched from blinking to lighting to indicate the failure of the initial registration, the registration process error state is registered, and the window opening / closing monitoring processing unit 78 cancels the window opening / closing monitoring. To do.

図11は図9のステップS4におけるクレセント錠登録処理の詳細を示したフローチャートである。図11において、まずステップS31で登録スイッチ60のオン操作を判別しており、磁力レベルの初期登録のため、開閉レバー18を解錠位置に操作してクレセント錠検出マグネット20を最大距離に設定し、カバー部材24を開いて登録スイッチ60を操作すると、登録スイッチオンが判別されてステップS32に進み、赤色LED56aを点滅し、ステップS33で登録モードをスタートする。   FIG. 11 is a flowchart showing details of the crescent lock registration process in step S4 of FIG. In FIG. 11, first, in step S31, it is determined whether the registration switch 60 is turned on. For initial registration of the magnetic force level, the open / close lever 18 is operated to the unlocked position to set the crescent lock detecting magnet 20 to the maximum distance. When the cover member 24 is opened and the registration switch 60 is operated, it is determined that the registration switch is turned on, the process proceeds to step S32, the red LED 56a blinks, and the registration mode is started in step S33.

続いて、ステップS34で所定の登録可能期間が経過したか否か判別しており、登録可能期間が経過するまでの間、ステップS35に進んで、磁力レベルVs3を取得し、ステップS36で有効に開閉状態を監視できる範囲の値か否か判別する。監視に有効な値であればステップ37に進み、取得した磁力レベルVs3として記憶し、ステップS38で正常の登録されたことを点灯表示する。   Subsequently, in step S34, it is determined whether or not a predetermined registrable period has elapsed. Until the registrable period elapses, the process proceeds to step S35, where the magnetic force level Vs3 is acquired, and valid in step S36. It is determined whether or not the open / closed state is within a range that can be monitored. If the value is effective for monitoring, the process proceeds to step 37, where it is stored as the acquired magnetic force level Vs3, and the fact that it has been registered normally is displayed in step S38.

続いてステップS39に進み、初期登録した磁力レベルVs3から所定比率γだけ低い錠判定閾値TH3を算出して不揮発メモリ68に登録し、ステップS40で施錠監視部82によるクレセント錠の施錠監視を開始させる。   Subsequently, the process proceeds to step S39, where a lock determination threshold TH3 that is lower than the initially registered magnetic force level Vs3 by a predetermined ratio γ is calculated and registered in the nonvolatile memory 68, and the lock monitoring of the crescent lock is started by the lock monitoring unit 82 in step S40. .

一方、登録スイッチ60の操作により登録モードを設定している登録可能期間の間に、カバー部材24を閉じてクレセント錠16の開閉レバー18を施錠位置に戻す操作を行わなかった場合には、ステップS36で有効レベルを超える磁力レベル得られないために、ステップS34で登録可能期間を経過を判別したときにステップS41に進んで赤色LED56aを点滅から点灯に切り替えて初期登録の失敗を表示し、ステップS42で登録処理のエラー状態を登録すると共に、施錠監視処理部78によるクレセント錠の施錠監視を解除する。   On the other hand, if the cover member 24 is closed and the opening / closing lever 18 of the crescent lock 16 is not returned to the locked position during the registration possible period in which the registration mode is set by the operation of the registration switch 60, a step is performed. Since it is not possible to obtain a magnetic force level exceeding the effective level in S36, when it is determined in step S34 that the registerable period has elapsed, the process proceeds to step S41, the red LED 56a is switched from blinking to lighting, and an initial registration failure is displayed. In S42, the error status of the registration process is registered, and the lock monitoring of the crescent lock by the lock monitoring processing unit 78 is canceled.

図12は図9のステップS7における窓開閉監視処理の詳細を示したフローチャートである。   FIG. 12 is a flowchart showing details of the window opening / closing monitoring process in step S7 of FIG.

図12において、まずステップS51で選択されている例えば第1窓開閉検出用ホールセンサ46−1により検出された磁力レベルをAD変換値として取得し、ステップS52に進んで前回が窓開判定であることを判別すると、ステップS53に進んで窓判定閾値TH1と比較する。   In FIG. 12, first, for example, the magnetic force level detected by the first window opening / closing detection hall sensor 46-1 selected in step S51 is acquired as an AD conversion value, and the process proceeds to step S52 where the previous time is the window opening determination. If it is determined, the process proceeds to step S53 and is compared with the window determination threshold value TH1.

ステップS53で磁力レベルが窓判定閾値TH1以下であればステップS54に進んで窓開判定とし、この場合、窓閉の判定状態から窓開の判定状態となる異常検出状態への変化であることから、ステップS55で赤色LED56aを点灯し、異常検出状態への状態変化を報知する。   If the magnetic force level is equal to or smaller than the window determination threshold TH1 in step S53, the process proceeds to step S54 to determine window opening, and in this case, the change is from the window closing determination state to the abnormality detection state that is the window opening determination state. In step S55, the red LED 56a is turned on to notify the state change to the abnormality detection state.

続いてステップS56で窓開判定の電文を監視装置に向けて無線送信し、無線送信が終了するとステップS57で赤色LED56bを消灯する。   Subsequently, in step S56, a window opening determination message is wirelessly transmitted to the monitoring device. When the wireless transmission is completed, the red LED 56b is turned off in step S57.

一方、ステップS53で磁力レベルが窓判定閾値TH1を超えていた場合はステップS58で窓判定閾値TH2と比較し、窓判定閾値TH2以上の場合は、悪戯などにより強力な磁石を外から近づけたことによる磁力レベルの異常な増加と判断し、ステップS54に進んで窓開判定とし、ステップS55〜S57で赤色LED56aを窓開判定電文の無線送信が終了するまで点灯駆動する。   On the other hand, when the magnetic force level exceeds the window determination threshold value TH1 in step S53, it is compared with the window determination threshold value TH2 in step S58. It is determined that the magnetic force level is abnormally increased, and the process proceeds to step S54 to determine window opening. In steps S55 to S57, the red LED 56a is turned on until wireless transmission of the window opening determination message is completed.

また、ステップS52で前回が開判定であった場合には、ステップS59に進み、磁力レベルが窓判定閾値レベルTH1より大きく、窓判定閾値TH2より小さいときはステップS60に進んで窓閉判定を行う。   If the previous determination was an open determination in step S52, the process proceeds to step S59, and if the magnetic force level is greater than the window determination threshold level TH1 and smaller than the window determination threshold TH2, the process proceeds to step S60 to perform window closing determination. .

続いてステップS61で施錠監視部82により現在クレセント錠の閉判定中か否か判別し、閉判定中であれば、窓閉で且つ錠閉となる正常監視状態に変化していることからステップS62に進んで緑色LED56aを選択する。一方、ステップS61で開判定中であれば、窓開で且つ錠閉となる異常検出状態にあることからステップS63に進んで赤色LED56bを選択する。   Subsequently, in step S61, the lock monitoring unit 82 determines whether or not the crescent lock is currently being closed. If it is being closed, the window is closed and the normal monitoring state in which the lock is closed is changed to step S62. Go to and select the green LED 56a. On the other hand, if the open determination is being made in step S61, it is in an abnormality detection state in which the window is open and locked, and the process proceeds to step S63 to select the red LED 56b.

そしてステップS64に進み、選択した赤色LED56a又は緑色LED56bを点灯してステップS65で窓閉の判定電文を無線送信し、送信が終了するとステップS66で点灯しているLEDを消灯する。   In step S64, the selected red LED 56a or green LED 56b is turned on, and a window closing determination message is wirelessly transmitted in step S65. When the transmission is completed, the lit LED is turned off in step S66.

図13は図9のステップS8におけるクレセント錠開閉監視処理の詳細を示したフローチャートである。   FIG. 13 is a flowchart showing details of the crescent lock opening / closing monitoring process in step S8 of FIG.

図13において、まずステップS71で施錠検出用ホールセンサ48により検出された磁力レベルをAD変換値として取得し、ステップS72に進んで前回が錠閉判定であることを判別すると、ステップS73に進んで錠判定閾値TH3と比較する。   In FIG. 13, first, the magnetic force level detected by the locking detection hall sensor 48 is acquired as an AD conversion value in step S71, and the process proceeds to step S72. When it is determined that the previous lock determination is made, the process proceeds to step S73. Compare with the lock determination threshold TH3.

ステップS73で磁力レベルが錠判定閾値TH3以下であればステップS74に進んで錠開判定とし、この場合、錠閉の判定状態から錠開の判定状態となる異常検出状態への変化であることから、ステップS75で赤色LED56aを点灯し、異常検出状態への状態変化を報知する。   If the magnetic force level is equal to or lower than the lock determination threshold TH3 in step S73, the process proceeds to step S74 to determine the unlocking state, and in this case, it is a change from the unlocking determination state to the abnormality detection state that becomes the unlocking determination state. In step S75, the red LED 56a is turned on to notify the state change to the abnormality detection state.

続いてステップS76で錠開判定の電文を監視装置に向けて無線送信し、無線送信が終了するとステップS77で赤色LED56bを消灯する。   Subsequently, in step S76, the unlocking determination message is wirelessly transmitted to the monitoring device. When the wireless transmission is completed, the red LED 56b is turned off in step S77.

ステップS72で前回が開判定であった場合には、ステップS78に進み、磁力レベルが錠判定閾値レベルTH3より大きいときはステップS79に進んで錠閉判定を行う。   If the previous determination was an open determination in step S72, the process proceeds to step S78, and if the magnetic force level is greater than the lock determination threshold level TH3, the process proceeds to step S79 to perform a lock determination.

続いてステップS80で窓開閉監視部80により現在窓の閉判定中か否か判別し、閉判定中であれば、窓閉で且つ錠閉となる正常監視状態に変化していることからステップS81に進んで緑色LED56aを選択する。   Subsequently, in step S80, the window opening / closing monitoring unit 80 determines whether the window is currently closed or not. If the window is being closed, the window is closed and the normal monitoring state is changed to the locked state. Go to and select the green LED 56a.

一方、ステップS80で窓開判定中であれば、窓開で且つ錠閉となる異常検出状態にあることからステップS82に進んで赤色LED56bを選択する。そしてステップS83に進み、選択した赤色LED56a又は緑色LED56bを点灯してステップS84で錠閉の判定電文を無線送信し、送信が終了するとステップS85で点灯しているLEDを消灯する。   On the other hand, if the window opening determination is being made in step S80, the window LED is open and the abnormality is detected to be locked, so the process proceeds to step S82 and the red LED 56b is selected. In step S83, the selected red LED 56a or green LED 56b is turned on, the lock determination message is wirelessly transmitted in step S84, and when the transmission is completed, the lit LED is turned off in step S85.

図14は、サイズの異なる2種のマグネットを使用した場合の設置状態におけるホールセンサとマグネットの関係を示した説明図である。   FIG. 14 is an explanatory diagram showing the relationship between the hall sensor and the magnet in the installed state when two types of magnets having different sizes are used.

図14(A)はサマリウムコバルト磁石14−1を使用した場合であり、また図14(B)はネジウム磁石14−2を使用した場合である。ネオジウム磁石14−1は最も強力な磁石であり、これに次ぐ磁石としてサマリウムコバルト磁石14−2が知られている。   FIG. 14A shows a case where a samarium cobalt magnet 14-1 is used, and FIG. 14B shows a case where a nedium magnet 14-2 is used. The neodymium magnet 14-1 is the most powerful magnet, and the samarium cobalt magnet 14-2 is known as the next magnet.

このため同じ磁力を発生するようにした場合、図14(A)のサマリウムコバルト磁石14−1の長さL1に対し、図14(B)のネジウム磁石14−2の長さはL2と短くなる。   Therefore, when the same magnetic force is generated, the length of the nedium magnet 14-2 in FIG. 14B is shortened to L2 with respect to the length L1 of the samarium cobalt magnet 14-1 in FIG. 14A. .

そこで図14(A)のように、窓開閉検出装置10に設けた例えば図2のカバー部材24のマーカ24aなどで決まる取付基準線90にサマリウムコバルト磁石14−1の上端を位置決めしたとき、上下方向の中心が第2窓開閉検出用ホールセンサ14−2に相対するようにする。この場合には、第2窓開閉検出用ホールセンサ14−2による磁力レベルの方が大きいため、AD変換ポート70−2による磁力レベルの読込みが選択される。   Therefore, as shown in FIG. 14A, when the upper end of the samarium cobalt magnet 14-1 is positioned on the attachment reference line 90 determined by, for example, the marker 24a of the cover member 24 of FIG. The center of the direction is set to face the second window opening / closing detection hall sensor 14-2. In this case, since the magnetic force level by the second window opening / closing detection hall sensor 14-2 is larger, reading of the magnetic force level by the AD conversion port 70-2 is selected.

一方、図14(B)のように、窓開閉検出装置10の取付基準線90にネジウム磁石14−2の上端を位置決めしたとき、上下方向の中心が第1窓開閉検出用ホールセンサ14−2に相対するようにする。この場合には、第1窓開閉検出用ホールセンサ14−1による磁力レベルの方が大きいため、AD変換ポート70−1による磁力レベルの読込みが選択される。   On the other hand, as shown in FIG. 14B, when the upper end of the nedium magnet 14-2 is positioned on the attachment reference line 90 of the window opening / closing detection device 10, the center in the vertical direction is the first window opening / closing detection hall sensor 14-2. To be relative to. In this case, since the magnetic force level by the first window opening / closing detection hall sensor 14-1 is larger, reading of the magnetic force level by the AD conversion port 70-1 is selected.

このように本実施形態にあっては、磁性材料の相違によりサイズの異なる2種のマグネットの互換使用を可能とする。   As described above, in this embodiment, two types of magnets having different sizes can be used interchangeably due to the difference in magnetic material.

なお、上記の実施形態にあっては、窓開閉検出用ホールセンサを2つ上下方向に所定距離だけ離して配置した場合を例にとるものであったが、3つ以上のホールセンサを配置しても良い。   In the above embodiment, the case where two hall opening / closing detection hall sensors are arranged apart from each other by a predetermined distance in the vertical direction is taken as an example. However, three or more hall sensors are arranged. May be.

また、上記の実施形態にあっては、ホールセンサのオフセットを含む磁力レベルを初期登録して判定閾値を求めているが、ホールセンサのオフセットを測定して不揮発メモリに記憶しておき、初期登録した磁力レベルから判定閾値を算出する際に、磁力レベルからオフセットを差し引いて磁力レベル変化量を正確に求め、この変化量から所定比率低い値を求め、この値にオフセットを加算して判定閾値としても良い。   In the above embodiment, the determination threshold is obtained by initially registering the magnetic force level including the offset of the Hall sensor. However, the offset of the Hall sensor is measured and stored in the nonvolatile memory, and the initial registration is performed. When calculating the judgment threshold from the magnetic level, the magnetic level change amount is accurately obtained by subtracting the offset from the magnetic level, a value lower by a predetermined ratio is obtained from this change amount, and the offset is added to this value as the judgment threshold value. Also good.

また、上記の実施形態においては、磁力レベルの高い方のホールセンサを選択して窓の開閉監視を行っているが、登録時に測定した高い方の磁力レベルが、監視するにあたって有効な範囲の磁力レベルを超える例えば極端に高い値の場合には、他方の磁力レベルの低い値のホールセンサを選択しても良い。この場合、低い方の磁力レベルが有効監視範囲内にあることを条件として選択するようにしても良い。測定した磁力レベルと各種閾値TH1、TH2が共に監視に有効な範囲のレベルである磁気検出素子を選択するようにしてもよい。   In the above embodiment, the opening / closing monitoring of the window is performed by selecting the Hall sensor with the higher magnetic force level, but the higher magnetic force level measured at the time of registration is within the effective range for monitoring. In the case of an extremely high value exceeding the level, for example, the other Hall sensor having a low magnetic force level may be selected. In this case, it may be selected on the condition that the lower magnetic force level is within the effective monitoring range. You may make it select the magnetic detection element from which the measured magnetic force level and various threshold value TH1, TH2 are the level of the range effective for monitoring.

また、上記の実施形態においては、登録モード時に選択しなかったホールセンサは監視に使用していないが、窓開閉状態監視に使用しても良い。たとえば、登録モード時に両方のホール素子の磁力レベルの初期値を登録しておき、窓開閉監視に選択したホールセンサの磁力レベルが適正範囲値を検出していても、選択しなかったホールセンサの磁力レベルが通常監視時の磁力レベルよりも大きく異なる値を示した場合には別のマグネットを近づけたりするなど不正行為の可能性があると判断して警報を出してようにしても良い。   Further, in the above embodiment, the hall sensors that are not selected in the registration mode are not used for monitoring, but may be used for monitoring the window open / closed state. For example, the initial value of the magnetic level of both Hall elements is registered in the registration mode, and even if the magnetic level of the Hall sensor selected for window opening / closing monitoring detects an appropriate range value, If the magnetic force level shows a value significantly different from the magnetic force level at the time of normal monitoring, it may be judged that there is a possibility of fraud such as bringing another magnet closer, and an alarm may be issued.

また選択しなかったホールセンサの磁力レベルの検出値が、選択したホールセンサの磁力レベルの検出値よりも高くなった場合も、不正行為の可能性があるとして警報を出力するようにしても良い。   Further, even when the detected value of the magnetic level of the hall sensor that has not been selected becomes higher than the detected value of the magnetic level of the selected hall sensor, an alarm may be output because there is a possibility of fraud. .

選択しなかったホールセンサを不正行為検知用のホールセンサに設定し、このホールセンサに対しても磁力レベルの初期検出値から所定比率を掛けた閾値を算出し、磁力レベルが閾値を越える値を示した場合には、不正侵入者がマグネットを近づけて侵入を試みていると判断して警報を出すようにしても良い。   The hall sensor that was not selected is set as a hall sensor for detecting fraud, and for this hall sensor, a threshold value obtained by multiplying the initial detection value of the magnetic force level by a predetermined ratio is calculated. In the case shown, it may be determined that an unauthorized intruder is approaching the magnet and trying to enter, and an alarm may be issued.

また、本発明はその目的と利点を損なうことの無い適宜の変形を含み、更に、上記の実施形態に示した数値による限定は受けない。
Further, the present invention includes appropriate modifications that do not impair the object and advantages thereof, and is not limited by the numerical values shown in the above embodiments.

10:窓開閉検出装置
14:窓開閉検出マグネット
22:装置本体
46−1:第1窓開閉検出用ホールセンサ
46−2:第2窓開閉検出用ホールセンサ
48:施錠検出用ホールセンサ
60:登録スイッチ
74:センサ選択部
76:窓開閉登録処理部
10: Window open / closed detection device 14: Window open / closed detection magnet 22: Device main body 46-1: Hall sensor for first window open / close detection 46-2: Hall sensor for second window open / close detection 48: Hall sensor for lock detection 60: Registration Switch 74: Sensor selection unit 76: Window open / close registration processing unit

Claims (3)

監視対象に配置したマグネットによる磁力レベルを検出する複数の磁気感知素子と、
窓の閉鎖状態で前記複数の磁気感知素子で検出された磁力レベルを比較し、窓の状態監視において最も検出精度が高い磁力レベルが得られた磁気感知素子を選択する磁気感知素子選択部と、
前記選択された磁気感知素子で検出した磁力レベルと所定の判定閾値の比較により窓の開又は閉を判定する窓開閉監視部と、
を備え、
前記磁気感知素子は、窓縦枠に対する設置状態で2つの磁気感知素子を上下方向に所定距離を離して配置したことを特徴とする窓開閉検出装置。
A plurality of magnetic sensing elements for detecting a magnetic force level by a magnet disposed on a monitoring target;
A magnetic sensing element selector that compares magnetic force levels detected by the plurality of magnetic sensing elements in a closed state of the window, and selects a magnetic sensing element having the highest detection accuracy in the window state monitoring;
A window opening / closing monitoring unit for determining whether the window is opened or closed by comparing a magnetic force level detected by the selected magnetic sensing element and a predetermined determination threshold;
With
2. The window opening / closing detection apparatus according to claim 1, wherein the magnetic sensing elements are arranged with a predetermined distance in the vertical direction in the installed state with respect to the vertical window frame .
請求項1記載の窓開閉検出装置に於いて、更に、窓の閉鎖状態で登録操作を判別した際に、前記選択された磁気感知素子により磁力レベルを検出して登録し、登録した磁力レベルに基づいて前記判定閾値を求めて登録する登録処理部を設けたことを特徴とする窓開閉検出装置。
The window opening / closing detection apparatus according to claim 1, further comprising: detecting and registering a magnetic force level with the selected magnetic sensing element when the registration operation is determined in a closed state of the window, and setting the registered magnetic force level to the registered magnetic force level. A window opening / closing detection apparatus comprising a registration processing unit for obtaining and registering the determination threshold based on the determination threshold.
請求項1記載の窓開閉検出装置に於いて、前記磁気感知素子選択部で選択されなかった磁気感知素子は、通常窓開閉状態監視に使用しないマグネットが不正に近づいたことを監視することを特徴とする窓開閉検出装置。   2. The window opening / closing detection apparatus according to claim 1, wherein the magnetic sensing elements not selected by the magnetic sensing element selection unit monitor that a magnet not normally used for monitoring the window opening / closing state approaches illegally. A window open / close detection device.
JP2009099638A 2009-04-16 2009-04-16 Window open / close detection device Active JP5307607B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009099638A JP5307607B2 (en) 2009-04-16 2009-04-16 Window open / close detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009099638A JP5307607B2 (en) 2009-04-16 2009-04-16 Window open / close detection device

Publications (2)

Publication Number Publication Date
JP2010250576A JP2010250576A (en) 2010-11-04
JP5307607B2 true JP5307607B2 (en) 2013-10-02

Family

ID=43312826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009099638A Active JP5307607B2 (en) 2009-04-16 2009-04-16 Window open / close detection device

Country Status (1)

Country Link
JP (1) JP5307607B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019032298A1 (en) * 2017-08-08 2019-02-14 Ecolink Intelligent Technology, Inc. Near-far security sensor

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012099052A (en) * 2010-11-05 2012-05-24 Nec Infrontia Corp Terminal device
JP2016189075A (en) * 2015-03-30 2016-11-04 積水化学工業株式会社 Security System
DE102016114135A1 (en) * 2016-07-29 2018-02-01 Phoenix Contact Gmbh & Co. Kg Method for signaling the position of a safety device and safety switching system
SG10201908225YA (en) * 2018-09-13 2020-04-29 Alstom Transp Tech Derailment detection device and associated railway vehicle and method
WO2020215039A1 (en) * 2019-04-19 2020-10-22 Inteva Products, Llc Horizontal magnet for hall effect sensor activation in a vehicle latch

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3977583B2 (en) * 2000-10-04 2007-09-19 株式会社東海理化電機製作所 Locking / unlocking state monitoring device for building locking device
JP2003223683A (en) * 2002-01-29 2003-08-08 Nittan Co Ltd Detecting device, detecting system and method for registering output voltage value

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019032298A1 (en) * 2017-08-08 2019-02-14 Ecolink Intelligent Technology, Inc. Near-far security sensor
US10565843B2 (en) 2017-08-08 2020-02-18 Ecolink Intelligent Technology, Inc. Near-far security sensor
US11482090B2 (en) 2017-08-08 2022-10-25 Ecolink Intelligent Technology, Inc. Near-far security sensor
US11699336B2 (en) 2017-08-08 2023-07-11 Ecolink Intelligent Technology, Inc. Near-far security sensor

Also Published As

Publication number Publication date
JP2010250576A (en) 2010-11-04

Similar Documents

Publication Publication Date Title
JP5307607B2 (en) Window open / close detection device
US10488464B2 (en) Magnetic sensor circuit for security sensing
US9489828B2 (en) Programmable security sensor
US20230316886A1 (en) Near-far security sensor
EP2978913B1 (en) Device for detecting the state of a leaf of doors, gates and the like
CN108678558B (en) Door lock control method and door lock
EP3211613B1 (en) Door and window contact system and method that include a mems accelerometer and a mems magnetometer
JP5899510B2 (en) Window unlocking sensor
JP2013257890A (en) Window opening/closing detection device
JP2010129010A (en) Window opening/closing detecting device
JP5479719B2 (en) Window open / close detection device
JP5284765B2 (en) Open / close detection device
JP5284764B2 (en) Window open / close detection device
US7242187B1 (en) Hall effect switching circuit and apparatus and method using the same
JP2010129009A (en) Window opening/closing detecting device
US20090009273A1 (en) Hall Effect Switching Circuit and Controlling Method for same
JP5307606B2 (en) Window open / close detection device
JP2010129011A (en) Window opening/closing detecting device
JP2010250574A (en) Displacement detection device and magnet device
JP2003223683A (en) Detecting device, detecting system and method for registering output voltage value
JP5479718B2 (en) Window open / close detection device
JP5133859B2 (en) Window open / close detection device
JP6395073B2 (en) Window sensor
JP7252721B2 (en) Window open/close detector
JP2010250573A (en) Monitoring system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130410

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130627

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5307607

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250