JP2952115B2 - Object detection device - Google Patents

Object detection device

Info

Publication number
JP2952115B2
JP2952115B2 JP22435992A JP22435992A JP2952115B2 JP 2952115 B2 JP2952115 B2 JP 2952115B2 JP 22435992 A JP22435992 A JP 22435992A JP 22435992 A JP22435992 A JP 22435992A JP 2952115 B2 JP2952115 B2 JP 2952115B2
Authority
JP
Japan
Prior art keywords
light
emitting element
light receiving
light emitting
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
JP22435992A
Other languages
Japanese (ja)
Other versions
JPH0666953A (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 JP22435992A priority Critical patent/JP2952115B2/en
Publication of JPH0666953A publication Critical patent/JPH0666953A/en
Application granted granted Critical
Publication of JP2952115B2 publication Critical patent/JP2952115B2/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 apparatus, 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. If there is any object such as a human body in the space where the infrared light is projected, the light projected 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】そのため、外乱光の波長が発光素子の投射
光の波長と合致している場合には、実際に物体が存在し
ているのか、外乱光が発生しているのかを判別すること
ができず、正確な物体検出ができないわけである。
Therefore, when the wavelength of the disturbance light matches the wavelength of the projection light of the light emitting element, it can be determined whether an object actually exists or the disturbance light is generated. That is, accurate object detection cannot be performed.

【0008】特に、インバータ蛍光灯では、インバータ
制御により30KHZ 以下または45KHZ 以上に点灯
周波数が設定されているため、その点灯周波数と同じ周
期で外乱光が発生する。
Particularly, in the inverter fluorescent lamp, since the lighting frequency is set to 30 KHz or less or 45 KHz or more by inverter control, disturbance light is generated at the same cycle as the lighting frequency.

【0009】また、複数のインバータ蛍光灯が近接して
設置されている場合には、各インバータ蛍光灯の点灯周
波数のずれから「うなり」が生じ1KHZ 以下で周期の
変化する外乱光が生じる。
When a plurality of inverter fluorescent lamps are installed in close proximity to each other, a "beat" is generated due to a shift in the lighting frequency of each inverter fluorescent lamp, and disturbance light whose cycle changes at 1 KHz or less is generated.

【0010】それらインバータ蛍光灯による外乱光が、
上記の物体検出装置に対して周期的なパルス状のノイズ
(以下、周期的パルス状ノイズという)として作用した
場合、誤動作を引き起こさせることがある。
[0010] The disturbance light from the inverter fluorescent lamp is
When it acts on the above-described object detection device as periodic pulse-like noise (hereinafter, referred to as periodic pulse-like noise), a malfunction may be caused.

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

【0012】[0012]

【0013】[0013]

【課題を解決するための手段】 本発明は上記問題点を解
決するため、 発光素子から光を投射し、その投射光が物
体にあたって反射した反射光を受光素子によって検出す
ることにより物体を検知するようにした物体検出装置に
おいて、まず最初に、発光素子を短時間発光させ、その
発光素子の発光に対して、その反射光を受光素子が受光
しなかったときには物体が存在していないと判定し、そ
の反射光を受光素子が受光したときには、次に、発光素
子を長時間発光させ、その発光素子の発光に対して、そ
の反射光を受光素子が途切れることなく受光したときに
は物体が存在していると判定し、その反射光を受光素子
が受光しなかったり受光が途切れたりしたときには物体
が存在していないと判定する制御判定装置を設けたこと
をその要旨とする。
The present invention solves the above problems.
In an object detection device that projects light from a light-emitting element and detects the object by detecting the reflected light reflected from the object by the light-receiving element, first, the light-emitting element is turned on for a short time. When the light receiving element does not receive the reflected light with respect to the light emission of the light emitting element, it is determined that the object does not exist, and when the reflected light is received by the light receiving element, the light emitting element is next emitted. When the light-receiving element receives the reflected light without interruption for the light emitted by the light-emitting element, it is determined that an object exists and the light-receiving element does not receive the reflected light or The point is that a control determination device that determines that an object does not exist when is interrupted is provided.

【0014】[0014]

【0015】[0015]

【0016】[0016]

【作用】 上記手段により、 まず最初に、発光素子を短時
間発光させる。そして、発光素子の投射光の反射光を受
光素子が受光しなかったときには物体が存在していない
と判定する。また、受光素子が受光したときには、次
に、発光素子を長時間発光させる。そして、発光素子の
投射光の反射光を受光素子が途切れることなく受光でき
た場合にのみ、物体が存在していると判定する。
By the action above means, first, the light-emitting element briefly emit light. When the light receiving element does not receive the reflected light of the projection light of the light emitting element, it is determined that the object does not exist. When the light receiving element receives light, the light emitting element emits light for a long time. Then, it is determined that an object is present only when the light receiving element can receive the reflected light of the projection light of the light emitting element without interruption.

【0017】すなわち、まず最初に、発光素子を短時間
発光させて物体の存在を粗判定し、粗判定の結果、物体
が存在していそうであれば、次に、発光素子を長時間発
光させて物体の存在を正確に判定する。
That is, first, the light emitting element is caused to emit light for a short time to roughly determine the presence of an object. If the result of the rough determination indicates that the object is present, then the light emitting element is caused to emit light for a long time. To accurately determine the presence of the object.

【0018】従って、物体が存在していないと粗判定し
た場合は、発光素子を長時間発光させないため、その
分、物体検出装置の消費電力を小さくすることができ
る。
Therefore, when it is roughly determined that no object is present, the light emitting element is not allowed to emit light for a long time, so that the power consumption of the object detection device can be reduced accordingly.

【0019】[0019]

【実施例】以下、本発明の物体検出装置を男子用水洗小
便器(以下、朝顔という)の自動洗浄装置に具体化した
一実施例を、図面に従って説明する。
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.

【0020】図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.

【0021】制御箱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.

【0022】尚、発光素子6aは発光ダイオードからな
り、予め設定された波長の赤外光を投射する。また、受
光素子6bはフォトダイオードまたはフォトトランジス
タからなり、発光素子6aの投射光と同じ波長の赤外光
を受光したときにのみ検出信号を出力する。
The light emitting element 6a is composed of a light emitting diode and emits infrared light having a predetermined 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.

【0023】図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 connected to the controller 7
The power supply is supplied to the constant voltage circuit 20 and the valve drive circuit 21 therein.

【0024】定電圧回路20は3端子レギュレータによ
って構成され、コントローラ7内のマイクロコンピュー
タ(以下、マイコンと略す)22、発光駆動回路23、
スイッチング回路24のそれぞれに安定な直流電圧を供
給している。
The constant voltage circuit 20 is constituted by 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.

【0025】マイコン22は、中央処理装置(CP
U)、制御プログラムを記憶した読み出し専用メモリ
(ROM)、後記する人検知動作の結果を一時記憶する
読み出しおよび書き込み可能なメモリ(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 a result of a human detection operation described later, an input / output interface, and the like.

【0026】そして、マイコン22は、0.7秒間隔毎
に一定時間だけスイッチング回路24に指令信号Sを出
力する。また、マイコン22は、周波数が38KHZ で
デューティ50%のパルス波(パルス幅約26μsec )
である発光指令信号Fを発光駆動回路23に出力する。
Then, the microcomputer 22 outputs a command signal S to the switching circuit 24 for a fixed time at 0.7 second intervals. The microcomputer 22 generates a pulse wave having a frequency of 38 KHz and a duty of 50% (pulse width of about 26 μsec).
Is output to the light emission drive circuit 23.

【0027】発光駆動回路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 a 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.

【0028】従って、マイコン22から200μsec の
間、発光指令信号Fが出力され続けると、発光駆動回路
23は発光素子6aを8回発光させる。また、マイコン
22から10msec の間、発光指令信号Fが出力され続
けると、発光駆動回路23は発光素子6aを380回発
光させる。
Therefore, if the microcomputer 22 continuously outputs the light emission command signal F for 200 μsec, the light emission drive circuit 23 causes the light emitting element 6a to emit light eight times. When the microcomputer 22 continuously outputs the light emission command signal F for 10 msec, the light emission drive circuit 23 causes the light emitting element 6a to emit light 380 times.

【0029】スイッチング回路24はマイコン22から
の指令信号Sに基づいて、オン・オフ制御される。そし
て、スイッチング回路24は、オン時に定電圧回路20
から供給される電源を受光回路25に供給し、オフ時に
受光回路25への電源供給を遮断する。受光回路25
は、スイッチング回路24から電源が供給されていると
きにのみ動作可能になる。
The switching circuit 24 is on / off controlled based on a command signal S from the microcomputer 22. The switching circuit 24 is turned on when the constant voltage circuit 20 is turned on.
Is supplied to the light receiving circuit 25, and the power supply to the light receiving circuit 25 is cut off when the power is off. Light receiving circuit 25
Becomes operable only when power is supplied from the switching circuit 24.

【0030】尚、マイコン22からの指令信号Sは0.
7秒間隔毎に一定時間だけ出力されるため、スイッチン
グ回路24も0.7秒間隔毎に一定時間だけ受光回路2
5に電源を供給する。従って、受光回路25は0.7秒
間隔毎に一定時間だけ電源がオンになって動作可能にな
る。
Incidentally, the command signal S from the microcomputer 22 is set to 0.1.
Since the signal is output for a fixed time at intervals of 7 seconds, the switching circuit 24 also outputs the light receiving circuit 2 for a fixed time at intervals of 0.7 seconds.
5 is powered. Therefore, the light receiving circuit 25 is turned on for a fixed time at 0.7-second intervals, and becomes operable.

【0031】受光回路25は、受光素子6bの検出信号
を増幅し、積分した後に波形整形して受光信号Rを生成
する。すなわち、発光素子6aは発光指令信号Fのパル
スに従って発光するため、その発光は連続したものでは
なく、発光指令信号Fの周波数(38KHZ )を点灯周
波数とした点滅になる。そのため、受光素子6bの検出
信号も連続したものではなく、発光指令信号Fの周波数
に対応したものになる。そこで、受光素子6bの検出信
号を、受光回路25内で積分した後に波形整形すること
により、連続した受光信号Rを得るわけである。
The light receiving circuit 25 amplifies the detection signal of the light receiving element 6b, integrates the signal, shapes the waveform, and generates a light receiving signal R. That is, 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 blinks using the frequency (38 KHz) 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, by integrating the detection signal of the light receiving element 6b in the light receiving circuit 25 and then shaping the waveform, a continuous light receiving signal R is obtained.

【0032】そして、受光回路25は、生成した受光信
号Rをマイコン22に出力する。尚、受光素子6bは、
発光素子6aの投射光の反射光を受光した場合でも、発
光素子6aの投射光と同じ波長の外乱光を受光した場合
でも、同じように検出信号を出力する。
Then, the light receiving circuit 25 outputs the generated light receiving signal R to the microcomputer 22. The light receiving element 6b is
The detection signal is output 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 is received.

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

【0034】弁駆動回路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.

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

【0036】まず、ステップ(以下、Sとする)1にお
いて、マイコン22はスイッチング回路24に指令信号
Sを出力する。そのため、スイッチング回路24はオン
し、受光回路25に電源を供給する。すると、受光回路
25は電源がオンになって動作可能状態になる。そし
て、S2へ移行する。
First, in step (hereinafter referred to as S) 1, the microcomputer 22 outputs a command signal S to the switching circuit 24. Therefore, the switching circuit 24 turns on and supplies power to the light receiving circuit 25. Then, the light receiving circuit 25 is turned on and becomes operable. Then, the process proceeds to S2.

【0037】S2において、マイコン22は発光駆動回
路23に200μsec の間、発光指令信号Fを出力し続
ける。その発光指令信号Fに基づいて、発光駆動回路2
3は発光素子6aを8回発光させる。そして、S3へ移
行する。
In S2, the microcomputer 22 continues to output the light emission command signal F to the light emission drive circuit 23 for 200 μsec. Based on the light emission command signal F, the light emission drive circuit 2
3 causes the light emitting element 6a to emit light eight times. Then, the process proceeds to S3.

【0038】S3において、マイコン22は、受光回路
25から受光信号Rが出力されているかどうかを判別す
る。すなわち、朝顔1の前に人が立っている場合、発光
素子6aからの投射光はその人にあたって反射する。す
ると、受光素子6bはその反射光を検出して検出信号を
出力する。受光回路25はその検出信号から受光信号R
を生成して出力する。
In S3, the microcomputer 22 determines whether or not the light receiving signal R is output from the light receiving circuit 25. That is, when a person is standing in front of the morning glory 1, the projection light from the light emitting element 6a reflects on the person. Then, the light receiving element 6b detects the reflected light and outputs a detection signal. The light receiving circuit 25 detects the light receiving signal R from the detection signal.
Is generated and output.

【0039】また、朝顔1の前に人が立っていない場
合、発光素子6aからの投射光は反射せず、受光素子6
bは反射光を検出できないため検出信号を出力しない。
そのため、受光回路25は受光信号Rを出力しない。
When no person stands in front of the morning glory 1, the light projected from the light emitting element 6a is not reflected, and the light receiving element 6a is not reflected.
b does not output a detection signal because reflected light cannot be detected.
Therefore, the light receiving circuit 25 does not output the light receiving signal R.

【0040】そして、受光信号Rが出力されていればS
4へ移行し、出力されていなければS5へ移行するS4
において、マイコン22は発光駆動回路23に10mse
c の間、発光指令信号Fを出力し続ける。その発光指令
信号Fに基づいて、発光駆動回路23は発光素子6aを
380回発光させる。そして、S6へ移行する。
If the light receiving signal R is output, S
To S4, and if not output, to S5.
In the microcomputer 22, the light emission drive circuit 23
During c, the light emission command signal F is continuously output. Based on the light emission command signal F, the light emission drive circuit 23 causes the light emitting element 6a to emit light 380 times. Then, the process proceeds to S6.

【0041】S6において、マイコン22は、受光回路
25から受光信号Rが出力されているかどうか、さら
に、その受光信号Rが途切れないかどうかを判別する。
すなわち、S3と同様に、朝顔1の前に人が立っている
場合、受光回路25は受光信号Rを出力する。また、朝
顔1の前に人が立っていない場合、受光回路25は受光
信号Rを出力しない。
In S6, the microcomputer 22 determines whether the light receiving signal R is output from the light receiving circuit 25 and whether the light receiving signal R is not interrupted.
That is, similarly to S3, when a person stands before the morning glory 1, the light receiving circuit 25 outputs the light receiving signal R. When no person stands before morning glory 1, light receiving circuit 25 does not output light receiving signal R.

【0042】ところで、実際には朝顔1の前に人が立っ
ておらず、何らかの原因で発生した外乱光を受光素子6
bが受光した場合であっても、受光信号Rは出力されて
しまう。
By the way, actually, no person stands in front of the morning glory 1 and the disturbance light generated for some reason
Even when b receives light, the light receiving signal R is output.

【0043】しかしながら、外乱光が10msec もの
間、持続して発生することはまれである。特に、前記し
たような周期的パルス状ノイズが10msec もの間、持
続して発生することはない。
However, it is rare that disturbance light is generated continuously for as long as 10 msec. In particular, the aforementioned periodic pulse-like noise does not continuously occur for as long as 10 msec.

【0044】従って、受光回路25から出力される受光
信号Rが外乱光、特に周期的パルス状ノイズによるもの
である場合、図5に示すように、その受光信号Rは持続
せず、発光指令信号Fが出力されている10msec の間
に必ず1回は途切れることになる。
Therefore, when the light receiving signal R output from the light receiving circuit 25 is due to disturbance light, particularly periodic pulse noise, the light receiving signal R does not continue as shown in FIG. There is always one interruption during 10 msec when F is output.

【0045】一方、受光回路25から出力される受光信
号Rが人からの反射光によるものである場合、図6に示
すように、その受光信号Rは持続して、発光指令信号F
が出力されている10msec の間に途切れることはな
い。
On the other hand, when the light receiving signal R output from the light receiving circuit 25 is due to the reflected light from a person, as shown in FIG.
There is no interruption during the 10 msec when is output.

【0046】そして、出力されている受光信号Rが途切
れなければ、受光信号Rが人からの反射光によるもので
あるとして、S7へ移行する。また、受光信号Rが出力
されていない場合や途切れる場合には、S3において出
力されていた受光信号Rは外乱光によるものであるとし
て、S5へ移行する S7において、マイコン22は朝顔1の前に人が立って
いるとして「人検知」と判定し、その判定結果をRAM
に記憶する。そして、S8へ移行する。
If the output light-receiving signal R is not interrupted, it is determined that the light-receiving signal R is due to light reflected from a person, and the flow shifts to S7. If the light reception signal R is not output or is interrupted, the light reception signal R output in S3 is determined to be due to disturbance light, and the process proceeds to S5. It is determined that a person is standing and “human detection” is determined, and the determination result is stored in the RAM.
To memorize. Then, control goes to a step S8.

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

【0048】S8において、マイコン22はスイッチン
グ回路24に指令信号Sを出力するのを停止する。その
ため、スイッチング回路24はオフし、受光回路25へ
の電源供給を遮断する。すると、受光回路25の電源が
オフして動作が停止する。そして、S1へ戻る。
In S8, the microcomputer 22 stops outputting the command signal S to the switching circuit 24. Therefore, the switching circuit 24 is turned off, and the power supply to the light receiving circuit 25 is cut off. Then, the power of the light receiving circuit 25 is turned off and the operation stops. Then, the process returns to S1.

【0049】このように本実施例においては、発光素子
6aの発光を0.7秒という一定の周期で間欠的に行っ
ている。そして、1周期において、まず最初に、発光素
子6aを8回連続して約197μsec の間発光させ、受
光素子6bが受光したならば、次に、発光素子6aを3
80回連続して10msec の間発光させる。
As described above, in this embodiment, the light-emitting element 6a emits light intermittently at a constant period of 0.7 seconds. In one cycle, first, the light emitting element 6a emits light eight consecutive times for about 197 μsec, and if the light receiving element 6b receives light, then the light emitting element 6a is turned off.
Emit light for 80 msec for 10 msec.

【0050】その結果、発光素子6aが発光している1
0msec の間、受光素子6bが途切れずに受光したとき
にのみ、朝顔1の前に人が立っている(すなわち「人検
知」)と判定する。
As a result, the light emitting element 6a emits light 1
Only when the light receiving element 6b receives light without interruption for 0 msec, it is determined that a person is standing in front of the morning glory 1 (that is, "human detection").

【0051】一方、最初に発光素子6aが8回連続して
発光したときに受光素子6bが受光しなかった場合は、
朝顔1の前に人が立っていない(すなわち「人非検
知」)と判定する。
On the other hand, when the light receiving element 6b does not receive light when the light emitting element 6a first emits light eight times in succession,
It is determined that no person is standing in front of morning glory 1 (that is, “non-human detection”).

【0052】また、次に発光素子6aが380回連続し
て発光したときに、受光素子6bが受光しなかった場合
や、受光が途切れた場合にも、朝顔1の前に人が立って
いない(すなわち「人非検知」)と判定する。
Next, when the light emitting element 6a emits light 380 times continuously, the light receiving element 6b does not receive light or the light reception is interrupted, no person stands in front of the morning glory 1. (That is, “human non-detection”).

【0053】つまり本実施例では、まず最初に、発光素
子6aを短時間(約197μsec ≒200μsec )発光
させ、受光素子6bが受光したならば、次に、発光素子
6aを長時間(10msec =200μsec の50倍)発
光させて、前回の受光が外乱光によるものかどうかを再
確認しているわけである。
That is, in this embodiment, first, the light emitting element 6a is made to emit light for a short time (about 197 μsec ≒ 200 μsec), and if the light receiving element 6b receives light, then, the light emitting element 6a is made to emit light for a long time (10 msec = 200 μsec). (50 times as large as that of the above), and it is confirmed again whether or not the previous light reception was caused by disturbance light.

【0054】従って、周期的パルス状ノイズ等の外乱光
に対しても、その影響を受けることなく正確に人の存在
を検知することができる。加えて、発光素子6aを短時
間発光させたときに受光素子6bが受光しなければ、そ
れだけで「人非検知」と判定して人検知動作のルーチン
を終了し、発光素子6aを長時間発光させないため、そ
の分、コントローラ7の消費電力が小さくなる。
Therefore, the presence of a person can be accurately detected without being affected by disturbance light such as periodic pulse noise. In addition, if the light-receiving element 6b does not receive light when the light-emitting element 6a emits light for a short time, it is determined as "non-human detection" by itself and the human detection operation routine is terminated, and the light-emitting element 6a emits light for a long time Since this is not performed, the power consumption of the controller 7 is reduced accordingly.

【0055】コントローラ7の消費電力が小さくなれば
リチウム電池8の消耗が抑えられるため、リチウム電池
8の電池寿命が長くなり、電池交換の手間を少なくする
ことができる。
If the power consumption of the controller 7 is reduced, the consumption of the lithium battery 8 can be suppressed, so that the life of the lithium battery 8 is prolonged and the trouble of replacing the battery can be reduced.

【0056】ところで、受光回路25は0.7秒間隔毎
に動作可能になるため、人検知動作のルーチンは0.7
秒間隔毎に繰り返される。すなわち、1回のルーチン毎
に、マイコン22内のRAMには「人検知」または「人
非検知」という判定結果が記憶される。
Since the light receiving circuit 25 becomes operable every 0.7 seconds, the routine of the human detecting operation is performed at 0.7 seconds.
Repeated every second interval. That is, the determination result of “human detection” or “non-human detection” is stored in the RAM in the microcomputer 22 for each routine.

【0057】そして、「人非検知」という判定結果の次
に「人検知」という判定結果が2回連続した場合、マイ
コン22は朝顔1の前に立っている人が小用を足そうと
していると判定する。
When the determination result of "human detection" is repeated twice after the determination result of "human non-detection", the microcomputer 22 tries to add a small person to the person standing in front of the morning glory 1. Is determined.

【0058】これは、朝顔1の前を人が横切った場合で
も、1回だけなら「人検知」という判定結果がでること
があるためである。すなわち、「人検知」という判定結
果が2回連続すれば、朝顔1の前に立っている人は0.
7秒以上立ち止まっていることになり、単に朝顔1の前
を横切ったのではなく、小用を足そうとしていることが
わかるわけである。
This is because even if a person crosses the 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 number of persons standing in front of morning glory 1 is 0.
This means that the user has stopped for more than 7 seconds, which means that he is not just crossing the front of the morning glory 1, but is trying to add a small amount of work.

【0059】すると、マイコン22は弁駆動回路21を
制御することにより電磁開閉弁4を一定時間だけ開かせ
て水供給管3から朝顔1へ一定量の洗浄水を供給させ、
朝顔1を洗浄する。これにより、快適に小用を足すこと
ができると共に朝顔1を汚れにくくしている。
Then, the microcomputer 22 controls the valve drive circuit 21 to open the electromagnetic opening / closing valve 4 for a fixed time to supply a fixed amount of washing water to the morning glory 1 from the water supply pipe 3.
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.

【0060】続いて、「人検知」という判定結果の次に
「人非検知」という判定結果が2回連続した場合、マイ
コン22は小用を足し終えた人が朝顔1の前から立ち去
ったと判定する。
Subsequently, if 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 completed the small use has left before the morning glory 1. I do.

【0061】これは、小用中に人の体が揺れた場合で
も、1回だけなら「人非検知」という判定結果がでるこ
とがあるためである。すなわち、「人非検知」という判
定結果が2回連続すれば、朝顔1の前には0.7秒以上
人がいないことになり、小用を足し終えた人が立ち去っ
たことが確実にわかるわけである。
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 “people not detected” is repeated twice, there is no person for more than 0.7 seconds in front of morning glory 1, and it can be surely confirmed that the person who has completed the small work has left. That is.

【0062】すると、マイコン22は弁駆動回路21を
制御することにより電磁開閉弁4を一定時間だけ開かせ
て水供給管3から朝顔1へ一定量の洗浄水を供給させ、
朝顔1を洗浄する。
Then, the microcomputer 22 controls the valve drive circuit 21 to open the electromagnetic opening / closing valve 4 for a fixed time to supply a fixed amount of washing water from the water supply pipe 3 to the morning glory 1.
Wash morning glory 1.

【0063】このように朝顔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 person 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.

【0064】尚、本発明は上記実施例に限定されるもの
ではなく、以下の事項を変更して実施してもよい。 1)リチウム電池8を電源装置に置き換え、商用電源か
ら電源を供給する。この場合は、電池の消耗に留意しな
くてもよいため、まず最初に発光素子6aを8回発光さ
せる必要はなく、最初から発光素子6aを380回発光
させるようにすればよい。
Note that the present invention is not limited to the above-described embodiment, and may be carried out with the following changes. 1) Replace the lithium battery 8 with a power supply and supply power from a commercial power supply. In this case, since it is not necessary to pay attention to the consumption of the battery, the light emitting element 6a does not need to emit light eight times first, and the light emitting element 6a may emit light 380 times from the beginning.

【0065】すなわち、0.7秒間隔で発光素子6aを
380回発光させ、受光素子6bが途切れずに受光する
かどうかを判定するだけでよい。 2)1周期における発光素子6aの発光回数を8回と3
80回ではなく、それぞれ適宜な回数にする。
That is, it is only necessary to make the light emitting element 6a emit light 380 times at 0.7 second intervals and determine whether the light receiving element 6b receives light without interruption. 2) The number of times of light emission of the light emitting element 6a in one cycle is 8 and 3
Instead of 80 times, the number is set to an appropriate number.

【0066】3)マイコン22から指令信号Sが出力さ
れる間隔を、0.7秒ではなく適宜な時間に設定する。
すなわち、発光素子6aの発光の周期を適宜に設定す
る。 4)発光指令信号Fを、周波数が38KHZ でデューテ
ィ50%のパルス波ではなく、インバータ蛍光灯の点灯
周波数とは異なる適宜な周波数の任意なデューティのパ
ルス波とする。また、発光指令信号Fをパルス波ではな
く、一定の電圧が連続する信号とする。
3) The interval at which the command signal S is output from the microcomputer 22 is set to an appropriate time instead of 0.7 seconds.
That is, the light emission period of the light emitting element 6a is set appropriately. 4) The light emission command signal F is not a pulse wave having a frequency of 38 KHz and a duty of 50%, but a pulse wave having an appropriate duty different from the lighting frequency of the inverter fluorescent lamp. Further, the light emission command signal F is not a pulse wave but a signal in which a constant voltage is continuous.

【0067】5)「人非検知」という判定結果の次に
「人検知」という判定結果が1回だけあった場合でも前
洗浄処理を行う。また、「人検知」という判定結果の次
に「人非検知」という判定結果が1回だけあった場合で
も後洗浄処理を行う。
5) 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”.

【0068】6)赤外光ではなく可視光または紫外光を
利用する。すなわち、発光素子6aは赤外光ではなく可
視光または紫外光を投射するようにし、受光素子6bは
その投射光を受光して検出信号を出力する。
6) 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 projected light and outputs a detection signal.

【0069】7)光ではなく超音波を利用する。すなわ
ち、発光素子6aを超音波用スーピーカに置き換え、受
光素子6bを超音波用マイクロフォンに置き換える。ま
た、受光回路25および発光回路23の回路構成も適宜
に変更する。そして、超音波用スーピーカからの超音波
が物体にあたって反射した音波を、超音波用マイクロフ
ォンによって検出する。
7) Use ultrasonic waves instead of light. That is, the light emitting element 6a is replaced with an ultrasonic speaker, and 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.

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

【0071】10)上記の1)〜9)を適宜に組み合わ
せて実施する。
10) The above-mentioned items 1) to 9) are appropriately combined.

【0072】[0072]

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

【図面の簡単な説明】[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 men's flush urinal (morning glory) of one embodiment.

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

【図4】一実施例の人検知動作を説明するためのフロー
チャートである。
FIG. 4 is a flowchart illustrating a human detection operation according to one embodiment.

【図5】一実施例において、外乱光が発生した場合の発
光指令信号Fと受光信号Rを示すタイムチャートであ
る。
FIG. 5 is a time chart showing a light emission command signal F and a light reception signal R when disturbance light occurs in one embodiment.

【図6】一実施例において、外乱光が発生しない場合の
発光指令信号Fと受光信号Rを示すタイムチャートであ
る。
FIG. 6 is a time chart showing a light emission command signal F and a light reception signal R when disturbance light does not occur 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 Continuation of front page (58) Field surveyed (Int.Cl. 6 , DB name) G01V 9/04

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 発光素子(6a)から光を投射し、その
投射光が物体にあたって反射した反射光を受光素子(6
b)によって検出することにより物体を検知するように
した物体検出装置において、 まず最初に、発光素子(6a)を短時間発光させ、その
発光素子(6a)の発光に対して、その反射光を受光素
子(6b)が受光しなかったときには物体が存在してい
ないと判定し、その反射光を受光素子(6b)が受光し
たときには、次に、発光素子(6a)を長時間発光さ
せ、その発光素子(6a)の発光に対して、その反射光
を受光素子(6b)が途切れることなく受光したときに
は物体が存在していると判定し、その反射光を受光素子
(6b)が受光しなかったり受光が途切れたりしたとき
には物体が存在していないと判定する制御判定装置(2
2)を設けたことを特徴とする物体検出装置。
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), first, the light emitting element (6a) emits light for a short time, and the reflected light is emitted in response to the light emission of the light emitting element (6a). When the light receiving element (6b) does not receive the light, it is determined that the object is not present. When the reflected light is received by the light receiving element (6b), the light emitting element (6a) is caused to emit light for a long time. When the reflected light is received without interruption by the light receiving element (6b) with respect to the light emission of the light emitting element (6a), it is determined that an object is present, and the reflected light is not received by the light receiving element (6b). The control determining device (2) that determines that no object exists when
An object detection device characterized by including (2).
JP22435992A 1992-08-24 1992-08-24 Object detection device Expired - Fee Related JP2952115B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22435992A JP2952115B2 (en) 1992-08-24 1992-08-24 Object detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22435992A JP2952115B2 (en) 1992-08-24 1992-08-24 Object detection device

Publications (2)

Publication Number Publication Date
JPH0666953A JPH0666953A (en) 1994-03-11
JP2952115B2 true JP2952115B2 (en) 1999-09-20

Family

ID=16812529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22435992A Expired - Fee Related JP2952115B2 (en) 1992-08-24 1992-08-24 Object detection device

Country Status (1)

Country Link
JP (1) JP2952115B2 (en)

Also Published As

Publication number Publication date
JPH0666953A (en) 1994-03-11

Similar Documents

Publication Publication Date Title
JP2952115B2 (en) Object detection device
JP2866774B2 (en) Object detection device
JP2587229Y2 (en) Object detection device
JP2986662B2 (en) Object detection device
JP3021253B2 (en) Object detection device
JPH07225282A (en) Object detection apparatus
JP2815274B2 (en) Object detection device
JP2905016B2 (en) Object detection device
JP2889445B2 (en) Object detection device
JP2588879Y2 (en) Object detection device
JPH0714394U (en) Object detection device
JPH0755953A (en) Detecting device of object
JP2654307B2 (en) Automatic cleaning control device for sanitary appliances
JP2654303B2 (en) Automatic cleaning control device for various sanitary appliances
JPH07294662A (en) Object-detecting apparatus, and automatic washing device for sanitary fixture
JP3144583B2 (en) Water supply control device
JPH0729076U (en) Automatic cleaning device for sanitary equipment
JP2902256B2 (en) Automatic toilet cleaning device
JP2902237B2 (en) Automatic water supply
JP2568136Y2 (en) Automatic cleaning control device for sanitary appliances
JPH06173311A (en) Automatic water feeder
JPH0659050A (en) Object detector
JPH05280082A (en) Automatic cleaning control device for sanitary device
JPH0741483U (en) Object detection device
JP2654302B2 (en) Automatic cleaning control device for various sanitary appliances

Legal Events

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

Free format text: PAYMENT UNTIL: 20080709

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090709

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees