JP5307606B2 - Window open / close detection device - Google Patents
Window open / close detection device Download PDFInfo
- Publication number
- JP5307606B2 JP5307606B2 JP2009099637A JP2009099637A JP5307606B2 JP 5307606 B2 JP5307606 B2 JP 5307606B2 JP 2009099637 A JP2009099637 A JP 2009099637A JP 2009099637 A JP2009099637 A JP 2009099637A JP 5307606 B2 JP5307606 B2 JP 5307606B2
- Authority
- JP
- Japan
- Prior art keywords
- magnetic force
- gain
- window
- determination threshold
- 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
Links
- 238000001514 detection method Methods 0.000 title claims description 136
- 238000012544 monitoring process Methods 0.000 claims description 62
- 230000003321 amplification Effects 0.000 claims description 37
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 17
- 230000008859 change Effects 0.000 claims description 7
- 230000007423 decrease Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 description 39
- 230000008569 process Effects 0.000 description 39
- 238000006243 chemical reaction Methods 0.000 description 36
- 238000009434 installation Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 10
- 230000005856 abnormality Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000012806 monitoring device Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000005357 flat glass Substances 0.000 description 2
- 230000004907 flux Effects 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000005355 Hall effect Effects 0.000 description 1
- 235000014676 Phragmites communis Nutrition 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000002238 attenuated effect Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000005415 magnetization Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 238000004092 self-diagnosis Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Landscapes
- Burglar Alarm Systems (AREA)
- Switches That Are Operated By Magnetic Or Electric Fields (AREA)
Description
本発明は、窓の開閉状態を磁気検知素子を使用して検出する窓開閉検出装置に関する。
The present invention relates to a window opening / closing detection device that detects an opening / closing state of a window using a magnetic detection element.
従来、窓の開閉を検出して警報する窓開閉監視装置が知られている。このような窓開閉監視装置にあっては、窓ガラスに配置したマグネットの磁力を磁気感知素子で検出し、検出磁力が低下したときに窓開閉と判断して警報を行う。 2. Description of the Related Art Conventionally, a window opening / closing monitoring device that detects an opening / closing of a window and gives an alarm is known. In such a window open / close monitoring 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 is reduced, it is determined that the window is open / closed and an alarm is issued.
また窓に設けたクレセント錠の開閉レバーに配置したマグネットの磁力を別の磁気感知素子で検出し、検出磁力が低下したときにクレセント錠の開放と判断して異常を警報させる監視装置もある。 There is also a monitoring 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, thereby alarming an abnormality.
従来の窓開閉装置に使用される磁気感知素子は主に磁力の強弱に応じて接点を機械的にオン、オフするリードスイッチを使用していたが、近年にあっては、ホール効果を利用して磁力を検出するホールセンサが使用されている。 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.
ホールセンサを磁気感知素子として使用する場合、検出対象とするマグネットに近いほど強い磁力がホールセンサを通過することで高いセンサ出力が得られる。またホールセンサの検出信号は200〜300mVと微弱であることから、AD変換してプロセッサなどにより処理するため、増幅回路で増幅した信号を使用して窓の開閉を判断している。
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. Further, since the detection signal of the Hall sensor is as weak as 200 to 300 mV, it is determined whether the window is opened or closed using the signal amplified by the amplifier circuit in order to perform AD conversion and process it by a processor or the like.
しかしながら、マグネットの磁力をホールセンサで検出する場合、クレセント錠の開閉レバーの長さや形状は様々で、また窓開閉監視装置が取り付けられる窓枠の位置にも制限があり、開閉レバーや窓に設けたマグネットと装置に内蔵したホールセンサとの距離が一定せず、マグネットからの磁力は距離の2乗に減衰して減少する関係にあるため、設置場所により磁力レベルが飽和したり、極端に低下する場合があり、開閉レバーに設けたマグネットによる磁力レベルからクレセント錠の解錠と施錠を正確に判定できる距離範囲が大きく制約されるという問題がある。 However, when the magnetic force of the magnet is detected by a hall sensor, the length and shape of the open / close lever of the crescent lock vary, and the position of the window frame to which the window open / close monitoring device is attached is limited. The distance between the magnet and the Hall sensor built into the device is not constant, and the magnetic force from the magnet is attenuated to the square of the distance and decreases, so the magnetic force level may be saturated or extremely reduced depending on the installation location. There is a problem that the distance range in which the unlocking and locking of the crescent lock can be accurately determined from the magnetic force level by the magnet provided on the opening / closing lever is greatly restricted.
この問題を解決するためには、設置現場で距離に応じた適切な磁力レベルが得られるように、例えば増幅回路の利得を調整することが考えられるが、そのようなことは設置現場に各種の測定器を持ち込んで1台1台調整することを意味し、現実的な解決方法とはいえず、実現性はない。 In order to solve this problem, for example, it is conceivable to adjust the gain of the amplifier circuit so that an appropriate magnetic force level corresponding to the distance can be obtained at the installation site. This means that a measuring instrument is brought in and adjusted one by one, which is not a realistic solution and is not feasible.
本発明は、設置現場での簡単な操作によりマグネットまでの距離に応じた適正な磁力レベルの設定を可能とする窓開閉検出装置を提供することを目的とする。
An object of this invention is to provide the window opening / closing detection apparatus which enables the setting of the appropriate magnetic force level according to the distance to a magnet by simple operation in the installation field.
本発明は、監視対象に配置されたマグネットの磁気レベルの変化を検知して窓の状態を判定する窓開閉検出装置に於いて、
マグネットの磁気レベルを検出する磁気感知素子と、
磁気感知素子からの検出信号を複数の異なる利得から選択して増幅する増幅部と、
増幅部を高利得で増幅した出力信号から取得した磁力レベルが所定の遠近判定閾値以下の場合は高利得の増幅を選択し、磁力レベルが前記遠近判定閾値を超えている場合は選択した高利得よりも低利得を選択する遠近選択部と、
遠近選択部で選択された前記増幅部の利得で取得した磁力レベルから、所定比率の錠判定閾値を算出して登録する登録処理部と、
遠近選択部で選択された利得での増幅部から取得した磁気レベルと錠判定閾値との比較により解錠又は施錠を判定する施錠監視部と、
を備えたことを特徴とする。
The present invention relates to a window opening / closing detection device that determines a state of a window by detecting a change in a magnetic level of a magnet arranged in a monitoring target.
A magnetic sensing element for detecting the magnetic level of the magnet;
An amplifying unit that selects and amplifies a detection signal from the magnetic sensing element from a plurality of different gains;
When the magnetic force level obtained from the output signal obtained by amplifying the amplifying unit with high gain is equal to or lower than a predetermined perspective determination threshold, high gain amplification is selected, and when the magnetic force level exceeds the perspective determination threshold, the selected high gain is selected. A perspective selector that selects a lower gain than,
A registration processing unit for calculating and registering a lock determination threshold of a predetermined ratio from the magnetic force level acquired by the gain of the amplification unit selected by the perspective selection unit;
A lock monitoring unit for determining unlocking or locking by comparing the magnetic level acquired from the amplification unit with the gain selected by the perspective selection unit and the lock determination threshold;
It is provided with.
ここで、錠判定閾値は、遠近選択部で選択される増幅部の利得が低くなるほど少ない比率に基づき磁力レベルから算出する。 Here, the lock determination threshold value is calculated from the magnetic force level based on a smaller ratio as the gain of the amplification unit selected by the perspective selection unit becomes lower.
さらに算出した錠判定閾値が、窓開閉状態の監視に有効な磁力レベルにない場合には、有効な磁力レベルになるよう増幅部の利得を変更し、その利得における錠判定閾値を登録する。 Further, when the calculated lock determination threshold is not at a magnetic level effective for monitoring the window open / close state, the gain of the amplifying unit is changed so as to be an effective magnetic level, and the lock determination threshold at that gain is registered.
また、増幅回路は高利得増幅または低利得増幅を選択する利得選択部を備え、遠近選択部は、増幅回路の高利得の選択状態で得られた出力信号から取得した磁力レベルが所定の遠近判定閾値以下の場合は高利得を選択し、遠近判定閾値を越えている場合は低利得を選択するようにしても良い。 The amplifier circuit includes a gain selection unit that selects high gain amplification or low gain amplification, and the perspective selection unit determines whether the magnetic force level acquired from the output signal obtained in the high gain selection state of the amplifier circuit is a predetermined perspective. A high gain may be selected when the threshold is less than or equal to a threshold, and a low gain may be selected when the perspective determination threshold is exceeded.
登録処理部は、
高利得増幅の選択状態で磁力レベルを初期登録した場合は、磁力レベルより所定の第1比率分低いレベルを錠判定閾値として登録し、
低利得増幅の選択状態で磁力レベルを初期登録した場合は、磁力レベルより第1比率分より少ない第2比率分低いレベルを錠判定閾値として登録する。
The registration processor
When the magnetic force level is initially registered in the selected state of high gain amplification, a level lower than the magnetic force level by a predetermined first ratio is registered as a lock determination threshold value,
When the magnetic force level is initially registered in the low gain amplification selection state, a level lower than the magnetic force level by a second ratio that is lower than the first ratio is registered as a lock determination threshold value.
本発明によれば、設定時に高利得増幅により得られた磁気感知素子の検出信号から取得した磁力レベルを遠近判定閾値と比較し、磁力レベルが適正な範囲にあれば選択した高利得増幅を選択し、磁力レベルが高ければ低利得増幅を選択し、開閉レバーに配置したマグネットまでの距離に対応して適切な増幅利得が設定され、クレセント錠の解錠と施錠の判定を可能とする距離範囲を拡大することができる。 According to the present invention, the magnetic force level obtained from the detection signal of the magnetic sensing element obtained by high gain amplification at the time of setting is compared with the perspective determination threshold, and if the magnetic force level is within an appropriate range, the selected high gain amplification is selected. If the magnetic force level is high, low gain amplification is selected, and an appropriate amplification gain is set according to the distance to the magnet placed on the open / close lever, allowing the crescent lock to be unlocked and locked Can be enlarged.
また、マグネットまでの距離に対応して選択した適性な増幅利得により得られた磁力レベルを初期登録し、初期登録した磁力レベルに対し、遠近選択に対応して定めた異なる比率に基づき錠判定閾値を算出して登録することにより、異なる増幅利得による磁力レベルであっても、開閉レバーの操作による磁力レベルの変化に対し正確に窓の開閉状態やクレセントの解錠状態を判別することができる。
In addition, the magnetic force level obtained by the appropriate amplification gain selected corresponding to the distance to the magnet is initially registered, and the lock determination threshold is based on a different ratio determined corresponding to the perspective selection with respect to the initially registered magnetic force level. By calculating and registering, it is possible to accurately determine the open / close state of the window and the unlocked state of the crescent with respect to changes in the magnetic force level due to the operation of the opening / closing lever even at the magnetic force level due to different amplification gains.
図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 / closing lever 18 downward, the magnetic force is reduced by the separation of the crescent
図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 /
装置本体22は、ボディケース36内に回路基板38を組み立てている。
The apparatus
回路基板38の上部側にはセンサ基板45が起立され、ここに窓開閉検出用ホールセンサ46を配置している。また回路基板38の下端にはクレセント錠検出用ホールセンサ48が設置されている。
A
図3は図1の設置状態における窓開閉出用ホールセンサとマグネットの関係を示した説明図であり、図3(A)に平面を示し、図3(B)に横方向から見た状態を示している。 3 is an explanatory view showing the relationship between the hall sensor for opening and closing the window and the magnet in the installed state of FIG. 1, in which FIG. 3 (A) shows a plan view and FIG. 3 (B) shows the state seen from the lateral direction. Show.
図3(A)に示すように、本実施形態の窓開閉検出装置10は内側に位置する窓サッシ12aの縦枠に両面テープ又はビスにより取り付けられ、窓開閉検出装置10の右側面に相対して窓サッシ12bのガラス面に窓開閉検出マグネット14を両面テープで接着している。
As shown in FIG. 3 (A), the window opening /
窓開閉検出装置10に内蔵した窓開閉検出用ホールセンサ46は、図3(B)に示すように、窓開閉検出マグネット14に有効検出面を相対するようにセンサ基板45に実装しており、窓サッシ12a,12bを閉じた図示の状態で、装置側面からの距離dは最小となり、窓開閉検出マグネット14は破線で示す磁力線の方向に応じて例えばプラス極性で最大となる磁力レベルの検出信号を出力している。
As shown in FIG. 3B, 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を配置した測定環境を使用した磁力レベルの登録処理を通じて行われ、この詳細は後の説明で明らかにする。
The window determination threshold value for detecting the opening / closing of the window is measured by arranging a window opening /
なお、窓の構造によっては窓サッシ12bが内側となり、その縦枠に図3とは反対向きに窓開閉検出装置10が設置される場合もある。その場合は窓サッシ12aのガラス面に貼り付けた窓開閉検出マグネット14による磁力線は窓開閉検出用ホールセンサ46を左から右に通過して、図3(B)の場合とは逆方向となるため、窓開閉検出用ホールセンサ46からはマイナスとなる逆極性の磁力レベル検出信号が出力される。
Depending on the structure of the window, the
更に本実施形態にあっては、悪戯などにより窓開閉検出装置が動作しないように強力な磁石を近づける不正行為に対し、これを窓開と看做して判定する別の窓判定閾値が設定される。 Furthermore, in the present embodiment, another window determination threshold value is set for judging an illegal act of bringing a strong magnet closer so that the window open / close detection device does not operate due to mischief or the like, and this is regarded as opening the window. The
図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
窓開閉検出用ホールセンサ46で検出した窓ガラスに設けた窓開閉検出マグネット14による磁力レベル検出信号は、増幅回路52で増幅された後にAD変換ポート70に与えられ、デジタル変換した磁力レベル(AD変換値)をプロセッサ50に取り込まれる。
The magnetic force level detection signal detected by the window opening / closing
また、施錠検出用ホールセンサ48で検出したクレセント錠16の開閉レバー18に設けたクレセント錠検出マグネット20による磁力レベル検出信号は高利得増幅回路54−1と低利得増幅回路54−2で各々異なる利得で増幅された後にAD変換ポート72−1,72−2に与えられ、デジタル変換した磁力レベル(AD変換値)をプロセッサ50に取り込まれる。
The magnetic force level detection signal detected by the crescent
プロセッサ50に対しては、表示部56、登録スイッチ60及び無線送信部66が設けられている。
A
表示部56は赤色LED56aと緑色LED56bの2色LEDを設けており、例えば窓開や解錠などの異常検出で赤色LED56aを点灯し、その後の正常復帰で緑色LED56bを点灯して監視状態を表示する。
The
登録スイッチ60は本実施形態の窓開閉検出装置10の使用開始時に行う施錠登録モードの設定に使用される。
The
不揮発メモリ68には窓開閉検出用ホールセンサ46から取得した磁力レベルVs1と、磁力レベルVs1に基づいて求めた窓開閉検出の第1窓判定閾値TH1と、悪戯などによる強い磁石を近づけたときの磁力を検出する第2窓判定閾値TH2が記憶されている。
When the magnetic force level Vs1 obtained from the
また不揮発メモリ68には、窓開閉検出装置10を窓に設置した状態で行われるクレセント錠登録処理で施錠検出用ホールセンサ48から取得した磁力レベルVs2と、磁力レベルVs2に基づいて求めた錠開閉検出の錠判定閾値TH3が記憶されている。
The
プロセッサ50にはCPUによるプログラムの実行により実現される機能として、窓開閉登録処理部74、遠近選択部76、施錠登録処理部78、窓開閉監視部80、施錠監視部82及び通信制御部84が設けられている。
The
窓開閉登録処理部74は、登録モード時に、窓開閉検出装置10から所定距離離して配置した窓開閉検出マグネット14の磁力レベルVs1を窓開閉検出用ホールセンサで検出して不揮発メモリ68に初期登録し、初期登録した磁力レベルVs1に対し所定の比率だけ低いレベルを窓開閉の第1窓判定閾値TH1として不揮発メモリ68に登録する。
In the registration mode, the window opening / closing registration processing unit 74 detects the magnetic force level Vs1 of the window opening /
更に、初期登録した磁力レベルVs1に対し通常ではあり得ない所定の比率だけ高いレベルを算出し、悪戯や悪意により強い磁石が近づけられたと異常判定するための第2窓判定閾値TH2として不揮発メモリ68に登録する。
Further, a
遠近選択部76は、登録スイッチ60の操作により登録モードを設定したときに動作する。登録モードの設定は、図1のように、窓開閉検出装置10、窓開閉検出マグネット14及びクレセント錠検出マグネット20の取り付け配置が完了した後、クレセント錠16の開閉レバー18を解錠位置に操作した状態とし、この状態で登録スイッチ60を操作すると、登録モードが設定され、登録処理が実行される。
The
登録モードの設定で動作した遠近選択部76は、高利得増幅回路54−1の出力をAD変換ポート72−1で取り込んだ磁力レベルが所定の遠近判定閾値TH4以下の場合はAD変換ポート72−1から取り込みを選択し、磁力レベルが遠近判定閾値TH4を越えている場合は、高利得増幅回路では正常な開閉監視が不可能なことから利得の低い低利得増幅回路54−2の出力に対応したAD変換ポート72−2からの取り込みを選択する。
The
施錠登録処理部78は、図1のように、窓開閉検出装置10、窓開閉検出マグネット14及びクレセント錠検出マグネット20の取り付け配置が完了した後、クレセント錠16の開閉レバー18を解錠位置に操作した状態とし、この状態で登録スイッチ60を操作すると、所定期間の登録モードが設定され、登録処理が実行される。
As shown in FIG. 1, the lock registration processing unit 78 sets the open / close lever 18 of the crescent lock 16 to the unlocked position after the installation of the window open /
登録モードが開始されるとクレセント錠16の開閉レバー18を施錠位置に操作してクレセント錠検出マグネット20を近づけた状態とする。
When the registration mode is started, the open / close lever 18 of the crescent lock 16 is moved to the locked position to bring the crescent
施錠登録処理部74は登録モードの動作中は、所定周期で施錠検出用ホールセンサ48で検出した磁力レベルを取得し、予め設定した所定の有効レベルと比較し、有効レベルである場合には、不揮発メモリ68に磁力レベルVs2として記憶する。
登録処理部74は、初期登録した磁力レベルVs2に対し、その時、遠近選択部76で選択している増幅利得に応じて異なる所定比率低い値を算出し、クレセント錠の施錠解錠を判断する錠判定閾値TH3として不揮発メモリ68に登録し、施錠監視部78によるクレセント錠の施錠監視を開始させる。
During the operation of the registration mode, the lock registration processing unit 74 acquires the magnetic force level detected by the lock
The registration processing unit 74 calculates a value that is lower by a predetermined ratio depending on the amplification gain selected by the
錠判定閾値TH3の算出は、高利得増幅回路54−1を選択している場合は比率αを使用して
TH3=Vs2−α
を算出して設定し、また低利得増幅回路54−2を選択している場合は比率βを使用して
TH3=Vs2−β
を算出して設定する。
The lock determination threshold TH3 is calculated by using the ratio α when the high gain amplifier circuit 54-1 is selected, and TH3 = Vs2−α.
Is calculated and set, and when the low gain amplifier circuit 54-2 is selected, the ratio β is used to calculate TH3 = Vs2-β.
Is calculated and set.
窓開閉監視部80は窓開閉検出用ホールセンサ46から得られた磁力レベルを不揮発メモリ68から読み出した第1窓判定閾値TH1と比較し、窓の開又は閉を判定し、判定結果を示す電文を無線送信部66から監視盤に送信して警報又は警報解除を行わせる。
The window opening /
また、窓開閉監視部80は外部から強力な磁石を近づけることで磁力レベルが閾値以下としないようにして窓を開けるような所謂不正行為に対処するため、窓開閉検出用ホールセンサ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 appropriate 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 initial registration level at the time of unlocking, and within the appropriate range. You may make it determine fraud by detecting whether there is a magnetic force level. This can be applied to both the measurement of the magnetic level of the crescent lock side and 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
通信制御部84は窓開閉監視部80及び施錠監視部82の判断に基づく電文の送信に加え、一定時間間隔に定期通報の電文を送信させる。
In addition to the transmission of a message based on the judgments of the window opening /
図5は図4の施錠検出用ホールセンサの検出信号を増幅する増幅回路の実施形態を示した回路図である。図5において、施錠検出用ホールセンサ48は4つの抵抗rをブリッジ接続した等価回路で表すことができ、磁場に応じた抵抗rの変化により、磁場の強さに応じて直線的に変化する出力電圧が得られる。
FIG. 5 is a circuit diagram showing an embodiment of an amplifier circuit for amplifying the detection signal of the lock detection hall sensor of FIG. In FIG. 5, the lock
出力電圧の極性は施錠検出用ホールセンサ48を通過する磁力線の方向により、磁場の増加に対し出力電圧が増加するプラス極性の出力電圧と、磁場の増加に対し出力電圧が減少するマイナス極性の出力電圧となる。
The polarity of the output voltage depends on the direction of the line of magnetic force passing through the lock
なお、図5にあっては、施錠検出用ホールセンサ48に電池44から直接電池電圧Vccを供給しているが、電池電圧以下の電圧で定電圧駆動する場合には、抵抗分圧回路などで分圧した電圧を供給すれば良い。
In FIG. 5, the battery voltage Vcc is directly supplied from the
施錠検出用ホールセンサ48の出力電圧は高利得増幅回路54−1で増幅され、プロセッサ50のAD変換ポート72−1でサンプリングされてAD変換される。
The output voltage of the lock
また、施錠検出用ホールセンサ48の出力電圧は同時に低利得増幅回路54−2で増幅され、プロセッサ50のAD変換ポート72−2でサンプリングされてAD変換される。
The output voltage of the lock
高利得増幅回路54−1はオペアンプ90aと抵抗R1,R3,R5,R6によって差動増幅回路を構成し、高利得G1を設定する。また低利得増幅回路54−2はオペアンプ90bと抵抗R2,R4,R5,R6によって差動増幅回路を構成し、高利得G1よりも低い利得の低利得G2を設定する。
The high gain amplifier circuit 54-1 configures a differential amplifier circuit by the
ここで、R1=R3,R2=R4,R5=R6、R1<R2の関係にあり、高利得増幅回路54−1の高利得G1は
G1=R6/R1
となり、低利得増幅回路54−2の低利得G2は
G2=R6/R2
となる。
Here, R1 = R3, R2 = R4, R5 = R6, R1 <R2, and the high gain G1 of the high gain amplifier circuit 54-1 is G1 = R6 / R1.
And the low gain G2 of the low gain amplifier circuit 54-2 is G2 = R6 / R2.
It becomes.
図6は図4の施錠検出用ホールセンサの検出信号を増幅する増幅回路の他の実施形態を示した回路図であり、プロセッサ50からの制御により高利得G1と低利得G2を選択できるようにしたことを特徴とする。
FIG. 6 is a circuit diagram showing another embodiment of the amplifier circuit for amplifying the detection signal of the lock detection hall sensor of FIG. 4 so that the high gain G1 and the low gain G2 can be selected by control from the
図6において、増幅回路54は差動増幅回路であり、オペアンプ90の入力側に利得選択回路92を設けており、スイッチ96aにより反転入力端子に対する抵抗R1,R2を切り替え、同時にスイッチ96bにより非反転入力端子に対する抵抗R3,R4を切り替えている。また非反転端子は抵抗R5を介して接地接続され、更に、出力端子と非反転入力端子との間の帰還回路の抵抗R6を接続している。
In FIG. 6, an amplifier circuit 54 is a differential amplifier circuit, and a
ここで、R1=R3,R2=R4,R5=R6,R1<R2の関係にあり、スイッチ96a,96bを図示のa側に閉じたときの高利得G1は
G1=R6/R1
となり、またスイッチ96a,96bをb側に閉じたときの低利得G2は
G2=R6/R2
となる。
Here, there is a relationship of R1 = R3, R2 = R4, R5 = R6, R1 <R2, and the high gain G1 when the
The low gain G2 when the
It becomes.
図7は、本実施形態におけるクレセント錠検出マグネット48と施錠検出用ホールセンサ48の関係を示した説明図である。図7において、窓開閉検出装置10における装置本体22のクレセント錠側の端部には施錠検出用ホールセンサ48が配置され、その前方(下方)にカバー部材24に収納した円錐状の集磁体26を配置している。
FIG. 7 is an explanatory diagram showing the relationship between the crescent
クレセント錠16の開閉レバー18に設けたクレセント錠検出マグネット20は、開閉レバー18の施錠状態で図示のカバー部材24の外端面から距離hに位置し、この施錠位置での距離hが最小距離となる。クレセント錠検出マグネット20からの磁束は集磁体26の大径入射面に入った後、反対側の小径出射面に収束されて施錠検出用ホールセンサ48を通過する。
The crescent
このようなクレセント錠検出マグネット20による磁束は施錠検出用ホールセンサ48で磁力に応じた電圧信号として検出され、増幅回路54で増幅した後にAD変換ポート72により磁力レベル(AD変換値)として読み込まれる。
The magnetic flux generated by the crescent
図8は図4のAD変換ポート72−1,72−2による磁気レベル検出信号のAD変換特性を示したグラフ図である。図7に示した施錠検出用ホールセンサ48は磁力線の通過方向によりプラス極性の磁気レベル検出信号とマイナス極性の磁気レベル検出信号を出力する。
FIG. 8 is a graph showing the AD conversion characteristics of the magnetic level detection signal by the AD conversion ports 72-1 and 72-2 of FIG. The lock
施錠検出用ホールセンサ48からの磁気レベル検出信号は、高利得増幅回路54−1の高利得G1又は低利得増幅回路54−2の低利得G2により増幅され、AD変換ポート72−1,72−2により磁力レベルデータに変換される。
The magnetic level detection signal from the lock
このAD変換ポート72−1,72−2の変換特性は、縦軸に示すように、10進AD変換値として0〜256の値を持ち、入力するプラス極性の磁気レベル検出信号0〜+VmaxをAD変換値128〜256に変換し、入力するマイナス極性の磁気レベル検出信号0〜−VmaxをAD変換値128〜0に変換する。
The conversion characteristics of the AD conversion ports 72-1 and 72-2 have values of 0 to 256 as decimal AD conversion values, as shown on the vertical axis, and the positive polarity magnetic
図9は図7に示した装置端面からクレセント錠検出マグネット20までの距離hに対する施錠検出用ホールセンサ48で検出した磁力レベルの関係を示したグラフ図の一例であり、特性Aが高利得G1、特性Bが低利得G2を選択したときの測定結果である。
FIG. 9 is an example of a graph showing the relationship between the magnetic force level detected by the lock
なお、実際のAD変換ポート72の変換特性は図8のようになるが、図9にあっては、説明を簡単にするため、磁化レベル検出信号の極性に関らず、AD変換値を0〜128として示している。 The actual conversion characteristics of the AD conversion port 72 are as shown in FIG. 8, but in FIG. 9, the AD conversion value is set to 0 regardless of the polarity of the magnetization level detection signal for the sake of simplicity. ~ 128.
図4のプロセッサ50に設けた遠近選択部76にあっては、登録モードで動作したときは先に高利得G1を初期設定しており、このため特性Aに従ったAD変換値としての磁力レベルが得られる。
In the
遠近選択部76は遠近判定閾値TH4を設定しており、高利得G1の初期設定による増幅で得られた磁力レベルVsが遠近判定閾値TH4以下の範囲98であれば、マグネットまでの距離は遠めと判断して高利得G1を選択して、一方、磁力レベルVsが遠近判定閾値TH4を越えて範囲100であれば、マグネットまでの距離hは近いと判断して低利得G1を選択し、磁力レベルVsを範囲98内に入るように調整する。
The
ここで、図8のゼロ点を与えるAD変換値の基準値として128±γ以外の範囲を有効監視範囲としており、このため図9におけるγ<Vs≦TH4の有効監視範囲98に磁力レベルがあるときに高利得G1を選択する。またTH4<Vs≦128の範囲100にあるとき低利得G2を選択して、磁力レベルVsが有効監視範囲98内に入るように調整する。
Here, the effective monitoring range is a range other than 128 ± γ as the reference value of the AD conversion value giving the zero point in FIG. 8, and therefore there is a magnetic force level in the
この関係を図8のAD変換特性に適用すると、プラス極性の磁力レベル検出信号の場合、磁力レベルVsが有効監視範囲98−1で高利得G1を選択、範囲100−1で低利得G2を選択となり、マイナス極性の磁力レベル検出信号の場合、範囲98−2で高利得G1を選択、範囲100−2で低利得G2の選択となる。なお、利得G2に切り換えたときに、初期設定により測定した磁力レベルVsだけでなく、Vsから所定比率低い値を算出した施錠判定閾値TH3も有効監視範囲98内に入るように、利得G1とG2との切り換えタイミングを考慮して遠近判定閾値TH4を設定する。
When this relationship is applied to the AD conversion characteristics shown in FIG. 8, in the case of a positive polarity magnetic force level detection signal, the magnetic gain level Vs selects the high gain G1 in the effective monitoring range 98-1, and selects the low gain G2 in the range 100-1. In the case of a negative polarity magnetic force level detection signal, the high gain G1 is selected in the range 98-2 and the low gain G2 is selected in the range 100-2. When switching to the gain G2, not only the magnetic force level Vs measured by the initial setting but also the lock determination threshold TH3 calculated from the Vs by a predetermined ratio falls within the
図10は遠近選択部76により高利得G1が選択された場合であり、図4のプロセッサ50に設けた施錠登録処理部78は、高利得G1の選択による増幅で例えばP点の磁力レベルVs2を取得したとすると、取得した磁力レベルVs2を不揮発メモリ68に初期登録する。
FIG. 10 shows a case where the high gain G1 is selected by the
続いて、初期登録した磁力レベルVs2から選択している高利得G1に対応した比率α分低い値として施錠判定閾値TH3を
TH3=Vs2−αVs2
として算出して不揮発メモリ68に登録する。
Subsequently, the lock determination threshold TH3 is set to TH3 = Vs2−αVs2 as a value lower by the ratio α corresponding to the high gain G1 selected from the initially registered magnetic force level Vs2.
And is registered in the
図11は、取得した磁力レベルVs2が図10において範囲100に入った時に、遠近選択部76により低利得G2が選択された場合であり、図4のプロセッサ50に設けたクレセント錠登録処理部78は、低利得G2の選択による増幅でQ点の磁力レベルVs2を取得したとすると、取得した磁力レベルVs2を不揮発メモリ68に初期登録する。
11 shows a case where the low gain G2 is selected by the
続いて、初期登録した磁力レベルVs2から選択している低利得G2に対応した比率β分低い値として施錠判定閾値TH3を
TH3=Vs2−βVs2
として算出して不揮発メモリ68に登録する。
Subsequently, the lock determination threshold TH3 is set to TH3 = Vs2−βVs2 as a value lower by the ratio β corresponding to the low gain G2 selected from the initially registered magnetic force level Vs2.
And is registered in the
図12は図4のプロセッサによる本実施形態の監視処理を示したフローチャートである。なお、本フローチャートにおいては、本製品出荷前において窓開閉検出マグネット14を所定距離離して配置して磁力レベルVs1を測定して、第1及び第2窓判定閾値TH1,TH2と共に不揮発メモリ68に予め設定した例を示すが、磁力レベルVs1、第1及び第2窓判定閾値TH1,TH2も現場設置後に磁力レベルVs1の測定により算出して登録するようにしても良い。
FIG. 12 is a flowchart showing the monitoring process of this embodiment by the processor of FIG. In this flowchart, before opening the product, the window opening /
図12において、図3に示したような現場設置が済んだ状態で電源が投入されると、ステップS1で初期化処理と自己診断処理が実行され、異常がなければステップS2に進み、不揮発メモリ68に記憶されている窓開閉監視の磁力レベルVs1及び第1及び第2窓判定閾値TH1,TH2を含むデータを読み込む。 In FIG. 12, 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 Data including the magnetic force level Vs1 of the window opening / closing monitoring and the first and second window determination thresholds TH1 and TH2 stored in 68 is read.
続いてステップS3に進み、登録スイッチ60をオン操作することによって施錠監視登録モードの設定が判別されると、ステップS4に進んで、増幅利得の選択、施錠検出用ホールセンサ48による磁力レベルVs2の初期登録、及びクレセント錠16の施錠と解錠を検出するための錠判定閾値TH3の登録を含む施錠監視登録処理を実行する。
Subsequently, the process proceeds to step S3, and when the setting of the lock monitoring registration mode is determined by turning on the
続いてステップS5で例えば所定の監視周期への到達の有無を判定しており、監視周期への到達を判定するとステップS6に進んで電池44に対するローバッテリ監視処理を実行する。このとき電池電圧が規定電圧以下に低下していると、ローバッテリを示す電文を監視盤に無線送信して障害表示を行わせる。
Subsequently, in step S5, for example, 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 and low battery monitoring processing for the
次にステップS7で窓開閉監視処理を実行し、窓開又は窓閉を判定すると、その内容を示す電文を監視盤に送信する。更にステップS8でクレセント錠の開閉監視処理を実行し、錠開又はその後の錠閉を判定すると、その内容を示す電文を監視盤に送信する。続いてステップ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 board. In step S8, the crescent lock open / close monitoring process is executed, and when it is determined whether the lock is unlocked or after that, a message indicating the contents is transmitted to the monitoring board. Subsequently, in step S9, it is determined whether the regular notification time has elapsed, and if it is determined that the process has elapsed, the process proceeds to step S10, where a periodic notification process for transmitting a periodic notification message to the monitoring panel is performed.
図13は図12のステップS4におけるクレセント錠登録処理の詳細を示したフローチャートである。図13において、まずステップS11で登録スイッチ60のオン操作を判別しており、磁力レベルの初期登録のため、開閉レバー18を解錠位置に操作してクレセント錠検出マグネット20を最大距離に設定し、登録スイッチ60を操作すると、登録スイッチオンが判別されてステップS12に進み、赤色LED56aを点滅し、ステップS13で登録モードをスタートする。
FIG. 13 is a flowchart showing details of the crescent lock registration process in step S4 of FIG. In FIG. 13, first, in step S11, it is determined whether the
登録モードがスタートすると、ステップS14でAD変換ポート72−1からの取り込みを選択することで高利得増幅回路54−1を選択する。続いて、ステップS15で所定の登録可能期間が経過したか否か判別しており、登録可能期間が経過するまでの間、ステップS16に進んで、高利得増幅の選択状態で磁力レベルVsを取得し、ステップS17で遠近判定閾値TH4以下か否か判別する。 When the registration mode is started, the high gain amplifier circuit 54-1 is selected by selecting capturing from the AD conversion port 72-1 in step S14. Subsequently, in step S15, it is determined whether or not a predetermined registrable period has elapsed, and until the registrable period elapses, the process proceeds to step S16 to acquire the magnetic force level Vs in the selected state of high gain amplification. In step S17, it is determined whether or not the distance is below the perspective determination threshold TH4.
遠近判定閾値TH4以下であれば高利得選択状態を維持したままステップS19に進むが、遠近判定閾値TH4を超えていた場合は、ステップS18に進んでAD変換ポート72−2からの取込みを選択することで低利得増幅を選択し、選択後に磁力レベルを取得する。 If it is equal to or smaller than the perspective determination threshold TH4, the process proceeds to step S19 while maintaining the high gain selection state. If the distance determination threshold TH4 is exceeded, the process proceeds to step S18 to select capturing from the AD conversion port 72-2. Thus, the low gain amplification is selected, and the magnetic force level is acquired after the selection.
続いて、ステップS19に進み、取得した磁力レベルを予め設定した所定の有効レベルと比較し、有効レベルを超えていた場合には、ステップS20に進み、不揮発メモリ68に磁力レベルVs1として記憶する。
Then, it progresses to step S19, the acquired magnetic force level is compared with the predetermined effective level set beforehand, and when it exceeds the effective level, it progresses to step S20 and memorize | stores in the
続いてステップS21で高利得増幅回路54−1の選択の有無をチェックし、高利得選択回路54−1の選択であればステップS22に進み、初期登録した磁力レベルVs2から所定比率αだけ低い錠判定閾値TH3を算出して不揮発メモリ68に登録する。
Subsequently, in step S21, it is checked whether or not the high gain amplifying circuit 54-1 is selected. If the high gain selecting circuit 54-1 is selected, the process proceeds to step S22, and the lock is lowered by a predetermined ratio α from the initially registered magnetic force level Vs2. The determination threshold TH3 is calculated and registered in the
またステップS21で低利得増幅回路54−2の選択を判別した場合はステップS23に進み、初期登録した磁力レベルVs2から所定比率βだけ低い錠判定閾値TH3を算出して不揮発メモリ68に登録する。
If the selection of the low gain amplifier circuit 54-2 is determined in step S21, the process proceeds to step S23, and the lock determination threshold value TH3 lower by a predetermined ratio β is calculated from the initially registered magnetic force level Vs2 and registered in the
不揮発メモリ68に磁力レベルVs2及び錠判定閾値TH3が登録されると、ステップS24で表示部56の緑色LED56bを点灯し、ステップS25で施錠監視部82によるクレセント錠の施錠監視を開始させる。
When the magnetic force level Vs2 and the lock determination threshold TH3 are registered in the
一方、登録スイッチ60の操作により登録モードを設定している登録可能期間の間に、クレセント錠16の開閉レバー18を施錠位置に戻す操作を行わなかった場合には、ステップS19で有効レベルを超える磁力レベルが得られないために、ステップS15で有効登録期間の経過を判別したときにステップS26に進んで赤色LED56aを点滅から点灯に切り替えて初期登録の失敗を表示し、ステップS27で登録処理のエラー状態を登録すると共に、施錠監視処理部78によるクレセント錠の施錠監視を解除する。
On the other hand, if the operation of returning the open / close lever 18 of the crescent lock 16 to the locked position is not performed during the registration possible period in which the registration mode is set by operating the
図14は図12のステップS7における窓開閉監視処理の詳細を示したフローチャートである。 FIG. 14 is a flowchart showing details of the window opening / closing monitoring process in step S7 of FIG.
図14において、まずステップS31で窓開閉検出用ホールセンサ46により検出された磁力レベルをAD変換値として取得し、ステップS32に進んで前回が窓開判定であることを判別すると、ステップS33に進んで第1窓判定閾値TH1と比較する。
In FIG. 14, first, the magnetic force level detected by the window opening / closing
ステップS33で磁力レベルが第1窓判定閾値TH1以下であればステップS34に進んで窓開判定とし、この場合、窓閉の判定状態から窓開の判定状態となる異常検出状態への変化であることから、ステップS35で赤色LED56aを点灯し、異常検出状態への状態変化を報知する。 If the magnetic force level is equal to or lower than the first window determination threshold value TH1 in step S33, the process proceeds to step S34 to determine window opening, and in this case, the change from the window closing determination state to the window opening determination state is changed. Therefore, in step S35, the red LED 56a is turned on to notify the change in state to the abnormality detection state.
続いてステップS36で窓開判定の電文を監視盤に向けて無線送信し、無線送信が終了するとステップS37で赤色LED56bを消灯する。
Subsequently, in step S36, a window opening determination message is wirelessly transmitted to the monitoring panel, and when the wireless transmission is completed, the
一方、ステップS33で磁力レベルが第1窓判定閾値TH1を超えていた場合はステップS38で第2窓判定閾値TH2と比較し、第2窓判定閾値TH2以上の場合は、悪戯などにより強力な磁石を外から近づけたことによる磁力レベルの異常な増加と判断し、ステップS34に進んで窓開判定とし、ステップS35〜S37で赤色LED56aを窓開判定電文の無線送信が終了するまで点灯駆動する。 On the other hand, if the magnetic force level exceeds the first window determination threshold value TH1 in step S33, it is compared with the second window determination threshold value TH2 in step S38, and if it is greater than or equal to the second window determination threshold value TH2, a powerful magnet due to mischief or the like. Is determined to be an abnormal increase in the magnetic force level due to approaching from the outside, the process proceeds to step S34 to determine window opening, and the red LED 56a is lit until the wireless transmission of the window opening determination message is completed in steps S35 to S37.
また、ステップS32で前回が開判定であった場合には、ステップS39に進み、磁力レベルが第1窓判定閾値レベルTH1より大きく、第2窓判定閾値TH2より小さいときはステップS40に進んで窓閉判定を行う。 If the previous determination was an open determination in step S32, the process proceeds to step S39. If the magnetic force level is greater than the first window determination threshold level TH1 and less than the second window determination threshold TH2, the process proceeds to step S40. Closed judgment is performed.
続いてステップS41で施錠監視部82により現在クレセント錠の閉判定中か否か判別し、閉判定中であれば、窓閉で且つ錠閉となる正常監視状態に変化していることからステップS42に進んで緑色LED56aを選択する。一方、ステップS41で開判定中であれば、窓開で且つ錠閉となる異常検出状態にあることからステップS43に進んで赤色LED56bを選択する。
Subsequently, in step S41, the lock monitoring unit 82 determines whether or not the crescent lock is currently closed, and if it is determined to be closed, the window is closed and the normal monitoring state in which the lock is closed is changed to step S42. Go to and select the green LED 56a. On the other hand, if the open determination is being made in step S41, the window is opened and the abnormality is detected to be locked, so the process proceeds to step S43 and the
そしてステップS44に進み、既に選択した赤色LED56a又は緑色LED56bを点灯してステップS45で窓閉の判定電文を無線送信し、送信が終了するとステップS46で点灯しているLEDを消灯する。
In step S44, the already selected red LED 56a or
図15は図12のステップS8におけるクレセント錠開閉監視処理の詳細を示したフローチャートである。 FIG. 15 is a flowchart showing details of the crescent lock opening / closing monitoring process in step S8 of FIG.
図15において、まずステップS51で施錠検出用ホールセンサ48により検出された磁力レベルをAD変換値として取得し、ステップS52に進んで前回が錠閉判定であることを判別すると、ステップS53に進んで錠判定閾値TH3と比較する。
In FIG. 15, first, the magnetic force level detected by the lock
ステップS53で磁力レベルが錠判定閾値TH3以下であればステップS54に進んで錠開判定とし、この場合、錠閉の判定状態から錠開の判定状態となる異常検出状態への変化であることから、ステップS55で赤色LED56aを点灯し、異常検出状態への状態変化を報知する。 If the magnetic force level is equal to or lower than the lock determination threshold value TH3 in step S53, the process proceeds to step S54 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 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, an unlocking determination message is wirelessly transmitted to the monitoring panel. When the wireless transmission is completed, the
ステップS52で前回が開判定であった場合には、ステップS58に進み、磁力レベルが錠判定閾値レベルTH3より大きいときはステップS59に進んで錠閉判定を行う。 If the previous determination was an open determination in step S52, the process proceeds to step S58, and if the magnetic force level is greater than the lock determination threshold level TH3, the process proceeds to step S59 to perform a lock determination.
続いてステップS60で窓開閉監視部78により現在窓の閉判定中か否か判別し、閉判定中であれば、窓閉で且つ錠閉となる正常監視状態に変化していることからステップS61に進んで緑色LED56aを選択する。 Subsequently, in step S60, the window opening / closing monitoring unit 78 determines whether or not the window is currently closed. If it is determined that the window is closed, the window is closed and the normal monitoring state is locked. Go to and select the green LED 56a.
一方、ステップS60で窓開判定中であれば、窓開で且つ錠閉となる異常検出状態にあることからステップS62に進んで赤色LED56bを選択する。
On the other hand, if the window open determination is being made in step S60, since it is in an abnormality detection state in which the window is open and locked, the process proceeds to step S62 and the
そしてステップS63に進み、既に選択した赤色LED56a又は緑色LED56bを点灯してステップS64で錠閉の判定電文を無線送信し、送信が終了するとステップS65で点灯しているLEDを消灯する。
In step S63, the already selected red LED 56a or
また、上記の実施形態においては、クレセント錠の状態を検出する例を示しているが、窓開閉検出マグネットの検出においても適用でき、窓開閉検出装置10と窓開閉検出マグネット14の距離が設置状況に応じて異なることから、磁気レベルに応じて遠近判定を行い、最適な利得を選択して、利得に応じた開閉閾値の算出を行うようにしても良い。
Moreover, although the example which detects the state of a crescent lock is shown in said embodiment, it can apply also in the detection of a window opening / closing detection magnet, and the distance of the window opening /
侵入者が別のマグネットを近づけて不正侵入することを検出する窓判定閾値TH2は測定した磁気レベルに基づいて算出するが、算出した窓判定閾値TH2が監視有効範囲98に入るように利得を選択する。窓判定閾値TH2は通常状態の施錠状態の磁気レベルVS1よりも高い値になり、窓判定閾値TH2が監視有効範囲98よりも越える場合にはより低い利得を選択して、各値VS1、TH1及びTH2が全て監視有効範囲98に入るようにする。
The window determination threshold value TH2 for detecting that an intruder approaches another magnet and illegally intrudes is calculated based on the measured magnetic level, and the gain is selected so that the calculated window determination threshold value TH2 falls within the
侵入者による別のマグネットの不正接近を検出する判定閾値TH2は、クレセント錠16の状態検出においても採用してもよい。その場合も閾値TH2を含む全ての閾値TH3及び施錠状態の磁気レベルVS2が監視有効範囲98内に入るように利得を選択する。
The determination threshold value TH <b> 2 for detecting an unauthorized approach of another magnet by an intruder may also be adopted in the state detection of the crescent lock 16. Also in this case, the gain is selected so that all the threshold values TH3 including the threshold value TH2 and the locked magnetic level VS2 are within the
また、上記実施形態においては、利得の選択は高利得か低利得かの2種類を選択するが、これに限らず複数種の異なる利得を用意して、磁力レベル及び閾値が最適な範囲に入るよう選択するようにしても良い。上記実施形態での窓判定閾値TH2の算出は、低利得と高利得を選択した時で、磁気レベルから低下させる比率を異ならせて算出しているが、複数種の利得にした場合も同様に、利得が低くなるほど値を下げる比率を低くして算出するようにしても良い。 In the above embodiment, two types of gain selection, high gain or low gain, are selected. However, the present invention is not limited to this, and a plurality of different gains are prepared so that the magnetic force level and the threshold value are within the optimum ranges. You may make it choose so. The window determination threshold TH2 in the above embodiment is calculated by selecting a low gain and a high gain and changing the ratio of reduction from the magnetic level. The calculation may be performed with a lower ratio of decreasing the value as the gain decreases.
また、本発明はその目的と利点を損なうことの無い適宜の変形を含み、更に、上記の実施形態に示した数値による限定は受けない。
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:クレセント錠
20:クレセント錠検出マグネット
52,54:増幅回路
54−1:高利得増幅回路
54−2:低利得増幅回路
70,72−1,72−2:AD変換ポート
74:窓開閉登録処理部
76:遠近選択部
78:施錠登録処理部
80:窓開閉監視部
82:施錠監視部
10: Window opening / closing detection device 14: Window opening / closing detection magnet 16: Crescent lock 20: Crescent
Claims (4)
前記マグネットの磁気レベルを検出する磁気感知素子と、
前記磁気感知素子からの検出信号を複数の異なる利得から選択して増幅する増幅部と、
前記増幅部を高利得で増幅した出力信号から取得した磁力レベルが所定の遠近判定閾値以下の場合は前記高利得の増幅を選択し、前記磁力レベルが前記遠近判定閾値を超えている場合は選択した高利得よりも低利得を選択する遠近選択部と、
前記遠近選択部で選択された前記増幅部の利得で取得した磁力レベルから、所定比率の錠判定閾値を算出して登録する登録処理部と、
前記遠近選択部で選択された利得での前記増幅部から取得した磁気レベルと前記錠判定閾値との比較により解錠又は施錠を判定する施錠監視部と、
を備え、
前記錠判定閾値は、前記遠近選択部で選択される前記増幅部の利得が低くなるほど少ない比率に基づき前記磁力レベルから算出することを特徴とする窓開閉検出装置。
In a window opening / closing detection device that detects a change in the magnetic level of a magnet arranged in a monitoring target and determines the state of the window,
A magnetic sensing element for detecting the magnetic level of the magnet;
An amplifying unit for selecting and amplifying a detection signal from the magnetic sensing element from a plurality of different gains;
When the magnetic force level acquired from the output signal obtained by amplifying the amplification unit with a high gain is equal to or lower than a predetermined perspective determination threshold, the high gain amplification is selected, and when the magnetic force level exceeds the perspective determination threshold, the selection is performed. A perspective selector that selects a lower gain than a higher gain,
A registration processing unit that calculates and registers a lock determination threshold value of a predetermined ratio from the magnetic force level acquired by the gain of the amplification unit selected by the perspective selection unit;
A lock monitoring unit for determining unlocking or locking by comparing the magnetic level acquired from the amplification unit with the gain selected by the perspective selection unit and the lock determination threshold;
Equipped with a,
The window opening / closing detection device , wherein the lock determination threshold is calculated from the magnetic force level based on a smaller ratio as the gain of the amplification unit selected by the perspective selection unit decreases .
前記算出した錠判定閾値が、窓開閉状態の監視に有効な磁力レベルにない場合には、有効な磁力レベルになるよう前記増幅部の利得を変更し、変更した利得における錠判定閾値を登録することを特徴とする窓開閉検出装置。
In the window opening and closing detection device according to claim 1,
If the calculated lock determination threshold is not at a magnetic level effective for monitoring the window open / close state, the gain of the amplifying unit is changed to be an effective magnetic level, and the lock determination threshold at the changed gain is registered. A window opening / closing detection device characterized by the above.
前記増幅回路は、高利得増幅または低利得増幅を選択する利得選択部を備え、
前記遠近選択部は、前記増幅回路の高利得の選択状態で得られた出力信号から取得した磁力レベルが所定の遠近判定閾値以下の場合は、前記高利得を選択し、前記遠近判定閾値を超えている場合は前記低利得を選択することを特徴とする窓開閉検出装置。
In the window opening and closing detection device according to claim 1,
The amplifier circuit includes a gain selection unit that selects high gain amplification or low gain amplification,
The perspective selection unit selects the high gain when the magnetic force level acquired from the output signal obtained in the high gain selection state of the amplifier circuit is equal to or lower than a predetermined perspective determination threshold, and exceeds the perspective determination threshold. If it is, the window open / close detection device is characterized by selecting the low gain.
前記高利得増幅の選択状態で磁力レベルを初期登録した場合は、前記磁力レベルより所定の第1比率分低いレベルを錠判定閾値として登録し、
前記低利得増幅の選択状態で磁力レベルを初期登録した場合は、前記磁力レベルより前記第1比率分より少ない第2比率分低いレベルを錠判定閾値として登録することを特徴とする窓開閉検出装置。
The window opening / closing monitoring apparatus according to claim 3 , wherein the registration processing unit includes:
When the magnetic force level is initially registered in the selected state of the high gain amplification, a level lower than the magnetic force level by a predetermined first ratio is registered as a lock determination threshold value.
A window opening / closing detection device, wherein when a magnetic force level is initially registered in the low gain amplification selection state, a level lower by a second ratio than the first ratio is registered as a lock determination threshold value. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009099637A JP5307606B2 (en) | 2009-04-16 | 2009-04-16 | Window open / close detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009099637A JP5307606B2 (en) | 2009-04-16 | 2009-04-16 | Window open / close detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010250575A JP2010250575A (en) | 2010-11-04 |
JP5307606B2 true JP5307606B2 (en) | 2013-10-02 |
Family
ID=43312825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009099637A Active JP5307606B2 (en) | 2009-04-16 | 2009-04-16 | Window open / close detection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5307606B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104952184A (en) * | 2015-07-10 | 2015-09-30 | 成都凯天电子股份有限公司 | Bi-directional wireless intelligent door magnetic detector |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4818775B2 (en) * | 2006-03-30 | 2011-11-16 | 能美防災株式会社 | Fire detector |
JP5052204B2 (en) * | 2007-05-17 | 2012-10-17 | ホーチキ株式会社 | Open / close sensor |
-
2009
- 2009-04-16 JP JP2009099637A patent/JP5307606B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010250575A (en) | 2010-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5307607B2 (en) | Window open / close detection device | |
US9489828B2 (en) | Programmable security sensor | |
US11699336B2 (en) | Near-far security sensor | |
EP3398175B1 (en) | Door/window magnetic sensing device and method of installing | |
US7667600B2 (en) | Methods and apparatus for security device removal detection | |
AU2005328223B2 (en) | Detection arrangements | |
CN106781144B (en) | Magnetic sensor | |
JP2010129010A (en) | Window opening/closing detecting device | |
JP5284765B2 (en) | Open / close detection device | |
JP2013257890A (en) | Window opening/closing detection device | |
JP5479719B2 (en) | Window open / close detection device | |
JP5307606B2 (en) | Window open / close detection device | |
JP2010129009A (en) | Window opening/closing detecting device | |
JP5284764B2 (en) | Window open / close detection device | |
JP2013044217A (en) | Lock/unlock sensor for window | |
CN109493464A (en) | Low power-consumption intelligent opal door lock monitoring system and door lock monitoring method | |
US20090009273A1 (en) | Hall Effect Switching Circuit and Controlling Method for same | |
JP2010129011A (en) | Window opening/closing detecting device | |
JP5479718B2 (en) | Window open / close detection device | |
JP2010250573A (en) | Monitoring system | |
JP4330927B2 (en) | Flow sensor | |
JP2010250574A (en) | Displacement detection device and magnet device | |
WO2017111619A1 (en) | A sensor device | |
JP5133859B2 (en) | Window open / close detection device | |
KR200322402Y1 (en) | Electronic Door Lock Having Self Test Function by Measuring Current |
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: 5307606 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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |