JP2006190063A - Magnetic detection sensor - Google Patents

Magnetic detection sensor Download PDF

Info

Publication number
JP2006190063A
JP2006190063A JP2005001189A JP2005001189A JP2006190063A JP 2006190063 A JP2006190063 A JP 2006190063A JP 2005001189 A JP2005001189 A JP 2005001189A JP 2005001189 A JP2005001189 A JP 2005001189A JP 2006190063 A JP2006190063 A JP 2006190063A
Authority
JP
Japan
Prior art keywords
magnetic field
unit
strength
value
detection
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.)
Granted
Application number
JP2005001189A
Other languages
Japanese (ja)
Other versions
JP4703190B2 (en
Inventor
Yasuyuki Uchino
康之 内野
Makoto Kumazaki
誠 熊崎
Kenichi Furukawa
顕一 古川
Jun Yamakawa
潤 山川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Secom Co Ltd
Original Assignee
Secom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Secom Co Ltd filed Critical Secom Co Ltd
Priority to JP2005001189A priority Critical patent/JP4703190B2/en
Publication of JP2006190063A publication Critical patent/JP2006190063A/en
Application granted granted Critical
Publication of JP4703190B2 publication Critical patent/JP4703190B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Burglar Alarm Systems (AREA)
  • Switches That Are Operated By Magnetic Or Electric Fields (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a magnetic detection sensor capable of surely detecting a maneuvering action even in a case that a detection unit is set in a place where it is visually confirmable from the outside. <P>SOLUTION: A control part 51 performing determination processing based on outputs from a switch part 52 and a magnetic field measuring part 53 comprises a reference setting means storing the intensity of magnetic field measured by the magnetic field measuring means 53 in a state where detection of the switch part 25 is in a closed state as a reference value to a storage part 54; and a determination means determining the presence of a maneuvering action in a case that the difference between the intensity of magnetic field obtained from the magnetic field measuring part 53 and the reference value exceeds a determination value. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、永久磁石の近接を検知してスイッチをON又はOFFの状態に転換し、例えば、扉や窓等の開閉を検知して警報器等を作動させる場合等に用いられる磁気検知式センサに関する。   The present invention detects a proximity of a permanent magnet and switches a switch to an ON or OFF state. For example, a magnetic detection type sensor used for detecting an opening / closing of a door or a window to activate an alarm About.

図1は特許文献1に記載されている従来の磁気検知式センサを説明する図である。
この磁気検知式センサは、マグネット24の近接を検知して、検知ユニット40内のリードスイッチ42がスイッチングする。マグネット24が検知ユニット40に近づくと、マグネット24の磁界の影響を受けて、ノーマルオープン接点NOが接続される。また、マグネット24が検知ユニット40から離れると、マグネット24の磁界の影響を受けなくなるので、ノーマルクローズ接点NCが接続される。
監視部10の電流監視回路16は、検知ユニット40へ印加している電流を監視し、正常状態の電流よりも大きい電流が流れると、警報器18を作動させてブザー等により所定の警報を発生させる。
FIG. 1 is a diagram for explaining a conventional magnetic detection type sensor described in Patent Document 1. In FIG.
This magnetic detection type sensor detects the proximity of the magnet 24 and the reed switch 42 in the detection unit 40 switches. When the magnet 24 approaches the detection unit 40, the normally open contact NO is connected under the influence of the magnetic field of the magnet 24. Further, when the magnet 24 moves away from the detection unit 40, it is not affected by the magnetic field of the magnet 24, so that the normally closed contact NC is connected.
The current monitoring circuit 16 of the monitoring unit 10 monitors the current applied to the detection unit 40. When a current larger than the current in the normal state flows, the alarm 18 is activated and a predetermined alarm is generated by a buzzer or the like. Let

図2は従来の磁気検知式センサの設置場所を示す図である。
同図には、従来の磁気検知式センサにおける検知ユニット40及びマグネット24の設置場所の例が示されている。検知ユニット40は、図2に示すように各部屋の扉枠(あるいは窓枠)100に取り付けられる。これに対応して、扉110には、扉閉状態時に検知ユニット40と対向する位置にマグネット24が取り付けられる。従って、検知ユニット40内は、扉110が閉じている間はマグネット24の磁力作用によりC−NO間が接続され、扉110が開くとマグネット24の磁力作用がなくなりC−NC間が接続される。
FIG. 2 is a diagram showing an installation location of a conventional magnetic detection type sensor.
The figure shows an example of the installation location of the detection unit 40 and the magnet 24 in a conventional magnetic detection type sensor. The detection unit 40 is attached to the door frame (or window frame) 100 of each room as shown in FIG. Correspondingly, a magnet 24 is attached to the door 110 at a position facing the detection unit 40 when the door is closed. Therefore, in the detection unit 40, the C-NO is connected by the magnetic action of the magnet 24 while the door 110 is closed, and the magnetic action of the magnet 24 is lost and the C-NC is connected when the door 110 is opened. .

特開平9−245266号公報JP-A-9-245266

図3は引き違い方式の窓への磁気検知式センサの設置状況を示す図である。
引き違い窓(扉)や上げ下げ窓(扉)に、磁気検知式センサを設置する場合、図2のように、扉枠(あるいは窓枠)100に、検知ユニット40を取り付けず、図3に示すように取り付けることがある。
FIG. 3 is a diagram showing a state of installation of the magnetic detection type sensor in the sliding-type window.
When the magnetic detection type sensor is installed in the sliding window (door) or the raising / lowering window (door), the detection unit 40 is not attached to the door frame (or window frame) 100 as shown in FIG. May be attached.

具体的には、複数あるサッシの内、屋内側の可動部材であるサッシ31の枠外面(クレセント錠34がある面)に無線送信可能な検知ユニット40を取り付け、屋外側の可動部材であるサッシ32のガラス面33に検知ユニット40と対向する位置にマグネット24を設置する。   Specifically, among a plurality of sashes, a detection unit 40 capable of wireless transmission is attached to the outer surface of the sash 31 that is a movable member on the indoor side (the surface with the crescent lock 34), and the sash that is a movable member on the outdoor side. A magnet 24 is installed on the glass surface 33 of 32 at a position facing the detection unit 40.

このように設置する理由は、図2のように磁気検知式センサを設置した場合、窓の開閉を検知するためには、窓ごとにセンサが必要となるからである。つまり、サッシ31及びサッシ32にそれぞれマグネット24を設け、窓枠(図3には図示せず)にマグネット24とそれぞれ対向するように検知ユニット40を2つ配置する必要がある。この結果、システムコストが高くなるとともに、屋内の美観も損ねてしまうのである。   The reason for installing in this way is that when a magnetic detection type sensor is installed as shown in FIG. 2, a sensor is required for each window in order to detect opening and closing of the window. That is, it is necessary to provide the magnets 24 on the sash 31 and the sash 32, and to arrange two detection units 40 on the window frame (not shown in FIG. 3) so as to face the magnets 24, respectively. As a result, the system cost increases and the indoor aesthetics are impaired.

しかし、このように取り付けた磁気検知式センサは、外部から検知ユニット40の設置場所を視認することが可能になる問題点がある。そして、もう1つ別のマグネットを使用することにより、窓(扉)を開けても磁気検知式センサが検知しないようにする行為(以下、「画策行為」と言う)を行うことが可能となってしまう。   However, the magnetic detection sensor attached in this way has a problem that it is possible to visually recognize the installation location of the detection unit 40 from the outside. Then, by using another magnet, it is possible to perform an action (hereinafter referred to as “planning action”) that the magnetic detection type sensor does not detect even when the window (door) is opened. End up.

図4は、従来の磁気検知式センサに対して行う画策行為を説明する図である。
同図を参照して、画策行為の具体例を示す。
尚、特許文献1に記載の磁気検知式センサは、トランスファ接点を有する形式のものであったが、図4にはメーク接点を有する形式のものを示している。いずれの接点形式のものであっても同じようにして画策行為を行うことができる。
メーク接点を有する形式の磁気検知式センサの場合、図4(a)、(b)に示すようにマグネット24が付近にある場合は、リードスイッチ42がONとなり、付近にない場合は、OFFとなる。これによって開閉を検知する。
FIG. 4 is a diagram for explaining a plan action to be performed on a conventional magnetic detection type sensor.
A specific example of the plan action will be shown with reference to FIG.
The magnetic detection type sensor described in Patent Document 1 has a type having a transfer contact, but FIG. 4 shows a type having a make contact. Any type of contact can be used in the same way.
In the case of a magnetic detection type sensor having a make contact, as shown in FIGS. 4A and 4B, when the magnet 24 is in the vicinity, the reed switch 42 is turned ON, and when it is not in the vicinity, it is turned OFF. Become. This detects opening and closing.

画策行為が行われる場合、まず、図4(c)に示すように、画策用マグネット25を、検知ユニット40に対して磁界の影響が及ぶように外部から位置させる。そして、その状態を維持しながら窓を開ける。そうすると、マグネット24が移動して、検知ユニット40に対してその磁界の影響が及ばなくなっても、画策用マグネット25が依然として検知ユニット40に対して磁界の影響を与え続けるので、検知ユニット40のリードスイッチ42の接点はOFFの状態にならない。従って、この場合、検知ユニット40は窓が開いたことを検知することができない。   When the planning action is performed, first, as shown in FIG. 4C, the planning magnet 25 is positioned from the outside so that the detection unit 40 is affected by the magnetic field. Then, the window is opened while maintaining the state. Then, even if the magnet 24 moves and the influence of the magnetic field does not affect the detection unit 40, the planning magnet 25 still continues to influence the magnetic field on the detection unit 40. The contact of the switch 42 is not turned off. Therefore, in this case, the detection unit 40 cannot detect that the window has been opened.

このように、磁気検知式センサの検知ユニット40が外部から視認できる位置に設置されると、検知ユニット40が窓の開いたことを検知できない状態にする位置に画策用マグネット25を容易に配置することができてしまうという問題点があった。
そこで、本発明の目的は、外部から検知ユニットを視認することが可能な場所に設置した磁気検知式センサであっても、画策行為を確実に検知することができる磁気検知式センサを提供することにある。
Thus, when the detection unit 40 of the magnetic detection type sensor is installed at a position where it can be visually recognized from the outside, the planner magnet 25 is easily arranged at a position where the detection unit 40 cannot detect that the window has been opened. There was a problem of being able to.
Therefore, an object of the present invention is to provide a magnetic detection type sensor that can reliably detect a plan action even if it is a magnetic detection type sensor installed in a place where the detection unit can be visually recognized from the outside. It is in.

本発明の磁気検知式センサは、窓や扉等の可動部材に設置されるマグネットと、可動部材が閉じた位置においてマグネットと対向する位置に設置する検知ユニットを具備する磁気検知式センサであって、検知ユニットは、マグネットから生じる磁界の影響を受けて可動部材の開状態又は閉状態を検出するスイッチ部と、磁界の強さを測定する磁界測定部と、スイッチ部及び磁界測定部からの出力に基づき判定処理を行う制御部と、制御部の判定処理に用いる基準値及びスイッチ部の閉状態から開状態への変化を検出する以上の磁界の強さを基礎とした判定値とを記憶する記憶部と、制御部の判定結果を出力する出力部と、を有し、制御部は、スイッチ部の検出が閉状態であるときに磁界測定部の測定した磁界の強さを基準値として記憶部に記憶する基準設定手段と、磁界測定部から得られる磁界の強さと基準値との差が判定値を越えると画策行為の有りを判定する判定手段と、を含むことを特徴とする。   The magnetic detection type sensor of the present invention is a magnetic detection type sensor comprising a magnet installed on a movable member such as a window or a door, and a detection unit installed at a position facing the magnet when the movable member is closed. The detection unit includes a switch unit that detects the open or closed state of the movable member under the influence of a magnetic field generated from the magnet, a magnetic field measurement unit that measures the strength of the magnetic field, and an output from the switch unit and the magnetic field measurement unit. And a reference value used for the determination process of the control unit and a determination value based on the strength of the magnetic field more than detecting a change from the closed state to the open state of the switch unit A storage unit, and an output unit that outputs a determination result of the control unit, and the control unit stores, as a reference value, the strength of the magnetic field measured by the magnetic field measurement unit when the detection of the switch unit is in a closed state. In the section A reference setting means for, characterized in that the difference between the strength and the reference value of the magnetic field resulting from the magnetic field measuring unit includes a determination means for determining presence of orchestrated action exceeds the judgment value.

本発明の磁気検知式センサは、窓や扉等の可動部材に設置されるマグネットと、可動部材が閉じた位置においてマグネットと対向する位置に設置する検知ユニットを具備する磁気検知式センサであって、検知ユニットは、マグネットから生じる磁界の影響を受けて可動部材の開状態又は閉状態を検出するスイッチ部と、磁界の強さを測定する磁界測定部と、スイッチ部及び磁界測定部からの出力に基づき判定処理を行う制御部と、制御部の判定処理に用いる基準値及びスイッチ部がマグネットから受ける磁界の強さを基礎とした判定値とを記憶する記憶部と、磁界測定部から得られる磁界の強さが基準値に判定値を加えた値を上回ると所定時間を計時する計時部と、制御部の判定結果を出力する出力部と、を有し、制御部は、スイッチ部の検出が閉状態であるときに磁界測定部の測定した磁界の強さを基準値として記憶部に記憶する基準設定手段と、計時部の計時中に磁界測定部から得られる磁界の強さの最大値を検出する最大値検出手段と、計時部の計時中に最大値検出手段から得られた磁界の強さの最大値から判定値以上の磁界の強さの減少があるとき、画策行為の有りを判定する判定手段と、を含むことを特徴とする。   The magnetic detection type sensor of the present invention is a magnetic detection type sensor comprising a magnet installed on a movable member such as a window or a door, and a detection unit installed at a position facing the magnet when the movable member is closed. The detection unit includes a switch unit that detects the open or closed state of the movable member under the influence of a magnetic field generated from the magnet, a magnetic field measurement unit that measures the strength of the magnetic field, and an output from the switch unit and the magnetic field measurement unit. Obtained from the control unit that performs the determination process based on the control unit, the reference value used in the determination process of the control unit and the determination value based on the strength of the magnetic field received by the switch unit from the magnet, and the magnetic field measurement unit When the strength of the magnetic field exceeds a value obtained by adding the determination value to the reference value, the timer has a time measuring unit that outputs a predetermined time, and an output unit that outputs the determination result of the control unit. The control unit detects the switch unit. Reference setting means for storing the magnetic field strength measured by the magnetic field measurement unit as a reference value in the storage unit when the is in a closed state, and the maximum value of the magnetic field strength obtained from the magnetic field measurement unit during timing of the time measurement unit When there is a decrease in the magnetic field strength greater than the judgment value from the maximum value of the magnetic field strength obtained from the maximum value detection means during the time counting of the time measuring unit, Determining means for determining.

本発明の磁気検知式センサにおいて、更に、基準設定手段は、判定手段が画策行為の有りを判定しないと、計時部が計時中であるときの磁界測定部から得られた磁界の強さを基準値として更新する。   In the magnetic detection type sensor of the present invention, the reference setting means further uses the strength of the magnetic field obtained from the magnetic field measurement section when the timing section is measuring time as long as the determination section does not determine the presence of the planning action. Update as a value.

本発明の磁気検知式センサにおいて、更に、判定手段は、磁界測定部から得られる磁界の強さが、基準値から判定値を減じた値を下回るとき、画策行為の有りを判定する。   In the magnetic detection type sensor of the present invention, the determination means further determines the presence of the planning action when the strength of the magnetic field obtained from the magnetic field measurement unit is below a value obtained by subtracting the determination value from the reference value.

本発明の磁気検知式センサにおいて、更に、記憶部は、スイッチ部の開状態から閉状態への変化を検出する磁界の強さより少なくとも強い閉鎖強度を記憶し、基準設定手段は、スイッチ部が開状態から閉状態へ変化したときに、磁界測定部から得られる磁界の強さが閉鎖強度を越えていると、基準値を更新する。   In the magnetic detection sensor of the present invention, the storage unit further stores a closing strength that is at least stronger than the strength of the magnetic field for detecting a change from the open state to the closed state of the switch unit, and the reference setting means has the switch unit open. If the strength of the magnetic field obtained from the magnetic field measurement unit exceeds the closing strength when the state changes to the closed state, the reference value is updated.

本発明の磁気検知式センサにおいて、更に、マグネット及び検知ユニットは、それぞれ異なる可動部材に設置され、検知ユニットの出力部は無線信号にて判定手段からの判定結果を送信する。   In the magnetic detection type sensor of the present invention, the magnet and the detection unit are further installed on different movable members, and the output unit of the detection unit transmits a determination result from the determination means by a radio signal.

本発明においては、可動部材を開けてもスイッチ部の検出を閉状態に保持できる程度の大きさを越える磁界強度を有する画策用マグネットをスイッチ部付近に位置させた場合に、判定手段によって可動部材が開状態であると判定する。これにより、画策用マグネットの使用によりスイッチ部を不感知状態にして可動部材を開けようとしても、可動部材が開状態となったことを検知することができる。そのため、外部から検知ユニットを視認することが可能な場所に設置された磁気検知式センサであっても、画策行為を確実に検知することができる効果がある。   In the present invention, when the planning magnet having a magnetic field intensity exceeding the magnitude that can hold the detection of the switch portion in the closed state even when the movable member is opened, the movable member is moved by the determination means when the movable portion is positioned near the switch portion. Is determined to be open. Thereby, even if it is going to open a movable member by making a switch part into a non-sensing state by use of a planning magnet, it can detect that a movable member was in an open state. Therefore, even if it is a magnetic detection type sensor installed in a place where the detection unit can be visually recognized from the outside, there is an effect that the plan action can be reliably detected.

以下、図面を参照して、本発明に係る磁気検知式センサの実施例について説明する。
図5は、本発明に係る磁気検知式センサのブロック構成図である。
磁気検知式センサは、検知ユニット40とマグネット24とから構成され、本実施例においては、図3と同じように設置されているものとする。
Embodiments of a magnetic detection sensor according to the present invention will be described below with reference to the drawings.
FIG. 5 is a block diagram of the magnetic detection type sensor according to the present invention.
The magnetic detection type sensor is composed of a detection unit 40 and a magnet 24, and in this embodiment, it is assumed to be installed in the same manner as in FIG.

制御部51は、基準設定手段と判定手段を含み、検知ユニット40の各部を制御する。
スイッチ部52は、マグネット24の近接を検知するリードスイッチである。これは、トランスファ接点を有するものであっても、メーク接点を有するものであってもよい。マグネット24が検知ユニット40に近づくと、スイッチ部52はONとなり、離れると、OFFとなる。
磁界測定部53は、外部磁界の強さ(あるいは、磁束密度等)を測定する。磁界測定部53は、外部からスイッチ部52に与えられる磁界の強さを測定することができるように、スイッチ部52の近傍に配置される。外部磁界の強さの測定には、MR素子、ホール素子、及びホールIC等が利用される。
The control unit 51 includes reference setting means and determination means, and controls each part of the detection unit 40.
The switch unit 52 is a reed switch that detects the proximity of the magnet 24. This may have a transfer contact or may have a make contact. When the magnet 24 approaches the detection unit 40, the switch unit 52 is turned on, and when it is separated, it is turned off.
The magnetic field measurement unit 53 measures the strength (or magnetic flux density, etc.) of the external magnetic field. The magnetic field measurement unit 53 is disposed in the vicinity of the switch unit 52 so that the strength of the magnetic field applied to the switch unit 52 from the outside can be measured. An MR element, a Hall element, a Hall IC, and the like are used for measuring the strength of the external magnetic field.

記憶部54は、制御部51の動作プログラム、制御部51における基準設定手段によって設定された基準値、判定値、窓の開閉状態等を記憶する。尚、判定値は、窓が閉じた状態におけるマグネット24から磁界測定部が測定することになる磁界の強さに設計上のマージンを与えた程度の値である。
出力部55は、制御部51における判定手段からの信号を後述の磁気検知式センサの状態を監視する監視部に無線送信する。無線にて送信する理由は、図3の引き違い窓や上げ下げ窓に検知ユニット40を設置する場合、窓を開閉するときに配線が邪魔にならないという利点があるからである。
計時部56は、所定の時間を計時する。
電池57は、検知ユニット40を駆動する電力を供給する。
The storage unit 54 stores the operation program of the control unit 51, the reference value set by the reference setting means in the control unit 51, the determination value, the open / closed state of the window, and the like. The determination value is a value that gives a design margin to the strength of the magnetic field measured by the magnetic field measurement unit from the magnet 24 when the window is closed.
The output unit 55 wirelessly transmits a signal from the determination unit in the control unit 51 to a monitoring unit that monitors the state of a magnetic detection sensor described later. The reason for transmitting wirelessly is that when the detection unit 40 is installed in the sliding window or the raising / lowering window of FIG. 3, there is an advantage that the wiring does not get in the way when the window is opened and closed.
The timer 56 measures a predetermined time.
The battery 57 supplies power for driving the detection unit 40.

図6及び図7は、磁気検知式センサの動作フローである。
これらの図を参照して、検知ユニット40における制御部51の動作フローを説明する。
まず、スイッチ部52の状態を判定し、判定結果に応じて処理を分岐させる(S601)。(A)スイッチ部52の状態に変化がない場合はS601に戻り、(B)スイッチ部52の状態がOFFからONに変化した場合はS602に進み、(C)スイッチ部52の状態がONからOFFに変化した場合はS618に進む。
6 and 7 are operation flows of the magnetic detection type sensor.
With reference to these drawings, an operation flow of the control unit 51 in the detection unit 40 will be described.
First, the state of the switch unit 52 is determined, and the process is branched according to the determination result (S601). (A) When there is no change in the state of the switch unit 52, the process returns to S601. (B) When the state of the switch unit 52 changes from OFF to ON, the process proceeds to S602. (C) The state of the switch unit 52 is changed from ON. If changed to OFF, the process proceeds to S618.

(C)の場合、窓が開いたと判断して、出力部55より後述の監視部に開検知信号を送信する(S618)とともに、開状態を記憶部54に記憶し(S619)、S601に戻る。
(B)の場合、第1の所定時間(T1)を計時する(S602、S603)。この第1の所定時間を計時するのは、窓が閉鎖して窓の動きが完全に停止したと考えられるときの磁界の強さを測定するためである。従って、T1は、数秒程度でよい。
In the case of (C), it is determined that the window has been opened, and an open detection signal is transmitted from the output unit 55 to the monitoring unit described later (S618), and the open state is stored in the storage unit 54 (S619), and the process returns to S601. .
In the case of (B), the first predetermined time (T1) is measured (S602, S603). The first predetermined time is measured in order to measure the strength of the magnetic field when it is considered that the window is closed and the movement of the window is completely stopped. Therefore, T1 may be about several seconds.

S602、S603にてT1を計時した場合、磁界測定部53で測定された磁界の強さをサンプリングして、その絶対値(H0)を基準候補値として記憶部54に一時記憶する(S604)。尚、このサンプリングは短間隔で3回行い、得られた3つのサンプル値の平均値の絶対値を基準候補値(H0)として一時記憶する。   When T1 is measured in S602 and S603, the magnetic field strength measured by the magnetic field measurement unit 53 is sampled, and the absolute value (H0) is temporarily stored in the storage unit 54 as a reference candidate value (S604). This sampling is performed three times at short intervals, and the absolute value of the average value of the three sample values obtained is temporarily stored as a reference candidate value (H0).

次に、この一時記憶した基準候補値から、窓が閉鎖したか否かを判定する。具体的には、S604で得られた基準候補値(H0)が所定の閉鎖強度としての第3の閾値(TH3)より大であるか否かを判定する(S605)。H0>TH3である場合は、基準候補値(H0)を基準値として記憶し(S606)、窓が閉鎖したことを示す閉検知信号を後述の監視部へ送信する(S607)。そして、閉状態を記憶部54に記憶する(S608)。画策行為を検知するための後述の閾値(TH1、TH2)は、この基準値(H0)に基づいて計算される。H0>TH3でない場合は、S601に戻る。   Next, it is determined from the temporarily stored reference candidate value whether or not the window is closed. Specifically, it is determined whether or not the reference candidate value (H0) obtained in S604 is larger than a third threshold (TH3) as a predetermined closing strength (S605). When H0> TH3, the reference candidate value (H0) is stored as a reference value (S606), and a close detection signal indicating that the window is closed is transmitted to the monitoring unit described later (S607). Then, the closed state is stored in the storage unit 54 (S608). Threshold values (TH1, TH2), which will be described later, for detecting the plan action are calculated based on this reference value (H0). If not H0> TH3, the process returns to S601.

この判定を行うことにより、窓が完全に閉鎖していないにも関らずスイッチ部52がONになっている状態(以下、「半締まり状態」と言う)で、S606以降の処理が実行されるのを防ぐことができる。すなわち、スイッチ部52のヒステリシス特性によりスイッチ部52がOFFからONに変化する磁界の強さとONからOFFに変化する磁界の強さが異なるために生じる「半締まり状態」に起因して、不安定な両磁界の強さの中間的値が基準値となるのを防ぐことができる。   By performing this determination, the processing from S606 onward is executed in a state where the switch unit 52 is ON even though the window is not completely closed (hereinafter referred to as “half-tightened state”). Can be prevented. In other words, due to the hysteresis characteristics of the switch section 52, the switch section 52 is unstable due to the “half-tight state” that occurs because the magnetic field strength that changes from OFF to ON differs from the magnetic field intensity that changes from ON to OFF. It is possible to prevent an intermediate value between the strengths of both magnetic fields from becoming the reference value.

図8は、スイッチ部52のヒステリシス特性を示す図である。
以下で同図を用いてスイッチ部52のヒステリシス特性について説明する。
同図に示したように、スイッチ部52は、ヒステリシス特性により、OFFからONに切り換わるときの磁界の強さHonと、ONからOFFに切り換わるときの磁界の強さHoffとが異なる。
FIG. 8 is a diagram illustrating the hysteresis characteristics of the switch unit 52.
Hereinafter, the hysteresis characteristics of the switch unit 52 will be described with reference to FIG.
As shown in the figure, the switch unit 52 has a hysteresis characteristic that differs between the magnetic field strength Hon when switching from OFF to ON and the magnetic field strength Hoff when switching from ON to OFF.

窓が完全に開いている状態のときの磁界測定部53における磁界の強さは、Hoffより小さい。窓を閉めると、磁界測定部53における磁界の強さは、Honより大きい状態に変化し、スイッチ部52はOFFからONに切り換わる。これが、窓とスイッチ部52の通常の動作関係である。これに対し、窓を強めに閉めて、窓が窓枠にぶつかった反動で跳ね返った場合などに、窓が少し開いて止まることがある。このとき、磁界の強さがHoffとHonの間であると、スイッチ部52がONの状態にとどまり、(処理S605を実行しなければ)閉状態であると判定されてしまう。これが、先に述べた半締まり状態である。   The strength of the magnetic field in the magnetic field measurement unit 53 when the window is completely open is smaller than Hoff. When the window is closed, the magnetic field strength in the magnetic field measurement unit 53 changes to a state larger than Hon, and the switch unit 52 is switched from OFF to ON. This is a normal operation relationship between the window and the switch unit 52. On the other hand, when the window is tightly closed and the window bounces back when it hits the window frame, the window may open slightly and stop. At this time, if the strength of the magnetic field is between Hoff and Hon, the switch unit 52 remains in the ON state, and it is determined that the switch unit 52 is in the closed state (unless the process S605 is executed). This is the semi-tight state described above.

窓が半締まり状態であるときに基準値(H0)が記憶されると、後述の第1の閾値(TH1)は、窓が完全に閉まっているときに設定される値より、小さ目の値に設定されることになる。その結果、窓を半締まり状態から完全に閉じると、第1の閾値(TH1)を越える磁界の強さを検出してしまうことがあり、画策行為でないにも関らず画策行為と誤って判定することがある。
そこで、一時記憶された基準候補値(H0)が窓の完全に閉まった状態で得られたものであることをS605の処理にて判定し、S606以降の処理を実行している。
When the reference value (H0) is stored when the window is in the half-tight state, the first threshold value (TH1) described later is set to a smaller value than the value set when the window is completely closed. Will be set. As a result, when the window is completely closed from the half-tight state, the magnetic field strength exceeding the first threshold (TH1) may be detected, and it is erroneously determined as a plan action even though it is not a plan action. There are things to do.
Therefore, it is determined in the process of S605 that the temporarily stored reference candidate value (H0) is obtained when the window is completely closed, and the processes after S606 are executed.

所定の閉鎖強度としての第3の閾値(TH3)の決め方を以下に説明する。
TH3は、スイッチ部52の部品性能のばらつきと環境要因による磁界の強さの変動等を考慮して決定する。
A method of determining the third threshold value (TH3) as the predetermined closing strength will be described below.
TH3 is determined in consideration of variations in the component performance of the switch unit 52 and fluctuations in magnetic field strength due to environmental factors.

スイッチ部52の部品性能のばらつきとは、同じ種類の部品を使用していても、図8に示すHoff、Honの値にばらつきがあることである。このHoff、Honのばらつきは実験的に求められる。   The variation in the component performance of the switch unit 52 means that even if the same type of component is used, the values of Hoff and Hon shown in FIG. 8 vary. The variations in Hoff and Hon are obtained experimentally.

環境要因とは、例えば風や付近を通過する車による振動であり、これらの影響によって閉鎖した状態の窓や扉が揺れて、磁界測定部53における磁界の強さが変動するのである。この環境要因による磁界の強さの変動も、様々な種類の窓や扉について実験的に求められている。   The environmental factor is, for example, wind or vibration caused by a car passing in the vicinity. The closed window or door is shaken by these influences, and the strength of the magnetic field in the magnetic field measuring unit 53 varies. Variations in the strength of the magnetic field due to environmental factors are also experimentally required for various types of windows and doors.

スイッチ部52における部品性能のばらつきと環境要因による磁界の強さの変動を図8に点線で示した。
ここで、ΔHonは、スイッチ部52における部品性能のばらつきによりHonが取る値の幅である。Hoffも同様の幅を持つが、図8には、説明に必要なHonの幅のみを示した。スイッチ部52のヒステリシス特性は、検知ユニット40にマグネット24を近づけたり、遠ざけたりする実験によって求められるが、この実験を複数の検知ユニット40について行うことでHonの取り得る範囲が得られる。同図において、Hon_min、Hon_maxは、それぞれ、磁界測定部53で測定したHonの最小値、最大値である。
The dotted line in FIG. 8 shows variations in the component performance in the switch 52 and fluctuations in the magnetic field strength due to environmental factors.
Here, ΔHon is a range of values that Hon takes due to variations in component performance in the switch unit 52. Although Hoff has the same width, FIG. 8 shows only the width of Hon necessary for the description. The hysteresis characteristic of the switch unit 52 is obtained by an experiment in which the magnet 24 is moved closer to or away from the detection unit 40. By performing this experiment for a plurality of detection units 40, a range that Hon can take is obtained. In the figure, Hon_min and Hon_max are the minimum value and the maximum value of Hon measured by the magnetic field measurement unit 53, respectively.

また、ΔHeは、窓又は扉が閉鎖状態のときの環境要因による磁界の強さ(He)の変動の幅である。窓又は扉を閉状態にして風や振動等を与え、磁界測定部53から得られる磁界の強さの絶対値を測定する実験により、Heの範囲He_min≦He≦He_maxが得られる。ここで、He_min、He_maxは、それぞれ、磁界測定部53における実験値の最小値、最大値である。   Further, ΔHe is the width of fluctuation of the magnetic field strength (He) due to environmental factors when the window or door is closed. A range He_min ≦ He ≦ He_max of He is obtained by an experiment in which the absolute value of the strength of the magnetic field obtained from the magnetic field measuring unit 53 is measured by applying wind or vibration with the window or door closed. Here, He_min and He_max are the minimum value and the maximum value of the experimental values in the magnetic field measurement unit 53, respectively.

一時記憶された基準候補値(H0)が窓の完全に閉まった状態で得られたものであるための必要条件は、図8から明らかなように、H0>Hon_maxである。
従って、S606以降の処理に進んでよいのは、少なくともH0>Hon_maxが成立する場合である。
The necessary condition for the temporarily stored reference candidate value (H0) to be obtained when the window is completely closed is H0> Hon_max, as is apparent from FIG.
Therefore, the process may proceed to the processing after S606 when at least H0> Hon_max is satisfied.

よって、S605の判定分岐で用いる第3の閾値(TH3)は、
TH3≧Hon_max …(1)
を満たす必要がある。つまり、TH3は、スイッチ部52の開状態から閉状態への変化を検出する磁界の強さより、少なくとも大きい値に設定しなければならない。
これを満たす適当なTH3の値を選択し、S605の判定でH0>TH3が成立した場合に、窓は半締まりではなく閉鎖していると判断し、S606以降の処理に進むのである。
Therefore, the third threshold (TH3) used in the determination branch of S605 is
TH3 ≧ Hon_max (1)
It is necessary to satisfy. That is, TH3 must be set to a value that is at least larger than the strength of the magnetic field for detecting the change of the switch unit 52 from the open state to the closed state.
When an appropriate value of TH3 that satisfies this condition is selected and H0> TH3 is established in the determination in S605, it is determined that the window is not half-tight but closed, and the process proceeds to S606 and subsequent steps.

S605の判定(H0>TH3)にて窓が完全に閉まっていると認められる状態でS606以降の処理に進むには、TH3の値としては、式(1)を満たす範囲でできる限り大きい値を設定するのが望ましい。しかし、TH3の値としてあまり大きい値を選択すると、窓が閉鎖しているにも関らず、閉鎖していないと判断されてしまうという不都合が生じるので、何らかの考えに従ってTH3の値に上限を設けておく必要がある。   In order to proceed to the processing after S606 in a state in which it is recognized that the window is completely closed in the determination of S605 (H0> TH3), the value of TH3 should be as large as possible within the range satisfying Expression (1). It is desirable to set. However, if a very large value is selected as the value of TH3, there is a disadvantage that it is determined that the window is not closed even though the window is closed. It is necessary to keep.

できれば、実際の使用環境下で窓が閉鎖状態にあるときに磁界測定部53で測定されると考えられる磁界の強さの絶対値H(その範囲は、He_min≦H≦He_max)に基づいて、TH3の値を設定すべきであるが、TH3を
TH3=He_min+α(α>0) …(2)
のような大きい値に設定すると、窓が完全に閉鎖しているにも関らず、S605において窓が閉鎖していると判定されず、S606以降の処理に進めないという不都合が生じる可能性が高くなる。
If possible, based on the absolute value H (the range is He_min ≦ H ≦ He_max) of the strength of the magnetic field that is considered to be measured by the magnetic field measurement unit 53 when the window is in a closed state under the actual use environment. The value of TH3 should be set, but TH3 is set to TH3 = He_min + α (α> 0) (2)
If a large value such as this is set, it is not determined that the window is closed in S605 even though the window is completely closed, and there is a possibility that inconvenience that the process cannot proceed to S606 and subsequent steps may occur. Get higher.

よって、S605の判定分岐で用いる第3の閾値(TH3)は、
TH3≦He_min …(3)
を満たす必要がある。
従って、式(1)、式(3)により、第3の閾値(TH3)は、
Hon_max≦TH3≦He_min …(4)
を満たす範囲内に設定することとする。
Therefore, the third threshold (TH3) used in the determination branch of S605 is
TH3 ≦ He_min (3)
It is necessary to satisfy.
Therefore, the third threshold value (TH3) is obtained from the equations (1) and (3).
Hon_max ≦ TH3 ≦ He_min (4)
It shall be set within the range that satisfies the above.

式(4)を満たす範囲でTH3を大きい値に設定すれば、厳格に窓の閉鎖を判定することができる。また、この範囲内でTH3を小さい値に設定すれば、窓が閉鎖しているにも関らずS605において窓が閉鎖状態にないと判定されてしまいS606以降の処理に進めないという不都合が生じる可能性をより少なくすることができる。   If TH3 is set to a large value within a range that satisfies Expression (4), it is possible to strictly determine the closing of the window. In addition, if TH3 is set to a small value within this range, it is determined that the window is not closed in S605 even though the window is closed, and there is a problem that it is not possible to proceed to the processing after S606. The possibility can be reduced.

S605で、H0>TH3である場合は、基準候補値(H0)を基準値として記憶部54に記憶する(S606)。そして、窓が閉鎖したことを示す閉検知信号を後述の監視部へ送信し(S607)、閉状態を記憶部54に記憶し(S608)、S609以降の処理に進む。
この場合、S606にて記憶した基準値(H0)に基づき、次に説明する式(6’)及び式(7’)に従って、それぞれ第1の閾値(TH1)及び第2の閾値(TH2)を設定して、記憶部54に記憶する(S609)。
If H0> TH3 in S605, the reference candidate value (H0) is stored in the storage unit 54 as a reference value (S606). Then, a closing detection signal indicating that the window is closed is transmitted to a monitoring unit described later (S607), the closed state is stored in the storage unit 54 (S608), and the process proceeds to S609 and subsequent steps.
In this case, based on the reference value (H0) stored in S606, the first threshold value (TH1) and the second threshold value (TH2) are respectively set according to the equation (6 ′) and the equation (7 ′) described below. The data is set and stored in the storage unit 54 (S609).

ここでTH1、TH2の値の決め方について説明する。
窓を開けたときにスイッチ部52がOFFにならないように画策行為を行うマグネット25の磁界の強さは、正規のマグネット24の磁界がなくなった場合に画策用マグネット25単独でスイッチ部52をON状態に少なくとも保持できる値であると考えられる(図4(c)参照)。すなわち、画策用マグネット25が画策可能である磁界の強さは、図8から明らかであるように、Hoffより大きい。
Here, how to determine the values of TH1 and TH2 will be described.
The strength of the magnetic field of the magnet 25 that performs the planning action so that the switch section 52 is not turned off when the window is opened is that the switching section 52 is turned on by the planning magnet 25 alone when the magnetic field of the regular magnet 24 is lost. It is considered that the value can be held at least in the state (see FIG. 4C). That is, the strength of the magnetic field that can be planned by the planning magnet 25 is larger than Hoff, as is apparent from FIG.

また、画策行為を行うため、閉鎖された状態の窓に画策用マグネット25が近接された場合、測定された合計の磁界の強さ(H)と正規のマグネットの磁界の強さ(H0)との差が、おおむね画策用マグネット25の磁界の強さであると考えられる。
従って、画策用マグネット25が画策可能である条件は、
|H−H0|>Hoff …(5)

H−H0>Hoff 又は H−H0<−Hoff

H>H0+Hoff 又は H<H0−Hoff …(5’)
である。
Further, when the planning magnet 25 is brought close to a closed window to perform the planning action, the measured total magnetic field strength (H) and the normal magnetic field strength (H0) It is considered that the difference is roughly the strength of the magnetic field of the planner magnet 25.
Therefore, the conditions under which the planning magnet 25 can plan are:
| H-H0 |> Hoff (5)

H-H0> Hoff or H-H0 <-Hoff

H> H0 + Hoff or H <H0−Hoff (5 ′)
It is.

以上の考察により、測定された磁界の強さHが式(5’)を満たすときに限ってスイッチ部52をONの状態に維持したまま画策行為を行うことが可能なので、次の近似式
TH1≒H0+Hoff …(6)
TH2≒H0−Hoff …(7)
に従って、第1及び第2の閾値を定め、
H>TH1 又は H<TH2 …(5’’)
の成立をもって画策行為が行われたと判定することとする。
Based on the above consideration, it is possible to perform the planning action while the switch unit 52 is kept on only when the measured magnetic field strength H satisfies the equation (5 ′). ≒ H0 + Hoff (6)
TH2≈H0−Hoff (7)
According to the first and second thresholds,
H> TH1 or H <TH2 (5 ″)
It is determined that the plan action has been performed with the establishment of.

厳密には、第1及び第2の閾値は、それぞれ、
TH1=H0+(Hoff+ε1) …(6’)
TH2=H0−(Hoff+ε2) …(7’)
と表される(ε1、ε2の符号は、正とは限らない)。ε1及びε2は、スイッチ部52、磁界測定部53、マグネット24の部品性能の誤差、センサのマグネット24に様々な磁界の強さを有する別のマグネットを重ね合わせたときの磁界の強さの変化率等を考慮して、実験的に決定する。従って、判定値は、式(6’)におけるHoff+ε1、又は式(7’)におけるHoff+ε2となる。
Strictly speaking, the first and second threshold values are respectively
TH1 = H0 + (Hoff + ε1) (6 ′)
TH2 = H0− (Hoff + ε2) (7 ′)
(The signs of ε1 and ε2 are not necessarily positive). ε1 and ε2 are changes in the component performance of the switch unit 52, the magnetic field measurement unit 53, and the magnet 24, and changes in the magnetic field strength when other magnets having various magnetic field strengths are superimposed on the sensor magnet 24. It is determined experimentally in consideration of the rate. Accordingly, the determination value is Hoff + ε1 in Expression (6 ′) or Hoff + ε2 in Expression (7 ′).

S609で閾値を設定した後は、第2の所定時間(T2)を計時し(S610、S612)つつ、この計時のループの中でスイッチ部52の状態を判定する(S611)。スイッチ部52の状態がONからOFFに変化した場合は、計時のループから抜け、窓が開いたと判断して、出力部55より後述の監視部に開検知信号を送信する(S618)とともに、開状態を記憶部54に記憶して(S619)、S601に戻る。   After setting the threshold value in S609, the second predetermined time (T2) is counted (S610, S612), and the state of the switch unit 52 is determined in this timing loop (S611). When the state of the switch unit 52 changes from ON to OFF, it is determined that the time loop has been exited and the window has been opened, and an open detection signal is transmitted from the output unit 55 to the monitoring unit described later (S618). The state is stored in the storage unit 54 (S619), and the process returns to S601.

計時のループからS618に抜けなかった場合は、引き続き、磁界測定部53で測定された磁界の強さをサンプリングして、その絶対値(H)を得て(S613)、式(5’’)が成立するか否かを判定する(S614)。   If the process does not escape from the timed loop to S618, the magnetic field strength measured by the magnetic field measurement unit 53 is sampled to obtain the absolute value (H) (S613), and the equation (5 '') It is determined whether or not is established (S614).

S614において式(5’’)が成立した場合、閉状態を記憶していれば(S615YES)、開検知信号を出力部55から後述の監視部へ送信する(S616)とともに、開状態を記憶部54に記憶する(S617)。そして、S610に進む。
S614において、式(5’’)が成立しなかった場合、開状態を記憶していれば(S620YES)、閉検知信号を後述の監視部へ送信する(S621)とともに、閉状態を記憶部54に記憶する(S622)。そして、S610に進む。
When the formula (5 ″) is established in S614, if the closed state is stored (YES in S615), an open detection signal is transmitted from the output unit 55 to the monitoring unit described later (S616), and the open state is stored in the storage unit. 54 (S617). Then, the process proceeds to S610.
In S614, if the expression (5 ″) is not satisfied, if the open state is stored (YES in S620), a close detection signal is transmitted to the monitoring unit described later (S621), and the close state is stored in the storage unit 54. (S622). Then, the process proceeds to S610.

次に、監視部(図示せず)の構成について説明する。
監視部は、利用者が磁気検知式センサの監視を有効にするモード設定部と、磁気検知式センサからの信号を受信する受信部と、磁気検知式センサからの(窓の開閉状態に関する)信号やモードを記憶する記憶部と、窓の開放をブザー等で知らせる警報部と、表示部と、それらを制御する監視制御部と、から構成される。
Next, the configuration of the monitoring unit (not shown) will be described.
The monitoring unit includes a mode setting unit that enables the user to monitor the magnetic detection sensor, a reception unit that receives a signal from the magnetic detection sensor, and a signal (related to the open / closed state of the window) from the magnetic detection sensor. And a storage unit for storing the mode, an alarm unit for informing the opening of the window with a buzzer, a display unit, and a monitoring control unit for controlling them.

次に、監視部の動作について説明する。
受信部は、磁気検知式センサからの開検知信号、閉検知信号を受信し、これらの信号に基づいて窓の開閉状態等が記憶部に記憶される。
モード設定部にて、磁気検知式センサの監視が有効に設定されると、磁気検知式センサが閉鎖状態であるか否かを記憶部から参照する。
Next, the operation of the monitoring unit will be described.
The receiving unit receives the open detection signal and the close detection signal from the magnetic detection type sensor, and the open / close state of the window and the like are stored in the storage unit based on these signals.
When monitoring of the magnetic detection type sensor is effectively set by the mode setting unit, the storage unit refers to whether or not the magnetic detection type sensor is in a closed state.

閉状態であれば、監視セットモードが記憶される。開状態であれば、窓が閉鎖していない旨を示す表示を表示部にて行う。これにより、利用者が窓を閉めたと認識していても、窓が不完全閉鎖であることを利用者に認識させ、窓を完全に閉鎖させることができる。
監視セットモードが記憶されている場合に、受信部が開検知信号を受信すると、警報部を駆動し、表示部にて窓が開いたことを示す表示を行う。
尚、後述するように磁気検知式センサにおける画策行為の検知を通常の開(閉)検知信号と区別して送信している場合は、その旨を示す表示を別に行ってもよい。
If it is closed, the monitoring set mode is stored. If it is in the open state, a display indicating that the window is not closed is performed on the display unit. Thereby, even if the user recognizes that the window is closed, the user can recognize that the window is incompletely closed, and the window can be completely closed.
When the monitoring set mode is stored, when the receiving unit receives an open detection signal, the alarm unit is driven, and the display unit displays that the window has been opened.
In addition, as will be described later, when the detection of the planning action in the magnetic detection type sensor is transmitted separately from the normal open (closed) detection signal, a display to that effect may be performed separately.

次に、本発明に係る磁気検知式センサが画策行為を検知するタイミングチャートを説明する。
図9は、基準値が記憶された後に行われる画策を検知するタイミングチャートである。
サッシ31及びサッシ32が閉鎖状態になると、スイッチ部52がONになり、T1を計時する。
Next, a timing chart in which the magnetic detection sensor according to the present invention detects a plan action will be described.
FIG. 9 is a timing chart for detecting a plan to be performed after the reference value is stored.
When the sash 31 and the sash 32 are in the closed state, the switch unit 52 is turned on and times T1.

T1経過後、磁界測定部53で測定された磁界の強さをサンプリングし、その絶対値がTH3を越えていれば、基準値(H0)として記憶する。尚、本実施例においては、短間隔で3回連続サンプリングし、その平均の絶対値がTH3を越えていれば、基準値(H0)として記憶する。これにより、ノイズ等の影響を防ぎ、適切な基準値を設定することができる。   After the lapse of T1, the magnetic field strength measured by the magnetic field measurement unit 53 is sampled, and if the absolute value exceeds TH3, it is stored as a reference value (H0). In this embodiment, three consecutive samplings are performed at short intervals, and if the average absolute value exceeds TH3, it is stored as the reference value (H0). Thereby, the influence of noise etc. can be prevented and an appropriate reference value can be set.

こうして、サッシが半締まり状態になっていないことを示す基準値(H0)を記憶すると、第1の閾値(TH1)、第2の閾値(TH2)を設定する。
その後、T2経過ごとに、磁界の強さを測定して、その絶対値(H)とTH1、TH2との比較を行う。
Thus, when the reference value (H0) indicating that the sash is not half-tightened is stored, the first threshold value (TH1) and the second threshold value (TH2) are set.
Thereafter, every time T2 elapses, the strength of the magnetic field is measured, and the absolute value (H) is compared with TH1 and TH2.

このとき、画策用マグネット25を検知ユニット40に近づけたとする。そうすると、磁界測定部53で測定された磁界の強さの絶対値(H)は、式(5’)を満たす範囲の値を取る。Hが画策可能な磁界の強さを持つ場合、式(5’’)を満たすように、TH1、TH2は決めてあるので、画策行為が検知され、開検知信号が監視部に送信される。   At this time, it is assumed that the planner magnet 25 is brought close to the detection unit 40. Then, the absolute value (H) of the magnetic field intensity measured by the magnetic field measurement unit 53 takes a value in a range that satisfies the equation (5 ′). When H has the strength of the magnetic field that can be planned, TH1 and TH2 are determined so as to satisfy the expression (5 ″), so that the planning action is detected and an open detection signal is transmitted to the monitoring unit.

図10は、基準値が記憶される前に行われる画策を検知するタイミングチャートである。
まず、サッシ31及びサッシ32が開いている状態のときに、画策用マグネット25がマグネット24に取り付けられたとする。
FIG. 10 is a timing chart for detecting a plan to be performed before the reference value is stored.
First, it is assumed that the planning magnet 25 is attached to the magnet 24 when the sash 31 and the sash 32 are open.

サッシが閉鎖状態になると、所定時間T1を計時する。T1経過後、磁界測定部53で測定された磁界の強さの絶対値がTH3を越えていれば、その値を基準値(H0)として記憶する。この時点では、基準値(H0)自体が、マグネット24及び画策用マグネット25の両者から得られる値となるので、画策を検知しない。   When the sash is closed, the predetermined time T1 is counted. If the absolute value of the magnetic field intensity measured by the magnetic field measurement unit 53 after T1 has passed exceeds TH3, that value is stored as a reference value (H0). At this time, the reference value (H0) itself is a value obtained from both the magnet 24 and the planning magnet 25, so that the planning is not detected.

そして、第1の閾値(TH1)、第2の閾値(TH2)を設定する。
その後、T2経過ごとに、磁界の強さを測定して、この磁界の強さの絶対値(H)とTH1、TH2との比較を行う。
Then, a first threshold value (TH1) and a second threshold value (TH2) are set.
Thereafter, the magnetic field strength is measured every time T2 elapses, and the absolute value (H) of the magnetic field strength is compared with TH1 and TH2.

このとき、サッシを開けたとする。
サッシを開けたとき、検知ユニット40に影響を与える磁界は画策用マグネットの磁界のみとなるので、このときの磁界の強さの変化の大きさは、おおむね正規のマグネット24の磁界の強さ(Hn)である。
It is assumed that the sash is opened at this time.
When the sash is opened, the magnetic field that affects the detection unit 40 is only the magnetic field of the planning magnet. Therefore, the magnitude of the change in the strength of the magnetic field at this time is roughly the strength of the magnetic field of the regular magnet 24 ( Hn).

すなわち、このとき
|H−H0|=Hn …(8)
が成立する。
ところで、サッシが閉じている場合には、スイッチ部52は必ずON状態となる必要があるので、正規のマグネット24の磁界の強さ(Hn)は、Hn>Honを満たすように装置は設計されている(図8参照)。これと、Hon>Hoffより、Hn>Hoffが成り立つ。
That is, at this time
| H−H0 | = Hn (8)
Is established.
By the way, when the sash is closed, the switch unit 52 must be in the ON state. Therefore, the apparatus is designed so that the magnetic field strength (Hn) of the regular magnet 24 satisfies Hn> Hon. (See FIG. 8). From this and Hon> Hoff, Hn> Hoff holds.

従って、式(8)より、正規のマグネット24がなくなり、画策用マグネットのみが存在するときの磁界の強さ(H)に関しては、
|H−H0|>Hoff …(9)

H−H0>Hoff 又は H−H0<−Hoff

H>H0+Hoff 又は H<H0−Hoff …(9’)
が成立する。
これは、式(5’)と全く同じ式である。
Therefore, from the equation (8), regarding the strength (H) of the magnetic field when there is no regular magnet 24 and only the planning magnet is present,
| H-H0 |> Hoff (9)

H-H0> Hoff or H-H0 <-Hoff

H> H0 + Hoff or H <H0−Hoff (9 ′)
Is established.
This is the same formula as formula (5 ′).

正規のマグネット24がなくなり、画策用マグネットのみが存在するときの磁界強さ(H)も、やはり、式(5’)を満たす範囲の値を取る。Hがこの範囲にあることを検知するように、あらかじめTH1、TH2は決めてあるので、画策行為が検知され、開検知信号が監視部に送信される。   The magnetic field strength (H) when the regular magnet 24 is eliminated and only the planning magnet is present also takes a value in a range that satisfies the equation (5 '). Since TH1 and TH2 are determined in advance so as to detect that H is in this range, the plan action is detected and an open detection signal is transmitted to the monitoring unit.

すなわち、「基準値が記憶される前に行われる画策を検知する場合」に用いる第1及び第2の閾値として、「基準値が記憶された後に行われる画策を検知する場合」に用いる第1及び第2の閾値と全く同一の値を用いることができる。
従って、式(6’)及び式(7’)で計算された閾値と図6及び図7の動作フローに従う画策検知の方法は、窓や扉がどんな状態のときに画策行為が行われても、それを検知できることが示された。
That is, as the first and second threshold values used for “when detecting an action taken before the reference value is stored”, the first threshold used for “when detecting an action executed after the reference value is stored”. The same value as the second threshold value can be used.
Therefore, the method for detecting the plan according to the threshold values calculated by the formulas (6 ′) and (7 ′) and the operation flow of FIGS. 6 and 7 can be used regardless of the state of the windows or doors. It was shown that it can be detected.

ところで、式(6’)及び式(7’)におけるε1及びε2に関しては、重ね合わされているセンサのマグネット24と別のマグネットからセンサのマグネット24を取り除いたときの磁界の変化率も考慮して、実験的に決定する。   By the way, with respect to ε1 and ε2 in the equations (6 ′) and (7 ′), the change rate of the magnetic field when the sensor magnet 24 is removed from another magnet and the magnet 24 of the superimposed sensor is also taken into consideration. Determine experimentally.

第1の実施例においては、スイッチ部52の状態がOFFからONになったことをトリガとして基準値(H0)を設定していたが、基準値を設定するタイミングを利用者が指定するようにしてもよい。   In the first embodiment, the reference value (H0) is set as a trigger when the state of the switch unit 52 changes from OFF to ON, but the user specifies the timing for setting the reference value. May be.

例えば、監視部のモード設定部に基準値設定モードを設けて、利用者がこのモードを選択したときに基準値の記憶を行うことができる。基準値設定モードを監視部ではなく磁気検知式センサの側に設けることも考えられる。
また、監視部のモード設定部にて利用者が監視セットモードを選択したときに基準値の記憶を行うことができる。
For example, a reference value setting mode can be provided in the mode setting unit of the monitoring unit, and the reference value can be stored when the user selects this mode. It is also conceivable to provide the reference value setting mode not on the monitoring unit but on the magnetic detection type sensor side.
Further, the reference value can be stored when the user selects the monitoring set mode in the mode setting unit of the monitoring unit.

上述のように基準値を設定するタイミングを利用者が指定する第2の実施例における動作フローについて以下で説明する。尚、第2の実施例におけるTH1、TH2、及びTH3の値の決め方は、第1の実施例と同様である。
図11は基準値の記憶フローである。
同図を参照して、検知ユニット40における制御部51の動作フローを説明する。
前述したように、利用者が基準値設定モードを選択した場合や監視セットモードを選択した場合に、このフローはスタートする。
The operation flow in the second embodiment in which the user designates the timing for setting the reference value as described above will be described below. The method for determining the values of TH1, TH2, and TH3 in the second embodiment is the same as that in the first embodiment.
FIG. 11 is a reference value storing flow.
With reference to the figure, the operation | movement flow of the control part 51 in the detection unit 40 is demonstrated.
As described above, this flow starts when the user selects the reference value setting mode or the monitoring set mode.

まず、スイッチ部52がON状態であるか否かを判定し(S1101)、ONである場合は、S1102に進み、そうでない場合は、S1101に戻る。
S1101で、スイッチ部52がON状態である場合、磁界測定部53で測定された磁界の強さをサンプリングして、その絶対値を記憶部54に一時記憶する(S1102)。尚、このサンプリングは短間隔で3回行い、得られた3つのサンプル値の平均値の絶対値を基準候補値(H0)として一時記憶する。
First, it is determined whether or not the switch unit 52 is in the ON state (S1101). If it is ON, the process proceeds to S1102, and if not, the process returns to S1101.
If the switch unit 52 is in the ON state in S1101, the magnetic field intensity measured by the magnetic field measurement unit 53 is sampled, and the absolute value is temporarily stored in the storage unit 54 (S1102). This sampling is performed three times at short intervals, and the absolute value of the average value of the three sample values obtained is temporarily stored as a reference candidate value (H0).

次に、窓が閉鎖したか否かを判定する。具体的には、S1102で得られた基準候補値(H0)が第3の閾値(TH3)より大であるか否かを判定する(S1103)。H0>TH3である場合は、S1104に進み、そうでない場合は、S1101に戻る。   Next, it is determined whether or not the window is closed. Specifically, it is determined whether or not the reference candidate value (H0) obtained in S1102 is larger than the third threshold value (TH3) (S1103). If H0> TH3, the process proceeds to S1104. Otherwise, the process returns to S1101.

S1103で、H0>TH3である場合、S1102にて得られた基準候補値(H0)を基準値として記憶部54に記憶する(S1104)。そして、式(6’)及び式(7’)に従って、それぞれ第1の閾値(TH1)及び第2の閾値(TH2)を設定して、記憶部54に記憶し(S1105)、基準値の記憶フローを終了する。   If H0> TH3 in S1103, the reference candidate value (H0) obtained in S1102 is stored in the storage unit 54 as a reference value (S1104). Then, the first threshold value (TH1) and the second threshold value (TH2) are set according to the equations (6 ′) and (7 ′), respectively, and stored in the storage unit 54 (S1105), and the reference value is stored. End the flow.

図12及び図13は、磁気検知式センサの監視フローである。
これらの図を参照して、検知ユニット40における制御部51の動作フローを説明する。
まず、スイッチ部52の状態を判定し、判定結果に応じて処理を分岐させる(S1201)。(A)スイッチ部52の状態に変化がない場合はS1201に戻り、(B)スイッチ部52の状態がOFFからONに変化した場合はS1202に進み、(C)スイッチ部52の状態がONからOFFに変化した場合はS1216に進む。
12 and 13 are monitoring flows of the magnetic detection type sensor.
With reference to these drawings, an operation flow of the control unit 51 in the detection unit 40 will be described.
First, the state of the switch unit 52 is determined, and the process is branched according to the determination result (S1201). (A) If there is no change in the state of the switch unit 52, the process returns to S1201, (B) if the state of the switch unit 52 changes from OFF to ON, the process proceeds to S1202, and (C) the state of the switch unit 52 is changed from ON. If it has changed to OFF, the process proceeds to S1216.

(C)の場合、窓が開いたと判断して、出力部55より監視部に開検知信号を送信する(S1216)とともに、開状態を記憶部54に記憶し(S1217)、S1201に戻る。
(B)の場合、窓が閉鎖したか否かを判定する。具体的には、第1の所定時間(T1)経過後にサンプリングした磁界の強さの絶対値(H)が第3の閾値(TH3)より大であるか否かを判定する(S1205)。H>TH3である場合は、出力部55より監視部に閉検知信号を送信する(S1206)とともに、閉状態を記憶部54に記憶する(S1207)。H>TH3でない場合は、S1201に戻る。
In the case of (C), it is determined that the window has been opened, and an open detection signal is transmitted from the output unit 55 to the monitoring unit (S1216), and the open state is stored in the storage unit 54 (S1217), and the process returns to S1201.
In the case of (B), it is determined whether or not the window is closed. Specifically, it is determined whether or not the absolute value (H) of the magnetic field strength sampled after the first predetermined time (T1) has elapsed is greater than the third threshold (TH3) (S1205). When H> TH3, a closing detection signal is transmitted from the output unit 55 to the monitoring unit (S1206), and the closed state is stored in the storage unit 54 (S1207). If not H> TH3, the process returns to S1201.

S1207終了後は、第2の所定時間(T2)を計時し(S1208、S1210)つつ、この計時のループの中でスイッチ部52の状態を判定する(S1209)。スイッチ部52の状態がONからOFFに変化した場合は、計時のループから抜け、窓が開いたと判断して、出力部55より監視部に開検知信号を送信する(S1216)ともに、開状態を記憶部54に記憶して(S1217)、S1201に戻る。   After completion of S1207, the second predetermined time (T2) is counted (S1208, S1210), and the state of the switch unit 52 is determined in this timing loop (S1209). When the state of the switch unit 52 is changed from ON to OFF, it is determined that the time loop is exited and the window is opened, and an open detection signal is transmitted from the output unit 55 to the monitoring unit (S1216). It memorize | stores in the memory | storage part 54 (S1217), and returns to S1201.

計時のループからS1216に抜けなかった場合は、引き続き、磁界測定部53で測定された磁界の強さをサンプリングして、その絶対値(H)を得て(S1211)、式(5’’)が成立するか否かを判定する(S1212)。   If the process does not escape from the timed loop to S1216, the magnetic field strength measured by the magnetic field measurement unit 53 is sampled to obtain the absolute value (H) (S1211), and the equation (5 ″) Whether or not is satisfied is determined (S1212).

式(5’’)が成立した場合、閉状態を記憶していれば(S1213Y)、開検知信号を出力部55から監視部へ送信する(S1214)とともに、開状態を記憶部54に記憶する(S1215)。そして、S1208に進む。
S1212において、式(5’’)が成立しなかった場合、開状態を記憶していれば(S1218のY)、閉検知信号を監視部へ送信する(S1219)とともに、閉状態を記憶部54に記憶する(S1220)。そして、S1208に進む。
If the closed state is stored when Expression (5 ″) is established (S1213Y), an open detection signal is transmitted from the output unit 55 to the monitoring unit (S1214), and the open state is stored in the storage unit 54. (S1215). Then, the process proceeds to S1208.
If the expression (5 ″) is not satisfied in S1212, if the open state is stored (Y in S1218), a close detection signal is transmitted to the monitoring unit (S1219), and the close state is stored in the storage unit 54. (S1220). Then, the process proceeds to S1208.

第3の実施例における磁気検知式センサのブロック図は、図5に示した第1の実施例の磁気検知式センサのブロック図と同様であるが、制御部51に最大値検出手段としての機能が追加されている。また、制御部51の動作フローは、画策行為の有無の判定動作を図14のように行う点が第1の実施例と異なる。   The block diagram of the magnetic detection type sensor in the third embodiment is the same as the block diagram of the magnetic detection type sensor in the first embodiment shown in FIG. 5, but the controller 51 functions as a maximum value detecting means. Has been added. Further, the operation flow of the control unit 51 is different from that of the first embodiment in that an operation for determining the presence or absence of a plan action is performed as shown in FIG.

図14は、磁気検知式センサの動作フローの一部である。
以下、同図を参照して、第3の実施例について説明する。
尚、図14は、第1の実施例と異なる処理の部分のみを示している。具体的には図7のS613以降の処理である。
FIG. 14 is a part of an operation flow of the magnetic detection type sensor.
The third embodiment will be described below with reference to FIG.
FIG. 14 shows only processing portions different from those in the first embodiment. Specifically, it is the processing after S613 in FIG.

第1及び第2の実施例においては、式(5’’)の成立をもって画策行為有りと判定している。
第3の実施例においては、式(5’’)の内、
H<TH2 …(10)
が成立したとき(S630YES)に、S631に進む。
閉状態を記憶していれば(S631YES)、開検知信号を送信する(S632)とともに、開状態を記憶部54に記憶し(S633)、図7のS610に戻る。
閉状態を記憶していなければ(S631NO)、図7のS610に戻る。
In the first and second embodiments, it is determined that there is a plan action when the expression (5 ″) is established.
In the third embodiment, in the formula (5 ″),
H <TH2 (10)
Is established (YES at S630), the process proceeds to S631.
If the closed state is stored (YES at S631), an open detection signal is transmitted (S632), the open state is stored in the storage unit 54 (S633), and the process returns to S610 in FIG.
If the closed state is not stored (S631 NO), the process returns to S610 in FIG.

これに対し、式(5’’)の内、
H>TH1 …(11)
が成立したとき(S634YES)には、すぐに開検知信号を送信しない。
On the other hand, in formula (5 ''),
H> TH1 (11)
When is established (YES in S634), the open detection signal is not transmitted immediately.

この理由について、図8を参照して説明する。
第1及び第2の実施例においては、He_min以下の第3の閾値(TH3)にて窓が閉まっていることを判定していた。ところが、本発明の装置が実際の環境で使用される際には、窓が閉まっている場合に磁界の強さの絶対値Hは、He_min≦H≦He_maxの範囲にある可能性がある。
The reason for this will be described with reference to FIG.
In the first and second embodiments, it is determined that the window is closed at the third threshold value (TH3) equal to or less than He_min. However, when the device of the present invention is used in an actual environment, the absolute value H of the magnetic field strength may be in the range of He_min ≦ H ≦ He_max when the window is closed.

つまり、実際の使用環境を考慮した場合、TH3は、窓が完全に閉まっているときの磁界の強さを越えるように設定されているという絶対的な保証はない。従って、第1及び第2の実施例においては、H>TH3の条件下で基準値(H0)を設定しているものの、わずかに窓が開いている状態で基準値(H0)が設定されるという状況はなお考えられるのである。   That is, considering the actual use environment, there is no absolute guarantee that TH3 is set to exceed the strength of the magnetic field when the window is completely closed. Therefore, in the first and second embodiments, although the reference value (H0) is set under the condition of H> TH3, the reference value (H0) is set with the window slightly opened. The situation is still conceivable.

この状況のときに利用者が更にぴったりと窓を閉める(以下、「増し閉め」という)と、磁界測定部53における磁界の強さが基準値から更に増加してしまうので、式(11)を満たしてしまうことがある。この場合、第1及び第2の実施例では、画策行為有りと誤って判定されることになる。   In this situation, when the user closes the window more closely (hereinafter referred to as “increase and close”), the magnetic field strength in the magnetic field measurement unit 53 further increases from the reference value, and thus the expression (11) is obtained. May be satisfied. In this case, in the first and second embodiments, it is erroneously determined that there is a plan action.

そこで、図14に戻って説明すると、第3の実施例では、以下の処理を実行する。
式(11)の成立時(S634YES)に、計時部56にて第3の所定時間(T3)及び第2の所定時間(T2)の計時を開始する(S635、S636)。ただし、T3≫T2である。
S636からS638のループの中で、スイッチ部52がOFFであるか否かを判定し(S637)、OFFであれば窓が開いているので、図6のS618に進む。
Therefore, referring back to FIG. 14, in the third embodiment, the following processing is executed.
When the expression (11) is established (YES in S634), the timer 56 starts measuring the third predetermined time (T3) and the second predetermined time (T2) (S635, S636). However, T3 >> T2.
In the loop from S636 to S638, it is determined whether or not the switch unit 52 is OFF (S637). If it is OFF, the window is open, and the process proceeds to S618 in FIG.

S638にてT2が経過し、S618に進まずにS636からS638のループを抜けた場合、磁界測定部53からの磁界の強さをサンプリングし、その絶対値(H)を記憶部54に一時記憶する(S639)。   When T2 elapses in S638 and the process proceeds from S636 to S638 without proceeding to S618, the magnetic field strength from the magnetic field measurement unit 53 is sampled, and the absolute value (H) is temporarily stored in the storage unit 54. (S639).

S637及び後述のS641の判定がYESとならず、S635〜S642のループにおける第3の所定時間(T3)の計時が続く限り、このサンプリングは、第2の所定時間(T2)間隔毎に行われる。時刻T2*n(nは正の整数)におけるHのサンプル値をH(T2*n)と表記すると、このサンプリングと記憶により数列{H(T2*n)}が記憶部54に記憶される。   As long as the determination in S637 and S641 described later is not YES and the measurement of the third predetermined time (T3) in the loop of S635 to S642 continues, this sampling is performed every second predetermined time (T2) interval. . When a sample value of H at time T2 * n (n is a positive integer) is expressed as H (T2 * n), a numerical sequence {H (T2 * n)} is stored in the storage unit 54 by this sampling and storage.

次に、制御部51の最大値検出手段にて、T3計時開始から一時記憶している磁界の強さの絶対値の数列{H(T2*n)}の項から最大値(Hmax)を検出する(S640)。
そして、第4の閾値(TH4)を用いて、
Hmax−H>TH4 …(12)
が成立するか否かを判定する(S641)。
ただし、上式のHは、数列{H(T2*n)}の最後の項である。式(12)が成立する(S641YES)場合、画策行為有りと判定し、開検知信号を出力部55から送信するS631以降の処理に進む。
Next, the maximum value detection means of the control unit 51 detects the maximum value (Hmax) from the term of the sequence {H (T2 * n)} of the absolute value of the magnetic field strength temporarily stored from the start of T3 timing. (S640).
And using the fourth threshold (TH4),
Hmax−H> TH4 (12)
Whether or not is satisfied is determined (S641).
However, H in the above equation is the last term of the sequence {H (T2 * n)}. When Expression (12) is established (YES in S641), it is determined that there is a plan action, and the process proceeds to S631 and subsequent steps in which an open detection signal is transmitted from the output unit 55.

式(11)の成立に加えて、所定時間T3内での式(12)の成立を窓が開いていると判定するための更なる条件としているのは、以下の理由による。
式(11)の成立した原因が増し閉めではなく画策行為である場合、画策行為を行う者は、正規のマグネット24と磁界の向きが同じになるように画策用マグネット25を取り付けた後で窓を開けて侵入しようとしていると考えられる。
In addition to the establishment of Expression (11), the establishment of Expression (12) within the predetermined time T3 is a further condition for determining that the window is open for the following reason.
If the cause of the establishment of the formula (11) is not a closed action but a plan action, the person who performs the plan action installs the plan magnet 25 so that the direction of the magnetic field is the same as that of the regular magnet 24. It is thought that they are trying to break open.

この場合、H(T2*n)の値はTH1を越えて最大値Hmaxに達した後に、窓が開くことによってマグネット24の磁界の影響が検知ユニット40に及ばなくなるため、減少する。よって、この減少の大きさは、おおむね正規のマグネット24の磁界の強さ(Hn)であるから、数列{H(T2*n)}の最後の項をHとすると、
Hmax−H=Hn …(13)
が成立する。
In this case, after the value of H (T2 * n) exceeds TH1 and reaches the maximum value Hmax, the influence of the magnetic field of the magnet 24 does not reach the detection unit 40 by opening the window, and therefore decreases. Therefore, since the magnitude of this decrease is roughly the magnetic field strength (Hn) of the regular magnet 24, if the last term of the sequence {H (T2 * n)} is H,
Hmax−H = Hn (13)
Is established.

ところで、窓が閉じている場合には、スイッチ部52は必ずON状態となる必要があるので、正規のマグネット24の磁界の強さ(Hn)は、Hn>Hon(>Hoff)を満たすように装置は設計されている(図8参照)。
従って、式(11)が成立する条件下で、画策行為が行われた条件は、式(13)より、
Hmax−H>Hoff …(14)
である。
By the way, when the window is closed, the switch section 52 must be in the ON state, so that the magnetic field strength (Hn) of the regular magnet 24 satisfies Hn> Hon (> Hoff). The device is designed (see FIG. 8).
Therefore, the condition under which the planning action is performed under the condition that the expression (11) is established is, from the expression (13),
Hmax−H> Hoff (14)
It is.

以上の理由から、数列{H(T2*n)}の最後の項Hが式(14)を満たすときに限って、式(11)が成立する条件下で画策行為が行われたと判定できるので、
TH4=Hoff+δ (δ>0)…(15)
に従って、第4の閾値を定め、
Hmax−H>TH4 …(12)
の成立をもって、式(11)の条件下での画策行為有りと判定することとする。
For the above reason, only when the last term H of the sequence {H (T2 * n)} satisfies the expression (14), it can be determined that the planning action is performed under the condition that the expression (11) is satisfied. ,
TH4 = Hoff + δ (δ> 0) (15)
To define a fourth threshold,
Hmax−H> TH4 (12)
If it is established, it is determined that there is a plan action under the condition of Expression (11).

尚、式(15)のTH4における正定数δは、他の閾値を定めるための定数と同様に実験的に求められる。また、TH4は、S630にて判定するときの基準値からTH2を減じた値や、S634にて判定するときのTH1から基準値を減じた値である判定値と同様の値であってもよい。   It should be noted that the positive constant δ at TH4 in equation (15) is obtained experimentally in the same manner as the constants for determining other threshold values. TH4 may be the same value as a value obtained by subtracting TH2 from the reference value determined in S630 or a value obtained by subtracting the reference value from TH1 determined in S634. .

一方、式(11)が成立しても所定時間T3以内に式(12)が成立しない場合(S642YES)には、S634で式(11)が成立した原因は利用者による増し閉めであると判定し、T3計時開始から一時記憶している磁界の強さの絶対値の数列{H(T2*n)}のいずれかの項から基準値を設定し記憶部54に記憶する(S643)。そして、図6のS609に進み、新たに第1及び第2の閾値を設定し、監視を続けることになる。
このときの基準値の設定は、T3計時開始から一時記憶している磁界の強さの絶対値の数列{H(T2*n)}の項の内、上位3つの値の平均値を基準値とする等、適宜実行すればよい。
On the other hand, if equation (11) is not established within the predetermined time T3 even if equation (11) is established (YES in S642), it is determined that the cause of equation (11) being established in S634 is an additional closing by the user. Then, a reference value is set from one of the terms {H (T2 * n)} of the absolute value of the magnetic field strength temporarily stored from the start of T3 timing and stored in the storage unit 54 (S643). Then, the process proceeds to S609 in FIG. 6, and first and second threshold values are newly set and monitoring is continued.
At this time, the reference value is set by taking the average value of the top three values in the absolute value of the magnetic field strength value {H (T2 * n)} temporarily stored from the start of T3 timing as the reference value. Or the like.

尚、第3の実施例においては、画策行為によって窓が開けられたことの判定を式(12)の成立をもって行っているが、単位時間あたりの磁界の強さの絶対値の減少率によって行ってもよい。   In the third embodiment, the determination that the window has been opened by the plan action is performed based on the expression (12). However, the determination is made based on the reduction rate of the absolute value of the magnetic field strength per unit time. May be.

S630、S634の両方においてNOと判定された場合、S644に進む。
開状態を記憶していれば(S644YES)、閉検知信号を送信する(S645)とともに、閉状態を記憶部54に記憶する(S646)。そして、図7のS610に進み、監視を続ける。
開状態を記憶していなければ(S644NO)、図7のS610に進み、監視を続ける。
When it is determined NO in both S630 and S634, the process proceeds to S644.
If the open state is stored (S644 YES), the close detection signal is transmitted (S645) and the closed state is stored in the storage unit 54 (S646). Then, the process proceeds to S610 in FIG.
If the open state is not stored (NO in S644), the process proceeds to S610 in FIG. 7 and monitoring is continued.

以上のように第3の実施例においては、サンプリングした磁界の強さが第1の閾値(TH1)を越えたとき、すぐには画策行為有りとは判定しない。そして、所定時間以内に第4の閾値(TH4)を越える磁界の強さの減少があったとき、画策行為有りと判定する。
従って、利用者による増し閉めと画策行為とを区別することができる。
また、サンプリングした磁界の強さが第1の閾値(TH1)を越えた原因が利用者による増し閉めであると判定された場合は、基準値が更新されるので、適切な基準値にて画策行為を判定することができる。
As described above, in the third embodiment, when the intensity of the sampled magnetic field exceeds the first threshold value (TH1), it is not immediately determined that there is a plan action. Then, when there is a decrease in the magnetic field strength exceeding the fourth threshold value (TH4) within a predetermined time, it is determined that there is a plan action.
Therefore, it is possible to distinguish between closing by the user and plan action.
If it is determined that the cause of the sampled magnetic field intensity exceeding the first threshold value (TH1) is an additional closing by the user, the reference value is updated. Action can be determined.

尚、上述の実施例においては、外部への送信形態は無線としたが、有線であってもよい。
また、上述の実施例においては絶対値を得る処理を行っているが、MR素子等の極性を判定しない素子を使用する場合は、この処理は必要がなくなる。
また、図6のS605、図11のS1103、及び図12のS1205の窓が閉鎖しているか否かの判定においてNOである場合、出力部55から監視部へ窓が閉鎖していない旨の信号を送出し、監視部の表示部にてその旨を利用者に表示してもよい。
また、図7のS613→S614、図13のS1211→S1212、図14のS613→S630、及び図14のS613→S634の処理で画策行為の有無を判定するときに処理を短間隔で複数回繰り返し、その複数回の判定全てが同一の判定であったときに以降の処理(S615又はS620(図7)、S1213又はS1218(図13)、S631、S635、又はS644(図14))を実行し、それ以外の場合は上記処理をスキップし直前のT2計時処理に戻るようにしてもよい。そうすれば、ノイズ等による誤判定を防止することができる。
また、図7のS616やS621、図13のS1214やS1219、及び図14のS632やS645における開検知信号、閉検知信号を、それぞれ、画策異常を示す信号、画策異常からの復旧を示す信号として区別して送信してもよい。そうすれば、通常の窓の開閉と区別して異常を判定できる。この場合、記憶部54には窓の開閉状態を記憶するフラグに加えて、画策状態の有無状態を記憶するフラグが必要となる。
In the above-described embodiment, the transmission form to the outside is wireless, but it may be wired.
In the above-described embodiment, the process for obtaining the absolute value is performed. However, when an element such as an MR element that does not determine the polarity is used, this process is not necessary.
In addition, when it is NO in the determination of whether the window of S605 of FIG. 6, S1103 of FIG. 11, and S1205 of FIG. 12 is closed, a signal that the window is not closed from the output unit 55 to the monitoring unit. May be sent to the user and displayed on the display unit of the monitoring unit.
Also, when determining the presence or absence of a plan action in the process of S613 → S614 in FIG. 7, S1211 → S1212 in FIG. 13, S613 → S630 in FIG. 14, and S613 → S634 in FIG. When all of the determinations of the plurality of times are the same, the subsequent processing (S615 or S620 (FIG. 7), S1213 or S1218 (FIG. 13), S631, S635, or S644 (FIG. 14)) is executed. In other cases, the above process may be skipped and the immediately preceding T2 timing process may be returned. In this way, erroneous determination due to noise or the like can be prevented.
Further, the open detection signal and the close detection signal in S616 and S621 in FIG. 7, S1214 and S1219 in FIG. 13, and S632 and S645 in FIG. 14 are respectively used as a signal indicating a plan abnormality and a signal indicating a recovery from the plan abnormality. You may transmit in distinction. By doing so, it is possible to determine abnormality by distinguishing it from normal opening and closing of windows. In this case, in addition to the flag for storing the open / closed state of the window, the storage unit 54 requires a flag for storing the presence / absence state of the plan state.

以上説明したように、本発明においては、窓を開けてもスイッチ部の検出を閉状態に保持できる程度の大きさを越える磁界強度を有する画策用マグネットをスイッチ部付近に位置させた場合に、判定手段によって窓が開状態であると判定する。これにより、画策用マグネットの使用によりスイッチ部を不感知状態にして窓を開けようとしても、窓が開状態となったことを検知することができる。そのため、外部から検知ユニットを視認することが可能な場所に設置した磁気検知式センサであっても、画策行為を確実に検知することができる効果がある。   As described above, in the present invention, when the planning magnet having a magnetic field intensity exceeding the magnitude that can hold the detection of the switch unit in the closed state even when the window is opened, is positioned near the switch unit, It is determined by the determining means that the window is open. As a result, even if an attempt is made to open the window with the switch portion being insensitive by using the planning magnet, it is possible to detect that the window has been opened. Therefore, even if it is a magnetic detection type sensor installed in a place where the detection unit can be visually recognized from the outside, there is an effect that the plan action can be detected with certainty.

従来の磁気検知式センサを説明する図である。It is a figure explaining the conventional magnetic detection type sensor. 従来の磁気検知式センサの設置場所を示す図である。It is a figure which shows the installation place of the conventional magnetic detection type sensor. 引き違い方式の窓への磁気検知式センサの設置状況を示す図である。It is a figure which shows the installation condition of the magnetic detection type sensor to the window of a drawing method. 従来の磁気検知式センサを示す図である。It is a figure which shows the conventional magnetic detection type sensor. 本発明に係る磁気検知式センサのブロック図である。It is a block diagram of the magnetic detection type sensor which concerns on this invention. 磁気検知式センサの動作フロー(1)である(第1実施例)。It is an operation | movement flow (1) of a magnetic detection type sensor (1st Example). 磁気検知式センサの動作フロー(2)である(第1実施例)。It is an operation | movement flow (2) of a magnetic detection type sensor (1st Example). スイッチ部のヒステリシス特性を示す図である。It is a figure which shows the hysteresis characteristic of a switch part. 基準値が記憶された後に行われる画策を検知するタイミングチャートである。It is a timing chart which detects the scheme performed after a reference value is memorized. 基準値が記憶される前に行われる画策を検知するタイミングチャートである。It is a timing chart which detects the scheme performed before a reference value is memorized. 基準値の記憶フローである(第2実施例)。It is a memory | storage flow of a reference value (2nd Example). 磁気検知式センサの監視フロー(1)である(第2実施例)。It is a monitoring flow (1) of a magnetic detection type sensor (2nd Example). 磁気検知式センサの監視フロー(2)である(第2実施例)。It is a monitoring flow (2) of a magnetic detection type sensor (2nd Example). 第3の実施例における磁気検知式センサの動作フローの一部である(第3実施例)。It is a part of operation | movement flow of the magnetic detection type sensor in a 3rd Example (3rd Example).

符号の説明Explanation of symbols

24 マグネット
40 検知ユニット
51 制御部
52 スイッチ部
53 磁界測定部
54 記憶部
55 出力部
56 計時部
57 電池
24 Magnet 40 Detection unit 51 Control unit 52 Switch unit 53 Magnetic field measurement unit 54 Storage unit 55 Output unit 56 Timekeeping unit 57 Battery

Claims (6)

窓や扉等の可動部材に設置されるマグネットと、前記可動部材が閉じた位置において前記マグネットと対向する位置に設置する検知ユニットを具備する磁気検知式センサであって、
前記検知ユニットは、
前記マグネットから生じる磁界の影響を受けて可動部材の開状態又は閉状態を検出するスイッチ部と、
磁界の強さを測定する磁界測定部と、
前記スイッチ部及び前記磁界測定部からの出力に基づき判定処理を行う制御部と、
前記制御部の判定処理に用いる基準値及び前記スイッチ部の閉状態から開状態への変化を検出する以上の磁界の強さを基礎とした判定値とを記憶する記憶部と、
前記制御部の判定結果を出力する出力部と、
を有し、
前記制御部は、
前記スイッチ部の検出が閉状態であるときに前記磁界測定部の測定した磁界の強さを基準値として前記記憶部に記憶する基準設定手段と、
前記磁界測定部から得られる磁界の強さと前記基準値との差が前記判定値を越えると画策行為の有りを判定する判定手段と、
を含むことを特徴とする磁気検知式センサ。
A magnetic detection sensor comprising a magnet installed on a movable member such as a window or a door, and a detection unit installed at a position facing the magnet at a position where the movable member is closed;
The detection unit is
A switch unit that detects an open state or a closed state of the movable member under the influence of a magnetic field generated from the magnet;
A magnetic field measurement unit for measuring the strength of the magnetic field;
A control unit that performs a determination process based on outputs from the switch unit and the magnetic field measurement unit;
A storage unit that stores a reference value used for the determination process of the control unit and a determination value based on the strength of the magnetic field more than detecting a change from the closed state to the open state of the switch unit;
An output unit for outputting a determination result of the control unit;
Have
The controller is
Reference setting means for storing, in the storage unit, the strength of the magnetic field measured by the magnetic field measurement unit when the detection of the switch unit is in a closed state, as a reference value;
A determination means for determining the presence of a plan action when the difference between the magnetic field strength obtained from the magnetic field measurement unit and the reference value exceeds the determination value;
A magnetic detection type sensor comprising:
窓や扉等の可動部材に設置されるマグネットと、前記可動部材が閉じた位置において前記マグネットと対向する位置に設置する検知ユニットを具備する磁気検知式センサであって、
前記検知ユニットは、
前記マグネットから生じる磁界の影響を受けて可動部材の開状態又は閉状態を検出するスイッチ部と、
磁界の強さを測定する磁界測定部と、
前記スイッチ部及び前記磁界測定部からの出力に基づき判定処理を行う制御部と、
前記制御部の判定処理に用いる基準値及び前記スイッチ部が前記マグネットから受ける磁界の強さを基礎とした判定値とを記憶する記憶部と、
前記磁界測定部から得られる磁界の強さが前記基準値に前記判定値を加えた値を上回ると所定時間を計時する計時部と、
前記制御部の判定結果を出力する出力部と、
を有し、
前記制御部は、
前記スイッチ部の検出が閉状態であるときに前記磁界測定部の測定した磁界の強さを前記基準値として前記記憶部に記憶する基準設定手段と、
前記計時部の計時中に前記磁界測定部から得られる磁界の強さの最大値を検出する最大値検出手段と、
前記計時部の計時中に前記最大値検出手段から得られた磁界の強さの最大値から前記判定値以上の磁界の強さの減少があるとき、画策行為の有りを判定する判定手段と、
を含むことを特徴とする磁気検知式センサ。
A magnetic detection sensor comprising a magnet installed on a movable member such as a window or a door, and a detection unit installed at a position facing the magnet at a position where the movable member is closed;
The detection unit is
A switch unit that detects an open state or a closed state of the movable member under the influence of a magnetic field generated from the magnet;
A magnetic field measurement unit for measuring the strength of the magnetic field;
A control unit that performs a determination process based on outputs from the switch unit and the magnetic field measurement unit;
A storage unit that stores a reference value used in the determination process of the control unit and a determination value based on the strength of the magnetic field received by the switch unit from the magnet;
A timekeeping unit that times a predetermined time when the strength of the magnetic field obtained from the magnetic field measurement unit exceeds a value obtained by adding the determination value to the reference value;
An output unit for outputting a determination result of the control unit;
Have
The controller is
Reference setting means for storing the magnetic field strength measured by the magnetic field measurement unit as the reference value in the storage unit when the detection of the switch unit is in a closed state;
Maximum value detecting means for detecting the maximum value of the strength of the magnetic field obtained from the magnetic field measuring unit during timing of the time measuring unit;
When there is a decrease in the magnetic field strength equal to or greater than the determination value from the maximum value of the magnetic field strength obtained from the maximum value detection means during the time counting of the time measuring unit, the determination means for determining the presence of the planning action,
A magnetic detection type sensor comprising:
更に、前記基準設定手段は、前記判定手段が画策行為の有りを判定しないと、前記計時部が計時中であるときの前記磁界測定部から得られた磁界の強さを前記基準値として更新する請求項2に記載の磁気検知式センサ。   Further, the reference setting means updates, as the reference value, the strength of the magnetic field obtained from the magnetic field measurement unit when the timing unit is measuring time when the determination unit does not determine the presence of the planning action. The magnetic detection type sensor according to claim 2. 更に、前記判定手段は、前記磁界測定部から得られる磁界の強さが、前記基準値から前記判定値を減じた値を下回るとき、画策行為の有りを判定する請求項2又は3に記載の磁気検知式センサ。   Furthermore, the said determination means determines the presence of plan action, when the strength of the magnetic field obtained from the said magnetic field measurement part is less than the value which subtracted the said judgment value from the said reference value. Magnetic detection type sensor. 更に、前記記憶部は、前記スイッチ部の開状態から閉状態への変化を検出する磁界の強さより少なくとも強い閉鎖強度を記憶し、
前記基準設定手段は、前記スイッチ部が開状態から閉状態へ変化したときに、前記磁界測定部から得られる磁界の強さが前記閉鎖強度を越えていると、前記基準値を更新する請求項1乃至4のいずれか一項に記載の磁気検知式センサ。
Furthermore, the storage unit stores a closing strength that is at least stronger than the strength of the magnetic field for detecting a change from the open state to the closed state of the switch unit,
The reference setting means updates the reference value when the strength of the magnetic field obtained from the magnetic field measurement unit exceeds the closing strength when the switch unit changes from an open state to a closed state. The magnetic detection type sensor according to any one of 1 to 4.
更に、前記マグネット及び前記検知ユニットは、それぞれ異なる可動部材に設置され、
前記検知ユニットの出力部は無線信号にて前記判定手段からの判定結果を送信する請求項1乃至5のいずれか一項に記載の磁気検知式センサ。
Furthermore, the magnet and the detection unit are installed on different movable members,
The magnetic detection type sensor according to any one of claims 1 to 5, wherein the output unit of the detection unit transmits a determination result from the determination unit by a radio signal.
JP2005001189A 2005-01-06 2005-01-06 Magnetic detection type sensor Expired - Fee Related JP4703190B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005001189A JP4703190B2 (en) 2005-01-06 2005-01-06 Magnetic detection type sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005001189A JP4703190B2 (en) 2005-01-06 2005-01-06 Magnetic detection type sensor

Publications (2)

Publication Number Publication Date
JP2006190063A true JP2006190063A (en) 2006-07-20
JP4703190B2 JP4703190B2 (en) 2011-06-15

Family

ID=36797209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005001189A Expired - Fee Related JP4703190B2 (en) 2005-01-06 2005-01-06 Magnetic detection type sensor

Country Status (1)

Country Link
JP (1) JP4703190B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008288030A (en) * 2007-05-17 2008-11-27 Hochiki Corp Opening/closing sensor
JP2010129008A (en) * 2008-11-30 2010-06-10 Hochiki Corp Window opening/closing detecting device
JP2013257890A (en) * 2013-07-25 2013-12-26 Hochiki Corp Window opening/closing detection device
KR200472859Y1 (en) 2012-09-26 2014-05-29 주식회사 엠이시시스텍 A magnet door sensor for wireless system
JP2020068193A (en) * 2018-10-25 2020-04-30 智佳電子股▲ふん▼有限公司Zealio Electronics Co.,Ltd. Smart sensor
CN116172540A (en) * 2023-04-28 2023-05-30 长春市鑫睿商贸有限公司 Method for detecting magnetic localizer in tissue focus and method for using detection device thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0520554A (en) * 1991-07-09 1993-01-29 Hochiki Corp Radio security system
JPH08173595A (en) * 1994-12-22 1996-07-09 Matsushita Electric Works Ltd Game ball detector
JPH09245266A (en) * 1996-03-11 1997-09-19 Secom Co Ltd Abnormality monitoring device
JPH1186151A (en) * 1997-09-08 1999-03-30 Nec Corp Intrusion-monitoring device, intrusion sensor inspection method and intrusion-monitoring system
JP2004081524A (en) * 2002-08-27 2004-03-18 Heiwa Corp Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0520554A (en) * 1991-07-09 1993-01-29 Hochiki Corp Radio security system
JPH08173595A (en) * 1994-12-22 1996-07-09 Matsushita Electric Works Ltd Game ball detector
JPH09245266A (en) * 1996-03-11 1997-09-19 Secom Co Ltd Abnormality monitoring device
JPH1186151A (en) * 1997-09-08 1999-03-30 Nec Corp Intrusion-monitoring device, intrusion sensor inspection method and intrusion-monitoring system
JP2004081524A (en) * 2002-08-27 2004-03-18 Heiwa Corp Game machine

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008288030A (en) * 2007-05-17 2008-11-27 Hochiki Corp Opening/closing sensor
JP2010129008A (en) * 2008-11-30 2010-06-10 Hochiki Corp Window opening/closing detecting device
KR200472859Y1 (en) 2012-09-26 2014-05-29 주식회사 엠이시시스텍 A magnet door sensor for wireless system
JP2013257890A (en) * 2013-07-25 2013-12-26 Hochiki Corp Window opening/closing detection device
JP2020068193A (en) * 2018-10-25 2020-04-30 智佳電子股▲ふん▼有限公司Zealio Electronics Co.,Ltd. Smart sensor
JP7028466B2 (en) 2018-10-25 2022-03-02 智佳電子股▲ふん▼有限公司 Smart sensor
CN116172540A (en) * 2023-04-28 2023-05-30 长春市鑫睿商贸有限公司 Method for detecting magnetic localizer in tissue focus and method for using detection device thereof
CN116172540B (en) * 2023-04-28 2023-07-04 长春市鑫睿商贸有限公司 Method for detecting magnetic localizer in tissue focus and method for using detection device thereof

Also Published As

Publication number Publication date
JP4703190B2 (en) 2011-06-15

Similar Documents

Publication Publication Date Title
JP4703190B2 (en) Magnetic detection type sensor
US10885752B2 (en) Security apparatus and method
EP3398175B1 (en) Door/window magnetic sensing device and method of installing
US10012669B2 (en) Device and method for determining a state of an object which is to be monitored
US10488464B2 (en) Magnetic sensor circuit for security sensing
SE9904039L (en) Coupling device for a passenger bridge
EP3211613B1 (en) Door and window contact system and method that include a mems accelerometer and a mems magnetometer
EP1754206A4 (en) Mems based garage door sensor
US10460578B2 (en) Window sensing device with movement detection
KR101997724B1 (en) A window having auto-locking function
GB2418991A (en) A capacitive door edge sensor
US7173389B1 (en) Motorized barrier operator adapted to vary operator force for safety purposes and methods for accomplishing the same
CN111577059B (en) Door switch detection system based on digital gyroscope
JP4368313B2 (en) Magnetic detection type sensor
US20070128741A1 (en) System and method for using a split capacitive barrier edge sensor
JP4846421B2 (en) Automatic door sensor
JPH088239Y2 (en) Obstacle detection device for architectural shutter
JP3630008B2 (en) Stoppage detection device for opening / closing mechanism
KR200395291Y1 (en) Device for locking toilet door
JPH06117161A (en) Opening and shutting control device for opening/closing apparatus
JP3974485B2 (en) Power window drive control device
KR20100004366A (en) Method of controlling automatic door and controller for automatic door
AU710385B2 (en) Control system
CN116508089A (en) Automatic door device, display control method, and display control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101115

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110308

R150 Certificate of patent or registration of utility model

Ref document number: 4703190

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

LAPS Cancellation because of no payment of annual fees