JP2010129010A - Window opening/closing detecting device - Google Patents
Window opening/closing detecting device Download PDFInfo
- Publication number
- JP2010129010A JP2010129010A JP2008305790A JP2008305790A JP2010129010A JP 2010129010 A JP2010129010 A JP 2010129010A JP 2008305790 A JP2008305790 A JP 2008305790A JP 2008305790 A JP2008305790 A JP 2008305790A JP 2010129010 A JP2010129010 A JP 2010129010A
- Authority
- JP
- Japan
- Prior art keywords
- window
- magnetic force
- determination threshold
- determination
- closing
- 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.)
- Pending
Links
Images
Landscapes
- Burglar Alarm Systems (AREA)
Abstract
【課題】窓開閉の検出と同時に強力な磁石を使用した悪戯による不正行為についても確実に検出可能とする。
【解決手段】窓開閉登録処理部74は窓の閉鎖状態に対応したマグネットによる磁気レベルVsを窓開閉検出用ホールセンサ46で検出して初期登録し、初期登録した磁気レベルVsより所定割合低い第1判定閾値TH1と、磁力レベルVsより所定割合高い第2判定閾値TH2を登録する。窓開閉判定部78は、第1判定閾値TH1と検出した磁力レベルの比較による窓の開閉判定に加え、悪戯などにより強力な磁石を近づけたときの磁力レベルを第2判定閾値との比較により判定し、窓開閉と看做して警報させるようにする。
【選択図】図6An object of the present invention is to reliably detect fraudulent acts caused by mischief using a powerful magnet at the same time as detecting the opening and closing of a window.
A window opening / closing registration processing unit 74 detects a magnetic level Vs by a magnet corresponding to a closed state of a window by a window opening / closing detection hall sensor 46 and performs initial registration, and a predetermined percentage lower than the initially registered magnetic level Vs. A first determination threshold value TH1 and a second determination threshold value TH2 higher than the magnetic force level Vs by a predetermined ratio are registered. The window open / close determination unit 78 determines the magnetic force level when a strong magnet is brought close by mischief or the like by comparison with the second determination threshold in addition to the window open / close determination by comparing the first determination threshold TH1 with the detected magnetic force level. Then, it is assumed that the window is opened and closed and an alarm is given.
[Selection] Figure 6
Description
本発明は、窓の開閉状態及び強力な磁石を近づけた状態をホールセンサなどの磁気検知素子を使用して検出する窓開閉検出装置に関する。
The present invention relates to a window opening / closing detection device that detects a window opening / closing state and a state in which a strong magnet is brought close by using a magnetic detection element such as a hall sensor.
従来、監視対象として窓の開閉を検出して無線により監視盤に送信して警報させる無線式の窓開閉検出装置が知られている。このような窓開閉検出装置にあっては、窓ガラスに配置したマグネットの磁力を磁気感知素子で検出し、検出磁力が低下したときに窓開閉と判断して異常検出信号を警報盤に無線送信して警報させる。また窓に設けた監視対象としてクレセント錠の開閉レバーに配置したマグネットの磁力を別の磁気感知素子で検出し、開閉レバーが開放されてマグネットが磁気検知素子から離れることで検出磁力が低下したときにクレセント錠の開放と判断して異常検出信号を警報盤に無線送信して警報させている。 2. Description of the Related Art Conventionally, a wireless window opening / closing detection device that detects opening / closing of a window and sends it to a monitoring panel wirelessly as an alarm is known as a monitoring target. In such a window open / close detection device, the magnetic sensing element detects the magnetic force of the magnet placed on the window glass, and when the detected magnetic force decreases, it is determined that the window is open / closed and an abnormality detection signal is transmitted to the alarm panel wirelessly. Alarm. In addition, when the magnetic force of the magnet placed on the open / close lever of the Crescent lock as a monitoring target provided on the window is detected by another magnetic sensing element, and the open / close lever is released and the magnet moves away from the magnetic detection element, the detected magnetic force decreases. Therefore, it is determined that the crescent lock is released, and an abnormality detection signal is wirelessly transmitted to the alarm panel to give an alarm.
従来の窓開閉監視装置に使用される磁気感知素子は主に磁力の強弱に応じて接点を機械的にオン、オフするリードスイッチを使用していたが、近年にあっては、ホール効果を利用して磁力を検出するホールセンサを採用することが検討されている。 The magnetic sensing elements used in conventional window open / close monitoring devices mainly use reed switches that mechanically turn contacts on and off according to the strength of the magnetic force. In recent years, however, the Hall effect has been used. Therefore, it has been studied to employ a Hall sensor that detects magnetic force.
ホールセンサを磁気感知素子として使用する場合、検出対象とするマグネットに近いほど強い磁力がホールセンサを通過することで高いセンサ出力が得られる。ホールセンサで検出した磁気レベルに基づく窓の開閉検出は、窓を閉じた状態で検出される磁気レベルの最大値に対し所定比率を乗じた低い値を判定閾値として設定し、監視中に、検出している磁気レベルが低下して判定閾値以下になったら窓開と判定して窓開を示す電文を監視装置に送信して警報させる。 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. Window open / closed detection based on the magnetic level detected by the Hall sensor is set to a low value obtained by multiplying the maximum value of the magnetic level detected with the window closed with a predetermined ratio as the determination threshold, and is detected during monitoring. When the magnetic level being reduced falls below the determination threshold value, it is determined that the window is open, and a message indicating that the window is open is sent to the monitoring device to give an alarm.
また窓の開を判定した後に、磁気レベルが増加して判定閾値を超えた時、窓閉と判定して窓閉を示す電文を監視装置に無線送信し、警報を復旧させるようにしている。
しかしながら、このような従来のホールセンサで検出した磁気レベルと所定の判定閾値との比較により窓の開又は閉を判定する従来の窓開閉検出装置にあっては、窓ガラスに設置するマグネットについて、その磁力の強さにある程度のばらつきがあり、同じ距離に配置しても、ホールセンサを通過する磁力が大きく異なる。 However, in a conventional window opening / closing detection device that determines the opening or closing of a window by comparing the magnetic level detected by such a conventional Hall sensor with a predetermined determination threshold, for the magnet installed on the window glass, There is some variation in the strength of the magnetic force, and the magnetic force passing through the Hall sensor differs greatly even if they are arranged at the same distance.
このため設計パラメータに基づいて最適な判定閾値を設定したとしても、マグネットとホールセンサの組合せによっては、窓閉の状態で磁力レベルが判定閾値に至らずに窓開と誤検出してしまう恐れがあり、品質が安定しないという問題がある。 For this reason, even if an optimum determination threshold is set based on the design parameters, depending on the combination of the magnet and the Hall sensor, the magnetic force level may not reach the determination threshold when the window is closed, and may be erroneously detected as a window open. There is a problem that the quality is not stable.
また、磁石式の窓開閉検出装置を良く知っている侵入者にあっては、窓を開いても窓開閉検出装置が窓開を検出できないようにするため、外部から強力な磁石を近づけた状態で窓を不正に開けることが予想され、このような悪戯に対してもホールセンサで検出した磁力レベルから窓開と看做して検出することが必要となる。 In addition, intruders who are familiar with magnet-type window opening / closing detection devices have a strong magnet approached from the outside to prevent the window opening / closing detection device from detecting window opening even if the window is opened. It is expected that the window will be illegally opened, and it is necessary to detect such mischief as a window opening from the magnetic force level detected by the Hall sensor.
本発明は、磁気感知素子とマグネットの組合せに応じて適切な磁力レベルを初期登録すると共に、窓開閉の検出と同時に強力な磁石を使用した悪戯による不正行為についても確実に検出可能とする窓開閉検出装置を提供することを目的とする。
The present invention initially registers an appropriate magnetic force level according to the combination of the magnetic sensing element and the magnet, and at the same time detects the opening and closing of the window, so that it is possible to reliably detect fraud by mischief using a powerful magnet. An object is to provide a detection device.
本発明は窓開閉検出装置において、
装置内部に配置され監視対象物側に配置したマグネットによる磁力レベルを検出する磁気検知素子と、
窓の閉鎖状態に対応した前記マグネットによる磁気レベルを検出して初期登録し、初期登録した磁気レベルより所定割合低い第1判定閾値と、磁力レベルより所定割合高い第2判定閾値を登録する登録処理部と、
磁気感知素子で検出した磁力レベルと第1判定閾値以下及び第2判定閾値とを比較して監視対象物の状態を判定する窓開閉判定部と、
を備えたことを特徴とする。
The present invention is a window opening and closing detection device,
A magnetic sensing element for detecting a magnetic force level by a magnet arranged inside the apparatus and arranged on the monitoring object side;
Registration processing for detecting a magnetic level by the magnet corresponding to the closed state of the window and performing initial registration, and registering a first determination threshold value lower than the initially registered magnetic level by a predetermined rate and a second determination threshold value higher than the magnetic force level by a predetermined rate And
A window open / close determination unit that compares the magnetic force level detected by the magnetic sensing element with the first determination threshold or less and the second determination threshold to determine the state of the monitored object;
It is provided with.
ここで、登録処理部は、磁気感知素子の磁力レベルの極性を判定し、判定した極性に対応した第1判定閾値を登録すると共に、両極性に対応した第2判定閾値を登録し、
窓開閉判定部は、磁気感知素子で検出した磁力レベルの極性を判定し、
プラス極性を判定した場合は、プラス極性の第1判定閾値と第2判定閾値を選択し、前回が閉判定の場合は、磁力レベルが第1判定閾値以下又は第2判定閾値以上の場合に窓開を判定し、前回が開判定の場合は、磁力レベルが第1判定閾値を越えて第2判定閾値未満の場合に窓閉を判定し、
マイナス極性を判定した場合は、マイナス極性の第1閾値と第2閾値を選択し、前回が閉判定の場合は、磁力レベルが第1閾値以上又は第2閾値以下の場合に窓開を判定し、前回が開判定の場合は、磁力レベルが第1閾値未満でプラス側第2閾値より大きい場合に窓閉を判定する。
Here, the registration processing unit determines the polarity of the magnetic force level of the magnetic sensing element, registers the first determination threshold corresponding to the determined polarity, and registers the second determination threshold corresponding to both polarities,
The window opening / closing determination unit determines the polarity of the magnetic force level detected by the magnetic sensing element,
When the positive polarity is determined, the first determination threshold value and the second determination threshold value of the positive polarity are selected. When opening is determined and the previous time is an opening determination, a window closing is determined when the magnetic force level exceeds the first determination threshold and is less than the second determination threshold,
When the negative polarity is determined, the first and second threshold values of the negative polarity are selected, and when the previous determination is the closing determination, the window opening is determined when the magnetic force level is equal to or higher than the first threshold value or equal to or lower than the second threshold value. When the previous determination is an open determination, the window closing is determined when the magnetic force level is less than the first threshold and greater than the positive second threshold.
登録処理部は、所定の測定環境で所定距離に配置した実際に組み合わせて使用するマグネットによる磁力レベルを検出して不揮発メモリに初期登録する。 The registration processing unit detects a magnetic force level by a magnet actually used in combination arranged at a predetermined distance in a predetermined measurement environment, and performs initial registration in the nonvolatile memory.
磁気検知素子は磁力の方向に応じてプラス極性又はマイナス極性の信号を出力するホールセンサである。
The magnetic detection element is a Hall sensor that outputs a signal of positive polarity or negative polarity according to the direction of magnetic force.
本発明によれば、窓の閉鎖状態に対応した位置のマグネットによる磁気レベルを検出して初期登録し、窓の開閉を判定する初期登録した磁気レベルより所定割合低い第1判定閾値に加え、外部から強力が磁石を近づけて第1判定閾値による窓開閉を判定不能とするような悪戯などによる極端に強い磁力レベルを判定する初期登録した磁力レベルより所定割合高い第2判定閾値を登録することにより、強力な磁石を使用した悪戯などの不正行為を窓開放と看做して確実に検出することができる。 According to the present invention, the magnetic level by the magnet at the position corresponding to the closed state of the window is detected and initially registered, and in addition to the first determination threshold value lower than the initially registered magnetic level for determining opening / closing of the window, By registering a second determination threshold value that is higher by a predetermined percentage than the initially registered magnetic force level for determining an extremely strong magnetic force level due to mischief that makes it impossible to determine the opening and closing of the window by the first determination threshold value due to the closeness of the magnet It is possible to reliably detect misconduct such as mischief using a powerful magnet as window opening.
また、ホールセンサは磁気の方向に応じてプラス極性とマイナス極性の検出信号を出力し、悪戯により磁石を近づけたときの磁気の方法はランダムで定まらないが、いずれの方向から極端に強い磁力が加わっても、極性を判別し、判別した極性の第2判定閾値とホールセンサで検出した磁力レベルを比較しているため、悪戯により加わる磁気の方向の如何に関らず、確実に悪戯による強い磁力が加わった状態を判定して警報させることができる。 The Hall sensor outputs positive and negative detection signals according to the direction of magnetism, and the magnetic method when the magnet is brought closer by mischief is not determined randomly, but extremely strong magnetic force is generated from either direction. Even if it is added, the polarity is discriminated, and the second determination threshold value of the discriminated polarity is compared with the magnetic force level detected by the Hall sensor, so it is surely strong by mischief regardless of the direction of magnetism applied by mischief. The state where the magnetic force is applied can be determined and alarmed.
また、製造最終段階となる検査工程などにおいて、実際に組み合わせて使用するマグネットを、窓閉を検出するための所定距離に配置した状態で磁気感知素子としてのホールセンサで磁力レベルを検出して初期登録し、初期登録した磁力レベルから判定閾値を求めることで、実際に使用するホールセンサ及びマグネットに対応した正しい磁力レベルが得られ、窓開閉を判定するための判定閾値を適正に設定し、誤検出のない品質の安定した装置が得られ、窓監視の信頼性を高めることができる。 Also, in the inspection process, which is the final stage of manufacturing, the magnetic level is detected by the Hall sensor as the magnetic sensing element in the state where the magnet actually used in combination is arranged at a predetermined distance for detecting the window closing. By registering and obtaining the judgment threshold value from the initially registered magnetic force level, the correct magnetic force level corresponding to the Hall sensor and magnet actually used can be obtained, and the judgment threshold value for judging the opening / closing of the window is set appropriately. A stable device with no detection can be obtained, and the reliability of window monitoring can be improved.
また、ホールセンサの出力特性にばらつきがあり、同時に、マグネットにばらつきがあっても、それぞれ実際に使用するホールセンサとマグネットの組合せから窓閉状態での磁力レベルを検出して初期登録しているため、ホールセンサやマグネットの製造上のぱらつきを吸収して適切な磁力レベルの初期登録と判定閾値の設定ができる。
In addition, the Hall sensor output characteristics vary, and at the same time, even if the magnets vary, the magnetic force level in the closed state of the window is detected from the combination of the actually used Hall sensor and magnet, and the initial registration is performed. Therefore, it is possible to absorb the fluctuation in manufacturing the hall sensor and the magnet and to perform initial registration of an appropriate magnetic force level and setting of a determination threshold value.
図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 /
窓開閉検出装置10の上側には、窓サッシ12a,12bを閉じた状態で、相対する位置に窓開閉検出マグネット14を両面テープで貼り付けており、窓開閉検出マグネット14からの磁力を内蔵した磁気感知素子としてホールセンサにより検出している。
On the upper side of the window opening /
窓サッシ12a,12bを開くと、窓開閉検出マグネット14が窓開閉検出装置10から離れることで磁力が低下し、この磁力の低下をホールセンサで検出して窓開を示す検出信号を別途設置された監視装置に無線で送信して警報させる。
When the window sash 12a, 12b is opened, the magnetic force is reduced by the window opening /
また窓開閉検出装置10はその下端を窓サッシ12a,12bに設けている監視対象物としてのクレセント錠16に近接するように配置し、クレセント錠16の開閉レバー18に貼り付けたクレセント錠検出マグネット20の磁力を下端側に内蔵した別のホールセンサで検出している。
The window opening /
クレセント錠16は開閉レバー18を図示の垂直方向に回した操作位置で窓サッシ12a,12bを施錠しており、このときクレセント錠検出マグネット20は窓開閉検出装置10に最も近接してホールセンサで検出する磁力が最大となり、施錠状態を検出している。
The crescent lock 16 locks the
開閉レバー18を下側に回してクレセント錠16を開錠すると、クレセント錠検出マグネット20が離れることで磁力が低下し、この磁力の低下をホールセンサで検出して解錠状態を示す検出信号を監視装置に無線送信して警報させる。
When the crescent lock 16 is unlocked by turning the opening /
図2は本発明による窓開閉検出装置の実施形態を示した組立分解図である。図2において、本実施形態の窓開閉検出装置10は装置本体22とカバー部材24で構成される。
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 /
装置本体22は、底部側から、ベース30、金属製のプレートロックカバー32、ボディケース36、アンテナ40を備えた回路基板38及び本体カバー42を組み立てており、更に電池44が着脱自在に設けられる。カバー部材24のクレセント錠側に位置する端部には、円錐状の集磁体26がホルダー部材28に組み込み固定された状態で収納される。
The apparatus
回路基板38の上部側にはセンサ基板45が起立され、ここに窓開閉検出用ホールセンサ46を配置している。また回路基板38の下端にはクレセント錠検出用ホール素子48が設置されている。
A
図3は本実施形態による窓開閉検出装置10について、カバー部材24を装置本体22から外した状態を示した説明図である。装置本体22の上部には、赤と緑の2色LEDを用いた表示部56、施錠検出用ホールセンサ48で検出した磁力を判定するための閾値の登録処理を実行させる登録スイッチ60、カバー部材24の開閉を検出するタンパスイッチ64が設けられている。装置本体22はカバー部材24の嵌め込みを受けて嵌合固定する。
FIG. 3 is an explanatory view showing a state where the
また装置本体22の上部中央には4つの端子ピン穴を備えたシリアルポート55が設けられ、ここに外部のパーソナルコンピュータを接続することで、内蔵したプロセッサとの間でプログラムやデータなどを転送可能としている。
In addition, a serial port 55 having four terminal pin holes is provided at the center of the upper part of the apparatus
カバー部材24は装置本体22に対し着脱自在であり、正面中央に表示窓56aを設け、装置本体22の表示部56の表示状態が見えるようにしている。
The
図4は図1の設置状態におけるホールセンサとマグネットの関係を示した説明図であり、図4(A)に平面を示し、図4(B)に横方向から見た状態を示している。 FIG. 4 is an explanatory diagram showing the relationship between the hall sensor and the magnet in the installed state of FIG. 1, in which FIG. 4 (A) shows a plan view, and FIG. 4 (B) shows a state seen from the lateral direction.
図4(A)に示すように、本実施形態の窓開閉検出装置10は内側に位置する窓サッシ12aの縦枠に両面テープ又はビスにより取り付けられ、窓開閉検出装置10の右側面に相対して窓サッシ12bのガラス面に窓開閉検出マグネット14を両面テープで接着している。
As shown in FIG. 4 (A), the window opening /
窓開閉検出装置10に内蔵した窓開閉検出用ホールセンサ46は、図4(B)に示すように、窓開閉検出マグネット14に有効検出面を相対するようにセンサ基板45に実装しており、窓サッシ12a,12bを閉じた図示の状態で、装置側面からの距離dは最小となり、窓開閉検出マグネット14は破線で示す磁力線の方向に応じて例えばプラス極性で最大となる磁気レベルの検出信号を出力している。
As shown in FIG. 4B, the window opening / closing
窓閉における最小距離dは、窓サッシの構造や窓開閉検出装置10の取り付け状態により変化するが、本実施形態にあっては、規定範囲内の距離に配置されたときの磁力レベルに対し窓閉の判定結果が効率よく得られるように、アンプ52による増幅率や判定閾値を設定している。
The minimum distance d when the window is closed varies depending on the structure of the window sash and the attachment state of the window opening /
この判定閾値の設定は、製造工程の最終段階となる検査工程あるいは設置後の初期登録作業において、所定の距離に実際に組み合わせて使用する窓開閉検出マグネット14を配置した測定環境を使用した磁力レベルの登録処理を通じて行われ、この詳細は後の説明で明らかにする。
This determination threshold value is set by a magnetic force level using a measurement environment in which a window opening /
図5は、図1に対し窓の開閉が逆になった設置状態におけるホールセンサとマグネットの関係を示した説明図である。この場合には図5(A)に示すように、窓サッシ12bが内側となり、その縦枠に図4とは反対向きに窓開閉検出装置10が設置される。
FIG. 5 is an explanatory diagram showing the relationship between the Hall sensor and the magnet in the installed state in which the opening and closing of the window is reversed with respect to FIG. In this case, as shown in FIG. 5A, the
このため図5(B)の横方向から見た状態では、窓サッシ12aのガラス面に貼り付けた窓開閉検出マグネット14による破線で示す磁力線は窓開閉検出用ホール素子46を左から右に通過し、図4(B)の場合とは逆方向となるため、窓開閉検出用ホールセンサ46からはマイナスとなる逆極性の磁力レベル検出信号が出力される。
For this reason, in the state seen from the horizontal direction of FIG. 5B, the magnetic field lines indicated by the broken lines by the window opening /
本実施形態にあっては、図4及び図5のマグネットを左右に配置した両方について窓の開閉を判定できるように、製造段階での登録処理により磁力レベルの測定に基づく判定閾値が設定される。 In the present embodiment, a determination threshold based on the measurement of the magnetic force level is set by the registration process at the manufacturing stage so that the opening / closing of the window can be determined for both the magnets of FIGS. 4 and 5 arranged on the left and right. .
更に本実施形態にあっては、悪戯などにより窓開閉検出装置が動作しないように強力な磁石を近づける不正行為に対し、これを窓開と看做して判定する判定閾値が設定される。 Further, in the present embodiment, a determination threshold value is set for judging an illegal act of bringing a strong magnet closer so that the window opening / closing detection device does not operate due to mischief or the like.
図6は本実施形態による窓開閉検出装置の回路構成を示したブロック図である。図6において、制御部として設けられたプロセッサ50はワンチップマイコンとして知られたコンピュータであり、1チップにCPU、ROM,RAM、AD変換ポート、各種の入出力ポートなどを備えており、本実施形態ではEEPROMなどの不揮発メモリ68を外付けしている。
FIG. 6 is a block diagram showing a circuit configuration of the window opening / closing detection apparatus according to the present embodiment. In FIG. 6, a
窓開閉検出用ホールセンサ46で検出した窓ガラスに設けた窓開閉検出マグネット14による磁力レベル検出信号は、増幅回路52で増幅された後にAD変換ポート70に与えられ、デジタル変換した磁力レベル(AD変換値)をプロセッサ50に取り込み、例えば8ビットのAD変換データに変換される。
The magnetic force level detection signal detected by the window opening / closing
また、施錠検出用ホールセンサ48で検出したクレセント錠16の開閉レバー18に設けたクレセント錠検出マグネット20による磁力レベル検出信号も増幅回路54で増幅された後にAD変換ポート72に与えられ、デジタル変換した磁力レベル(AD変換値)をプロセッサ50に取り込み、同じく8ビットのAD変換データに変換される。
Further, a magnetic force level detection signal detected by the lock
プロセッサ50に対しては、表示部56、周波数切替スイッチ58、登録スイッチ60、テストスイッチ62、タンパスイッチ64、及び無線送信部66が設けられている。
A display unit 56, a frequency switch 58, a
表示部56は赤色LED56aと緑色LED56bの2色LEDを設けており、例えば窓開や解錠などの異常検出で赤色LED56aを点灯し、その後の正常復帰で緑色LED56bを点灯する。周波数切替スイッチ58は無線送信部66について予め準備された複数の使用可能チャネルのいずれか1つを選択する。
The display unit 56 is provided with a two-color LED of a red LED 56a and a green LED 56b. For example, the red LED 56a is turned on when abnormality is detected such as opening of a window or unlocking, and then the green LED 56b is turned on when the normal operation is restored. The frequency switch 58 selects any one of a plurality of usable channels prepared in advance for the
登録スイッチ60は本実施形態の使用開始時に行う施錠登録モードの設定に使用される。テストスイッチ62はリードスイッチが使用されており、テスト用のマグネットを近づけるとテストスイッチ62が動作してテスト用電文を無線送信部66から監視装置に送信させる。タンパスイッチ64はカバー部材24の着脱を検出するスイッチである。
The
無線送信部66には送信回路が設けられ、監視状態を監視盤に対して無線通信を行う。
The
不揮発メモリ68は装置の窓開閉検出用ホールセンサ46から取得した磁力レベルVsと、磁力レベルVsに基づいて求めた窓開閉検出の第1判定閾値TH1と、悪戯などによる強い磁石を近づけたときの磁力を検出する第2判定閾値TH2が記憶されている。
The
プロセッサ50にはCPUによるプログラムの実行により実現される機能として、窓開閉登録処理部74、施錠登録処理部76、窓開閉監視部78、施錠監視部80及び通信制御部82が設けられている。
The
窓開閉登録処理部74は、所定距離離して配置した実際に組み合わせて使用する窓開閉検出マグネット14による磁力レベルVsを検出して不揮発メモリ68に初期登録し、初期登録した磁力レベルVsに対し所定の比率だけ低いレベルを窓開閉の第1判定閾値TH1として不揮発メモリ68に登録する。
The window opening / closing registration processing unit 74 detects a magnetic force level Vs by the window opening /
更に、初期登録した磁力レベルVsに対し通常監視ではあり得ない所定の比率だけ高いレベルを悪戯により近づけられた強い磁石の磁力を判定する第2判定閾値TH2として不揮発メモリ68に登録する。この窓開閉登録処理の詳細は後の説明で明らかにする。
Further, a level that is higher than the initially registered magnetic force level Vs by a predetermined ratio that cannot be monitored normally is registered in the
施錠登録処理部76は、図1のように、窓開閉検出装置10、窓開閉検出マグネット14及びクレセント錠検出マグネット20の取り付け配置が完了した後、クレセント錠16の開閉レバー18を解錠位置に操作した状態とし、この状態で図3に示したようにカバー部材24を外して装置本体22の登録スイッチ60を操作すると、所定期間の登録モードが設定され、登録処理が実行される。
As shown in FIG. 1, the lock
登録モードが開始されると表示部56の赤色LED56aが点滅を始める。赤色LED56aが点滅している間カバー部材24を装置本体22に装着し、クレセント錠16の開閉レバー18を施錠位置に操作してクレセント錠検出マグネット20を近づけた状態とする。
When the registration mode is started, the red LED 56a of the display unit 56 starts blinking. While the red LED 56a is blinking, the
施錠登録処理部74は登録モードの動作中は、所定周期で施錠検出用ホールセンサ48で検出した磁力レベルを取得し、予め設定した所定の有効レベルと比較し、有効レベルである場合には、不揮発メモリ68に磁力レベルとして記憶する。
During the operation of the registration mode, the lock registration processing unit 74 acquires the magnetic force level detected by the lock
なお、磁力レベルの初期登録は、磁力レベルの取り込みを複数回行い、所定回数連続して有効レベルを超えた場合に、最後に得られた磁力レベルを不揮発メモリ68に初期登録する。
The initial registration of the magnetic force level is performed a plurality of times, and when the effective level is exceeded for a predetermined number of times, the last obtained magnetic force level is initially registered in the
不揮発メモリ68に磁力レベルが有効に初期登録されると、表示部56の緑色LED56bが点灯し、初期登録完了を知らせる。初期登録が完了すると、登録処理部74は、初期登録した磁力レベルに対し所定比率低い値を算出し、クレセント錠の施錠解錠を判断する判定閾値として不揮発メモリ68に登録し、施錠監視部78によるクレセント錠の施錠監視を開始させる。
When the magnetic force level is effectively initially registered in the
一方、登録スイッチ60の操作により登録モードを設定している所定時間以内に、カバー部材24を閉じてクレセント錠16の開閉レバー18を施錠位置に戻す操作を行わなかった場合には、有効レベルの磁力レベルが得られないために、磁力レベルの初期登録か完了せず、登録モードを設定している所定時間以内を経過したときに、赤色LED56aが点滅から点灯に切り替わり、初期登録の失敗を表示し、登録処理のエラー状態をセットすると共に、施錠監視処理部78によるクレセント錠の施錠監視を解除する。
On the other hand, if the
この場合には、開閉レバー18を解錠位置に戻し、カバー部材24を開いて登録スイッチ60を操作することで、再度、磁力レベルの初期登録を行うことができる。
In this case, the initial registration of the magnetic force level can be performed again by returning the opening / closing
窓開閉監視部78は窓開閉検出用ホールセンサ46から得られた磁力レベルを不揮発メモリ68から読み出した第1判定閾値TH1と比較し、窓の開又は閉を判定し、判定結果を示す電文を無線送信部66から監視盤に送信して警報又は警報解除を行わせる。
The window opening /
また、窓開閉監視部78は外部から強力な磁石を近づけることで磁力レベルが閾値以下としないようにして窓をあけるような所謂不正行為に対処するため、窓開閉検出用ホールセンサ46から得られた磁力レベルを不揮発メモリ68から読み出した第2判定閾値TH2と比較し、磁力レベルが第2判定閾値TH2を超えた時にも不正により窓開と見做して窓開を示す電文を送信する。
なお、施錠及び解錠時の磁力レベルに基づき通常使用状態の磁力レベルの適正範囲を設定し、磁力レベルが適正範囲から上下に外れた場合には不正行為が発生したと判定するようにしても良い。つまり、適正使用範囲の上限値を施錠時の磁力レベルよりも所定比率分高い値に設定し、下限値を解錠時の零点レベルよりも所定比率小さい値に設定して、適正範囲内に磁力レベルがあるかを検出して不正行為を判定するようにしてもよい。これはクレセント錠の磁力レベルの測定や窓開閉検出の磁力レベルの測定のいずれにおいても適用できる。
Further, the window opening /
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.
施錠監視部80は施錠検出用ホールセンサ48から得られた磁力レベルを施錠登録処理部76により設定した閾値と比較し、閾値以下となった場合にクレセント錠の解錠と判断して解錠を示す電文を無線送信部66から監視装置に送信して警報させる。また、施錠監視部80は、解錠を検出した後に、正常に戻った場合にも、その旨の電文を監視装置に無線送信する。
The lock monitoring unit 80 compares the magnetic force level obtained from the lock
通信制御部82は窓開閉監視部78及び施錠監視部80の判断に基づく電文の送信に加え、一定時間間隔ごとに定期通報の電文を送信させる。
In addition to the transmission of a message based on the judgments of the window opening /
図7は、製造時の検査工程などの測定環境で行われる窓開閉監視の磁力レベルの初期登録におけるマグネットとホールセンサの配置を示した説明図である。 FIG. 7 is an explanatory diagram showing the arrangement of magnets and hall sensors in the initial registration of the magnetic force level for window opening / closing monitoring performed in a measurement environment such as an inspection process during manufacturing.
図7において、組立が完了した窓開閉検出装置10を測定環境に配置し、例えば図4のような現場設置を予定していたとすると、窓開閉検出装置10に内蔵した窓開閉検出用ホールセンサ46の有効検出面に相対するように、装置左側面に対しd=20mm離して実際に使用する窓開閉検出マグネット14を配置する。
In FIG. 7, if the window opening /
この場合、窓開閉検出マグネット14の高さ方向の位置は、図3に示したカバー部材24に形成しているマーカ24aにマグネット上端が合うように設置することで、マグネットの略中央に窓開閉検出用ホールセンサ46が位置する図7の位置関係が得られる。
In this case, the position of the window opening /
また、窓開閉検出装置10に対しては登録支援用のパーソナルコンピュータを例えばシリアルポート55に接続して窓開閉登録処理部74として機能するプログラムをダウンロードしておく。
For the window opening /
このような試験環境におけるセッティングが済んだならば、図3のように、カバー24を外した状態で登録スイッチ60をオン操作すると、赤色LED56aが点滅し、ダウンロードした窓開閉登録処理プログラムが起動して窓開閉登録モードを設定し、登録動作を開始する。なお、登録スイッチ50を操作したら、速やかにカバー部材24は装置本体に閉じる。
When the setting in the test environment is completed, as shown in FIG. 3, when the
この登録動作は、窓開閉検出用ホールセンサ46により検出された磁力レベルを取り込んで、予め設定した有効レベルであるか否か判定し、有効レベルである磁力レベルVsが得られたら、不揮発メモリ68に初期登録する。この初期登録が済むと緑LED56bが点灯し、初期登録完了を知らせる。
This registration operation takes in the magnetic force level detected by the window opening / closing
なお、磁力レベルの初期登録は、磁力レベルの取り込みを複数回行い、所定回数連続して有効レベルを超えた場合に、最後に得られた磁力レベルVsを不揮発メモリ68に初期登録する。
In the initial registration of the magnetic force level, the magnetic force level is taken in a plurality of times, and the magnetic force level Vs obtained last is initially registered in the
磁力レベルVsの初期登録が完了したら、これより所定の比率低いレベルを窓開閉検出の第1判定閾値TH1として算出して不揮発メモリ68に登録する。また初期登録した磁力レベルVsより所定比率高い通常監視状態では想定できない磁力レベルとなる第2判定閾値TH2を悪戯により加わる強い磁力を判定するために算出して不揮発メモリ68に登録する。
When the initial registration of the magnetic force level Vs is completed, a level lower than the predetermined ratio is calculated as the first determination threshold value TH1 for window opening / closing detection and registered in the
なお、窓開閉登録処理が完了したら、そのためにダウンロードした窓開閉登録処理プログラムは残しておいても良いが、不要であることから消去する。 When the window opening / closing registration processing is completed, the window opening / closing registration processing program downloaded for this purpose may be left, but is deleted because it is unnecessary.
また設置現場が図5のような場合には、装置の右側に窓開閉検出マグネット14を配置して同様な窓開閉登録処理を実行して磁力レベルVsの初期登録と第1及び第2判定閾値TH1,TH2の登録を行う。
When the installation site is as shown in FIG. 5, the window opening /
ただし、窓開閉検出マグネット14を左側に配置して磁力レベルを初期設定して判定閾値を求めた後に、実際の現場で逆の配置関係になったとしても、初期登録した磁力レベルにつき左右の相違によるレベル差はほんどなく、逆の配置であっても、改めて初期登録することなく、そのまま現場に設置して窓開閉を有効に監視することができる。
However, after the window opening /
図8は図6のAD変換ポート70による磁気レベル検出信号のAD変換特性を示したグラフ図である。図6に示した窓開閉検出用ホールセンサ46は磁力線の通過方向によりプラス極性の磁気レベル検出信号とマイナス極性の磁気レベル検出信号を出力する。
FIG. 8 is a graph showing the AD conversion characteristics of the magnetic level detection signal by the
窓開閉検出用ホールセンサ46からの磁気レベル検出信号は増幅回路52で増幅された後にAD変換ポート70により例えば8ビットの磁力レベルデータ(AD変換値)に変換される。
A magnetic level detection signal from the window opening / closing
このAD変換ポート70の変換特性は、図8の縦軸に示すように、10進AD変換値として0〜256の値を持ち、入力するプラス極性の磁気レベル検出信号0〜+VmaxをAD変換値128〜256に変換し、入力するマイナス極性の磁気レベル検出信号0〜−VmaxをAD変換値128〜0に変換する。
The conversion characteristics of the
図9は本実施形態における装置側面から窓開閉検出マグネット14までの距離dに対する窓開閉検出用ホールセンサ46で検出した磁力レベルの関係を示したグラフ図である。なお、実際のAD変換ポート70の変換特性は図8のようになるが、図9にあっては、説明を簡単にするため、磁化レベル検出信号の極性に関らず、AD変換値を0〜128として示している。
FIG. 9 is a graph showing the relationship of the magnetic force level detected by the window opening / closing
図9の特性は、例えば図7の設置状態で、装置側面から窓開閉検出マグネット14までの距離dをd=0〜24mmの範囲で変化させて測定した磁力レベルに対応したAD変換値を示している。
The characteristic of FIG. 9 shows the AD conversion value corresponding to the magnetic force level measured by changing the distance d from the device side surface to the window opening /
このような特性において、例えばd=20mmとなるマグネット配置を予定したとすると、このときのP点に対応した磁力レベルVsが求まる。続いて、磁力レベルVsに対し所定比率αだけ低い値を第1判定閾値TH1として設定し、更に、磁力レベルVsに対し所定比率高い値を第2判定閾値TH2として設定する。 In such characteristics, for example, if a magnet arrangement with d = 20 mm is planned, a magnetic force level Vs corresponding to the point P at this time is obtained. Subsequently, a value lower than the magnetic force level Vs by a predetermined ratio α is set as the first determination threshold value TH1, and a value higher than the magnetic force level Vs by a predetermined ratio is set as the second determination threshold value TH2.
図10は本実施形態における窓開閉検出用ホールセンサ46の出力とAD変換値に対する判定閾値の設定と窓開閉の判定結果を示した説明図である。
FIG. 10 is an explanatory view showing the setting of a determination threshold value for the output of the window opening / closing
図10(A)のホールセンサ出力と図10(B)のAD変換値は図8の変換特性に対応しており、図9でプラス極性の磁力レベルVsを初期登録したとすると、それより所定比率の低い値として第1判定閾値TH1が設定され、また不正処理判定の所定幅の高い値として第2判定閾値TH2が設定される。 The Hall sensor output in FIG. 10A and the AD conversion value in FIG. 10B correspond to the conversion characteristics in FIG. 8, and if a positive magnetic force level Vs is initially registered in FIG. The first determination threshold value TH1 is set as a value having a low ratio, and the second determination threshold value TH2 is set as a value having a high predetermined width for fraud determination.
更に、マイナス極性についての磁力レベル−Vsは初期登録されていないが、装置側面の左右に位置するマグネットの検出特性を対称特性と看做し、同じ値で極性の異なる磁力レベル−Vsを想定し、マイナス側の第2判定閾値−TH2を設定している。 Further, although the magnetic level −Vs for the negative polarity is not initially registered, the detection characteristics of the magnets located on the left and right sides of the apparatus side are regarded as symmetrical characteristics, and the magnetic level −Vs having the same value but different polarity is assumed. The negative determination threshold value -TH2 is set.
また、初期登録された磁力レベルが−Vsであった場合には、同様に第1判定閾値−TH1と、第2判定閾値−TH2が設定され、更に、プラス側について対称特性を前提に、第2判定閾値TH2が設定される。 When the initially registered magnetic force level is -Vs, the first determination threshold value -TH1 and the second determination threshold value -TH2 are set in the same manner. 2 determination threshold TH2 is set.
このような第1判定閾値TH1,−TH1及び第2判定閾値TH2,−TH2の設定に対し、図10(C)の窓開閉検出特性は次のようになる。
(1)検出した磁力レベルがプラス極性の場合、第1判定閾値TH1以下又は第2判定閾値TH2以上で窓開と判定し、第1判定閾値TH1を超えて第2判定閾値TH2未満で窓閉と判定する。
(2)検出した磁力レベルがマイナス極性の場合、第1判定閾値−TH1以上又は第2判定閾値TH2以下で窓開と判定し、第1判定閾値−TH1未満で第2判定閾値−TH2を越えると窓閉と判定する。
For such setting of the first determination thresholds TH1, -TH1 and the second determination thresholds TH2, -TH2, the window opening / closing detection characteristics of FIG. 10C are as follows.
(1) When the detected magnetic force level is positive polarity, it is determined that the window is open when the threshold value is equal to or lower than the first determination threshold value TH1 or the second determination threshold value TH2, and the window is closed when the threshold value exceeds the first determination threshold value TH1 and is less than the second determination threshold value TH2. Is determined.
(2) When the detected magnetic force level is negative polarity, it is determined that the window is open when the first determination threshold value is greater than or equal to TH1 or less than or equal to the second determination threshold value TH2, and the second determination threshold value is less than TH1 and exceeds the second determination threshold value -TH2. It is determined that the window is closed.
ここで、検出した磁力レベルのプラスかマイナスかの極性判定は、AD変換値が128以上であればプラス極性、128未満であればマイナス極性と判定する。実際にはホールセンサの出力にはオフセットが含まれていることから、オフセット分を考慮して判定する。 Here, the polarity determination of whether the detected magnetic force level is positive or negative is determined as positive if the AD conversion value is 128 or more, and negative if it is less than 128. Actually, since the output of the Hall sensor includes an offset, the determination is made in consideration of the offset.
この初期登録した磁力レベルVs,−Vsと第1判定閾値TH1,−TH1及び第2判定閾値TH2,−TH2と窓開閉判定の関係は、図8にも合わせて示している。
図8のプラス側については、P点が初期登録した磁力レベルVsに対応し、その前後のQ点とR点が第1判定閾値TH1と第2判定閾値TH2に対応している。
The relationship between the initially registered magnetic force levels Vs, -Vs, the first determination thresholds TH1, -TH1, the second determination thresholds TH2, -TH2, and the window opening / closing determination is also shown in FIG.
On the plus side of FIG. 8, the point P corresponds to the initially registered magnetic force level Vs, and the points Q and R before and after that correspond to the first determination threshold TH1 and the second determination threshold TH2.
通常の窓開閉監視状態にあっては、窓の開閉に対し磁力レベル及びAD変換値はP点と零点との間で変化し、P点を越えていれば窓閉を判定しており、この状態でP点を下回ると窓開の判定となる。 In a normal window opening / closing monitoring state, the magnetic force level and AD conversion value change between the P point and the zero point with respect to the opening / closing of the window, and if it exceeds the P point, the window closing is determined. If it falls below point P in the state, it is determined that the window is open.
一方、悪戯などにより強力な磁石を近づけた場合には、例えばプラス方向の磁力であれば、R点を超えて増加し、この場合にも扉開を判定する。また、マイナス方向の磁力であれば、マイナス側に設定した第2判定閾値−TH2に対応したU点を越えて低下し、この場合にも扉開を判定する。 On the other hand, when a strong magnet is brought closer due to mischief or the like, for example, if the magnetic force is in the plus direction, it increases beyond the point R, and in this case also, the door opening is determined. On the other hand, if the magnetic force is in the negative direction, it drops beyond the point U corresponding to the second determination threshold value -TH2 set on the negative side.
図8のマイナス側についても、S点が初期登録した磁力レベル−Vsに対応し、その前後のT点とU点が第1判定閾値−TH1と第2判定閾値−TH2に対応している。 Also on the minus side of FIG. 8, the S point corresponds to the initially registered magnetic force level −Vs, and the T and U points before and after that correspond to the first determination threshold −TH1 and the second determination threshold −TH2.
図11は図6のプロセッサによる本実施形態の窓開閉登録処理を示したフローチャートである。 FIG. 11 is a flowchart showing the window opening / closing registration process of the present embodiment by the processor of FIG.
図11において、図7に示したような測定環境でのセッティングが済んだ状態で電池44の装着により電源が投入されると、ステップS1で初期化処理と自己診断処理が実行され、異常が無ければステップS2に進み、不揮発メモリ68に記憶されているデータを読み込む。
In FIG. 11, when the power is turned on by mounting the
続いてステップS3で窓開閉登録モードの有無を判別しており、例えば登録スイッチ60のオン操作による窓開閉登録モードの設定を判別すると、ステップS4に進んで赤色LED56aを点滅し、ステップS5で窓開閉検出用ホールセンサ46により検出している磁力レベルVsを読込み、ステップS6で有効レベル以上であることを判別すると、ステップS7に進んで磁力レベルVsを不揮発メモリ68に初期登録する。
Subsequently, the presence / absence of the window opening / closing registration mode is determined in step S3. For example, when the setting of the window opening / closing registration mode by turning on the
なお、ステップS5〜S7の実際の処理としては、磁力レベルの取り込みを複数回行い、所定回数連続して有効レベルを超えた場合に、最後に得られた磁力レベルVsを不揮発メモリ68に初期登録する。
As an actual process of steps S5 to S7, the magnetic force level is fetched a plurality of times, and when the effective level is exceeded continuously for a predetermined number of times, the finally obtained magnetic force level Vs is initially registered in the
続いてステップS8で初期登録した磁力レベルVsに対し所定比率低い値として窓開閉検出の第1判定閾値TH1を算出して不揮発メモリ68に登録する。更にステップS9で初期登録した磁力レベルVsに対し不正判定用の所定の高い値として悪戯検出の第2判定閾値TH2を算出して不揮発メモリ68に登録する。このとき第2判定閾値TH2は同時にマイナス側の−TH2も同時に登録する。
Subsequently, in step S8, the first determination threshold value TH1 for window opening / closing detection is calculated as a value lower by a predetermined ratio than the initially registered magnetic force level Vs and registered in the
このような一連の窓開閉登録処理が完了するとステップS10で緑色LED56bを点灯し、登録完了を知らせ、処理を終了する。 When such a series of window opening / closing registration processing is completed, the green LED 56b is turned on in step S10 to notify the completion of registration, and the processing ends.
図12は図6のプロセッサによる本実施形態の監視処理を示したフローチャートである。 FIG. 12 is a flowchart showing the monitoring process of this embodiment by the processor of FIG.
図12において、図4に示したような現場設置が済んだ状態で電池44の装着により電源が投入されると、ステップS11で初期化処理と自己診断処理が実行され、異常が無ければステップS12に進み、不揮発メモリ68に記憶されている窓開閉監視の磁力レベルVs及び第1及び第2判定閾値TH1,TH2を含むデータを読み込む。
In FIG. 12, when the power is turned on by mounting the
続いてステップS13に進み、施錠監視登録モードか否か判定し、カバー部材24を開いて登録スイッチ60をオン操作することによって施錠監視登録モードの設定が判別されると、ステップS14に進んで施錠検出用ホールセンサ48による磁力レベルの初期登録と、クレセント錠16の施錠と解錠を検出するための判定閾値の登録を含む施錠監視登録処理を実行する。
Subsequently, the process proceeds to step S13, where it is determined whether or not the lock monitoring registration mode is set. When the setting of the lock monitoring registration mode is determined by opening the
続いてステップS15で所定の監視周期への到達の有無を判定しており、監視周期への到達を判定するとステップS16に進んで電池44に対するローバッテリ監視処理を実行する。このとき電池電圧が規定電圧以下に低下していると、ローバッテリを示す電文を監視盤に無線送信して障害表示を行わせる。
Subsequently, in step S15, 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 S16 to execute a low battery monitoring process for the
次にステップS17で窓開閉監視処理を実行し、窓開又は窓閉を判定すると、その内容を示す電文を監視盤に送信する。更にステップS18で施錠監視処理を実行し、解錠又はその後の施錠を判定すると、その内容を示す電文を監視装置に送信する。続いてステップS19で定期通報時間経過かを判別し、経過を判別した場合にはステップS20に進み、定期通報電文を監視盤に送信する定期通報処理を行う。 Next, in step S17, 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 board. In step S18, the lock monitoring process is executed, and when unlocking or subsequent locking is determined, a message indicating the content is transmitted to the monitoring device. Subsequently, in step S19, it is determined whether or not the regular notification time has elapsed, and if it has been determined, the process proceeds to step S20 to perform regular notification processing for transmitting a regular notification message to the monitoring panel.
図13は図12のステップS17における窓開閉監視処理の詳細を示したフローチャートである。 FIG. 13 is a flowchart showing details of the window opening / closing monitoring process in step S17 of FIG.
図13において、まずステップS21で窓開閉検出用ホールセンサ46により検出された磁力レベルをAD変換値として取得し、ステップS22で零点レベル128±20との比較でプラス極性か否か判定する。プラス極性を判定するとステップS23に進み、前回が開判定であることを判別するとステップS24に進んで第1判定閾値THと比較する。磁力レベルが第1判定閾値TH以下であればステップS25に進んで開判定とし、ステップS26で判定結果を無線送信させる。
In FIG. 13, first, in step S21, the magnetic force level detected by the window opening / closing
ステップS24で磁力レベルが第1判定閾値TH1より大きいときはステップS27に進み第2判定閾値TH2と比較し、もし第2判定閾値TH2以上であった場合は、悪戯による強い磁石が近接された不正行為が行われている状況に対し窓開と看做し、ステップS25に進んで開判定を行い、ステップS26で判定結果を無線送信させる。 When the magnetic force level is larger than the first determination threshold value TH1 in step S24, the process proceeds to step S27 and compared with the second determination threshold value TH2. Considering the situation where the action is being performed as window opening, the process proceeds to step S25 to make an open determination, and the determination result is wirelessly transmitted in step S26.
ステップS23で前回が開判定であった場合には、ステップS28に進み、磁力レベルが第1判定閾値レベルTH1より大きく、第2判定閾値TH2より小さいときはステップS29に進んで閉判定を行い、ステップS30で判定結果を無線送信させる。 If the previous determination was an open determination in step S23, the process proceeds to step S28, and if the magnetic force level is greater than the first determination threshold level TH1 and less than the second determination threshold TH2, the process proceeds to step S29 to perform a close determination. In step S30, the determination result is wirelessly transmitted.
ステップS22で磁力レベルのマイナス極性を判別した場合は、ステップS31に進み、前回が開判定であることを判別するとステップS32に進んで第1判定閾値−THと比較する。磁力レベルが第1判定閾値−TH1以上であればステップS33に進んで開判定とし、ステップS34で判定結果を無線送信させる。 If the negative polarity of the magnetic force level is determined in step S22, the process proceeds to step S31. If it is determined that the previous determination is an open determination, the process proceeds to step S32 and is compared with the first determination threshold value -TH. If the magnetic force level is equal to or higher than the first determination threshold value -TH1, the process proceeds to step S33 to make an open determination, and the determination result is wirelessly transmitted in step S34.
ステップS32で磁力レベルが第1判定閾値−TH1より小さいときはステップS35に進んで第2判定閾値−TH2と比較し、もし第2判定閾値−TH2以下であった場合は、悪戯による強い磁石が近接された不正行為が行われている状況に対し窓開と看做し、ステップS33に進んで開判定を行い、ステップS34で判定結果を無線送信させる。 When the magnetic force level is smaller than the first determination threshold value -TH1 in step S32, the process proceeds to step S35 and is compared with the second determination threshold value -TH2. A situation where a fraudulent act in the vicinity is being performed is regarded as a window open, the process proceeds to step S33 to make an open determination, and the determination result is wirelessly transmitted in step S34.
ステップS31で前回が閉判定であった場合には、ステップS36に進み、磁力レベルが第1判定閾値レベル−TH1より小さく、第2判定閾値−TH2より大きいときはステップS37に進んで閉判定を行い、ステップS38で判定結果を無線送信させる。 If the previous determination was a close determination in step S31, the process proceeds to step S36, and if the magnetic force level is smaller than the first determination threshold level-TH1 and greater than the second determination threshold-TH2, the process proceeds to step S37 and the close determination is made. In step S38, the determination result is wirelessly transmitted.
なお、上記の実施形態にあっては、窓開閉登録処理を実行するプログラムを支援用のパーソナルコンピュータからダウンロードして実行しているが、プロセッサ50のROM又は外部接続した揮発メモリ68に予め記憶しておいて実行するようにしても良い。
In the above embodiment, a program for executing the window opening / closing registration process is downloaded from a personal computer for support and executed. However, the program is stored in advance in the ROM of the
また、窓開閉登録処理の別の手法として、窓開閉検出装置10に設けている増幅回路54の出力電圧を電圧測定器で測定した後にAD変換して磁力レベルVsを求め、これをライターを使用して不揮発メモリ68に判定閾値THと共に書き込むようにしても良い。
As another method of the window opening / closing registration process, the output voltage of the
また、上記の実施形態にあっては、ホールセンサのオフセットを含む磁力レベルVsを初期登録して判定閾値THを求めているが、ホールセンサのオフセットを測定して不揮発メモリに記憶しておき、初期登録した磁力レベルVsから判定閾値を算出する際に、磁力レベルからオフセットを差し引いて磁力レベル変化量を正確に求め、この変化量から所定比率低い値を求め、この値にオフセットを加算して判定閾値THとしても良い。 In the above embodiment, the determination threshold TH is obtained by initial registration of the magnetic force level Vs including the offset of the Hall sensor, but the offset of the Hall sensor is measured and stored in the nonvolatile memory. When calculating the determination threshold value from the initially registered magnetic force level Vs, the magnetic force level change amount is accurately obtained by subtracting the offset from the magnetic force level, a value lower by a predetermined ratio is obtained from this change amount, and the offset is added to this value. The determination threshold value TH may be used.
また、上記の実施形態にあっては、窓の開閉監視とクレセント錠の解錠監視の両方を行っているが、窓の開閉監視のみを行う窓開閉検出装置についても、そのまま適用できる。また、本発明は、クレセント錠の解錠監視側においても適用でき、閾値の登録処理は工場出荷時だけでなく、監視対象に設置後に行っても良い。 Further, in the above embodiment, both the opening / closing monitoring of the window and the unlocking monitoring of the crescent lock are performed, but the present invention can be applied as it is to a window opening / closing detection device that only monitors the opening / closing of the window. The present invention can also be applied to the unlocking monitoring side of the crescent lock, and the threshold value registration process may be performed not only at the time of factory shipment but also after installation on the monitoring target.
また、本発明はその目的と利点を損なうことの無い適宜の変形を含み、更に、上記の実施形態に示した数値による限定は受けない。
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:窓開閉検出マグネット
16:クレセント錠
18:開閉レバー
20:クレセント錠検出マグネット
22:装置本体
42:本体カバー
46:窓開閉検出用ホールセンサ
48:施錠検出用ホールセンサ
60:登録スイッチ
10: Window open / close detection device 14: Window open / close detection magnet 16: Crescent lock 18: Open / close lever 20: Crescent lock detection magnet 22: Device main body 42: Main body cover 46: Window sensor for detecting opening / closing of window 48:
Claims (4)
窓の閉鎖状態に対応した前記マグネットによる磁気レベルより所定割合低い第1判定閾値と、前記磁力レベルより所定割合高い第2判定閾値を登録する登録処理部と、
磁気感知素子で検出した磁力レベルと前記第1判定閾値以下及び前記第2判定閾値とを比較して監視対象物の状態を判定する窓開閉判定部と、
を備えたことを特徴とする窓開閉検出装置。
A magnetic sensing element for detecting a magnetic force level by a magnet arranged inside the apparatus and arranged on the monitoring object side;
A registration processing unit for registering a first determination threshold lower than a magnetic level by the magnet corresponding to a closed state of the window, and a second determination threshold higher than the magnetic level by a predetermined ratio;
A window open / close determining unit that compares the magnetic force level detected by the magnetic sensing element with the first determination threshold value or less and the second determination threshold value to determine the state of the monitoring object;
A window open / close detection device comprising:
前記登録処理部は、前記磁気感知素子の磁力レベルの極性を判定し、判定した極性に対応した前記第1判定閾値を登録すると共に、両極性に対応した第2判定閾値を登録し、
前記窓開閉判定部は、前記磁気感知素子で検出した磁力レベルの極性を判定し、
プラス極性を判定した場合は、プラス極性の第1判定閾値と第2判定閾値を選択し、前回が閉判定の場合は、磁力レベルが前記第1判定閾値以下又は第2判定閾値以上の場合に窓開を判定し、前回が開判定の場合は、磁力レベルが前記第1判定閾値を越えて第2判定閾値未満の場合に窓閉を判定し、
マイナス極性を判定した場合は、マイナス極性の第1閾値と第2閾値を選択し、前回が閉判定の場合は、磁力レベルが前記第1閾値以上又は前記第2閾値以下の場合に窓開を判定し、前回が開判定の場合は、磁力レベルが前記第1閾値未満で前記プラス側第2閾値より大きい場合に窓閉を判定することを特徴とする窓開閉検出装置。
In the window opening and closing detection device according to claim 1,
The registration processing unit determines the polarity of the magnetic force level of the magnetic sensing element, registers the first determination threshold corresponding to the determined polarity, and registers the second determination threshold corresponding to both polarities,
The window open / close determining unit determines the polarity of the magnetic force level detected by the magnetic sensing element,
When the positive polarity is determined, the first determination threshold and the second determination threshold of the positive polarity are selected. When the previous determination is the closing determination, when the magnetic force level is equal to or lower than the first determination threshold or equal to or higher than the second determination threshold. When opening is determined and the previous determination is an opening determination, a window closing is determined when the magnetic force level exceeds the first determination threshold and is less than the second determination threshold,
When the negative polarity is determined, the first threshold value and the second threshold value of the negative polarity are selected, and when the previous determination is a close determination, the window is opened when the magnetic force level is equal to or higher than the first threshold value or equal to or lower than the second threshold value. And determining whether the window is closed when the magnetic force level is less than the first threshold value and greater than the plus-side second threshold value.
2. The window opening / closing detection apparatus according to claim 1, wherein the registration processing unit detects a magnetic force level by a magnet actually used in combination arranged at a predetermined distance in a predetermined measurement environment, and initially registers it in a nonvolatile memory. A window opening / closing detection device characterized by the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008305790A JP2010129010A (en) | 2008-11-30 | 2008-11-30 | Window opening/closing detecting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008305790A JP2010129010A (en) | 2008-11-30 | 2008-11-30 | Window opening/closing detecting device |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013154345A Division JP2013257890A (en) | 2013-07-25 | 2013-07-25 | Window opening/closing detection device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010129010A true JP2010129010A (en) | 2010-06-10 |
Family
ID=42329325
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008305790A Pending JP2010129010A (en) | 2008-11-30 | 2008-11-30 | Window opening/closing detecting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010129010A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014026601A (en) * | 2012-07-30 | 2014-02-06 | Panasonic Corp | Crescent lock unlocking sensor |
| JP2015221661A (en) * | 2014-04-28 | 2015-12-10 | 株式会社ユーシン | Electric steering lock device |
| CN105210124A (en) * | 2013-03-12 | 2015-12-30 | 消防和安全硬件私人有限公司 | position monitoring device |
| WO2017117397A3 (en) * | 2015-12-31 | 2017-08-31 | Robert Bosch Gmbh | Door/window magnetic sensing device and method of installing |
| CN113496580A (en) * | 2020-04-07 | 2021-10-12 | 深圳爱根斯通科技有限公司 | Method and device for setting door and window sensor, electronic equipment and storage medium |
| JP2023043168A (en) * | 2021-09-15 | 2023-03-28 | ティーイー コネクティビティ ジャーマニー ゲゼルシャフト ミット ベシュレンクテル ハフツンク | Electrical switching element with status indicator, and kit for such element |
| EP4407873A1 (en) * | 2023-01-25 | 2024-07-31 | SMC Corporation | Position detecting switch, actuator, and position detecting method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003281636A (en) * | 2002-03-26 | 2003-10-03 | Asahi Kasei Corp | Magnet sensor, magnet sensor system, alarm system and home security system |
| JP2007198722A (en) * | 2005-12-26 | 2007-08-09 | Asahi Kasei Homes Kk | Continuous ventilation system for building, and dwelling house provided therewith |
| JP2008123280A (en) * | 2006-11-13 | 2008-05-29 | Osaka Gas Co Ltd | Alarm device |
| JP2008288030A (en) * | 2007-05-17 | 2008-11-27 | Hochiki Corp | Open / close sensor |
-
2008
- 2008-11-30 JP JP2008305790A patent/JP2010129010A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003281636A (en) * | 2002-03-26 | 2003-10-03 | Asahi Kasei Corp | Magnet sensor, magnet sensor system, alarm system and home security system |
| JP2007198722A (en) * | 2005-12-26 | 2007-08-09 | Asahi Kasei Homes Kk | Continuous ventilation system for building, and dwelling house provided therewith |
| JP2008123280A (en) * | 2006-11-13 | 2008-05-29 | Osaka Gas Co Ltd | Alarm device |
| JP2008288030A (en) * | 2007-05-17 | 2008-11-27 | Hochiki Corp | Open / close sensor |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014026601A (en) * | 2012-07-30 | 2014-02-06 | Panasonic Corp | Crescent lock unlocking sensor |
| CN105210124A (en) * | 2013-03-12 | 2015-12-30 | 消防和安全硬件私人有限公司 | position monitoring device |
| EP2973466A4 (en) * | 2013-03-12 | 2016-11-09 | Fire & Security Hardware Pty Ltd | A position monitoring device |
| JP2015221661A (en) * | 2014-04-28 | 2015-12-10 | 株式会社ユーシン | Electric steering lock device |
| US10593170B2 (en) | 2015-12-31 | 2020-03-17 | Robert Bosch Gmbh | Door/window magnetic sensing device and method of installing |
| CN108475459A (en) * | 2015-12-31 | 2018-08-31 | 罗伯特·博世有限公司 | Door/window magnetic sensing device and installation method |
| WO2017117397A3 (en) * | 2015-12-31 | 2017-08-31 | Robert Bosch Gmbh | Door/window magnetic sensing device and method of installing |
| CN108475459B (en) * | 2015-12-31 | 2020-11-03 | 罗伯特·博世有限公司 | Door/window magnetic sensing apparatus and method of installation |
| CN113496580A (en) * | 2020-04-07 | 2021-10-12 | 深圳爱根斯通科技有限公司 | Method and device for setting door and window sensor, electronic equipment and storage medium |
| CN113496580B (en) * | 2020-04-07 | 2022-12-06 | 深圳爱根斯通科技有限公司 | Method and device for setting door and window sensor, electronic equipment and storage medium |
| JP2023043168A (en) * | 2021-09-15 | 2023-03-28 | ティーイー コネクティビティ ジャーマニー ゲゼルシャフト ミット ベシュレンクテル ハフツンク | Electrical switching element with status indicator, and kit for such element |
| JP7500917B2 (en) | 2021-09-15 | 2024-06-18 | ティーイー コネクティビティ ジャーマニー ゲゼルシャフト ミット ベシュレンクテル ハフツンク | Electrical switching element having a status indicator and kit for such element - Patents.com |
| US12437946B2 (en) | 2021-09-15 | 2025-10-07 | Te Connectivity Germany Gmbh | Electrical switching element with status indicator and kit for such an element |
| EP4407873A1 (en) * | 2023-01-25 | 2024-07-31 | SMC Corporation | Position detecting switch, actuator, and position detecting method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2010129010A (en) | Window opening/closing detecting device | |
| KR102600067B1 (en) | Wheel fastener alarm | |
| US7667600B2 (en) | Methods and apparatus for security device removal detection | |
| EP3398175B1 (en) | Door/window magnetic sensing device and method of installing | |
| US7598862B2 (en) | Methods and apparatus for security device coupling | |
| US7663483B2 (en) | Methods and apparatus for security device portal sensing | |
| JP5307607B2 (en) | Window open / close detection device | |
| JP2013257890A (en) | Window opening/closing detection device | |
| JP3936612B2 (en) | Magnet sensor, magnet sensor system, alarm system and home security system | |
| JP5479719B2 (en) | Window open / close detection device | |
| JP5284764B2 (en) | Window open / close detection device | |
| JP5284765B2 (en) | Open / close detection device | |
| JP2010129009A (en) | Window opening/closing detecting device | |
| US9624694B2 (en) | Tamper detection mechanism for electronic lock device | |
| JP2010129011A (en) | Window opening/closing detecting device | |
| JP5479718B2 (en) | Window open / close detection device | |
| JP5307606B2 (en) | Window open / close detection device | |
| JP2010250574A (en) | Displacement detection device and magnet device | |
| KR200322402Y1 (en) | Electronic Door Lock Having Self Test Function by Measuring Current | |
| JP5133859B2 (en) | Window open / close detection device | |
| JP2010250573A (en) | Monitoring system | |
| JP4368313B2 (en) | Magnetic detection type sensor | |
| JP5292074B2 (en) | Small transmitter | |
| JP4833393B2 (en) | Door lock device | |
| CA2670959A1 (en) | Methods and apparatus for security device removal detection |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Effective date: 20111117 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121023 |
|
| A977 | Report on retrieval |
Effective date: 20121024 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
| A521 | Written amendment |
Effective date: 20121221 Free format text: JAPANESE INTERMEDIATE CODE: A523 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130507 |