JP2004264166A - Human body detection device - Google Patents

Human body detection device Download PDF

Info

Publication number
JP2004264166A
JP2004264166A JP2003055147A JP2003055147A JP2004264166A JP 2004264166 A JP2004264166 A JP 2004264166A JP 2003055147 A JP2003055147 A JP 2003055147A JP 2003055147 A JP2003055147 A JP 2003055147A JP 2004264166 A JP2004264166 A JP 2004264166A
Authority
JP
Japan
Prior art keywords
level
human body
reference level
signal level
urinal
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
JP2003055147A
Other languages
Japanese (ja)
Inventor
Tetsuya Kawakami
哲也 川上
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.)
Toto Ltd
Original Assignee
Toto 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 Toto Ltd filed Critical Toto Ltd
Priority to JP2003055147A priority Critical patent/JP2004264166A/en
Publication of JP2004264166A publication Critical patent/JP2004264166A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Domestic Plumbing Installations (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Sanitary Device For Flush Toilet (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect accurately existence of the human body, even when a door or the like exists in front of or near a sensor and the door state is different, concerning an automatic washing device of a urinal or a toilet bowl. <P>SOLUTION: This human body detection device is equipped with a water supply pipe for supplying washing water to the urinal, a solenoid valve disposed in the middle of the water supply pipe, for discharging or stopping the washing water, a human body sensor constituted of a floodlight part for floodlighting an infrared ray, a light receiving part for receiving reflected light returning after being hit on a reflecting object, an amplification part for amplifying a signal received by the light receiving part, and an operation part for operating a reflection signal level from a signal outputted from the amplification part in exact timing when the floodlight part floodlights the infrared ray, for detecting whether the urinal is used by a human or not, and with a controller for controlling the solenoid valve and the human body sensor. The human body detection device is constituted so that, when the change state is continued as long as a fixed time in the reflection signal level, the light-receiving level is set as a standard level of the state of absence of the human body. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、自動水栓や小便器あるいは大便器の自動洗浄装置のように人体を検出して自動作動する装置で用いられる人体検出装置に係り、特に人体が無い状態の基準レベルを自動的に設定する人体検出装置に関する。
【0002】
【従来の技術】
従来この種の人体検出装置では、アクティブセンサからの反射信号レベルのデータを周期的にサンプリングし、最新のデータを含む連続してサンプリングされた複数個のデータから分散値を演算し、分散値が一定値より小さければその平均値を人体の無い状態を表す基準レベルとして定め、その基準レベルと最新の反射信号レベル等との比較結果に基づいて、人体の有無を判断するように構成されたものが知られている(例えば、特許文献1参照。)。
【0003】
【特許文献1】
特開平7−233548号公報(第4−7頁、第7図)
【0004】
【発明が解決しようとする課題】
しかしながら従来の人体検出装置では、小便器や大便器の自動洗浄装置に利用しようとした場合、センサの正面もしくは近くに扉があるときは、その扉が開いているか、閉まっているか、あるいは半開き状態にあるのかにより、人が居ないときのセンサからの反射信号のレベルが大きく異なってしまう。また大便器の自動洗浄装置では便座や便蓋が必ず近くにあるため、その便座や便蓋が開いているか、閉まっているかによって、人が居ないときのセンサからの反射信号レベルが非常に大きく異なってしまう。
【0005】
そのため反射信号レベルの低い状態を人体無しの基準レベルとして記憶した場合に、例えば小便器の向かい側の大便器ブースを人が使用し扉が閉まる度に、小便器自動洗浄装置に設けられた人体検出装置のセンサの反射信号レベルが高くなり人体有りと誤検出し自動洗浄を行ったり、あるいは大便器使用後に便蓋を閉じずに使用者が立ち去った場合に大便器自動洗浄装置に設けられた人体検出装置のセンサ反射信号レベルが、人体無しの基準レベルまで下がらないため、人がいなくなったことがわからず、人が立ち去ったにもかかわらず自動洗浄を行わないという問題があった。
【0006】
本発明は、上記課題を解決するためになされたもので、本発明の目的は、人体無しの基準レベルを複数設けることにより、人体の有無を確実に検出できる人体検出装置を提供することにある。
【0007】
【課題を解決するための手段】
上記目的を達成するために第1の発明は、反射型の非接触アクティブセンサにより人体の有無を検出する人体検出装置において、前記アクティブセンサからの反射信号レベルのデータを周期的にサンプリングし、最新のデータを含む連続してサンプリングされた複数個のデータの変化量が所定値以下である状態が第一の所定時間以上継続した場合に、その反射信号のレベルを人体の無い状態を表す第一の基準レベルとして定める手段と、前記第一の基準レベルに対し前記反射信号レベルが所定値以上大きい場合に人体有りと判定する手段と、前記データの変化量が所定値以下である状態が、前記第一の所定時間より長く設定された第二の所定時間以上継続した場合に、その反射信号のレベルを人体の無い状態を表す第二の基準レベルとして定める手段と、前記第二の基準レベルの最大値を人体の無い状態を表す第三の基準レベルとして定める手段を備え、前記反射信号レベルが前記第三の基準レベルを超えない場合は人体無しと判断するようにしているので、例えば小便器自動洗浄装置で正面に大便器ブースが存在する場合に、過去に大便器ブースが使用され扉が閉じた状態のセンサの反射信号レベルを第三の基準レベルとして記憶しているため、現在の人体無しの基準レベルとして扉が開いている状態のセンサ反射信号レベルを記憶し、その状態で大便器を使用され扉を閉じられたとしても、人体無しと正確に判断し、人が使っていないにもかかわらず誤って洗浄してしまうことを防ぐことが可能となる。
【0008】
第2の発明は、前記第一の基準レベルが、前記第二の所定時間より長く定められた第三の所定時間以上継続して、前記第三の基準レベルよりも小さい場合に、前記第三の基準レベルを前記第一の基準レベルと同じ値とするようにしているので、例えばセンサの前に一時的に物を置かれ、通常人が使用した場合のセンサ反射信号レベルに相当するような大きいレベルを、非感知とするレベル(第三の基準レベル)として間違って記憶してしまったとしても、その物を取り去ることにより、非感知とするレベルを元のレベルに戻すことができるため、一旦間違って覚えてしまっても再度正常に使用することが可能となる。
【0009】
第3の発明は、前記反射信号レベルが第一の所定レベルより大きい場合に、前記第一および前記第二の基準レベルとしないようにしているので、通常の使用条件から考えて明らかに人がいるときのセンサ反射信号レベル、例えば外来ノイズにより一時的に異常なレベルとなった場合に、そのレベルを誤って人体無しの基準レベルとして記憶することなく、正確に人体の有無を検出することが可能となる。
【0010】
第4の発明は、前記反射信号レベルが前記第一の所定レベルより小さく定められた第二の所定レベルより小さい場合に、少なくとも前記第一の基準レベルを前記第二の所定レベルと同じ値とするようにしているので、例えば小便器の向かいの壁が遠い場合に、必要以上に人体無しの基準レベルが小さくなり、小便器から離れたところに人が立ったときに、誤って人体有りと判断することなく、正確に人体の有無を検出することが可能となる。
【0011】
第5の発明は、前記第一の基準レベルの初期値と同じ値を、前記第二の所定レベルとするようにしているので、通常の使用状態で考えられる中で、人体有りを検出する範囲を最も広くとることが可能となるため、より正確に人体有無を検出することが可能となる。
【0012】
第6の発明は、前記アクティブセンサからの反射信号レベルのデータをサンプリングする周期を変更する手段を備える人体検出装置において、前記サンプリング周期が所定時間より長い場合に、前記第一および前記第二の基準レベルは以前の値を維持するようにしているので、センサ反射信号のサンプリング周期が長く、実際には人が立っていて、人の動きによるセンサ反射信号レベルの変動があるにもかかわらず、変動がないと誤検出し、人体無しの基準レベルを誤って設定してしまうことなく、正確に人体の有無を検出することが可能となる。
【0013】
【発明の実施の形態】
以下に、本発明の実施の形態を添付図面により詳細に説明する。
【0014】
図1は、本発明の一実施形態に係わる小便器自動洗浄装置の構成図、図2は小便器自動洗浄装置の制御のフローチャート、図3は基準レベル設定処理サブルーチンのフローチャート、図4は人体有無判定処理サブルーチンのフローチャート、図5はセンサ反射信号のレベルと各制御値を表すタイムチャートである。
【0015】
図1に示すように、小便器自動洗浄装置は、小便器1と、小便器1に洗浄水を供給する給水管2と、給水管の途中に配設され洗浄水の吐水・止水を行う電磁弁3と、小便器1を人が使用しているかどうかを検出する人体センサ8と、人の使用の有無により電磁弁3の開閉を制御するコントローラ4より構成され、人体センサ8は赤外線を外部に向けて投光する投光部9と、人体や周囲の壁面等から反射された赤外線を受光する受光部10と、受光部が受信した信号を増幅する増幅部11と、投光部9が赤外線を投光するタイミングに合わせて増幅部11から出力された信号から反射信号レベルを演算する演算部12から構成され、コントローラ4は人体センサ8の演算部12から出力された信号により人体の有無を検出し便器洗浄を制御する制御部6と、電磁弁3の開閉を制御する洗浄水供給部7と、これらに電源を供給する電源部5から構成されている。
【0016】
以上の構成において図2に示すように、電源投入後まず基準レベルL1、L2、L3に初期値10をセットし(S1)、反射信号レベルの初期値を0とし(S2)、基準レベル判定用のタイマT1に3分、T2に10分をセットし(S3)、洗浄要求フラグをクリアする(S4)。つぎに反射信号レベルLを前回の反射信号レベルL0に代入し(S5)、センサ8の投光部9から赤外線を投光し(S6)、反射光を受光部10で受光、増幅部11および演算部12で増幅、演算された受光量を受光レベルLに代入する(S7)。そして後述する基準レベル設定処理(S8)、人体有無判定処理のサブルーチンを実行し(S9)、その結果人体無しであった場合(S10)、人が前を通ったり、ノイズにより一時的に人体有りを検出した場合に間違って便器を洗浄しないためのオンディレータイマーTに5秒をセットし(S11)、次に洗浄要求フラグがセットされているか否かをチェックするが(S14)、電源投入直後などのようにしばらくの間人体検知がなかった場合は洗浄要求フラグが0であるので、次に便器洗浄タイマーTopenが0であるかをチェックし(S15)、0であれば電磁弁3を閉し(S16)、ふたたび反射信号レベルLを前回の反射信号レベルL0に代入する処理(S5)に戻り、これらの動作が繰り返される。
【0017】
つぎに、人体有無判定処理で人体有りと判定された場合(S9、S10)、オンディレータイマーT=0かをチェックし(S12)、オンディレー時間5秒が経過するまでの間は何も処理をせずに便器洗浄タイマーTopenをチェックし(S15)電磁弁3を閉するが(S16)、オンディレー時間5秒が経過しオンディレータイマーT=0となった場合(S12)、洗浄要求フラグをセットし(S13)同様の処理により電磁弁3を閉する(S15、S16)。その状態で人体無しが検出されると(S10)、オンディレータイマーTに5秒をセットし(S11)、洗浄要求フラグをチェックすると1であるため(S14)、便器洗浄タイマーTopenに洗浄時間10秒をセットし(S17)、洗浄要求フラグをクリアし(S18)、電磁弁3を開し便器洗浄を行う(S19)。そして反射信号レベルLを前回の反射信号レベルL0に代入する処理(S5)に戻り、これらの動作が繰り返され洗浄要求フラグをチェックすると0になっているので(S14)、便器洗浄タイマーTopenが0か否かをチェックし(S15)、0でなければ電磁弁3には何もせずに今の開状態を継続し、便器洗浄タイマーTopenが0となったら電磁面3を閉する(S16)。以上の処理を繰り返すことにより小便器自動洗浄装置が制御される。
【0018】
次に基準レベル設定処理サブルーチン(S8)について図3を用いて説明する。まず、今回の反射信号レベルLと前回の反射信号レベルL0との差が1以下でなければ(S101)、人かもしくは何か動くものがある可能性があるため基準レベルの設定は行わず、基準レベル設定タイマーT1に3分、T2に10分を設定し(S102)この処理を終了しメインルーチンに復帰する。もし今回の反射信号レベルLと前回の反射信号レベルL0との差が1以下であれば(S101)動くものがセンサ8の前にない可能性が高いため、その状態がどのくらい継続しているかを基準レベル設定タイマーT1でチェックし(S103)、もし継続時間が3分以下であれば動くものがあるかないかをさらにチェックするため、何も処理をせずに終了する。そして今回の反射信号レベルと前回の反射信号レベルL0との差が1以下である状態が3分以上継続している場合(S103)、そのときの反射信号レベルLを人がいないときの状態の基準となるレベルL1に代入する(S104)。そして、 つぎに基準レベル設定タイマーT2をチェックするが(S105)、このときはまだT2は0となっていないため、これ以上何もせずにこの処理を終了する。
【0019】
そして今回と前回の反射信号レベルLとL0との差が1以下の状態が10分間継続し、基準レベル設定タイマーT2が0となった場合(S105)、このときの反射信号レベルLを人がいないときの状態を表す第二の基準レベルL2に代入する(S106)。そしてこの第二の基準設定レベルL2と第三の基準設定レベルL3とを比較し(S107)、もし第二の基準レベルL2の方が大きければ何も行わないが、第二の基準レベルL2より第三の基準レベルL3の方が小さければ、このときの第二の基準レベルL2を第三の基準レベルL3に代入する(S108)ことにより、電源投入からこれまでの期間における第二の基準レベルL2の最大値を第三の基準レベルL3として記憶することができる。
【0020】
以上の基準レベル設定処理サブルーチンにより設定された人のいないときの基準レベルを基にして、人体の有無を判定する処理について図4を用いて説明する。まず、今回の反射信号レベルLが第一の基準レベルL1より10以上大きいか否かをチェックし(S201)、もし小さければ人体無しと判定する(S204)。もし今回の反射信号レベルLが第一の基準レベルL1に10を加えた値以上であれば(S201)、つぎに今回の反射信号レベルLと第三の基準レベルL3とを比較し(S202)、もし今回の反射信号レベルLが第三の基準レベルL3より大きければ人体有りと判定するが(S203)、もし今回の反射信号レベルLが第三の基準レベルL3以下であれば人体無しと判定する(S204)。
【0021】
以上の説明に従って制御された場合図5に示すように、初め反射信号レベルが10であるとすると、その値が第一、第二、第三の基準レベルとなり、人体有りとなるレベルはその値に10を加えた20となっている。その状態で例えばセンサ8の向かいにある大便器ブースの扉が閉まり反射信号レベルが30になったとすると、その時点で人体有りが検出される。しかしながら、3分後に第一の基準レベルL1が30となり、人体有りとなるレベルが40に変化し、反射信号レベル30は人体無しのレベルとなるため、小便器から人が立ち去ったとして便器洗浄が行われる。さらにその状態が継続し10分経過すると、第二の基準レベルL2および第三の基準レベルL3も30に変化する。そして大便器ブースから人が立ち去り扉が開すると、反射信号レベルは再び10に下がり、3分後には第一の基準レベルL1は10まで下がるが、人体有りとなるレベルは第三の基準レベルと同じ30となる。
【0022】
次にこの状態で小便器を人が使用し反射信号レベルが60程度まで上昇すると人体有りを検出するが、このときの反射信号レベルは人の身体の揺れにより一定していないため、第一の基準レベルとして記憶されることはなく、人が小便器の前から立ち去ると反射信号レベルが再び10まで下がるため人体無しが検出され便器洗浄が行われる。その後だれも使用しない状態が10分以上継続するとこれまで30であった第二の基準レベルL2は10まで低下するが、第三の基準レベルは30のままであり、人体有りとなるレベルも継続して30のままとなる。
【0023】
そしてこのような状態の時に再びセンサ8正面の大便器ブースの扉が閉じられ、反射信号レベルが30まで上昇したとしても、第三の基準レベルL3の30を超えることはないため、小便器の前に人がいないことを正しく検出することが可能となり、誤って便器洗浄を行ってしまうことがなくなる。
【0024】
次に基準レベル設定処理に関する別の実施形態について図6を用いて説明する。まず今回の反射信号レベルLが60以上かどうかをチェックし(S101)、60以上であれば通常あり得る対壁のレベルに対して明らかに大きな反射信号レベルであるため、小便器の前に人が立っているか、一時的に物が置かれたりしていると考え、基準レベル設定タイマーT1に3分、T2に10分を設定し(S103)、基準レベルを更新しないようにする。もし60未満であれば対壁である可能性があるため、今回の反射信号レベルLと前回の反射信号レベルL0とを比較し(S102)、その差が2以上であれば小便器の前に人が立っている等、反射物が動いている可能性が高いため、基準レベルを更新しないように基準レベル設定タイマーT1、T2にそれぞれ3分、10分を設定する(S103)。そして今回の反射信号レベルLと前回の反射信号レベルL0との差が1以下である場合、小便器の前に動く物がない可能性があるため、その状態がどのくらい継続しているかを基準レベル設定タイマーT1でチェックし(S104)、もし継続時間が3分以下であれば動くものがあるかないかをさらにチェックするため、何も処理をせずに次のステップ(S112)に進む。。もし今回の反射信号レベルと前回の反射信号レベルL0との差が1以下である状態が3分以上継続している場合(S104)、更に今回の反射信号レベルLが10未満であるかどうかをチェックし(S105)、もし10未満であれば小便器から対壁までの距離が遠く、その反射信号レベルLをそのまま人がいないときの基準レベルL1として設定すると、例えば小便器の向かいにある手洗い器の前に人が立ったりした場合に、小便器の前に人が立っていると勘違いする危険性があるため、基準レベルL1として強制的に10を設定し(S107)、もし今回の反射信号レベルが10以上であれば(S105)そのときの反射信号レベルLを人がいないときの状態の基準となるレベルL1に代入する(S106)。そして、つぎに基準レベル設定タイマーT2をチェックするが(S108)、このときはまだT2は0となっていないため、これ以上何もせずに次のステップ(S112)に進む。
【0025】
そして今回と前回の反射信号レベルLとL0との差が1以下の状態が10分間継続し、基準レベル設定タイマーT2が0となった場合(S108)、このときの反射信号レベルLを人がいないときの状態を表す第二の基準レベルL2に代入する(S109)。そしてこの第二の基準設定レベルL2と第三の基準設定レベルL3とを比較し(S110)、もし第二の基準レベルL2の方が大きければ何も行わないが、第二の基準レベルL2より第三の基準レベルL3の方が小さければ、このときの第二の基準レベルL2を第三の基準レベルL3に代入する(S111)ことにより、電源投入からこれまでの期間における第二の基準レベルL2の最大値を第三の基準レベルL3として記憶することができる。
【0026】
次に第一の基準レベルL1と第三の基準レベルL3とを比較し(S112)、第三の基準レベルL3の方が小さければ、第三の基準レベルをクリアするための基準レベル設定タイマT3に24時間をセットし(S113)、この処理を終了する。もし第三の基準レベルL3より第一の基準レベルの方が小さければ、基準レベル設定タイマT3をチェックし(S114)、この状態が24時間継続していなければそのままこの処理を終了するが、もしこの状態が24時間以上継続し基準レベル設定タイマT3が0となっていれば(S114)、これまで覚えていた第三の基準レベルは一時的に小便器の前に物を置かれたりしたときに覚えてしまった間違ったレベルであると考え、このときの第一の基準レベルL1を強制的に第三の基準レベルL3に代入し(S115)、この処理を終了する。
【0027】
以上の説明に従って制御された場合の各基準レベルの推移を図7、図8、図9を用いて説明する。まず図7に示すように、初め反射信号レベルが10であるとすると、その値が第一、第二、第三の基準レベルとなり、人体有りとなるレベルはその値に10を加えた20となっている。その状態で例えば小便器1の向かいにある大便器ブースの前に清掃中や工事中といった立て札が置かれ反射信号レベルが40になったとすると、その時点で人体有りが検出される。しかしながら、3分後に第一の基準レベルL1が40となり、人体有りとなるレベルが50に変化し、反射信号レベル40は人体無しのレベルとなるため、小便器から人が立ち去ったとして便器洗浄が行われる。さらにその状態が継続し10分経過すると、第二の基準レベルL2および第三の基準レベルL3も40に変化する。そしてその大便ブースの前から立て札が取り除かれると、反射信号レベルは再び10に下がり、3分後には第一の基準レベルL1は10まで下がるが、人体有りとなるレベルは第三の基準レベルと同じ40となる。
【0028】
この第一の基準レベルL1が10、第三の基準レベルL3が40の状態がずっと継続し24時間経過すると、第三の基準レベルL3が第一の基準レベルと同じ10に更新され、人体有りとなるレベルは再び20に戻ることとなり、この状態で反射率の低い洋服を着た人や子供が小便器を使用し反射信号レベルが35〜40程度までしか上昇しなかった場合でも、人体有りとなるレベル20よりも高いため、人体有りを正しく検出するため、小便器を使用して立ち去った後便器洗浄が行われる。
【0029】
次に図8に示すように、初め反射信号レベルが10であるとすると、その値が第一、第二、第三の基準レベルとなり、人体有りとなるレベルはその値に10を加えた20となっている。その状態で例えば小便器1の向かいにある大便器ブースの扉が閉まり反射信号レベルが30になったとすると、その時点で人体有りが検出される。しかしながら、3分後に第一の基準レベルL1が30となり、人体有りとなるレベルが40に変化し、反射信号レベル30は人体無しのレベルとなるため、小便器から人が立ち去ったとして便器洗浄が行われる。さらにその状態が継続し10分経過すると、第二の基準レベルL2および第三の基準レベルL3も30に変化する。そして大便器ブースから人が立ち去り扉が開すると、反射信号レベルは再び10に下がり、3分後には第一の基準レベルL1は10まで下がるが、人体有りとなるレベルは第三の基準レベルと同じ30となる。
【0030】
次にこの状態で小便器の前に清掃中や工事中といった立て札が置かれ反射信号レベルが60程度まで上昇すると人体有りを検出するが、このときの反射信号レベルは通常対壁としてあり得るレベルより明らかに大きいため、3分経過後も第一の基準レベルとして記憶されることはなく、また10分経過後も第二の基準レベルとして記憶されることはなく、人体有りを検出したままとなる。そしてその立て札が取り除かれると反射信号レベルが再び10まで下がるため、人体無しが検出され便器洗浄が行われる。その直後に後に小便器を人が使用し反射信号レベルが60程度まで上昇した場合、直前の立て札を置かれた反射信号レベルの高い状態を基準レベルとして記憶していないため、第一の基準レベルと第二の基準レベルは10、第三の基準レベルは30、人体有りとなるレベルも30のままであるため、正しく人体有りを検出し、人が小便器の前から立ち去ると反射信号レベルが再び10まで下がり人体無しが検出され便器洗浄が行われる。
【0031】
次に図9に示すように、当初第一、第二、第三の基準レベルは初期値の10であるが、初め反射信号レベルが5であるとすると、3分経過した後もその値は第一の基準レベルL1として設定されることはなく、第一の基準レベルL1は初期値の10のままとなる。そして10分経過した時点で第二の基準レベルL2のみが5に更新され、第三の基準レベルは第二の基準レベルの最大値である10のままとなり、結果として人体有りとなるレベルは20のままとなる。その状態で例えば小便器1の向かいにある手洗い器の前に人が立ち、反射信号レベルが15〜20ぐらいになったとしても、人体有りとなるレベルを超えないため小便器を人が使用したと誤検出することがないため、手洗い器を使い終わって人が立ち去って反射信号レベルが再び5まで低下しても、便器洗浄を行うことはない。そして実際に小便器を人が使用し反射信号レベルが50ぐらいになった場合には、人体有りを正しく検出し、その人が立ち去った後便器洗浄が行われる。
【0032】
次にセンサ8の投光部9の投光周期が、その時の状態によって自動的に変更される場合の制御について、図10の小便器自動洗浄装置の制御のフローチャート、図11の投光周期変更処理サブルーチンのフローチャート、図12の基準レベル設定処理サブルーチンのフローチャート、図13のセンサ反射信号のレベルと各制御値を表すタイムチャートにより説明する。
【0033】
まず図10に示すように、電源投入後まず基準レベルL1、L2、L3に初期値10をセットし(S1)、反射信号レベルの初期値を0とし(S2)、基準レベル判定用のタイマT1に3分、T2に10分をセットし(S3)、洗浄要求フラグをクリアする(S4)。つぎに反射信号レベルLを前回の反射信号レベルL0に代入し(S5)、後述する投光周期変更処理のサブルーチンを実行した後(S6)、センサ8の投光部9から赤外線を投光し(S7)、反射光を受光部10で受光、増幅部11および演算部12で増幅、演算された受光量を受光レベルLに代入する(S8)。そして後述する基準レベル設定処理(S9)、および図4の人体有無判定処理のサブルーチンを実行し(S10)、その結果人体無しであった場合(S11)、人が前を通ったり、ノイズにより一時的に人体有りを検出した場合に間違って便器を洗浄しないためのオンディレータイマーTに5秒をセットし(S12)、次に洗浄要求フラグがセットされているか否かをチェックするが(S15)、電源投入直後などのようにしばらくの間人体検知がなかった場合は洗浄要求フラグが0であるので、次に便器洗浄タイマーTopenが0であるかをチェックし(S16)、0であれば電磁弁3を閉し(S17)、ふたたび反射信号レベルLを前回の反射信号レベルL0に代入する処理(S5)に戻り、これらの動作が繰り返される。
【0034】
つぎに、人体有無判定処理で人体有りと判定された場合(S10、S11)、オンディレータイマーT=0かをチェックし(S13)、オンディレー時間5秒が経過するまでの間は何も処理をせずに便器洗浄タイマーTopenをチェックし(S16)電磁弁3を閉するが(S17)、オンディレー時間5秒が経過しオンディレータイマーT=0となった場合(S13)、洗浄要求フラグをセットし(S14)同様の処理により電磁弁3を閉する(S16、S17)。その状態で人体無しが検出されると(S11)、オンディレータイマーTに5秒をセットし(S12)、洗浄要求フラグをチェックすると1であるため(S15)、便器洗浄タイマーTopenに洗浄時間10秒をセットし(S18)、洗浄要求フラグをクリアし(S19)、電磁弁3を開し便器洗浄を行う(S20)。そして反射信号レベルLを前回の反射信号レベルL0に代入する処理(S5)に戻り、これらの動作が繰り返され洗浄要求フラグをチェックすると0になっているので(S15)、便器洗浄タイマーTopenが0か否かをチェックし(S16)、0でなければ電磁弁3には何もせずに今の開状態を継続し、便器洗浄タイマーTopenが0となったら電磁面3を閉する(S17)。以上の処理を繰り返すことにより小便器自動洗浄装置が制御される。
【0035】
次に投光周期変更処理のサブルーチンについて図11を用いて説明する。まず前回のセンサ投光により人体有りが検出されたか無しが検出されたかをチェックし(S301)、人体有りであった場合センサ8の投光周期設定タイマーTsen1に1秒をセットし(S302)、次に一番遅い投光周期に切り替えるための投光周期切替タイマーTsen2に1時間をセットする(S303)。そしてこのときは投光周期が一番早く正確に基準レベルを学習することが可能であるため、学習禁止フラグをクリアした後(S306)、投光周期設定タイマーTsen1をチェックしながら時間待ちを行い(S309)、1秒経過したらこの処理を終了しメインの制御ルーチンに戻りセンサ投光を行う。
【0036】
もし前回のセンサ投光により人体無しが検出されていた場合(S301)、投光周期切替タイマーTsen2により人体無しの状態が1時間継続したか否かをチェックし(S304)、1時間未満であれば投光周期設定タイマーTsen1に2秒を設定する(S305)。このときも投光周期は十分に早く正確に基準レベルを学習することが可能であるため、学習禁止フラグをクリアした後(S306)、投光周期設定タイマーTsen1をチェックしながら時間待ちを行い(S309)、2秒経過後この処理を終了しメインの制御ルーチンに戻りセンサ投光を行う。もし投光周期切替タイマーTsen2をチェックし(S304)人体無しが検出された状態が1時間以上継続していれば、投光周期設定タイマーTsen1に6秒を設定するが(S307)、この投光周期では反射物が動くものであるか動かない物であるかを正確に区別できないため、基準レベルを学習しないよう学習禁止フラグをセットする(S308)。その後投光周期設定タイマーをチェックしながら時間待ちを行い(S309)、6秒経過後この処理を終了しメインの制御ルーチンに戻りセンサ投光を行う。
【0037】
次に基準レベル設定処理のサブルーチンについて図12を用いて説明する。まず前述した投光周期変更処理の中で設定された学習禁止フラグが1であるか否かをチェックし(S101)、もし1であれば投光周期が遅く正確に基準レベルを設定できないため、基準レベル設定タイマーT1に3分、T2に10分をセットし(S104)、次のステップ(S113)に進む。もし学習禁止フラグが0であれば投光周期としては基準レベルの設定が可能な程度に早いため、次に今回の反射信号レベルLが60以上かどうかをチェックし(S102)、60以上であれば通常あり得る対壁のレベルに対して明らかに大きな反射信号レベルであるため、小便器の前に人が立っているか、一時的に物が置かれたりしていると考え、基準レベル設定タイマーT1に3分、T2に10分を設定し(S104)、基準レベルを更新しないようにする。もし60未満であれば対壁である可能性があるため、今回の反射信号レベルLと前回の反射信号レベルL0とを比較し(S103)、その差が2以上であれば小便器の前に人が立っている等、反射物が動いている可能性が高いため、基準レベルを更新しないように基準レベル設定タイマーT1、T2にそれぞれ3分、10分を設定する(S104)。そして今回の反射信号レベルLと前回の反射信号レベルL0との差が1以下である場合、小便器の前に動く物がない可能性があるため、その状態がどのくらい継続しているかを基準レベル設定タイマーT1でチェックし(S105)、もし継続時間が3分以下であれば動くものがあるかないかをさらにチェックするため、何も処理をせずに次のステップ(S113)に進む。もし今回の反射信号レベルと前回の反射信号レベルL0との差が1以下である状態が3分以上継続している場合(S105)、更に今回の反射信号レベルLが10未満であるかどうかをチェックし(S106)、もし10未満であれば小便器から対壁までの距離が遠く、その反射信号レベルLをそのまま人がいないときの基準レベルL1として設定すると、例えば小便器の向かいにある手洗い器の前に人が立ったりした場合に、小便器の前に人が立っていると勘違いする危険性があるため、基準レベルL1として強制的に10を設定し(S108)、もし今回の反射信号レベルが10以上であれば(S106)そのときの反射信号レベルLを人がいないときの状態の基準となるレベルL1に代入する(S107)。そして、つぎに基準レベル設定タイマーT2をチェックするが(S109)、このときはまだT2は0となっていないため、これ以上何もせずに次のステップ(S113)に進む。
【0038】
そして今回と前回の反射信号レベルLとL0との差が1以下の状態が10分間継続し、基準レベル設定タイマーT2が0となった場合(S109)、このときの反射信号レベルLを人がいないときの状態を表す第二の基準レベルL2に代入する(S110)。そしてこの第二の基準設定レベルL2と第三の基準設定レベルL3とを比較し(S111)、もし第二の基準レベルL2の方が大きければ何も行わないが、第二の基準レベルL2より第三の基準レベルL3の方が小さければ、このときの第二の基準レベルL2を第三の基準レベルL3に代入する(S112)ことにより、電源投入からこれまでの期間における第二の基準レベルL2の最大値を第三の基準レベルL3として記憶することができる。
【0039】
次に第一の基準レベルL1と第三の基準レベルL3とを比較し(S113)、第三の基準レベルL3の方が小さければ、第三の基準レベルをクリアするための基準レベル設定タイマT3に24時間をセットし(S114)、この処理を終了する。もし第三の基準レベルL3より第一の基準レベルの方が小さければ、基準レベル設定タイマT3をチェックし(S115)、この状態が24時間継続していなければそのままこの処理を終了するが、もしこの状態が24時間以上継続し基準レベル設定タイマT3が0となっていれば(S115)、これまで覚えていた第三の基準レベルは一時的に小便器の前に物を置かれたりしたときに覚えてしまった間違ったレベルであると考え、このときの第一の基準レベルL1を強制的に第三の基準レベルL3に代入し(S116)、この処理を終了する。
【0040】
以上の説明に従って制御された場合の各基準レベルの推移を図13により説明する。まず人体無しであるためセンサ8の投光周期は2秒であり、このときの反射信号レベルが10で、そしてこれまでの動作により第一の基準レベルは10、第二の基準レベルも10、第三の基準レベルは30、人体有りとなるレベルも30となっている。その状態で小便器が使用され反射信号レベルが50〜60になると、人体有りが検知されるため、センサ8の投光周期は1秒に切り替わるが、このときの反射信号レベルは人体の揺れにより変化しているため、基準レベルの更新は行われない。そして小便器を使い終わり人が立ち去り反射信号レベルが10に戻ると、人体無しとなり便器洗浄が行われると同時に、センサ8の投光周期が2秒に戻る。
【0041】
そして人体無しの状態が60分継続し、センサ8の投光周期が6秒に切り替わる。その状態で例えばセンサ8の向かいにある大便器ブースの扉が閉まり反射信号レベルが25になったとすると、第三の基準レベルと同じ値であるため人体有りとはならないが、さらに投光周期が6秒で学習禁止となっているため、反射信号レベルが30の状態が3分継続しても第一の基準レベルは10のままであり、またその状態が10分以上継続しても第二の基準レベルも10のままである。
【0042】
この状態で小便器が使用され反射信号レベルが50〜55になると、人体有りが検知されるため、センサ8の投光周期は1秒に切り替わる。そして小便器を使い終わり人が立ち去り反射信号レベルが10に戻ると、人体無しとなり便器洗浄が行われると同時に、センサ8の投光周期が2秒に戻る。そしてこの投光周期になった状態で再度センサ8の向かいにある大便器ブースの扉が閉まり反射信号レベルが25になったとすると、今度は投光周期が2秒で学習禁止となっていないため、3分後に第一の基準レベルL1が25となり、同時に人体有りとなるレベルは35に変化する。さらにその状態が継続し10分経過すると、第二の基準レベルL2も25に変化する。そして大便器ブースから人が立ち去り扉が開すると、反射信号レベルは再び10に下がり、3分後には第一の基準レベルL1は10まで下がるため、人体有りとなるレベルは第三の基準レベルと同じ30となる。
【0043】
本実施例では複数個のデータの変化量が所定値以下であることを検出するため、今回の反射信号レベルのと前回の反射信号レベルとの差をチェックしたが、この他にも例えば、連続した8回の反射信号レベルの最大値と最小値を除いた6個の反射信号レベルがある範囲内(例えば3以内)になっているかといった方法でチェックしたり、あるいは連続した8回の反射信号レベルの分散や標準偏差といった統計量がある値(例えば5以下)になっているかといった方法でチェックすることも可能である。
【0044】
【発明の効果】
本発明は上記構成により次の効果を発揮する。
【0045】
人体がない状態の基準レベルを自動的に設定する人体検出装置において、人体無しの基準レベルを複数設けることにより、小便器自動洗浄装置の正面に大便器ブースが存在する場合に、過去に大便器ブースが使用され扉が閉じた状態のセンサの反射信号レベルを第三の基準レベルとして記憶し、この第三の基準レベルより大きい場合のみ人体有りとするようにしているため、現在の人体無しの基準レベルとして扉が開いている状態のセンサ反射信号レベルを記憶し、その状態で大便器を使用され扉を閉じられたとしても、人体無しと正確に判断し、人が使っていないにもかかわらず誤って洗浄してしまうことを防ぐことが可能となる。
【0046】
またセンサの前に一時的に物を置かれ、通常人が使用した場合のセンサ反射信号レベルに相当するような大きいレベルを、非感知とするレベル(第三の基準レベル)として間違って記憶してしまったとしても、その物を取り去ることにより、非感知とするレベルを元のレベルに戻すことができるため、一旦間違って覚えてしまっても再度正常に使用することが可能となる。
【0047】
さらに通常の使用条件から考えて明らかに人がいないときのセンサ反射信号レベル、例えば外来ノイズにより一時的に異常なレベルとなった場合に、そのレベルを誤って人体無しの基準レベルとして記憶することなく、正確に人体の有無を検出することが可能となる。
【0048】
また小便器の向かいの壁が遠い場合に、必要以上に人体無しの基準レベルが小さくなり、小便器から離れたところに人が立ったときに、誤って人体有りと判断することなく、正確に人体の有無を検出することが可能となる。
【0049】
また通常の使用状態で考えられる中で、人体有りを検出する範囲を最も広くとることが可能となるため、より正確に人体有無を検出することが可能となる。
【0050】
そして、センサ反射信号のサンプリング周期が長く、実際には人が立っていて、人の動きによるセンサ反射信号レベルの変動があるにもかかわらず、変動がないと誤検出し、人体無しの基準レベルを誤って設定してしまうことなく、正確に人体の有無を検出することが可能となる。
【図面の簡単な説明】
【図1】本発明における小便器自動洗浄装置の構成図。
【図2】本発明における小便器自動洗浄装置の制御のフローチャート。
【図3】本発明における基準レベル設定処理サブルーチンのフローチャート。
【図4】本発明における人体有無判定処理サブルーチンのフローチャート。
【図5】本発明におけるセンサ反射信号のレベルと各制御値を表すタイムチャート。
【図6】本発明における基準レベル設定処理サブルーチンのフローチャート。
【図7】本発明におけるセンサ反射信号のレベルと各制御値を表すタイムチャート。
【図8】本発明におけるセンサ反射信号のレベルと各制御値を表すタイムチャート。
【図9】本発明におけるセンサ反射信号のレベルと各制御値を表すタイムチャート。
【図10】本発明における小便器自動洗浄装置の制御のフローチャート。
【図11】本発明における基準レベル設定処理サブルーチンのフローチャート。
【図12】本発明における人体有無判定処理サブルーチンのフローチャート。
【図13】本発明におけるセンサ反射信号のレベルと各制御値を表すタイムチャート。
【符号の説明】
1…小便器
2…給水管
3…電磁弁
4…コントローラ
5…電源部
6…制御部
7…洗浄水供給部
8…センサ
9…投光部
10…受光部
11…増幅部
12…演算部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a human body detection device used in a device that detects and automatically operates a human body such as an automatic faucet, an automatic urinal or an automatic flushing device for a urinal, and in particular, automatically determines a reference level when no human body is present. The present invention relates to a human body detection device to be set.
[0002]
[Prior art]
Conventionally, this type of human body detection device periodically samples data of the reflection signal level from the active sensor, calculates a variance value from a plurality of continuously sampled data including the latest data, and calculates the variance value. If the average value is smaller than a certain value, the average value is determined as a reference level indicating the absence of a human body, and the presence or absence of a human body is determined based on a comparison result between the reference level and the latest reflected signal level. Is known (for example, refer to Patent Document 1).
[0003]
[Patent Document 1]
JP-A-7-233548 (page 4-7, FIG. 7)
[0004]
[Problems to be solved by the invention]
However, in the conventional human body detection device, when an attempt is made to use the automatic cleaning device for urinals and toilets, if there is a door in front of or near the sensor, the door is open, closed, or partially open. , The level of the reflected signal from the sensor when no one is present will differ greatly. In the automatic flushing device for toilets, the toilet seat and lid are always near, so the level of the reflected signal from the sensor when no one is present will be extremely large depending on whether the toilet seat or toilet lid is open or closed. Will be different.
[0005]
Therefore, when the state of the low reflection signal level is stored as the reference level without a human body, for example, every time a person uses the toilet bowl booth opposite the urinal and the door closes, the human body detection provided in the urinal automatic cleaning device The human body provided in the automatic toilet flushing device when the level of the reflected signal from the sensor of the device increases and falsely detects that a human body is present, and performs automatic cleaning, or when the user leaves without using the toilet lid after closing the toilet. Since the sensor reflection signal level of the detection device does not drop to the reference level without a human body, it is difficult to know that no one has left, and there is a problem that automatic cleaning is not performed even if a person has left.
[0006]
SUMMARY An advantage of some aspects of the invention is to provide a human body detection device that can reliably detect the presence or absence of a human body by providing a plurality of reference levels without a human body. .
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a first aspect of the present invention is a human body detecting device for detecting the presence or absence of a human body by a reflection type non-contact active sensor, wherein data of a reflection signal level from the active sensor is periodically sampled, If the state in which the amount of change in a plurality of continuously sampled data including the data of the data is equal to or less than a predetermined value continues for a first predetermined time or more, the level of the reflected signal is changed to a first value representing a state without a human body. Means for determining as a reference level, means for determining that there is a human body when the reflection signal level is greater than or equal to a predetermined value with respect to the first reference level, and a state in which the data change amount is equal to or less than a predetermined value, If the second predetermined time longer than the first predetermined time continues for a second predetermined time, the level of the reflected signal is defined as a second reference level representing a state without a human body. Means, and means for determining the maximum value of the second reference level as a third reference level representing a state without a human body, and when the reflected signal level does not exceed the third reference level, there is no human body For example, when the urinal booth exists in front of the urinal automatic cleaning device, the reflection signal level of the sensor in the past when the urinal booth was used and the door was closed is set as the third reference. Because it is stored as a level, the sensor reflection signal level with the door open is stored as the current reference level without a human body, and even if the toilet is used and the door is closed in that state, there is no human body It is possible to make an accurate determination and prevent erroneous cleaning even when not used by a person.
[0008]
The second invention is characterized in that, when the first reference level continues for a third predetermined time longer than the second predetermined time and is smaller than the third reference level, The reference level is set to the same value as the first reference level. For example, an object is temporarily placed in front of the sensor, and the reference level corresponds to the sensor reflection signal level when a normal person uses the sensor. Even if a large level is mistakenly stored as the level to be insensitive (third reference level), by removing the object, the level to be insensitive can be returned to the original level, Even if you remember it by mistake, you can use it again normally.
[0009]
According to the third invention, when the reflected signal level is larger than the first predetermined level, the reflected signal level is not set to the first and second reference levels. If the sensor reflected signal level when the sensor is temporarily abnormal due to extraneous noise, for example, it is possible to accurately detect the presence or absence of a human body without erroneously storing the level as a reference level without a human body. It becomes possible.
[0010]
In a fourth aspect, when the reflection signal level is smaller than a second predetermined level that is smaller than the first predetermined level, at least the first reference level is set to the same value as the second predetermined level. For example, when the wall opposite the urinal is far away, the reference level without a human body becomes smaller than necessary, and when a person stands away from the urinal, it is erroneously determined that there is a human body. It is possible to accurately detect the presence or absence of a human body without making a determination.
[0011]
In the fifth invention, the same value as the initial value of the first reference level is set as the second predetermined level. Therefore, the range in which the presence of a human body is detected in a normal use state is considered. Can be set as wide as possible, so that the presence or absence of a human body can be detected more accurately.
[0012]
A sixth invention is a human body detection device including means for changing a cycle for sampling data of a reflection signal level from the active sensor, wherein the first and second sections are provided when the sampling cycle is longer than a predetermined time. Since the reference level keeps the previous value, the sampling period of the sensor reflection signal is long, and although the person is actually standing and the sensor reflection signal level fluctuates due to the movement of the person, It is possible to accurately detect the presence or absence of a human body without erroneously detecting that there is no variation and erroneously setting a reference level without a human body.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0014]
1 is a configuration diagram of an urinal automatic cleaning device according to an embodiment of the present invention, FIG. 2 is a flowchart of control of the urinal automatic cleaning device, FIG. 3 is a flowchart of a reference level setting processing subroutine, and FIG. FIG. 5 is a time chart showing the level of the sensor reflection signal and each control value.
[0015]
As shown in FIG. 1, the urinal automatic cleaning device performs a urinal 1, a water supply pipe 2 that supplies cleaning water to the urinal 1, and a water discharge / stop water that is disposed in the middle of the water supply pipe. It comprises a solenoid valve 3, a human body sensor 8 for detecting whether or not the urinal 1 is used by a person, and a controller 4 for controlling the opening and closing of the solenoid valve 3 depending on whether or not a person is using the human body sensor 8. A light projecting unit 9 for projecting light to the outside, a light receiving unit 10 for receiving infrared light reflected from a human body or a surrounding wall, an amplifying unit 11 for amplifying a signal received by the light receiving unit, and a light projecting unit 9 Comprises an arithmetic unit 12 for calculating a reflection signal level from a signal output from the amplifying unit 11 in accordance with a timing of projecting infrared rays. The controller 4 uses the signal output from the arithmetic unit 12 of the human body sensor 8 to control the human body. Detects presence and controls toilet flushing A control unit 6, a cleaning water supply unit 7 for controlling the opening and closing of the electromagnetic valve 3, and a power supply unit 5 for supplying power thereto.
[0016]
In the above configuration, as shown in FIG. 2, after the power is turned on, first, an initial value 10 is set to the reference levels L1, L2, and L3 (S1), and the initial value of the reflection signal level is set to 0 (S2). The timer T1 is set to 3 minutes and T2 to 10 minutes (S3), and the cleaning request flag is cleared (S4). Next, the reflected signal level L is substituted for the previous reflected signal level L0 (S5), infrared rays are projected from the light projecting unit 9 of the sensor 8 (S6), the reflected light is received by the light receiving unit 10, and the amplifying unit 11 The light receiving amount amplified and calculated by the calculating unit 12 is substituted for the light receiving level L (S7). Then, a subroutine of a reference level setting process (S8), which will be described later, and a human body presence / absence determination process is executed (S9). Is detected, the on-delay timer T is set to 5 seconds to prevent the toilet from being washed by mistake (S11), and it is checked whether or not the washing request flag is set (S14). If the human body has not been detected for a while, for example, the flush request flag is 0, then it is checked whether the toilet flush timer Topen is 0 (S15), and if it is 0, the solenoid valve 3 is closed. Then (S16), the process returns to the process (S5) of substituting the reflected signal level L for the previous reflected signal level L0 again, and these operations are repeated.
[0017]
Next, when it is determined that the human body is present in the human body presence / absence determination processing (S9, S10), it is checked whether the on-delay timer T = 0 (S12), and no processing is performed until the on-delay time of 5 seconds elapses. The toilet cleaning timer Topen is checked without performing the operation (S15), and the solenoid valve 3 is closed (S16). If the on-delay time 5 seconds elapse and the on-delay timer T becomes 0 (S12), the flush request flag is set. Is set (S13), and the electromagnetic valve 3 is closed by the same processing (S15, S16). In this state, if no human body is detected (S10), the on-delay timer T is set to 5 seconds (S11), and if the cleaning request flag is checked, it is 1 (S14). Seconds are set (S17), the flush request flag is cleared (S18), and the solenoid valve 3 is opened to perform flushing of the toilet (S19). Then, the process returns to the process (S5) of substituting the reflection signal level L for the previous reflection signal level L0, and these operations are repeated. When the cleaning request flag is checked (S14), the toilet cleaning timer Topen is set to 0. It is checked whether or not it is (S15). If it is not 0, the electromagnetic valve 3 is not opened and the current open state is continued, and when the toilet flush timer Topen becomes 0, the electromagnetic surface 3 is closed (S16). The urinal automatic cleaning device is controlled by repeating the above processing.
[0018]
Next, the reference level setting subroutine (S8) will be described with reference to FIG. First, if the difference between the current reflection signal level L and the previous reflection signal level L0 is not less than 1 (S101), there is a possibility that there is a person or something moving, so the reference level is not set. The reference level setting timer T1 is set at 3 minutes and T2 is set at 10 minutes (S102), and this process is ended to return to the main routine. If the difference between the current reflected signal level L and the previous reflected signal level L0 is 1 or less (S101), there is a high possibility that there is no moving object in front of the sensor 8, so how long that state has continued. A check is made with the reference level setting timer T1 (S103). If the duration is 3 minutes or less, the process ends without performing any processing to further check whether there is any moving object. If the state in which the difference between the current reflection signal level and the previous reflection signal level L0 is 1 or less has continued for 3 minutes or more (S103), the reflection signal level L at that time is set to the state when no person is present. The value is substituted into the reference level L1 (S104). Then, the reference level setting timer T2 is checked (S105). At this time, since T2 has not become zero yet, the process is terminated without any further processing.
[0019]
When the difference between the current and previous reflected signal levels L and L0 is 1 or less for 10 minutes and the reference level setting timer T2 becomes 0 (S105), the reflected signal level L at this time is set by a person. It is assigned to a second reference level L2 representing the state when there is not (S106). Then, the second reference level L2 is compared with the third reference level L3 (S107). If the second reference level L2 is higher, nothing is performed, but the second reference level L2 is higher than the second reference level L2. If the third reference level L3 is smaller, the second reference level L2 at this time is substituted for the third reference level L3 (S108), so that the second reference level in the period from when the power is turned on until this time is obtained. The maximum value of L2 can be stored as the third reference level L3.
[0020]
The process of determining the presence or absence of a human body based on the reference level when no person is set by the above-described reference level setting process subroutine will be described with reference to FIG. First, it is checked whether or not the current reflection signal level L is higher than the first reference level L1 by 10 or more (S201). If it is lower, it is determined that there is no human body (S204). If the current reflected signal level L is equal to or greater than the value obtained by adding 10 to the first reference level L1 (S201), the current reflected signal level L is compared with the third reference level L3 (S202). If the current reflected signal level L is higher than the third reference level L3, it is determined that there is a human body (S203), but if the current reflected signal level L is equal to or lower than the third reference level L3, it is determined that there is no human body. (S204).
[0021]
When the control is performed in accordance with the above description, as shown in FIG. 5, assuming that the reflection signal level is 10 at first, the values become the first, second, and third reference levels, and the level at which a human body is present is the value. It is 20 which added 10 to. In this state, for example, assuming that the door of the toilet booth opposite the sensor 8 is closed and the reflection signal level becomes 30, the presence of a human body is detected at that time. However, after three minutes, the first reference level L1 becomes 30, the level at which a human body is present changes to 40, and the reflected signal level 30 becomes a level without a human body. Done. When the state continues for 10 minutes, the second reference level L2 and the third reference level L3 also change to 30. Then, when a person leaves the toilet booth and the door opens, the reflected signal level drops to 10 again, and after three minutes, the first reference level L1 drops to 10, but the level at which a human body is present is the third reference level. It is the same 30.
[0022]
Next, in this state, when a person uses the urinal and the reflected signal level rises to about 60, the presence of a human body is detected. However, since the reflected signal level at this time is not constant due to shaking of the human body, the first It is not stored as a reference level, and when a person leaves from the front of the urinal, the reflected signal level drops again to 10, so that the absence of a human body is detected and toilet flushing is performed. If the state where no one is using continues for 10 minutes or more thereafter, the second reference level L2, which had been 30 before, drops to 10, but the third reference level remains 30 and the level where there is a human body also continues. And remains at 30.
[0023]
In such a state, even if the door of the urinal booth in front of the sensor 8 is closed again and the reflected signal level rises to 30, it does not exceed the third reference level L3 of 30. It is possible to correctly detect that there is no person in front, and it is possible to prevent the toilet from being washed by mistake.
[0024]
Next, another embodiment relating to the reference level setting process will be described with reference to FIG. First, it is checked whether or not the current reflected signal level L is 60 or more (S101). If the reflected signal level L is 60 or more, the reflected signal level is clearly larger than a normal level of the opposite wall, so that a person is placed in front of the urinal. Is set or the object is temporarily placed, and the reference level setting timer T1 is set to 3 minutes and T2 to 10 minutes (S103), so that the reference level is not updated. If it is less than 60, there is a possibility that the vehicle is facing the wall, so the current reflected signal level L is compared with the previous reflected signal level L0 (S102). Since there is a high possibility that the reflector is moving such as when a person is standing, the reference level setting timers T1 and T2 are set to 3 minutes and 10 minutes, respectively, so as not to update the reference level (S103). If the difference between the current reflection signal level L and the previous reflection signal level L0 is 1 or less, there is a possibility that there is no moving object in front of the urinal. A check is made with the setting timer T1 (S104). If the duration is 3 minutes or less, the process proceeds to the next step (S112) without performing any processing in order to further check whether there is any moving object. . If the state where the difference between the current reflection signal level and the previous reflection signal level L0 is 1 or less continues for 3 minutes or more (S104), it is further determined whether the current reflection signal level L is less than 10. Check (S105). If it is less than 10, the distance from the urinal to the opposite wall is long, and its reflected signal level L is set as it is as a reference level L1 when no person is present. When there is a person standing in front of the urinal, there is a risk of misunderstanding that a person is standing in front of the urinal. For this reason, 10 is forcibly set as the reference level L1 (S107). If the signal level is 10 or more (S105), the reflected signal level L at that time is substituted into a level L1 which is a reference for the state when no person is present (S106). Then, the reference level setting timer T2 is checked (S108). At this time, since T2 is not yet 0, the process proceeds to the next step (S112) without further processing.
[0025]
When the difference between the current reflected signal level L and the previous reflected signal level L0 is equal to or less than 1 for 10 minutes and the reference level setting timer T2 becomes 0 (S108), the reflected signal level L at this time is set by a person. It is assigned to a second reference level L2 representing the state when there is not (S109). Then, the second reference level L2 is compared with the third reference level L3 (S110). If the second reference level L2 is higher, nothing is performed, but the second reference level L2 is higher than the second reference level L2. If the third reference level L3 is smaller, the second reference level L2 at this time is substituted for the third reference level L3 (S111), so that the second reference level in the period from when the power is turned on until this time is obtained. The maximum value of L2 can be stored as the third reference level L3.
[0026]
Next, the first reference level L1 is compared with the third reference level L3 (S112). If the third reference level L3 is smaller, the reference level setting timer T3 for clearing the third reference level is used. Is set to 24 hours (S113), and this process ends. If the first reference level is smaller than the third reference level L3, the reference level setting timer T3 is checked (S114), and if this state has not been continued for 24 hours, this processing is terminated. If this state continues for 24 hours or more and the reference level setting timer T3 becomes 0 (S114), the third reference level that has been remembered until now is when a thing is temporarily placed in front of the urinal. The first reference level L1 at this time is forcibly assigned to the third reference level L3 (S115), and the process is terminated.
[0027]
The transition of each reference level when controlled according to the above description will be described with reference to FIGS. 7, 8, and 9. FIG. First, as shown in FIG. 7, when the reflection signal level is 10 at first, the values become the first, second, and third reference levels, and the level at which the human body is present is 20 obtained by adding 10 to the value. Has become. In this state, for example, if a standing sign such as during cleaning or construction is placed in front of the toilet booth opposite the urinal 1 and the reflected signal level becomes 40, the presence of a human body is detected at that time. However, after three minutes, the first reference level L1 becomes 40, the level at which a human body is present changes to 50, and the reflected signal level 40 becomes a level without a human body. Done. When this state continues for 10 minutes, the second reference level L2 and the third reference level L3 also change to 40. When the sign is removed from the front of the stool booth, the reflected signal level drops to 10 again, and after three minutes, the first reference level L1 drops to 10, but the level at which a human body is present is the third reference level. It becomes the same 40.
[0028]
When the first reference level L1 is 10 and the third reference level L3 is 40, and the state is kept for 24 hours, the third reference level L3 is updated to the same 10 as the first reference level, and there is a human body. Will return to 20 again. In this state, even if a person or child wearing clothes with low reflectivity uses the urinal and the reflected signal level rises only to about 35 to 40, there is a human body. Therefore, in order to correctly detect the presence of the human body, the toilet is washed after leaving the toilet using the urinal.
[0029]
Next, as shown in FIG. 8, assuming that the reflection signal level is 10 at first, the values become the first, second, and third reference levels, and the level at which the human body is present is obtained by adding 10 to the value. It has become. In this state, for example, if the door of the toilet bowl booth opposite to the urinal 1 is closed and the reflection signal level becomes 30, the presence of a human body is detected at that time. However, after three minutes, the first reference level L1 becomes 30, the level at which a human body is present changes to 40, and the reflected signal level 30 becomes a level without a human body. Done. When the state continues for 10 minutes, the second reference level L2 and the third reference level L3 also change to 30. Then, when a person leaves the toilet booth and the door opens, the reflected signal level drops to 10 again, and after three minutes, the first reference level L1 drops to 10, but the level at which a human body is present is the third reference level. It is the same as 30.
[0030]
Next, in this state, a sign is placed in front of the urinal, such as during cleaning or construction, and when the reflected signal level rises to about 60, the presence of a human body is detected. Because it is clearly larger, it will not be stored as the first reference level even after 3 minutes have passed, nor will it be stored as the second reference level after 10 minutes have passed, and the presence of a human body will remain detected. Become. When the tag is removed, the reflection signal level drops to 10 again, so that the absence of a human body is detected and the toilet bowl is cleaned. Immediately after that, when the urinal is used by a person later and the reflected signal level rises to about 60, the first reference level is not stored because the state of the high reflected signal level on which the immediately preceding tag is placed is not stored as the reference level. And the second reference level is 10, the third reference level is 30, and the level at which there is a human body remains at 30, so that the presence of a human body is correctly detected, and when a person leaves from in front of the urinal, the reflected signal level becomes It is lowered again to 10 and the absence of a human body is detected, and the toilet bowl is cleaned.
[0031]
Next, as shown in FIG. 9, the first, second, and third reference levels are initially set to the initial value of 10. However, if the reflected signal level is initially set to 5, the values remain even after 3 minutes have passed. It is not set as the first reference level L1, and the first reference level L1 remains at the initial value of 10. After 10 minutes, only the second reference level L2 is updated to 5, and the third reference level remains at 10 which is the maximum value of the second reference level. Will remain. In that state, for example, a person stands in front of the hand lavator opposite the urinal 1 and even if the reflected signal level becomes about 15 to 20, the person uses the urinal because it does not exceed the level at which there is a human body. Therefore, even if a person walks away after using the hand-washing machine and the reflected signal level drops to 5 again, the toilet is not washed. When the urinal is actually used by a person and the level of the reflected signal is about 50, the presence of a human body is correctly detected, and after the person has left, the toilet bowl is washed.
[0032]
Next, regarding the control in the case where the light emitting cycle of the light emitting unit 9 of the sensor 8 is automatically changed depending on the state at that time, a control flowchart of the urinal automatic cleaning device in FIG. 10 and the light emitting cycle change in FIG. A description will be given with reference to a flowchart of the processing subroutine, a flowchart of the reference level setting processing subroutine of FIG. 12, and a time chart showing the level of the sensor reflection signal and each control value of FIG.
[0033]
First, as shown in FIG. 10, after the power is turned on, first, an initial value 10 is set to the reference levels L1, L2, L3 (S1), the initial value of the reflected signal level is set to 0 (S2), and a timer T1 for determining the reference level is set. Is set to 3 minutes and T2 to 10 minutes (S3), and the cleaning request flag is cleared (S4). Next, the reflection signal level L is substituted for the previous reflection signal level L0 (S5), and after executing a subroutine of a light emission cycle changing process to be described later (S6), infrared light is emitted from the light emission unit 9 of the sensor 8. (S7) The reflected light is received by the light receiving unit 10, and the amount of received light amplified and calculated by the amplifying unit 11 and the calculating unit 12 is substituted for the received light level L (S8). Then, a subroutine of a reference level setting process (S9), which will be described later, and a human body presence / absence determination process of FIG. 4 is executed (S10). When the presence of a human body is detected, the on-delay timer T is set to 5 seconds to prevent the toilet from being washed by mistake (S12), and it is checked whether or not the washing request flag is set (S15). If the human body has not been detected for a while, such as immediately after the power is turned on, the flush request flag is 0, so it is checked whether the toilet flush timer Topen is 0 (S16). The valve 3 is closed (S17), and the process returns to the process (S5) of substituting the reflected signal level L for the previous reflected signal level L0 again, and these operations are repeated.
[0034]
Next, when it is determined in the human body presence / absence determination processing that there is a human body (S10, S11), it is checked whether the on-delay timer T = 0 (S13), and no processing is performed until the on-delay time 5 seconds elapses. The toilet flush timer Topen is checked without performing (S16), and the solenoid valve 3 is closed (S17). If the on-delay time 5 seconds elapse and the on-delay timer T becomes 0 (S13), the flush request flag is set. Is set (S14), and the electromagnetic valve 3 is closed by the same processing (S16, S17). If no human body is detected in this state (S11), the on-delay timer T is set to 5 seconds (S12), and if the flush request flag is checked, it is 1 (S15), and the flush time is set to 10 in the toilet flush timer Topen. Seconds are set (S18), the flush request flag is cleared (S19), and the solenoid valve 3 is opened to perform flushing of the toilet (S20). Then, the process returns to the process (S5) of substituting the reflection signal level L for the previous reflection signal level L0, and these operations are repeated. When the cleaning request flag is checked (S15), the toilet cleaning timer Topen is set to 0. It is checked whether or not it is (S16). If it is not 0, the solenoid valve 3 is not opened and the current open state is continued. When the toilet cleaning timer Topen becomes 0, the electromagnetic surface 3 is closed (S17). The urinal automatic cleaning device is controlled by repeating the above processing.
[0035]
Next, a subroutine of the light emitting cycle changing process will be described with reference to FIG. First, it is checked whether the presence of a human body is detected or not by the previous light emission of the sensor (S301). If the presence of a human body is detected, 1 second is set to the light emission cycle setting timer Tsen1 of the sensor 8 (S302). Next, one hour is set to a light emission cycle switching timer Tsen2 for switching to the slowest light emission cycle (S303). At this time, since the light emission cycle can learn the reference level quickly and accurately, after clearing the learning prohibition flag (S306), it waits for time while checking the light emission cycle setting timer Tsen1. (S309) When one second has elapsed, this processing ends, and the process returns to the main control routine to perform sensor light emission.
[0036]
If the absence of a human body has been detected by the previous sensor light emission (S301), it is checked by the light emission cycle switching timer Tsen2 whether or not the state of no human body has continued for one hour (S304). For example, 2 seconds are set in the light emission period setting timer Tsen1 (S305). At this time, since the light emission cycle can learn the reference level sufficiently quickly and accurately, after clearing the learning prohibition flag (S306), a time wait is performed while checking the light emission cycle setting timer Tsen1 ( S309) After a lapse of 2 seconds, the process is terminated, and the process returns to the main control routine to perform sensor light emission. If the light emission cycle switching timer Tsen2 is checked (S304), and if the absence of a human body is detected for one hour or more, the light emission cycle setting timer Tsen1 is set to 6 seconds (S307). In the cycle, it is not possible to accurately distinguish whether the reflection object is a moving object or a non-moving object. Therefore, a learning inhibition flag is set so that the reference level is not learned (S308). Thereafter, a time is waited while checking the light emission period setting timer (S309), and after 6 seconds, this processing is terminated, and the process returns to the main control routine to perform sensor light emission.
[0037]
Next, a subroutine of the reference level setting process will be described with reference to FIG. First, it is checked whether or not the learning prohibition flag set in the above-described light emission cycle changing process is 1 (S101). If it is 1, the light emission cycle is too slow to set the reference level accurately. The reference level setting timer T1 is set to 3 minutes and T2 to 10 minutes (S104), and the process proceeds to the next step (S113). If the learning prohibition flag is 0, the light emission cycle is so fast that the reference level can be set, and it is next checked whether or not the current reflected signal level L is 60 or more (S102). If the level of the reflected signal is clearly higher than the level of the normal wall, it is considered that a person is standing in front of the urinal or something is temporarily placed, and the reference level setting timer T1 is set to 3 minutes and T2 is set to 10 minutes (S104), so that the reference level is not updated. If it is less than 60, there is a possibility that the wall is the opposite wall, so the current reflected signal level L is compared with the previous reflected signal level L0 (S103). Since there is a high possibility that the reflector is moving, such as when a person is standing, the reference level setting timers T1 and T2 are set to 3 minutes and 10 minutes, respectively, so as not to update the reference level (S104). If the difference between the current reflection signal level L and the previous reflection signal level L0 is 1 or less, there is a possibility that there is no moving object in front of the urinal. A check is made with the setting timer T1 (S105). If the continuation time is 3 minutes or less, the process proceeds to the next step (S113) without performing any processing to further check whether there is any moving object. If the state where the difference between the current reflection signal level and the previous reflection signal level L0 is 1 or less has continued for 3 minutes or more (S105), it is further determined whether the current reflection signal level L is less than 10. Check (S106). If it is less than 10, the distance from the urinal to the opposite wall is long, and the reflected signal level L is set as it is as a reference level L1 when no person is present. When there is a person standing in front of the urinal, there is a risk that the person may be mistaken for standing in front of the urinal. For this reason, 10 is forcibly set as the reference level L1 (S108). If the signal level is 10 or more (S106), the reflected signal level L at that time is substituted into a level L1 which is a reference when no person is present (S107). Then, the reference level setting timer T2 is checked (S109). At this time, since T2 is not yet 0, the process proceeds to the next step (S113) without further processing.
[0038]
When the difference between the current reflected signal level L and the previous reflected signal level L0 is 1 or less for 10 minutes and the reference level setting timer T2 becomes 0 (S109), the reflected signal level L at this time is set by a person. It is assigned to a second reference level L2 representing the state when there is not (S110). Then, the second reference level L2 is compared with the third reference level L3 (S111). If the second reference level L2 is higher, nothing is performed. If the third reference level L3 is smaller, the second reference level L2 at this time is substituted for the third reference level L3 (S112), so that the second reference level in the period from when the power is turned on until this time is obtained. The maximum value of L2 can be stored as the third reference level L3.
[0039]
Next, the first reference level L1 is compared with the third reference level L3 (S113). If the third reference level L3 is smaller, the reference level setting timer T3 for clearing the third reference level is used. Is set to 24 hours (S114), and this process ends. If the first reference level is smaller than the third reference level L3, the reference level setting timer T3 is checked (S115), and if this state has not been continued for 24 hours, this processing is terminated. If this state continues for 24 hours or more and the reference level setting timer T3 is 0 (S115), the third reference level that has been remembered until now is when a thing is temporarily placed in front of the urinal. The first reference level L1 at this time is forcibly assigned to the third reference level L3 (S116), and the process is terminated.
[0040]
The transition of each reference level when controlled according to the above description will be described with reference to FIG. First, since there is no human body, the light emission cycle of the sensor 8 is 2 seconds, the reflected signal level at this time is 10, and the first reference level is 10, the second reference level is 10, The third reference level is 30, and the level with a human body is also 30. When the urinal is used in this state and the reflected signal level becomes 50 to 60, the presence of a human body is detected, and the light emission cycle of the sensor 8 is switched to 1 second. At this time, the reflected signal level is changed due to shaking of the human body. Since it has changed, the reference level is not updated. When the person leaves the urinal and the person leaves and the reflected signal level returns to 10, the human body becomes empty and the toilet flushing is performed, and at the same time, the light emission cycle of the sensor 8 returns to 2 seconds.
[0041]
Then, the state without a human body continues for 60 minutes, and the light emission cycle of the sensor 8 switches to 6 seconds. In this state, for example, if the door of the toilet booth opposite to the sensor 8 is closed and the reflection signal level becomes 25, the human body does not exist because the value is the same as the third reference level. Since learning is prohibited in 6 seconds, the first reference level remains at 10 even if the state where the reflected signal level is 30 continues for 3 minutes, and the second reference level remains even if the state continues for 10 minutes or more. Also remains at 10.
[0042]
When the urinal is used in this state and the reflected signal level becomes 50 to 55, the presence of a human body is detected, and the light emission cycle of the sensor 8 switches to 1 second. When the person leaves the urinal and the person leaves and the reflected signal level returns to 10, the human body becomes empty and the toilet flushing is performed, and at the same time, the light emission cycle of the sensor 8 returns to 2 seconds. If the door of the toilet booth opposite to the sensor 8 is closed again and the reflection signal level becomes 25 in the state of the light emission cycle, the light emission cycle is 2 seconds and learning is not prohibited. After 3 minutes, the first reference level L1 becomes 25, and at the same time, the level at which a human body is present changes to 35. When this state continues for 10 minutes, the second reference level L2 also changes to 25. When a person leaves the toilet booth and the door opens, the reflected signal level drops again to 10 and after 3 minutes the first reference level L1 drops to 10, so that the level at which a human body is present is the third reference level. It is the same 30.
[0043]
In the present embodiment, the difference between the current reflected signal level and the previous reflected signal level was checked to detect that the amount of change in the plurality of data is equal to or less than a predetermined value. It is checked whether the six reflected signal levels excluding the maximum value and the minimum value of the eight reflected signal levels are within a certain range (for example, within three), or eight consecutive reflected signal levels It is also possible to check by a method such as whether a statistic such as a level variance or a standard deviation is a certain value (for example, 5 or less).
[0044]
【The invention's effect】
The present invention has the following effects by the above configuration.
[0045]
In a human body detection device that automatically sets a reference level without a human body, by providing a plurality of reference levels without a human body, if a toilet bowl booth exists in front of the urinal automatic cleaning device, The booth is used and the reflected signal level of the sensor with the door closed is stored as the third reference level, and it is determined that there is a human body only when the level is higher than the third reference level. The sensor reflection signal level when the door is open is memorized as the reference level, and even if the toilet is used and the door is closed in that state, it is correctly determined that there is no human body, and even though the person is not using it, It is possible to prevent erroneous cleaning.
[0046]
In addition, an object is temporarily placed in front of the sensor, and a large level corresponding to the sensor reflected signal level when normally used by a person is erroneously stored as a non-sensing level (third reference level). Even if it is accidentally removed, the level to be undetected can be returned to the original level by removing the object, so that even if the user remembers it by mistake, it can be used again normally.
[0047]
In addition, when the sensor reflection signal level when there is no apparent person in consideration of normal use conditions, for example, when the level temporarily becomes abnormal due to external noise, the level is erroneously stored as a reference level without a human body. And the presence or absence of a human body can be accurately detected.
[0048]
Also, when the wall opposite the urinal is far away, the reference level without a human body becomes unnecessarily small, and when a person stands away from the urinal, it is accurately determined without erroneously determining that there is a human body. The presence or absence of a human body can be detected.
[0049]
In addition, since it is possible to maximize the range in which the presence of a human body can be detected in a normal use state, it is possible to more accurately detect the presence or absence of a human body.
[0050]
In addition, the sampling period of the sensor reflection signal is long, and although a person is actually standing, there is a change in the sensor reflection signal level due to the movement of the person, but it is erroneously detected that there is no change, and the reference level without the human body is detected. It is possible to accurately detect the presence or absence of a human body without setting erroneously.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an urinal automatic cleaning device according to the present invention.
FIG. 2 is a flowchart of control of the urinal automatic cleaning device according to the present invention.
FIG. 3 is a flowchart of a reference level setting processing subroutine according to the present invention.
FIG. 4 is a flowchart of a human body presence / absence determination processing subroutine according to the present invention.
FIG. 5 is a time chart showing a level of a sensor reflection signal and each control value in the present invention.
FIG. 6 is a flowchart of a reference level setting processing subroutine according to the present invention.
FIG. 7 is a time chart showing a level of a sensor reflection signal and each control value in the present invention.
FIG. 8 is a time chart showing the level of a sensor reflection signal and each control value in the present invention.
FIG. 9 is a time chart showing a level of a sensor reflection signal and each control value in the present invention.
FIG. 10 is a flowchart of control of the urinal automatic cleaning device according to the present invention.
FIG. 11 is a flowchart of a reference level setting processing subroutine according to the present invention.
FIG. 12 is a flowchart of a human body presence / absence determination processing subroutine according to the present invention.
FIG. 13 is a time chart showing a level of a sensor reflection signal and each control value in the present invention.
[Explanation of symbols]
1 ... urinal
2 ... water supply pipe
3. Solenoid valve
4: Controller
5. Power supply
6 ... Control unit
7. Cleaning water supply unit
8 ... Sensor
9 ... Light emitting unit
10 ... Light receiving part
11 ... Amplifying unit
12 arithmetic unit

Claims (6)

反射型の非接触アクティブセンサにより人体の有無を検出する人体検出装置において、前記アクティブセンサからの反射信号レベルのデータを周期的にサンプリングし、最新のデータを含む連続してサンプリングされた複数個のデータの変化量が所定値以下である状態が第一の所定時間以上継続した場合に、その反射信号のレベルを人体の無い状態を表す第一の基準レベルとして定める手段と、前記第一の基準レベルに対し前記反射信号レベルが所定値以上大きい場合に人体有りと判定する手段と、前記データの変化量が所定値以下である状態が、前記第一の所定時間より長く設定された第二の所定時間以上継続した場合に、その反射信号のレベルを人体の無い状態を表す第二の基準レベルとして定める手段と、前記第二の基準レベルの最大値を人体の無い状態を表す第三の基準レベルとして定める手段を備え、前記反射信号レベルが前記第三の基準レベルを超えない場合は人体無しと判断することを特徴とする人体検出装置。In a human body detection device that detects the presence or absence of a human body by a reflection-type non-contact active sensor, a plurality of continuously sampled data including the latest data are sampled periodically by sampling data of a reflection signal level from the active sensor. Means for determining the level of the reflected signal as a first reference level representing a state without a human body when the state in which the amount of change in data is equal to or less than a predetermined value continues for a first predetermined time or more, Means for determining that there is a human body when the reflection signal level is greater than a predetermined value with respect to the level, and a state in which the amount of change of the data is equal to or less than a predetermined value, wherein Means for determining the level of the reflected signal as a second reference level representing the absence of a human body when the level has continued for a predetermined time or more, Comprising means for determining as a third reference level representing the human body without condition, if the reflection signal level does not exceed the third reference level human body detection device, characterized in that it is determined that no human body. 前記第一の基準レベルが、前記第二の所定時間より長く定められた第三の所定時間以上継続して、前記第三の基準レベルよりも小さい場合に、前記第三の基準レベルを前記第一の基準レベルと同じ値とすることを特徴とする請求項1記載の人体検出装置。When the first reference level is longer than the third predetermined time set longer than the second predetermined time and is smaller than the third reference level, the third reference level is changed to the second reference time. 2. The human body detecting device according to claim 1, wherein the same value is set as one reference level. 前記反射信号レベルが第一の所定レベルより大きい場合に、前記第一および前記第二の基準レベルとしないことを特徴とする請求項1乃至2記載の人体検出装置。3. The human body detection device according to claim 1, wherein the first and second reference levels are not set when the reflection signal level is higher than a first predetermined level. 前記反射信号レベルが前記第一の所定レベルより小さく定められた第二の所定レベルより小さい場合に、少なくとも前記第一の基準レベルを前記第二の所定レベルと同じ値とすることを特徴とする請求項1乃至3記載の人体検出装置。When the reflection signal level is smaller than a second predetermined level which is smaller than the first predetermined level, at least the first reference level is set to the same value as the second predetermined level. The human body detection device according to claim 1. 前記第一の基準レベルの初期値と同じ値を、前記第二の所定レベルとすることを特徴とする請求項4記載の人体検出装置。The human body detection device according to claim 4, wherein the same value as an initial value of the first reference level is set as the second predetermined level. 前記アクティブセンサからの反射信号レベルのデータをサンプリングする周期を変更する手段を備える人体検出装置において、前記サンプリング周期が所定時間より長い場合に、前記第一および前記第二の基準レベルは以前の値を維持することを特徴とする請求項1乃至5記載の人体検出装置。In the human body detection device including a unit that changes a cycle of sampling data of a reflection signal level from the active sensor, when the sampling cycle is longer than a predetermined time, the first and second reference levels are set to previous values. 6. The human body detecting device according to claim 1, wherein
JP2003055147A 2003-03-03 2003-03-03 Human body detection device Pending JP2004264166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003055147A JP2004264166A (en) 2003-03-03 2003-03-03 Human body detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003055147A JP2004264166A (en) 2003-03-03 2003-03-03 Human body detection device

Publications (1)

Publication Number Publication Date
JP2004264166A true JP2004264166A (en) 2004-09-24

Family

ID=33119236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003055147A Pending JP2004264166A (en) 2003-03-03 2003-03-03 Human body detection device

Country Status (1)

Country Link
JP (1) JP2004264166A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103837906A (en) * 2014-03-13 2014-06-04 三和智控(北京)系统集成有限公司 Method for detecting whether people exist in room or not
CN107152067A (en) * 2017-06-16 2017-09-12 余雷 A kind of human body induction type toilet water feeding device
JP2019187602A (en) * 2018-04-20 2019-10-31 株式会社湯山製作所 Medication management device and medicament taking in/out detection method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103837906A (en) * 2014-03-13 2014-06-04 三和智控(北京)系统集成有限公司 Method for detecting whether people exist in room or not
CN107152067A (en) * 2017-06-16 2017-09-12 余雷 A kind of human body induction type toilet water feeding device
JP2019187602A (en) * 2018-04-20 2019-10-31 株式会社湯山製作所 Medication management device and medicament taking in/out detection method
JP7075586B2 (en) 2018-04-20 2022-05-26 株式会社湯山製作所 Medication management device and drug loading / unloading detection method

Similar Documents

Publication Publication Date Title
US5187816A (en) Automatic flushing device
CN101548054B (en) Programmable automatic flushometer
JP2009221795A (en) Water supply device
JP2004264166A (en) Human body detection device
KR100701286B1 (en) Toilet/Bidet Apparatus having automatic flushing/saving function and Method for controlling thereof
JP2005105681A (en) Human body detecting device and automatic faucet device mounted with this device
JP4406911B2 (en) Object detection device
JP2009102889A (en) Water supply device
JPH07225282A (en) Object detection apparatus
JPH1144760A (en) Human body detector
GB2392454A (en) Automatic urinal flushing system
JP2005195467A (en) Human body sensor
KR20110064929A (en) Washing system of urinal
JP2002048877A (en) Body detecting device
JP6218107B2 (en) Faucet device
JP2866774B2 (en) Object detection device
JP3456101B2 (en) Object detection device
JP2806009B2 (en) Automatic toilet cleaning device
JP2004116148A (en) Toilet bowl flushing device
JP2002054218A (en) Display device for urinal
KR200405763Y1 (en) Bidet Apparatus having automatic flushing and saving function
JP3759545B2 (en) Automatic faucet device
KR200379754Y1 (en) Water saving system for electronic urinal flush valve
JP3406721B2 (en) Sanitary fitting cleaning equipment
JP2952115B2 (en) Object detection device