JP2013142605A - Human body detecting device, human body detecting method and program - Google Patents

Human body detecting device, human body detecting method and program Download PDF

Info

Publication number
JP2013142605A
JP2013142605A JP2012002802A JP2012002802A JP2013142605A JP 2013142605 A JP2013142605 A JP 2013142605A JP 2012002802 A JP2012002802 A JP 2012002802A JP 2012002802 A JP2012002802 A JP 2012002802A JP 2013142605 A JP2013142605 A JP 2013142605A
Authority
JP
Japan
Prior art keywords
human body
sensor
sensors
value
output
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
JP2012002802A
Other languages
Japanese (ja)
Inventor
Makoto Matsumaru
誠 松丸
Kazutomo Watabe
一智 渡部
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.)
Pioneer Corp
Original Assignee
Pioneer Electronic Corp
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 Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP2012002802A priority Critical patent/JP2013142605A/en
Publication of JP2013142605A publication Critical patent/JP2013142605A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a human body detecting device, a human body detecting method and a program that can appropriately determine the presence or absence of any human body without being affected by a change in background temperature or other factors.SOLUTION: A human body detecting device determines the presence or absence of any human body with a plurality of sensors that detect motions of any human body, if present, and output electric signals. The human body detecting device comprises acquiring means that acquires output values matching the electric signals outputted by the plurality of sensors and determining means that determines, on the basis of the output values of the plurality of sensors, the presence or absence of any human body within a detectable range of the sensors. More specifically, the determining means determines the presence of a human body when an output value of any one of the plurality of sensors surpasses a first threshold and determines when, after the determination, an attenuation amount of all the output values of the plurality of sensors surpass a second threshold, determines the absence of any human body.

Description

本発明は、センサを用いて人体の存在を検出する技術分野に関する。   The present invention relates to the technical field of detecting the presence of a human body using a sensor.

従来から、焦電センサなどを用いて人体の存在有無を判定する技術が提案されている。例えば、特許文献1には、背景温度のばらつきや温度変化に応じて調整した閾値を用いて、赤外線発生物体の存在有無を判定する技術が提案されている。具体的には、この技術では、センサの前に周期的に開閉するシャッター(チョッパー)を設けることにより背景温度(人体が存在しないエリアの温度)を測定して、判定に用いる閾値を更新している。   Conventionally, a technique for determining the presence or absence of a human body using a pyroelectric sensor or the like has been proposed. For example, Patent Document 1 proposes a technique for determining the presence / absence of an infrared ray generation object using a threshold value adjusted according to variations in background temperature and temperature changes. Specifically, in this technology, a background temperature (temperature of an area where no human body exists) is measured by providing a shutter (chopper) that periodically opens and closes in front of the sensor, and a threshold used for determination is updated. Yes.

特開平9−33662号公報JP 9-33662 A

しかしながら、上記した特許文献1に記載された技術では、人体が存在しないエリアについてのセンサの出力が変化しないと、判定に用いられる閾値が更新されなかったため、人体の存在有無を適切に判定することができない場合があった。   However, in the technique described in Patent Document 1 described above, if the output of the sensor for an area where no human body exists does not change, the threshold used for the determination is not updated, and therefore the presence or absence of the human body is appropriately determined. There was a case that could not be.

本発明が解決しようとする課題としては、上記のものが一例として挙げられる。本発明は、背景温度の変化などの影響を受けることなく、人体の存在有無を適切に判定することが可能な人体検出装置、人体検出方法及びプログラムを提供することを目的とする。   The above-mentioned thing is mentioned as an example as a subject which the present invention tends to solve. An object of the present invention is to provide a human body detection device, a human body detection method, and a program that can appropriately determine the presence or absence of a human body without being affected by changes in background temperature or the like.

請求項1に記載の発明では、人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置は、前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得手段と、前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段と、を備え、前記判定手段は、前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   According to the first aspect of the present invention, the human body detection device that determines the presence / absence of a human body using a plurality of sensors that detect the movement of the human body and output an electrical signal, the electrical sensor output by the plurality of sensors. Acquisition means for acquiring an output value corresponding to a target signal, and determination means for determining whether or not a human body exists within a detection range of the sensor based on the output values of the plurality of sensors, The determination unit determines that the human body exists when the output value of any one of the plurality of sensors exceeds a first threshold, and determines that the human body exists, and then determines all of the plurality of sensors. When the amount of attenuation at the output value exceeds a second threshold, it is determined that the human body does not exist.

請求項8に記載の発明では、人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置によって行われる人体検出方法は、前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得工程と、前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定工程と、を備え、前記判定工程は、前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   In the invention according to claim 8, the human body detection method performed by the human body detection device for determining the presence / absence of the human body using the plurality of sensors that detect the movement of the human body and output an electrical signal includes the plurality of sensors. An acquisition step of acquiring an output value corresponding to the electrical signal output by the sensor, and a determination for determining whether or not a human body exists within a detection range of the sensor based on the output value of the plurality of sensors And when the output value of any one of the plurality of sensors exceeds a first threshold, it is determined that the human body exists, and after determining that the human body exists, When the attenuation values of all the output values of the plurality of sensors exceed the second threshold value, it is determined that the human body does not exist.

請求項9に記載の発明では、コンピュータを有し、人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置において実行されるプログラムは、前記コンピュータを、前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得手段、前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段、として機能させ、前記判定手段は、前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   According to the ninth aspect of the present invention, there is provided a program that is executed in a human body detection device that includes a computer, and that uses a plurality of sensors that detect movement of a human body and output an electrical signal to determine whether or not a human body exists. An acquisition means for acquiring output values corresponding to the electrical signals output by the plurality of sensors from the computer, and a human body exists within a detection range of the sensors based on the output values of the plurality of sensors. Determining means for determining whether or not the human body is present when the output value of any one of the plurality of sensors exceeds a first threshold, and the human body After determining that the human body exists, it is determined that the human body does not exist when the attenuation amount of all the output values of the plurality of sensors exceeds the second threshold value.

請求項10に記載の発明では、人体の動きを検出して電気的信号を出力するセンサを用いて、人体の存在有無を判定する人体検出装置は、前記センサが出力した前記電気的信号に対応する出力値を取得する取得手段と、前記センサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段と、を備え、前記判定手段は、前記センサの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記センサの前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   In a tenth aspect of the present invention, a human body detection device that determines the presence or absence of a human body using a sensor that detects the movement of the human body and outputs an electrical signal corresponds to the electrical signal output by the sensor. Acquisition means for acquiring an output value to be performed, and determination means for determining whether or not a human body exists within a detection range of the sensor based on the output value of the sensor, wherein the determination means includes the When the output value of the sensor exceeds the first threshold, it is determined that the human body exists, and after the determination that the human body exists, the attenuation in the output value of the sensor exceeds the second threshold value It is determined that the human body does not exist.

本実施例に係る人体検出装置を含むシステムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the system containing the human body detection apparatus which concerns on a present Example. 本実施例におけるセンサ装置の配置例を示す。The example of arrangement | positioning of the sensor apparatus in a present Example is shown. センサ装置のセンサ値の一例を示す。An example of the sensor value of a sensor apparatus is shown. 比較例に係る人体検出方法において発生し得る問題点を説明するための図である。It is a figure for demonstrating the problem which may generate | occur | produce in the human body detection method which concerns on a comparative example. 本実施例に係る人体検出方法を具体的に説明するための図を示す。The figure for demonstrating the human body detection method concerning a present Example concretely is shown. 背景温度の変化によってセンサ値のレベルが変化した場合についての、本実施例に係る人体検出方法の作用・効果を説明するための図を示す。The figure for demonstrating the effect | action and effect of the human body detection method based on a present Example about the case where the level of a sensor value changes with the change of background temperature is shown. センサ装置のセンサ値にばらつきがある場合についての、本実施例に係る人体検出方法の作用・効果を説明するための図を示す。The figure for demonstrating the effect | action and effect of the human body detection method based on a present Example about the case where the sensor value of a sensor apparatus has dispersion | variation is shown. 本実施例に係る人体検出処理を示すフローチャートである。It is a flowchart which shows the human body detection process which concerns on a present Example. 変形例に係るシステムの概略構成を示す。The schematic structure of the system which concerns on a modification is shown. 4つのセンサ装置を用いた場合の構成例を示す。A configuration example in the case of using four sensor devices is shown.

本発明の1つの観点では、人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置は、前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得手段と、前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段と、を備え、前記判定手段は、前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   In one aspect of the present invention, a human body detection device that determines the presence / absence of a human body using a plurality of sensors that detect the movement of the human body and output an electrical signal is used for the electrical body output by the plurality of sensors. Acquisition means for acquiring an output value corresponding to a signal, and determination means for determining whether or not a human body exists within a detection range of the sensor based on the output values of the plurality of sensors, The determination unit determines that the human body exists when the output value of any one of the plurality of sensors exceeds a first threshold, and determines that the human body exists, and then determines all of the plurality of sensors. When the attenuation in the output value exceeds a second threshold, it is determined that the human body does not exist.

上記の人体検出装置は、焦電センサなどの人体検知センサを用いて人体の存在有無を判定するために好適に利用される。取得手段は、複数のセンサが出力した電気的信号に対応する出力値(センサ値)を取得し、判定手段は、複数のセンサにおける出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する。具体的には、判定手段は、複数のセンサの全ての出力値が第1閾値を下回っている状態(つまり人体が存在しないと判定している状態)において、複数のセンサのいずれか1つの出力値が第1閾値を超えた際に、人体が存在すると判定する。そして、判定手段は、このように人体が存在すると判定すると判定した状態において、複数のセンサの全ての出力値における減衰量が第2閾値を超えた際に、人体が存在しないと判定する。   The above human body detection device is suitably used for determining the presence or absence of a human body using a human body detection sensor such as a pyroelectric sensor. The acquisition means acquires output values (sensor values) corresponding to the electrical signals output by the plurality of sensors, and the determination means has a human body within the detection range of the sensors based on the output values of the plurality of sensors. It is determined whether or not to do. Specifically, the determination unit outputs any one of the plurality of sensors in a state where all output values of the plurality of sensors are below the first threshold (that is, a state where it is determined that no human body exists). When the value exceeds the first threshold, it is determined that a human body exists. Then, in the state where it is determined that the human body exists as described above, the determination unit determines that the human body does not exist when the attenuation amount of all the output values of the plurality of sensors exceeds the second threshold value.

このように、判定手段は、人体が存在しないと判定している状態と、人体が存在すると判定している状態とで、異なる判定値(第1閾値と第2閾値)を用いて人体の存在有無を判定する。これにより、背景温度の変化による出力値のレベルの変動による影響や、センサの出力値のばらつきによる影響などを受けることなく、人体の存在有無を適切に判定することができる。   In this way, the determination means uses a different determination value (first threshold value and second threshold value) for the state where it is determined that the human body does not exist and the state where it is determined that the human body exists. Determine presence or absence. As a result, it is possible to appropriately determine the presence or absence of a human body without being affected by fluctuations in the level of the output value due to changes in the background temperature, or by fluctuations in the output value of the sensor.

上記の人体検出装置の一態様では、前記判定手段は、前記複数のセンサの各々の前記出力値に応じて、前記複数のセンサごとに前記第2閾値を設定する。これにより、各センサにおける出力値のレベルの変化や出力値のばらつきなどによる影響を、適切に抑制することが可能となる。   In one aspect of the human body detection device, the determination unit sets the second threshold value for each of the plurality of sensors according to the output value of each of the plurality of sensors. As a result, it is possible to appropriately suppress the influence of the change in the output value level or the variation in the output value in each sensor.

上記の人体検出装置の他の一態様では、前記判定手段は、前記複数のセンサの各々の前記出力値における最大値に応じて、前記第2閾値を設定する。例えば、判定手段は、出力値の最大値が大きいほど、大きな値を有する第2閾値を設定し、出力値の最大値が小さいほど、小さな値を有する第2閾値を設定することができる。   In another aspect of the above-described human body detection device, the determination unit sets the second threshold according to the maximum value of the output values of each of the plurality of sensors. For example, the determination means can set the second threshold value having a larger value as the maximum value of the output value is larger, and can set the second threshold value having a smaller value as the maximum value of the output value is smaller.

上記の人体検出装置において好適には、前記判定手段は、前記複数のセンサの各々の前記出力値における最大値に所定の減衰率を乗算することで、前記第2閾値を求めることができる。   Preferably, in the human body detection device, the determination unit can obtain the second threshold value by multiplying a maximum value of the output values of each of the plurality of sensors by a predetermined attenuation rate.

上記の人体検出装置の他の一態様では、前記判定手段は、前記複数のセンサの各々の前記出力値に応じて、前記第2閾値を逐次更新する。この態様では、判定手段は、複数のセンサにおける毎回の出力値に応じて第2閾値を逐次更新する。これにより、各センサにおける出力値のレベルの変化や出力値のばらつきなどによる影響を、効果的に抑制することができる。   In another aspect of the human body detection device, the determination unit sequentially updates the second threshold value according to the output value of each of the plurality of sensors. In this aspect, the determination unit sequentially updates the second threshold value according to the output values of the plurality of sensors each time. Thereby, the influence by the change of the level of the output value in each sensor, the dispersion | variation in output value, etc. can be suppressed effectively.

好適な例では、前記複数のセンサは、当該複数のセンサのうちの2以上のセンサにおける検出範囲がオーバーラップするように配置されている。   In a preferred example, the plurality of sensors are arranged such that detection ranges of two or more of the plurality of sensors overlap.

また好適な例では、前記取得手段は、前記複数のセンサが出力した前記電気的信号に対して平滑化処理が行われた後の信号を、前記出力値として取得する。これにより、センサの出力信号に混じっているノイズなどが適切に除去された出力値を、上記した判定に用いることができる。   In a preferred example, the acquisition unit acquires, as the output value, a signal after smoothing processing is performed on the electrical signals output from the plurality of sensors. Accordingly, an output value from which noise or the like mixed in the output signal of the sensor is appropriately removed can be used for the above-described determination.

本発明の他の観点では、人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置によって行われる人体検出方法は、前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得工程と、前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定工程と、を備え、前記判定工程は、前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   In another aspect of the present invention, the human body detection method performed by the human body detection device that determines the presence / absence of a human body using a plurality of sensors that detect the movement of the human body and output an electrical signal includes the plurality of sensors. An acquisition step of acquiring an output value corresponding to the electrical signal output from the sensor, and a determination step of determining whether or not a human body exists within a detection range of the sensor based on the output value of the plurality of sensors. The determination step determines that the human body exists when the output value of any one of the plurality of sensors exceeds a first threshold, and after determining that the human body exists, When the attenuation amount of all the output values of a plurality of sensors exceeds the second threshold, it is determined that the human body does not exist.

本発明の更に他の観点では、コンピュータを有し、人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置において実行されるプログラムは、前記コンピュータを、前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得手段、前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段、として機能させ、前記判定手段は、前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   In still another aspect of the present invention, a program executed in a human body detection apparatus that includes a computer and uses a plurality of sensors that detect movement of a human body and output an electrical signal to determine the presence or absence of the human body. An acquisition means for acquiring output values corresponding to the electrical signals output by the plurality of sensors from the computer, and a human body exists within a detection range of the sensors based on the output values of the plurality of sensors. Determining means for determining whether or not the human body is present when the output value of any one of the plurality of sensors exceeds a first threshold, and the human body After determining that the human body exists, it is determined that the human body does not exist when the attenuation amount of all the output values of the plurality of sensors exceeds the second threshold value.

本発明の更に他の観点では、人体の動きを検出して電気的信号を出力するセンサを用いて、人体の存在有無を判定する人体検出装置は、前記センサが出力した前記電気的信号に対応する出力値を取得する取得手段と、前記センサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段と、を備え、前記判定手段は、前記センサの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、前記人体が存在すると判定した後に、前記センサの前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定する。   In still another aspect of the present invention, a human body detection device that determines the presence / absence of a human body using a sensor that detects the movement of the human body and outputs an electrical signal corresponds to the electrical signal output by the sensor. Acquisition means for acquiring an output value to be performed, and determination means for determining whether or not a human body exists within a detection range of the sensor based on the output value of the sensor, wherein the determination means includes the When the output value of the sensor exceeds the first threshold, it is determined that the human body exists, and after the determination that the human body exists, the attenuation in the output value of the sensor exceeds the second threshold value It is determined that the human body does not exist.

以下、図面を参照して本発明の好適な実施例について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

[装置構成]
図1を参照して、本実施例に係る人体検出装置について説明する。図1は、本実施例に係る人体検出装置2を含むシステムの概略構成を示すブロック図である。図1に示すように、人体検出装置2は、2つのセンサ装置1a、1bの出力を取得し、当該出力に基づいて人体の存在有無を判定するための装置である。
[Device configuration]
With reference to FIG. 1, the human body detection apparatus according to the present embodiment will be described. FIG. 1 is a block diagram illustrating a schematic configuration of a system including a human body detection device 2 according to the present embodiment. As shown in FIG. 1, the human body detection apparatus 2 is an apparatus for acquiring the outputs of the two sensor devices 1a and 1b and determining the presence or absence of a human body based on the outputs.

センサ装置1a、1bは、それぞれ、センサ部11a、11bと、信号処理部12a、12bとを有する。   The sensor devices 1a and 1b include sensor units 11a and 11b and signal processing units 12a and 12b, respectively.

センサ部11a、11bは、例えば焦電センサによって構成される。ここで、焦電センサの原理について簡単に説明する。絶対零度以上の物体はその温度に応じた赤外線を放射しており、そのエネルギーの波長分布はプランクの法則によって表される。また、ウィーンの変位則によれば、物体の温度が高くなると分布のピークは短波長側に移動する。焦電素子は通常自発分極しているが電気的に中性の状態にある。この素子が赤外線を熱線として吸収すると、その温度変化を焦電効果によって、電気信号として出力する。焦電センサは入射する赤外線強度が変化したときにのみ出力が得られる。人体について言えば、人が静止している時は焦電センサに入射する赤外線強度が変化しないので、焦電センサから出力は得られないが、人が移動すると焦電センサに入射する赤外線強度が変化するので焦電センサから出力が得られる。また、焦電センサは、人体の表面温度と背景温度(焦電センサの検出範囲内において壁や床や天井などの人体の周囲における温度を意味する。以下同様とする。)との温度差が大きいほど、出力レベルが大きくなり、人体の表面温度と背景温度との温度差が小さいほど、出力レベルが小さくなる。   The sensor units 11a and 11b are constituted by pyroelectric sensors, for example. Here, the principle of the pyroelectric sensor will be briefly described. An object of absolute zero or higher emits infrared rays corresponding to its temperature, and its energy wavelength distribution is expressed by Planck's law. According to the Wien displacement law, the distribution peak shifts to the short wavelength side when the temperature of the object increases. The pyroelectric element is usually spontaneously polarized but is in an electrically neutral state. When this element absorbs infrared rays as heat rays, the temperature change is output as an electrical signal by the pyroelectric effect. The pyroelectric sensor can output only when the intensity of incident infrared rays changes. As for the human body, when the person is stationary, the infrared intensity incident on the pyroelectric sensor does not change, so no output is obtained from the pyroelectric sensor, but when the person moves, the infrared intensity incident on the pyroelectric sensor is Since it changes, an output is obtained from the pyroelectric sensor. The pyroelectric sensor has a large temperature difference between the surface temperature of the human body and the background temperature (meaning the temperature around the human body such as a wall, floor, or ceiling within the detection range of the pyroelectric sensor; the same applies hereinafter). The output level increases, and the output level decreases as the temperature difference between the human body surface temperature and the background temperature decreases.

信号処理部12a、12bは、センサ部11a、11bの出力信号を取得し、当該出力信号に対して所定の処理を行う。具体的には、信号処理部12a、12bは、センサ部11a、11bの出力信号に対して、全波整流を行った後に平滑化処理を行う。全波整流は、所定値を下回るデータを、当該所定値を基準にして、所定値を上回る側へ反転させる処理に該当する。平滑化処理は、データの変化を滑らかにするための処理である。例えば、平滑化処理は、データの移動平均を求める処理に該当する。1つの例では、平滑化処理は、注目するデータの近傍にある所定数のデータの平均値を求め、当該平均値を注目するデータの値にする処理に該当する。   The signal processing units 12a and 12b acquire output signals from the sensor units 11a and 11b and perform predetermined processing on the output signals. Specifically, the signal processing units 12a and 12b perform smoothing processing after performing full-wave rectification on the output signals of the sensor units 11a and 11b. Full-wave rectification corresponds to a process of inverting data below a predetermined value to the side above the predetermined value based on the predetermined value. The smoothing process is a process for smoothing data changes. For example, the smoothing process corresponds to a process for obtaining a moving average of data. In one example, the smoothing process corresponds to a process of obtaining an average value of a predetermined number of data in the vicinity of the data of interest and setting the average value to the value of the data of interest.

以下では、信号処理部12a、12bによる処理後の信号を「センサ値」と呼ぶ。センサ値は、本発明における「出力値」の一例である。また、センサ装置1a、1bは、本発明における「センサ」の一例である。なお、上記のように全波整流及び平滑化処理の両方を行うことに限定はされず、全波整流を行わずに、平滑化処理のみを行っても良い。   Hereinafter, the signal after processing by the signal processing units 12a and 12b is referred to as “sensor value”. The sensor value is an example of the “output value” in the present invention. The sensor devices 1a and 1b are examples of the “sensor” in the present invention. Note that the present invention is not limited to performing both full-wave rectification and smoothing processing as described above, and only smoothing processing may be performed without performing full-wave rectification.

人体検出装置2は、信号取得部21と、固定閾値比較部22と、動的閾値比較部23と、人体検知判定部24と、検知状態保持部25と、を有する。   The human body detection device 2 includes a signal acquisition unit 21, a fixed threshold value comparison unit 22, a dynamic threshold value comparison unit 23, a human body detection determination unit 24, and a detection state holding unit 25.

信号取得部21は、センサ装置1a、1bのそれぞれの出力を取得する。具体的には、信号取得部21は、センサ装置1a、1b内の信号処理部12a、12bのそれぞれによって処理されたセンサ値を取得する。信号取得部21は、本発明における「取得手段」の一例である。   The signal acquisition unit 21 acquires the outputs of the sensor devices 1a and 1b. Specifically, the signal acquisition unit 21 acquires sensor values processed by the signal processing units 12a and 12b in the sensor devices 1a and 1b, respectively. The signal acquisition unit 21 is an example of the “acquisition unit” in the present invention.

固定閾値比較部22は、信号取得部21によって取得されたセンサ値と、予め定められた固定閾値とを比較する。具体的には、固定閾値比較部22は、センサ装置1a、1bのいずれかのセンサ値が固定閾値を超えたか否かを判定する。固定閾値は、当該判定を行うに当たって、センサ装置1a、1bのセンサ値に対して同一の値が用いられる。固定閾値は、本発明における「第1閾値」の一例である。   The fixed threshold value comparison unit 22 compares the sensor value acquired by the signal acquisition unit 21 with a predetermined fixed threshold value. Specifically, the fixed threshold value comparison unit 22 determines whether any of the sensor values of the sensor devices 1a and 1b exceeds the fixed threshold value. As the fixed threshold value, the same value is used for the sensor values of the sensor devices 1a and 1b in making the determination. The fixed threshold is an example of the “first threshold” in the present invention.

動的閾値比較部23は、信号取得部21によって取得されたセンサ値と、センサ値に応じて設定される動的閾値とを比較する。具体的には、動的閾値比較部23は、センサ装置1a、1bのセンサ値が共に動的閾値を超える減衰が生じたか否かを判定する。つまり、動的閾値比較部23は、センサ装置1a、1bのセンサ値における減衰量(最大値から減衰した量を意味する。以下同様とする。)が共に動的閾値を超えたか否かを判定する。動的閾値比較部23は、このような判定に用いる動的閾値を、センサ装置1a、1bの各々のセンサ値について設定する。具体的には、動的閾値比較部23は、センサ装置1a、1bの各々のセンサ値における最大値に対して所定の減衰率(最大値に対する、当該最大値からの減衰量の割合を意味する。以下同様とする。)を乗算することで、センサ装置1a、1bの各々のセンサ値に対して用いる動的閾値を求める。また、動的閾値比較部23は、センサ装置1a、1bの各々のセンサ値に応じて、動的閾値を逐次更新する。動的閾値は、本発明における「第2閾値」の一例である。   The dynamic threshold comparison unit 23 compares the sensor value acquired by the signal acquisition unit 21 with a dynamic threshold set according to the sensor value. Specifically, the dynamic threshold value comparison unit 23 determines whether or not attenuation in which the sensor values of the sensor devices 1a and 1b both exceed the dynamic threshold value has occurred. That is, the dynamic threshold value comparison unit 23 determines whether or not the attenuation amount (meaning the amount attenuated from the maximum value; the same applies hereinafter) in the sensor values of the sensor devices 1a and 1b has exceeded the dynamic threshold value. To do. The dynamic threshold value comparison unit 23 sets a dynamic threshold value used for such determination for each sensor value of the sensor devices 1a and 1b. Specifically, the dynamic threshold value comparison unit 23 represents a predetermined attenuation rate (the ratio of the attenuation amount from the maximum value to the maximum value) with respect to the maximum value of the sensor values of the sensor devices 1a and 1b. The dynamic threshold used for each sensor value of the sensor devices 1a and 1b is obtained by multiplying the same. The dynamic threshold value comparison unit 23 sequentially updates the dynamic threshold value according to the sensor values of the sensor devices 1a and 1b. The dynamic threshold is an example of the “second threshold” in the present invention.

人体検知判定部24は、固定閾値比較部22及び動的閾値比較部23の判定結果に基づいて、センサ装置1a、1bの検出範囲内に人体が存在するか否かを判定する。この場合、人体検知判定部24は、検知状態保持部25に保持された人体が存在するか否かを示すフラグも参照して、このような判定を行う。人体検知判定部24は、人体が存在すると判定した場合には、検知状態保持部25に保持させるフラグを「検知」に設定し、人体が存在しないと判定した場合には、検知状態保持部25に保持させるフラグを「非検知」に設定する。なお、以下では、人体が存在すると判定された状態を単に「検知」と表記したり、人体が存在しないと判定された状態を単に「非検知」と表記したりする。   The human body detection determination unit 24 determines whether or not a human body exists within the detection ranges of the sensor devices 1a and 1b based on the determination results of the fixed threshold value comparison unit 22 and the dynamic threshold value comparison unit 23. In this case, the human body detection determination unit 24 performs such determination with reference to a flag indicating whether or not the human body held in the detection state holding unit 25 exists. When it is determined that a human body exists, the human body detection determination unit 24 sets a flag to be held in the detection state holding unit 25 to “detection”, and when it is determined that no human body exists, the detection state holding unit 25 Set the flag to be held to “not detected”. In the following, a state determined that the human body is present is simply referred to as “detection”, and a state determined that the human body is not present is simply referred to as “non-detection”.

具体的には、人体検知判定部24は、検知状態保持部25のフラグが「非検知」に設定されている状態において、固定閾値比較部22によって、センサ装置1a、1bのいずれかのセンサ値が固定閾値を超えたと判定された際に、センサ装置1a、1bの検出範囲内に人体が存在すると判定する。この場合、人体検知判定部24は、検知状態保持部25に保持させるフラグを「非検知」から「検知」に設定する。他方で、人体検知判定部24は、検知状態保持部25のフラグが「検知」に設定されている状態において、動的閾値比較部23によって、センサ装置1a、1bのセンサ値が共に動的閾値を超える減衰が生じたと判定された場合に、センサ装置1a、1bの検出範囲内に人体が存在しないと判定する。この場合、人体検知判定部24は、検知状態保持部25に保持させるフラグを「検知」から「非検知」に設定する。   Specifically, in the state where the flag of the detection state holding unit 25 is set to “non-detection”, the human body detection determination unit 24 uses the fixed threshold comparison unit 22 to detect any sensor value of the sensor devices 1a and 1b. Is determined to have exceeded the fixed threshold value, it is determined that a human body exists within the detection range of the sensor devices 1a and 1b. In this case, the human body detection determination unit 24 sets the flag to be held in the detection state holding unit 25 from “non-detection” to “detection”. On the other hand, in the state where the flag of the detection state holding unit 25 is set to “detection”, the human body detection determination unit 24 uses the dynamic threshold comparison unit 23 to set the sensor values of the sensor devices 1a and 1b to the dynamic threshold. When it is determined that the attenuation exceeding 1 occurs, it is determined that the human body does not exist within the detection ranges of the sensor devices 1a and 1b. In this case, the human body detection determination unit 24 sets the flag to be held in the detection state holding unit 25 from “detection” to “non-detection”.

このように、固定閾値比較部22、動的閾値比較部23及び人体検知判定部24は、本発明における「判定手段」の一例に相当する。   Thus, the fixed threshold value comparison unit 22, the dynamic threshold value comparison unit 23, and the human body detection determination unit 24 correspond to an example of the “determination unit” in the present invention.

ここで、図2を参照して、本実施例におけるセンサ装置1a、1bの配置例などについて説明する。   Here, with reference to FIG. 2, the example of arrangement | positioning of the sensor apparatus 1a, 1b in a present Example, etc. are demonstrated.

図2において、領域50aは、センサ装置1aの検出範囲(詳しくはセンサ装置1a内のセンサ部11aの検出範囲)を示し、領域50bは、センサ装置1bの検出範囲(詳しくはセンサ装置1b内のセンサ部11bの検出範囲)を示している。また、領域50cは、センサ装置1aの検出範囲50aとセンサ装置1bの検出範囲50bとがオーバーラップする領域(以下、適宜「オーバーラップ領域」と呼ぶ。)を示している。なお、センサ装置1aの検出範囲50aとセンサ装置1bの検出範囲50bとを合わせた範囲(オーバーラップ領域50cも含む)を、以下では適宜「検出範囲50」と呼ぶ。   In FIG. 2, a region 50a indicates a detection range of the sensor device 1a (specifically, a detection range of the sensor unit 11a in the sensor device 1a), and a region 50b indicates a detection range of the sensor device 1b (specifically, in the sensor device 1b). The detection range of the sensor unit 11b) is shown. The region 50c indicates a region where the detection range 50a of the sensor device 1a and the detection range 50b of the sensor device 1b overlap (hereinafter, referred to as “overlap region” as appropriate). Note that a range (including the overlap region 50c) in which the detection range 50a of the sensor device 1a and the detection range 50b of the sensor device 1b are combined is appropriately referred to as a “detection range 50” below.

図2に示すように、センサ装置1a、1bは、検出範囲50a、50bがオーバーラップするように配置されている。このようにセンサ装置1a、1bを配置した場合において、太線矢印に示すように、人が左から右に向かって移動することを考える。この場合において、最初の期間T1では、人がセンサ装置1a付近に滞在しており、期間T1の後の期間T2で、人がセンサ装置1aからセンサ装置1bの方向に移動し、期間T2の後の期間T3では、人がセンサ装置1b付近に滞在しているものとする。このような図2に示したセンサ装置1a、1bの配置位置や人の移動方向などは、後述する全ての例において前提になるものとする。   As shown in FIG. 2, the sensor devices 1a and 1b are arranged such that the detection ranges 50a and 50b overlap. When the sensor devices 1a and 1b are arranged as described above, it is considered that a person moves from left to right as indicated by a thick arrow. In this case, in the first period T1, a person stays in the vicinity of the sensor device 1a, and in a period T2 after the period T1, the person moves in the direction from the sensor device 1a to the sensor device 1b. In period T3, it is assumed that a person is staying near the sensor device 1b. Such an arrangement position of the sensor devices 1a and 1b and a movement direction of the person shown in FIG. 2 are assumed in all examples to be described later.

図3は、図2に示すような構成において得られたセンサ装置1a、1bのセンサ値の一例を示している。図3は、横軸に時間を示し、縦軸にセンサ値(センサ装置1a、1bの信号処理部12a、12bによって平滑化処理などが行われた後の値である。以下同様とする。)を示している。具体的には、グラフ60aは、センサ装置1aのセンサ値の一例を示しており、グラフ60bは、センサ装置1bのセンサ値の一例を示している。グラフ60a、60bより、人がセンサ装置1aからセンサ装置1bの方向に移動している期間T2において、センサ装置1a、1bのセンサ値が大きく変動していることがわかる。具体的には、センサ値が一旦最大値まで上昇し、その後にセンサ値が当該最大値から減衰していることがわかる。   FIG. 3 shows an example of sensor values of the sensor devices 1a and 1b obtained in the configuration shown in FIG. FIG. 3 shows time on the horizontal axis, and sensor values on the vertical axis (values after smoothing processing is performed by the signal processing units 12a and 12b of the sensor devices 1a and 1b. The same applies hereinafter). Is shown. Specifically, the graph 60a shows an example of the sensor value of the sensor device 1a, and the graph 60b shows an example of the sensor value of the sensor device 1b. From the graphs 60a and 60b, it can be seen that the sensor values of the sensor devices 1a and 1b fluctuate greatly during the period T2 in which a person is moving from the sensor device 1a to the sensor device 1b. Specifically, it can be seen that the sensor value once increases to the maximum value, and then the sensor value attenuates from the maximum value.

[人体検出方法]
次に、本実施例に係る人体検出方法について具体的に説明する。
[Human body detection method]
Next, the human body detection method according to the present embodiment will be specifically described.

まず、本実施例に係る人体検出方法を説明する前に、比較例に係る人体検出方法において発生し得る問題点について説明する。比較例に係る人体検出方法は、センサ装置1a、1bのいずれかのセンサ値が固定閾値を超えている際には、センサ装置1a、1bの検出範囲50に人体が存在すると判定し、センサ装置1a、1bの両方のセンサ値が固定閾値を下回っている際には、センサ装置1a、1bの検出範囲50に人体が存在しないと判定する方法である。   First, before describing the human body detection method according to the present embodiment, problems that may occur in the human body detection method according to the comparative example will be described. The human body detection method according to the comparative example determines that a human body is present in the detection range 50 of the sensor devices 1a and 1b when any of the sensor values of the sensor devices 1a and 1b exceeds a fixed threshold. This is a method for determining that no human body is present in the detection range 50 of the sensor devices 1a and 1b when both the sensor values 1a and 1b are below the fixed threshold value.

図4は、比較例に係る人体検出方法において発生し得る問題点を説明するための図を示す。   FIG. 4 is a diagram for explaining problems that may occur in the human body detection method according to the comparative example.

図4(a)は、図2と同様の図である(センサ装置1a、1bの配置位置や人の移動方向が同様である)。ここでは、図4(a)に示すように、センサ装置1aの検出範囲50aの隅に、熱源としての照明51(日差し等でも良い)が存在する場合を考える。また、照明51の温度が人体の表面温度よりも高いため、照明51をオンにすると、人体の表面温度と背景温度との温度差が大きくなり、照明51をオフにすると、人体の表面温度と背景温度との温度差が小さくなるものとする(この場合、気温は人体の表面温度に近いものとする)。よって、照明51のオン/オフによって、センサ装置1a、1bから出力されるセンサ値のレベルが変化する。具体的には、照明51をオンにした場合には、センサ装置1a、1bからは比較的高いレベルのセンサ値が出力され、照明51をオフにした場合には、センサ装置1a、1bからは比較的低いレベルのセンサ値が出力される。   FIG. 4A is a view similar to FIG. 2 (the arrangement positions of the sensor devices 1a and 1b and the movement direction of the person are the same). Here, as shown in FIG. 4A, a case is considered where illumination 51 (sunlight or the like) as a heat source exists at the corner of the detection range 50a of the sensor device 1a. Further, since the temperature of the illumination 51 is higher than the surface temperature of the human body, when the illumination 51 is turned on, the temperature difference between the surface temperature of the human body and the background temperature becomes large. When the illumination 51 is turned off, the surface temperature of the human body It is assumed that the temperature difference from the background temperature is small (in this case, the air temperature is close to the surface temperature of the human body). Therefore, the level of the sensor value output from the sensor devices 1a and 1b is changed by turning on / off the illumination 51. Specifically, when the illumination 51 is turned on, a relatively high level of sensor value is output from the sensor devices 1a and 1b, and when the illumination 51 is turned off, the sensor devices 1a and 1b A relatively low level sensor value is output.

図4(b)は、比較例に係る人体検出方法による結果の一例を示している。図4(b)は、横軸に時間を示し、縦軸にセンサ値を示している。また、グラフ61a、61bは、それぞれ、照明51をオンにした場合における、センサ装置1a、1bのセンサ値の一例を示している。図4(b)に示すようなセンサ値が得られた場合、時刻t11までは、センサ装置1a、1bのいずれのセンサ値も固定閾値Aを超えていないため、人体が存在しないと判定され、時刻t11から時刻t12までは、センサ装置1a、1bの少なくとも一方のセンサ値が固定閾値Aを超えているため、人体が存在すると判定される。そして、時刻t12以降では、センサ装置1a、1bの両方のセンサ値が固定閾値Aを下回っているため、人体が存在しないと判定される。   FIG. 4B shows an example of a result obtained by the human body detection method according to the comparative example. FIG. 4B shows time on the horizontal axis and sensor values on the vertical axis. Graphs 61a and 61b show examples of sensor values of the sensor devices 1a and 1b when the illumination 51 is turned on, respectively. When sensor values as shown in FIG. 4 (b) are obtained, it is determined that no human body exists since none of the sensor values of the sensor devices 1a and 1b exceed the fixed threshold A until time t11. From time t11 to time t12, since at least one sensor value of the sensor devices 1a and 1b exceeds the fixed threshold A, it is determined that a human body exists. And after time t12, since both sensor values of sensor device 1a and 1b are less than fixed threshold A, it is judged that a human body does not exist.

図4(b)に示したような「検知」及び「非検知」の判定は、図4(a)に示したような人の移動に応じた適切な判定であると言える。このように適切に判定を行えたのは、照明51をオンにした場合には、人体の表面温度と背景温度との温度差が大きいため、センサ装置1a、1bから比較的高いレベルのセンサ値(具体的には、固定閾値Aを用いて人体の存在有無を適切に判定可能なレベルのセンサ値)が出力されたためであると考えられる。   It can be said that the determination of “detection” and “non-detection” as shown in FIG. 4B is an appropriate determination according to the movement of the person as shown in FIG. The reason why the determination can be made appropriately is that when the illumination 51 is turned on, the temperature difference between the surface temperature of the human body and the background temperature is large, so that the sensor values at a relatively high level from the sensor devices 1a and 1b. (Specifically, it is considered that this is because a sensor value at a level at which the presence / absence of the human body can be appropriately determined using the fixed threshold A) is output.

図4(c)は、比較例に係る人体検出方法による結果の他の例を示している。図4(c)は、横軸に時間を示し、縦軸にセンサ値を示している。また、グラフ62a、62bは、それぞれ、照明51をオフにした場合における、センサ装置1a、1bのセンサ値の一例を示している。これより、グラフ62a、62bのセンサ値のレベルが、図4(b)に示した、照明51をオンにした場合におけるグラフ61a、61bのセンサ値のレベルよりも小さいことがわかる。これは、照明51をオフにした場合には、人体の表面温度と背景温度との温度差が小さいため、センサ装置1a、1bから比較的低いレベルのセンサ値が出力されたためである。   FIG. 4C shows another example of the result obtained by the human body detection method according to the comparative example. In FIG. 4C, the horizontal axis indicates time, and the vertical axis indicates sensor value. Graphs 62a and 62b show examples of sensor values of the sensor devices 1a and 1b when the illumination 51 is turned off, respectively. From this, it can be seen that the sensor value levels of the graphs 62a and 62b are smaller than the sensor value levels of the graphs 61a and 61b when the illumination 51 is turned on as shown in FIG. This is because when the illumination 51 is turned off, the temperature difference between the human body surface temperature and the background temperature is small, and thus sensor values of a relatively low level are output from the sensor devices 1a and 1b.

図4(c)に示すようなセンサ値が得られた場合には、時刻t21までは、センサ装置1a、1bのいずれのセンサ値も固定閾値Aを超えていないため、人体が存在しないと判定され、時刻t21から時刻t22までは、センサ装置1aのセンサ値が固定閾値Aを超えているため、人体が存在すると判定される。そして、時刻t22から時刻t23までは、センサ装置1a、1bの両方のセンサ値が固定閾値Aを下回っているため、人体が存在しないと判定される。この後、時刻t23から時刻t24までは、センサ装置1bのセンサ値が固定閾値Aを超えているため、人体が存在すると判定され、時刻t24以降では、センサ装置1a、1bの両方のセンサ値が固定閾値Aを下回っているため、人体が存在しないと判定される。   When sensor values as shown in FIG. 4C are obtained, it is determined that no human body exists because none of the sensor values of the sensor devices 1a and 1b exceed the fixed threshold A until time t21. From time t21 to time t22, since the sensor value of the sensor device 1a exceeds the fixed threshold A, it is determined that a human body exists. From time t22 to time t23, since both sensor values of the sensor devices 1a and 1b are below the fixed threshold A, it is determined that no human body exists. Thereafter, since the sensor value of the sensor device 1b exceeds the fixed threshold A from time t23 to time t24, it is determined that a human body exists, and after time t24, both sensor values of the sensor devices 1a and 1b are determined. Since it is below the fixed threshold A, it is determined that no human body exists.

図4(c)より、比較例に係る人体検出方法では、照明51をオフにした場合に、時刻t22から時刻t23までの期間において、具体的には人がセンサ装置1a、1bの検出範囲50(詳しくはオーバーラップ領域50c)を通過している途中において、人体が存在しないと誤判定されていると言える。このような誤判定は、照明51をオフにした場合には、人体の表面温度と背景温度との温度差が小さいため、センサ装置1a、1bから比較的低いレベルのセンサ値が出力されたために発生したものと考えられる。つまり、照明51をオフにした場合には、固定閾値Aを用いて人体の存在有無を適切に判定可能なレベルにセンサ値が達していなかったために、誤判定が発生したものと考えられる。   As shown in FIG. 4C, in the human body detection method according to the comparative example, when the illumination 51 is turned off, in the period from the time t22 to the time t23, the person specifically detects the detection range 50 of the sensor devices 1a and 1b. It can be said that it is erroneously determined that the human body does not exist in the middle of passing through (the overlap region 50c in detail). Such a misjudgment is that when the illumination 51 is turned off, the temperature difference between the human body surface temperature and the background temperature is small, so that a relatively low level sensor value is output from the sensor devices 1a and 1b. It is thought that it occurred. That is, when the illumination 51 is turned off, the sensor value has not reached a level at which the presence / absence of the human body can be appropriately determined using the fixed threshold A, and it is considered that an erroneous determination has occurred.

以上説明したように、固定閾値Aのみを用いて人体の存在有無を判定する比較例では、背景温度の変化によるセンサ値のレベルの変動が生じた場合に、人体の存在有無を適切に判定することができない場合がある。したがって、本実施例では、背景温度の変化によるセンサ値のレベルの変動による影響などを抑制可能な方法によって、人体の存在有無を判定する。   As described above, in the comparative example in which the presence / absence of the human body is determined using only the fixed threshold A, the presence / absence of the human body is appropriately determined when the sensor value level fluctuates due to the change in the background temperature. It may not be possible. Therefore, in this embodiment, the presence / absence of a human body is determined by a method capable of suppressing the influence of fluctuations in the sensor value level due to changes in the background temperature.

具体的には、本実施例では、人体検出装置2内の人体検知判定部24は、センサ装置1a、1bの検出範囲50に人体が存在しないと判定している状態では(つまり検知状態保持部25のフラグが「非検知」に設定されている状態)、固定閾値を用いて判定を行い、これに対して、センサ装置1a、1bの検出範囲50に人体が存在すると判定している状態では(つまり検知状態保持部25のフラグが「検知」に設定されている状態)、動的閾値を用いて判定を行う。つまり、人体検知判定部24は、「検知」の状態と「非検知」の状態とで、判定方法を切り替える。詳しくは、人体検知判定部24は、「非検知」の状態においては、センサ装置1a、1bのいずれかのセンサ値が固定閾値を超えた際に、センサ装置1a、1bの検出範囲50に人体が存在すると判定し(この際にフラグを「検知」に変更する)、これに対して、「検知」の状態においては、センサ装置1a、1bのセンサ値における減衰量(最大値から減衰した量)が共に動的閾値を超えた際に、センサ装置1a、1bの検出範囲50に人体が存在しないと判定する(この際にフラグを「非検知」に変更する)。   Specifically, in this embodiment, the human body detection determination unit 24 in the human body detection device 2 determines that no human body exists in the detection ranges 50 of the sensor devices 1a and 1b (that is, the detection state holding unit). In the state where the flag 25 is set to “non-detection”), a determination is made using a fixed threshold value, whereas in the state where it is determined that a human body is present in the detection range 50 of the sensor device 1a, 1b. (In other words, the state where the flag of the detection state holding unit 25 is set to “detection”), the determination is performed using the dynamic threshold. That is, the human body detection determination unit 24 switches the determination method between the “detection” state and the “non-detection” state. Specifically, in the “non-detection” state, the human body detection determination unit 24 moves the human body to the detection range 50 of the sensor devices 1a and 1b when any sensor value of the sensor devices 1a and 1b exceeds a fixed threshold. (In this case, the flag is changed to “detection”). On the other hand, in the “detection” state, the attenuation amount (the amount attenuated from the maximum value) in the sensor values of the sensor devices 1a and 1b. ) Both exceed the dynamic threshold value, it is determined that no human body exists in the detection ranges 50 of the sensor devices 1a and 1b (at this time, the flag is changed to “non-detection”).

また、本実施例では、人体検出装置2内の動的閾値比較部23は、センサ装置1a、1bの各々のセンサ値に基づいて、上記のような判定に用いる動的閾値を設定する。具体的には、動的閾値比較部23は、センサ装置1a、1bの各々のセンサ値における毎回の最大値に応じて、センサ装置1a、1bの各々のセンサ値に対して用いる動的閾値を設定する。この場合、動的閾値比較部23は、センサ装置1a、1bのいずれかのセンサ値が固定閾値を超えた後に、上昇中のセンサ値を監視することで、センサ装置1a、1bの各々のセンサ値の最大値を逐次求めていき、最終的に求められた最大値に対して所定の減衰率を乗算することで、センサ装置1a、1bの各々のセンサ値に対して用いる動的閾値を求める。詳しくは、動的閾値比較部23は、検知状態保持部25のフラグが「非検知」から「検知」に変更された際に、つまり新しい検知状態に移行した際に、前回の検知状態において用いていた動的閾値をクリアし、新しい検知状態において用いるための動的閾値を求める。   In the present embodiment, the dynamic threshold value comparison unit 23 in the human body detection device 2 sets the dynamic threshold value used for the above determination based on the sensor values of the sensor devices 1a and 1b. Specifically, the dynamic threshold value comparison unit 23 determines the dynamic threshold value used for each sensor value of the sensor devices 1a and 1b according to the maximum value of each sensor value of the sensor devices 1a and 1b. Set. In this case, the dynamic threshold value comparison unit 23 monitors each sensor value of the sensor devices 1a and 1b by monitoring the rising sensor value after any sensor value of the sensor devices 1a and 1b exceeds the fixed threshold value. The maximum threshold value is sequentially obtained, and the finally obtained maximum value is multiplied by a predetermined attenuation rate, thereby obtaining a dynamic threshold to be used for each sensor value of the sensor devices 1a and 1b. . Specifically, the dynamic threshold value comparison unit 23 is used in the previous detection state when the flag of the detection state holding unit 25 is changed from “non-detection” to “detection”, that is, when the detection state shifts to a new detection state. The existing dynamic threshold is cleared and a dynamic threshold for use in a new detection state is obtained.

1つの例では、動的閾値比較部23は、減衰率として「25%」を用い、センサ値の最大値に対して「25%」を乗算することで動的閾値を求める。この例において、センサ装置1aのセンサ値の最大値が「5000」であり、センサ装置1bのセンサ値の最大値が「3000」である場合には、動的閾値比較部23は、センサ装置1aのセンサ値に対して用いる動的閾値を「5000×0.25=1250」に設定し、センサ装置1bのセンサ値に対して用いる動的閾値を「3000×0.25=750」に設定する。   In one example, the dynamic threshold value comparison unit 23 uses “25%” as the attenuation rate, and obtains the dynamic threshold value by multiplying the maximum value of the sensor value by “25%”. In this example, when the maximum value of the sensor value of the sensor device 1a is “5000” and the maximum value of the sensor value of the sensor device 1b is “3000”, the dynamic threshold value comparison unit 23 determines that the sensor device 1a The dynamic threshold used for the sensor value of “5000 × 0.25 = 1250” is set, and the dynamic threshold used for the sensor value of the sensor device 1b is set to “3000 × 0.25 = 750”. .

なお、センサ装置1a、1bで同じ減衰率を用いることに限定はされず、センサ装置1a、1bで異なる減衰率を用いても良い。例えば、センサ装置1a、1bのセンサ値のばらつきを考慮して、センサ装置1a、1bごとに減衰率を設定することができる。   The sensor devices 1a and 1b are not limited to using the same attenuation rate, and different attenuation factors may be used for the sensor devices 1a and 1b. For example, the attenuation rate can be set for each of the sensor devices 1a and 1b in consideration of variations in sensor values of the sensor devices 1a and 1b.

図5は、本実施例に係る人体検出方法を具体的に説明するための図を示す。図5は、横軸に時間を示し、縦軸にセンサ値を示している。グラフ63a、63bは、それぞれ、センサ装置1a、1bのセンサ値の一例を示している。グラフ63a、63bは、図2に示したようにセンサ装置1a、1bを配置し、且つ図2に示したように人が移動した場合に得られたものである。   FIG. 5 is a diagram for specifically explaining the human body detection method according to the present embodiment. FIG. 5 shows time on the horizontal axis and sensor values on the vertical axis. Graphs 63a and 63b show examples of sensor values of the sensor devices 1a and 1b, respectively. The graphs 63a and 63b are obtained when the sensor devices 1a and 1b are arranged as shown in FIG. 2 and a person moves as shown in FIG.

図5に示す例では、人体検知判定部24は、時刻t31までは、センサ装置1a、1bのいずれのセンサ値も固定閾値Aを超えていないため、人体が存在しないと判定し、検知状態保持部25のフラグを「非検知」に設定し続ける。そして、人体検知判定部24は、時刻t31において、センサ装置1aのセンサ値が固定閾値Aを超えるため、人体が存在すると判定し、検知状態保持部25のフラグを「非検知」から「検知」に変更する。この後、時刻t32でセンサ装置1aのセンサ値が最大値Max1aに達し、時刻t32からセンサ装置1aのセンサ値が減衰し始める。動的閾値比較部23は、時刻t32において、最大値Max1aに対して所定の減衰率を乗算することで、センサ装置1aのセンサ値に対して用いる動的閾値α1を求める。時刻t32の後の時刻t33において、センサ装置1aのセンサ値における減衰量(最大値Max1aから減衰した量)が動的閾値α1を超えるが、もう一方のセンサ装置1bのセンサ値における減衰量が動的閾値を超えていない。そのため、人体検知判定部24は、時刻t33以降も、検知状態保持部25のフラグを「検知」に維持する。   In the example illustrated in FIG. 5, the human body detection determination unit 24 determines that no human body is present until the time t <b> 31 because none of the sensor values of the sensor devices 1 a and 1 b exceed the fixed threshold A, and maintains the detection state. The flag of the unit 25 is continuously set to “non-detection”. Then, since the sensor value of the sensor device 1a exceeds the fixed threshold A at time t31, the human body detection determination unit 24 determines that a human body is present, and changes the flag of the detection state holding unit 25 from “non-detection” to “detection”. Change to Thereafter, the sensor value of the sensor device 1a reaches the maximum value Max1a at time t32, and the sensor value of the sensor device 1a starts to attenuate from time t32. The dynamic threshold value comparison unit 23 obtains a dynamic threshold value α1 used for the sensor value of the sensor device 1a by multiplying the maximum value Max1a by a predetermined attenuation rate at time t32. At time t33 after time t32, the amount of attenuation in the sensor value of the sensor device 1a (the amount attenuated from the maximum value Max1a) exceeds the dynamic threshold α1, but the amount of attenuation in the sensor value of the other sensor device 1b does not move. The threshold is not exceeded. Therefore, the human body detection determination unit 24 maintains the flag of the detection state holding unit 25 at “detection” even after the time t33.

そして、時刻t33の後の時刻t34で、センサ装置1bのセンサ値が最大値Max1bに達し、時刻t34からセンサ装置1bのセンサ値が減衰し始める。動的閾値比較部23は、時刻t34において、最大値Max1bに対して所定の減衰率を乗算することで、センサ装置1bのセンサ値に対して用いる動的閾値β1を求める。時刻t34の後の時刻t35において、センサ装置1bのセンサ値における減衰量(最大値Max1bから減衰した量)が動的閾値β1を超えるため、センサ装置1a、1bの各々のセンサ値における減衰量が動的閾値α1、β1を超えた状態となる。そのため、人体検知判定部24は、時刻t35において、人体が存在しないと判定し、検知状態保持部25のフラグを「検知」から「非検知」に変更する。   Then, at time t34 after time t33, the sensor value of the sensor device 1b reaches the maximum value Max1b, and from time t34, the sensor value of the sensor device 1b starts to attenuate. The dynamic threshold value comparison unit 23 obtains a dynamic threshold value β1 used for the sensor value of the sensor device 1b by multiplying the maximum value Max1b by a predetermined attenuation rate at time t34. At time t35 after time t34, the amount of attenuation at the sensor value of the sensor device 1b (the amount attenuated from the maximum value Max1b) exceeds the dynamic threshold value β1, so the amount of attenuation at each sensor value of the sensor devices 1a and 1b is The dynamic threshold values α1 and β1 are exceeded. Therefore, the human body detection determination unit 24 determines that no human body exists at time t35, and changes the flag of the detection state holding unit 25 from “detection” to “non-detection”.

次に、図6及び図7を参照して、本実施例に係る人体検出方法の作用・効果について説明する。ここでは、上記した比較例に係る人体検出方法と比較しながら説明する。   Next, with reference to FIG.6 and FIG.7, the effect | action and effect of the human body detection method based on a present Example are demonstrated. Here, it demonstrates, comparing with the human body detection method concerning the above-mentioned comparative example.

図6は、背景温度の変化によってセンサ値のレベルが変化した場合についての、本実施例に係る人体検出方法の作用・効果を説明するための図を示す。図6(a)及び(b)では、図4(a)に示した照明51をオフにした場合の結果を例に挙げて説明する。つまり、図4(c)に示したセンサ装置1a、1bのセンサ値(グラフ62a、62b)を例に挙げて説明する。   FIG. 6 is a diagram for explaining the operation and effect of the human body detection method according to the present embodiment when the level of the sensor value changes due to the change of the background temperature. 6 (a) and 6 (b), an example of the result when the illumination 51 shown in FIG. 4 (a) is turned off will be described. That is, the sensor values (graphs 62a and 62b) of the sensor devices 1a and 1b illustrated in FIG. 4C will be described as an example.

図6(a)は、図4(c)と同様の、比較例に係る人体検出方法による結果の一例を示している。前述したように、比較例では、人が検出範囲50を通過している途中において(時刻t22から時刻t23までの期間)、人体が存在しないと誤判定されている。   FIG. 6A shows an example of a result obtained by the human body detection method according to the comparative example, similar to FIG. As described above, in the comparative example, it is erroneously determined that the human body does not exist while the person is passing the detection range 50 (period from time t22 to time t23).

図6(b)は、本実施例に係る人体検出方法による結果の一例を示している。本実施例では、人体検知判定部24は、時刻t41までは、センサ装置1a、1bのいずれのセンサ値も固定閾値Aを超えていないため、人体が存在しないと判定し、時刻t41において、センサ装置1aのセンサ値が固定閾値Aを超えるため、人体が存在すると判定する。この後、時刻t42において、センサ装置1aのセンサ値における減衰量が動的閾値α2を超え、さらに時刻t42の後の時刻t43において、センサ装置1bのセンサ値における減衰量が動的閾値β2を超える。そのため、人体検知判定部24は、時刻t41から時刻t43までは、人体が存在すると判定し、時刻t43以降では、人体が存在しないと判定する。   FIG. 6B shows an example of a result obtained by the human body detection method according to the present embodiment. In the present embodiment, the human body detection determination unit 24 determines that no human body exists because none of the sensor values of the sensor devices 1a and 1b exceed the fixed threshold A until time t41, and the sensor is detected at time t41. Since the sensor value of the device 1a exceeds the fixed threshold A, it is determined that a human body exists. Thereafter, at time t42, the attenuation amount in the sensor value of the sensor device 1a exceeds the dynamic threshold value α2, and further, at time t43 after time t42, the attenuation amount in the sensor value of the sensor device 1b exceeds the dynamic threshold value β2. . Therefore, the human body detection determination unit 24 determines that a human body exists from time t41 to time t43, and determines that no human body exists after time t43.

図6(b)より、本実施例に係る人体検出方法によれば、比較例に係る人体検出方法と異なり、人が検出範囲50を通過している途中において、人が存在すると適切に判定できていることがわかる。よって、本実施例によれば、背景温度の変化によるセンサ値のレベルの変動による影響を受けることなく、人体の存在有無を適切に判定することができると言える。   6B, according to the human body detection method according to the present embodiment, unlike the human body detection method according to the comparative example, it can be appropriately determined that a person exists while the person is passing through the detection range 50. You can see that Therefore, according to the present embodiment, it can be said that the presence / absence of the human body can be appropriately determined without being affected by the fluctuation of the sensor value level due to the change of the background temperature.

図7は、センサ装置1a、1bのセンサ値にばらつきがある場合についての、本実施例に係る人体検出方法の作用・効果を説明するための図を示す。図7(a)及び(b)では、グラフ65a、65bは、それぞれ、センサ装置1a、1bのセンサ値の一例を示している。ここでは、センサ装置1aのセンサ値のレベルがセンサ装置1bのセンサ値のレベルよりもかなり小さい場合を例に挙げている。   FIG. 7 is a diagram for explaining the operation and effect of the human body detection method according to the present embodiment when the sensor values of the sensor devices 1a and 1b vary. 7A and 7B, graphs 65a and 65b show examples of sensor values of the sensor devices 1a and 1b, respectively. Here, a case where the sensor value level of the sensor device 1a is considerably smaller than the sensor value level of the sensor device 1b is taken as an example.

図7(a)は、比較例に係る人体検出方法による結果の一例を示している。比較例に係る人体検出方法では、時刻t51までは、センサ装置1a、1bのいずれのセンサ値も固定閾値Aを超えていないため、人体が存在しないと判定され、時刻t51から時刻t52までは、センサ装置1aのセンサ値が固定閾値Aを超えているため、人体が存在すると判定される。そして、時刻t52から時刻t53までは、センサ装置1a、1bの両方のセンサ値が固定閾値Aを下回っているため、人体が存在しないと判定される。この後、時刻t53から時刻t54までは、センサ装置1bのセンサ値が固定閾値Aを超えているため、人体が存在すると判定され、時刻t54以降では、センサ装置1a、1bの両方のセンサ値が固定閾値Aを下回っているため、人体が存在しないと判定される。   FIG. 7A shows an example of a result obtained by the human body detection method according to the comparative example. In the human body detection method according to the comparative example, no sensor value of the sensor devices 1a and 1b exceeds the fixed threshold A until time t51, so it is determined that no human body exists, and from time t51 to time t52, Since the sensor value of the sensor device 1a exceeds the fixed threshold A, it is determined that a human body exists. From time t52 to time t53, since both sensor values of the sensor devices 1a and 1b are below the fixed threshold A, it is determined that there is no human body. Thereafter, from time t53 to time t54, since the sensor value of the sensor device 1b exceeds the fixed threshold A, it is determined that a human body exists, and after time t54, both sensor values of the sensor devices 1a and 1b are Since it is below the fixed threshold A, it is determined that no human body exists.

図7(a)より、比較例に係る人体検出方法では、時刻t52から時刻t53までの期間において、具体的には人がセンサ装置1a、1bの検出範囲50(詳しくはオーバーラップ領域50c)を通過している途中において、人体が存在しないと誤判定されていると言える。このような誤判定は、センサ装置1aのセンサ値が、固定閾値Aを用いて人体の存在有無を適切に判定可能なレベルに達していなかったために、発生したものと考えられる。   From FIG. 7A, in the human body detection method according to the comparative example, in the period from time t52 to time t53, specifically, a person sets the detection range 50 (specifically, the overlap region 50c) of the sensor devices 1a and 1b. In the middle of passing, it can be said that it is erroneously determined that the human body does not exist. Such an erroneous determination is considered to have occurred because the sensor value of the sensor device 1a did not reach a level at which the presence / absence of the human body can be appropriately determined using the fixed threshold A.

図7(b)は、本実施例に係る人体検出方法による結果の一例を示している。本実施例では、人体検知判定部24は、時刻t61までは、センサ装置1a、1bのいずれのセンサ値も固定閾値Aを超えていないため、人体が存在しないと判定し、時刻t61において、センサ装置1aのセンサ値が固定閾値Aを超えるため、人体が存在すると判定する。この後、時刻t62において、センサ装置1aのセンサ値における減衰量が動的閾値α3を超え、さらに時刻t62の後の時刻t63において、センサ装置1bのセンサ値における減衰量が動的閾値β3を超える。そのため、人体検知判定部24は、時刻t61から時刻t63までは、人体が存在すると判定し、時刻t63以降では、人体が存在しないと判定する。   FIG. 7B shows an example of a result obtained by the human body detection method according to the present embodiment. In the present embodiment, the human body detection determination unit 24 determines that no human body exists because none of the sensor values of the sensor devices 1a and 1b exceed the fixed threshold A until time t61, and the sensor is detected at time t61. Since the sensor value of the device 1a exceeds the fixed threshold A, it is determined that a human body exists. Thereafter, at time t62, the amount of attenuation at the sensor value of the sensor device 1a exceeds the dynamic threshold value α3, and at time t63 after time t62, the amount of attenuation at the sensor value of the sensor device 1b exceeds the dynamic threshold value β3. . Therefore, the human body detection determination unit 24 determines that a human body exists from time t61 to time t63, and determines that no human body exists after time t63.

図7(b)より、本実施例に係る人体検出方法によれば、比較例に係る人体検出方法と異なり、人が検出範囲50を通過している途中において、人が存在すると適切に判定できていることがわかる。よって、本実施例によれば、センサ装置1a、1bにおけるセンサ値のばらつきによる影響を受けることなく、人体の存在有無を適切に判定することができると言える。   7B, according to the human body detection method according to the present embodiment, unlike the human body detection method according to the comparative example, it can be appropriately determined that a person is present while the person is passing through the detection range 50. You can see that Therefore, according to the present embodiment, it can be said that the presence / absence of a human body can be appropriately determined without being affected by variations in sensor values in the sensor devices 1a and 1b.

以上説明したように、本実施例に係る人体検出方法によれば、背景温度の変化によるセンサ値のレベルの変動による影響や、センサ装置1a、1bにおけるセンサ値のばらつきによる影響などを抑制し、人体の存在有無を適切に判定することができる。具体的には、本実施例では、センサ装置1a、1bのセンサ値に応じて、センサ装置1a、1bの各々のセンサ値に対して用いる動的閾値を設定すると共に、センサ装置1a、1bのセンサ値における毎回の最大値に応じて動的閾値を設定するため、背景温度の変化やセンサ値のばらつきなどによる影響を受けることなく、人体の存在有無を適切に判定することができる。   As described above, according to the human body detection method according to the present embodiment, the influence due to the change in the level of the sensor value due to the change in the background temperature, the influence due to the variation in the sensor value in the sensor devices 1a and 1b, and the like are suppressed. The presence or absence of the human body can be determined appropriately. Specifically, in this embodiment, the dynamic threshold value used for each sensor value of the sensor devices 1a and 1b is set according to the sensor value of the sensor devices 1a and 1b, and the sensor devices 1a and 1b Since the dynamic threshold is set according to the maximum value of the sensor value every time, it is possible to appropriately determine the presence / absence of a human body without being affected by changes in the background temperature, variations in sensor values, and the like.

なお、前述した特許文献1に記載された技術では、背景温度のばらつきや温度変化に応じて調整した閾値を用いて、人体の存在有無を判定している。具体的には、センサの前に周期的に開閉するシャッター(チョッパー)を設けることにより背景温度を測定して、判定に用いる閾値を更新している。しかしながら、この技術では、人体が存在しないエリアについてのセンサの出力が変化しないと、判定に用いられる閾値が更新されなかったため、人体の存在有無を適切に判定することができない場合があった。これに対して、本実施例では、上記したようにセンサ値における毎回の最大値に応じて設定した動的閾値を用いるため、人体が存在しないエリアについてのセンサの出力が変化しなくても、人体の存在有無を適切に判定することができる。   In the technique described in Patent Document 1 described above, the presence / absence of a human body is determined using a threshold adjusted in accordance with variations in background temperature and changes in temperature. Specifically, the background temperature is measured by providing a shutter (chopper) that periodically opens and closes in front of the sensor, and the threshold used for the determination is updated. However, in this technique, if the output of the sensor for an area where no human body exists does not change, the threshold used for the determination is not updated, and thus it may not be possible to appropriately determine the presence or absence of the human body. On the other hand, in the present embodiment, as described above, because the dynamic threshold set according to the maximum value of each time in the sensor value is used, even if the output of the sensor for an area where no human body exists does not change, The presence or absence of the human body can be determined appropriately.

[人体検出処理]
次に、図8を参照して、本実施例に係る人体検出処理について説明する。図8は、本実施例に係る人体検出処理を示すフローチャートである。このフローは、人体検出装置2によって所定の周期で繰り返し実行される。
[Human body detection processing]
Next, a human body detection process according to the present embodiment will be described with reference to FIG. FIG. 8 is a flowchart illustrating human body detection processing according to the present embodiment. This flow is repeatedly executed by the human body detection device 2 at a predetermined cycle.

まず、ステップS101では、人体検出装置2内の信号取得部21が、センサ装置1a、1bからセンサ値を取得する。具体的には、信号取得部21は、センサ装置1a、1b内の信号処理部12a、12bのそれぞれによって処理(平滑化処理など)されたセンサ値を取得する。そして、処理はステップS102に進む。   First, in step S101, the signal acquisition unit 21 in the human body detection device 2 acquires sensor values from the sensor devices 1a and 1b. Specifically, the signal acquisition unit 21 acquires the sensor value processed (smoothing process or the like) by each of the signal processing units 12a and 12b in the sensor devices 1a and 1b. Then, the process proceeds to step S102.

ステップS102では、人体検出装置2内の人体検知判定部24が、検知状態保持部25のフラグが「非検知」に設定されているか否かを判定する。つまり、人体検知判定部24は、センサ装置1a、1bの検出範囲50に人体が存在しないと判定している状態であるか否かを判定する。検知状態保持部25のフラグが「非検知」に設定されている場合(ステップS102:Yes)、処理はステップS103に進む。   In step S102, the human body detection determination unit 24 in the human body detection device 2 determines whether or not the flag of the detection state holding unit 25 is set to “non-detection”. That is, the human body detection determination unit 24 determines whether or not it is determined that no human body exists in the detection ranges 50 of the sensor devices 1a and 1b. When the flag of the detection state holding unit 25 is set to “non-detection” (step S102: Yes), the process proceeds to step S103.

ステップS103では、人体検出装置2内の固定閾値比較部22が、ステップS101で取得されたセンサ装置1a、1bのいずれかのセンサ値が固定閾値を超えたか否かを判定する。センサ装置1a、1bのいずれかのセンサ値が固定閾値を超えた場合(ステップS103:Yes)、処理はステップS104に進む。この場合、人体検出装置2内の人体検知判定部24が、センサ装置1a、1bの検出範囲50に人体が存在すると判定し、検知状態保持部25のフラグを「非検知」から「検知」に変更する(ステップS104)。そして、処理は終了する。これに対して、センサ装置1a、1bのいずれのセンサ値も固定閾値を超えていない場合(ステップS103:No)、処理は終了する。   In step S103, the fixed threshold value comparison unit 22 in the human body detection device 2 determines whether one of the sensor values of the sensor devices 1a and 1b acquired in step S101 exceeds the fixed threshold value. When the sensor value of any of the sensor devices 1a and 1b exceeds the fixed threshold value (step S103: Yes), the process proceeds to step S104. In this case, the human body detection determination unit 24 in the human body detection device 2 determines that a human body exists in the detection range 50 of the sensor devices 1a and 1b, and the flag of the detection state holding unit 25 is changed from “non-detection” to “detection”. Change (step S104). Then, the process ends. On the other hand, when none of the sensor values of the sensor devices 1a and 1b exceed the fixed threshold value (step S103: No), the process ends.

他方で、検知状態保持部25のフラグが「非検知」に設定されていない場合(ステップS102:No)、つまり検知状態保持部25のフラグが「検知」に設定されている場合、処理はステップS105に進む。ステップS105では、人体検出装置2内の動的閾値比較部23が、ステップS101で取得されたセンサ装置1a、1bのセンサ値が共に動的閾値を超える減衰が生じたか否かを判定する。つまり、動的閾値比較部23は、センサ装置1a、1bのセンサ値における減衰量(最大値から減衰した量)が共に動的閾値を超えたか否かを判定する。なお、動的閾値は、上記の[人体検出方法]のセクションで述べたような方法により設定される。   On the other hand, when the flag of the detection state holding unit 25 is not set to “non-detection” (step S102: No), that is, when the flag of the detection state holding unit 25 is set to “detection”, the process is step. The process proceeds to S105. In step S105, the dynamic threshold value comparison unit 23 in the human body detection device 2 determines whether attenuation has occurred in which the sensor values of the sensor devices 1a and 1b acquired in step S101 both exceed the dynamic threshold value. That is, the dynamic threshold value comparison unit 23 determines whether or not the attenuation amount (amount attenuated from the maximum value) in the sensor values of the sensor devices 1a and 1b exceeds the dynamic threshold value. The dynamic threshold is set by a method as described in the section [Human Body Detection Method] above.

センサ装置1a、1bのセンサ値における減衰量が共に動的閾値を超えた場合(ステップS105:Yes)、処理はステップS106に進む。この場合、人体検出装置2内の人体検知判定部24が、センサ装置1a、1bの検出範囲50に人体が存在しないと判定し、検知状態保持部25のフラグを「検知」から「非検知」に変更する(ステップS106)。そして、処理は終了する。これに対して、センサ装置1a、1bのセンサ値における減衰量が共に動的閾値を超えていない場合(ステップS105:No)、処理は終了する。   When the amount of attenuation in the sensor values of the sensor devices 1a and 1b exceeds the dynamic threshold (step S105: Yes), the process proceeds to step S106. In this case, the human body detection determination unit 24 in the human body detection device 2 determines that no human body exists in the detection ranges 50 of the sensor devices 1a and 1b, and the flag of the detection state holding unit 25 is changed from “detection” to “non-detection”. (Step S106). Then, the process ends. On the other hand, when both the attenuation values of the sensor values of the sensor devices 1a and 1b do not exceed the dynamic threshold (step S105: No), the process ends.

[変形例]
以下では、上記の実施例に好適な変形例について説明する。なお、下記の変形例は、任意に組み合わせて上述の実施例に適用することができる。
[Modification]
Below, the modification suitable for said Example is demonstrated. It should be noted that the following modifications can be applied to the above-described embodiments in any combination.

(変形例1)
図1に示したシステムでは、人体検出装置2とセンサ装置1a、1bとが有線接続されていたが、Wi−Fi(wireless fidelity)などの通信手段を利用して、センサ装置と人体検出装置とを接続しても良い。図9は、このような変形例に係るシステムの概略構成を示す。図9において、図1と同一の符号を付した構成要素は、同様の構成であるものとして、その説明を省略する。
(Modification 1)
In the system shown in FIG. 1, the human body detection device 2 and the sensor devices 1a and 1b are connected by wire. However, the communication device such as Wi-Fi (wireless fidelity) is used to connect the sensor device and the human body detection device. May be connected. FIG. 9 shows a schematic configuration of a system according to such a modification. 9, components having the same reference numerals as those in FIG. 1 are assumed to have the same configuration, and the description thereof is omitted.

図9に示すように、変形例に係るシステムでは、センサ装置1xa、1xbと人体検出装置2xとがネットワーク4を介して接続されている。この構成では、センサ装置1xa、1xbは、信号処理部12a、12bによって処理されたセンサ値を信号送信部13a、13bによって送信し、人体検出装置2xは、信号送信部13a、13bから送信されたセンサ値を信号受信部26によって受信する。信号受信部26は、本発明における「取得手段」の一例である。   As shown in FIG. 9, in the system according to the modification, the sensor devices 1 xa and 1 xb and the human body detection device 2 x are connected via a network 4. In this configuration, the sensor devices 1xa and 1xb transmit the sensor values processed by the signal processing units 12a and 12b by the signal transmission units 13a and 13b, and the human body detection device 2x is transmitted from the signal transmission units 13a and 13b. The sensor value is received by the signal receiving unit 26. The signal receiving unit 26 is an example of the “acquiring unit” in the present invention.

(変形例2)
上記では、2つのセンサ装置1a、1bを用いる例を示したが、本発明の適用はこれに限定はされない。本発明は、1つのセンサ装置のみを用いる構成にも適用することができる。つまり、人体検出装置は、1つのセンサ装置のセンサ値に基づいて、当該センサ装置の検出範囲内に人体が存在するか否かを判定することができる。この場合、人体検出装置は、センサ装置のセンサ値が固定閾値(第1閾値)を超えた際に、人体が存在すると判定し、当該判定の後に、センサ値における減衰量が動的閾値(第2閾値)を超えた際に、人体が存在しないと判定する。動的閾値は、上記した実施例と同様に、センサ値の毎回の最大値に応じて設定される。このように1つのセンサ装置のみを用いた構成においても、動的閾値に基づいて判定を行うことで、背景温度の変化によるセンサ値のレベルの変動による影響などを抑制し、人体の存在有無を適切に判定することができる。
(Modification 2)
Although the example using two sensor devices 1a and 1b has been described above, the application of the present invention is not limited to this. The present invention can also be applied to a configuration using only one sensor device. That is, the human body detection device can determine whether or not a human body exists within the detection range of the sensor device based on the sensor value of one sensor device. In this case, the human body detection device determines that a human body exists when the sensor value of the sensor device exceeds a fixed threshold (first threshold), and after the determination, the attenuation in the sensor value is the dynamic threshold (first threshold). 2), it is determined that no human body exists. The dynamic threshold is set according to the maximum value of the sensor value every time, as in the above-described embodiment. Thus, even in a configuration using only one sensor device, by making a determination based on the dynamic threshold, the influence of fluctuations in the sensor value level due to changes in the background temperature is suppressed, and the presence / absence of a human body can be determined. It can be judged appropriately.

更に他の例では、本発明は、3つ以上のセンサ装置を用いる構成にも適用することができる。つまり、人体検出装置は、3つ以上のセンサ装置のセンサ値に基づいて、当該センサ装置の検出範囲内に人体が存在するか否かを判定することができる。この場合、人体検出装置は、3つ以上のセンサ装置のいずれか1つのセンサ値が固定閾値(第1閾値)を超えた際に、人体が存在すると判定し、当該判定の後に、3つ以上のセンサ装置の全てのセンサ値における減衰量が動的閾値(第2閾値)を超えた際に、人体が存在しないと判定する。動的閾値は、上記した実施例と同様に、3つ以上のセンサ装置の各々のセンサ値における毎回の最大値に応じて、各センサ装置のセンサ値ごとに設定される。このように3つ以上のセンサ装置を用いた構成においても、動的閾値に基づいて判定を行うことで、背景温度の変化によるセンサ値のレベルの変動による影響や、3つ以上のセンサ装置におけるセンサ値のばらつきによる影響などを抑制し、人体の存在有無を適切に判定することができる。なお、3つ以上のセンサ装置を用いる場合、3つ以上のセンサ装置のうちの2以上のセンサにおける検出範囲がオーバーラップするようにセンサ装置を配置することが好ましい。   In yet another example, the present invention can be applied to a configuration using three or more sensor devices. That is, the human body detection device can determine whether or not a human body exists within the detection range of the sensor device based on the sensor values of three or more sensor devices. In this case, the human body detection device determines that a human body exists when any one of the three or more sensor devices exceeds a fixed threshold (first threshold), and after the determination, three or more When the attenuation amount of all the sensor values of the sensor device exceeds the dynamic threshold (second threshold), it is determined that no human body exists. The dynamic threshold is set for each sensor value of each sensor device according to the maximum value of each sensor value of each of the three or more sensor devices, as in the above-described embodiment. Even in a configuration using three or more sensor devices in this way, by making a determination based on the dynamic threshold, the influence of the change in the level of the sensor value due to the change in the background temperature, or in the three or more sensor devices It is possible to appropriately determine the presence / absence of a human body by suppressing the influence of variations in sensor values. When three or more sensor devices are used, it is preferable to arrange the sensor devices so that detection ranges of two or more sensors among the three or more sensor devices overlap.

図10は、4つのセンサ装置1ya〜1ydを用いた場合の構成例を示している。図10に示すように、4つのセンサ装置1ya〜1ydは、空間の4隅に配置されると共に、それぞれの検出範囲がオーバーラップするように配置されている。   FIG. 10 shows a configuration example when four sensor devices 1ya to 1yd are used. As shown in FIG. 10, the four sensor devices 1ya to 1yd are arranged at the four corners of the space, and are arranged so that the respective detection ranges overlap.

(変形例3)
上記では、減衰率に基づいて動的閾値を求める例を示したが、具体的にはセンサ値の最大値に対して所定の減衰率を乗算することで動的閾値を求める例を示したが、このように動的閾値を求めることに限定はされない。他の例では、センサ値の最大値に応じて設定すべき動的閾値が規定されたテーブルを用いて、動的閾値を設定することができる。例えばテーブルには、センサ値の最大値が大きくなるほど、大きな値を有する動的閾値が決定され、センサ値の最大値が小さくなるほど、小さな値を有する動的閾値が決定されるように、動的閾値が段階的に規定されている。
(Modification 3)
In the above, an example in which the dynamic threshold is obtained based on the attenuation rate has been shown. Specifically, an example in which the dynamic threshold is obtained by multiplying the maximum sensor value by a predetermined attenuation rate has been shown. Thus, the determination of the dynamic threshold is not limited. In another example, the dynamic threshold can be set using a table in which the dynamic threshold to be set according to the maximum value of the sensor value is defined. For example, in the table, a dynamic threshold having a larger value is determined as the maximum value of the sensor value is increased, and a dynamic threshold having a smaller value is determined as the maximum value of the sensor value is decreased. A threshold is defined in stages.

(変形例4)
上記では、「非検知」の状態において人体が存在するか否かを判定する際に固定閾値を用いる例を示したが、つまり本発明における「第1閾値」として固定閾値を用いる例を示したが、このような固定閾値を用いることに限定はされない。他の例では、「非検知」の状態での各センサ装置のセンサ値における最小値に対して所定値を加算した値を、人体が存在するか否かを判定するための第1閾値として用いることができる。この例では、各センサ装置のセンサ値ごとに異なる第1閾値が設定されると共に、センサ値の毎回の最小値に応じて異なる第1閾値が設定される。
(Modification 4)
In the above, an example in which a fixed threshold is used when determining whether or not a human body exists in the state of “non-detection” has been shown, that is, an example in which a fixed threshold is used as the “first threshold” in the present invention has been shown. However, it is not limited to using such a fixed threshold value. In another example, a value obtained by adding a predetermined value to the minimum value of the sensor values of each sensor device in the “non-detection” state is used as a first threshold value for determining whether or not a human body exists. be able to. In this example, a different first threshold value is set for each sensor value of each sensor device, and a different first threshold value is set according to the minimum value of each sensor value.

(変形例5)
本発明は、音響空間において人体位置に応じた最適な音場を提供することを図った音響機器や、人体位置に応じて制御の調整を行うエアコンなどの家電機器や照明などに利用することができる。
(Modification 5)
INDUSTRIAL APPLICABILITY The present invention can be used for acoustic equipment that aims to provide an optimal sound field according to a human body position in an acoustic space, home appliances such as an air conditioner that adjusts control according to the human body position, and lighting. it can.

以上に述べたように、実施例は、上述した実施例に限られるものではなく、特許請求の範囲及び明細書全体から読み取れる発明の要旨あるいは思想に反しない範囲で適宜変更可能である。   As described above, the embodiments are not limited to the above-described embodiments, and can be appropriately changed without departing from the gist or concept of the invention that can be read from the claims and the entire specification.

1a、1b センサ装置
2 人体検出装置
11a、11b センサ部
12a、12b 信号処理部
21 信号取得部
22 固定閾値比較部
23 動的閾値比較部
24 人体検知判定部
25 検知状態保持部
DESCRIPTION OF SYMBOLS 1a, 1b Sensor apparatus 2 Human body detection apparatus 11a, 11b Sensor part 12a, 12b Signal processing part 21 Signal acquisition part 22 Fixed threshold value comparison part 23 Dynamic threshold value comparison part 24 Human body detection determination part 25 Detection state holding part

Claims (10)

人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置であって、
前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得手段と、
前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段と、を備え、
前記判定手段は、
前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、
前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定することを特徴とする人体検出装置。
A human body detection device that determines the presence or absence of a human body using a plurality of sensors that detect the movement of the human body and output an electrical signal,
Obtaining means for obtaining an output value corresponding to the electrical signal output by the plurality of sensors;
Determination means for determining whether or not a human body exists within a detection range of the sensor based on the output values of the plurality of sensors,
The determination means includes
When the output value of any one of the plurality of sensors exceeds a first threshold, it is determined that the human body exists,
A human body detection apparatus, wherein after determining that the human body exists, when the attenuation amount of all the output values of the plurality of sensors exceeds a second threshold, it is determined that the human body does not exist.
前記判定手段は、前記複数のセンサの各々の前記出力値に応じて、前記複数のセンサごとに前記第2閾値を設定することを特徴とする請求項1に記載の人体検出装置。   The human body detection apparatus according to claim 1, wherein the determination unit sets the second threshold value for each of the plurality of sensors according to the output value of each of the plurality of sensors. 前記判定手段は、前記複数のセンサの各々の前記出力値における最大値に応じて、前記第2閾値を設定することを特徴とする請求項2に記載の人体検出装置。   The human body detection apparatus according to claim 2, wherein the determination unit sets the second threshold according to a maximum value of the output values of each of the plurality of sensors. 前記判定手段は、前記複数のセンサの各々の前記出力値における最大値に所定の減衰率を乗算することで、前記第2閾値を求めることを特徴とする請求項3に記載の人体検出装置。   The human body detection apparatus according to claim 3, wherein the determination unit obtains the second threshold value by multiplying a maximum value of the output values of each of the plurality of sensors by a predetermined attenuation rate. 前記判定手段は、前記複数のセンサの各々の前記出力値に応じて、前記第2閾値を逐次更新することを特徴とする請求項2乃至4のいずれか一項に記載の人体検出装置。   5. The human body detection apparatus according to claim 2, wherein the determination unit sequentially updates the second threshold value in accordance with the output value of each of the plurality of sensors. 前記複数のセンサは、当該複数のセンサのうちの2以上のセンサにおける検出範囲がオーバーラップするように配置されていることを特徴とする請求項1乃至5のいずれか一項に記載の人体検出装置。   The human body detection according to any one of claims 1 to 5, wherein the plurality of sensors are arranged so that detection ranges of two or more of the plurality of sensors overlap each other. apparatus. 前記取得手段は、前記複数のセンサが出力した前記電気的信号に対して平滑化処理が行われた後の信号を、前記出力値として取得することを特徴とする請求項1乃至6のいずれか一項に記載の人体位置検出装置。   The acquisition means acquires the signal after the smoothing process is performed on the electrical signals output from the plurality of sensors as the output value. The human body position detecting device according to one item. 人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置によって行われる人体検出方法であって、
前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得工程と、
前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定工程と、を備え、
前記判定工程は、
前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、
前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定することを特徴とする人体検出方法。
A human body detection method performed by a human body detection device that determines the presence or absence of a human body using a plurality of sensors that detect the movement of the human body and output an electrical signal,
An acquisition step of acquiring an output value corresponding to the electrical signal output by the plurality of sensors;
A determination step of determining whether or not a human body exists within a detection range of the sensor based on the output values of the plurality of sensors,
The determination step includes
When the output value of any one of the plurality of sensors exceeds a first threshold, it is determined that the human body exists,
A human body detection method comprising: determining that the human body does not exist when it is determined that the human body is present and attenuation values of all the output values of the plurality of sensors exceed a second threshold.
コンピュータを有し、人体の動きを検出して電気的信号を出力する複数のセンサを用いて、人体の存在有無を判定する人体検出装置において実行されるプログラムであって、
前記コンピュータを、
前記複数のセンサが出力した前記電気的信号に対応する出力値を取得する取得手段、
前記複数のセンサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段、として機能させ、
前記判定手段は、
前記複数のセンサのいずれか1つの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、
前記人体が存在すると判定した後に、前記複数のセンサの全ての前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定することを特徴とするプログラム。
A program that is executed in a human body detection device that has a computer and determines the presence or absence of a human body using a plurality of sensors that detect movement of the human body and output an electrical signal,
The computer,
Obtaining means for obtaining an output value corresponding to the electrical signal output by the plurality of sensors;
Based on the output values of the plurality of sensors, function as a determination unit that determines whether a human body exists within the detection range of the sensors,
The determination means includes
When the output value of any one of the plurality of sensors exceeds a first threshold, it is determined that the human body exists,
After determining that the human body exists, the program determines that the human body does not exist when the attenuation amount of all the output values of the plurality of sensors exceeds a second threshold value.
人体の動きを検出して電気的信号を出力するセンサを用いて、人体の存在有無を判定する人体検出装置であって、
前記センサが出力した前記電気的信号に対応する出力値を取得する取得手段と、
前記センサにおける前記出力値に基づいて、当該センサの検出範囲内に人体が存在するか否かを判定する判定手段と、を備え、
前記判定手段は、
前記センサの前記出力値が第1閾値を超えた際に、前記人体が存在すると判定し、
前記人体が存在すると判定した後に、前記センサの前記出力値における減衰量が第2閾値を超えた際に、前記人体が存在しないと判定することを特徴とする人体検出装置。
A human body detection device that determines the presence or absence of a human body using a sensor that detects the movement of the human body and outputs an electrical signal,
Obtaining means for obtaining an output value corresponding to the electrical signal output by the sensor;
Determination means for determining whether or not a human body exists within a detection range of the sensor based on the output value of the sensor,
The determination means includes
When the output value of the sensor exceeds a first threshold, it is determined that the human body exists,
After determining that the human body exists, the human body detection apparatus determines that the human body does not exist when an attenuation amount in the output value of the sensor exceeds a second threshold value.
JP2012002802A 2012-01-11 2012-01-11 Human body detecting device, human body detecting method and program Pending JP2013142605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012002802A JP2013142605A (en) 2012-01-11 2012-01-11 Human body detecting device, human body detecting method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012002802A JP2013142605A (en) 2012-01-11 2012-01-11 Human body detecting device, human body detecting method and program

Publications (1)

Publication Number Publication Date
JP2013142605A true JP2013142605A (en) 2013-07-22

Family

ID=49039240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012002802A Pending JP2013142605A (en) 2012-01-11 2012-01-11 Human body detecting device, human body detecting method and program

Country Status (1)

Country Link
JP (1) JP2013142605A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020059449A1 (en) * 2018-09-21 2020-03-26 パナソニックIpマネジメント株式会社 Person detection system and program
SE2050418A1 (en) * 2020-04-14 2021-10-15 Jondetech Sensors Ab Publ Method and system for waking up a device
SE544484C2 (en) * 2019-02-18 2022-06-14 Jondetech Sensors Ab Publ Method and system for detecting presence of a person

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020059449A1 (en) * 2018-09-21 2020-03-26 パナソニックIpマネジメント株式会社 Person detection system and program
SE544484C2 (en) * 2019-02-18 2022-06-14 Jondetech Sensors Ab Publ Method and system for detecting presence of a person
US11946810B2 (en) 2019-02-18 2024-04-02 Jondetech Sensors Ab (Publ) Method and system for detecting presence of a person
SE2050418A1 (en) * 2020-04-14 2021-10-15 Jondetech Sensors Ab Publ Method and system for waking up a device
SE544639C2 (en) * 2020-04-14 2022-10-04 Jondetech Sensors Ab Publ Method and system for determining the presence of a person to wake up a device

Similar Documents

Publication Publication Date Title
EP4248920A3 (en) Ostomy appliance system, monitor device, and method of monitoring an ostomy appliance
US20090240375A1 (en) Vibration control system
KR101921675B1 (en) Touchscreen interference suppression method and apparatus, and terminal device
WO2011095810A3 (en) Scanning systems
CN104869662A (en) Proximity Detection Of Candidate Companion Display Device In Same Room As Primary Display Using Wi-fi Or Bluetooth Signal Strength
KR20160084585A (en) Method and apparatus for processing sensor data
GB2550476A (en) Method and apparatus for resource balancing in an automation and alarm architecture
JP2014098571A5 (en) Object detection method, object detection program, and motion control system
JP2013142605A (en) Human body detecting device, human body detecting method and program
EP3389332B1 (en) Commissioning of a plurality of devices
RU2016150816A (en) APPROXIMATION DETECTION BY AUDIO SIGNALS
EP3680754A3 (en) Orientation of an electronic device toward a user using utterance localization and image processing.
US10042428B2 (en) Non-touch control apparatus and control method thereof
Oguchi et al. Human positioning estimation method using received signal strength indicator (RSSI) in a wireless sensor network
CN105791518B (en) Information processing method and electronic equipment
EP2490261A3 (en) X-ray detectors including diffusion barrier filims
JP2015056030A5 (en)
EP3121970A1 (en) Near-field communication system and terminal
MX371401B (en) Communication method within a dynamic-depth cluster of communicating electronic devices, communicating electronic device implementing said method and associated system.
JP2013068455A (en) Sensor control apparatus
KR102319419B1 (en) Method and device for determining distance between devices
JP2011250243A (en) Sound volume adjustment system and sound volume adjustment method
WO2015114500A3 (en) Computer controlled occupancy sensors system
WO2014001930A3 (en) Active noise reduction system for communication device and noise reduction processing method therefor
JP6196051B2 (en) Alarm system