JP2815274B2 - Object detection device - Google Patents

Object detection device

Info

Publication number
JP2815274B2
JP2815274B2 JP29894992A JP29894992A JP2815274B2 JP 2815274 B2 JP2815274 B2 JP 2815274B2 JP 29894992 A JP29894992 A JP 29894992A JP 29894992 A JP29894992 A JP 29894992A JP 2815274 B2 JP2815274 B2 JP 2815274B2
Authority
JP
Japan
Prior art keywords
light
emitting element
light receiving
signal
reflected
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.)
Expired - Fee Related
Application number
JP29894992A
Other languages
Japanese (ja)
Other versions
JPH06148344A (en
Inventor
雅弘 中野
滋保 金田
眞人 板津
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 JP29894992A priority Critical patent/JP2815274B2/en
Publication of JPH06148344A publication Critical patent/JPH06148344A/en
Application granted granted Critical
Publication of JP2815274B2 publication Critical patent/JP2815274B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

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

【0002】[0002]

【従来の技術】従来、赤外光の反射を利用して物体を検
出する物体検出装置が、民生および産業の様々な分野で
広く用いられている。
2. Description of the Related Art Conventionally, an object detecting apparatus for detecting an object by using 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. Then, when there is any object such as a human body in the space where the infrared light is projected, the projection light from the light emitting element is reflected on the object. 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 an object is present, and when the reflected light is not detected, it is determined that the object is not present.

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

【0005】[0005]

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

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

【0007】そのため、外乱光の波長が発光素子の投射
光の波長と合致している場合、特に周期的パルス状ノイ
ズの場合には、実際に物体が存在しているのか、外乱光
が発生しているのかを判別することができず、正確な物
体検出ができないわけである。
For this reason, when the wavelength of the disturbance light matches the wavelength of the light projected from the light emitting element, especially in the case of periodic pulse noise, whether an object actually exists or disturbance light is generated. That is, it cannot be determined whether or not the object is detected, and an accurate object detection cannot be performed.

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

【0009】[0009]

【課題を解決するための手段】本発明は上記問題点を解
決するため、発光素子から光を投射し、その投射光が物
体にあたって反射した反射光を受光素子によって検出す
ることにより物体を検知するようにした物体検出装置に
おいて、発光素子を一定時間発光させないで、そのとき
に受光素子が検出した光の発生パターンを学習し、次
に、学習した光の発生パターンに合致しないように発光
素子を発光させ、その発光素子の発光に対して、その反
射光を受光素子が受光したときには物体が存在している
と判定し、その反射光を受光素子が受光しなかったとき
には物体が存在していないと判定する制御判定装置を設
けたことをその要旨とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention detects an object by projecting light from a light-emitting element and detecting, by a light-receiving element, light reflected by the projected light hitting the object. In such an object detection device, the light-emitting element does not emit light for a certain period of time, the light-generating pattern detected by the light-receiving element at that time is learned, and then the light-emitting element is adjusted so as not to match the learned light-generating pattern. When the light receiving element receives the reflected light with respect to the light emission of the light emitting element, it is determined that an object exists, and when the light receiving element does not receive the reflected light, the object does not exist. The gist is that a control determination device for determining is made.

【0010】[0010]

【作用】発光素子が発光していないときに受光素子が検
出した光は、発光素子の投射光が物体にあたって反射し
た反射光ではなく、何らかの原因によって発生した外乱
光である。
The light detected by the light-receiving element when the light-emitting element is not emitting light is not reflected light of the light projected from the light-emitting element hitting the object, but is disturbance light generated for some reason.

【0011】そこで、制御判定装置は、その受光素子が
検出した光、すなわち外乱光の発生パターンを学習す
る。次に、制御判定装置は、学習した外乱光の発生パタ
ーンに合致しないように発光素子を発光させる。その結
果、外乱光と発光素子の発光とが合致することはなくな
る。
Therefore, the control determination device learns the light detected by the light receiving element, that is, the pattern of occurrence of disturbance light. Next, the control determination device causes the light emitting element to emit light so as not to match the learned disturbance light generation pattern. As a result, the disturbance light does not coincide with the light emission of the light emitting element.

【0012】そして、制御判定装置は、発光素子の発光
に対して、その反射光を受光素子が受光したときには物
体が存在していると判定する。また、制御判定装置は、
発光素子の発光に対して、その反射光を受光素子が受光
しなかったときには物体が存在していないと判定する。
The control determining device determines that an object is present when the light receiving element receives the reflected light from the light emitting element. In addition, the control determination device,
When the light receiving element does not receive the reflected light from the light emitting element, it is determined that the object is not present.

【0013】これにより、受光素子の受光は、外乱光に
よるものではなく、必ず、発光素子の投射光が物体にあ
たって反射した反射光によるものとなる。従って、外乱
光の影響を受けることなく、正確に物体を検出すること
ができる。
[0013] Thus, the light received by the light receiving element is not necessarily due to disturbance light, but is always due to the reflected light of the light emitted from the light emitting element reflected on the object. Therefore, an object can be accurately detected without being affected by disturbance light.

【0014】[0014]

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

【0015】図2および図3に、本実施例の朝顔1の取
り付け状態を示す。朝顔1は洗面所の壁面2の表側に取
り付けられ、朝顔1に接続された水供給管3には電磁開
閉弁4が連結されている。その電磁開閉弁4が開かれる
と水供給管3から朝顔1へ洗浄水が供給される。反対
に、電磁開閉弁4が閉じられると水供給管3から朝顔1
への洗浄水の供給は遮断される。
FIGS. 2 and 3 show the mounting state 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 an electromagnetic on-off valve 4 is connected to a water supply pipe 3 connected to the morning glory 1. When the electromagnetic on-off valve 4 is opened, washing water is supplied from the water supply pipe 3 to the morning glory 1. Conversely, when the electromagnetic on-off valve 4 is closed, the morning glory 1
The supply of the washing water to the is shut off.

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

【0017】尚、発光素子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 infrared light having the same wavelength as the light projected from the light emitting element 6a is received.

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

【0019】定電圧回路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 switching circuits 24.

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

【0021】そして、マイコン22は、自動洗浄装置の
施工者によってスイッチSWが投入されると動作を開始
し、スイッチSWが切断されると動作を停止する。すな
わち、マイコン22は、スイッチSWが投入されると、
先ず、後記するように、発光信号Fの出力タイミングを
設定する。続いて、マイコン22は、設定した発光信号
Fの出力タイミングに基づいて、発光信号Fおよび指令
信号Sを所定時間毎にそれぞれ3回ずつ出力し、後記す
るように人検知動作を行う。
The microcomputer 22 starts operating when the switch SW is turned on by the installer of the automatic cleaning apparatus, and stops operating when the switch SW is turned off. That is, when the switch SW is turned on, the microcomputer 22
First, as described later, the output timing of the light emission signal F is set. Subsequently, the microcomputer 22 outputs the light emission signal F and the command signal S three times at predetermined time intervals based on the set output timing of the light emission signal F, and performs a human detection operation as described later.

【0022】発光駆動回路23は、マイコン22からの
発光信号Fに基づいて発光素子6aを発光させる。スイ
ッチング回路24はマイコン22からの指令信号Sに基
づいて、オン・オフ制御される。そして、スイッチング
回路24は、オン時に定電圧回路20から供給される電
源を受光回路25に供給し、オフ時に受光回路25への
電源供給を遮断する。受光回路25は、スイッチング回
路24から電源が供給されているときにのみ動作可能に
なる。
The light emission drive circuit 23 causes the light emitting element 6a to emit light based on the light emission signal F from the microcomputer 22. The switching circuit 24 is turned on / off based on a command signal S from the microcomputer 22. The switching circuit 24 supplies the power supplied from the constant voltage circuit 20 to the light receiving circuit 25 when turned on, and shuts off the power supply to the light receiving circuit 25 when turned off. The light receiving circuit 25 becomes operable only when power is supplied from the switching circuit 24.

【0023】受光回路25は受光素子6bの検出信号を
増幅し、受光信号Rとしてマイコン22に出力する。す
なわち、朝顔1の前に人が立っている場合、発光素子6
aからの投射光はその人にあたって反射する。すると、
受光素子6bはその反射光を検出して検出信号を出力
し、受光回路25はその検出信号を増幅して出力する。
一方、朝顔1の前に人が立っていない場合、発光素子6
aからの投射光は反射しない。すると、受光素子6bは
反射光を検出できないため検出信号を出力せず、受光回
路25は受光信号Rを出力しない。
The light receiving circuit 25 amplifies the detection signal of the light receiving element 6b and outputs it as a light receiving signal R to the microcomputer 22. That is, when a person is standing in front of the morning glory 1, the light emitting element 6
The projection light from a 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 25 amplifies and outputs the detection signal.
On the other hand, when no person stands in front of the morning glory 1,
The projection light from a 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 25 does not output the light receiving signal R.

【0024】尚、受光素子6bは、発光素子6aの投射
光の反射光を受光した場合でも、発光素子6aの投射光
と同じ波長の外乱光を受光した場合でも、同じように検
出信号を出力する。そのため、受光回路25は、受光素
子6bが発光素子6aの投射光の反射光を受光した場合
でも、発光素子6aの投射光と同じ波長の外乱光を受光
した場合でも、同じように受光信号Rを出力する。
The light receiving element 6b outputs a detection signal in the same manner whether the reflected light of the light projected from the light emitting element 6a is received or the disturbance light having the same wavelength as the light projected by the light emitting element 6a. I do. Therefore, the light receiving circuit 25 similarly receives the light receiving signal R regardless of whether the light receiving element 6b receives the reflected light of the light projected from the light emitting element 6a or the disturbance light having the same wavelength as the light projected on the light emitting element 6a. Is output.

【0025】弁駆動回路21はマイコン22からの指令
信号に基づいて自己保持ソレノイド・バルブからなる電
磁開閉弁4を開閉させる。すなわち、弁駆動回路21が
パルス状のタイミング信号を出力する度に電磁開閉弁4
の開閉の状態は切り替わり、タイミング信号が出力され
ていないときには、それ以前の開閉の状態がそのまま保
持される。
The valve drive circuit 21 opens and closes the solenoid on-off valve 4 composed 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 pulse-like timing signal, the electromagnetic on-off valve 4
The open / close state is switched, and when the timing signal is not output, the previous open / close state is held as it is.

【0026】次に、マイコン22による発光信号Fの出
力タイミングの設定について、図4に従って説明する。
スイッチSWが投入されると、マイコン22はスイッチ
ング回路24に一定時間だけ指令信号Sを出力し、受光
回路25を動作可能にする。このとき、マイコン22
は、発光駆動回路23には発光信号Fを出力せず、発光
素子6aを発光させない。従って、受光素子6bは発光
素子6aの投射光の反射光を受光することができず、外
乱光が発生していない場合、受光回路25は受光信号R
を出力しない。そして、マイコン22は、スイッチSW
の投入から指令信号Sを出力して受光回路25を動作可
能にしている一定時間(以下、発光タイミング設定時間
という)に発光信号Fの出力タイミングを設定する。
Next, the setting of the output timing of the light emission signal F by the microcomputer 22 will be described with reference to FIG.
When the switch SW is turned on, the microcomputer 22 outputs a command signal S to the switching circuit 24 for a fixed time to enable the light receiving circuit 25. At this time, the microcomputer 22
Does not output the light emission signal F to the light emission drive circuit 23 and does not cause the light emitting element 6a to emit light. Therefore, the light receiving element 6b cannot receive the reflected light of the projection light of the light emitting element 6a, and when no disturbance light is generated, the light receiving circuit 25 outputs the light receiving signal R.
Is not output. Then, the microcomputer 22 sets the switch SW
The output timing of the light emission signal F is set to a fixed time (hereinafter, referred to as a light emission timing setting time) during which the command signal S is output from the input of the input signal to enable the light receiving circuit 25 to operate.

【0027】すなわち、例えば、図4に示すような周期
Tの外乱光(周期的パルス状ノイズ)が発生している場
合、発光タイミング設定時間において、受光素子6bは
その外乱光を受光し、受光回路25は受光信号Rを出力
する。そこで、マイコン22は、受光信号Rの周期を検
出することにより、外乱光の周期Tを検出する。そし
て、マイコン22は、外乱光に合致しないような発光信
号Fの周期τを算出し、その周期τから発光信号Fの出
力タイミングを設定する。
That is, for example, when disturbance light (periodic pulse noise) having a period T as shown in FIG. 4 is generated, the light receiving element 6b receives the disturbance light during the light emission timing setting time and receives the disturbance light. The circuit 25 outputs a light receiving signal R. Therefore, the microcomputer 22 detects the period T of the disturbance light by detecting the period of the light receiving signal R. Then, the microcomputer 22 calculates a period τ of the light emission signal F that does not match the disturbance light, and sets the output timing of the light emission signal F based on the period τ.

【0028】また、周期が一定のパターンで変化してい
る外乱光(周期変化パルス状ノイズ)が発生している場
合も、周期的な外乱光が発生している場合と同様に、受
光素子6bはその外乱光を受光し、受光回路25は受光
信号Rを出力する。そこで、マイコン22は、発光タイ
ミング設定時間中に外乱光の周期の変化のパターン、す
なわち、発生パターンを学習し、その外乱光の発生パタ
ーンに合致しないような発光信号Fの出力タイミングを
算出して設定する。
Also, when the disturbance light whose period changes in a constant pattern (periodic change pulse-like noise) is generated, similarly to the case where the periodic disturbance light is generated, the light receiving element 6b Receives the disturbance light, and the light receiving circuit 25 outputs a light receiving signal R. Therefore, the microcomputer 22 learns the pattern of the change of the period of the disturbance light, that is, the generation pattern during the light emission timing setting time, and calculates the output timing of the light emission signal F that does not match the generation pattern of the disturbance light. Set.

【0029】そして、マイコン22は、設定した発光信
号Fの出力タイミングに基づいて、外乱光と発光素子6
aの発光とが合致しないように、発光信号Fを3回出力
する。また、マイコン22は、図4に示すように、発光
信号Fに対応して指令信号Sを同じく3回出力する。
Then, based on the set output timing of the light emission signal F, the microcomputer 22 outputs the disturbance light and the light emitting element 6.
The light emission signal F is output three times so that the light emission of a does not match. Further, the microcomputer 22 outputs the command signal S three times corresponding to the light emission signal F, as shown in FIG.

【0030】これにより、発光素子6aが発光したとき
にのみ受光回路25が動作可能になって、受光素子6b
は、外乱光ではなく発光素子6aの投射光の反射光のみ
を受光することになる。従って、受光回路25から出力
される受光信号Rは、外乱光によるものではなく、必
ず、発光素子6aの投射光の反射光によるものになる。
As a result, the light receiving circuit 25 becomes operable only when the light emitting element 6a emits light, and the light receiving element 6b
Receives only the reflected light of the projection light of the light emitting element 6a, not the disturbance light. Therefore, the light receiving signal R output from the light receiving circuit 25 is not necessarily based on disturbance light, but is always based on reflected light of the projected light of the light emitting element 6a.

【0031】その後、マイコン22は、所定時間毎に発
光信号Fおよび指令信号Sを設定された発光信号Fの出
力タイミングに基づいて、それぞれ3回ずつ出力する。
そのため、発光素子6aは、所定時間毎に3回ずつ発光
する。
Thereafter, the microcomputer 22 outputs the light emission signal F and the command signal S three times at predetermined time intervals based on the set output timing of the light emission signal F.
Therefore, the light emitting element 6a emits light three times every predetermined time.

【0032】次に、マイコン22の人検知動作について
説明する。発光素子6aの発光に対して、朝顔1の前に
人が立っているときにのみ、受光素子6bは受光するこ
とができ、受光回路25から受光信号Rが出力される。
そのため、設定された発光信号Fの出力タイミングに基
づく発光素子6aの3回の発光に対して、朝顔1の前に
人が立っていれば、受光素子6bはその各回の反射光を
検出し、受光回路25は受光信号Rを3回出力する。
Next, the human detection operation of the microcomputer 22 will be described. The light receiving element 6b can receive light only when a person stands before the morning glory 1 with respect to the light emission of the light emitting element 6a, and the light receiving circuit 25 outputs the light receiving signal R.
Therefore, if a person stands in front of the morning glory 1 with respect to three times of light emission of the light emitting element 6a based on the set output timing of the light emitting signal F, the light receiving element 6b detects the reflected light of each time, The light receiving circuit 25 outputs the light receiving signal R three times.

【0033】しかしながら、朝顔1の前に人が立ってい
るのではなく、単に朝顔1の前を人が横切った場合にお
いては、発光素子6aの3回の発光に対して、受光素子
6bはその各回の反射光を全て検出することができな
い。すなわち、発光素子6aの3回の発光に対して、受
光素子6bは1回もしくは2回しか受光できないわけで
ある。そのため、受光回路25は受光信号Rを1回もし
くは2回しか出力することができない。
However, when a person does not stand in front of the morning glory 1 but simply crosses in front of the morning glory 1, the light receiving element 6b receives the light emitted from the light emitting element 6a three times. Not all reflected light can be detected each time. That is, the light receiving element 6b can receive light only once or twice for three times of light emission of the light emitting element 6a. Therefore, the light receiving circuit 25 can output the light receiving signal R only once or twice.

【0034】そこで、マイコン22は、発光素子6aの
3回の発光に対して、受光素子6bが3回共全て受光で
きた場合(すなわち、受光回路25から受光信号Rが3
回出力された場合)にのみ、朝顔1の前に人が立ってい
るとして「人検知」と判定する。
Therefore, the microcomputer 22 determines that the light receiving element 6b can receive all three times of the light emission of the light emitting element 6a three times (that is, the light receiving signal R from the light receiving circuit 25 becomes three).
Only when the output is performed twice), it is determined that a person is standing in front of the morning glory 1 and “human detection” is determined.

【0035】つまり、マイコン22は、発光素子6aの
3回の発光に対して、受光素子6bが1回でも受光でき
ない場合(すなわち、受光回路25から受光信号Rが1
回もしくは2回しか出力されない場合)、朝顔1の前に
人が立っていないとして「人非検知」と判定する。
That is, the microcomputer 22 determines that the light receiving element 6b cannot receive light even once for three times of light emission of the light emitting element 6a (that is, the light receiving signal R from the light receiving circuit 25 becomes 1).
Is output only once or twice), it is determined that no person is standing in front of the morning glory 1 and “human non-detection” is determined.

【0036】そして、マイコン22は、その「人検知」
または「人非検知」という判定結果をRAMに記憶す
る。このマイコン22の一連の動作が人検知動作であ
り、発光素子6aが3回の発光する度毎に繰り返し行わ
れて、その度に、「人検知」または「人非検知」という
判定結果がRAMに記憶される。
The microcomputer 22 performs the "human detection"
Alternatively, the determination result of “non-detection of person” is stored in the RAM. A series of operations of the microcomputer 22 is a human detection operation, and is repeatedly performed every time the light emitting element 6a emits light three times, and each time a determination result of “human detection” or “non-human detection” is stored in the RAM. Is stored.

【0037】そして、図5に示すように、「人非検知」
という判定結果の次に「人検知」という判定結果が2回
連続した場合、マイコン22は朝顔1の前に立っている
人が小用を足そうとしていると判定する。
Then, as shown in FIG.
If the determination result of “human detection” continues twice after the determination result of “”, the microcomputer 22 determines that the person standing in front of the morning glory 1 is going to add a small business.

【0038】これは、朝顔1の前を人が横切った場合で
も、1回だけなら「人検知」という判定結果がでること
があるためである。すなわち、「人検知」という判定結
果が2回連続すれば、朝顔1の前に立っている人は所定
時間以上立ち止まっていることになり、単に朝顔1の前
を横切ったのではなく、小用を足そうとしていることが
わかるわけである。
This is because even if a person crosses in front of the morning glory 1, a determination result of "human detection" may occur only once. That is, if the determination result of “human detection” is repeated twice, the person standing in front of the morning glory 1 has been stopped for a predetermined time or more. You are trying to add

【0039】すると、マイコン22は弁駆動回路21を
制御することにより電磁開閉弁4を一定時間だけ開かせ
て水供給管3から朝顔1へ一定量の洗浄水を供給させ、
朝顔1を洗浄する。これにより、快適に小用を足すこと
ができると共に朝顔1を汚れにくくしている。
Then, the microcomputer 22 controls the valve drive circuit 21 to open the electromagnetic on-off 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.
Wash morning glory 1. As a result, it is possible to comfortably add small items and to make the morning glory 1 difficult to stain.

【0040】続いて、図6に示すように、「人検知」と
いう判定結果の次に「人非検知」という判定結果が2回
連続した場合、マイコン22は小用を足し終えた人が朝
顔1の前から立ち去ったと判定する。
Subsequently, as shown in FIG. 6, when the determination result of “human detection” is followed by the determination result of “non-human detection” twice, the microcomputer 22 determines that the person who has finished using the small work is a morning glory. It is determined that the person has left before 1.

【0041】これは、小用中に人の体が揺れた場合で
も、1回だけなら「人非検知」という判定結果がでるこ
とがあるためである。すなわち、「人非検知」という判
定結果が2回連続すれば、朝顔1の前には所定時間以上
人がいないことになり、小用を足し終えた人が立ち去っ
たことが確実にわかるわけである。
This is because even if the body of the person shakes during the small use, a determination result of "non-detection of the person" may occur only once. In other words, if the result of the determination of "person not detected" is repeated twice, there is no person for more than a predetermined time in front of the morning glory 1, and it can be surely confirmed that the person who has completed the small-work has left. is there.

【0042】すると、マイコン22は弁駆動回路21を
制御することにより電磁開閉弁4を一定時間だけ開かせ
て水供給管3から朝顔1へ一定量の洗浄水を供給させ、
朝顔1を洗浄する。
Then, the microcomputer 22 controls the valve drive circuit 21 to open the electromagnetic on-off 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.
Wash morning glory 1.

【0043】このように朝顔1の自動洗浄装置において
は、小用を足そうとする人が朝顔1の前に立つと朝顔1
を洗浄し(前洗浄処理)、小用を足し終えた人が朝顔1
の前から立ち去ると再度朝顔1を洗浄(後洗浄処理)す
るようになっている。
As described above, in the apparatus for automatically cleaning morning glory 1, when a person who wants to add a small product stands in front of morning glory 1,
After cleaning (pre-cleaning) and adding small items
After that, the morning glory 1 is washed again (post-washing process) when the user leaves from the front.

【0044】以上詳述したように、本実施例において
は、スイッチSW投入後の一定時間、発光素子6aを発
光させないで受光素子6bの受光状態を検出することに
より、外乱光の発生パターンを検出している。
As described in detail above, in this embodiment, the pattern of occurrence of disturbance light is detected by detecting the light receiving state of the light receiving element 6b without causing the light emitting element 6a to emit light for a certain time after the switch SW is turned on. doing.

【0045】そして、その外乱光の発生パターンと合致
しないような発光信号Fの出力タイミングを設定するこ
とにより、発光素子6aの発光タイミングを設定してい
る。従って、周期的パルス状ノイズや周期変化パルス状
ノイズ等の外乱光が発生した場合でも、それら外乱光と
合致しないように発光素子6aを発光させるため、外乱
光の影響を受けることなく、朝顔1の前に人が立ってい
るかどうかを正確に検出することができる。
The light emission timing of the light emitting element 6a is set by setting the output timing of the light emission signal F so as not to coincide with the disturbance light generation pattern. Therefore, even when disturbance light such as periodic pulse-like noise or period-change pulse-like noise is generated, the light-emitting element 6a is caused to emit light so as not to match the disturbance light. Can accurately detect whether or not a person is standing in front of it.

【0046】尚、本発明は上記実施例に限定されるもの
ではなく、以下のようにして実施してもよい。 1)スイッチSWの投入から一定時間を発光タイミング
設定時間にするのではなく、マイコン22の動作中にお
いて、一定時間毎に発光タイミング設定時間を設ける。
そして、その一定時間毎に設けた発光タイミング設定時
間毎に、発光信号Fの出力タイミングを変更する。
The present invention is not limited to the above embodiment, but may be carried out as follows. 1) The light emission timing setting time is provided at every certain time during the operation of the microcomputer 22 instead of setting a certain time from the turning on of the switch SW as the light emission timing setting time.
Then, the output timing of the light emission signal F is changed for each light emission timing set time provided for each fixed time.

【0047】この場合は、外乱光の周期が変化しても、
発光信号Fの出力タイミングをその外乱光の周期の変化
に対応させることができるため、周期変化パルス状ノイ
ズに対してより効果的になる。
In this case, even if the period of the disturbance light changes,
Since the output timing of the light emission signal F can be made to correspond to the change in the period of the disturbance light, it becomes more effective against the period-changed pulse-like noise.

【0048】2)人検知動作の周期において、発光素子
6aが3回発光した残りの時間を発光タイミング設定時
間とする。この場合は、人検知動作の1周期毎に、発光
信号Fの出力タイミングを変更することができるため、
外乱光の周期の変化が短い時間で頻繁に生じても、発光
信号Fの出力タイミングをその外乱光の周期の変化に対
応させることができる。従って、周期変化パルス状ノイ
ズに対して極めて効果的になる。
2) In the cycle of the human detection operation, the remaining time when the light emitting element 6a emits light three times is set as the light emission timing setting time. In this case, the output timing of the light emission signal F can be changed for each cycle of the human detection operation.
Even if the period of the disturbance light frequently changes in a short time, the output timing of the light emission signal F can be made to correspond to the change of the period of the disturbance light. Therefore, it is extremely effective against period-change pulse noise.

【0049】3)人検知動作の周期を、一定時間ではな
く適宜な時間に設定する。 4)1回の人検知動作における発光素子6aの発光回数
を、3回ではなく適宜な回数に設定する。その場合は、
指令信号Sの回数も3回ではなく発光素子6aの発光回
数に応じたものにする。
3) The period of the human detection operation is set to an appropriate time, not a fixed time. 4) The number of light emission of the light emitting element 6a in one human detection operation is set to an appropriate number instead of three. In that case,
The number of times of the command signal S is not three, but according to the number of times of light emission of the light emitting element 6a.

【0050】5)発光タイミング設定時間を1秒間では
なく適宜な時間に設定する。発光タイミング設定時間を
長くすれば、外乱光の発生パターンをより正確に検出す
ることができる。
5) The light emission timing setting time is set to an appropriate time instead of one second. If the light emission timing setting time is made longer, it is possible to detect the occurrence pattern of disturbance light more accurately.

【0051】6)発光タイミング設定時間において、人
検知センサ6の受光素子6bによって外乱光を受光する
のではなく、外乱光を受光する専用の受光素子を設け
る。マイコン22は、その受光素子6bとは別個に設け
た外乱光専用の受光素子の検出信号に基づいて、発光信
号Fの出力タイミングを設定する。
6) In the light emission timing setting time, instead of receiving the disturbance light by the light receiving element 6b of the human detection sensor 6, a dedicated light receiving element for receiving the disturbance light is provided. The microcomputer 22 sets the output timing of the light emission signal F based on a detection signal of a light-receiving element dedicated to disturbance light provided separately from the light-receiving element 6b.

【0052】7)「人非検知」という判定結果の次に
「人検知」という判定結果が1回だけあった場合でも前
洗浄処理を行う。また、「人検知」という判定結果の次
に「人非検知」という判定結果が1回だけあった場合で
も後洗浄処理を行う。
7) The pre-cleaning process is performed even if the determination result of "human detection" is found only once after the determination result of "human detection". The post-cleaning process is performed even when the determination result of “human detection” is once after the determination result of “human detection”.

【0053】8)発光信号Fを、パルスノイズの周波数
とは異なる適宜な周波数で任意なデューティの複数のパ
ルスとする。 9)リチウム電池8を直流電源装置に置き換え、商用電
源から電源を供給する。
8) The light emission signal F is a plurality of pulses having an appropriate duty different from the frequency of the pulse noise and an arbitrary duty. 9) Replace the lithium battery 8 with a DC power supply and supply power from a commercial power supply.

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

【0055】11)光ではなく超音波を利用する。すな
わち、発光素子6aを超音波用スーピーカに置き換え、
受光素子6bを超音波用マイクロフォンに置き換える。
また、受光回路25および発光回路23の回路構成も適
宜に変更する。そして、超音波用スーピーカからの超音
波が物体にあたって反射した音波を、超音波用マイクロ
フォンによって検出する。
11) 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 25 and the light emitting circuit 23 are appropriately changed. Then, a sound wave reflected from the ultrasonic speaker from the ultrasonic speaker hits the object is detected by the ultrasonic microphone.

【0056】12)朝顔1だけでなく、洗面台等の各種
の衛生器具における自動洗浄制御装置に具体化する。 13)衛生器具における自動洗浄制御装置だけでなく、
自動ドア、FA機器等の他の物体検出装置に具体化す
る。
12) The present invention is embodied not only in the morning glory 1 but also in an automatic washing control device for various sanitary appliances such as a sink. 13) Not only automatic cleaning control device in sanitary ware,
The present invention is embodied in other object detection devices such as automatic doors and FA devices.

【0057】14)上記1)〜13)を適宜に組み合わ
せて実施する。
14) The above-mentioned 1) to 13) are carried out in an appropriate combination.

【0058】[0058]

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

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

【図1】本発明の一実施例の自動洗浄装置の電気ブロッ
ク回路図である。
FIG. 1 is an electric block circuit diagram of an automatic cleaning device according to one embodiment of the present invention.

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

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

【図4】一実施例における発光信号Fの出力タイミング
の設定を説明するためのタイムチャートである。
FIG. 4 is a time chart for explaining setting of an output timing of a light emission signal F in one embodiment.

【図5】一実施例における前洗浄処理を説明するための
タイムチャートである。
FIG. 5 is a time chart for explaining a pre-cleaning process in one embodiment.

【図6】一実施例における後洗浄処理を説明するための
タイムチャートである。
FIG. 6 is a time chart for explaining a post-cleaning process in one embodiment.

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

6a…発光素子、6b…受光素子、22…制御判定装置
としてのマイクロコンピュータ
6a: light-emitting element, 6b: light-receiving element, 22: microcomputer as control determination device

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G01V 9/04 E03D 5/10──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G01V 9/04 E03D 5/10

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 発光素子(6a)から光を投射し、その
投射光が物体にあたって反射した反射光を受光素子(6
b)によって検出することにより物体を検知するように
した物体検出装置において、 発光素子(6a)を一定時間発光させないで、そのとき
に受光素子(6b)が検出した光の発生パターンを学習
し、次に、学習した光の発生パターンに合致しないよう
に発光素子(6a)を発光させ、その発光素子(6a)
の発光に対して、その反射光を受光素子(6b)が受光
したときには物体が存在していると判定し、その反射光
を受光素子(6b)が受光しなかったときには物体が存
在していないと判定する制御判定装置(22)を設けた
ことを特徴とする物体検出装置。
A light is projected from a light emitting element (6a), and reflected light reflected by the projected light hitting an object is received by a light receiving element (6a).
In the object detection device configured to detect an object by performing the detection in step b), the light emitting element (6a) is not caused to emit light for a certain period of time, and the light generation pattern detected by the light receiving element (6b) at that time is learned. Next, the light emitting element (6a) emits light so as not to match the learned light generation pattern, and the light emitting element (6a)
It is determined that an object is present when the light receiving element (6b) receives the reflected light with respect to the light emission of, and the object is not present when the light receiving element (6b) does not receive the reflected light. An object detection device, comprising: a control determination device (22) for determining whether the object is detected.
JP29894992A 1992-11-09 1992-11-09 Object detection device Expired - Fee Related JP2815274B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29894992A JP2815274B2 (en) 1992-11-09 1992-11-09 Object detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29894992A JP2815274B2 (en) 1992-11-09 1992-11-09 Object detection device

Publications (2)

Publication Number Publication Date
JPH06148344A JPH06148344A (en) 1994-05-27
JP2815274B2 true JP2815274B2 (en) 1998-10-27

Family

ID=17866270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29894992A Expired - Fee Related JP2815274B2 (en) 1992-11-09 1992-11-09 Object detection device

Country Status (1)

Country Link
JP (1) JP2815274B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002091612A (en) * 2000-09-11 2002-03-29 Internatl Business Mach Corp <Ibm> Portable information processor

Also Published As

Publication number Publication date
JPH06148344A (en) 1994-05-27

Similar Documents

Publication Publication Date Title
US5063622A (en) Water supply control system
JP2815274B2 (en) Object detection device
JP2866774B2 (en) Object detection device
JP2587229Y2 (en) Object detection device
JP2952115B2 (en) Object detection device
JP4288703B2 (en) Toilet bowl cleaning device and toilet system
JP2986662B2 (en) Object detection device
JP2889445B2 (en) Object detection device
JP2905016B2 (en) Object detection device
JPH07225282A (en) Object detection apparatus
JP2588879Y2 (en) Object detection device
JP3021253B2 (en) Object detection device
JP2654303B2 (en) Automatic cleaning control device for various sanitary appliances
JP2902237B2 (en) Automatic water supply
JP3144583B2 (en) Water supply control device
JPH0755953A (en) Detecting device of object
JPH05280081A (en) Automatic cleaning control device for sanitary device
JPH07294662A (en) Object-detecting apparatus, and automatic washing device for sanitary fixture
JPH0729076U (en) Automatic cleaning device for sanitary equipment
JPH0533584Y2 (en)
JPH0659050A (en) Object detector
JPH01244034A (en) Stool cleaner
JP2568136Y2 (en) Automatic cleaning control device for sanitary appliances
JPH05280082A (en) Automatic cleaning control device for sanitary device
JPH0513823Y2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080814

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090814

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100814

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100814

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110814

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees