JP2006242696A - Opening/closing detection sensor and opening/closing detection method - Google Patents

Opening/closing detection sensor and opening/closing detection method Download PDF

Info

Publication number
JP2006242696A
JP2006242696A JP2005057399A JP2005057399A JP2006242696A JP 2006242696 A JP2006242696 A JP 2006242696A JP 2005057399 A JP2005057399 A JP 2005057399A JP 2005057399 A JP2005057399 A JP 2005057399A JP 2006242696 A JP2006242696 A JP 2006242696A
Authority
JP
Japan
Prior art keywords
light
detection
open
close
communication light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005057399A
Other languages
Japanese (ja)
Inventor
Keiji Izuno
啓治 伊津野
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.)
ADOBANTEKKU KK
Original Assignee
ADOBANTEKKU KK
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 ADOBANTEKKU KK filed Critical ADOBANTEKKU KK
Priority to JP2005057399A priority Critical patent/JP2006242696A/en
Publication of JP2006242696A publication Critical patent/JP2006242696A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology capable of detecting an opening/closing state having concurrently high-level safety and small power consumption. <P>SOLUTION: This sensor is equipped with a detection light detecting circuit part 32 for discriminating the opening/closing state of a door, based on reception of detection light L1, L2, and a communication light control circuit part 34 and a response communication light control circuit part 46 for discriminating the opening/closing state of the door, by discriminating whether communication light S1, S2 including a normal code can be received. The detection light detecting circuit part 32 performs operation for discriminating the opening/closing state at each comparatively-short interval period (for example, each second). The communication light control circuit part 34 and the response communication light control circuit part 46 perform operation for discriminating the opening/closing state at each comparatively-long interval period (for example, each 30 seconds). <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、窓や扉等の開閉を検出するための開閉検出センサに関する。   The present invention relates to an opening / closing detection sensor for detecting opening / closing of a window, a door, or the like.

防犯のため、窓ガラスや扉等に開閉検出センサが取付けられる。   An open / close detection sensor is attached to a window glass or a door for crime prevention.

従来の開閉検出センサとしては、マグネットとその磁力によりオンオフするリードスイッチとを用いた非接触タイプや、窓や扉等に直接的に接触して開閉する機械的なスイッチを用いたタイプ等がある。   Conventional open / close detection sensors include a non-contact type using a magnet and a reed switch that is turned on and off by its magnetic force, and a type using a mechanical switch that opens and closes directly in contact with a window or door. .

しかしながら、これらの開閉検出センサでは、代りのマグネットを用いたり、機械的なスイッチ自体に加工を施す等で、容易に開閉検出不能な状態に細工されてしまう恐れがある。   However, these open / close detection sensors may be easily crafted into a state in which open / close detection is not possible by using a substitute magnet or by processing the mechanical switch itself.

そこで、より高度な安全性を得ることができる開閉検出センサとして、通信光等を利用し、電子回路を用いた所定の演算処理によって開閉判断を行うようにしたものが考えられる。   In view of this, an open / close detection sensor capable of obtaining a higher level of safety may be one that uses communication light or the like and makes an open / close determination by a predetermined arithmetic process using an electronic circuit.

しかしながら、上記電子回路を用いたセンサでは、定常的に所定の演算処理を行って開閉判断を行うため、消費電力が大きくなる傾向にある。例えば、電池等を電源として使用することは難しく、外部電源から交流100V等の電力供給を受けることが不可欠となる。   However, in the sensor using the electronic circuit, the power consumption tends to increase because a predetermined calculation process is regularly performed to make an open / close determination. For example, it is difficult to use a battery or the like as a power source, and it is indispensable to receive power supply such as AC 100V from an external power source.

そこで、本発明は、開閉状態の検出を、より高度の安全性と低消費電力性とを併せ持って行うことができる技術を提供することを目的とする。   Therefore, an object of the present invention is to provide a technique capable of performing detection of an open / closed state with both higher safety and low power consumption.

この発明に係る開閉検出センサは、開閉体及びその周辺部に取付けられ、前記開閉体の開閉状態を検出する開閉検出センサであって、検出光の受光の有無に基づいて前記開閉状態を判別する第1の開閉状態検出手段と、正規の符号を含む通信光を受信できたか否かを判別することによって前記開閉状態を判別する第2の開閉状態検出手段と、を備え、前記第1の開閉状態検出手段は、所定の第1インターバル期間毎に前記開閉状態を判別する動作を行い、前記第2の開閉状態検出手段は、前記第1インターバル期間よりも長い所定の第2インターバル期間毎に前記開閉状態を判別する動作を行うものである。   An open / close detection sensor according to the present invention is an open / close detection sensor which is attached to an open / close body and its peripheral part and detects the open / close state of the open / close body, and determines the open / close state based on the presence or absence of detection light. First opening / closing state detecting means; and second opening / closing state detecting means for determining the opening / closing state by determining whether or not communication light including a normal code has been received. The state detecting means performs an operation for determining the open / closed state every predetermined first interval period, and the second open / closed state detecting means performs the operation every predetermined second interval period longer than the first interval period. The operation of determining the open / close state is performed.

また、この発明に係る他の開閉検出センサは、開閉体及びその周辺部に取付けられ、前記開閉体の開閉状態を検出する開閉検出センサであって、前記開閉体及びその周辺部のうちの一方に取付けられ、検出光を発する発光部と、この検出光に応じた戻り検出光を受光する受光部と、通信光を発する第1の光送信部と、この通信光に応じた応答通信光を受ける第1の光受信部とを備えた第1センサ装置と、前記開閉体及びその周辺部のうちの他方に取付けられ、前記検出光に応じて戻り検出光を返す検出光戻し手段と、前記通信光に応じて応答通信光を発信する通信光応答手段とを有する第2センサ装置と、を備え、前記第1センサ装置は、所定の第1インターバル期間毎に前記発光部を通じて検出光を発すると共に、前記第1インターバル期間よりも長時間である所定の第2インターバル期間毎に起動信号を出力する計時回路部と、前記受光部からの出力信号に基づいて、前記検出光に応じた前記戻り検出光が受光されたか否かを検出し、前記戻り検出光を受光できない場合に開状態検知信号を出力する戻り検出光検知回路部と、前記起動信号に応じて起動することにより、前記第1の光発信部を通じて所定の符号を含む通信光を発すると共に、前記第1の光受信部を通じて正規の応答符号を含む応答通信光を受信できたか否かを判別し、受信できないと判別された場合に開状態報知信号を出力する通信光制御回路部とをさらに備えたものである。   Another open / close detection sensor according to the present invention is an open / close detection sensor that is attached to the open / close body and its peripheral portion and detects the open / closed state of the open / close body, and is one of the open / close body and its peripheral portion. A light emitting unit that emits detection light, a light receiving unit that receives return detection light corresponding to the detection light, a first light transmission unit that emits communication light, and response communication light corresponding to the communication light. A first sensor device including a first light receiving unit for receiving, a detection light returning unit attached to the other of the opening and closing body and its peripheral part, and returning return detection light in response to the detection light; A second sensor device having communication light response means for transmitting response communication light in response to the communication light, wherein the first sensor device emits detection light through the light emitting unit at every predetermined first interval period. And the first interval period And whether the return detection light corresponding to the detection light is received based on the output signal from the light receiving unit and the timing circuit unit that outputs a start signal every predetermined second interval period that is longer than And detecting a return detection light when the return detection light cannot be received, and outputting a detection signal for detecting an open state, and starting the signal according to the activation signal, thereby providing a predetermined value through the first light transmission unit. The communication light including the code is emitted, and it is determined whether or not the response communication light including the normal response code can be received through the first optical receiver, and the open state notification signal is output when it is determined that the communication light cannot be received. And a communication light control circuit unit.

この場合に、前記第2センサ装置の通信光応答手段は、前記第1の光発信部からの通信光を受信する第2の光受信部と、前記第1の光受信部に向けて応答通信光を発する第2の光送信部と、第2の光受信部を介して通信光が受信されると起動し、正規の符号を含む通信光を受信できたか否かを判別し、正規の符号を含む通信光を受信できたと判別された場合に、前記第2の光送信部を通じて所定の応答符号を含む応答通信光を送信する応答通信光制御回路部と、を備えたものであってもよい。   In this case, the communication light response means of the second sensor device responds to the second light receiver that receives the communication light from the first light transmitter and the first light receiver. Activated when communication light is received via the second optical transmitter that emits light and the second optical receiver, determines whether or not communication light including a normal code has been received, and the normal code A response communication light control circuit unit that transmits response communication light including a predetermined response code through the second optical transmission unit when it is determined that the communication light including the signal can be received. Good.

また、前記第1センサ装置及び前記第2センサ装置のうち少なくとも一方は、自己が前記開閉体或はその周辺部から取外されたことを検出する取外し検出手段を備えたものであってもよい。   Further, at least one of the first sensor device and the second sensor device may be provided with a removal detecting means for detecting that the device has been removed from the opening / closing body or its peripheral portion. .

さらに、前記第1センサ装置及び前記第2センサ装置のうちの少なくとも一方が、前記検出光検知回路部で戻り検出光を受光できないと判別された履歴情報、前記通信光制御回路部で正規の符号を含む応答通信光を受信できないと判別された履歴情報、前記第1センサ装置又は前記第2センサ装置が前記開閉体及びその周辺部から取外されたことを検出された履歴情報のうち少なくとも一つを記憶する記憶手段をさらに備える構成であってもよい。   Further, history information determined that at least one of the first sensor device and the second sensor device cannot receive return detection light by the detection light detection circuit unit, and a normal code by the communication light control circuit unit. At least one of history information determined to be unable to receive response communication light including the history information detected that the first sensor device or the second sensor device has been removed from the opening / closing body and its periphery. It may be configured to further comprise storage means for storing one.

また、この発明の開閉検出方法は、前記開閉体の開閉状態を検出する開閉検出方法であって、前記開閉体の開閉状態に応じて受光状況が変動するように検出光が投光されると共に、前記開閉体の開閉状態に応じて受信状況が変動するように通信光が発信され、(a)前記検出光の受光状態に基づいて前記開閉状態を判別する工程と、(b)正規の符号を含む通信光を受信できたか否かを判別する工程と、を備え、前記工程(a)は所定の第1インターバル期間毎に繰返し行われ、前記工程(b)は前記第1インターバル期間よりも長時間である所定の第2インターバル期間毎に繰返し行われるものである。   The open / close detection method of the present invention is an open / close detection method for detecting the open / close state of the open / close body, and the detection light is projected so that the light receiving state varies according to the open / close state of the open / close body. Communication light is transmitted so that the reception status varies according to the open / closed state of the open / close body, (a) determining the open / closed state based on the light receiving state of the detection light, and (b) a normal code And a step of determining whether or not the communication light including the signal can be received, wherein the step (a) is repeatedly performed every predetermined first interval period, and the step (b) is performed more than the first interval period. It is repeatedly performed every predetermined second interval period which is a long time.

この発明の開閉検出センサによると、第1の開閉状態検出手段は、比較的短い第1インターバル期間毎に、検出光の受光の有無に基づいた比較的簡易な方式で開閉状態の判別を行う。また、第2の開閉状態検出手段は、比較的長い第2インターバル期間毎に、正規の符号を含む通信光を受信できたか否かを判別することによって比較的確実な方式で開閉状態の判別を行う。   According to the open / close detection sensor of the present invention, the first open / close state detection means determines the open / close state in a relatively simple manner based on the presence or absence of detection light for each relatively short first interval period. Further, the second open / close state detecting means determines the open / close state in a relatively reliable manner by determining whether or not the communication light including the normal code has been received every relatively long second interval period. Do.

このため、第1の開閉状態検出手段により高頻度で開閉状態の検出を行いつつ、第2の開閉状態検出手段により、不正な細工等に対処してより確実な開閉状態の検出を行うことができ、高度の安全性を確保できる。   For this reason, it is possible to detect an open / close state more reliably by dealing with an illegal work or the like by the second open / close state detection unit while detecting the open / close state frequently by the first open / close state detection unit. Yes, and a high level of safety can be secured.

また、通常、正規の符号を含む通信光を受信できたか否かの判別動作の消費電力は大きくなる傾向にあるところ、第2の開閉状態検出手段は、比較的長い第2インターバル期間毎に前記開閉状態を判別しているので、低消費電力化をも図ることもできる。   In addition, normally, the power consumption of the operation for determining whether or not the communication light including the normal code has been received tends to increase. However, the second open / close state detection means is configured to perform the above operation every second interval period that is relatively long. Since the open / closed state is determined, the power consumption can be reduced.

また、この発明の他の開閉検出センサによると、比較的短い第1インターバル期間毎に、検出光を発すると共に、この検出光に応じた戻り検出光が受光されたか否かを検出することによって、開閉状態を判定できる。また、比較的長い第2のインターバル期間毎に、第1の光受信部を通じて正規の応答符号を含む応答通信光を受信できたか否かを判別することによって、開閉状態を判別することができる。   According to another open / close detection sensor of the present invention, the detection light is emitted for each relatively short first interval period, and by detecting whether the return detection light corresponding to the detection light is received or not, The open / close state can be determined. In addition, it is possible to determine the open / closed state by determining whether or not response communication light including a normal response code can be received through the first optical receiver for each relatively long second interval period.

このため、比較的高頻度で検出光を用いた開閉状態の検出を行いつつ、通信光を用いてより確実な開閉状態の検出を行うことができ、高度の安全性を確保できる。   For this reason, it is possible to detect the open / close state more reliably using the communication light while detecting the open / close state using the detection light at a relatively high frequency, and to ensure a high degree of safety.

また、通常、正規の応答符号を含む応答通信光を受信できたか否かを判別する通信光制御回路部の消費電力は大きくなる傾向にあるところ、通信光制御回路部は、比較的長い第2インターバル期間毎に起動して前記開閉状態を判別するので低消費電力化をも図ることもできる。   Usually, the communication light control circuit unit for determining whether or not the response communication light including the normal response code has been received tends to increase. However, the communication light control circuit unit has a relatively long second length. Since it is activated every interval period and the open / closed state is discriminated, it is possible to reduce power consumption.

さらに、第2センサ装置の通信光応答手段は、前記第1の光発信部からの通信光を受信する第2の光受信部と、前記第1の光受信部に向けて応答通信光を発する第2の光送信部と、第2の光受信部を介して通信光が受信されると起動し、正規の符号を含む通信光を受信できたか否かを判別し、正規の符号を含む通信光を受信できたと判別された場合に、前記第2の光送信部を通じて所定の応答符号を含む応答通信光を送信する応答通信光制御回路部とを備えたものであると、応答通信光制御回路部についても、動作時間をなるべく少なくして低消費電力化を図ることができる。   Furthermore, the communication light response means of the second sensor device emits response communication light toward the second light receiving unit that receives the communication light from the first light transmitting unit and the first light receiving unit. Activated when communication light is received via the second optical transmission unit and the second optical reception unit, determines whether communication light including a normal code has been received, and communication including a normal code A response communication light control circuit that includes a response communication light control circuit unit that transmits response communication light including a predetermined response code through the second optical transmission unit when it is determined that light has been received. The circuit portion can also reduce power consumption by reducing the operation time as much as possible.

また、前記第1センサ装置及び前記第2センサ装置のうち少なくとも一方は、前記開閉体或はその周辺部から取外されたことを検出する取外し検出手段を備えていると、各センサ装置の取外し事実をも検出して、不正な細工対策を図ることができる。   Further, when at least one of the first sensor device and the second sensor device is provided with a removal detecting means for detecting that it has been removed from the opening / closing body or its peripheral portion, the removal of each sensor device is performed. It can also detect the facts and take illegal measures.

また、前記第1センサ装置及び前記第2センサ装置のうちの少なくとも一方が、前記検出光検知回路部で戻り検出光を受光できないと判別された履歴情報、前記通信光制御回路部で正規の符号を含む応答通信光を受信できないと判別された履歴情報、前記第1センサ装置又は前記第2センサ装置が前記開閉体及びその周辺部から取外されたことを検出された履歴情報のうち少なくとも一つを記憶する記憶手段をさらに備えるため、開閉状態や各センサ装置の取外し状態等を管理できる。   Further, history information determined that at least one of the first sensor device and the second sensor device cannot receive return detection light by the detection light detection circuit unit, and a normal code by the communication light control circuit unit. At least one of history information determined to be unable to receive response communication light including the history information detected that the first sensor device or the second sensor device has been removed from the opening / closing body and its periphery. Since the storage means for storing the information is further provided, the open / close state, the removal state of each sensor device, and the like can be managed.

また、この発明の開閉状態の検出方法によると、(a)前記検出光の受光状態に基づいて前記開閉状態を判別する工程と、(b)正規の符号を含む通信光を受信できたか否かを判別する工程とを備え、前記工程(a)は所定の第1インターバル期間毎に繰返し行われ、前記工程(b)は前記第1インターバル期間よりも長時間である所定の第2インターバル期間毎に繰返し行われるため、高度の安全性を確保できる。工程(b)は、比較的長い第2インターバル期間毎に前記開閉状態を判別しているので、低消費電力化を図ることもできる。   Further, according to the open / closed state detection method of the present invention, (a) a step of determining the open / closed state based on a light receiving state of the detection light, and (b) whether communication light including a normal code has been received or not. The step (a) is repeatedly performed every predetermined first interval period, and the step (b) is performed every predetermined second interval period that is longer than the first interval period. Since this process is repeated repeatedly, a high level of safety can be ensured. In the step (b), since the open / close state is determined every second interval period that is relatively long, the power consumption can be reduced.

以下、この発明の実施形態に係る開閉検出センサ及び開閉検出方法について説明する。   Hereinafter, an open / close detection sensor and an open / close detection method according to an embodiment of the present invention will be described.

まず、開閉検出センサの使用形態について説明しておく。図1は開閉検出センサの使用例を示す図である。   First, a usage pattern of the open / close detection sensor will be described. FIG. 1 is a diagram showing an example of use of an open / close detection sensor.

図1では、建築物の壁面10に、開き戸式のドア14が開閉自在に取付けられると共に、そのドア14の周縁部にドア枠11が配設されている。   In FIG. 1, a hinged door 14 is attached to a wall surface 10 of a building so as to be openable and closable, and a door frame 11 is disposed on a peripheral portion of the door 14.

本開閉検出センサ20は、第1センサ装置22と第2センサ装置40との組合わせにより構成されている。第1センサ装置22は、ドア枠11に取付けられており、第2センサ装置40はドア14に取付けられている。そして、ドア14が閉められた状態では、第1センサ装置22と第2センサ装置40との間で後述する検出光L1,L2及び通信光S1,S2の送受がなされる。一方、ドア14が開けられた状態では、それら検出光L1,L2及び通信光S1,S2の送受がなされない状態となる。   The open / close detection sensor 20 is configured by a combination of a first sensor device 22 and a second sensor device 40. The first sensor device 22 is attached to the door frame 11, and the second sensor device 40 is attached to the door 14. When the door 14 is closed, detection light L1, L2 and communication light S1, S2, which will be described later, are transmitted and received between the first sensor device 22 and the second sensor device 40. On the other hand, when the door 14 is opened, the detection lights L1 and L2 and the communication lights S1 and S2 are not transmitted and received.

なお、本実施形態では、開閉体がドア14である例で説明するが、勿論、その他の開閉体、例えば、引戸式の開閉体にも適用できる。また、第1センサ装置22と第2センサ装置40の取付位置は逆であっても構わない。   In this embodiment, an example in which the opening / closing body is the door 14 will be described. However, the present invention can be applied to other opening / closing bodies, for example, a sliding door type opening / closing body. The attachment positions of the first sensor device 22 and the second sensor device 40 may be reversed.

図2は、第1センサ装置と第2センサ装置との間で送受される検出光及び通信光の経路を示す説明図である。   FIG. 2 is an explanatory diagram illustrating paths of detection light and communication light transmitted and received between the first sensor device and the second sensor device.

すなわち、第1センサ装置22は、発光部23,受光部24、第1の光送信部25及び第1の光受信部26とを備えており、これらは例えば第1センサ装置22のケース22a内に収納された基板22bに所定位置及び姿勢で実装固定されている。   That is, the first sensor device 22 includes a light emitting unit 23, a light receiving unit 24, a first light transmitting unit 25, and a first light receiving unit 26, which are, for example, in a case 22a of the first sensor device 22. Is mounted and fixed at a predetermined position and posture on the board 22b housed in the board.

発光部23は、発光ダイオード等の発光素子により構成されており、後述する計時回路部30からの出力信号に応じて第2センサ装置40に向けて検出光L1を発する。受光部24は、フォトトランジスタ等の受光素子により構成されており、第2センサ装置40からの戻り検出光L2を受光してこの検出信号を出力する。   The light emitting unit 23 is configured by a light emitting element such as a light emitting diode, and emits detection light L1 toward the second sensor device 40 in accordance with an output signal from a time measuring circuit unit 30 described later. The light receiving unit 24 includes a light receiving element such as a phototransistor, and receives the return detection light L2 from the second sensor device 40 and outputs this detection signal.

第1の光送信部25は、発光ダイオード等の発光素子により構成されており、後述する通信光制御回路部34から送られる電気信号を光信号に変換して、第2センサ装置40に向けて通信光S1を発信する。第1の光受信部26は、フォトトランジスタ等の受光素子により構成されており、第2センサ装置40からの応答通信光S2を受信して電気信号に変換して出力する。   The first optical transmission unit 25 is configured by a light emitting element such as a light emitting diode, and converts an electrical signal sent from a communication light control circuit unit 34 to be described later into an optical signal to be directed to the second sensor device 40. The communication light S1 is transmitted. The first light receiving unit 26 includes a light receiving element such as a phototransistor, receives response communication light S2 from the second sensor device 40, converts it into an electrical signal, and outputs it.

また、第2センサ装置40は、上記検出光L1に応じて戻り検出光L2を返す検出光戻し手段としてのプリズム42と、第2の光受信部43と、第2の光送信部44とを備えている。これらは、例えば所定のケース40a内に収納された基板40bに所定位置及び姿勢で実装固定されている。   The second sensor device 40 includes a prism 42 as a detection light return unit that returns the return detection light L2 in response to the detection light L1, a second light reception unit 43, and a second light transmission unit 44. I have. For example, these are mounted and fixed at a predetermined position and posture on a substrate 40b housed in a predetermined case 40a.

プリズム42は、角柱状部材の両端部を斜めに切り落した形状に形成されている。そして、検出光L1がプリズム42内に進入すると、各斜面で内部反射される。これにより、検出光L1の入射方向に対して反対方向に向けて、戻り検出光L2が外部に出射される。これにより、検出光L1に応じて戻り検出光L2が投光されることになる。   The prism 42 is formed in a shape obtained by obliquely cutting off both end portions of the prismatic member. When the detection light L1 enters the prism 42, it is internally reflected at each slope. Accordingly, the return detection light L2 is emitted to the outside in the direction opposite to the incident direction of the detection light L1. Thereby, the return detection light L2 is projected according to the detection light L1.

なお、検出光L1に応じて戻り検出光L2を返す検出光戻し手段は、上記プリズム42の他、一般的な反射鏡や導波路、光ファイバ等を用いた手段で構成されていてもよい。   The detection light return means for returning the return detection light L2 according to the detection light L1 may be configured by means using a general reflecting mirror, waveguide, optical fiber, or the like in addition to the prism 42.

第2の光受信部43は、フォトトランジスタ等の受光素子により構成されており、上記第1の光送信部25からの通信光S1を受信してこれを電気信号に変換して出力する。第2の光送信部44は、発光ダイオード等の発光素子により構成されており、後述する応答通信光制御回路部46からの電気信号を光信号に変換し、第1の光受信部26に向けて応答通信光S2を送信する。   The second optical receiver 43 is composed of a light receiving element such as a phototransistor, receives the communication light S1 from the first optical transmitter 25, converts it into an electrical signal, and outputs it. The second optical transmission unit 44 is configured by a light emitting element such as a light emitting diode, and converts an electrical signal from a response communication light control circuit unit 46 to be described later into an optical signal, which is directed to the first optical reception unit 26. The response communication light S2 is transmitted.

これらの第2の光受信部43、第2の光送信部44及び応答通信光制御回路部46が、通信光S1に応じて応答通信光S2を送信する通信光応答手段として機能する。   The second optical receiver 43, the second optical transmitter 44, and the response communication light control circuit unit 46 function as communication light response means for transmitting the response communication light S2 in response to the communication light S1.

そして、ドア14が閉じられた状態では、検出光L1及び戻り検出光L2、通信光S1及び応答通信光S2について、それぞれ次の経路が確立した状態となっている。   When the door 14 is closed, the following paths are established for the detection light L1, the return detection light L2, the communication light S1, and the response communication light S2.

すなわち、第1センサ装置22の発光部23から投光される検出光L1は、第2センサ装置40のプリズム42内に入射しここで内部反射して、戻り検出光L2として出射される。そして、この戻り検出光L2が第1センサ装置22の受光部24で受光される。   That is, the detection light L1 projected from the light emitting unit 23 of the first sensor device 22 enters the prism 42 of the second sensor device 40, is internally reflected here, and is emitted as return detection light L2. The return detection light L2 is received by the light receiving unit 24 of the first sensor device 22.

また、第1センサ装置22の第1の光送信部25から送信された通信光S1は第2センサ装置40の第2の光受信部43で受信されると共に、第2センサ装置40の第2の光送信部44から送信された応答通信光S2が第1センサ装置22の第1の光受信部26で受信される。   The communication light S <b> 1 transmitted from the first light transmission unit 25 of the first sensor device 22 is received by the second light reception unit 43 of the second sensor device 40 and the second light of the second sensor device 40. The response communication light S <b> 2 transmitted from the optical transmitter 44 is received by the first optical receiver 26 of the first sensor device 22.

一方、ドア14が開かれると、第1センサ装置22と第2センサ装置40との間で、検出光L1及び戻り検出光L2、通信光S1及び応答通信光S2の各経路が絶たれる。従って、受光部24で戻り検出光L2が受光されず、第2の光受信部43で通信光S1が受信されず、第1の光受信部26で応答通信光S2が受信されない状態となる。   On the other hand, when the door 14 is opened, the paths of the detection light L1, the return detection light L2, the communication light S1, and the response communication light S2 are disconnected between the first sensor device 22 and the second sensor device 40. Accordingly, the return detection light L2 is not received by the light receiving unit 24, the communication light S1 is not received by the second light receiving unit 43, and the response communication light S2 is not received by the first light receiving unit 26.

図3は開閉検出センサの電気的構成を示すブロック図である。   FIG. 3 is a block diagram showing an electrical configuration of the open / close detection sensor.

第1センサ装置22は、計時回路部30と、検出光検知回路部32と、通信光制御回路部34と、報知部36と、取外し検出部28とをさらに備えている。   The first sensor device 22 further includes a timing circuit unit 30, a detection light detection circuit unit 32, a communication light control circuit unit 34, a notification unit 36, and a removal detection unit 28.

計時回路部30は、例えば、リアルタイムクロック(RTC)回路により構成されており、第1インターバル期間毎に検出光発信信号を出力して発光部23を通じて検出光を出射させると共に、第2インターバル期間毎に起動信号を出力する。第1インターバル期間及び第2インターバル期間は、予め設定される期間であり、第2インターバル期間は第2インターバル期間よりも長時間に設定されている。特に、第2インターバル期間は、後述するように通信光制御回路部34が起動して演算処理を行うインターバル期間であるので、通信光制御回路部34の演算処理による総消費電力量が第1センサ装置22に内蔵される電源(例えば電池)の寿命に与える影響を可及的に小さくできるような期間に設定されていることが好ましい。好ましい例は、第1インターバル期間は1秒であり、第2インターバル期間は30秒である。   The timing circuit unit 30 is configured by, for example, a real-time clock (RTC) circuit, and outputs a detection light transmission signal for each first interval period to emit detection light through the light emitting unit 23 and for each second interval period. The start signal is output to. The first interval period and the second interval period are preset periods, and the second interval period is set longer than the second interval period. In particular, since the second interval period is an interval period in which the communication light control circuit unit 34 is activated and performs arithmetic processing as described later, the total power consumption by the arithmetic processing of the communication light control circuit unit 34 is the first sensor. It is preferable that the period is set such that the influence on the life of a power source (for example, a battery) incorporated in the device 22 can be minimized. In a preferred example, the first interval period is 1 second and the second interval period is 30 seconds.

計時回路部30からの検出光発信信号は、検出光検知回路部32を介して上記発光部23に出力される。発光部23は該信号を光に変換して検出光L1として外部に出射する。また、計時回路部30からの起動信号は、通信光制御回路部34に与えられる。   A detection light transmission signal from the timing circuit unit 30 is output to the light emitting unit 23 via the detection light detection circuit unit 32. The light emitting unit 23 converts the signal into light and emits it as detection light L1 to the outside. The activation signal from the time measuring circuit unit 30 is given to the communication light control circuit unit 34.

このような計時回路部30は、リアルタイムクロック回路のように、計時機能及び所定のタイミングで所定の信号を出力する機能のみを持つ回路で実現されるため、比較的低消費電力、特に、通信光制御回路部34よりも低消費電力である電気要素による実現される。   Such a timing circuit unit 30 is realized by a circuit having only a timing function and a function of outputting a predetermined signal at a predetermined timing, such as a real-time clock circuit. This is realized by an electric element that consumes less power than the control circuit unit 34.

検出光検知回路部32は、上記検出光発信信号と受光部24から出力される信号とに基づいて、検出光L1に応じた戻り検出光L2が受光されたか否かを検出し、検出光L1に応じた戻り検出光L2が受光されない場合に開状態検知信号を出力する。   The detection light detection circuit unit 32 detects whether the return detection light L2 corresponding to the detection light L1 is received based on the detection light transmission signal and the signal output from the light receiving unit 24, and detects the detection light L1. An open state detection signal is output when the return detection light L2 corresponding to is not received.

より具体的には、検出光検知回路部32は、例えば、ゲート素子を組合わせた論理回路により構成されている。そして、検出光発信信号の出力状態と受光部24からの出力状態とを論理演算し、検出光発信信号の出力がハイレベルでかつ受光部24からの出力がローレベルである場合、及び、検出光発信信号の出力がローレベルでかつ受光部24からの出力がハイレベルである場合に、開状態検知信号を出力する。ここで、検出光発信信号の出力がハイレベルでかつ受光部24からの出力がローレベルである状態は、通常、検出光L1が出射されているが、戻り検出光L2が受光部24で受光できない状態を意味する。また、検出光発信信号の出力がローレベルでかつ受光部24からの出力がハイレベルである状態は、通常、検出光L1が出射されない状態であるにも拘らず、何らかの光が受光部24で受光されている状態、即ち、検出光L1が出射される前後のタイミングで何らかの光が受光部24で受光された状態を意味する。検出光検知回路部32は、これらの各状態を検出して開状態検知信号を出力する。   More specifically, the detection light detection circuit unit 32 is configured by a logic circuit in which gate elements are combined, for example. Then, a logical operation is performed between the output state of the detection light transmission signal and the output state from the light receiving unit 24. When the output of the detection light transmission signal is high level and the output from the light reception unit 24 is low level, When the output of the light transmission signal is at a low level and the output from the light receiving unit 24 is at a high level, an open state detection signal is output. Here, when the output of the detection light transmission signal is high level and the output from the light receiving unit 24 is low level, the detection light L1 is normally emitted, but the return detection light L2 is received by the light receiving unit 24. It means a state that cannot be done. Further, the state in which the output of the detection light transmission signal is at a low level and the output from the light receiving unit 24 is at a high level usually means that some light is received by the light receiving unit 24 even though the detection light L1 is not emitted. This means a state where light is received, that is, a state where some light is received by the light receiving unit 24 at the timing before and after the detection light L1 is emitted. The detection light detection circuit unit 32 detects each of these states and outputs an open state detection signal.

この検出光検知回路部32は、検出光L1,L2の受光の有無に基づいて開閉状態を判別する第1の開閉状態検出手段として機能する。   The detection light detection circuit unit 32 functions as a first open / close state detection unit that determines the open / close state based on whether the detection lights L1 and L2 are received.

なお、この検出光検知回路部32が通信光制御回路部34に開状態検知信号を出力すると、通信光制御回路部34は、後述する処理とは別に、検出光検知回路部32における検出条件を反転させるよう制御処理を行った後、動作を終了する。これにより、一旦、ドア14が開いた状態を検出して開状態検知信号を出力した後、ドア14が開放されたままの状態でも開状態検知信号の出力を止めて通信光制御回路部34の起動を抑制するようにしている。なお、再度ドア14を閉じると、上記とは逆に、ドア14の閉状態が検出されて、通信光制御回路部34が一旦起動し、検出条件を元に戻すように制御して動作を終了する。   When the detection light detection circuit unit 32 outputs an open state detection signal to the communication light control circuit unit 34, the communication light control circuit unit 34 sets the detection conditions in the detection light detection circuit unit 32 separately from the processing described later. After performing the control process so as to invert, the operation is terminated. As a result, once the door 14 is detected to be opened and an open state detection signal is output, the output of the open state detection signal is stopped even when the door 14 remains open, and the communication light control circuit unit 34 Start-up is suppressed. When the door 14 is closed again, the closed state of the door 14 is detected and the communication light control circuit unit 34 is once activated and controlled to return the detection condition to the end, and the operation is ended. To do.

通信光制御回路部34は、CPU、ROM及びRAM34a等を備える一般的なマイクロコンピュータにより構成されており、予め格納されたソフトウェアプログラムによって後述する処理を実行する。   The communication light control circuit unit 34 is configured by a general microcomputer including a CPU, a ROM, a RAM 34a, and the like, and executes processing to be described later with a software program stored in advance.

そして、計時回路部30からの起動信号や検出光検知回路部32からの開状態検知信号、第1の光受信部26、後述する取外し検出部28からの出力信号が、通信光制御回路部34に与えられる。これらの信号に基づいて、通信光制御回路部34は、後に詳述するように、第1の光送信部25や報知部36の動作制御、RAM34aへの書込み制御等を行う。この通信光制御回路部34及び応答通信光制御回路部46は、正規の符号を含む通信光S1,S2を受信できたか否かを判別することによって前記開閉状態を判別する第2の開閉状態検出手段として機能する。   Then, an activation signal from the timing circuit unit 30, an open state detection signal from the detection light detection circuit unit 32, an output signal from the first light reception unit 26, and a removal detection unit 28, which will be described later, are transmitted to the communication light control circuit unit 34. Given to. Based on these signals, the communication light control circuit unit 34 performs operation control of the first light transmission unit 25 and the notification unit 36, write control to the RAM 34a, and the like, as will be described in detail later. The communication light control circuit unit 34 and the response communication light control circuit unit 46 determine the open / closed state by determining whether or not the communication lights S1 and S2 including the normal code have been received. Functions as a means.

報知部36は、圧電ブザーやスピーカ等の発音体により構成されている。報知部36としては、その他、LED等の発光体等を用いてもよい。そして、上記通信光制御回路部34による制御に応じて、後述するタイミングで音等を用いた報知動作を行う。   The notification unit 36 includes a sounding body such as a piezoelectric buzzer or a speaker. As the notification unit 36, a light emitter such as an LED may be used. Then, according to the control by the communication light control circuit unit 34, a notification operation using sound or the like is performed at a timing described later.

また、取外し検出部28は、第1センサ装置22がドア枠11から取外されたことを検出する取外し検出手段として機能する。ここでは、取外し検出部28は、マイクロスイッチにより構成されており、マイクロスイッチの一方側接点が通信光制御回路部34の信号入力端子に接続されると共にプルアップ抵抗を介して所定電位に接続され、他方側接点がアース接続されている。そして、第1センサ装置22をドア枠11に取付或は取外すことで、マイクロスイッチの接点が開閉するように構成されている。これにより、ドア枠11に対する第1センサ装置22の取付、取外し状態に応じた出力が、通信光制御回路部34の所定の信号入力端子に与えられるように構成されている。   The removal detection unit 28 functions as a removal detection unit that detects that the first sensor device 22 has been removed from the door frame 11. Here, the removal detection unit 28 is configured by a micro switch, and one side contact of the micro switch is connected to a signal input terminal of the communication light control circuit unit 34 and is connected to a predetermined potential via a pull-up resistor. The other side contact is grounded. The first sensor device 22 is attached to or detached from the door frame 11 so that the contacts of the microswitch are opened and closed. Thereby, the output according to the attachment and removal state of the first sensor device 22 with respect to the door frame 11 is configured to be given to a predetermined signal input terminal of the communication light control circuit unit 34.

図4は第1センサ装置における通信光制御回路部の動作内容を示すフローチャートである。   FIG. 4 is a flowchart showing the operation contents of the communication light control circuit unit in the first sensor device.

まず、この通信光制御回路部34は通常状態では、非起動状態(後述するステップS1〜ステップS10の各処理を実行する起動状態よりも消費電力が少ない状態をいう)にある。   First, in the normal state, the communication light control circuit unit 34 is in a non-activated state (refers to a state in which power consumption is less than that in an activated state in which each process of Step S1 to Step S10 described later is executed).

そして、検出光検知回路部32からの開状態検知信号、計時回路部30からの起動信号、取外し検出部28からの検知信号のうちのいずれかが、通信光制御回路部34に入力されると、ステップS1に示すように、通信光制御回路部34が起動して所定の起動処理を実行する。   When any one of the open state detection signal from the detection light detection circuit unit 32, the activation signal from the timing circuit unit 30, and the detection signal from the removal detection unit 28 is input to the communication light control circuit unit 34. As shown in step S1, the communication light control circuit unit 34 is activated to execute a predetermined activation process.

この後、ステップS2に進み、入力された信号が、開状態検知信号、計時回路部30からの起動信号、取外しの検出信号のうちのどれであるかが判定される。   Thereafter, the process proceeds to step S2, and it is determined whether the input signal is an open state detection signal, an activation signal from the time measuring circuit unit 30, or a removal detection signal.

ステップS2で、入力された信号が開状態検知信号であると判断された場合、ステップS3に進んで、報知部36を通じて報知を行う。この後、ステップS4に進んで、その開状態検出の時間を計時回路部30から読込んでRAM34aに記憶させる。   When it is determined in step S2 that the input signal is an open state detection signal, the process proceeds to step S3, where notification is performed through the notification unit 36. Thereafter, the process proceeds to step S4, and the open state detection time is read from the timing circuit unit 30 and stored in the RAM 34a.

この後、ステップS9に進んで、所定の終了処理を実行して非起動状態に移行する。   Then, it progresses to step S9, performs a predetermined | prescribed termination process, and transfers to a non-activation state.

一方、ステップS2において、入力信号が計時回路部30からの起動信号であると判断された場合、ステップS5に進む。ステップS5では、予め設定された所定の識別符号を含む通信光S1を、第1の光送信部25を通じて第2センサ装置40に向けて送信する。この識別符号は暗号化されていることが好ましい。   On the other hand, if it is determined in step S2 that the input signal is the activation signal from the time measuring circuit unit 30, the process proceeds to step S5. In step S <b> 5, the communication light S <b> 1 including a predetermined identification code set in advance is transmitted toward the second sensor device 40 through the first optical transmission unit 25. This identification code is preferably encrypted.

次に、ステップS6に進み、光信号の応答が正常か否かが判断される。例えば、第2センサ装置40から応答されるべき光信号が第1の光受信部26を通じて受信され、かつ、その信号に含まれる応答識別符号が予め設定された所定の応答識別符号と一致している場合に、応答は正常であると判断される。その他の場合、例えば、光信号の受信がなされない場合や、応答識別符号が不一致である場合には、応答異常であると判断される。   Next, proceeding to step S6, it is determined whether or not the response of the optical signal is normal. For example, an optical signal to be responded from the second sensor device 40 is received through the first optical receiver 26, and the response identification code included in the signal matches a predetermined response identification code set in advance. If so, the response is determined to be normal. In other cases, for example, when no optical signal is received or when the response identification codes do not match, it is determined that the response is abnormal.

ステップS6で応答異常であると判断された場合、ステップS7に進み、開状態報知信号を出力して報知部36を通じて報知を行う。この後、ステップS8に進んで、応答異常を検出した時間を、RAM34aに記憶させる。   If it is determined in step S6 that the response is abnormal, the process proceeds to step S7, an open state notification signal is output, and notification is performed through the notification unit 36. Thereafter, the process proceeds to step S8, and the time when the response abnormality is detected is stored in the RAM 34a.

この後、ステップS9に進んで、所定の終了処理を実行して非起動状態に移行する。   Then, it progresses to step S9, performs a predetermined | prescribed termination process, and transfers to a non-activation state.

ステップS6において、応答が正常であると判断された場合には、ステップS9に進み、所定の終了処理を実行して非起動状態に移行する。   If it is determined in step S6 that the response is normal, the process proceeds to step S9, a predetermined end process is executed, and a transition to the non-activated state is made.

また、ステップS2において、入力信号が取外しの検出信号であると判定された場合、ステップS10に進む。ステップS10では、取外しを検出した履歴をRAM34aに記憶させる。この後、ステップS9に進んで、所定の終了処理を実行して非起動状態に移行する。   If it is determined in step S2 that the input signal is a removal detection signal, the process proceeds to step S10. In step S10, the history of detection of removal is stored in the RAM 34a. Then, it progresses to step S9, performs a predetermined | prescribed termination process, and transfers to a non-activation state.

つまり、この通信光制御回路部34は、第2インターバル期間毎に起動信号に応じて起動する。そして、通信光制御回路部34は、第1の光送信部25を通じて所定の符号を含む通信光S1を発すると共に、第1の光受信部26を通じて正規の応答符号を含む応答通信光S2を受信できたか否かを判別し、受信できないと判別された場合に、開状態報知信号を出力する機能を有している。   That is, the communication light control circuit unit 34 is activated according to the activation signal every second interval period. Then, the communication light control circuit unit 34 emits the communication light S1 including the predetermined code through the first optical transmission unit 25 and receives the response communication light S2 including the normal response code through the first optical reception unit 26. It has a function of determining whether or not it is possible and outputting an open state notification signal when it is determined that reception is impossible.

なお、本実施形態では、通信光制御回路部34は、上記タイミングの他、第1インターバル期間で検出光L1が射出される各タイミングのうち開状態を検知されるタイミング、第1センサ装置22の取外しを検出されたタイミングにも起動しており、これらの起動時間を除く期間で、通信光制御回路部34は非起動状態となっている。   In this embodiment, the communication light control circuit unit 34 detects the open state among the timings at which the detection light L1 is emitted in the first interval period in addition to the above timing, The communication light control circuit unit 34 is in the non-activated state during the period excluding these activation times.

なお、RAM34aに記憶された取外し検出時間等は、適宜インターフェースを通じて外部のコンピュータ装置により適宜読取り可能とされている。   The removal detection time and the like stored in the RAM 34a can be appropriately read by an external computer device through an interface.

図3に戻って、第2センサ装置40は、応答通信光制御回路部46と、取外し検出部48とをさらに備えている。   Returning to FIG. 3, the second sensor device 40 further includes a response communication light control circuit unit 46 and a removal detection unit 48.

応答通信光制御回路部46は、CPU、ROM及びRAM46a等を備える一般的なマイクロコンピュータにより構成されており、予め格納されたソフトウェアプログラムによって後述する処理を実行する。   The response communication light control circuit unit 46 is configured by a general microcomputer including a CPU, a ROM, a RAM 46a, and the like, and executes processing to be described later with a software program stored in advance.

そして、第2の光受信部43や取外し検出部48からの出力信号が応答通信光制御回路部46に与えられる。これらの信号に基づいて、応答通信光制御回路部46は、後に詳述するように、第2の光送信部44の動作制御や、RAM46aへの書込み制御等を行う。   Then, output signals from the second light receiving unit 43 and the removal detecting unit 48 are given to the response communication light control circuit unit 46. Based on these signals, the response communication light control circuit unit 46 performs operation control of the second light transmission unit 44, control of writing to the RAM 46a, and the like, as will be described in detail later.

取外し検出部48は、第2センサ装置40がドア14からから取外されたことを検出する取外し検出手段として機能する。ここでは、取外し検出部48は、上記取外し検出部28と同様に、マイクロスイッチを含む手段により構成されている。そして、ドア枠11に対する第2センサ装置40の取付、取外し状態に応じた出力が、応答通信光制御回路部46の所定の信号入力端子に与えられる。   The removal detection unit 48 functions as a removal detection unit that detects that the second sensor device 40 has been removed from the door 14. Here, similarly to the above-described removal detection unit 28, the removal detection unit 48 is configured by means including a micro switch. And the output according to the attachment and removal state of the 2nd sensor apparatus 40 with respect to the door frame 11 is given to the predetermined | prescribed signal input terminal of the response communication light control circuit part 46. FIG.

図5は第2センサ装置における通信光制御回路部の動作内容を示すフローチャートである。   FIG. 5 is a flowchart showing the operation content of the communication light control circuit unit in the second sensor device.

まず、この応答通信光制御回路部46は、通常状態では、非起動状態(後述するステップS21〜ステップS26の各処理を実行する起動状態よりも消費電力が少ない状態をいう)にある。   First, the response communication light control circuit unit 46 is in a non-activated state (which means a state in which power consumption is less than that in an activated state in which each process of Steps S21 to S26 described later) is performed in a normal state.

そして、第2の光受信部43からの出力信号及び取外し検出部48からの検知信号のうちのいずれかが、応答通信光制御回路部46に入力されると、ステップS21に示すように、応答通信光制御回路部46が起動して所定の起動処理を実行する。   When either the output signal from the second optical receiver 43 or the detection signal from the removal detector 48 is input to the response communication light control circuit unit 46, as shown in step S21, the response The communication light control circuit unit 46 is activated to execute a predetermined activation process.

この後、ステップS22に進み、入力された信号が、第2の光受信部43からの出力信号及び取外し検出部48からの検知信号のうちのいずれであるかが判定される。   Thereafter, the process proceeds to step S22, in which it is determined whether the input signal is an output signal from the second optical receiver 43 or a detection signal from the removal detector 48.

ステップS22で、入力された信号が第2の光受信部43からの出力信号であると判断された場合、つまり、光信号を受信したと判断された場合、ステップS23に進む。   If it is determined in step S22 that the input signal is an output signal from the second optical receiver 43, that is, if it is determined that an optical signal has been received, the process proceeds to step S23.

ステップS23では、光信号が正常か否かが判断される。例えば、第1センサ装置22から送信されるべき通信光S2が第2の光受信部43を通じて受信され、かつ、その信号に含まれる識別符号が予め設定される所定の識別符号と一致している場合に、光信号は正常であると判断される。その他の場合、例えば、識別符号が不一致である場合には、光信号は異常であると判断される。   In step S23, it is determined whether or not the optical signal is normal. For example, the communication light S2 to be transmitted from the first sensor device 22 is received through the second optical receiver 43, and the identification code included in the signal matches a predetermined identification code set in advance. In this case, it is determined that the optical signal is normal. In other cases, for example, when the identification codes do not match, it is determined that the optical signal is abnormal.

ステップS23で光信号が正常であると判断された場合、ステップS24に進む。ステップS24では、予め設定された所定の応答識別符号を含む通信光S2を第2の光送信部44を通じて第1センサ装置22に向けて送信する。この応答識別符号も暗号化されていることが好ましい。   If it is determined in step S23 that the optical signal is normal, the process proceeds to step S24. In step S <b> 24, the communication light S <b> 2 including a predetermined response identification code set in advance is transmitted toward the first sensor device 22 through the second optical transmission unit 44. This response identification code is also preferably encrypted.

次に、ステップS25に進み、所定の終了処理を実行して非起動状態に移行する。   Next, it progresses to step S25, a predetermined | prescribed termination process is performed, and it transfers to a non-activation state.

上記ステップS23において、光信号が異常であると判断された場合、ステップS25に進み、所定の終了処理を実行して非起動状態に移行する。   If it is determined in step S23 that the optical signal is abnormal, the process proceeds to step S25, where a predetermined end process is executed to shift to a non-activated state.

また、上記ステップS22において、入力された信号が取外し検出信号であると判断された場合、ステップS26に進む。   If it is determined in step S22 that the input signal is a removal detection signal, the process proceeds to step S26.

ステップS26では、取外しを検出した履歴をRAM46aに記憶させる。この後、ステップS25に進んで、所定の終了処理を実行して非起動状態に移行する。   In step S26, the history of detection of removal is stored in the RAM 46a. Then, it progresses to step S25, performs a predetermined | prescribed termination process, and transfers to a non-activation state.

つまり、この応答通信光制御回路部46は、第2の光送信部44を通じて通信光S1が受信されると起動し、正規の符号を含む通信光S1を受信できたか否かを判別し、正規の符号を含む通信光S1を受信できたと判別された場合に、第2の光送信部44を通じて応答通信光S2を送信する手段として機能する。   That is, the response communication light control circuit unit 46 is activated when the communication light S1 is received through the second light transmission unit 44, and determines whether or not the communication light S1 including the normal code has been received. When it is determined that the communication light S <b> 1 including the reference numeral can be received, it functions as means for transmitting the response communication light S <b> 2 through the second optical transmission unit 44.

なお、RAM46aに記憶された取外し検出履歴等は、適宜インターフェースを通じて外部のコンピュータ装置により適宜読取り可能とされている。   Note that the removal detection history stored in the RAM 46a can be appropriately read by an external computer device through an interface.

このように構成された開閉検出センサの全体的な検出動作について説明する。   The overall detection operation of the open / close detection sensor configured as described above will be described.

まず、ドア14が閉じられた状態では、第1インターバル期間(例えば1秒)毎に検出光L1に応じた戻り検出光L2の受光の有無による開状態の検出が行われる。また、第2インターバル期間毎に通信光S1に応じて応答通信光S2が受信されたか否かを判別することで開状態の検出が行われる。   First, in a state where the door 14 is closed, an open state is detected based on whether or not the return detection light L2 is received according to the detection light L1 every first interval period (for example, 1 second). Further, the open state is detected by determining whether or not the response communication light S2 is received according to the communication light S1 every second interval period.

この状態からドア14が開いた状態になると、第1センサ装置22と第2センサ装置40との相対的な位置関係がずれ、検出光L1又は戻り検出光L2の経路が途絶えた状態となる。これにより、検出光検知回路部32から開状態検知信号が出力され、通信光制御回路部34及び報知部36を通じて報知がなされる。   When the door 14 is opened from this state, the relative positional relationship between the first sensor device 22 and the second sensor device 40 is shifted, and the path of the detection light L1 or the return detection light L2 is interrupted. As a result, an open state detection signal is output from the detection light detection circuit unit 32, and notification is made through the communication light control circuit unit 34 and the notification unit 36.

ここでの開状態の検出は、戻り検出光L2の受光の有無に依存してなされている。このため、第1センサ装置22に、上記プリズム42以外の反射手段を取付ける等の細工が施されると、上記開状態の検出はなされない可能性がある。   The detection of the open state here is made depending on whether or not the return detection light L2 is received. For this reason, if the first sensor device 22 is crafted such as attaching a reflection means other than the prism 42, the open state may not be detected.

このような場合であっても、第2インターバル期間(例えば30秒)毎に、識別符号を含む通信光S1及び応答識別符号を含む応答通信光S2を用いた開状態の検出が行われる。これらの通信光S1及び応答通信光S2は、識別符号及び応答識別符号を含んでいるため、上記のような細工による偽装は難しく、より確実に開状態の検出がなされる。   Even in such a case, detection of the open state is performed using the communication light S1 including the identification code and the response communication light S2 including the response identification code every second interval period (for example, 30 seconds). Since the communication light S1 and the response communication light S2 include the identification code and the response identification code, it is difficult to impersonate by the above-mentioned work, and the open state is detected more reliably.

また、これらの各状態において、第1センサ装置22及び第2センサ装置40が取外されると、各取外しの履歴情報がRAM33a、46aに書込まれる。このため、第1センサ装置22及び第2センサ装置40自体を取外して何らかの細工を施して元の状態に戻したような場合にも、その事実を監視することができる。   In each of these states, when the first sensor device 22 and the second sensor device 40 are removed, the history information of each removal is written in the RAMs 33a and 46a. For this reason, even when the first sensor device 22 and the second sensor device 40 themselves are removed and some work is performed to restore the original state, the fact can be monitored.

以上のように構成された開閉検出センサによると、比較的短い第1インターバル期間毎に、検出光L1を発すると共に、この検出光L1に応じた戻り検出光L2が受光されたか否かを検出することによって、ドア14の開状態を検出できる。また、比較的長い第2のインターバル期間毎に、所定の識別符号を含む通信光S1を発すると共に、これに応じて所定の応答識別符号を含む応答通信光S2を受信できたか否かを判別することによって、ドア14の開状態を検出できる。   According to the open / close detection sensor configured as described above, the detection light L1 is emitted for each relatively short first interval period, and whether or not the return detection light L2 corresponding to the detection light L1 is received is detected. Thus, the open state of the door 14 can be detected. In addition, the communication light S1 including the predetermined identification code is emitted for each relatively long second interval period, and it is determined whether or not the response communication light S2 including the predetermined response identification code can be received according to this. Thus, the open state of the door 14 can be detected.

このため、比較的高頻度で検出光L1,L2を用いて開状態の検出を行いつつ、比較的低頻度で、偽装等が困難な通信光S1,S2を用いてより確実な開状態の検出を行うことができ、高度の安全性を確保できる。   Therefore, the detection of the open state using the detection lights L1 and L2 with relatively high frequency, and the detection of the open state with higher reliability using the communication lights S1 and S2 that are difficult to impersonate with relatively low frequency. It is possible to ensure a high level of safety.

また、通常、正規の符号を含む応答通信光S2を受信できたか否かを判別する通信光制御回路部34の消費電力は大きくなる傾向にあるところ、通信光制御回路部34は、開状態を検出する動作に関しては、比較的長い第2インターバル期間毎に起動して前記開閉状態を判別する。従って、常時起動しているのは、極低消費電力である計時回路部30だけにすることができ、装置全体として低消費電力化をも図ることもできる。例えば、一般的な小型のリチウム電池などでも10年以上の寿命を期待でき、結果、外部からの電源供給を受けるための配線等を省略することができる。   Normally, the communication light control circuit unit 34 that determines whether or not the response communication light S2 including the normal code has been received tends to increase. However, the communication light control circuit unit 34 is in the open state. With respect to the operation to be detected, it is activated every second interval period that is relatively long, and the open / close state is determined. Therefore, only the time counting circuit unit 30 having extremely low power consumption can be always activated, and the power consumption of the entire apparatus can be reduced. For example, a typical small lithium battery can be expected to have a life of 10 years or longer, and as a result, wiring for receiving external power supply can be omitted.

さらに、第2センサ装置40についても、第2の光受信部43を介して通信光S1が受信されると応答通信光制御回路部46が起動し、正規の符号を含む通信光S1を受信できたか否かを判別し、正規のものであると判別された場合に、第2の光送信部44を通じて応答通信光S2を送信するようにしているため、応答通信光制御回路部46についても、動作時間をなるべく少なくして低消費電力化を図ることができる。   Further, also for the second sensor device 40, when the communication light S1 is received via the second light receiving unit 43, the response communication light control circuit unit 46 is activated and can receive the communication light S1 including the normal code. When the response communication light S2 is transmitted through the second optical transmission unit 44 when it is determined that the response communication light S2 is legitimate, the response communication light control circuit unit 46 also includes: The operation time can be reduced as much as possible to reduce power consumption.

また、第1センサ装置22及び第2センサ装置40は、ドア14やその周辺部のドア枠11から取外されたことを検出する取外し検出部28,48を備えているため、センサ装置22,40の取外し事実をも検出することができる。これにより、センサ装置22,40の取外しを伴う不正な細工等にも対応が容易となる。   Moreover, since the 1st sensor apparatus 22 and the 2nd sensor apparatus 40 are provided with the removal detection parts 28 and 48 which detect having removed from the door frame 11 of the door 14 or its periphery part, the sensor apparatus 22, 40 removal facts can also be detected. Thereby, it becomes easy to cope with an unauthorized work or the like accompanied by removal of the sensor devices 22 and 40.

さらに、上述した各開状態の検出時間や取外しの検出時間等の履歴情報をRAM33a,48a等に記憶しているため、開閉状態や各センサ装置の取外し状態等を管理できる。   Furthermore, since history information such as the detection time of each open state and the detection time of removal described above is stored in the RAM 33a, 48a, etc., the open / close state, the removal state of each sensor device, and the like can be managed.

{変形例}
なお、上記取外し検出部28,48は、センサ装置22,40のいずれか一方側にのみ設けられていてもよい。また、取外し検出時に、報知手段等を通じて報知を行わせるようにしてもよい。
{Modification}
The removal detection units 28 and 48 may be provided only on one side of the sensor devices 22 and 40. Moreover, you may make it alert | report through an alerting | reporting means etc. at the time of removal detection.

さらに、上記開状態の検出時に、その場所で報知する構成に加えて又は代りに、通信経路を介して接続された他の場所の機器(例えば警備システムの集中監視センター等)で報知する構成としてもよい。   Furthermore, in addition to or instead of the configuration in which notification is made at the location when the open state is detected, a configuration in which notification is made by equipment in another location (for example, a centralized monitoring center of a security system) connected via a communication path. Also good.

また、RAM33a,46aで記憶される内容は、上記各開状態の検出時間及び各取外し検出時間のうち少なくとも一つであってもよい。   Further, the content stored in the RAMs 33a and 46a may be at least one of the detection times of the open states and the removal detection times.

このような開閉検出センサ20の使用形態としては、例えば、オフィスビルや病院などにおいて、限られた時間帯では開閉されてはならない扉に設置して、開閉の履歴を残すような例も考えられる。   As a usage form of such an open / close detection sensor 20, for example, in an office building or a hospital, it may be installed on a door that should not be opened / closed for a limited time period, and an opening / closing history may be left. .

また、一般住宅での防犯用に適用する場合等に、電源配線工事等が不要となるため、容易に取付けることができる。また、一人暮しの老人宅等に取付け、本開閉検出センサ20の検出状態を、所定の通信回線を通じて管理することで、健康かどうかの判断や防犯等に役立てることができる。   In addition, when it is applied for crime prevention in a general house, power wiring work or the like is not required, so that it can be easily attached. Moreover, it can be used for judgment of health, crime prevention, etc. by attaching to the elderly living alone and managing the detection state of the open / close detection sensor 20 through a predetermined communication line.

さらに、開閉検出センサ20は、上記のような建築物に対する扉の他、金庫の扉や、キャビネットの引出しや扉等にも取付けることができる。   Further, the open / close detection sensor 20 can be attached to a door of a safe, a drawer of a cabinet, a door, or the like in addition to the door to the building as described above.

図1は開閉検出センサの使用例を示す図である。FIG. 1 is a diagram showing an example of use of an open / close detection sensor. 第1センサ装置と第2センサ装置との間で送受される検出光及び通信光の経路を示す説明図である。It is explanatory drawing which shows the path | route of the detection light and communication light which are transmitted / received between a 1st sensor apparatus and a 2nd sensor apparatus. 開閉検出センサの電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of an opening / closing detection sensor. 第1センサ装置における通信光制御回路部の動作内容を示すフローチャートである。It is a flowchart which shows the operation | movement content of the communication light control circuit part in a 1st sensor apparatus. 第2センサ装置における通信光制御回路部の動作内容を示すフローチャートである。It is a flowchart which shows the operation | movement content of the communication light control circuit part in a 2nd sensor apparatus.

符号の説明Explanation of symbols

11 ドア枠
14 ドア
20 開閉検出センサ
22 第1センサ装置
23 発光部
24 受光部
25 第1の光送信部
26 第1の光受信部
28,48 取外し検出部
30 計時回路部
32 検出光検知回路部
34 通信光制御回路部
34a RAM
36 報知部
40 第2センサ装置
42 プリズム
43 第2の光受信部
44 第2の光送信部
46 応答通信光制御回路部
46a RAM
L1,L2 検出光
S1,S2 通信光
DESCRIPTION OF SYMBOLS 11 Door frame 14 Door 20 Opening / closing detection sensor 22 1st sensor apparatus 23 Light emission part 24 Light reception part 25 1st light transmission part 26 1st light reception part 28,48 Removal detection part 30 Timing circuit part 32 Detection light detection circuit part 34 Communication Light Control Circuit Unit 34a RAM
36 Notification unit 40 Second sensor device 42 Prism 43 Second light receiving unit 44 Second light transmitting unit 46 Response communication light control circuit unit 46a RAM
L1, L2 detection light S1, S2 Communication light

Claims (6)

開閉体及びその周辺部に取付けられ、前記開閉体の開閉状態を検出する開閉検出センサであって、
検出光の受光の有無に基づいて前記開閉状態を判別する第1の開閉状態検出手段と、
正規の符号を含む通信光を受信できたか否かを判別することによって前記開閉状態を判別する第2の開閉状態検出手段と、
を備え、
前記第1の開閉状態検出手段は、所定の第1インターバル期間毎に前記開閉状態を判別する動作を行い、前記第2の開閉状態検出手段は、前記第1インターバル期間よりも長い所定の第2インターバル期間毎に前記開閉状態を判別する動作を行う、開閉検出センサ。
An open / close detection sensor attached to the open / close body and its peripheral part to detect the open / close state of the open / close body,
First open / closed state detecting means for determining the open / closed state based on the presence or absence of detection light;
Second opening / closing state detecting means for determining the opening / closing state by determining whether or not communication light including a normal code has been received;
With
The first open / close state detection means performs an operation of determining the open / close state for each predetermined first interval period, and the second open / close state detection means has a predetermined second longer than the first interval period. An open / close detection sensor that performs an operation of determining the open / close state for each interval period.
開閉体及びその周辺部に取付けられ、前記開閉体の開閉状態を検出する開閉検出センサであって、
前記開閉体及びその周辺部のうちの一方に取付けられ、検出光を発する発光部と、この検出光に応じた戻り検出光を受光する受光部と、通信光を発する第1の光送信部と、この通信光に応じた応答通信光を受ける第1の光受信部とを備えた第1センサ装置と、
前記開閉体及びその周辺部のうちの他方に取付けられ、前記検出光に応じて戻り検出光を返す検出光戻し手段と、前記通信光に応じて応答通信光を発信する通信光応答手段とを有する第2センサ装置と、
を備え、
前記第1センサ装置は、
所定の第1インターバル期間毎に前記発光部を通じて検出光を発すると共に、前記第1インターバル期間よりも長時間である所定の第2インターバル期間毎に起動信号を出力する計時回路部と、
前記受光部からの出力信号に基づいて、前記検出光に応じた前記戻り検出光が受光されたか否かを検出し、前記戻り検出光を受光できない場合に開状態検知信号を出力する戻り検出光検知回路部と、
前記起動信号に応じて起動することにより、前記第1の光発信部を通じて所定の符号を含む通信光を発すると共に、前記第1の光受信部を通じて正規の応答符号を含む応答通信光を受信できたか否かを判別し、受信できないと判別された場合に開状態報知信号を出力する通信光制御回路部と、
をさらに備えた開閉検出センサ。
An open / close detection sensor attached to the open / close body and its peripheral part to detect the open / close state of the open / close body,
A light emitting unit that emits detection light, is attached to one of the opening and closing body and its peripheral part, a light receiving unit that receives return detection light according to the detection light, and a first light transmission unit that emits communication light A first sensor device including a first light receiving unit that receives response communication light according to the communication light;
Detection light return means that is attached to the other of the opening and closing body and its peripheral part and returns return detection light according to the detection light; and communication light response means that transmits response communication light according to the communication light. A second sensor device comprising:
With
The first sensor device includes:
A timing circuit unit that emits detection light through the light emitting unit every predetermined first interval period and outputs an activation signal every predetermined second interval period that is longer than the first interval period;
Return detection light that detects whether the return detection light corresponding to the detection light is received based on an output signal from the light receiving unit, and outputs an open state detection signal when the return detection light cannot be received A detection circuit unit;
By activating in response to the activation signal, it is possible to emit communication light including a predetermined code through the first optical transmission unit and receive response communication light including a normal response code through the first optical reception unit. A communication light control circuit unit that outputs an open state notification signal when it is determined that reception is not possible,
An open / close detection sensor further comprising:
請求項2記載の開閉検出センサであって、
前記第2センサ装置の通信光応答手段は、前記第1の光発信部からの通信光を受信する第2の光受信部と、前記第1の光受信部に向けて応答通信光を発する第2の光送信部と、第2の光受信部を介して通信光が受信されると起動し、正規の符号を含む通信光を受信できたか否かを判別し、正規の符号を含む通信光を受信できたと判別された場合に、前記第2の光送信部を通じて所定の応答符号を含む応答通信光を送信する応答通信光制御回路部と、を備えたものである、開閉検出センサ。
The open / close detection sensor according to claim 2,
The communication light response means of the second sensor device includes a second light reception unit that receives communication light from the first light transmission unit, and a first light transmission unit that emits response communication light toward the first light reception unit. When communication light is received via the second optical transmitter and the second optical receiver, the communication light is activated to determine whether the communication light including the normal code has been received, and the communication light including the normal code. A response communication light control circuit unit that transmits response communication light including a predetermined response code through the second optical transmission unit when it is determined that the signal has been received.
請求項2又は請求項3記載の開閉検出センサであって、
前記第1センサ装置及び前記第2センサ装置のうち少なくとも一方は、自己が前記開閉体或はその周辺部から取外されたことを検出する取外し検出手段を備えた、開閉検出センサ。
The open / close detection sensor according to claim 2 or 3,
At least one of the first sensor device and the second sensor device is an opening / closing detection sensor provided with a removal detecting means for detecting that the device has been removed from the opening / closing body or its peripheral portion.
請求項2〜請求項4のいずれかに記載の開閉検出センサであって、
前記第1センサ装置及び前記第2センサ装置のうちの少なくとも一方が、前記検出光検知回路部で戻り検出光を受光できないと判別された履歴情報、前記通信光制御回路部で正規の符号を含む応答通信光を受信できないと判別された履歴情報、前記第1センサ装置又は前記第2センサ装置が前記開閉体及びその周辺部から取外されたことを検出された履歴情報のうち少なくとも一つを記憶する記憶手段をさらに備える、開閉検出センサ。
The open / close detection sensor according to any one of claims 2 to 4,
At least one of the first sensor device and the second sensor device includes history information determined that the detection light detection circuit unit cannot receive return detection light, and includes a normal code in the communication light control circuit unit. At least one of history information determined that the response communication light cannot be received, and history information detected when the first sensor device or the second sensor device is removed from the opening / closing body and its peripheral portion. An open / close detection sensor further comprising storage means for storing.
前記開閉体の開閉状態を検出する開閉検出方法であって、
前記開閉体の開閉状態に応じて受光状況が変動するように検出光が投光されると共に、前記開閉体の開閉状態に応じて受信状況が変動するように通信光が発信され、
(a)前記検出光の受光状態に基づいて前記開閉状態を判別する工程と、
(b)正規の符号を含む通信光を受信できたか否かを判別する工程と、
を備え、
前記工程(a)は所定の第1インターバル期間毎に繰返し行われ、前記工程(b)は前記第1インターバル期間よりも長時間である所定の第2インターバル期間毎に繰返し行われる、開閉検出方法。
An open / close detection method for detecting an open / close state of the open / close body,
The detection light is projected so that the light reception state varies depending on the open / close state of the opening / closing body, and the communication light is transmitted so that the reception state varies depending on the open / close state of the opening / closing body,
(A) determining the open / closed state based on a light receiving state of the detection light;
(B) a step of determining whether or not communication light including a normal code has been received;
With
The opening / closing detection method, wherein the step (a) is repeatedly performed every predetermined first interval period, and the step (b) is repeatedly performed every predetermined second interval period which is longer than the first interval period. .
JP2005057399A 2005-03-02 2005-03-02 Opening/closing detection sensor and opening/closing detection method Pending JP2006242696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005057399A JP2006242696A (en) 2005-03-02 2005-03-02 Opening/closing detection sensor and opening/closing detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005057399A JP2006242696A (en) 2005-03-02 2005-03-02 Opening/closing detection sensor and opening/closing detection method

Publications (1)

Publication Number Publication Date
JP2006242696A true JP2006242696A (en) 2006-09-14

Family

ID=37049270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005057399A Pending JP2006242696A (en) 2005-03-02 2005-03-02 Opening/closing detection sensor and opening/closing detection method

Country Status (1)

Country Link
JP (1) JP2006242696A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018043333A1 (en) * 2016-08-31 2018-03-08 日本電産リード株式会社 Door open/closed state detection unit and door with open/closed detection function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018043333A1 (en) * 2016-08-31 2018-03-08 日本電産リード株式会社 Door open/closed state detection unit and door with open/closed detection function

Similar Documents

Publication Publication Date Title
US10896595B2 (en) Temporary security bypass method and apparatus
US9811986B2 (en) Method and device for determining an unauthorized intrusion at a door
US5801627A (en) Portable loss-protection device
KR20170118803A (en) Smart barrier alarm system
CA2346650C (en) Device for signalling spatial separation or closeness beyond or within a predetermined limit
CN111630576B (en) Storing events of a sensor device
JP3936612B2 (en) Magnet sensor, magnet sensor system, alarm system and home security system
WO2006027929A1 (en) Detector, abnormality monitoring system, detector control program, recording medium containing detector control program
CN105528155A (en) Alarm clock reminding control method, and device and terminal equipment
CN105488947A (en) Method and device for alarm processing, and terminal device
JP2006242696A (en) Opening/closing detection sensor and opening/closing detection method
CN101216977A (en) A theft protection monitoring method based on mobile intelligent terminal and magnetic sensor
JP6018791B2 (en) Gate control device
JP2005078500A (en) Glass breakage detector
JP2004310622A (en) Display device
CA2420564A1 (en) Hearing aid storage case with hearing aid activity detection
JP3752976B2 (en) Security sensor and mounting method thereof
KR20130031655A (en) Apparatus and method for detecting invasion in vehicle
JP4368313B2 (en) Magnetic detection type sensor
JP2008065439A (en) Anti-theft device
CN111602033A (en) Functional state switching of a sensor device based on optical signals
CN212809384U (en) Anti-misoperation electrical control equipment
AU2012258380A1 (en) Locking apparatus
JP7061495B2 (en) Fire receiver, line discriminator and fire alarm system
JP6557206B2 (en) Self-raising anti-theft tag and anti-theft system