JPH07225282A - Object detection apparatus - Google Patents

Object detection apparatus

Info

Publication number
JPH07225282A
JPH07225282A JP1555894A JP1555894A JPH07225282A JP H07225282 A JPH07225282 A JP H07225282A JP 1555894 A JP1555894 A JP 1555894A JP 1555894 A JP1555894 A JP 1555894A JP H07225282 A JPH07225282 A JP H07225282A
Authority
JP
Japan
Prior art keywords
light
emitting element
signal
receiving element
detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1555894A
Other languages
Japanese (ja)
Inventor
Masahiro Nakano
雅弘 中野
Shigeyasu Kaneda
滋保 金田
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 JP1555894A priority Critical patent/JPH07225282A/en
Publication of JPH07225282A publication Critical patent/JPH07225282A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an object detection apparatus in which an object can be detected precisely even when disturbance light is generated by any cause and whose power consumption is low. CONSTITUTION:A band-pass filter 26 uses the modulation frequency of a light- emitting instruction signal F as a central frequency, and its output signal is integrated and waveform-shaped by a waveform shaping circuit 27. As a result, even when a photodetector 6b receives disturbance light and outputs a detection signal, the detection signal is blocked by the band-pass filter 26, and no signal is input to an input port P1 for a microcomputer 22. When no signal is input to an input port P2 (in a normal state), a light-emitting element 6 emits light only once according to the light-emitting-instruction signal F at one pulse. Then, when a signal is input to the input port P2 (when a user appears or when disturbance light is generated), the light-emitting element 6 emits light continuously eight times according to the light-emitting-instruction signal F, at eight pulses, which has been modulated at a next detection timing.

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]

【発明が解決しようとする課題】ところで、上記の物体
検出装置においては、何らかの外因によって発生する赤
外光が外乱として作用し(以下、外乱光という)、正確
な物体検出ができなくなることがある。なぜなら、受光
素子は所定の波長の赤外光を受光した場合に検出信号を
出力するようになっているだけであって、その受光した
赤外光が、発光素子からの投射光が物体にあたって反射
した反射光であるのか、外乱光であるのかを判別する機
能をもっていないためである。そのため、外乱光の波長
が発光素子の投射光の波長と合致している場合には、実
際に物体が存在しているのか、外乱光が発生しているの
かを判別することができず、正確な物体検出ができなく
なる。
In the above 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. . 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 reflected by the projection light from the light emitting element when it hits the object. This is because it does not have a function of discriminating between the reflected light and the ambient light. Therefore, when the wavelength of the ambient light matches the wavelength of the projected light of the light emitting element, it is not possible to determine whether the object actually exists or the ambient light is generated, and the It becomes impossible to detect various objects.

【0006】例えば、上記の物体検出装置の設置場所の
照明にインバータ蛍光灯が使用されている場合、インバ
ータ蛍光灯からの光が外乱光として作用することがあ
る。すなわち、インバータ蛍光灯では、インバータ制御
により点灯周波数がある規定範囲に設定されているた
め、その点灯周波数と同じ周期で外乱光が発生する。
For example, when an inverter fluorescent lamp is used to illuminate the installation place of the above-mentioned object detecting device, the light from the inverter fluorescent lamp may act as ambient light. That is, in the inverter fluorescent lamp, since the lighting frequency is set to a certain specified range by the inverter control, ambient light is generated in the same cycle as the lighting frequency.

【0007】本発明は上記問題点を解決するためになさ
れたものであって、その目的は、何らかの原因による外
乱光が発生しても正確に物体を検出することが可能で且
つ低消費電力な物体検出装置を提供することにある。
The present invention has been made to solve the above problems, and an object thereof is to be able to accurately detect an object even if ambient light is generated for some reason and to have low power consumption. An object is to provide an object detection device.

【0008】[0008]

【課題を解決するための手段】請求項1に記載の発明
は、所定の検知タイミングで定期的に発光素子から光を
投射し、その投射光が物体にあたって反射した反射光を
受光素子によって検出することにより物体を検知する物
体検出装置において、通常時には発光素子を短時間発光
させ、そのときに受光素子が受光したなら、次の検知タ
イミングには、所定の発光変調周波数のパルス波に従っ
て発光素子を複数回連続して発光させることをその要旨
とする。
According to a first aspect of the present invention, light is periodically projected from a light emitting element at a predetermined detection timing, and reflected light reflected by an object is detected by a light receiving element. In an object detection device that detects an object, the light emitting element normally emits light for a short time, and if the light receiving element receives light at that time, the light emitting element is turned on in accordance with a pulse wave having a predetermined emission modulation frequency at the next detection timing. The main idea is to continuously emit light a plurality of times.

【0009】請求項2に記載の発明は、所定の検知タイ
ミングで定期的に発光素子から光を投射し、その投射光
が物体にあたって反射した反射光を受光素子によって検
出することにより物体を検知する物体検出装置におい
て、所定の発光変調周波数のパルス波を生成するパルス
波生成手段と、受光素子の受光の有無を検知する受光検
知手段と、通常時には発光素子を短時間発光させ、受光
検知手段により受光素子の受光が検知されたなら、次の
検知タイミングには、パルス波生成手段からのパルス波
に従って発光素子を複数回連続して発光させる制御手
段)とを設けたことをその要旨とする。
According to a second aspect of the present invention, the object is detected by periodically projecting light from the light emitting element at a predetermined detection timing and detecting reflected light reflected by the projected light upon the object by the light receiving element. In the object detection device, a pulse wave generation means for generating a pulse wave of a predetermined light emission modulation frequency, a light receiving detection means for detecting whether or not the light receiving element receives light, and a light emitting element for a short time to emit light during normal operation When the light reception of the light receiving element is detected, the gist is that at the next detection timing, a control means for causing the light emitting element to continuously emit light a plurality of times in accordance with the pulse wave from the pulse wave generating means.

【0010】請求項3に記載の発明は、請求項1または
請求項2に記載の物体検出装置において、受光素子の検
出信号の内、前記所定の発光変調周波数に対応する周波
数成分だけを濾波するバンドパスフィルタを備えたこと
をその要旨とする。
According to a third aspect of the present invention, in the object detecting apparatus according to the first or second aspect, only the frequency component corresponding to the predetermined emission modulation frequency is filtered out of the detection signal of the light receiving element. The point is that a bandpass filter is provided.

【0011】[0011]

【作用】請求項1または請求項2に記載の発明によれ
ば、通常時には発光素子を短時間だけ発光させるため、
発光素子を発光させるために必要な消費電力を低減する
ことができる。また、所定の発光変調周波数のパルス波
に従って発光素子を複数回連続して発光させることによ
り、外乱光(何らかの外因によって発生し発光素子の投
射光の反射光に対して外乱として作用する光)を受光素
子が受光した場合と、発光素子の投射光の反射光を受光
素子が受光した場合とを区別することができる。従っ
て、外乱光が発生しても正確に物体を検出することが可
能になる。
According to the invention described in claim 1 or claim 2, since the light emitting element normally emits light for a short time,
It is possible to reduce the power consumption required for causing the light emitting element to emit light. Further, by causing the light emitting element to emit light a plurality of times in succession according to a pulse wave of a predetermined light emission modulation frequency, disturbance light (light generated by some external cause and acting as disturbance to the reflected light of the projection light of the light emitting element) is generated. It is possible to distinguish between the case where the light receiving element receives the light and the case where the light receiving element receives the reflected light of the projection light of the light emitting element. Therefore, it is possible to accurately detect the object even if the ambient light is generated.

【0012】請求項3に記載の発明によれば、受光素子
の検出信号から発光素子の発光変調周波数に対応する周
波数成分だけが濾波されるため、外乱光と発光素子の投
射光の反射光とを明確に区別することができる。
According to the third aspect of the invention, since only the frequency component corresponding to the emission modulation frequency of the light emitting element is filtered from the detection signal of the light receiving element, the disturbance light and the reflected light of the projection light of the light emitting element. Can be clearly distinguished.

【0013】[0013]

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

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

【0015】制御箱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. A user detection sensor 6 including a light emitting element 6a and a light receiving element 6b is provided on the surface plate 5a, and a controller 7 and a lithium battery 8 are provided in the control box 5.

【0016】尚、発光素子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.

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

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

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

【0020】マイコン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 and writable memory (RAM) that temporarily stores a result of a user detection operation described later,
It consists of an input / output interface, etc.

【0021】そして、マイコン22は、所定の検知タイ
ミング(例えば0.7秒間隔)毎に所定の変調周波数で
所定のデューティ(例えば50%)の発光指令信号Fを
生成し、発光駆動回路23へ出力する。ここで、発光指
令信号Fのパルス数は、通常時には1パルスであり、後
記するように、朝顔1の前に使用者が現れた時や外乱光
発生時には1パルス以上の適宜なパルス数(本実施例で
は8パルス)になる。また、発光指令信号Fの変調周波
数は、洗面所内に発生する外乱光の点灯周波数と合致し
ないように設定されている。例えば、洗面所の照明にイ
ンバータ蛍光灯が使用されている場合、インバータ蛍光
灯からの光が外乱光となり、その点灯周波数はある規定
範囲に設定されている。そこで、発光指令信号Fの変調
周波数を、そのインバータ蛍光灯の点灯周波数の規定範
囲とずらして設定すれば、外乱光の点灯周波数と合致し
なくなる。
Then, the microcomputer 22 generates a light emission command signal F with a predetermined duty (for example, 50%) at a predetermined modulation frequency at every predetermined detection timing (for example, 0.7 second intervals), and sends it to the light emission drive circuit 23. Output. Here, the pulse number of the light emission command signal F is normally one pulse, and as will be described later, when the user appears before the morning glory 1 or when disturbance light is generated, an appropriate pulse number (one or more pulses) (8 pulses in the embodiment). The modulation frequency of the light emission command signal F is set so as not to match the lighting frequency of the ambient light generated in the washroom. For example, when an inverter fluorescent lamp is used for illumination of a washroom, the light from the inverter fluorescent lamp becomes ambient light, and its lighting frequency is set to a certain specified range. Therefore, if the modulation frequency of the light emission command signal F is set so as to deviate from the specified range of the lighting frequency of the inverter fluorescent lamp, it will not match the lighting frequency of the ambient light.

【0022】発光駆動回路23は、マイコン22からの
発光指令信号Fに基づいて発光素子6aを発光させる。
すなわち、発光駆動回路23は、発光指令信号Fを1パ
ルス入力すると発光素子6aを1回だけ発光させ、8パ
ルス入力すると発光素子6aを8回連続して発光させ
る。
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 makes the light emitting element 6a emit light only once when the light emission command signal F is inputted for one pulse, and makes the light emitting element 6a emit light eight times continuously when inputted for eight pulses.

【0023】受光回路24は、増幅器25とバンドパス
フィルタ26と波形整形回路27とから構成されてい
る。増幅器25は受光素子6bの検出信号を増幅する。
バンドパスフィルタ26は、発光指令信号Fの変調周波
数を中心周波数とするバンドパスフィルタである。波形
整形回路27はバンドパスフィルタ26の出力信号を積
分した後に波形整形する。従って、受光素子6bが外乱
光を受光して検出信号を出力したとしても、その外乱光
の点灯周波数が発光指令信号Fの変調周波数と合致して
いるならば、受光素子6bの検出信号はバンドパスフィ
ルタ26によって遮られることになる。
The light receiving circuit 24 comprises an amplifier 25, a bandpass filter 26 and a waveform shaping circuit 27. The amplifier 25 amplifies the detection signal of the light receiving element 6b.
The bandpass filter 26 is a bandpass filter whose center frequency is the modulation frequency of the light emission command signal F. The waveform shaping circuit 27 integrates the output signal of the bandpass filter 26 and then shapes the waveform. Therefore, even if the light receiving element 6b receives the ambient light and outputs the detection signal, if the lighting frequency of the ambient light matches the modulation frequency of the light emission command signal F, the detection signal of the light receiving element 6b is in the band. It will be blocked by the pass filter 26.

【0024】マイコン22には2つの入力ポートP1,
P2が設けられている。増幅器25の出力信号は、入力
ポートP2へ直接出力されると共に、バンドパスフィル
タ26および波形整形回路27を介して入力ポートP1
へ出力される。
The microcomputer 22 has two input ports P1,
P2 is provided. The output signal of the amplifier 25 is directly output to the input port P2, and is also transmitted through the bandpass filter 26 and the waveform shaping circuit 27 to the input port P1.
Is output to.

【0025】次に、このように構成された本実施例にお
ける、朝顔1の前に使用者が立っているかどうかを検知
する動作(以下、使用者検知動作という)について図4
および図5に示すタイムチャートに従って説明する。
Next, the operation for detecting whether or not the user is standing in front of the morning glory 1 (hereinafter, referred to as a user detecting operation) in this embodiment having the above-mentioned configuration will be described with reference to FIG.
And it demonstrates according to the time chart shown in FIG.

【0026】図4には、外乱光が発生していない場合の
タイムチャートを示す。朝顔1の前に使用者が立ってい
ないとき、マイコン22は所定の検知タイミング毎に発
光指令信号Fを1パルスずつ出力する。それに伴って、
発光駆動回路23は発光素子6aを1回ずつ発光させ
る。このとき、朝顔1の前に使用者が立っていないため
発光素子6aからの投射光は反射せず、受光素子6bは
反射光を検出できないため検出信号を出力しない。従っ
て、マイコン22の各入力ポートP1,P2には信号が
入力されない。
FIG. 4 shows a time chart when no ambient light is generated. When the user is not standing in front of the morning glory 1, the microcomputer 22 outputs the light emission command signal F one pulse at a predetermined detection timing. Along with that,
The light emission drive circuit 23 makes the light emitting element 6a emit light once. At this time, since the user is not standing in front of the morning glory 1, the projection light from the light emitting element 6a is not reflected, and the light receiving element 6b cannot detect the reflected light, and thus does not output the detection signal. Therefore, no signal is input to the input ports P1 and P2 of the microcomputer 22.

【0027】朝顔1の前に使用者が現れたとき(図示
A)、発光指令信号Fが1パルス出力されると、発光素
子6aは1回だけ発光し、その投射光は使用者にあたっ
て反射する。すると、受光素子6bはその反射光を検出
して検出信号を出力する。その検出信号は増幅器25で
増幅されて入力ポートP2に入力される。一方、入力ポ
ートP1には信号が入力されない。なぜなら、発光素子
6aが1回しか発光しないため受光素子6bの検出信号
も1パルスになり、その1パルスの信号がバンドパスフ
ィルタ26および波形整形回路27を経由する過程で消
失してしまうためである。
When the user appears in front of the morning glory 1 (A in the figure), when one pulse of the light emission command signal F is output, the light emitting element 6a emits light only once, and the projected light is reflected by the user. . Then, the light receiving element 6b detects the reflected light and outputs a detection signal. The detection signal is amplified by the amplifier 25 and input to the input port P2. On the other hand, no signal is input to the input port P1. Because the light emitting element 6a emits light only once, the detection signal of the light receiving element 6b also becomes one pulse, and the signal of the one pulse disappears in the process of passing through the band pass filter 26 and the waveform shaping circuit 27. is there.

【0028】マイコン22は、入力ポートP2に信号が
入力されると、次の検知タイミングには発光指令信号F
を8パルス出力する(図示B)。すると、発光駆動回路
23は発光素子6aを8回連続して発光させる。その発
光素子6aの投射光は使用者にあたって反射し、受光素
子6bはその反射光を検出して検出信号を出力する。そ
の検出信号は増幅器25で増幅され、入力ポートP2へ
直接出力されると共に、バンドパスフィルタ26および
波形整形回路27を介して入力ポートP1へ出力され
る。このとき、発光素子6aは8回連続して発光するた
め受光素子6bの検出信号も8パルスになる。その8パ
ルスの信号は、バンドパスフィルタ26および波形整形
回路27を経由する過程で連続した信号となって入力ポ
ートP1へ出力される。
When a signal is input to the input port P2, the microcomputer 22 sends a light emission command signal F at the next detection timing.
8 pulses are output (B in the figure). Then, the light emission drive circuit 23 causes the light emitting element 6a to emit light continuously eight times. The projected light of the light emitting element 6a is reflected by the user, and the light receiving element 6b detects the reflected light and outputs a detection signal. The detection signal is amplified by the amplifier 25 and directly output to the input port P2, and also output to the input port P1 via the bandpass filter 26 and the waveform shaping circuit 27. At this time, since the light emitting element 6a continuously emits light eight times, the detection signal of the light receiving element 6b also has 8 pulses. The 8-pulse signal becomes a continuous signal in the process of passing through the bandpass filter 26 and the waveform shaping circuit 27, and is output to the input port P1.

【0029】マイコン22は、入力ポートP1に信号が
入力されないとき朝顔1の前に使用者が立っていないと
して「使用者非検知」と判定し、入力ポートP1に信号
が入力されると朝顔1の前に使用者が立っているとして
「使用者検知」と判定する。そして、マイコン22は、
その判定結果をRAMに記憶する。
The microcomputer 22 determines that the user is not standing in front of the morning glory 1 when no signal is input to the input port P1 and determines "no user detected", and when a signal is input to the input port P1 the morning glory 1 It is determined that the user is standing in front of the “user detected”. Then, the microcomputer 22
The judgment result is stored in the RAM.

【0030】マイコン22は、入力ポートP1に信号が
入力されると、次の検知タイミングには発光指令信号F
を8パルス出力する。従って、朝顔1の前に使用者が立
っていれば、上記の動作が繰り返される。そして、朝顔
1の前から使用者が立ち去った直後の検知タイミングに
も、マイコン22は発光指令信号Fを8パルス出力する
(図示C)。しかし、このときには、朝顔1の前に使用
者が立っていないため発光素子6aからの投射光は反射
せず、受光素子6bは反射光を検出できないため検出信
号を出力しない。従って、マイコン22の各入力ポート
P1,P2には信号が入力されない。そのため、マイコ
ン22は、朝顔1の前に使用者が立っていないとして
「使用者非検知」と判定し、その判定結果をRAMに記
憶する。
When a signal is input to the input port P1, the microcomputer 22 sends a light emission command signal F at the next detection timing.
8 pulses are output. Therefore, if the user is standing in front of the morning glory 1, the above operation is repeated. Then, the microcomputer 22 outputs eight pulses of the light emission command signal F even at the detection timing immediately before the morning glory 1 immediately after the user leaves (C in the figure). However, at this time, since the user is not standing in front of the morning glory 1, the projection light from the light emitting element 6a is not reflected, and the light receiving element 6b cannot detect the reflected light, and thus does not output the detection signal. Therefore, no signal is input to the input ports P1 and P2 of the microcomputer 22. Therefore, the microcomputer 22 determines that the user is not standing in front of the morning glory 1 and determines that "the user is not detected", and stores the determination result in the RAM.

【0031】図5には、外乱光が発生した場合のタイム
チャートを示す。ある検知タイミングのときに外乱光が
発生すると(図示D)、受光素子6bはその外乱光を検
出し、発光素子6aの投射光の反射光の場合と同様に検
出信号を出力する。その検出信号は増幅器25で増幅さ
れて入力ポートP2に入力される。一方、入力ポートP
1には信号が入力されない。なぜなら、発光指令信号F
の変調周波数は外乱光の点灯周波数と合致しないように
設定されているため、外乱光による受光素子6bの検出
信号はバンドパスフィルタ26によって遮られ、波形整
形回路27からは信号が出力されないからである。
FIG. 5 shows a time chart when ambient light is generated. When ambient light is generated at a certain detection timing (D in the figure), the light receiving element 6b detects the ambient light and outputs a detection signal as in the case of the reflected light of the projection light of the light emitting element 6a. The detection signal is amplified by the amplifier 25 and input to the input port P2. On the other hand, input port P
No signal is input to 1. Because the light emission command signal F
Since the modulation frequency of is not set to match the lighting frequency of the ambient light, the detection signal of the light receiving element 6b due to the ambient light is blocked by the bandpass filter 26 and no signal is output from the waveform shaping circuit 27. is there.

【0032】マイコン22は、入力ポートP2に信号が
入力されると、次の検知タイミングには発光指令信号F
を8パルス出力する(図示E)。すると、発光駆動回路
23は発光素子6aを8回連続して発光させる。このと
き、朝顔1の前に使用者が立っていなければ、発光素子
6aの投射光は反射しない。そのため、このときに外乱
光が発生していても、受光素子6bは外乱光を検出する
だけで発光素子6aの投射光の反射光は検出せず、図示
Dの場合と同様に、入力ポートP1には信号が入力され
ない。
When a signal is input to the input port P2, the microcomputer 22 sends a light emission command signal F at the next detection timing.
8 pulses are output (E in the figure). Then, the light emission drive circuit 23 causes the light emitting element 6a to emit light continuously eight times. At this time, if the user is not standing in front of the morning glory 1, the projected light of the light emitting element 6a is not reflected. Therefore, even if the ambient light is generated at this time, the light receiving element 6b only detects the ambient light and does not detect the reflected light of the projection light of the light emitting element 6a, and the input port P1 is the same as in the case of D in the figure. No signal is input to.

【0033】入力ポートP1に信号が入力されないと
き、マイコン22は「使用者非検知」と判定する。その
ため、このような外乱光発生時にも、マイコン22が誤
って「使用者検知」と判定することはない。
When no signal is input to the input port P1, the microcomputer 22 determines that "user not detected". Therefore, even when such ambient light is generated, the microcomputer 22 does not erroneously determine "user detection".

【0034】このように、本実施例によれば、外乱光が
発生しても、その影響を受けることなく、朝顔1の使用
者を正確に検知することができる。また、本実施例にお
いては、マイコン22の入力ポートP2に信号が入力さ
れないとき(通常時)には、検知タイミング毎に、1パ
ルスの発光指令信号Fに従って発光素子6aを1回だけ
発光させる。そして、マイコン22の入力ポートP2に
信号が入力されたとき(朝顔1の前に使用者が現れた時
または外乱光発生時)には、次の検知タイミングに、変
調がかけられた8パルスの発光指令信号Fに従って発光
素子6aを8回連続して発光させる。
As described above, according to this embodiment, even if the ambient light is generated, the user of the morning glory 1 can be accurately detected without being affected by the ambient light. Further, in this embodiment, when no signal is input to the input port P2 of the microcomputer 22 (normal time), the light emitting element 6a is caused to emit light only once in accordance with the emission command signal F of one pulse at each detection timing. When a signal is input to the input port P2 of the microcomputer 22 (when the user appears before the morning glory 1 or when ambient light is generated), 8 pulses of modulated pulse are applied at the next detection timing. The light emitting element 6a is caused to emit light eight times in succession in accordance with the light emission command signal F.

【0035】従って、通常時にはコントローラ7の消費
電力を少なくすることができる。ところで、駅の公衆便
所などの頻繁に利用される洗面所においても、一日24
時間のうちで朝顔1が使用されている時間は2時間以下
であるのが普通である。そのため、通常時の消費電力が
少なくなればリチウム電池8の消耗は大幅に抑えられ
る。その結果、リチウム電池8の電池寿命が長くなり電
池交換の手間が少なくなる。
Therefore, the power consumption of the controller 7 can be reduced during normal operation. By the way, even in frequently used washrooms such as public toilets at stations, 24 hours a day
Of the time, the morning glory 1 is usually used for 2 hours or less. Therefore, if the power consumption during normal operation is reduced, the consumption of the lithium battery 8 can be greatly suppressed. As a result, the battery life of the lithium battery 8 is lengthened, and the labor for battery replacement is reduced.

【0036】ところで、マイコン22は上記の使用者検
知動作を所定の検知タイミングで行っている。そして、
「使用者非検知」という判定結果の次に「使用者検知」
という判定結果がでた場合、マイコン22は朝顔1の前
洗浄処理を行う。すなわち、マイコン22は、弁駆動回
路21を制御することにより電磁開閉弁4を一定時間だ
け開かせて水供給管3から朝顔1へ一定量の洗浄水を供
給させ、朝顔1を洗浄する。これにより、使用者は快適
に小用を足すことができる上に朝顔1は汚れ難くなる。
By the way, the microcomputer 22 performs the above-mentioned user detection operation at a predetermined detection timing. And
Next to the judgment result of "user not detected", "user detected"
If the determination result is that the microcomputer 22 performs the pre-washing process for the morning glory 1. 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 user can comfortably add small amounts and the morning glory 1 is less likely to get dirty.

【0037】続いて、「使用者検知」という判定結果の
次に「使用者非検知」という判定結果がでた場合、マイ
コン22は小用を足し終えた使用者が朝顔1の前から立
ち去ったと判定し、朝顔1の後洗浄処理を行う。すなわ
ち、マイコン22は、弁駆動回路21を制御することに
より電磁開閉弁4を一定時間だけ開かせて水供給管3か
ら朝顔1へ一定量の洗浄水を供給させ、使用者の小用に
よって汚れた朝顔1を洗浄する。
Subsequently, when the judgment result of "user detection" is followed by the judgment result of "user non-detection", the microcomputer 22 indicates that the user, who has finished adding small amounts, leaves from the front of the morning glory 1. After the judgment, the morning glory 1 is subjected to the post-cleaning process. That is, 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 cleaning water from the water supply pipe 3 to the morning glory 1 and to clean it by the user's small use. Washed morning glory 1

【0038】このように本実施例の朝顔1の自動洗浄装
置においては、小用を足そうとする使用者が朝顔1の前
に立つと朝顔1を洗浄し(前洗浄処理)、小用を足し終
えた使用者が朝顔1の前から立ち去ると再度朝顔1を洗
浄(後洗浄処理)するようになっている。そのため、朝
顔1をいつでも清潔に保つことができる。
As described above, in the automatic washing device for morning glory 1 according to the present embodiment, when the user who wants to take a small dose stands in front of the morning glory 1, the morning glory 1 is washed (pre-cleaning process), and the small amount is washed. When the user who has finished adding leaves the front of the morning glory 1 again, the morning glory 1 is washed again (post-cleaning processing). Therefore, the morning glory 1 can be kept clean at any time.

【0039】尚、上記実施例は以下のように変更しても
よい。 1)上記実施例では入力ポートP1に信号が1回入力さ
れただけで「使用者検知」と判定したが、入力ポートP
1に信号が所定の回数(例えば2〜3回)連続して入力
された時点で「使用者検知」と判定する。
The above embodiment may be modified as follows. 1) In the above-mentioned embodiment, it is judged that the user is detected only by inputting the signal to the input port P1 once.
When the signal 1 is continuously input a predetermined number of times (for example, 2 to 3 times), it is determined as "user detection".

【0040】2)通常時にも、検知タイミング毎に、変
調がかけられた複数パルスの発光指令信号Fに従って発
光素子6aを複数回(上記実施例では8回以下、例えば
2〜3回)連続して発光させる。
2) Even in the normal state, the light emitting element 6a is continuously operated a plurality of times (8 times or less in the above embodiment, for example, 2 to 3 times) in accordance with the modulated light emission command signal F of a plurality of pulses at each detection timing. Light up.

【0041】3)増幅器25とマイコン22の入力ポー
トP2との間にも、波形整形回路を設ける。 4)「使用者非検知」という判定結果の次に「使用者検
知」という判定結果が複数回(例えば2回)連続した場
合に前洗浄処理を行う。また、「使用者検知」という判
定結果の次に「使用者非検知」という判定結果が複数回
(例えば2回)連続した場合に後洗浄処理を行う。この
場合は、朝顔1の前を単に人が横切ったり、小用中に使
用者の体が揺れたりしても、より確実に使用者検知動作
を行うことができ、前洗浄処理や後洗浄処理を誤って行
うことがなくなる。
3) A waveform shaping circuit is also provided between the amplifier 25 and the input port P2 of the microcomputer 22. 4) The pre-cleaning process is performed when the determination result of “user detection” is repeated a plurality of times (for example, twice) after the determination result of “user non-detection”. In addition, the post-cleaning process is performed when the determination result of "user non-detection" follows the determination result of "user detection" a plurality of times (for example, twice). In this case, even if a person simply crosses the front of the morning glory 1 or if the user's body shakes during small use, the user detection operation can be performed more reliably, and the pre-cleaning process and the post-cleaning process can be performed. It will not be done by mistake.

【0042】5)リチウム電池8を直流電源装置に置き
代え、商用電源から電源を供給する。 6)定電圧回路20を省く。
5) Replace the lithium battery 8 with a DC power supply and supply power from a commercial power supply. 6) The constant voltage circuit 20 is omitted.

【0043】7)弁駆動回路21へも、定電圧回路20
におって安定化された直流電圧を供給する。 8)赤外光ではなく可視光または紫外光を利用する。す
なわち、発光素子6aから赤外光ではなく可視光または
紫外光を投射させ、受光素子6bにその投射光を受光さ
せて検出信号を出力させる。
7) The constant voltage circuit 20 is also connected to the valve drive circuit 21.
A stabilized DC voltage is supplied. 8) Use visible light or ultraviolet light instead of infrared light. That is, visible light or ultraviolet light is projected from the light emitting element 6a instead of infrared light, and the light receiving element 6b receives the projected light to output a detection signal.

【0044】9)朝顔1だけでなく、洗面台等の各種の
衛生器具における自動洗浄装置に具体化する。 10)衛生器具における自動洗浄装置だけでなく、自動
ドア、FA機器等の他の物体検出装置に具体化する。
9) It 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. 10) Not only the automatic cleaning device for sanitary equipment but also other object detection devices such as automatic doors and FA devices.

【0045】[0045]

【発明の効果】以上詳述したように本発明によれば、何
らかの原因による外乱光が発生しても正確に物体を検出
することが可能で且つ低消費電力な物体検出装置を提供
することができるという優れた効果がある。
As described above in detail, according to the present invention, it is possible to provide an object detecting device which can detect an object accurately even if ambient light is generated for some reason and which consumes less power. It has an excellent effect that it can be done.

【図面の簡単な説明】[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】一実施例の動作を説明するためのタイムチャー
トである。
FIG. 4 is a time chart for explaining the operation of the embodiment.

【図5】一実施例の動作を説明するためのタイムチャー
トである。
FIG. 5 is a time chart for explaining the operation of the embodiment.

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

6a…発光素子、6b…受光素子、22…パルス波発生
手段および受光検知手段としてのマイクロコンピュー
タ、23…パルス波発生手段としての発光駆動回路、2
4…受光検知手段としての受光回路、27…バンドパス
フィルタ
6a ... Light emitting element, 6b ... Light receiving element, 22 ... Microcomputer as pulse wave generating means and light receiving detecting means, 23 ... Light emission drive circuit as pulse wave generating means, 2
4 ... Light receiving circuit as light receiving detecting means, 27 ... Band pass filter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定の検知タイミングで定期的に発光素
子(6a)から光を投射し、その投射光が物体にあたっ
て反射した反射光を受光素子(6b)によって検出する
ことにより物体を検知する物体検出装置において、 通常時には発光素子を短時間発光させ、そのときに受光
素子が受光したなら、次の検知タイミングには、所定の
発光変調周波数のパルス波に従って発光素子を複数回連
続して発光させることを特徴とする物体検出装置。
1. An object for detecting an object by periodically projecting light from a light emitting element (6a) at a predetermined detection timing, and detecting reflected light reflected by the projected light upon the object by a light receiving element (6b). In the detection device, the light emitting element normally emits light for a short time, and if the light receiving element receives light at that time, at the next detection timing, the light emitting element continuously emits light a plurality of times in accordance with a pulse wave of a predetermined emission modulation frequency. An object detection device characterized by the above.
【請求項2】 所定の検知タイミングで定期的に発光素
子(6a)から光を投射し、その投射光が物体にあたっ
て反射した反射光を受光素子(6b)によって検出する
ことにより物体を検知する物体検出装置において、 所定の発光変調周波数のパルス波を生成するパルス波生
成手段(22,23)と、 受光素子の受光の有無を検知する受光検知手段(24,
22)と、 通常時には発光素子を短時間発光させ、受光検知手段に
より受光素子の受光が検知されたなら、次の検知タイミ
ングには、パルス波生成手段からのパルス波に従って発
光素子を複数回連続して発光させる制御手段(22)と
を設けたことを特徴とする物体検出装置。
2. An object which detects an object by periodically projecting light from a light emitting element (6a) at a predetermined detection timing and detecting reflected light reflected by the projected light upon the object by a light receiving element (6b). In the detection device, pulse wave generation means (22, 23) for generating a pulse wave of a predetermined emission modulation frequency, and light reception detection means (24, 23) for detecting the presence or absence of light reception by the light receiving element
22), the light emitting element normally emits light for a short time, and if the light receiving element detects that the light receiving element has received light, the light emitting element is continuously operated a plurality of times in accordance with the pulse wave from the pulse wave generating means at the next detection timing. And a control means (22) for emitting light to provide an object detection device.
【請求項3】 請求項1または請求項2に記載の物体検
出装置において、受光素子の検出信号の内、前記所定の
発光変調周波数に対応する周波数成分だけを濾波するバ
ンドパスフィルタ(26)を備えたことを特徴とする物
体検出装置。
3. The object detection device according to claim 1, further comprising a bandpass filter (26) for filtering only a frequency component corresponding to the predetermined emission modulation frequency in the detection signal of the light receiving element. An object detection device characterized by being provided.
JP1555894A 1994-02-09 1994-02-09 Object detection apparatus Pending JPH07225282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1555894A JPH07225282A (en) 1994-02-09 1994-02-09 Object detection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1555894A JPH07225282A (en) 1994-02-09 1994-02-09 Object detection apparatus

Publications (1)

Publication Number Publication Date
JPH07225282A true JPH07225282A (en) 1995-08-22

Family

ID=11892099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1555894A Pending JPH07225282A (en) 1994-02-09 1994-02-09 Object detection apparatus

Country Status (1)

Country Link
JP (1) JPH07225282A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505783A (en) * 2002-11-11 2006-02-16 キネティック リミテッド Proximity sensor
JP2007257558A (en) * 2006-03-27 2007-10-04 Laurel Seiki Kk Sensor for detecting paper sheet binding wrapper
CN100356195C (en) * 2004-12-08 2007-12-19 夏普株式会社 Light modulation type photointerrupter
JP2008298479A (en) * 2007-05-29 2008-12-11 Tokyo Electric Power Co Inc:The Snow sensor
JP2010160734A (en) * 2009-01-09 2010-07-22 Nec Computertechno Ltd Electric apparatus
JP2011208480A (en) * 2010-03-30 2011-10-20 Kyokko Denki Kk Object detecting device for automatic door

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505783A (en) * 2002-11-11 2006-02-16 キネティック リミテッド Proximity sensor
CN100356195C (en) * 2004-12-08 2007-12-19 夏普株式会社 Light modulation type photointerrupter
US7382511B2 (en) 2004-12-08 2008-06-03 Sharp Kabushiki Kaisha Light modulation type photointerrupter
JP2007257558A (en) * 2006-03-27 2007-10-04 Laurel Seiki Kk Sensor for detecting paper sheet binding wrapper
JP2008298479A (en) * 2007-05-29 2008-12-11 Tokyo Electric Power Co Inc:The Snow sensor
JP2010160734A (en) * 2009-01-09 2010-07-22 Nec Computertechno Ltd Electric apparatus
JP2011208480A (en) * 2010-03-30 2011-10-20 Kyokko Denki Kk Object detecting device for automatic door

Similar Documents

Publication Publication Date Title
EP0410001A1 (en) Feed water controller
JPH07225282A (en) Object detection apparatus
JP2866774B2 (en) Object detection device
JPH0755953A (en) Detecting device of object
JP3021253B2 (en) Object detection device
JPH0714394U (en) Object detection device
JP2986662B2 (en) Object detection device
JP2587229Y2 (en) Object detection device
JP2952115B2 (en) Object detection device
JP2588879Y2 (en) Object detection device
JP2654307B2 (en) Automatic cleaning control device for sanitary appliances
JPH07294662A (en) Object-detecting apparatus, and automatic washing device for sanitary fixture
JP2815274B2 (en) Object detection device
JP2905016B2 (en) Object detection device
JP2654303B2 (en) Automatic cleaning control device for various sanitary appliances
JPH0741483U (en) Object detection device
JPH08128087A (en) Automatic feedwater device
JP2002048877A (en) Body detecting device
JPH06173311A (en) Automatic water feeder
JP2889445B2 (en) Object detection device
JP2654302B2 (en) Automatic cleaning control device for various sanitary appliances
JPH0729076U (en) Automatic cleaning device for sanitary equipment
KR950005082B1 (en) Feed water controller
JPH0587587U (en) Object detection device
KR200323035Y1 (en) sterilization apparatus of clean room