JPH06207987A - Object detector - Google Patents

Object detector

Info

Publication number
JPH06207987A
JPH06207987A JP25348193A JP25348193A JPH06207987A JP H06207987 A JPH06207987 A JP H06207987A JP 25348193 A JP25348193 A JP 25348193A JP 25348193 A JP25348193 A JP 25348193A JP H06207987 A JPH06207987 A JP H06207987A
Authority
JP
Japan
Prior art keywords
light
light emitting
emitting element
code
light receiving
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
JP25348193A
Other languages
Japanese (ja)
Other versions
JP2986662B2 (en
Inventor
Masahiro Nakano
雅弘 中野
Shigeyasu Kaneda
滋保 金田
Masato Itatsu
眞人 板津
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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika 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 Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP25348193A priority Critical patent/JP2986662B2/en
Publication of JPH06207987A publication Critical patent/JPH06207987A/en
Application granted granted Critical
Publication of JP2986662B2 publication Critical patent/JP2986662B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Sanitary Device For Flush Toilet (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

PURPOSE:To exactly detect an object even when infrared light generated by a certain cause affects as a disturbance to an object detector using infrared light. CONSTITUTION:A microcomputer 22 illuminates at first a luminescent element 6a based on predetermined illumination code A. After a certain time, the microcomputer 22 illuminates the luminescent element 6a based on the predetermined illumination code B. Only when both reflection light of the luminescent element 6a by the two kinds of illumination codes A, B is received by a light receiving element 6b and a light receiving signal R is output from the light receiving circuit 24, the microcomputer 22 judges existence of an object (man). And the microcomputer 22 judges the non-existence of an object when both or one of the reflection lights of the luminescent element 6a by the two kinds of illumination codes A, B is not received by the light receiving element 6b and light receiving signal R is not output from the light receiving circuit 24.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は物体検出装置に係り、詳
しくは、人体等の物体に対して光を投射し、その投射光
が物体にあたって反射した反射光を検出することによっ
て物体の有無を検出する装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an object detection device, and more specifically, it detects the presence or absence of an object by projecting light onto an object such as a human body and detecting reflected light reflected by the projected light. The present invention relates to a detecting device.

【0002】[0002]

【従来の技術】従来、赤外光の反射を利用して物体を検
出する物体検出装置が、民生および産業の様々な分野で
広く用いられている。
2. Description of the Related Art Conventionally, an object detecting device for detecting an object by utilizing reflection of infrared light has been widely used in various fields of consumer and industry.

【0003】そのような物体検出装置においては、ま
ず、発光ダイオード等からなる発光素子から赤外光を投
射する。その赤外光が投射される空間に人体等の何らか
の物体が存在する場合、発光素子からの投射光はその物
体にあたって反射する。その反射光をフォトダイオード
等からなる受光素子によって検出することにより物体の
有無を検出する。すなわち、受光素子が反射光を検出し
た場合は物体が存在していると判定し、反射光を検出し
ない場合は物体が存在していないと判定するわけであ
る。
In such an object detecting device, first, infrared light is projected from a light emitting element such as a light emitting diode. When an object such as a human body exists in the space where the infrared light is projected, the projection light from the light emitting element hits the object and is reflected. The presence or absence of an object is detected by detecting the reflected light with a light receiving element such as a photodiode. That is, when the light receiving element detects the reflected light, it is determined that the object exists, and when the reflected light is not detected, it is determined that the object does not exist.

【0004】このような物体検出装置の電源としては、
商用電源または電池が用いられる。電池を電源とする場
合は、リチウム電池等の電池寿命の長い電池を用いると
共に、発光素子の発光を一定の周期で間欠的に行うこと
により電池の消耗を抑えるのが一般的である。これによ
り、電池寿命を可能な限り長くして電池交換の手間を少
なくしているわけである。
As a power source for such an object detecting device,
Commercial power or batteries are used. When a battery is used as a power source, it is general to use a battery having a long battery life, such as a lithium battery, and intermittently cause a light emitting element to emit light at a constant cycle to suppress battery consumption. As a result, the battery life is made as long as possible to reduce the labor for battery replacement.

【0005】[0005]

【発明が解決しようとする課題】ところで、上記の物体
検出装置においては、何らかの外因によって発生する赤
外光が外乱として作用し(以下、外乱光という)、正確
な物体検出ができなくなることがある。
By the way, in the above-mentioned object detecting device, infrared light generated by some external cause may act as a disturbance (hereinafter referred to as disturbance light), and accurate object detection may not be possible. .

【0006】なぜなら、受光素子は所定の波長の赤外光
を受光した場合に検出信号を出力するようになっている
だけであって、その受光した赤外光が、発光素子からの
投射光が物体にあたって反射した反射光であるのか、外
乱光であるのかを判別する機能をもっていないためであ
る。
This is because the light receiving element only outputs a detection signal when it receives infrared light of a predetermined wavelength, and the received infrared light is the projected light from the light emitting element. This is because it does not have a function of discriminating whether the light is reflected light reflected from an object or ambient light.

【0007】そのため、外乱光の波長が発光素子の投射
光の波長と合致している場合、特に周期的なパルス状の
ノイズの場合には、実際に物体が存在しているのか、外
乱光が発生しているのかを判別することができず、正確
な物体検出ができないわけである。
Therefore, when the wavelength of the ambient light coincides with the wavelength of the projected light of the light emitting element, particularly in the case of periodic pulsed noise, whether the ambient light is present or whether the ambient light is present. It is not possible to discriminate whether or not it is occurring, and accurate object detection is not possible.

【0008】本発明は上記問題点を解決するためになさ
れたものであって、その目的は、周期的パルス状ノイズ
等の外乱光が発生しても正確に物体を検出することがで
きる物体検出装置を提供することにある。
The present invention has been made to solve the above problems, and an object thereof is to detect an object which can accurately detect an object even when disturbance light such as periodic pulse noise is generated. To provide a device.

【0009】[0009]

【課題を解決するための手段】本発明は上記問題点を解
決するため、発光素子から光を投射し、その投射光が物
体にあたって反射した反射光を受光素子によって検出す
ることにより物体を検知するようにした物体検出装置に
おいて、発光素子を一定のパターンで発光させるための
第1のコード信号を出力すると共に、発光素子を先の一
定のパターンとは異なるパターンで発光させるための第
2のコード信号を出力するコード生成手段と、まず最初
に、第1のコード信号に基づいて発光素子を一定のパタ
ーンで発光させ、次に、一定時間経過後、第2のコード
信号に基づいて発光素子を先の一定のパターンとは異な
るパターンで発光させ、その第1および第2のコード信
号による発光素子の発光に対して、その両方の反射光を
受光素子が受光した場合にのみ物体が存在していると判
定し、その両方又はいずれか一方の反射光を受光素子が
受光しなかった場合は物体が存在していないと判定する
制御判定手段を設けたことをその要旨とする。
In order to solve the above problems, the present invention detects an object by projecting light from a light emitting element and detecting reflected light reflected by the projected light upon an object by a light receiving element. In the object detecting device, the second code for outputting the first code signal for causing the light emitting element to emit light in a fixed pattern and for causing the light emitting element to emit light in a pattern different from the previous fixed pattern. Code generating means for outputting a signal, and first of all, the light emitting element is caused to emit light in a fixed pattern based on the first code signal, and then, after a predetermined time has elapsed, the light emitting element is turned on based on the second code signal. The light-emitting element emits light in a pattern different from the above-mentioned fixed pattern, and the light-receiving element receives the reflected light of both of the light emission of the light-emitting element by the first and second code signals. It is determined that the object is present only in the case, and if the light receiving element does not receive the reflected light of both or either one of them, the control determining means for determining that the object does not exist is provided. Use as a summary.

【0010】[0010]

【作用】制御判定装置は、まず最初に、第1のコード信
号に基づいて発光素子を一定のパターンで発光させる。
次に、一定時間経過後、制御判定装置は、第2のコード
信号に基づいて発光素子を第1のコード信号によるパタ
ーンとは異なるパターンで発光させる。そして、制御判
定装置は、その第1および第2のコード信号による発光
素子の発光に対して、その両方の反射光を受光素子が受
光した場合にのみ物体が存在していると判定する。
The control determination device first causes the light emitting element to emit light in a fixed pattern based on the first code signal.
Next, after a certain period of time has passed, the control determination device causes the light emitting element to emit light in a pattern different from the pattern of the first code signal based on the second code signal. Then, the control determination device determines that the object is present only when the light receiving element receives the reflected light of both of the light emission of the light emitting element by the first and second code signals.

【0011】ところで、外乱光が第1または第2のコー
ド信号のいずれかと合致することはごく稀である。さら
に、外乱光が第1および第2のコード信号の両方と合致
することはまずないといってよい。そのため、外乱光を
発光素子からの投射光の反射光と誤って物体が存在して
いると判定することはない。従って、外乱光の影響を受
けることなく、正確に物体を検知することができる。
By the way, it is very rare that the ambient light coincides with either the first code signal or the second code signal. Furthermore, it can be said that ambient light rarely matches both the first and second code signals. Therefore, the ambient light is not mistaken as the reflected light of the projection light from the light emitting element and is not judged to be present. Therefore, the object can be accurately detected without being affected by the ambient light.

【0012】[0012]

【実施例】以下、本発明の物体検出装置を男子用水洗小
便器(以下、朝顔という)の自動洗浄装置に具体化した
一実施例を、図面に従って説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the object detecting device of the present invention is embodied in an automatic cleaning device for a men's flush urinal (hereinafter referred to as a morning glory) will be described with reference to the drawings.

【0013】図2および図3に、本実施例の朝顔1の取
り付け状態を示す。朝顔1は洗面所の壁面2の表側に取
り付けられ、朝顔1に接続された水供給管3には電磁開
閉弁4が連結されている。その電磁開閉弁4が開かれる
と水供給管3から朝顔1へ洗浄水が供給される。反対
に、電磁開閉弁4が閉じられると水供給管3から朝顔1
への洗浄水の供給は遮断される。
2 and 3 show the state of attachment of the morning glory 1 of this embodiment. The morning glory 1 is attached to the front side of the wall surface 2 of the washroom, and the water supply pipe 3 connected to the morning glory 1 is connected with an electromagnetic opening / closing valve 4. When the electromagnetic opening / closing valve 4 is opened, washing water is supplied from the water supply pipe 3 to the morning glory 1. On the other hand, when the electromagnetic on-off valve 4 is closed, the water supply pipe 3 causes
The supply of washing water to the machine is cut off.

【0014】制御箱5は朝顔1よりも若干上方の壁面2
の裏側に取着され、その制御箱5の表面板5aは壁面2
に露出している。表面板5aには発光素子6aと受光素
子6bとからなる人検知センサ6が設けられ、制御箱5
内にはコントローラ7およびリチウム電池8が設けられ
ている。
The control box 5 is a wall surface 2 slightly above the morning glory 1.
Is attached to the back side of the control box 5, and the surface plate 5a of the control box 5 is attached to the wall surface 2
Is exposed to. The front plate 5a is provided with a human detection sensor 6 including a light emitting element 6a and a light receiving element 6b.
A controller 7 and a lithium battery 8 are provided inside.

【0015】尚、発光素子6aは発光ダイオードからな
り、予め設定された波長の赤外光を投射する。また、受
光素子6bはフォトダイオードまたはフォトトランジス
タからなり、発光素子6aの投射光と同じ波長の赤外光
を受光したときにのみ検出信号を出力する。
The light emitting element 6a is composed of a light emitting diode and projects infrared light having a preset wavelength. The light receiving element 6b is composed of a photodiode or a phototransistor, and outputs a detection signal only when it receives infrared light having the same wavelength as the projected light of the light emitting element 6a.

【0016】図1に、本実施例の自動洗浄装置の電気ブ
ロック回路を示す。リチウム電池8は、コントローラ7
内の定電圧回路20および弁駆動回路21に電源を供給
している。
FIG. 1 shows an electric block circuit of the automatic cleaning apparatus of this embodiment. The lithium battery 8 is the controller 7
Power is supplied to the constant voltage circuit 20 and the valve drive circuit 21 therein.

【0017】定電圧回路20は3端子レギュレータによ
って構成され、コントローラ7内のマイクロコンピュー
タ(以下、マイコンと略す)22、発光駆動回路23、
受光回路24のそれぞれに安定な直流電圧を供給してい
る。
The constant voltage circuit 20 is composed of a three-terminal regulator, and includes a microcomputer (hereinafter abbreviated as a microcomputer) 22 in the controller 7, a light emission drive circuit 23,
A stable DC voltage is supplied to each of the light receiving circuits 24.

【0018】マイコン22は、中央処理装置(CP
U)、制御プログラムを記憶した読み出し専用メモリ
(ROM)、後記する人検知動作の結果を一時記憶する
読み出しおよび書き込み可能なメモリ(RAM)、入出
力インターフェイス、等から構成される。
The microcomputer 22 is a central processing unit (CP
U), a read-only memory (ROM) that stores a control program, a readable / writable memory (RAM) that temporarily stores a result of a human detection operation described later, an input / output interface, and the like.

【0019】そして、マイコン22はタイマ動作を行
う。また、マイコン22は、所定周波数でデューティ5
0%のパルス波である発光指令信号Fを発光駆動回路2
3に出力する。
Then, the microcomputer 22 performs a timer operation. Further, the microcomputer 22 has a duty of 5 at a predetermined frequency.
The light emission drive circuit 2 outputs the light emission command signal F which is a 0% pulse wave.
Output to 3.

【0020】発光駆動回路23は、マイコン22からの
発光指令信号Fに基づいて発光素子6aを発光させる。
すなわち、発光駆動回路23は、発光指令信号Fを1パ
ルス入力する度に発光素子6aを1回発光させる。
The light emission drive circuit 23 causes the light emitting element 6a to emit light based on the light emission command signal F from the microcomputer 22.
That is, the light emission drive circuit 23 causes the light emitting element 6a to emit light once each time one pulse of the light emission command signal F is input.

【0021】従って、マイコン22から一定時間の間、
発光指令信号Fが出力され続けると、発光駆動回路23
は発光素子6aを一定回数発光させる。受光回路24
は、受光素子6bの検出信号を増幅し、積分した後に波
形整形して受光信号Rを生成し、マイコン22に出力す
る。
Therefore, from the microcomputer 22 for a fixed time,
When the light emission command signal F is continuously output, the light emission drive circuit 23
Causes the light emitting element 6a to emit light a certain number of times. Light receiving circuit 24
Amplifies the detection signal of the light receiving element 6b, integrates it, and then shapes the waveform to generate a light receiving signal R, which is output to the microcomputer 22.

【0022】すなわち、朝顔1の前に人が立っている場
合、発光素子6aからの投射光はその人にあたって反射
する。すると、受光素子6bはその反射光を検出して検
出信号を出力し、受光回路24はその検出信号を増幅し
て出力する。一方、朝顔1の前に人が立っていない場
合、発光素子6aからの投射光は反射しない。すると、
受光素子6bは反射光を検出できないため検出信号を出
力せず、受光回路24は受光信号Rを出力しない。
That is, when a person stands in front of the morning glory 1, the projection light from the light emitting element 6a is reflected by the person. Then, the light receiving element 6b detects the reflected light and outputs a detection signal, and the light receiving circuit 24 amplifies and outputs the detection signal. On the other hand, when no person is standing in front of the morning glory 1, the projection light from the light emitting element 6a is not reflected. Then,
Since the light receiving element 6b cannot detect the reflected light, it does not output the detection signal and the light receiving circuit 24 does not output the light receiving signal R.

【0023】尚、発光素子6aは発光指令信号Fのパル
スに従って発光するため、その発光は連続したものでは
なく、発光指令信号Fの周波数を点灯周波数とした点滅
になる。そのため、受光素子6bの検出信号も連続した
ものではなく、発光指令信号Fの周波数に対応したもの
になる。そこで、受光素子6bの検出信号を、受光回路
24内で積分した後に波形整形することにより、連続し
た受光信号Rを得るわけである。
Since the light emitting element 6a emits light in accordance with the pulse of the light emission command signal F, the light emission is not continuous, but flashes with the frequency of the light emission command signal F as the lighting frequency. Therefore, the detection signal of the light receiving element 6b is not continuous but corresponds to the frequency of the light emission command signal F. Therefore, the detection signal of the light receiving element 6b is integrated in the light receiving circuit 24 and then waveform shaped to obtain a continuous light receiving signal R.

【0024】また、受光素子6bは、発光素子6aの投
射光の反射光を受光した場合でも、発光素子6aの投射
光と同じ波長の外乱光を受光した場合でも、同じように
検出信号を出力する。そのため、受光回路24は、発光
素子6aの投射光の反射光を受光した場合でも、発光素
子6aの投射光と同じ波長の外乱光を受光した場合で
も、同じように受光信号Rを出力する。
Further, the light receiving element 6b outputs the detection signal in the same manner whether it receives the reflected light of the projection light of the light emitting element 6a or the disturbance light of the same wavelength as the projection light of the light emitting element 6a. To do. Therefore, the light receiving circuit 24 outputs the light reception signal R in the same manner whether it receives the reflected light of the projection light of the light emitting element 6a or the disturbance light of the same wavelength as the projection light of the light emitting element 6a.

【0025】ここで、マイコン22からの発光指令信号
Fは、図4に示すように、予め設定された2つの発光コ
ードA,Bに従って出力される。すなわち、発光指令信
号FがCμsec の間だけ出力された後、Cμsec の間だ
け出力が停止される状態をコード「1」とする。また、
発光指令信号Fの出力がDμsec (=2Cμsec )の間
だけ停止される状態をコード「0」とする。
Here, the light emission command signal F from the microcomputer 22 is output according to two preset light emission codes A and B, as shown in FIG. That is, the state in which the light emission command signal F is output for C μsec and then the output is stopped for C μsec is designated as code “1”. Also,
A state in which the output of the light emission command signal F is stopped only for Dμsec (= 2Cμsec) is defined as code “0”.

【0026】そして、各コード「0」「1」をそれぞ
れ、「1011001」の順序で組み合わせたものを発
光コードAと定め、「1101010」の順序で組み合
わせたものを発光コードBと定める。
A combination of the codes "0" and "1" in the order of "1011001" is defined as a light emitting code A, and a combination of the codes in the order of "1101010" is defined as a light emitting code B.

【0027】そのため、発光コードAにおいては発光指
令信号Fが、Cμsec 出力→Dμsec 出力停止→Cμse
c 出力→Cμsec 出力停止→Cμsec 出力→Eμsec
(=5Cμsec )出力停止→Cμsec 出力→Cμsec 出
力停止、の順序で出力される。
Therefore, in the light emission code A, the light emission command signal F is Cμsec output → Dμsec output stop → Cμse
c Output → Cμsec Output stop → Cμsec output → Eμsec
(= 5 Cμsec) Output stopped → Cμsec output → Cμsec output stopped in this order.

【0028】一方、発光コードBにおいては発光指令信
号Fが、Cμsec 出力→Cμsec 出力停止→Cμsec 出
力→Dμsec 出力停止→Cμsec 出力→Dμsec 出力停
止→Cμsec 出力→Dμsec 出力停止、の順序で出力さ
れる。
On the other hand, in the light emission code B, the light emission command signal F is output in the order of Cμsec output → Cμsec output stop → Cμsec output → Dμsec output stop → Cμsec output → Dμsec output stop → Cμsec output → Dμsec output stop. .

【0029】従って、この発光コードA(またはB)に
従った発光指令信号Fに基づいて発光素子6aが発光
し,その発光素子6aの投射光の反射光を受光素子6a
が正確に受光した場合、受光信号Rは発光コードA(ま
たはB)に従って出力されることになる。
Therefore, the light emitting element 6a emits light based on the light emission command signal F according to the light emitting code A (or B), and the reflected light of the projection light of the light emitting element 6a is received by the light receiving element 6a.
When the light is correctly received, the light reception signal R is output according to the light emission code A (or B).

【0030】弁駆動回路21はマイコン22からの指令
信号に基づいて自己保持ソレノイド・バルブからなる電
磁開閉弁4を開閉させる。すなわち、弁駆動回路21が
パルス状のタイミング信号を出力する度に電磁開閉弁4
の開閉の状態は切り替わり、タイミング信号が出力され
ていないときには、それ以前の開閉の状態がそのまま保
持される。
The valve drive circuit 21 opens and closes the electromagnetic on-off valve 4 consisting of a self-holding solenoid valve based on a command signal from the microcomputer 22. That is, each time the valve drive circuit 21 outputs a pulsed timing signal, the electromagnetic on-off valve 4
The open / closed state is switched, and when the timing signal is not output, the previous open / closed state is maintained as it is.

【0031】次に、上記のように構成された本実施例に
おける、朝顔1の前に人が立っているかどうかを検知す
る動作(以下、人検知動作という)について、図5に示
すフローチャートに従って説明する。
Next, the operation of detecting whether or not a person is standing in front of the morning glory 1 (hereinafter referred to as a person detecting operation) in the present embodiment configured as described above will be described with reference to the flowchart shown in FIG. To do.

【0032】まず、ステップ(以下、Sとする)1にお
いて、マイコン22は、発光コードAに従って発光駆動
回路23に発光指令信号Fを出力する。その発光コード
Aに従った発光指令信号Fに基づいて、発光駆動回路2
3は発光素子6aを発光させる。
First, in step (hereinafter referred to as S) 1, the microcomputer 22 outputs a light emission command signal F to the light emission drive circuit 23 according to the light emission code A. Based on the light emission command signal F according to the light emission code A, the light emission drive circuit 2
3 makes the light emitting element 6a emit light.

【0033】すなわち、発光素子6aは発光コードAに
基づいて、Cμsec で一定回数発光→Dμsec の間だけ
発光停止→Cμsec で一定回数発光→Cμsec の間だけ
発光停止→Cμsec で一定回数発光→Eμsec の間だけ
発光停止→Cμsec で一定回数発光→Cμsec の間だけ
発光停止、の順序で発光する。
That is, based on the light emitting code A, the light emitting element 6a emits light for a certain number of times in Cμsec → stops emitting light for a certain number of Dμsec → emits light for a certain number of times in Cμsec → stops emitting light for a certain number of Cμsec → emits a certain number of times in Cμsec → Eμsec. The light emission is stopped for a certain period of time, the light is emitted for a certain number of times in Cμsec, and then the light emission is stopped for only Cμsec.

【0034】そして、S2へ移行する。S2において、
マイコン22は一定時間経過するまで待ち、一定時間経
過したらS3へ移行する。
Then, the process proceeds to S2. In S2,
The microcomputer 22 waits until a fixed time elapses, and when the fixed time elapses, proceeds to S3.

【0035】S3において、マイコン22は、発光コー
ドBに従って発光駆動回路23に発光指令信号Fを出力
する。その発光コードBに従った発光指令信号Fに基づ
いて、発光駆動回路23は発光素子6aを発光させる。
In S3, the microcomputer 22 outputs a light emission command signal F to the light emission drive circuit 23 according to the light emission code B. Based on the light emission command signal F according to the light emission code B, the light emission drive circuit 23 causes the light emitting element 6a to emit light.

【0036】すなわち、発光素子6aは発光コードBに
基づいて、Cμsec で一定回数発光→Cμsec の間だけ
発光停止→Cμsec で一定回数発光→Dμsec の間だけ
発光停止→Cμsec で一定回数発光→Dμsec の間だけ
発光停止→Cμsec で一定回数発光→Dμsec の間だけ
発光停止、の順序で発光する。
That is, the light emitting element 6a emits light for a certain number of times in Cμsec → stops emitting light for Cμsec → emits light for a certain number of times in Cμsec → stops emitting light for only Dμsec → emits light for a certain number of times in Cμsec → Dμsec. The light emission is stopped for a certain period of time, the light is emitted for a certain number of times in Cμsec, and then the light emission is stopped for only Dμsec.

【0037】そして、S4へ移行する。S4において、
マイコン22は、S1およびS3における発光素子6a
の発光コードA,Bに基づく発光に対して、受光素子6
bが両方共正確に受光し、受光回路24から各発光コー
ドA,Bに従った受光信号Rが出力されたかどうかを判
別する。
Then, the process proceeds to S4. In S4,
The microcomputer 22 uses the light emitting element 6a in S1 and S3.
For the light emission based on the light emission codes A and B of
It is determined whether or not both of the light-receiving elements b correctly receive light and the light-receiving circuit 24 outputs the light-receiving signal R according to the light-emitting codes A and B.

【0038】すなわち、S1において、発光コードAの
発光指令信号Fによって発光素子6aを発光させた時点
で、朝顔1の前に人が立っている場合、発光素子6aか
らの投射光はその人にあたって反射する。すると、受光
素子6bはその反射光を検出して検出信号を出力し、受
光回路24はその検出信号を増幅した受光信号Rを出力
する。
That is, in S1, when a person stands in front of the morning glory 1 when the light emitting element 6a is caused to emit light by the light emission command signal F of the light emitting code A, the projected light from the light emitting element 6a hits the person. reflect. Then, the light receiving element 6b detects the reflected light and outputs a detection signal, and the light receiving circuit 24 outputs a light reception signal R obtained by amplifying the detection signal.

【0039】このときに外乱光が発生せず、発光素子6
aの投射光の反射光を受光素子6bが正確に受光した場
合、受光信号Rは発光コードAに従って出力されること
になる。
At this time, no ambient light is generated, and the light emitting element 6
When the light receiving element 6b accurately receives the reflected light of the projected light of a, the light receiving signal R is output according to the light emitting code A.

【0040】そして、S2において一定時間経過後、S
3において、発光コードBの発光指令信号Fによって発
光素子6aを発光させた時点で、朝顔1の前に人が立っ
ている場合、発光素子6aからの投射光はその人にあた
って反射する。すると、受光素子6bはその反射光を検
出して検出信号を出力し、受光回路24はその検出信号
を増幅した受光信号Rを出力する。
Then, after a lapse of a predetermined time in S2, S
3, when a person stands in front of the morning glory 1 when the light emitting element 6a is caused to emit light by the light emission command signal F of the light emitting code B, the projection light from the light emitting element 6a is reflected by the person. Then, the light receiving element 6b detects the reflected light and outputs a detection signal, and the light receiving circuit 24 outputs a light reception signal R obtained by amplifying the detection signal.

【0041】このときに外乱光が発生せず、発光素子6
aの投射光の反射光を受光素子6bが正確に受光した場
合、受光信号Rは発光コードBに従って出力されること
になる。
At this time, no ambient light is generated and the light emitting element 6
When the light receiving element 6b correctly receives the reflected light of the projected light of a, the light receiving signal R is output according to the light emitting code B.

【0042】従って、受光回路24から各発光コード
A,Bに従った受光信号Rが出力されたならば、朝顔1
の前に一定時間以上、人が立っていることがわかる。一
方、受光回路24から各発光コードA,Bに従った受光
信号Rが出力されなかったならば、朝顔1の前には一定
時間以上、人が現れなかったことがわかる。
Therefore, when the light receiving circuit 24 outputs the light receiving signal R according to the light emitting codes A and B, the morning glory 1
You can see that a person has been standing in front of for a certain time or more. On the other hand, if the light receiving circuit 24 does not output the light receiving signal R according to the light emitting codes A and B, it can be seen that no person appears in front of the morning glory 1 for a certain period of time or longer.

【0043】また、発光コードAに従った受光信号Rは
出力されたが,発光コードBに従った受光信号Rが出力
されなかった場合は、朝顔1の前を単に人が横切っただ
けであることがわかる。
When the light receiving signal R according to the light emitting code A is output, but the light receiving signal R according to the light emitting code B is not output, a person simply crosses the front of the morning glory 1. I understand.

【0044】同様に、発光コードAに従った受光信号R
は出力されたが、発光コードBに従った受光信号Rが出
力されなかった場合は、朝顔1の前に人が現れたばかり
であることがわかる。
Similarly, the light reception signal R according to the light emission code A
Is output, but when the light reception signal R according to the light emission code B is not output, it is understood that the person has just appeared in front of the morning glory 1.

【0045】そして、受光回路24から各発光コード
A,Bに従った受光信号Rが出力されたならばS5へ移
行し、少なくともいずれか一方の発光コードA,Bに従
った受光信号Rが出力されなかったならばS6へ移行す
る。
If the light receiving circuit 24 outputs the light receiving signal R according to the light emitting codes A and B, the process proceeds to S5, and the light receiving signal R according to at least one of the light emitting codes A and B is output. If not, the process proceeds to S6.

【0046】S5において、マイコン22は朝顔1の前
に人が立っているとして「人検知」と判定し、その判定
結果をRAMに記憶する。そして、S7へ移行する。一
方、S6において、マイコン22は朝顔1の前に人が立
っていないとして「人非検知」と判定し、その判定結果
をRAMに記憶する。そして、S7へ移行する。
In S5, the microcomputer 22 determines that a person is standing in front of the morning glory 1 as "person detection", and stores the determination result in the RAM. Then, the process proceeds to S7. On the other hand, in S6, the microcomputer 22 determines that "a person is not detected" because no person is standing in front of the morning glory 1 and stores the determination result in the RAM. Then, the process proceeds to S7.

【0047】S7において、マイコン22は一定時間経
過するまで待ち、一定時間経過したらS1へ戻る。この
ように本実施例においては、まず、発光コードAに基づ
いて発光素子6aを発光させる。そして、一定時間後、
次は、発光コードBに基づいて発光素子6aを発光させ
る。
In S7, the microcomputer 22 waits until a fixed time has elapsed, and returns to S1 after the fixed time has elapsed. As described above, in this embodiment, first, the light emitting element 6a is caused to emit light based on the light emitting code A. And after a certain time,
Next, the light emitting element 6a is caused to emit light based on the light emitting code B.

【0048】マイコン22は、この2種類の発光コード
A,Bによる発光に対して、各発光コードA,Bに従っ
た受光信号Rが出力された場合にのみ、朝顔1の前に人
が立っている(すなわち、「人検知」)と判定する。
In response to the light emission by these two types of light emitting codes A and B, the microcomputer 22 outputs a light receiving signal R according to the light emitting codes A and B, and a person stands in front of the morning glory 1. (That is, “human detection”).

【0049】一方、マイコン22は、2種類の発光コー
ドA,Bによる発光に対して、少なくともいずれか一方
の発光コードA,Bに従った受光信号Rが出力されなか
った場合は、朝顔1の前に人が立っていない(すなわ
ち、「人非検知」)と判定する。
On the other hand, when the microcomputer 22 does not output the light reception signal R according to at least one of the light emission codes A and B for the light emission by the two types of light emission codes A and B, the morning glory 1 It is determined that no person is standing in front (that is, "non-detection").

【0050】ところで、この朝顔1の自動洗浄装置の設
置場所の照明としてインバータ蛍光灯が使用されている
場合には、前記したように、周期的パルス状ノイズが発
生することがある。しかしながら、その周期的パルス状
ノイズが、いずれかの発光コードA,Bと合致すること
はごく稀であり、両方の発光コードA,Bと共に合致す
ることはまずないといってよい。
By the way, when an inverter fluorescent lamp is used as illumination for the place where the automatic washing device of the morning glory 1 is installed, periodic pulse noise may occur as described above. However, the periodic pulse noise rarely matches with either of the light emitting codes A and B, and it is unlikely that the periodic pulse noise with both of the light emitting codes A and B matches.

【0051】また、周期的パルス状ノイズ以外の外乱光
に対しても、その外乱光が両方の発光コードA,Bと共
に合致することはまずないといってよい。上記のように
本実施例においては、両方の発光コードA,Bに従った
受光信号Rが出力された場合にのみ「人検知」と判定す
るようになっている。そのため、周期的パルス状ノイズ
等の外乱光を発光素子6aからの投射光の反射光と誤っ
て「人検知」と判定することはない。
Further, it can be said that the disturbance light other than the periodic pulse noise is unlikely to coincide with both emission codes A and B. As described above, in the present embodiment, the "human detection" is determined only when the light receiving signal R according to both the light emitting codes A and B is output. Therefore, the ambient light such as the periodic pulse noise is not mistaken as the reflected light of the projection light from the light emitting element 6a and is not determined as "human detection".

【0052】従って、本実施例においては、周期的パル
ス状ノイズ等の外乱光が発生しても、その影響を受ける
ことなく、朝顔1の前に立っている人を正確に検知する
ことができる。
Therefore, in this embodiment, even if the disturbance light such as the periodic pulse noise is generated, the person standing in front of the morning glory 1 can be accurately detected without being affected by the disturbance light. .

【0053】そして、「人非検知」という判定結果の次
に「人検知」という判定結果がでた場合、マイコン22
は前洗浄処理を行う。すなわち、マイコン22は、弁駆
動回路21を制御することにより電磁開閉弁4を一定時
間だけ開かせて水供給管3から朝顔1へ一定量の洗浄水
を供給させ、朝顔1を洗浄する。これにより、快適に小
用を足すことができると共に朝顔1を汚れにくくしてい
る。
Then, if the judgment result "human detection" follows the judgment result "human non-detection", the microcomputer 22
Performs a pre-cleaning process. That is, the microcomputer 22 controls the valve drive circuit 21 to open the electromagnetic opening / closing valve 4 for a certain period of time to supply a certain amount of washing water from the water supply pipe 3 to the morning glory 1 to wash the morning glory 1. As a result, the small amount can be comfortably added and the morning glory 1 is less likely to get dirty.

【0054】続いて、「人検知」という判定結果の次に
「人非検知」という判定結果がでた場合、マイコン22
は小用を足し終えた人が朝顔1の前から立ち去ったと判
定し、後洗浄処理を行う。
Next, if the result of the judgment "human detection" is followed by the result of the judgment "human non-detection", the microcomputer 22
Judges that the person who has finished adding small amounts has left from the morning glory 1 and performs post-cleaning processing.

【0055】すなわち、マイコン22は、弁駆動回路2
1を制御することにより電磁開閉弁4を一定時間だけ開
かせて水供給管3から朝顔1へ一定量の洗浄水を供給さ
せ、朝顔1を洗浄する。
That is, the microcomputer 22 uses the valve drive circuit 2
By controlling 1, the electromagnetic opening / closing valve 4 is opened for a certain period of time to supply a certain amount of cleaning water from the water supply pipe 3 to the morning glory 1 to clean the morning glory 1.

【0056】このように朝顔1の自動洗浄装置において
は、小用を足そうとする人が朝顔1の前に立つと朝顔1
を洗浄し(前洗浄処理)、小用を足し終えた人が朝顔1
の前から立ち去ると再度朝顔1を洗浄(後洗浄処理)す
るようになっている。
As described above, in the automatic washing device for the morning glory 1, when a person who intends to take a small dose stands in front of the morning glory 1, the morning glory 1
The morning glory 1 is the person who has finished cleaning after washing (pre-cleaning)
When the person leaves the room in front of, the morning glory 1 is washed again (post-washing process).

【0057】尚、本発明は上記実施例に限定されるもの
ではなく、以下の事項を変更して実施してもよい。 1)各コード「0」「1」をそれぞれ適宜に設定する。
すなわち、発光指令信号Fが適宜な時間だけ出力された
後、それと同じ時間だけ出力が停止される状態をコード
「1」とする。また、発光指令信号Fの出力が前記コー
ド「1」における適宜な時間の2倍の時間だけ停止され
る状態をコード「0」とする。
The present invention is not limited to the above embodiment, and the following items may be changed and implemented. 1) Each code “0” or “1” is set appropriately.
That is, a state in which the light emission command signal F is output for an appropriate time and then the output is stopped for the same time is referred to as a code “1”. Further, the state in which the output of the light emission command signal F is stopped for a time twice as long as the appropriate time in the code "1" is defined as a code "0".

【0058】2)発光コードA,Bを、各コード「0」
「1」の適宜な数の適宜な組合せとする。 3)発光コードをA.Bの2種類ではなく、3種類以上
用意して上記実施例と同様に実施する。
2) Change the light emitting codes A and B to "0" for each code.
An appropriate number and an appropriate combination of “1” are set. 3) Change the light emitting code to A. Instead of the two types of B, three or more types are prepared and are carried out in the same manner as the above embodiment.

【0059】4)発光指令信号Fの周波数は、インバー
タ蛍光灯の点灯周波数とは異なる範囲で適宜な周波数と
する。 また、各発光コードA,Bにおける発光指令信号Fの周
波数を異なるものにする。例えば、発光コードAにおけ
る発光指令信号Fの周波数をXKHZ とし、発光コード
Bにおける発光指令信号Fの周波数をYKHZ として実
施する。この場合は、点灯周波数の異なるインバータ蛍
光灯が複数近接して設置されている場所においても、正
確な人検知動作を行うことができる。
4) The frequency of the light emission command signal F is set to an appropriate frequency in a range different from the lighting frequency of the inverter fluorescent lamp. Further, the frequencies of the light emission command signals F in the respective light emission codes A and B are made different. For example, the frequency of the light emission command signal F in the light emission code A is set to XKHZ, and the frequency of the light emission command signal F in the light emission code B is set to YKHZ. In this case, accurate human detection operation can be performed even in a place where a plurality of inverter fluorescent lamps having different lighting frequencies are installed close to each other.

【0060】5)マイコン22にタイマ動作を行わせる
のではなく、マイコン22の周辺回路としてタイマ回路
を設け、そのタイマ回路にタイマ動作を行わせる。 6)「人非検知」という判定結果の次に「人検知」とい
う判定結果が2回連続した場合に前洗浄処理を行う。ま
た、「人検知」という判定結果の次に「人非検知」とい
う判定結果が2回連続した場合に後洗浄処理を行う。こ
の場合は、朝顔1の前を単に人が横切ったり、小用中に
人の体が揺れたりしても、より確実に人検知動作を行う
ことができ、前洗浄処理や後洗浄処理を誤って行うこと
がなくなる。
5) Instead of causing the microcomputer 22 to perform the timer operation, a timer circuit is provided as a peripheral circuit of the microcomputer 22, and the timer circuit is caused to perform the timer operation. 6) The pre-cleaning process is performed when the determination result of "human detection" follows the determination result of "human non-detection" twice in a row. If the determination result of "human detection" is followed by the determination result of "human non-detection" twice, the post-cleaning process is performed. In this case, even if a person simply crosses the front of the morning glory 1 or if the person's body shakes during small use, the person detection operation can be performed more reliably, and the pre-cleaning process and the post-cleaning process are erroneous. To stop doing it.

【0061】7)発光指令信号Fをデューティ50%の
パルス波ではなく任意なデューティのパルス波とする。 8)リチウム電池8を直流電源装置に置き換え、商用電
源から電源を供給する。
7) The light emission command signal F is not a pulse wave having a duty of 50% but a pulse wave having an arbitrary duty. 8) Replace the lithium battery 8 with a DC power supply device and supply power from a commercial power supply.

【0062】9)赤外光ではなく可視光または紫外光を
利用する。すなわち、発光素子6aは赤外光ではなく可
視光または紫外光を投射するようにし、受光素子6bは
その投射光を受光して検出信号を出力する。
9) Use visible light or ultraviolet light instead of infrared light. That is, the light emitting element 6a projects not visible light but visible light or ultraviolet light, and the light receiving element 6b receives the projected light and outputs a detection signal.

【0063】10)光ではなく超音波を利用する。すな
わち、発光素子6aを超音波用スーピーカに置き換え、
受光素子6bを超音波用マイクロフォンに置き換える。
また、受光回路24および発光回路23の回路構成も適
宜に変更する。そして、超音波用スーピーカからの超音
波が物体にあたって反射した音波を、超音波用マイクロ
フォンによって検出する。
10) Use ultrasonic waves instead of light. That is, the light emitting element 6a is replaced with an ultrasonic speaker,
The light receiving element 6b is replaced with an ultrasonic microphone.
Further, the circuit configurations of the light receiving circuit 24 and the light emitting circuit 23 are appropriately changed. Then, the sound wave reflected by the ultrasonic wave from the ultrasonic sounder upon hitting the object is detected by the ultrasonic sound microphone.

【0064】11)朝顔1だけでなく、洗面台等の各種
の衛生器具における自動洗浄装置に具体化する。 12)衛生器具における自動洗浄装置だけでなく、自動
ドア、FA機器等の他の物体検出装置に具体化する。
11) Not only the morning glory 1 but also an automatic cleaning device for various sanitary appliances such as a wash basin. 12) Not only the automatic cleaning device for sanitary equipment, but also other object detection devices such as automatic doors and FA devices.

【0065】13)上記1)〜12)をそれぞれ適宜に
組み合わせて実施する。
13) The above 1) to 12) are appropriately combined and carried out.

【0066】[0066]

【発明の効果】以上詳述したように本発明によれば、周
期的パルス状ノイズ等の外乱光が発生しても正確に物体
を検出することができる優れた効果がある。
As described in detail above, according to the present invention, there is an excellent effect that an object can be accurately detected even when disturbance light such as periodic pulse noise is generated.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明を男子用水洗小便器(朝顔)の自動洗浄
装置に具体化した一実施例の電気ブロック回路図であ
る。
FIG. 1 is an electric block circuit diagram of an embodiment in which the present invention is embodied in an automatic washing device for a flush urinal for men (morning glory).

【図2】一実施例の男子用水洗小便器(朝顔)の取り付
け状態を示す一部切欠側面図である。
FIG. 2 is a partially cutaway side view showing an attached state of the flush urinal for men (morning glory) of the embodiment.

【図3】図2に示す男子用水洗小便器(朝顔)の正面図
である。
3 is a front view of the flush urinal for men (morning glory) shown in FIG. 2. FIG.

【図4】発光コードA,Bを示すタイムチャートであ
る。
FIG. 4 is a time chart showing emission codes A and B.

【図5】一実施例における人検知動作を示すフローチャ
ートである。
FIG. 5 is a flowchart showing a person detecting operation in one embodiment.

【符号の説明】[Explanation of symbols]

6a…発光素子、6b…受光素子、22…制御判定手段
としてのマイクロコンピュータ、発光コードA…第1の
コード信号、発光コードB…第2のコード信号
6a ... Light emitting element, 6b ... Light receiving element, 22 ... Microcomputer as control determining means, light emitting code A ... First code signal, light emitting code B ... Second code signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 発光素子(6a)から光を投射し、その
投射光が物体にあたって反射した反射光を受光素子(6
b)によって検出することにより物体を検知するように
した物体検出装置において、 発光素子(6a)を一定のパターンで発光させるための
第1のコード信号を出力すると共に、発光素子(6a)
を先の一定のパターンとは異なるパターンで発光させる
ための第2のコード信号を出力するコード生成手段(2
2)と、 まず最初に、第1のコード信号に基づいて発光素子(6
a)を一定のパターンで発光させ、次に、一定時間経過
後、第2のコード信号に基づいて発光素子(6a)を先
の一定のパターンとは異なるパターンで発光させ、その
第1および第2のコード信号による発光素子(6a)の
発光に対して、その両方の反射光を受光素子(6b)が
受光した場合にのみ物体が存在していると判定し、その
両方又はいずれか一方の反射光を受光素子(6b)が受
光しなかった場合は物体が存在していないと判定する制
御判定手段(22)を設けたことを特徴とする物体検出
装置。
1. A light receiving element (6) that emits light from a light emitting element (6a), and reflects the reflected light reflected by the projected light upon an object.
In an object detection device configured to detect an object by detecting in step b), the first light emitting element (6a) outputs a first code signal for causing the light emitting element (6a) to emit light in a fixed pattern, and the light emitting element (6a)
Code generating means (2) for outputting a second code signal for emitting light in a pattern different from the above predetermined pattern.
2), and first, based on the first code signal, the light emitting element (6
a) is made to emit light in a fixed pattern, and then, after a fixed time has elapsed, the light emitting element (6a) is made to emit light in a pattern different from the aforementioned fixed pattern based on the second code signal. With respect to the light emission of the light emitting element (6a) by the code signal 2 of 2, it is determined that the object exists only when the light receiving element (6b) receives both of the reflected light, and either or both of them are determined. An object detection device comprising a control determination means (22) for determining that an object does not exist when the light receiving element (6b) does not receive the reflected light.
JP25348193A 1992-10-09 1993-10-08 Object detection device Expired - Fee Related JP2986662B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25348193A JP2986662B2 (en) 1992-10-09 1993-10-08 Object detection device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4-271994 1992-10-09
JP27199492 1992-10-09
JP25348193A JP2986662B2 (en) 1992-10-09 1993-10-08 Object detection device

Publications (2)

Publication Number Publication Date
JPH06207987A true JPH06207987A (en) 1994-07-26
JP2986662B2 JP2986662B2 (en) 1999-12-06

Family

ID=26541227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25348193A Expired - Fee Related JP2986662B2 (en) 1992-10-09 1993-10-08 Object detection device

Country Status (1)

Country Link
JP (1) JP2986662B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005214781A (en) * 2004-01-29 2005-08-11 Hosiden Corp Object detection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005214781A (en) * 2004-01-29 2005-08-11 Hosiden Corp Object detection system

Also Published As

Publication number Publication date
JP2986662B2 (en) 1999-12-06

Similar Documents

Publication Publication Date Title
EP0410001A1 (en) Feed water controller
JP2866774B2 (en) Object detection device
JPH07225282A (en) Object detection apparatus
JP2986662B2 (en) Object detection device
JP3021253B2 (en) Object detection device
JP2587229Y2 (en) Object detection device
JP2952115B2 (en) Object detection device
JP2815274B2 (en) Object detection device
JP2905016B2 (en) Object detection device
JPH0755953A (en) Detecting device of object
JP2588879Y2 (en) Object detection device
JP3764244B2 (en) Toilet with sterilization mechanism
JPH0714394U (en) Object detection device
JP2889445B2 (en) Object detection device
JP2654303B2 (en) Automatic cleaning control device for various sanitary appliances
JPH07294662A (en) Object-detecting apparatus, and automatic washing device for sanitary fixture
JPH06248677A (en) Automatic washing device of urinal
JP2561787Y2 (en) Automatic urinal cleaning device for men
JP2654307B2 (en) Automatic cleaning control device for sanitary appliances
JPH06173311A (en) Automatic water feeder
JPH0741483U (en) Object detection device
JP2002048877A (en) Body detecting device
KR950005082B1 (en) Feed water controller
JP2902237B2 (en) Automatic water supply
JPH0659050A (en) Object detector

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees