JP5037482B2 - Human body presence detection apparatus and human body presence detection method - Google Patents

Human body presence detection apparatus and human body presence detection method Download PDF

Info

Publication number
JP5037482B2
JP5037482B2 JP2008325202A JP2008325202A JP5037482B2 JP 5037482 B2 JP5037482 B2 JP 5037482B2 JP 2008325202 A JP2008325202 A JP 2008325202A JP 2008325202 A JP2008325202 A JP 2008325202A JP 5037482 B2 JP5037482 B2 JP 5037482B2
Authority
JP
Japan
Prior art keywords
human body
state
detection state
detection
transition pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008325202A
Other languages
Japanese (ja)
Other versions
JP2010145323A (en
Inventor
昭人 石田
勝 久保
信也 川西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2008325202A priority Critical patent/JP5037482B2/en
Publication of JP2010145323A publication Critical patent/JP2010145323A/en
Application granted granted Critical
Publication of JP5037482B2 publication Critical patent/JP5037482B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Optical Distance (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Geophysics And Detection Of Objects (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Description

本発明は、基準位置から一定距離内に人体が存在するか否かの判断を行う機能を備えた人体存在検知装置、及び、人体存在検知方法に関する。   The present invention relates to a human body presence detection apparatus and a human body presence detection method having a function of determining whether or not a human body exists within a certain distance from a reference position.

近年、パソコン等の操作者が操作する電子機器等に対して、省エネ対策等の観点から、電子機器の前に操作者が存在するか否かを、非接触で検知することにより、表示画面の表示のON/OFFを制御する等の対策が講じられている。   In recent years, from the viewpoint of energy saving measures, etc. for electronic devices that are operated by an operator such as a personal computer, it is possible to detect whether or not an operator exists in front of the electronic device without contact. Measures such as controlling the ON / OFF of the display are taken.

このような、操作者等の人体の存在を非接触で検知する方法としては、例えば、CCDカメラ等を用いて、撮影された画像から人体の画像を抽出する方法がある。この方法は、人体の存在を確実に検知することができる利点があるが、CCDカメラ等を用いなければならないことや、撮影された画像から人体の画像を抽出するアルゴリズムが非常に複雑となるため、装置が大がかりとなり、高コストとなる。   As a method for detecting the presence of a human body such as an operator in a non-contact manner, for example, there is a method of extracting a human body image from a photographed image using a CCD camera or the like. This method has the advantage that the presence of a human body can be detected with certainty. However, a CCD camera or the like must be used, and an algorithm for extracting a human body image from a captured image becomes very complicated. The equipment becomes large and the cost is high.

そのため、低コストのセンサを用いて、人体の存在を検知する方法が検討され、例えば、焦電型の赤外線センサを用いる方法が提案されている。しかし、この焦電型の赤外線センサを用いる方法は、低コストであるが、位置の特定ができず、また、静止状態である人体の存在を検知することが困難である。   Therefore, a method for detecting the presence of a human body using a low-cost sensor has been studied. For example, a method using a pyroelectric infrared sensor has been proposed. However, this method using a pyroelectric infrared sensor is low in cost, but cannot specify the position, and it is difficult to detect the presence of a human body that is stationary.

そこで、複数のセンサを組合せて、人体の存在を検知する方法が模索され、焦電型センサと赤外線測距センサを組合せた方法(特許文献1参照)や、可視光画像に基づいて動体を検知する動体検知センサと赤外線の量または赤外線の変化量を検知する赤外線センサを組合せた方法(特許文献2参照)等が、提案されている。
特開平8−338880号公報 特開2000−155177号公報
Therefore, a method for detecting the presence of a human body by combining a plurality of sensors is sought, and a method of combining a pyroelectric sensor and an infrared distance measuring sensor (see Patent Document 1) or a moving object is detected based on a visible light image. A method of combining a moving body detection sensor that detects an amount of infrared rays or an infrared sensor that detects an amount of change in infrared rays (see Patent Document 2) has been proposed.
JP-A-8-338880 JP 2000-155177 A

しかし、特許文献1や、特許文献2に記載の方法は、いずれも、上述したように、複数のセンサを組合せて用いることから、高コストとならざるを得ず、また、小型化することが困難である。   However, since the methods described in Patent Document 1 and Patent Document 2 both use a plurality of sensors in combination, as described above, the cost is inevitably high and the size can be reduced. Have difficulty.

また、パソコン等の操作者が操作する電子機器に対して、この電子機器の操作者である人体の存在を検知して、この電子機器の表示画面の表示のON/OFFを制御する等の電子機器の制御等に利用しようとする要望もある。   In addition, for electronic devices operated by an operator such as a personal computer, an electronic device such as detecting the presence of a human body that is an operator of the electronic device and controlling the display on / off of the display screen of the electronic device. There is also a demand to use for device control.

そうすると、このような場合には、操作者が、電子機器の前から離れるのが短時間で、すぐに戻ることが想定されるような場合もある。このような場合に、単に、人体が存在するか否かの検知結果を、そのまま利用することは、かえって混乱を招く場合がある。   Then, in such a case, it may be assumed that the operator leaves the electronic device in a short time and returns immediately. In such a case, simply using the detection result as to whether or not a human body is present may cause confusion.

そこで、この発明は、上記のような状況に対処するためになされたものであって、低コストで実現可能であると共に、人体が存在するか否かの検知を、操作者である人体が操作する電子機器の制御等に適合しやすい、人体存在検知装置及び人体存在検知方法を提供しようとするものである。   Therefore, the present invention has been made to cope with the above-described situation, and can be realized at low cost, and detection of whether or not a human body exists can be performed by a human body as an operator. It is an object of the present invention to provide a human body presence detection device and a human body presence detection method that are easily adapted to control of electronic equipment.

まず、本発明の人体存在検知装置について説明する。本発明の人体存在検知装置は、基準位置から一定距離内に、人体が存在するか否かの判断を行う機能を備えた人体存在検知装置である。   First, the human body presence detection apparatus of the present invention will be described. The human body presence detection device of the present invention is a human body presence detection device having a function of determining whether or not a human body exists within a certain distance from a reference position.

図1は、本発明の人体存在検知装置1の構成を示したブロック図である。図1において、この人体存在検知装置1は、離間距離測定手段2、判定結果形成手段3、検知状態情報形成手段4、状態遷移パターン形成手段5、及び、判断手段6で構成される。   FIG. 1 is a block diagram showing a configuration of a human body presence detection apparatus 1 according to the present invention. In FIG. 1, the human body presence detection device 1 includes a separation distance measurement unit 2, a determination result formation unit 3, a detection state information formation unit 4, a state transition pattern formation unit 5, and a determination unit 6.

この内、離間距離測定手段2は、基準位置に設置されると共に、該基準位置から一定方向に存在する人体または物9の存在位置に対する基準位置からの離間距離を、一定時間経過毎に、即ち、一定時間間隔で測定する機能を備えている。   Among them, the separation distance measuring means 2 is installed at the reference position, and the separation distance from the reference position with respect to the existence position of the human body or the object 9 existing in a certain direction from the reference position is determined at every elapse of a certain time, that is, It has a function to measure at regular time intervals.

判定結果形成手段3は、上記の離間距離測定手段2により、一定時間の経過の前後における経過前測定時点で測定された離間距離である経過前離間距離と、経過後測定時点で測定された離間距離である経過後離間距離とを用いることにより、次の処理を行う機能を備えている。   The determination result forming unit 3 uses the above-described separation distance measurement unit 2 to determine the separation distance before the passage measured before and after the passage of a predetermined time and the separation measured at the passage of time after the measurement. By using the post-elapse separation distance, which is a distance, a function of performing the following processing is provided.

即ち、経過後離間距離が一定距離以下であるか否かを判断してその判断結果を示す情報である一定距離内外判定結果と、経過後離間距離が経過前離間距離と略一致するか否かを判断してその判断結果を示す情報である動静判定結果とを形成する機能である。   That is, it is determined whether or not the separation distance after the passage is equal to or less than the certain distance, and whether or not the constant distance inside / outside determination result, which is information indicating the determination result, is substantially equal to the separation distance before the passage. And a motion determination result that is information indicating the determination result.

検知状態情報形成手段4は、上記の判定結果形成手段3により形成された一定距離内外判定結果と、動静判定結果とで構成される検知状態情報を形成する機能を備えている。   The detection state information forming unit 4 has a function of forming detection state information including a constant distance inside / outside determination result formed by the determination result forming unit 3 and a movement / non-movement determination result.

状態遷移パターン形成手段5は、前回検知状態から今回検知状態への状態遷移パターンを形成する機能を備えている。前回検知状態とは、離間距離測定手段2が測定を行った最新測定時点よりも一定時間経過前の時点を経過後測定時点として形成された検知状態情報における検知状態である。また、今回検知状態とは、最新測定時点を経過後測定時点として形成された検知状態情報である今回検知状態情報における検知状態である。   The state transition pattern forming unit 5 has a function of forming a state transition pattern from the previous detection state to the current detection state. The previous detection state is a detection state in detection state information formed by setting a time point before the elapse of a certain time from the latest measurement time point when the separation distance measuring unit 2 performs the measurement as a post-elapse measurement time point. The current detection state is a detection state in the current detection state information which is detection state information formed with the latest measurement time point as the measurement time point after the elapse of time.

即ち、上記の状態遷移パターン形成手段は、検知状態情報として、離間距離測定手段が測定を行った最新測定時点よりも一定時間経過前の時点における前回検知状態情報と、最新測定時点における今回検知状態情報とを用いて、状態遷移パターンを形成する。   That is, the state transition pattern forming unit described above includes, as the detection state information, the previous detection state information at a point before a certain period of time has elapsed from the latest measurement point at which the separation distance measurement unit has performed measurement, and the current detection state at the latest measurement point. A state transition pattern is formed using the information.

そして、判断手段6は、上記の状態遷移パターン形成手段5により形成された状態遷移パターンが、人体存在有無と関連付けられて予め記憶されている複数の基準状態遷移パターンの中から合致するものを選択することにより、基準位置から一定距離内に人体が存在するか否かの判断を行う機能を備えている。   Then, the determination unit 6 selects the state transition pattern formed by the state transition pattern formation unit 5 that matches the reference state transition pattern stored in advance in association with the presence or absence of the human body. By doing so, it has a function of determining whether or not a human body exists within a certain distance from the reference position.

上記の人体存在検知装置1では、基準位置から一定方向に存在する人体または物9の存在位置に対する該基準位置からの離間距離を測定するのに用いられる離間距離測定手段2としては、赤外線距離測定センサや、レーザ光距離測定センサ等の距離測定センサが、1個でよい。   In the human body presence detection apparatus 1 described above, the separation distance measuring means 2 used for measuring the separation distance from the reference position with respect to the presence position of the human body or the object 9 existing in a certain direction from the reference position is an infrared distance measurement. One distance measuring sensor such as a sensor or a laser beam distance measuring sensor may be used.

そのため、上記の人体存在検知装置1によれば、1個の距離測定センサで、基準位置から一定方向に存在する人体または物9の存在位置に対する基準位置からの離間距離を測定することができる。従って、複数の距離測定センサを用いる必要がないことから、人体存在検知装置を低コストで実現することができる。   Therefore, according to the human body presence detection device 1 described above, the distance from the reference position to the position of the human body or the object 9 existing in a certain direction from the reference position can be measured with one distance measurement sensor. Therefore, since it is not necessary to use a plurality of distance measuring sensors, the human body presence detection device can be realized at low cost.

また、離間距離測定手段2が測定を行った最新測定時点よりも一定時間経過前の時点における前回検知状態から、最新測定時点における今回検知状態への状態遷移パターンを用いて人体が存在するか否かの判断を行っているので、後述するように、次のような状態における人体が存在するか否かの判断を行うことができる。   Further, whether or not a human body exists using a state transition pattern from the previous detection state at a time point before a certain time has elapsed from the latest measurement time point when the separation distance measuring unit 2 performs measurement to the current detection state at the latest measurement time point. Therefore, as described later, it is possible to determine whether or not a human body exists in the following state.

即ち、例えば、パソコン等の操作者が操作する電子機器における操作者の人体の存在を検知する場合等において、操作者が、電子機器の前から離れるのが短時間で、すぐに戻ることが想定されるような場合があるが、このような場合に適合しやすい、後述する条件付判断をすることができる。   That is, for example, when detecting the presence of an operator's human body in an electronic device operated by an operator such as a personal computer, it is assumed that the operator leaves the electronic device in a short time and returns immediately. However, it is possible to make a conditional judgment, which will be described later.

上記の人体存在検知装置において、次のようにするのが合理的である。即ち、状態遷移パターン形成手段は、状態遷移パターンを形成するのに、前回検知状態情報に代えて、最新測定時点よりも一定時間経過前の過去の時点が、最新測定時点であった時に、検知状態情報形成手段が形成した今回検知状態情報を用いるのである。このようにすることができるのは、次の理由による。   In the above human body presence detection apparatus, it is reasonable to do the following. That is, the state transition pattern forming means detects when the past measurement time before the latest measurement time is the latest measurement time instead of the previous detection state information to form the state transition pattern. The current detection state information formed by the state information forming unit is used. This can be done for the following reason.

即ち、上記の人体存在検知装置では、判定結果形成手段が、一定時間の経過前の経過前離間距離と、経過後の経過後離間距離とを用いることにより、経過後離間距離が一定距離以下であるか否かを示す一定距離内外判定結果と、経過前離間距離と経過後離間距離とが略一致するか否かを示す動静判定結果とを形成する。   That is, in the human body presence detection device, the determination result forming unit uses the pre-elapsed separation distance before the lapse of a predetermined time and the post-elapse separation distance after the lapse of time, so that the post-elapse separation distance is less than or equal to the predetermined distance. A fixed distance inside / outside determination result indicating whether or not there is, and a moving and static determination result indicating whether or not the pre-elapsed separation distance and the post-elapsed separation distance substantially coincide with each other are formed.

この判定結果形成手段による一定距離内外判定結果と動静判定結果の形成は、一定時間の経過毎に繰返され、この形成された一定距離内外判定結果と動静判定結果とを用いて、検知状態情報形成手段が、検知状態情報を形成する。即ち、検知状態情報形成手段は、一定時間の経過毎に検知状態情報を形成する。   The formation of the constant distance inside / outside determination result and the movement / non-execution determination result by the determination result forming unit is repeated every time a fixed time elapses, and using the formed constant distance inside / outside determination result and the movement / static determination result, detection state information is formed. Means form detection status information. In other words, the detection state information forming unit forms detection state information every time a predetermined time elapses.

ところで、状態遷移パターン形成手段は、検知状態情報として、離間距離測定手段が測定を行った最新測定時点よりも一定時間経過前の時点における検知状態情報である前回検知状態情報と、最新測定時点における検知状態情報である今回検知状態情報とを用いる。   By the way, the state transition pattern forming means includes, as detection state information, previous detection state information that is detection state information at a time before a certain time elapses from the latest measurement time point when the separation distance measurement unit performs measurement, and at the latest measurement time point. This time detection state information which is detection state information is used.

そうすると、前回検知状態情報は、最新測定時点よりも一定時間経過前の過去の時点が、最新測定時点であった時に、検知状態情報形成手段が形成した上記の過去の時点における今回検知状態情報と同じであるから、上記のようにすることができるのである。   Then, the previous detection state information includes the current detection state information at the past time point formed by the detection state information forming means when the past time point before the latest measurement time point is the latest measurement time point. Since it is the same, it can be performed as described above.

また、上記の人体存在検知装置において、次のようにするのが好適である。即ち、判定結果形成手段が形成する一定距離内外判定結果は、経過後離間距離が、一定距離以下であると「内」、一定距離以下と異なると、即ち、一定距離以下ではないと「外」となり、動静判定結果は、経過後離間距離が、経過前離間距離と略一致すると「静」、経過前離間距離と異なると、即ち、経過前離間距離と一致しないと「動」となるようにする。   In the above human body presence detection apparatus, it is preferable to do the following. That is, the determination result inside / outside determination result formed by the determination result forming means indicates that the separation distance after the passage is “inside” if it is less than a certain distance, and “outside” if it is different from the certain distance or less, that is, not less than a certain distance. The result of the movement and static judgment is “static” when the post-elapse separation distance substantially matches the pre-elapse separation distance, and “moving” when the post-elapse separation distance is different from the pre-elapse separation distance. To do.

これらを具体的に説明すると、次のようになる。例えば、上記の例のように、基準位置に存在する電子機器の前に、人体が椅子等に座った状態で存在する場合、経過後離間距離は一定距離以下となるので、一定距離内外判定結果は、「内」となる。しかし、人体は、物と違って、ある程度、絶えず動くので、経過後離間距離は経過前離間距離と異なることから、動静判定結果は、「動」となる。   These will be specifically described as follows. For example, when the human body is sitting on a chair or the like in front of the electronic device existing at the reference position as in the above example, the separation distance after the passage is equal to or less than a certain distance. Is “inside”. However, since the human body moves constantly to some extent, unlike a thing, the separation distance after the lapse differs from the separation distance before the lapse, so the movement determination result is “movement”.

これに対して、電子機器の前に、椅子等が存在するのみで人体は存在しない場合、上記と同様、経過後離間距離は一定距離以下となるので、一定距離内外判定結果は、「内」となる。しかし、物である椅子は、動かないので、経過後離間距離は経過前離間距離と略一致することから、動静判定結果は、「静」となる。   On the other hand, when there is only a chair or the like in front of the electronic device and there is no human body, the separation distance after the elapse is equal to or less than a certain distance, as described above. It becomes. However, since the chair, which is an object, does not move, the separation distance after the passage substantially coincides with the separation distance before the passage, and the result of the motion / static determination is “static”.

さらに、電子機器の前に、人体も椅子も存在せず、離れたところに、人体、または、椅子等の物がある場合、経過後離間距離は一定距離以下とならないので、一定距離内外判定結果は、「外」となると共に、離れたところに存在するのが人体であれば、動静判定結果は、「動」、物であれば、「静」となる。   Furthermore, if there is no human body or chair in front of the electronic device, and there is a human body or chair, etc. at a distance, the separation distance will not be less than a certain distance after the passage. Is “outside”, and if the human body is located at a distance, the motion determination result is “motion”, and if it is an object, it is “static”.

また、上記の人体存在検知装置において、次のようにするのが合理的である。即ち、検知状態情報形成手段が形成する検知状態情報における検知状態は、上記の一定距離内外判定結果と動静判定結果が、それぞれ、「内」と「動」で構成される第1検知状態、「内」と「静」で構成される第2検知状態、「外」と「動」で構成される第3検知状態、及び、「外」と「静」で構成される第4検知状態の4つの検知状態の中から、いずれか1つとするのである。   In the human body presence detection apparatus, it is reasonable to do the following. That is, the detection state in the detection state information formed by the detection state information forming means is the first detection state in which the above-mentioned fixed distance inside / outside determination result and movement / non-movement determination result are composed of “in” and “motion”, respectively. 4 of a second detection state composed of “inside” and “static”, a third detection state composed of “outside” and “motion”, and a fourth detection state composed of “outside” and “static”. One of the two detection states is set.

上記の各検知状態を、上記の例に基づいて、具体的に説明すると、次のようになる。即ち、第1検知状態は、「内」と「動」で構成されていることから、経過後離間距離が一定距離以下であると共に、経過後離間距離が経過前離間距離と異なる、即ち、経過前離間距離と一致しない(以下、「経過前離間距離と異なる」を「経過前離間距離と一致しない」と表現する)状態である。これは、上記の例では、基準位置に存在する電子機器の前に、人体が椅子等に座った状態で存在する場合である。   The above detection states will be specifically described based on the above example as follows. That is, since the first detection state is composed of “inside” and “movement”, the separation distance after the lapse is not more than a certain distance, and the separation distance after the lapse is different from the separation distance before the lapse. This is a state that does not match the previous separation distance (hereinafter, “different from the pre-elapsed separation distance” is expressed as “does not match the pre-elapsed separation distance”). In the above example, this is a case where a human body exists in a state of sitting on a chair or the like in front of the electronic device existing at the reference position.

第2検知状態は、「内」と「静」で構成されていることから、経過後離間距離が一定距離以下であると共に、経過後離間距離が経過前離間距離と略一致する状態である。これは、上記の例では、電子機器の前に、椅子等の物のみが存在する場合である。   Since the second detection state is composed of “inside” and “static”, the post-elapse separation distance is equal to or less than a predetermined distance, and the post-elapse separation distance substantially coincides with the pre-elapse separation distance. This is a case where only an object such as a chair exists in front of the electronic device in the above example.

第3検知状態は、「外」と「動」で構成されていることから、経過後離間距離が一定距離以下と異なる、即ち、一定距離以下ではない(以下、「一定距離以下と異なる」を「一定距離以下ではない」と表現する)と共に、経過後離間距離が経過前離間距離と一致しない状態である。これは、上記の例では、電子機器の前から離れたところに、人体が存在する場合である。   Since the third detection state is composed of “outside” and “motion”, the separation distance after the passage is different from a certain distance or less, that is, not a certain distance or less (hereinafter, “different from a certain distance or less”). In addition, the post-elapse separation distance does not match the pre-elapse separation distance. In the above example, this is a case where a human body exists at a location away from the front of the electronic device.

そして、第4検知状態は、「外」と「静」で構成されていることから、経過後離間距離が一定距離以下ではないと共に、経過後離間距離が経過前離間距離と略一致する状態である。これは、上記の例では、電子機器の前から離れたところに、椅子等の物のみが存在する場合である。   Since the fourth detection state is composed of “outside” and “static”, the post-elapse separation distance is not equal to or less than a predetermined distance, and the post-elapse separation distance is substantially equal to the pre-elapse separation distance. is there. In the above example, this is a case where only an object such as a chair exists in a place away from the front of the electronic device.

上記のようにすることにより、人体存在検知装置を、分かりやすいシンプルな仕組とすることができる。   By doing as described above, the human body presence detection device can be made simple and easy to understand.

さらに、上記の検知状態情報形成手段が形成する検知状態情報における検知状態を、第1検知状態、第2検知状態、第3検知状態、または、第4検知状態のいずれか1つとする人体存在検知装置において、次のようにするのが好適である。   Furthermore, the human body presence detection in which the detection state in the detection state information formed by the detection state information forming unit is any one of the first detection state, the second detection state, the third detection state, and the fourth detection state. In the apparatus, it is preferable to do the following.

即ち、上記の人体存在検知装置の基準状態遷移パターンにおいて、基準位置から一定距離内に人体が存在することを表すパターンとして、以下の4つのパターンを、判断手段が予め記憶するようにする。   That is, in the reference state transition pattern of the above-described human body presence detection apparatus, the following four patterns are stored in advance by the determination unit as patterns representing the presence of a human body within a certain distance from the reference position.

この4つのパターンは、前回検知状態情報における前回検知状態から今回検知状態情報における今回検知状態への状態遷移パターンが、第1検知状態から第1検知状態へ遷移するA1状態遷移パターン、第2検知状態から第1検知状態へ遷移するA2状態遷移パターン、第3検知状態から第1検知状態へ遷移するA3状態遷移パターン、及び、第4検知状態から第1検知状態へ遷移するA4状態遷移パターンである。   These four patterns are the A1 state transition pattern in which the state transition pattern from the previous detection state in the previous detection state information to the current detection state in the current detection state information transitions from the first detection state to the first detection state, and the second detection. An A2 state transition pattern that transitions from the state to the first detection state, an A3 state transition pattern that transitions from the third detection state to the first detection state, and an A4 state transition pattern that transitions from the fourth detection state to the first detection state is there.

そうしておいて、状態遷移パターン形成手段により形成された状態遷移パターンが、これらのいずれか1つに合致すると、判断手段は、一定距離内に人体が存在するとの判断を行うようにするのである。   Then, when the state transition pattern formed by the state transition pattern forming unit matches any one of these, the determination unit determines that the human body exists within a certain distance. is there.

即ち、この場合は、結果として現在、第1検知状態である場合、つまり、上記の例では、基準位置に存在する電子機器の前に、人体が椅子等に座った状態で存在する場合であるので、一定距離内に人体が存在するとの判断は合理的である。従って、上記のようにすることにより、人体存在検知装置を、合理的な仕組とすることができる。   That is, in this case, as a result, the current state is the first detection state, that is, in the above example, the case where the human body is sitting on a chair or the like in front of the electronic device existing at the reference position. Therefore, it is reasonable to judge that a human body exists within a certain distance. Therefore, the human body presence detection apparatus can be made into a rational mechanism by doing as described above.

また、上記と同様にして、次のようにするのが好適である。即ち、上記の人体存在検知装置の基準状態遷移パターンにおいて、基準位置から一定距離内に人体が存在しないことを表すパターンとして、以下の5つのパターンを、判断手段が予め記憶するようにする。   Further, it is preferable to perform the following in the same manner as described above. That is, in the reference state transition pattern of the human body presence detection apparatus, the following five patterns are stored in advance by the determination unit as patterns indicating that no human body exists within a certain distance from the reference position.

この5つのパターンは、前回検知状態情報における前回検知状態から今回検知状態情報における今回検知状態への状態遷移パターンが、第2検知状態から第2検知状態へ遷移するB1状態遷移パターン、第3検知状態から第3検知状態へ遷移するB2状態遷移パターン、第4検知状態から第4検知状態へ遷移するB3状態遷移パターン、第3検知状態から第4検知状態へ遷移するB4状態遷移パターン、及び、第4検知状態から第3検知状態へ遷移するB5状態遷移パターンである。   The five patterns are the B1 state transition pattern in which the state transition pattern from the previous detection state in the previous detection state information to the current detection state in the current detection state information transitions from the second detection state to the second detection state, and the third detection. A B2 state transition pattern for transition from the state to the third detection state, a B3 state transition pattern for transition from the fourth detection state to the fourth detection state, a B4 state transition pattern for transition from the third detection state to the fourth detection state, and It is a B5 state transition pattern which changes from the 4th detection state to the 3rd detection state.

そうしておいて、状態遷移パターン形成手段により形成された状態遷移パターンが、これらのいずれか1つに合致すると、判断手段は、一定距離内に人体が存在しないとの判断を行うようにするのである。   Then, when the state transition pattern formed by the state transition pattern forming unit matches any one of these, the determining unit determines that the human body does not exist within a certain distance. It is.

即ち、この場合は、結果として現在、第1検知状態以外の場合、つまり、上記の例では、基準位置に存在する電子機器の前に、人体が椅子等に座った状態で存在する場合以外の場合であるので、一定距離内に人体が存在しないとの判断は合理的である。従って、上記のようにすることにより、人体存在検知装置を、合理的な仕組とすることができる。   In other words, in this case, as a result, in cases other than the first detection state, that is, in the above example, a case where a human body exists in a state where a human body is sitting on a chair or the like in front of the electronic device existing at the reference position. Since it is a case, it is reasonable to judge that a human body does not exist within a certain distance. Therefore, the human body presence detection apparatus can be made into a rational mechanism by doing as described above.

また、さらに、上記と同様にして、次のようにするのが好適である。即ち、上記の人体存在検知装置の基準状態遷移パターンにおいて、基準位置から一定距離内に人体が存在することを条件付で表すパターンとして、以下の3つのパターンを、判断手段が予め記憶するようにする。   Further, it is preferable to perform the following in the same manner as described above. That is, in the reference state transition pattern of the human body presence detection device described above, the following three patterns are stored in advance by the determination unit as patterns that conditionally indicate that a human body exists within a certain distance from the reference position. To do.

この3つのパターンは、前回検知状態情報における前回検知状態から今回検知状態情報における今回検知状態への状態遷移パターンが、第1検知状態から第2検知状態へ遷移するC1状態遷移パターン、第1検知状態から第3検知状態へ遷移するC2状態遷移パターン、及び、第1検知状態から第4検知状態へ遷移するC3状態遷移パターンである。   These three patterns are a C1 state transition pattern in which the state transition pattern from the previous detection state in the previous detection state information to the current detection state in the current detection state information transitions from the first detection state to the second detection state, the first detection They are a C2 state transition pattern that transitions from the state to the third detection state, and a C3 state transition pattern that transitions from the first detection state to the fourth detection state.

そうしておいて、状態遷移パターン形成手段により形成された状態遷移パターンが、これらのいずれか1つに合致すると、判断手段は、その時点から存在見做時間が経過するまでの間は、一定距離内に人体が存在すると判断し、存在見做時間の経過が終了した時点で、一定距離内に人体が存在しないと判断する条件付判断を行うようにするのである。   Then, when the state transition pattern formed by the state transition pattern forming unit matches any one of these, the determination unit is constant until the presence time elapses from that point. When it is determined that the human body exists within the distance and the elapse of the existence estimation time ends, a conditional determination is performed to determine that the human body does not exist within a certain distance.

上記の「存在見做時間」とは、予め定めた一定の長さの時間であり、この時間が経過する間は、人体が存在しない状態になったとしても、人体が存在していると看做す時間のことである。   The above “presence presence time” is a predetermined length of time, and during this time, even if the human body does not exist, the human body is considered to exist. It is time to hesitate.

また、上記の条件付判断とは、次のような判断である。即ち、上記の基準位置から一定距離内に人体が存在することを条件付で表す基準状態遷移パターンは、第1検知状態から、第2検知状態、第3検知状態、または、第4検知状態のいずれかに遷移するパターンである。   The conditional judgment is the following judgment. That is, a reference state transition pattern that conditionally indicates that a human body exists within a certain distance from the reference position is a first detection state, a second detection state, a third detection state, or a fourth detection state. It is a pattern that transitions to either.

これは、第1検知状態、つまり、上記の例では、基準位置に存在する電子機器の前に、人体が椅子等に座った状態で存在する場合から、この、人体が椅子等に座った状態で存在する場合以外の場合に、遷移した状態である。   This is the first detection state, that is, in the above example, when the human body is sitting on a chair or the like before the electronic device existing at the reference position, the human body is sitting on the chair or the like. It is in a transitioned state except when it exists.

この状態は、一旦は、電子機器の前に、人体が存在しており、この人体が、電子機器の前から離れたものの、この電子機器の前から離れるのが短時間で、すぐに戻ることが想定される場合が有り得る状態である。   In this state, once there is a human body in front of the electronic device, this human body is away from the front of the electronic device, but it takes a short time to leave the front of the electronic device and returns immediately. This is a state in which there is a possibility that

そこで、このような場合に、存在見做時間が経過するまでの間は、一定距離内に人体が存在すると看做して、このように判断し、存在見做時間の経過が終了した時点で、一定距離内に人体が存在しないと判断するのが、上記の条件付判断である。   Therefore, in such a case, until the existence assessment time elapses, it is considered that the human body exists within a certain distance, and in this way, when the existence assessment time has elapsed, It is the conditional judgment described above that it is determined that no human body exists within a certain distance.

このようにすることにより、人体存在検知装置を、操作者が操作する電子機器等の制御等に、適合しやすい仕組とすることができる。   By doing in this way, the human body presence detection apparatus can be made into a structure that is easily adapted to the control of an electronic device or the like operated by the operator.

上記の基準状態遷移パターンとして、C1状態遷移パターン、C2状態遷移パターン、及び、C3状態遷移パターンを用いる人体存在検知装置では、次のような状態が生じる。   In the human body presence detection apparatus that uses the C1 state transition pattern, the C2 state transition pattern, and the C3 state transition pattern as the reference state transition pattern, the following state occurs.

即ち、存在見做時間が経過している途中で、新たに、状態遷移パターン形成手段により形成された状態遷移パターンが、A1状態遷移パターン、A2状態遷移パターン、A3状態遷移パターン、または、A4状態遷移パターンのいずれか1つに合致する状態になる場合が生じ得る。   That is, in the middle of the existence assessment time, the state transition pattern newly formed by the state transition pattern forming unit is the A1 state transition pattern, the A2 state transition pattern, the A3 state transition pattern, or the A4 state. There may be a case where the state matches with any one of the transition patterns.

この場合は、このような状態が生じた時点では、結果として現在、第1検知状態である場合であり、上記の例では、基準位置に存在する電子機器の前に、人体が椅子等に座った状態で実際に存在する状態である。従って、一定距離内に人体が存在すると看做す必要はなく、実際に人体が存在すると判断すべきである。   In this case, when such a state occurs, as a result, the current state is the first detection state. In the above example, the human body sits on a chair or the like in front of the electronic device existing at the reference position. It is a state that actually exists. Therefore, it is not necessary to consider that a human body exists within a certain distance, and it should be determined that a human body actually exists.

しかしながら、上記のC1状態遷移パターン、C2状態遷移パターン、及び、C3状態遷移パターンを用いる人体存在検知装置では、判断手段が、一旦、条件付判断を行うと、存在見做時間が経過するまでの間は、一定距離内に人体が存在すると判断し、存在見做時間の経過が終了した時点で、一定距離内に人体が存在しないと、機械的に判断してしまうことになる。そのため、実際には、電子機器の前に、人体が椅子等に座った状態で存在するにもかかわらず、一定距離内に人体が存在しないと判断してしまうことになる。   However, in the human body presence detection device using the above-described C1 state transition pattern, C2 state transition pattern, and C3 state transition pattern, once the determination means makes a conditional determination, until the presence detection time elapses. In the meantime, it is determined that the human body exists within a certain distance, and when the presence estimation time has elapsed, it is mechanically determined that no human body exists within the certain distance. Therefore, in practice, it is determined that the human body does not exist within a certain distance even though the human body exists in a chair or the like in front of the electronic device.

そこで、このような状態が生じるのを避けるために、次のようにするのが好適である。即ち、上記のC1状態遷移パターン、C2状態遷移パターン、及び、C3状態遷移パターンを用いる人体存在検知装置において、存在見做時間が経過している途中に、新たに、状態遷移パターン形成手段により形成された状態遷移パターンが、A1状態遷移パターン、A2状態遷移パターン、A3状態遷移パターン、または、A4状態遷移パターンのいずれか1つに合致すると、その時点で、判断手段は、条件付判断を中止すると共に、新たに、一定距離内に人体が存在するとの判断を行うようにするのである。このようにすることにより、上述したような状態が生じるのを避けることができる。   Therefore, in order to avoid such a situation, it is preferable to do the following. That is, in the human body presence detection device using the above-described C1 state transition pattern, C2 state transition pattern, and C3 state transition pattern, a new state transition pattern forming unit is formed while the presence detection time has elapsed. When the determined state transition pattern matches any one of the A1 state transition pattern, the A2 state transition pattern, the A3 state transition pattern, or the A4 state transition pattern, the determination unit stops the conditional determination at that time. At the same time, it is newly determined that a human body exists within a certain distance. By doing in this way, it can avoid that the state mentioned above arises.

次に、本発明の人体存在検知方法について説明する。本発明の人体存在検知方法は、基準位置に設置されると共に、該基準位置から一定方向に存在する人体または物の存在位置に対する基準位置からの離間距離を、一定時間経過毎に測定する離間距離測定手段とコンピュータとを用いて行われる、基準位置から一定距離内に人体が存在するか否かの判断を行う人体存在検知方法である。   Next, the human body presence detection method of the present invention will be described. The human body presence detection method according to the present invention is installed at a reference position, and measures a separation distance from the reference position with respect to the position of the human body or object existing in a certain direction from the reference position at every elapse of a certain time. This is a human body presence detection method that uses a measuring means and a computer to determine whether or not a human body exists within a certain distance from a reference position.

この本発明の人体存在検知方法では、上記のコンピュータにより、判定結果形成ステップ、検知状態情報形成ステップ、状態遷移パターン形成ステップ、及び、判断ステップに基づく処理が行われる。   In the human body presence detection method of the present invention, processing based on a determination result formation step, a detection state information formation step, a state transition pattern formation step, and a determination step is performed by the above-described computer.

この内、判定結果形成ステップは、上記の離間距離測定手段により、前記離間距離測定手段により、前記一定時間の経過前の経過前離間距離と、経過後の経過後離間距離とを用いることにより、前記経過後離間距離が一定距離以下であるか否かを示す一定距離内外判定結果と、前記経過前離間距離と前記経過後離間距離とが略一致するか否かを示す動静判定結果とを形成する処理を行うステップである。   Among these, the determination result forming step uses the pre-elapsed separation distance before the elapse of the predetermined time and the post-elapse separation distance by the separation distance measurement unit by the separation distance measurement unit. A fixed distance inside / outside determination result indicating whether or not the post-elapse separation distance is equal to or less than a predetermined distance and a movement and static determination result indicating whether or not the pre-elapse separation distance and the post-elapse separation distance substantially coincide with each other are formed. It is a step which performs the process to perform.

検知状態情報形成ステップは、一定距離内外判定結果と動静判定結果とで構成される検知状態情報を形成する処理を行うステップである。   The detection state information forming step is a step of performing processing for forming detection state information composed of a constant distance inside / outside determination result and a movement / non-movement determination result.

状態遷移パターン形成ステップは、上記の検知状態情報形成ステップにより作成された、前記離間距離測定手段が測定を行った最新測定時点よりも前記一定時間経過前の時点における前回検知状態情報と、前記最新測定時点における今回検知状態情報とにより、状態遷移パターンを形成する処理を行うステップである。   The state transition pattern formation step includes the previous detection state information at a time point before the elapse of the predetermined time from the latest measurement time point generated by the detection state information formation step and measured by the separation distance measuring unit, and the latest This is a step for performing a process of forming a state transition pattern based on current detection state information at the time of measurement.

そして、判断ステップは、該状態遷移パターン形成ステップにより形成された状態遷移パターンが、人体存在有無と関連付けられて予めコンピュータに記憶されている複数の基準状態遷移パターンの中から合致するものを選択することにより、基準位置から一定距離内に人体が存在するか否かの判断を行う処理を行うステップである。   In the determination step, the state transition pattern formed by the state transition pattern formation step is selected from a plurality of reference state transition patterns previously stored in the computer in association with the presence / absence of the human body. This is a step of performing a process of determining whether or not a human body exists within a certain distance from the reference position.

上記の人体存在検知方法による処理の仕組は、上述した人体存在検知装置における処理の仕組と同様である。また、この人体存在検知方法は、上述した人体存在検知装置と同様の、作用、効果を備えている。   The processing mechanism by the human body presence detection method is the same as the processing mechanism in the human body presence detection device described above. The human body presence detection method has the same functions and effects as the human body presence detection device described above.

本発明によれば、基準位置から一定方向に存在する人体または物の存在位置に対する該基準位置からの離間距離を測定するのに用いられる離間距離測定手段としては、赤外線距離測定センサや、レーザ光距離測定センサ等のセンサは、1個でよい。   According to the present invention, as the separation distance measuring means used for measuring the separation distance from the reference position with respect to the position of the human body or object existing in a certain direction from the reference position, an infrared distance measurement sensor, a laser beam, or the like is used. There may be only one sensor such as a distance measuring sensor.

そのため、1個の距離測定センサで、基準位置から一定方向に存在する人体または物の存在位置に対する基準位置からの離間距離を測定することができるので、複数の距離測定センサを用いる必要がないことから、人体存在検知装置を低コストで実現することができる。   Therefore, a single distance measurement sensor can measure the separation distance from the reference position with respect to the position of a human body or an object existing in a certain direction from the reference position, so there is no need to use a plurality of distance measurement sensors. Therefore, the human body presence detection device can be realized at low cost.

また、本発明によれば、離間距離測定手段が測定を行った最新測定時点よりもさらに一定時間経過前の時点における前回検知状態から、最新測定時点における今回検知状態への状態遷移パターンを用いて人体が存在するか否かの判断を行っている。   Further, according to the present invention, using the state transition pattern from the previous detection state at a time point before a certain time has elapsed further than the latest measurement time point measured by the separation distance measurement means to the current detection state at the latest measurement time point. Judgment is made as to whether or not a human body exists.

そのため、例えば、パソコン等の操作者が操作する電子機器における操作者の人体の存在を検知する場合等、操作者が、電子機器の前から離れるのが短時間で、すぐに戻ることが想定される場合等に適合しやすいような、人体が存在するか否かの判断を行うことができる。従って、人体存在検知装置を、操作者が操作する電子機器等の制御等に、適合しやすい仕組とすることができる。   Therefore, for example, when detecting the presence of an operator's human body in an electronic device operated by an operator such as a personal computer, it is assumed that the operator leaves the electronic device in a short time and returns immediately. It is possible to determine whether or not a human body exists so as to easily adapt to the case where the Accordingly, the human body presence detection device can be easily adapted to the control of the electronic device operated by the operator.

次に、本発明の実施の形態における人体存在検知装置について、図面に基づき詳細に説明する。   Next, the human body presence detection apparatus according to the embodiment of the present invention will be described in detail with reference to the drawings.

<実施の形態1>
図2は、実施の形態1における人体存在検知装置10の構成を示したブロック図である。図2において、実施の形態1における人体存在検知装置10は、CPU11、メモリ12、操作部13、センサI/F14、USBI/F15、インターバルパルス発生部16、及び、距離測定センサ17、で構成されている。この内、距離測定センサ17は、センサI/F14に接続されており、それ以外は、内部バスライン18を介して、相互に接続されている。また、USBI/F15には、USBケーブル19が接続される。
<Embodiment 1>
FIG. 2 is a block diagram showing a configuration of human body presence detection apparatus 10 in the first embodiment. In FIG. 2, the human body presence detection apparatus 10 according to the first embodiment includes a CPU 11, a memory 12, an operation unit 13, a sensor I / F 14, a USB I / F 15, an interval pulse generation unit 16, and a distance measurement sensor 17. ing. Among these, the distance measuring sensor 17 is connected to the sensor I / F 14, and the others are connected to each other via the internal bus line 18. The USB cable 19 is connected to the USB I / F 15.

CPU11は、マイクロプロセッサで構成されており、メモリ12は、RAMやフラッシュメモリ等で構成されている。このメモリ12には、人体存在検知装置10を制御するのに必要なOSや各種の処理プログラム等のソフトウエアが格納されている。CPU11は、このメモリ12に搭載されたソフトウエアにより、人体存在検知装置10における各種の処理を行う。   The CPU 11 is composed of a microprocessor, and the memory 12 is composed of RAM, flash memory, or the like. The memory 12 stores software such as an OS and various processing programs necessary for controlling the human body presence detection device 10. The CPU 11 performs various processes in the human body presence detection apparatus 10 by software installed in the memory 12.

操作部13は、テンキー等で構成されており、人体存在検知装置10に対する各種の設定等に用いられる。   The operation unit 13 includes a numeric keypad and is used for various settings for the human body presence detection device 10.

センサI/F14は、距離測定センサ17を接続するためのインターフェイスであり、距離測定センサ17に対する各種の信号の授受を行う。このセンサI/F14には、後述する、図6に示す、3個のデータが記録可能なFIFOレジスタ(First In First Out Resistor)が備えられている。このFIFOレジスタには、後述する距離測定センサ17の出力データが記録される。   The sensor I / F 14 is an interface for connecting the distance measurement sensor 17, and exchanges various signals with the distance measurement sensor 17. This sensor I / F 14 is provided with a FIFO register (First In First Out Resistor) capable of recording three data, which will be described later, as shown in FIG. In the FIFO register, output data of a distance measuring sensor 17 described later is recorded.

USBI/F15は、USBケーブル19を介して、パソコン等の外部機器との各種の信号の授受や、この外部機器からの電源の供給を受ける。尚、図2では、このUSBI/F15における電源の供給を受ける部分は、表示されていない。   The USB I / F 15 receives and receives various signals with an external device such as a personal computer and the supply of power from the external device via the USB cable 19. In FIG. 2, the portion of the USB I / F 15 that receives power supply is not displayed.

インターバルパルス発生部16は、インターバルパルスを発生する機能を備えている。このインターバルパルスは、上記のセンサI/F14に備えられているFIFOレジスタのシフト用クロックである。このインターバルパルスは、クロック信号ライン20により、上記のセンサI/F14に備えられているFIFOレジスタに供給される。また、このインターバルパルスは、人体存在検知装置10のCPU11が行うソフトウエア処理にも、用いられる。   The interval pulse generator 16 has a function of generating interval pulses. This interval pulse is a clock for shifting the FIFO register provided in the sensor I / F 14. The interval pulse is supplied to the FIFO register provided in the sensor I / F 14 through the clock signal line 20. The interval pulse is also used for software processing performed by the CPU 11 of the human body presence detection device 10.

距離測定センサ17は、上記の人体存在検知装置10の前方に存在する人体21または物までの距離を測定する機能を備えている。この距離測定センサ17としては、赤外線の投光器及び受光器を備えたセンサが用いられている。この、赤外線の投光器及び受光器を備えたセンサでは、上記の距離の測定は、投光器から前方に発光された赤外線が、人体存在検知装置10の前方に存在する人体21または物で反射して戻ってくる反射光を受信することにより行われる。尚、この距離測定センサ17としては、レーザ光を用いたセンサを用いてもよい。   The distance measuring sensor 17 has a function of measuring a distance to the human body 21 or an object existing in front of the human body presence detecting device 10. As the distance measuring sensor 17, a sensor including an infrared projector and a light receiver is used. In the sensor provided with the infrared projector and light receiver, the distance is measured by the infrared light emitted forward from the projector reflected by the human body 21 or object existing in front of the human body presence detection device 10 and returned. This is done by receiving incoming reflected light. As the distance measuring sensor 17, a sensor using laser light may be used.

前述した離間距離測定手段2、判定結果形成手段3、検知状態情報形成手段4、状態遷移パターン形成手段5、及び、判断手段6は、人体存在検知装置10を構成する上記の各ハードウエア、及び、人体存在検知装置10のメモリ12に格納されているソフトウエアによる協働作業により、実現される。   The above-mentioned separation distance measuring means 2, determination result forming means 3, detection state information forming means 4, state transition pattern forming means 5, and determination means 6 are the above hardware constituting the human body presence detection device 10, and This is realized by a collaborative work by software stored in the memory 12 of the human body presence detection device 10.

また、前述した人体存在検知方法を実行するのに用いられるコンピュータとしては、図2に示す構成要素で構成された上述した人体存在検知装置10、または、図2に示す構成要素から距離測定センサ17を除いた構成要素で構成された装置、若しくは、この装置と同等の機能を有する装置を使用する。   Further, as a computer used to execute the above-described human body presence detection method, the above-described human body presence detection device 10 configured by the components illustrated in FIG. 2 or the distance measurement sensor 17 from the components illustrated in FIG. A device composed of components other than the above, or a device having a function equivalent to this device is used.

図3(a)は、実施の形態1において、上記の人体存在検知装置10が使用される状態を示した平面図、図3(b)は、その側面図である。実施の形態1では、上記の人体存在検知装置10を用いることにより、机25の上に置かれたノートパソコン26に対して、このパソコンの操作を行う椅子22に座っている操作者である人体21の存在検知を行うことにより、パソコン26の表示画面の表示のON/OFFを制御しようとするものである。図中、23は、操作者である人体21の背後にある部屋の壁であり、24は、この部屋の床である。   FIG. 3A is a plan view showing a state where the human body presence detection device 10 is used in the first embodiment, and FIG. 3B is a side view thereof. In the first embodiment, by using the human body presence detecting device 10 described above, a human body that is an operator sitting on a chair 22 that operates the personal computer 26 placed on the desk 25 to operate the personal computer. By detecting the presence of 21, the display on the display screen of the personal computer 26 is controlled to be turned on / off. In the figure, 23 is the wall of the room behind the human body 21 that is the operator, and 24 is the floor of this room.

人体存在検知装置10は、ノートパソコン26の蓋の部分である表示部の上端に、クリップ状の取付具により取付けられており、USBケーブル19により、ノートパソコン26と接続されている。人体存在検知装置10には、上述したように、距離測定センサ17が備えられており、この距離測定センサ17の前方方向に、操作者である人体21が存在するように、人体存在検知装置10が取付けられる。   The human body presence detection device 10 is attached to the upper end of the display unit, which is the lid portion of the notebook computer 26, by a clip-shaped attachment, and is connected to the notebook computer 26 by the USB cable 19. As described above, the human body presence detection device 10 includes the distance measurement sensor 17, and the human body presence detection device 10 has a human body 21 as an operator in the forward direction of the distance measurement sensor 17. Is installed.

また、この人体存在検知装置10による人体21の存在の有無の検知は、この人体存在検知装置10が備えている距離測定センサ17の方向に、この距離測定センサ17の先端から基準距離(DS)以内に、操作者である人体21が存在しているか否かにより、行われる。前述の基準位置は、この人体存在検知装置10が設置されている位置であり、詳しくは、存在検知装置10の距離測定センサ17の先端の位置である。また、人体存在検知装置10は、ノートパソコン26に取付けられているので、ノートパソコン26が設置されている位置は、上記の基準位置と看做すことができる。   Further, the presence / absence of the human body 21 by the human body presence detection device 10 is detected in the direction of the distance measurement sensor 17 provided in the human body presence detection device 10 from the tip of the distance measurement sensor 17 by a reference distance (DS). It is performed depending on whether or not the human body 21 that is the operator exists. The aforementioned reference position is a position where the human body presence detection device 10 is installed, and more specifically, the position of the tip of the distance measurement sensor 17 of the presence detection device 10. Moreover, since the human body presence detection apparatus 10 is attached to the notebook computer 26, the position where the notebook computer 26 is installed can be regarded as the reference position.

実施の形態1では、ノートパソコン26は、人体存在検知装置10から、「基準距離(DS)内に人体が存在している」との信号(「人体存在有信号」と称する)を受けると、ノートパソコン26の表示画面の表示をONし、「基準距離(DS)内に人体が存在していない」との信号(「人体存在無信号」と称する)を受けると、ノートパソコン26の表示画面の表示をOFFする仕組を採用している。この「基準距離(DS)」が、前述した「一定距離」に相当する。この基準距離(DS)としては、実施の形態1では、1.5mとしている。   In the first embodiment, the notebook computer 26 receives a signal (referred to as “human body presence signal”) from the human body presence detection device 10 that “a human body is present within the reference distance (DS)”. When the display of the display screen of the notebook computer 26 is turned ON and a signal “No human body is present within the reference distance (DS)” (referred to as “no human body presence signal”) is received, the display screen of the notebook computer 26 is displayed. The system that turns off the display is adopted. This “reference distance (DS)” corresponds to the “constant distance” described above. This reference distance (DS) is 1.5 m in the first embodiment.

尚、人体存在検知装置10から出力される信号は、「人体存在有信号」、または、「人体存在無信号」のいずれかであるが、「人体存在有信号」が一旦出力されると、「基準距離(DS)内に人体が存在している」状態、あるいは、「基準距離(DS)内に人体が存在している」と看做せる状態の間は、特に信号は出力されず、「基準距離(DS)内に人体が存在していない」状態となったときに、「人体存在無信号」が出力される。   The signal output from the human body presence detection device 10 is either a “human body presence signal” or a “human body presence signal”, but once the “human body presence signal” is output, No signal is output during the state where a human body exists within the reference distance (DS) or the state where a human body exists within the reference distance (DS). When the “no human body exists within the reference distance (DS)” state, a “human body non-signal” is output.

また、「人体存在無信号」が一旦出力されると、「基準距離(DS)内に人体が存在していない」状態の間は、特に信号は出力されず、「基準距離(DS)内に人体が存在している」状態となったときに、「人体存在有信号」が出力される。   In addition, once the “no human body presence signal” is output, no signal is output during the “no human body is present within the reference distance (DS)” state. When the “human body exists” state is entered, a “human body presence signal” is output.

以下、実施の形態1における人体存在検知装置10において、上記の人体存在有信号、及び、人体存在無信号が出力される仕組、即ち、基準位置から、基準距離(DS)以内に、操作者である人体21が存在しているか否かを検知する基本的な仕組について、説明する。   Hereinafter, in the human body presence detection apparatus 10 according to the first embodiment, the above-described human body presence signal and the human body absence signal are output, that is, within the reference distance (DS) from the reference position by the operator. A basic mechanism for detecting whether or not a human body 21 exists will be described.

図4(a)〜図4(d)は、実施の形態1において、人体存在検知装置10が行う人体の存在の有無に関する想定される状態を説明するための、人体存在検知装置10が使用される各状態を示した平面図である。   4 (a) to 4 (d), the human body presence detection device 10 is used in the first embodiment to explain an assumed state regarding the presence or absence of the human body performed by the human body presence detection device 10. It is a top view showing each state.

図4(a)は、ノートパソコン26が置かれた机25の前に、ノートパソコン26の操作者である人体21が椅子22に座っている状態である。即ち、人体存在検知装置10に対して「基準距離(DS)内に人体21が存在している」状態である。この状態を、検知状態#1と称する。   FIG. 4A shows a state in which a human body 21 that is an operator of the notebook computer 26 is sitting on a chair 22 in front of the desk 25 on which the notebook computer 26 is placed. That is, it is a state in which “the human body 21 exists within the reference distance (DS)” with respect to the human body presence detection device 10. This state is referred to as detection state # 1.

図4(b)は、ノートパソコン26が置かれた机25の前に、ノートパソコン26の操作者である人体21が椅子22に座っていなくて、椅子22のみが存在している状態である。即ち、人体存在検知装置10に対して「基準距離(DS)内に物(椅子22)が存在している」状態である。この状態を、検知状態#2と称する。   FIG. 4B shows a state in which the human body 21 as the operator of the notebook computer 26 does not sit on the chair 22 and only the chair 22 exists in front of the desk 25 on which the notebook computer 26 is placed. . That is, this is a state where “the object (chair 22) is present within the reference distance (DS)” with respect to the human body presence detection device 10. This state is referred to as detection state # 2.

図4(c)は、ノートパソコン26が置かれた机25の前から離れた位置に、人体21が存在している状態である。即ち、人体存在検知装置10に対して「基準距離(DS)外に人体21が存在している」状態である。この状態を、検知状態#3と称する。   FIG. 4C shows a state in which the human body 21 exists at a position away from the front of the desk 25 on which the notebook computer 26 is placed. That is, it is a state where “the human body 21 exists outside the reference distance (DS)” with respect to the human body presence detection device 10. This state is referred to as detection state # 3.

そして、図4(d)は、ノートパソコン26が置かれた机25の前にも、机25の前から離れた位置にも、人体21は存在してない状態である。即ち、人体存在検知装置10に対して「基準距離(DS)外に物(壁23)が存在している」状態である。この状態を、検知状態#4と称する。   4D shows a state in which the human body 21 does not exist in front of the desk 25 where the notebook computer 26 is placed or in a position away from the front of the desk 25. That is, it is a state in which “the object (wall 23) exists outside the reference distance (DS)” with respect to the human body presence detection device 10. This state is referred to as detection state # 4.

人体存在検知装置10は、上記の検知状態#1、検知状態#2、検知状態#3、及び、検知状態#4を、区別して検出することで、人体21の存在の有無の検知を行うのである。そこで、このような検知を行うために、人体存在検知装置10は、この人体存在検知装置10の前方に存在するものに対して、この距離測定センサ17の先端から、人体存在検知装置10の前方に存在する人体21または物までの距離である離間距離を、「一定時間(インターバル時間と称する)」経過毎に測定する。   Since the human body presence detection device 10 detects the presence / absence of the human body 21 by distinguishing and detecting the detection state # 1, the detection state # 2, the detection state # 3, and the detection state # 4. is there. Therefore, in order to perform such detection, the human body presence detection device 10 is located in front of the human body presence detection device 10 from the front end of the distance measurement sensor 17 with respect to what is present in front of the human body presence detection device 10. The separation distance, which is the distance to the human body 21 or the object existing in, is measured every time “a certain period of time (referred to as interval time)” has elapsed.

実施の形態1では、この一定時間(インターバル時間)の経過直前の時点を、経過前測定時点と称し、この経過前測定時点で測定された離間距離を、経過前離間距離と称する。また、この一定時間(インターバル時間)の経過直後の時点を、経過後測定時点と称し、この経過後測定時点で測定された離間距離を、経過後離間距離と称する。   In the first embodiment, the time immediately before the elapse of the predetermined time (interval time) is referred to as the pre-elapse measurement time, and the separation distance measured at the pre-elapse measurement time is referred to as the pre-elapse separation distance. In addition, a time point immediately after the elapse of the certain time (interval time) is referred to as a post-elapse measurement time point, and a separation distance measured at the post-elapse measurement time point is referred to as a post-elapse separation distance.

上記の一定時間(インターバル時間)は、実施の形態1では、例えば、30秒間としている。図5は、実施の形態1における人体存在検知装置10の距離測定センサ17による離間距離の測定タイミングを説明したタイムチャートである。   The fixed time (interval time) is, for example, 30 seconds in the first embodiment. FIG. 5 is a time chart illustrating the measurement timing of the separation distance by the distance measurement sensor 17 of the human body presence detection device 10 according to the first embodiment.

図5において、人体存在検知装置10は、インターバル時間である30秒間毎に、離間距離を測定する。そこで、図5に示すように、離間距離の測定時点として、時間の経過に伴って、時点Tm、時点Tn、時点Tpの順に測定が行われたとすると、時点Tpが最新測定時点であり、この最新測定時点を今回測定時点と称する。そして、この今回測定時点である時点Tpのインターバル時間30秒前の時点Tnを、今回測定時点に対して前回測定時点と称し、さらに、この前回測定時点である時点Tnのインターバル時間30秒前の時点Tnを、今回測定時点に対して前々回測定時点と称する。   In FIG. 5, the human body presence detection device 10 measures the separation distance every 30 seconds, which is an interval time. Therefore, as shown in FIG. 5, when the measurement of the separation distance is performed in the order of the time Tm, the time Tn, and the time Tp as time passes, the time Tp is the latest measurement time. The latest measurement time point is referred to as the current measurement time point. Then, the time point Tn 30 seconds before the time point Tp, which is the current measurement time point, is referred to as the previous measurement time point with respect to the current measurement time point, and further, the time point Tn 30 seconds before the time point Tn, which is the previous measurement time point. The time point Tn is referred to as the measurement time point before the current measurement time point.

そうすると、図5において、今回測定時点Tpは、時点Tpに対する経過後測定時点であり、前回測定時点Tnは、時点Tpに対する経過前測定時点である。また、前回測定時点Tnは、時点Tnに対する経過後測定時点であり、前々回測定時点Tmは、時点Tnに対する経過前測定時点である。   Then, in FIG. 5, the current measurement time point Tp is a post-elapse measurement time point with respect to the time point Tp, and the previous measurement time point Tn is a pre-elapsement measurement time point with respect to the time point Tp. The previous measurement time point Tn is a measurement time point after the passage of the time point Tn, and the last measurement time point Tm is a measurement time point before the passage of the time point Tn.

上述したように、人体存在検知装置10のセンサI/F14には、図6に示す3個のデータが記録可能なFIFOレジスタが備えられている。このFIFOレジスタは、上述したインターバルパルスにより、シフトされる。このインターバルパルスは、上記のインターバル時間経過毎に発生されるパルスである。   As described above, the sensor I / F 14 of the human body presence detection apparatus 10 includes the FIFO register capable of recording three pieces of data shown in FIG. This FIFO register is shifted by the interval pulse described above. This interval pulse is a pulse generated every time the interval time elapses.

上記の3個のデータが記録可能なFIFOレジスタは、次のような仕組のレジスタである。即ち、最初にFIFOレジスタに入力されたデータは、FIFOレジスタの1段目に入力される。次に、新たなデータがFIFOレジスタに入力されると、1段目に入力されているデータは、2段目にシフトされると共に、新たなデータが、1段目に入力される。さらに、新たなデータがFIFOレジスタに入力されると、2段目に入力されているデータは、3段目にシフトされ、1段目に入力されているデータが、2段目にシフトされると共に、新たなデータが、1段目に入力される。   The FIFO register capable of recording the above three data is a register having the following structure. That is, the data first input to the FIFO register is input to the first stage of the FIFO register. Next, when new data is input to the FIFO register, the data input to the first stage is shifted to the second stage, and new data is input to the first stage. Further, when new data is input to the FIFO register, the data input to the second stage is shifted to the third stage, and the data input to the first stage is shifted to the second stage. At the same time, new data is input to the first stage.

人体存在検知装置10の距離測定センサ17がインターバル時間30秒ごとに測定した離間距離は、このFIFOレジスタに、測定した順に、入力される。従って、FIFOレジスタには、図6に示すように、1段目には最新測定時点、即ち、今回測定時点で測定された離間距離(今回離間距離(D1)と称する)が保持され、2段目には前回測定時点で測定された離間距離(前回離間距離(D2)と称する)が保持されると共に、3段目には前々回測定時点で測定された離間距離(前々回離間距離(D3)と称する)が保持される。   The separation distance measured by the distance measurement sensor 17 of the human body presence detection device 10 every 30 seconds of the interval time is input to the FIFO register in the order of measurement. Therefore, as shown in FIG. 6, the FIFO register holds the latest measurement time, that is, the separation distance measured at the current measurement time (referred to as the current separation distance (D1)) in the first stage. The eye holds the separation distance measured at the time of the previous measurement (referred to as the previous separation distance (D2)), and the third stage includes the separation distance measured at the time of the previous measurement (previous separation distance (D3)). Is held).

そうすると、上述した、経過前離間距離、及び、経過後離間距離の説明から(図5参照)、今回測定時点Tpにおける経過後離間距離は、上記の今回離間距離(D1)、経過前離間距離は、前回離間距離(D2)である。また、前回測定時点Tnにおける経過後離間距離は、上記の前回離間距離(D2)、経過前離間距離は、前々回離間距離(D3)である。   Then, from the above description of the pre-elapse separation distance and the post-elapse separation distance (see FIG. 5), the post-elapse separation distance at the current measurement time Tp is the current separation distance (D1), and the pre-elapse separation distance is , The previous separation distance (D2). Further, the post-elapse separation distance at the previous measurement time Tn is the previous separation distance (D2), and the pre-elapse separation distance is the previous separation distance (D3).

上記の人体存在検知装置10は、基準位置から、基準距離(DS)以内に、操作者である人体21が存在しているか否かを検知するために、即ち、基準位置から、基準距離(DS)以内に、操作者である人体21が存在しているか否かを判断するために、その準備として、上記の今回離間距離(D1)、前回離間距離(D2)、及び、前々回離間距離(D3)を用いて、次のような判定を行う。   The human body presence detection device 10 detects whether or not the human body 21 as an operator exists within the reference distance (DS) from the reference position, that is, from the reference position, the reference distance (DS ), In order to determine whether or not the human body 21 that is the operator exists, as preparations, the current separation distance (D1), the previous separation distance (D2), and the previous separation distance (D3) ) To make the following determination.

まず、基本的な判定として、一定距離内外判定と動静判定とを行う。一定距離内外判定は、上述した経過後離間距離が、基準距離(DS)以下であるか否かの判定である。この一定距離内外判定結果は、経過後離間距離が基準距離(DS)以下であると「内」、基準距離(DS)以下ではないと「外」となる。   First, as a basic determination, a certain distance inside / outside determination and a motion determination are performed. The fixed distance inside / outside determination is a determination as to whether or not the above-described separation distance after elapse is equal to or less than a reference distance (DS). This constant distance inside / outside determination result is “inside” when the post-elapse separation distance is equal to or less than the reference distance (DS), and “outside” when the distance is not equal to or less than the reference distance (DS).

動静判定は、上述した経過後離間距離が、経過前離間距離と略一致するか否かの判定である。この動静判定結果は、経過後離間距離が経過前離間距離と略一致すると「静」、経過前離間距離と一致しないと「動」となる。   The movement determination is a determination as to whether or not the post-elapse separation distance substantially matches the pre-elapse separation distance. The result of the movement determination is “motion” when the post-elapse separation distance substantially matches the pre-elapse separation distance, and “movement” if it does not match the pre-elapse separation distance.

上記の動静判定において、判定方法として、経過後離間距離が、経過前離間距離と「一致するか否か」ではなくて、「略一致するか否か」としているのは、人体存在検知装置10の距離測定センサ17が行う測定には、測定誤差が存在するので、この測定誤差の影響を避けるためである。   In the above motion determination, the post-elapse separation distance is not “whether or not coincident” with the pre-elapse separation distance, but “whether or not substantially coincides” as the determination method. The measurement performed by the distance measuring sensor 17 has a measurement error, so that the influence of the measurement error is avoided.

上記の一定距離内外判定結果、及び、動静判定結果を具体的に説明すると、次のようになる。図4(a)のように、基準位置に存在するノートパソコン26の前に、人体21が椅子22に座った状態で存在する場合、経過後離間距離は基準距離(DS)以下となるので、一定距離内外判定結果は、「内」となる。しかし、人体は、物と違って、ある程度、絶えず動くので、経過後離間距離は経過前離間距離と一致しないことから、動静判定結果は、「動」となる。   The above-mentioned fixed distance inside / outside determination result and movement / non-motion determination result will be specifically described as follows. As shown in FIG. 4A, when the human body 21 is sitting on the chair 22 in front of the notebook computer 26 existing at the reference position, the separation distance after the elapse is equal to or less than the reference distance (DS). The result of the inside / outside determination for a certain distance is “inside”. However, unlike the human body, the human body moves constantly to some extent, and the separation distance after the lapse does not coincide with the separation distance before the lapse, so the movement determination result is “movement”.

図4(a)は、上述したように、検知状態#1であるから、一定距離内外判定結果が「内」、動静判定結果が「動」の状態は、検知状態#1である。この検知状態#1は、前述の第1検知状態に該当する。   Since FIG. 4A is the detection state # 1 as described above, the state where the inside / outside determination result of the constant distance is “inside” and the movement determination result is “movement” is the detection state # 1. This detection state # 1 corresponds to the first detection state described above.

これに対して、図4(b)のように、ノートパソコン26の前に、椅子22が存在するのみで人体21は存在しない場合、上記と同様、経過後離間距離は基準距離(DS)以下となるので、一定距離内外判定結果は、「内」となる。しかし、物である椅子22は、動かないので、経過後離間距離は経過前離間距離と略一致することから、動静判定結果は、「静」となる。   On the other hand, as shown in FIG. 4B, when the chair 22 exists only in front of the notebook computer 26 and the human body 21 does not exist, the separation distance after elapse is equal to or less than the reference distance (DS) as described above. Therefore, the determination result of the constant distance inside / outside is “inside”. However, since the chair 22 that is an object does not move, the separation distance after the lapse of time substantially coincides with the separation distance before the lapse of time, and thus the movement / non-motion determination result is “still”.

図4(b)は、上述したように、検知状態#2であるから、一定距離内外判定結果が「内」、動静判定結果が「静」の状態は、検知状態#2である。この検知状態#2は、前述の第2検知状態に該当する。   Since FIG. 4B is the detection state # 2 as described above, the state in which the constant distance inside / outside determination result is “inside” and the dynamic / static determination result is “static” is the detection state # 2. This detection state # 2 corresponds to the second detection state described above.

さらに、図4(c)、図4(d)のように、ノートパソコン26の前に、人体21も椅子22も存在せず(図4(c)では、椅子22は存在しているが、距離測定センサ17では検知されない状態である)、離れたところに、人体21または壁23が存在する場合、経過後離間距離は一定距離以下とならないので、一定距離内外判定結果は、「外」となると共に、離れたところに存在するのが人体であれば(図4(c))、動静判定結果は、「動」、物であれば(図4(d))、「静」となる。   Further, as shown in FIGS. 4C and 4D, neither the human body 21 nor the chair 22 exists in front of the notebook computer 26 (in FIG. 4C, the chair 22 exists, When the human body 21 or the wall 23 is present at a distance, the separation distance does not become a certain distance or less after the passage, and the result of the certain distance inside / outside determination is “outside”. In addition, if the human body is present at a distance (FIG. 4 (c)), the motion / noisy determination result is “moving”, and if it is an object (FIG. 4 (d)), it is “static”.

図4(c)は、上述したように、検知状態#3であるから、一定距離内外判定結果が「外」、動静判定結果が「動」の状態は、検知状態#3である。この検知状態#3は、前述の第3検知状態に該当する。また、図4(d)は、上述したように、検知状態#4であるから、一定距離内外判定結果が「外」、動静判定結果が「静」の状態は、検知状態#4である。この検知状態#4は、前述の第4検知状態に該当する。図7は、これらの検知状態を示したテーブルである。   Since FIG. 4C is the detection state # 3 as described above, the state where the constant distance inside / outside determination result is “out” and the movement / noisiness determination result is “motion” is the detection state # 3. This detection state # 3 corresponds to the aforementioned third detection state. Further, FIG. 4D is the detection state # 4 as described above, and therefore, the state where the fixed distance inside / outside determination result is “out” and the dynamic / static determination result is “static” is the detection state # 4. This detection state # 4 corresponds to the aforementioned fourth detection state. FIG. 7 is a table showing these detection states.

上記の人体存在検知装置10では、上記の一定距離内外判定、及び、動静判定を、今回測定時点Tpと、前回測定時点Tnの、連続する2つの測定時点において、行う。即ち、上述した前回測定時点Tnと、今回測定時点Tpの、連続する2つの測定時点において、検知状態が、図7のテーブルに示されている、検知状態#1〜検知状態#4のいずれであるかを示す検知状態情報を形成する。   In the human body presence detection device 10 described above, the above-described fixed distance inside / outside determination and movement / non-motion determination are performed at two consecutive measurement time points, the current measurement time point Tp and the previous measurement time point Tn. That is, at two consecutive measurement points, the previous measurement point Tn and the current measurement point Tp, the detection state is any of detection state # 1 to detection state # 4 shown in the table of FIG. Detection state information indicating whether or not there is is formed.

この内、前回測定時点Tnにおける検知状態情報を前回検知状態情報と称し、今回測定時点Tpにおける検知状態情報を今回検知状態情報と称する。また、前回検知状態情報における検知状態を前回検知状態、今回検知状態情報における検知状態を今回検知状態と称する。   Among these, the detection state information at the previous measurement time Tn is referred to as previous detection state information, and the detection state information at the current measurement time Tp is referred to as current detection state information. The detection state in the previous detection state information is referred to as the previous detection state, and the detection state in the current detection state information is referred to as the current detection state.

この2つの検知状態に基づいて、図8に示すように、前回検知状態から今回検知状態へ遷移する状態遷移パターンを形成し、この状態遷移パターンが、人体存在有無と関連付けられて予め人体存在検知装置10のメモリ12に記憶されている複数の基準状態遷移パターンの中から、合致するものを選択することにより、基準位置から、基準距離(DS)以内に、操作者である人体21が存在しているか否かの判断が行われる。   Based on these two detection states, as shown in FIG. 8, a state transition pattern for transitioning from the previous detection state to the current detection state is formed, and this state transition pattern is associated with the presence / absence of the human body in advance. By selecting a matching pattern from a plurality of reference state transition patterns stored in the memory 12 of the apparatus 10, the human body 21 as an operator exists within the reference distance (DS) from the reference position. A determination is made whether or not.

尚、図は、前回検知状態が検知状態#2で、今回検知状態が検知状態#1である場合を示す。この場合の状態遷移パターンは、前回検知状態が検知状態#2から今回検知状態が検知状態#1へ遷移する状態遷移パターンである。このような状態遷移パターンの表現を、以後、前回検知状態が検知状態#1と、今回検知状態が検知状態#2とを用いることで、表現する。   The figure shows a case where the previous detection state is the detection state # 2, and the current detection state is the detection state # 1. The state transition pattern in this case is a state transition pattern in which the previous detection state transitions from the detection state # 2 to the detection state # 1 this time. Such a state transition pattern is expressed by using the detection state # 1 as the previous detection state and the detection state # 2 as the current detection state.

そこで、人体存在検知装置10のメモリ12には、基準距離(DS)以内に、操作者である人体21が存在しているか否かの判断を行うための基準である複数の基準状態遷移パターンが記憶されている。図9は、この基準状態遷移パターンを示したテーブルであり、基準状態遷移パターンは、図9に示すように、人体存在有無と関連付けられている。また、図10は、この基準状態遷移パターンの具体的な状態を示した基準状態遷移パターン図である。   Therefore, the memory 12 of the human body presence detection apparatus 10 has a plurality of reference state transition patterns which are references for determining whether or not the human body 21 as an operator exists within the reference distance (DS). It is remembered. FIG. 9 is a table showing this reference state transition pattern, and the reference state transition pattern is associated with the presence or absence of a human body as shown in FIG. FIG. 10 is a reference state transition pattern diagram showing a specific state of this reference state transition pattern.

図9、及び、図10に示す基準状態遷移パターンは、次のように形成されている。まず、基準位置から基準距離(DS)内に人体が存在することを表すパターンとして、前回検知状態、及び、今回検知状態がそれぞれ、検知状態#1、検知状態#1であるA1状態遷移パターン、検知状態#2、検知状態#1であるA2状態遷移パターン、検知状態#3、検知状態#1であるA3状態遷移パターン、及び、検知状態#4、検知状態#1であるA4状態遷移パターンが形成されている。   The reference state transition patterns shown in FIGS. 9 and 10 are formed as follows. First, as a pattern indicating that a human body exists within the reference distance (DS) from the reference position, the A1 state transition pattern in which the previous detection state and the current detection state are the detection state # 1 and the detection state # 1, respectively. Detection state # 2, detection state # 1, A2 state transition pattern, detection state # 3, detection state # 1, A3 state transition pattern, detection state # 4, detection state # 1, A4 state transition pattern Is formed.

これらの各場合は、結果として現在、検知状態#1である場合、つまり、図4(a)における、基準位置に存在するノートパソコン26の前に、人体21が椅子22に座った状態で存在する場合であるので、基準距離(DS)内に人体21が存在するとの判断をすることができる。   In each of these cases, as a result, when the current state is the detection state # 1, that is, in the state where the human body 21 is sitting on the chair 22 in front of the notebook computer 26 existing at the reference position in FIG. Therefore, it can be determined that the human body 21 exists within the reference distance (DS).

次に、基準位置から基準距離(DS)内に人体が存在しないことを表すパターンとして、前回検知状態、及び、今回検知状態がそれぞれ、検知状態#2、検知状態#2であるB1状態遷移パターン、検知状態#3、検知状態#3であるB2状態遷移パターン、検知状態#4、検知状態#4であるB3状態遷移パターン、検知状態#3、検知状態#4であるB4状態遷移パターン、及び、検知状態#4、検知状態#3であるB5状態遷移パターンが形成されている。   Next, as a pattern indicating that no human body exists within the reference distance (DS) from the reference position, the B1 state transition pattern in which the previous detection state and the current detection state are the detection state # 2 and the detection state # 2, respectively. , Detection state # 3, detection state # 3, B2 state transition pattern, detection state # 4, detection state # 4, B3 state transition pattern, detection state # 3, detection state # 4, B4 state transition pattern, and B5 state transition patterns that are detection state # 4 and detection state # 3 are formed.

これらの各場合は、結果として現在、検知状態#1以外の場合、つまり、図4(a)以外における場合であり、基準位置に存在するノートパソコン26の前に、人体21が椅子22に座った状態で存在する以外の場合(図4(b)〜図4(d))であるので、基準距離(DS)内に人体21が存在しないとの判断をすることができる。   In each of these cases, as a result, a case other than the detection state # 1 is present, that is, a case other than FIG. 4A, and the human body 21 sits on the chair 22 in front of the notebook computer 26 existing at the reference position. In other cases (FIGS. 4B to 4D), it can be determined that the human body 21 does not exist within the reference distance (DS).

さらに、基準位置から基準距離(DS)内に人体が存在することを条件付で表すパターンとして、前回検知状態、及び、今回検知状態がそれぞれ、検知状態#1、検知状態#2であるC1状態遷移パターン、検知状態#1、検知状態#3であるC2状態遷移パターン、及び、検知状態#1、検知状態#4であるC3状態遷移パターンが形成されている。   Furthermore, as a pattern that conditionally indicates that a human body exists within the reference distance (DS) from the reference position, the previous detection state and the current detection state are the detection state # 1 and the C1 state where the detection state is # 2, respectively. A transition pattern, a detection state # 1, a C2 state transition pattern that is the detection state # 3, and a C3 state transition pattern that is the detection state # 1 and the detection state # 4 are formed.

尚、図9、及び、図10に示す基準状態遷移パターンにおいて、前回検知状態、及び、今回検知状態がそれぞれ、検知状態#2、検知状態#3である状態遷移パターン、検知状態#3、検知状態#2である状態遷移パターン、検知状態#4、検知状態#2である状態遷移パターン、及び、検知状態#2、検知状態#4である状態遷移パターンが、記載されていない。これは、いずれもこれらの状態遷移パターンの間に、検知状態#1の状態が入るので、検知パターンとしては存在しないからである。   In addition, in the reference state transition patterns shown in FIGS. 9 and 10, the state transition pattern in which the previous detection state and the current detection state are detection state # 2 and detection state # 3, detection state # 3, and detection, respectively. The state transition pattern which is the state # 2, the detection state # 4, the state transition pattern which is the detection state # 2, and the state transition pattern which is the detection state # 2 and the detection state # 4 are not described. This is because the state of detection state # 1 is inserted between these state transition patterns, and thus there is no detection pattern.

これらの各ケースでは、次のような処理が行われる。即ち、上記の各ケースが生じた場合、その時点から存在見做時間が経過するまでの間は、基準位置から基準距離(DS)内に人体が存在すると判断し、存在見做時間の経過が終了した時点で、基準位置から基準距離(DS)内に人体が存在しないと判断する条件付判断を行う。実施の形態1では、上記の存在見做時間は、例えば、5分間としている。   In each of these cases, the following processing is performed. That is, when each of the above cases occurs, it is determined that the human body is present within the reference distance (DS) from the reference position until the existence observation time elapses from that point. When the process is completed, a conditional determination is performed to determine that no human body exists within the reference distance (DS) from the reference position. In the first embodiment, the above-mentioned presence estimation time is, for example, 5 minutes.

上記の条件付判断とは、次のような判断である。即ち、上記の基準位置から基準距離(DS)内に人体が存在することを条件付で表す基準状態遷移パターンは、検知状態#1から、検知状態#2、検知状態#3、または、検知状態#4のいずれかに遷移するパターンである。   The conditional judgment is the following judgment. That is, the reference state transition pattern that conditionally indicates that the human body exists within the reference distance (DS) from the reference position is the detection state # 1, the detection state # 2, the detection state # 3, or the detection state. It is a pattern that transitions to any of # 4.

これは、検知状態#1、つまり、図4(a)における、基準位置に存在するノートパソコン26の前に、人体21が椅子22に座った状態で存在する場合から、この、人体21が椅子22に座った状態で存在する場合以外の場合に、遷移した状態である。   This is because the human body 21 is in the chair 22 in the detection state # 1, that is, in the state where the human body 21 is sitting on the chair 22 in front of the notebook computer 26 existing at the reference position in FIG. In a case other than the case where the user is sitting in the state 22, the state is a transition state.

この状態は、一旦は、ノートパソコン26の前に、人体21が存在しており、この人体21が、ノートパソコン26の前から離れたものの、このノートパソコン26の前から離れるのが短時間で、すぐに戻ることが想定される場合が有り得る状態である。   In this state, the human body 21 is present in front of the notebook computer 26. The human body 21 is separated from the front of the notebook computer 26, although it is separated from the front of the notebook computer 26 in a short time. This is a state that may be expected to return immediately.

そこで、このような場合に、存在見做時間が経過するまでの間は、基準距離(DS)内に人体が存在すると看做して、このように判断し、存在見做時間の経過が終了した時点で、基準距離(DS)内に人体が存在しないと判断するのが、上記の条件付判断である。   Therefore, in such a case, it is determined that a human body is present within the reference distance (DS) until the presence detection time elapses, and thus the determination is made and the elapse of the presence detection time ends. At this time, it is the conditional judgment described above that it is determined that the human body does not exist within the reference distance (DS).

但し、上記の場合に、次のような不都合を生じる。即ち、一旦、条件付判断を行うと、存在見做時間が経過するまでの間は、基準距離(DS)内に人体21が存在すると判断し、存在見做時間の経過が終了した時点で、基準距離(DS)内に人体21が存在しないと、機械的に判断してしまうことになる。   However, in the above case, the following inconvenience occurs. That is, once the conditional determination is made, it is determined that the human body 21 exists within the reference distance (DS) until the existence finding time elapses, and when the existence finding time has elapsed, If the human body 21 does not exist within the reference distance (DS), it is mechanically determined.

そのため、実際には、存在見做時間が経過している途中の時点で、図3、図4において、ノートパソコン26の前に、人体21が椅子22に座った状態で存在する状態になったにもかかわらず、存在見做時間の経過が終了した時点で、基準距離(DS)内に人体21が存在しないと判断してしまうことになる。   Therefore, in actuality, the human body 21 is in a state of sitting in a chair 22 in front of the notebook computer 26 in FIGS. Nevertheless, at the time when the presence determination time has ended, it is determined that the human body 21 does not exist within the reference distance (DS).

そこで、このような状態が生じるのを避けるために、次のような処理を行っている。即ち、上記の存在見做時間が経過している途中で、人体存在検知装置10の距離測定センサ17による新たな離間距離の測定により、新たに生じた状態遷移パターンが、A1状態遷移パターン、A2状態遷移パターン、A3状態遷移パターン、または、A4状態遷移パターンのいずれかであると、その時点で、上記の条件付判断を中止すると共に、新たに、基準距離(DS)内に人体21が存在するとの判断を行うのである。   Therefore, in order to avoid such a situation, the following processing is performed. That is, a new state transition pattern obtained by measurement of a new separation distance by the distance measurement sensor 17 of the human body presence detection device 10 during the above-mentioned presence detection time has passed is an A1 state transition pattern, A2 If it is any of the state transition pattern, A3 state transition pattern, or A4 state transition pattern, the conditional judgment is stopped at that time, and the human body 21 newly exists within the reference distance (DS). The decision is made.

次に、上記の人体存在検知装置10の処理動作について、具体的に説明する。人体存在検知装置10は、この処理動作を行うために、人体存在検知装置10のメモリ12には、上述した、図9に示す基準状態遷移パターンのほか、図11(a)に示す6個の記録エリア、図11(b)に示す3個のフラグ、及び、ソフトウエアで構成されるタイマTMが備えられている。このタイマTMは、上述した「条件付人体存在有」状態の場合の、存在見做時間を計測するために用いられ、このタイマTMのタイムアップ時間は、実施の形態1では、上述したように、5分間である。   Next, the processing operation of the human body presence detection apparatus 10 will be specifically described. In order to perform this processing operation, the human body presence detection device 10 stores, in the memory 12 of the human body presence detection device 10, the six reference states transition patterns shown in FIG. A recording area, three flags shown in FIG. 11B, and a timer TM configured by software are provided. This timer TM is used for measuring the presence time required in the above-described “conditional human body presence” state, and the time-up time of this timer TM is as described above in the first embodiment. 5 minutes.

図11(a)に示す6個の記録エリアは、今回内外判定記録エリアM11、今回動静判定記録エリアM12、今回検知状態記録エリアM13、前回内外判定記録エリアM21、前回動静判定記録エリアM22、そして、前回検知状態記録エリアM23である。また、図11(b)に示す3個のフラグは、初回サイクル完了表示フラグF0、人体存在有無表示フラグF1、及び、条件付人体存在有表示フラグF2である。   The six recording areas shown in FIG. 11A are a current inside / outside determination recording area M11, a current movement / non-execution determination recording area M12, a current detection state recording area M13, a previous inside / outside determination recording area M21, a forward rotation / static determination recording area M22, and This is the previous detection state recording area M23. The three flags shown in FIG. 11B are an initial cycle completion display flag F0, a human body presence / absence display flag F1, and a conditional human body presence display flag F2.

尚、上記の人体存在検知装置10では、人体存在検知装置10から出力される信号は、上述したように、「人体存在有信号」、または、「人体存在無信号」のいずれかであるが、「人体存在有信号」が一旦出力されると、「基準距離(DS)内に人体が存在している」状態、あるいは、「基準距離(DS)内に人体が存在している」と看做せる状態の間は、特に信号は出力されず、「基準距離(DS)内に人体が存在していない」状態となったときに、初めて、「人体存在無信号」が出力される。   In the human body presence detection device 10, the signal output from the human body presence detection device 10 is either a “human body presence signal” or a “human body absence signal” as described above. Once the “human body presence signal” is output, it is considered that “a human body exists within the reference distance (DS)” or “a human body exists within the reference distance (DS)”. In particular, no signal is output during the state of being turned on, and a “human body non-signal” is output for the first time when a “no human body is present within the reference distance (DS)” state.

また、「人体存在無信号」が一旦出力されると、「基準距離(DS)内に人体が存在していない」状態の間は、特に信号は出力されず、「基準距離(DS)内に人体が存在している」状態となったときに、初めて、「人体存在有信号」が出力される。   In addition, once the “no human body presence signal” is output, no signal is output during the “no human body is present within the reference distance (DS)” state. The “human body presence signal” is output for the first time when the “human body is present” state.

しかし、人体存在検知装置10が処理動作開始直後における、「人体存在有信号」、または、「人体存在無信号」を出力すべき状態下では、それ以前の状態をチェックすることなく、直ちに、いずれかを出力する必要がある。上記の初回サイクル完了フラグF0は、このような処理を行うのに用いられる。この初回サイクル完了フラグF0は、初回サイクル未完了の間、即ち、「人体存在有信号」、または、「人体存在無信号」のいずれかが出力されるまでの間は、F0=0となり、初回サイクル完了後、即ち、「人体存在有信号」、または、「人体存在無信号」のいずれかが出力された後は、F0=1となる。   However, immediately after the human body presence detection apparatus 10 should output a “human body presence signal” or “no human body presence signal” immediately after the start of the processing operation, immediately without checking the previous state, Need to be output. The initial cycle completion flag F0 is used to perform such processing. The initial cycle completion flag F0 is F0 = 0 while the initial cycle is not completed, that is, until either the “human body presence signal” or the “human body absence signal” is output. After the cycle is completed, that is, after either the “human body presence signal” or the “human body absence signal” is output, F0 = 1.

また、人体存在有無表示フラグF1は、「基準距離(DS)内に人体が存在している」状態では、F1=1となり、「基準距離(DS)内に人体が存在していない」状態では、F1=0となる。また、条件付人体存在有表示フラグF2は、「条件付人体存在有」状態では、F2=1となり、そうでない状態では、F2=0となる。   Further, the human body presence / absence display flag F1 is F1 = 1 in a state where “a human body exists within the reference distance (DS)”, and in a state where “a human body does not exist within the reference distance (DS)”. F1 = 0. The conditional human body presence display flag F2 is F2 = 1 in the “conditional human body presence present” state, and F2 = 0 in other states.

図12〜図17は、上記の人体存在検知装置10の処理動作を示したフローチャートである。この内、図12、及び、図13は、処理動作の基本フローチャートである。尚、この処理動作の開始に際しては、上述したインターバルパルス発生部16で、インターバルパルスが、少なくとも、3個発生されることにより、人体存在検知装置10のセンサI/F14に備えられているFIFOレジスタに、距離測定センサ17によって測定された離間距離のデータが記録される必要がある。   12 to 17 are flowcharts showing the processing operation of the human body presence detection apparatus 10 described above. Among these, FIG. 12 and FIG. 13 are basic flowcharts of processing operations. At the start of this processing operation, at least three interval pulses are generated by the interval pulse generator 16 described above, so that the FIFO register provided in the sensor I / F 14 of the human body presence detection device 10 is provided. In addition, data of the separation distance measured by the distance measuring sensor 17 needs to be recorded.

即ち、上述した、今回離間距離(D1)がFIFOレジスタの1段目(FIFO1)に、前回離間距離(D2)がFIFOレジスタの2段目(FIFO1)に、そして、前々回離間距離(D3)がFIFOレジスタの3段目(FIFO3)に、全て、記録される必要がある。従って、人体存在検知装置10の処理動作は、インターバルパルスが、少なくとも、3個発生された後に開始される。   That is, the current separation distance (D1) is the first stage (FIFO1) of the FIFO register, the previous separation distance (D2) is the second stage (FIFO1) of the FIFO register, and the previous separation distance (D3) is All must be recorded in the third stage (FIFO3) of the FIFO register. Therefore, the processing operation of the human body presence detection apparatus 10 is started after at least three interval pulses are generated.

図12、図13において、人体存在検知装置10の処理動作が開始されると、まず、初回サイクル完了表示フラグF0、人体存在有無表示フラグF1、条件付人体存在有表示フラグF2、及び、タイマTMをリセットする(S1)。   12 and 13, when the processing operation of the human body presence detection device 10 is started, first, the initial cycle completion display flag F0, the human body presence / absence display flag F1, the conditional human body presence / absence display flag F2, and the timer TM are firstly displayed. Is reset (S1).

次に、条件付人体存在有表示フラグF2をチェックする(S2)。この段階では、条件付人体存在有表示フラグF2は、F2=0であり、F2=1ではないので、次に、S5へ進む。   Next, the conditional human body presence flag F2 is checked (S2). At this stage, the conditional human body presence flag F2 is F2 = 0 and not F2 = 1, so the process proceeds to S5.

S5では、インターバルパルスの有無をチェックし、インターバルパルスが発生していないと(S6)、S2へ戻って、S2以降を繰返す。インターバルパルスが発生していると(S6)、今回判定結果形成処理(S100A)、前回判定結果形成処理(S100B)、今回検知状態情報形成処理(S200A)、及び、前回検知状態情報形成処理(S200B)を、この順に行う。   In S5, the presence / absence of an interval pulse is checked. If no interval pulse is generated (S6), the process returns to S2 and S2 and subsequent steps are repeated. When the interval pulse is generated (S6), the current determination result formation process (S100A), the previous determination result formation process (S100B), the current detection state information formation process (S200A), and the previous detection state information formation process (S200B). ) In this order.

まず、今回判定結果形成処理(S100A)を行う。図14は、この今回判定結果形成処理(S100A)の処理動作を示したフローチャートである。図14において、まず、FIFO1から今回離間距離(D1)を読み出して、基準距離(DS)と比較する(S101A)。比較の結果、今回離間距離(D1)が基準距離(DS)以下であると(S102A)、「内」を今回内外判定記録エリアM11へ記録して(S103A)、S105Aへ進む。比較の結果、今回離間距離(D1)が基準距離(DS)以下ではないと(S102A)、「外」を今回内外判定記録エリアM11へ記録して(S104A)、S105Aへ進む。   First, the current determination result formation process (S100A) is performed. FIG. 14 is a flowchart showing the processing operation of the current determination result forming process (S100A). In FIG. 14, first, the current separation distance (D1) is read from the FIFO 1 and compared with the reference distance (DS) (S101A). As a result of comparison, if the current separation distance (D1) is equal to or smaller than the reference distance (DS) (S102A), “inside” is recorded in the current inside / outside determination recording area M11 (S103A), and the process proceeds to S105A. As a result of the comparison, if the current separation distance (D1) is not less than or equal to the reference distance (DS) (S102A), “outside” is recorded in the current inside / outside determination recording area M11 (S104A), and the process proceeds to S105A.

S105Aでは、FIFO1から今回離間距離(D1)を、FIFO2から前回離間距離(D2)を読み出して、双方を比較する。比較の結果、今回離間距離(D1)が前回離間距離(D2)と略等しいと、「静」を今回動静判定記録エリアM12へ記録して(S107A)、今回判定結果形成処理(S100A)を終了する。比較の結果、今回離間距離(D1)が前回離間距離(D2)と略等くはないと、「動」を今回動静判定記録エリアM12へ記録して(S108A)、今回判定結果形成処理(S100A)を終了する。   In S105A, the current separation distance (D1) is read from FIFO1 and the previous separation distance (D2) is read from FIFO2, and both are compared. If the comparison result shows that the current separation distance (D1) is substantially equal to the previous separation distance (D2), “static” is recorded in the current movement / non-execution determination recording area M12 (S107A), and the current determination result formation process (S100A) is terminated. To do. As a result of comparison, if the current separation distance (D1) is not substantially equal to the previous separation distance (D2), “movement” is recorded in the current movement determination recording area M12 (S108A), and the current determination result forming process (S100A). ) Ends.

次に、前回判定結果形成処理(S100B)を行う。図15は、この前回判定結果形成処理(S100B)の処理動作を示したフローチャートである。この前回判定結果形成処理(S100B)は、上記の今回判定結果形成処理(S100A)とフロー動作は、同じである。   Next, a previous determination result formation process (S100B) is performed. FIG. 15 is a flowchart showing the processing operation of the previous determination result forming process (S100B). This previous determination result formation process (S100B) has the same flow operation as the current determination result formation process (S100A).

前回判定結果形成処理(S100B)が、今回判定結果形成処理(S100A)と異なるのは、FIFO1に代えてFIFO2を、FIFO2に代えてFIFO3を、また、今回内外判定記録エリアM11に代えて前回内外判定記録エリアM21を、そして、今回動静判定記録エリアM12に代えて前回動静判定記録エリアM22を、それぞれ用いる点であり、フロー動作そのものは、上述したように、同じである。   The previous determination result formation process (S100B) is different from the current determination result formation process (S100A) in that FIFO2 is replaced by FIFO1, FIFO3 is replaced by FIFO2, and the previous internal / external determination recording area M11 is replaced. The determination recording area M21 is used, and the previous rotation static determination determination recording area M22 is used in place of the current movement determination determination recording area M12. The flow operation itself is the same as described above.

次に、今回検知状態情報形成処理(S200A)を行う。図16は、今回検知状態情報形成処理(S200A)の処理動作を示したフローチャートである。図16において、まず、今回内外判定記録エリアM11の内容が、「内」であるかチェックし(S201A)、「内」であると(S202A)、次に、今回動静判定記録エリアM12の内容が「動」であるかチェックする(S203A)。   Next, a current detection state information formation process (S200A) is performed. FIG. 16 is a flowchart showing the processing operation of the current detection state information forming process (S200A). In FIG. 16, first, it is checked whether or not the content of the current inside / outside determination recording area M11 is “inside” (S201A), and if it is “inside” (S202A), then the content of the current motion determination recording area M12 is It is checked whether it is “motion” (S203A).

S203Aにおける今回動静判定記録エリアM12の内容が「動」であるかのチェックで、「動」であると(S204A)、この場合の検知状態は、検知状態#1であるので、検知状態#1を今回検知状態記録エリアM13に記録して(S205A)、今回検知状態情報形成処理(S200A)を終了する。「動」ではないと(S204A)、即ち、「静」であると、この場合の検知状態は、検知状態#2であるので、検知状態#2を今回検知状態記録エリアM13に記録して(S206A)、今回検知状態情報形成処理(S200A)を終了する。   When the content of the current motion determination recording area M12 in S203A is “moving”, if it is “moving” (S204A), the detection state in this case is the detection state # 1, so the detection state # 1. Is recorded in the current detection state recording area M13 (S205A), and the current detection state information forming process (S200A) is terminated. If it is not “moving” (S204A), that is, if it is “static”, the detection state in this case is detection state # 2, so the detection state # 2 is recorded in the current detection state recording area M13 ( S206A), the current detection state information forming process (S200A) is terminated.

S201Aにおける今回内外判定記録エリアM11の内容が、「内」であるかのチェックで、「内」ではないと(S202A)、即ち、「外」であると、次に、今回動静判定記録エリアM12の内容が「動」であるかチェックする(S207A)。   If the content of the current inside / outside determination recording area M11 in S201A is “inside” and is not “inside” (S202A), that is, if it is “outside”, next, the current movement determination recording area M12 It is checked whether or not the content of is “motion” (S207A).

S207Aにおける今回動静判定記録エリアM12の内容が「動」であるかのチェックで、「動」であると(S208A)、この場合の検知状態は、検知状態#3であるので、検知状態#3を今回検知状態記録エリアM13に記録して(S209A)、今回検知状態情報形成処理(S200A)を終了する。「動」ではないと(S208A)、即ち、「静」であると、この場合の検知状態は、検知状態#4であるので、検知状態#4を今回検知状態記録エリアM13に記録して(S210A)、今回検知状態情報形成処理(S200A)を終了する。   If the content of the current motion determination recording area M12 in S207A is “moving”, if it is “moving” (S208A), the detection state in this case is the detection state # 3, so the detection state # 3 Is recorded in the current detection state recording area M13 (S209A), and the current detection state information forming process (S200A) is terminated. If it is not “moving” (S208A), that is, if it is “static”, the detection state in this case is detection state # 4, so that detection state # 4 is recorded in the current detection state recording area M13 ( S210A), the current detection state information forming process (S200A) is terminated.

次に、前回検知状態情報形成処理(S200B)を行う。図17は、前回検知状態情報形成処理(S200B)の処理動作を示したフローチャートである。この前回検知状態情報形成処理(S200B)は、上記の今回検知状態情報形成処理(S200A)とフロー動作は、同じである。   Next, a previous detection state information formation process (S200B) is performed. FIG. 17 is a flowchart showing the processing operation of the previous detection state information forming process (S200B). This previous detection state information formation process (S200B) has the same flow operation as the current detection state information formation process (S200A).

前回検知状態情報形成処理(S200B)が、上記の今回検知状態情報形成処理(S200A)と異なるのは、今回内外判定記録エリアM11に代えて前回内外判定記録エリアM21を、今回動静判定記録エリアM12に代えて前回動静判定記録エリアM22を、また、今回検知状態記録エリアM13に代えて前回検知状態記録エリアM23を、それぞれ用いる点であり、フロー動作そのものは、上述したように、同じである。   The previous detection state information formation process (S200B) is different from the current detection state information formation process (S200A) described above in that the previous internal / external determination recording area M21 is replaced by the current internal / external determination recording area M11. Instead of this, the previous rotation state determination recording area M22 is used, and the previous detection state recording area M23 is used instead of the current detection state recording area M13, and the flow operation itself is the same as described above.

図12において、上記の今回判定結果形成処理(S100A)、前回判定結果形成処理(S100B)、今回検知状態情報形成処理(S200A)、及び、前回検知状態情報形成処理(S200B)が、この順に終了すると、S9へ進む(図13)。   In FIG. 12, the current determination result formation process (S100A), the previous determination result formation process (S100B), the current detection state information formation process (S200A), and the previous detection state information formation process (S200B) end in this order. Then, it progresses to S9 (FIG. 13).

S9では、M23の前回検知状態とM13の今回検知状態の組合せが合致するパターンを、人体存在検知装置10のメモリ12に設けられている基準状態遷移パターンの中から選択して、S10へ進み、この選択されたパターンが、A1〜A4、B1〜B5、或いは、C1〜C3のいずれであるかをチェックする。尚、S10における選択されたパターンのチェックで、A1〜A4、B1〜B5、或いは、C1〜C3のいずれにも該当しない場合は(S27)、通常はありえない場合であるとして、何もしないで、S2へ戻り、S2以降の処理を繰返す。   In S9, a pattern that matches the combination of the previous detection state of M23 and the current detection state of M13 is selected from the reference state transition patterns provided in the memory 12 of the human body presence detection device 10, and the process proceeds to S10. It is checked whether the selected pattern is A1 to A4, B1 to B5, or C1 to C3. If the selected pattern check in S10 does not correspond to any of A1 to A4, B1 to B5, or C1 to C3 (S27), do not do anything as it is normally impossible. Returning to S2, the processes after S2 are repeated.

S10における選択されたパターンのチェックで、A1〜A4であると(S11)、これは、「基準位置から基準距離(DS)内に人体が存在する」状態である。そこで、次に、条件付人体存在有表示フラグF2をチェックする(S12)。この段階では、F2=0であり、F2=1ではないので、次に、S13へ進む。   In the check of the selected pattern in S10, if it is A1 to A4 (S11), this is a state that “the human body exists within the reference distance (DS) from the reference position”. Then, next, the conditional human body presence display flag F2 is checked (S12). At this stage, since F2 = 0 and not F2 = 1, the process proceeds to S13.

S13では、初回サイクル完了表示フラグF0をチェックする。この段階では、F0=0であり、F0=1ではないので、次に、F0=1とした後(S17)、「人体存在有」を出力すると共に(S15)、人体存在有無表示フラグF1を、F1=1として(S16)、S2へ戻り、S2以降の処理を繰返す。   In S13, the initial cycle completion display flag F0 is checked. At this stage, F0 = 0 and not F0 = 1. Next, after setting F0 = 1 (S17), “human body present” is output (S15), and the human body presence / absence display flag F1 is set. F1 = 1 (S16), the process returns to S2, and the processes after S2 are repeated.

尚、初回サイクルが完了した後であると、S13における初回サイクル完了表示フラグF0のチェックでは、F0=1であるので、この場合は、次に、人体存在有無表示フラグF1をチェックする(S14)。そして、F1=1ではない場合、即ち、F1=0の場合は、「人体存在有」を出力すると共に(S15)、人体存在有無表示フラグF1を、F1=1とし(S16)、そうでない場合、即ち、S14の人体存在有無表示フラグF1のチェックで、F1=1の場合は、何もしないで、S2へ戻り、S2以降の処理を繰返す。   If the initial cycle is completed, F0 = 1 in the check of the initial cycle completion display flag F0 in S13. In this case, next, the human body presence / absence display flag F1 is checked (S14). . If F1 = 1 is not satisfied, that is, if F1 = 0, “the presence of a human body” is output (S15), and the presence / absence display flag F1 of the human body is set to F1 = 1 (S16). That is, in the check of the human body presence / absence display flag F1 in S14, if F1 = 1, nothing is done, the process returns to S2, and the processes after S2 are repeated.

上記の処理は、上述したように、「人体存在有信号」が一旦出力された後であると、「基準距離(DS)内に人体が存在している」状態、あるいは、「基準距離(DS)内に人体が存在している」とみなせる状態の間は、特に「人体存在有信号」は出力しないようにするためである。また、「人体存在無信号」が出力された後において、「基準距離(DS)内に人体が存在している」状態となったときには、「人体存在有信号」が出力されるようにするためである。   As described above, after the “human body presence presence signal” is output once, the above processing is in a state that “the human body exists within the reference distance (DS)” or “reference distance (DS This is because the “human body presence signal” is not particularly output during the state in which it can be considered that “the human body is present in ()”. In addition, when a “human body is present within the reference distance (DS)” after the “human body absence signal” is output, a “human body presence signal” is output. It is.

S10における選択されたパターンのチェックで、B1〜B5であると(S20)、これは、「基準位置から基準距離(DS)内に人体が存在しない」状態である。そこで、次に、条件付人体存在有表示フラグF2をチェックする(S21)。この段階では条件付人体存在有表示フラグF2は、F2=0であり、F2=1ではないので、次に、S22へ進む。   If B1 to B5 are checked in the check of the selected pattern in S10 (S20), this is a state where “the human body does not exist within the reference distance (DS) from the reference position”. Then, next, the conditional human body presence display flag F2 is checked (S21). At this stage, the conditional human body presence flag F2 is F2 = 0 and not F2 = 1, so the process proceeds to S22.

S22では、初回サイクル完了表示フラグF0をチェックする。この段階では、初回サイクル完了表示フラグF0は、F0=0であり、F0=1ではないので、次に、F0=1とした後(S26)、「人体存在無」を出力すると共に(S24)、人体存在有無表示フラグF1を、F1=0として(S25)、S2へ戻り、S2以降の処理を繰返す。   In S22, the initial cycle completion display flag F0 is checked. At this stage, the initial cycle completion display flag F0 is F0 = 0 and not F0 = 1. Next, after setting F0 = 1 (S26), “No human body exists” is output (S24). The human body presence / absence display flag F1 is set to F1 = 0 (S25), the process returns to S2, and the processes after S2 are repeated.

尚、初回サイクルが完了した後であると、S22における初回サイクル完了表示フラグF0のチェックでは、F0=1であるので、この場合は、次に、人体存在有無表示フラグF1をチェックする(S23)。そして、F1=1の場合は、「人体存在無」を出力すると共に(S24)、F1=0とし(S25)、そうでない場合、即ち、S23の人体存在有無表示フラグF1のチェックで、F1=1ではない場合、即ち、F1=0の場合は、何もしないで、S2へ戻り、S2以降の処理を繰返す。   If the initial cycle is completed, F0 = 1 in the check of the initial cycle completion display flag F0 in S22. In this case, next, the human body presence / absence display flag F1 is checked (S23). . If F1 = 1, “No human body exists” is output (S24), and F1 = 0 is set (S25). If not, that is, if the human body presence / absence display flag F1 is checked in S23, F1 = If it is not 1, that is, if F1 = 0, do nothing, return to S2, and repeat the processing from S2.

上記の処理は、上述したように、「人体存在無信号」が一旦出力された後であると、「基準距離(DS)内に人体が存在していない」状態の間は、特に「人体存在無信号」は出力しないようにするためである。また、「人体存在有信号」が出力された後において、「基準距離(DS)内に人体が存在していない」状態となったときには、「人体存在無信号」が出力されるようにするためである。   As described above, the above processing is performed after the “Human Body No Signal” is output once, especially during the “no human body within the reference distance (DS)” state. This is to prevent output of “no signal”. In addition, when the “no human body exists within the reference distance (DS)” after the “human body presence signal” is output, the “human body non-signal” is output. It is.

S10における選択されたパターンのチェックで、C1〜C3であると(S27)、これは、「条件付人体存在有」状態である。そこで、次に、条件付人体存在有表示フラグF2をチェックする(S28)。この段階では、条件付人体存在有表示フラグF2は、F2=0であり、F2=1ではないので、次に、S29へ進む。   If it is C1 to C3 in the check of the selected pattern in S10 (S27), this is a “conditional human body exists” state. Then, next, the conditional human body presence display flag F2 is checked (S28). At this stage, the conditional human body presence flag F2 is F2 = 0 and not F2 = 1, so the process proceeds to S29.

S29では、条件付人体存在有表示フラグF2を、F2=1とすると共に(S29)、タイマTMをスタートさせて(S30)、S13に進む。このS13以降の処理(「人体存在有」を出力する処理)については、S10における選択されたパターンのチェックで、A1〜A4である場合(S11)と、全く同じである。   In S29, the conditional human body presence display flag F2 is set to F2 = 1 (S29), the timer TM is started (S30), and the process proceeds to S13. The processing after S13 (processing for outputting “the presence of a human body”) is exactly the same as the case of A1 to A4 (S11) in the check of the selected pattern in S10.

上記の処理は、次の理由に基づく。即ち、「条件付人体存在有」状態の場合は、存在見做時間が経過するまでの間は、基準距離(DS)内に人体が存在すると看做す。そこで、上記の存在見做時間を計測するためにタイマTMをスタートさせると共に、基準距離(DS)内に人体が存在すると看做すために「人体存在有」を出力する処理を行うのである。   The above processing is based on the following reason. That is, in the “conditional human body exists” state, it is considered that the human body exists within the reference distance (DS) until the existence estimation time elapses. Therefore, the timer TM is started in order to measure the above-mentioned presence finding time, and a process of outputting “human body present” is performed in order to consider that a human body exists within the reference distance (DS).

上記のS10のチェックで、A1〜A4である場合(S11)と、B1〜B5である場合(S20)は、これらの処理が行われてS2に戻る(X3)までの間には、条件付人体存在有表示フラグF2を、F2=1とする処理を行うS28は、含まれていない。   In the above check of S10, if it is A1 to A4 (S11) and B1 to B5 (S20), there is a condition between these processes and return to S2 (X3). S28 for performing the process of setting the human body presence display flag F2 to F2 = 1 is not included.

そのため、条件付人体存在有表示フラグF2は、F2=1にはならず、F2=0のままであり、タイマTMのスタートも、行われない。そこで、S2へ戻ってS2以降の処理を行う処理は、S3及びS4をパスして、S5のインターバルパルスの有無をチェックするステップ以降の処理を行うことになる。   For this reason, the conditional human body presence display flag F2 does not become F2 = 1 but remains at F2 = 0, and the timer TM is not started. Therefore, the process of returning to S2 and performing the processes after S2 performs the processes after the step of checking the presence or absence of the interval pulse of S5 by passing through S3 and S4.

これに対して、上記のS10のチェックで、C1〜C3である場合(S27)は、これらの処理が行われてS2に戻る(X3)までの間には、条件付人体存在有表示フラグF2を、F2=1とする処理を行うS28が、含まれている。   On the other hand, if it is C1 to C3 in the check in S10 (S27), the conditional human body presence flag F2 is displayed until these processes are performed and the process returns to S2 (X3). , S28 for performing the process of setting F2 = 1 is included.

そのため、条件付人体存在有表示フラグF2は、F2=1になり、タイマTMのスタートも行われる。そこで、この場合は、S2へ戻ってS2以降の処理を行う処理は、このS2の条件付人体存在有表示フラグF2をチェックするステップ以降の処理を行うことになる。即ち、S2における条件付人体存在有表示フラグF2のチェックで、F2=1であるので、次に、タイマTMがタイムアップしているかチェックする(S3)。   Therefore, the conditional human body presence display flag F2 becomes F2 = 1, and the timer TM is also started. Therefore, in this case, the process of returning to S2 and performing the processes after S2 is performed after the step of checking the conditional human body presence display flag F2 of S2. That is, in the check of the conditional human body presence display flag F2 in S2, since F2 = 1, it is next checked whether the timer TM is up (S3).

このS3におけるタイマTMがタイムアップしているかのチェックで、タイマTMがタイムアップしていると(S4)、条件付人体存在有表示フラグF2を、F=0とすると共に(S7)、タイマTMをリセットして(S8)、S23へ進む。このS23以降の処理(「人体存在無」を出力する処理)は、S10における選択されたパターンのチェックで、B1〜B5である場合における(S20)、S23以降の処理と全く同じである。   If it is checked whether or not the timer TM is up in S3 (S4), the conditional human body presence flag F2 is set to F = 0 (S7), and the timer TM Is reset (S8), and the process proceeds to S23. The processing after S23 (processing for outputting “no human body”) is the same as the processing after S23 in the case of B1 to B5 in the check of the selected pattern in S10 (S20).

上記の処理は、次の理由に基づく。即ち、「条件付人体存在有」状態の場合は、存在見做時間が経過するまでの間は、基準距離(DS)内に人体が存在すると看做すと共に、存在見做時間の経過が終了した時点で、基準距離(DS)内に人体が存在しないと判断する。そこで、存在見做時間を計測するタイマTMがタイムアップすると、「人体存在無」を出力する処理を行うのである。   The above processing is based on the following reason. In other words, in the “conditional presence of human body” state, it is considered that there is a human body within the reference distance (DS) until the presence detection time elapses, and the presence detection time elapses. At this point, it is determined that no human body exists within the reference distance (DS). Therefore, when the timer TM for measuring the presence time is up, a process of outputting “no human body” is performed.

上記のS3におけるタイマTMがタイムアップしているかのチェックで、タイマTMがタイムアップしていない場合は(S4)、インターバルパルスの有無をチェックし(S5)、インターバルパルスが発生していると(S6)、今回判定結果形成処理(S100A)、前回判定結果形成処理(S100B)、今回検知状態情報形成処理(S200A)、及び、前回検知状態情報形成処理(S200B)が行われた後、S10へ進む。   When the timer TM is not timed up in S3, if the timer TM is not timed up (S4), the presence or absence of an interval pulse is checked (S5), and an interval pulse is generated ( S6) After the current determination result formation process (S100A), the previous determination result formation process (S100B), the current detection state information formation process (S200A), and the previous detection state information formation process (S200B), the process proceeds to S10. move on.

この場合のS10以降の処理は、条件付人体存在有表示フラグF2が、F2=1となっている場合である。そこで、以下に、この場合のS10以降の処理について説明する。   The processing after S10 in this case is a case where the conditional human body presence display flag F2 is F2 = 1. Therefore, the processing after S10 in this case will be described below.

まず、条件付人体存在有表示フラグF2が、F2=1となっている場合におけるS10以降の処理において、S10のチェックの結果、A1〜A4である場合(S11)について説明する。   First, the case where the condition human body presence display flag F2 is A1 to A4 as a result of the check in S10 in the processing after S10 when F2 = 1 is described (S11) will be described.

この場合は、「基準位置から基準距離(DS)内に人体が存在する」状態である。そこで、次に、条件付人体存在有表示フラグF2をチェックする(S12)。この段階では、上述したように、条件付人体存在有表示フラグF2は、F2=1であるので、次に、この条件付人体存在有表示フラグF2を、F2=0とすると共に、タイマTMをリセットして、S2へ戻り、S2以降の処理を繰返す。   In this case, the “human body exists within the reference distance (DS) from the reference position”. Then, next, the conditional human body presence display flag F2 is checked (S12). At this stage, as described above, the conditional human body presence display flag F2 is F2 = 1. Next, the conditional human body presence display flag F2 is set to F2 = 0, and the timer TM is set. After resetting, the process returns to S2, and the processes after S2 are repeated.

上記の処理は、次の理由に基づく。即ち、「条件付人体存在有」状態の場合は、存在見做時間が経過するまでの間は、基準距離(DS)内に人体が存在すると看做すと共に、存在見做時間の経過が終了した時点で、基準距離(DS)内に人体が存在しないと判断する。しかし、存在見做時間が経過している途中で、人体存在検知装置10の距離測定センサ17による新たな離間距離の測定により、「基準位置から基準距離(DS)内に人体が存在する」状態になると、基準距離(DS)内に人体が存在すると看做す必要はなくなる。そこで、条件付人体存在有表示フラグF2を、F2=0とすると共に、タイマTMをリセットして、S2へ戻るのである。   The above processing is based on the following reason. In other words, in the “conditional presence of human body” state, it is considered that there is a human body within the reference distance (DS) until the presence detection time elapses, and the presence detection time elapses. At this point, it is determined that no human body exists within the reference distance (DS). However, a state in which “the human body exists within the reference distance (DS) from the reference position” is determined by the measurement of the new separation distance by the distance measurement sensor 17 of the human body presence detection device 10 while the presence detection time has elapsed. Then, it is not necessary to consider that a human body exists within the reference distance (DS). Therefore, the conditional human body presence flag F2 is set to F2 = 0, the timer TM is reset, and the process returns to S2.

次に、条件付人体存在有表示フラグF2が、F2=1となっている場合におけるS10以降の処理において、S10のチェックの結果、B1〜B5である場合(S20)について説明する。   Next, the case where the condition human body presence display flag F2 is B1 to B5 as a result of the check in S10 in the processing after S10 when F2 = 1 (S20) will be described.

この場合は、「基準位置から基準距離(DS)内に人体が存在しない」状態である。そこで、次に、条件付人体存在有表示フラグF2をチェックする(S21)。この段階では、上述したように、条件付人体存在有表示フラグF2は、F2=1であるので、何もしないで、S2へ戻り、S2以降の処理を繰返す。   This case is a state where “the human body does not exist within the reference distance (DS) from the reference position”. Then, next, the conditional human body presence display flag F2 is checked (S21). At this stage, as described above, the conditional human body presence display flag F2 is F2 = 1, so nothing is done, the process returns to S2, and the processes after S2 are repeated.

上記の処理は、次の理由に基づく。即ち、「条件付人体存在有」状態の場合は、存在見做時間が経過するまでの間は、基準距離(DS)内に人体が存在すると看做す。そこで、存在見做時間が経過する途中で、「基準位置から基準距離(DS)内に人体が存在しない」状態となったとしても、基準距離(DS)内に人体が存在すると看做すべく、敢えて、「人体存在無」を出力する処理を行わずに、何もしないで、S2へ戻るのである。   The above processing is based on the following reason. That is, in the “conditional human body exists” state, it is considered that the human body exists within the reference distance (DS) until the existence estimation time elapses. Therefore, even if the human body does not exist within the reference distance (DS) from the reference position while the existence estimation time has elapsed, it should be considered that the human body exists within the reference distance (DS). Then, dare to return to S2 without doing anything without performing the process of outputting “no human body”.

次に、条件付人体存在有表示フラグF2が、F2=1となっている場合におけるS10以降の処理において、S10のチェックの結果、C1〜C3である場合(S27)について説明する。   Next, the case where the condition human body presence display flag F2 is C1 to C3 as a result of the check in S10 in the processing after S10 when F2 = 1 is described (S27) will be described.

この場合は、「条件付人体存在有」状態である。そこで、次に、条件付人体存在有表示フラグF2をチェックする(S28)。この段階では、上述したように、条件付人体存在有表示フラグF2は、F2=1であるので、何もしないで、S2へ戻り、S2以降の処理を繰返す。   This is a “conditional human body exists” state. Then, next, the conditional human body presence display flag F2 is checked (S28). At this stage, as described above, the conditional human body presence display flag F2 is F2 = 1, so nothing is done, the process returns to S2, and the processes after S2 are repeated.

上記の処理は、次の理由に基づく。即ち、「条件付人体存在有」状態の場合は、存在見做時間が経過するまでの間は、基準距離(DS)内に人体が存在すると看做す特殊な処理を行う。しかし、この段階では、既に、条件付人体存在有表示フラグF2が、F2=1となっているので、上記の特殊な処理は、既に開始されている。そのため、既に行われている上記の特殊な処理をそのまま継続させるために、何もしないで、S2へ戻るのである。   The above processing is based on the following reason. That is, in the “conditional human body exists” state, a special process is performed in which it is assumed that a human body exists within the reference distance (DS) until the existence estimation time elapses. However, at this stage, the conditional human body presence display flag F2 is already F2 = 1, and thus the above special processing has already been started. Therefore, in order to continue the special processing already performed, the process returns to S2 without doing anything.

上記の実施の形態1における人体存在検知装置10によれば、基準位置から一定方向に存在する人体または物の存在位置に対する該基準位置からの離間距離を測定するのに用いられる距離測定センサ17としては、赤外線距離測定センサや、レーザ光距離測定センサ等の距離測定センサが、1個でよい。   According to the human body presence detecting device 10 in the first embodiment, the distance measuring sensor 17 used for measuring the distance from the reference position to the position of the human body or the object existing in a certain direction from the reference position. One distance measuring sensor such as an infrared distance measuring sensor or a laser beam distance measuring sensor may be used.

そのため、1個の距離測定センサ17で、基準位置から一定方向に存在する人体または物の存在位置に対する基準位置からの離間距離を測定することができる。従って、複数の距離測定センサを用いる必要がないことから、人体存在検知装置10を低コストで実現することができる。   Therefore, it is possible to measure the distance from the reference position with respect to the position of the human body or the object existing in a certain direction from the reference position by one distance measuring sensor 17. Therefore, since it is not necessary to use a plurality of distance measuring sensors, the human body presence detection device 10 can be realized at low cost.

また、距離測定センサ17が測定を行った最新測定時点よりも一定時間経過前の時点における前回検知状態から、最新測定時点における今回検知状態への状態遷移パターンを用いて、人体が存在するか否かの判断を行っているので、次のような、人体が存在するか否かの判断を行うことができる。   Further, whether or not a human body exists using a state transition pattern from the previous detection state at a time before a certain time has elapsed from the latest measurement time point when the distance measurement sensor 17 performs measurement to the current detection state at the latest measurement time point. Therefore, it is possible to determine whether or not a human body exists as follows.

即ち、パソコン等の操作者が操作する電子機器における操作者の人体の存在を検知する場合等、操作者が、電子機器の前から離れるのが短時間で、すぐに戻ることが想定される場合等に適合しやすいような、条件付人体存在有の判断をすることができる。   In other words, when it is assumed that the operator leaves the front of the electronic device in a short time, such as when detecting the presence of the operator's human body in the electronic device operated by the operator such as a personal computer, etc. It is possible to determine the existence of a conditional human body that is easily adapted to the above.

<実施の形態2>
実施の形態2における人体存在検知装置は、実施の形態1における人体存在検知装置10とほとんど同じである。実施の形態2における人体存在検知装置が、実施の形態1における人体存在検知装置10と異なるのは、以下の点である。
<Embodiment 2>
The human body presence detection device in the second embodiment is almost the same as the human body presence detection device 10 in the first embodiment. The human body presence detection device in the second embodiment is different from the human body presence detection device 10 in the first embodiment in the following points.

上記の実施の形態1における人体存在検知装置10では、この人体存在検知装置10の処理動作において、今回離間距離(D1)がFIFOレジスタの1段目(FIFO1)に、前回離間距離(D2)がFIFOレジスタの2段目(FIFO1)に、そして、前々回離間距離(D3)がFIFOレジスタの3段目(FIFO3)に記録される。   In the human body presence detection device 10 according to the first embodiment, in the processing operation of the human body presence detection device 10, the current separation distance (D1) is the first stage (FIFO1) of the FIFO register, and the previous separation distance (D2) is The second stage (FIFO1) of the FIFO register and the previous separation distance (D3) are recorded in the third stage (FIFO3) of the FIFO register.

そして、FIFOレジスタの1段目(FIFO1)の今回離間距離(D1)と、FIFOレジスタの2段目(FIFO2)の前回離間距離(D2)とが用いられて、今回検知状態が形成される。   Then, the current detection state is formed by using the current separation distance (D1) of the first stage (FIFO1) of the FIFO register and the previous separation distance (D2) of the second stage (FIFO2) of the FIFO register.

また、FIFOレジスタの2段目(FIFO2)の前回離間距離(D2)と、FIFOレジスタの3段目(FIFO3)の前々回離間距離(D3)とが用いられて、前回検知状態が形成される。   The previous detection state is formed by using the previous separation distance (D2) of the second stage (FIFO2) of the FIFO register and the previous separation distance (D3) of the third stage (FIFO3) of the FIFO register.

しかし、FIFOレジスタの2段目(FIFO2)の前回離間距離(D2)は、FIFOレジスタをシフトするインターバルパルスが、1つ前の状態では、FIFOレジスタの1段目(FIFO1)に存在しており、FIFOレジスタの3段目(FIFO3)の前々回離間距離(D3)は、同様に、FIFOレジスタの2段目(FIFO2)に存在している状態である。   However, the previous separation distance (D2) of the second stage (FIFO2) of the FIFO register is present in the first stage (FIFO1) of the FIFO register when the interval pulse that shifts the FIFO register is in the previous state. Similarly, the second-stage separation distance (D3) of the third stage (FIFO3) of the FIFO register is also present in the second stage (FIFO2) of the FIFO register.

即ち、前回検知状態を形成するのに用いられるFIFOレジスタの2段目(FIFO2)の前回離間距離(D2)と、FIFOレジスタの3段目(FIFO3)の前々回離間距離(D3)とは、それぞれ、FIFOレジスタをシフトするインターバルパルスが、1つ前の状態におけるFIFOレジスタの1段目(FIFO1)の今回離間距離(D1)と、FIFOレジスタの2段目(FIFO2)の前回離間距離(D2)と同じものである。   That is, the previous separation distance (D2) of the second stage (FIFO2) of the FIFO register used to form the previous detection state and the previous separation distance (D3) of the third stage (FIFO3) of the FIFO register are respectively , The interval pulse for shifting the FIFO register is the current separation distance (D1) of the first stage (FIFO1) of the FIFO register in the previous state and the previous separation distance (D2) of the second stage (FIFO2) of the FIFO register. Is the same.

従って、前回検知状態は、FIFOレジスタをシフトするインターバルパルスが、1つ前の状態における今回検知状態と同じものである。そのため、上記の人体存在検知装置10の処理動作における前回検知状態に代えて、FIFOレジスタをシフトするインターバルパルスが、1つ前の状態における今回検知状態を用いても、処理の結果は、変わらない。即ち、前回検知状態記録エリアM23に記録する検知状態は、インターバルパルスが、1つ前の今回検知状態記録エリアM13に記録されている検知状態と同じものでよい。   Therefore, the previous detection state is the same as the current detection state in the state immediately before the interval pulse for shifting the FIFO register. Therefore, instead of the previous detection state in the processing operation of the human body presence detection apparatus 10 described above, even if the interval pulse for shifting the FIFO register uses the current detection state in the previous state, the processing result does not change. . That is, the detection state recorded in the previous detection state recording area M23 may be the same as the detection state in which the interval pulse is recorded in the immediately previous detection state recording area M13.

そこで、実施の形態2では、上記の実施の形態1における人体存在検知装置10の処理動作における図12のフローチャートに代えて、図18に示すフローチャートを用いている。   Therefore, in the second embodiment, the flowchart shown in FIG. 18 is used instead of the flowchart in FIG. 12 in the processing operation of the human body presence detection apparatus 10 in the first embodiment.

図18に示すフローチャートは、図12のフローチャートのS1〜S2の間に、S1A、S1B、S100A、及び、S200Aを挿入すると共に、S6とS100Aとの間にS6Aを挿入し、S100B、及び、S200Bを省略したものである。   In the flowchart shown in FIG. 18, S1A, S1B, S100A, and S200A are inserted between S1 and S2 in the flowchart of FIG. 12, and S6A is inserted between S6 and S100A, and S100B and S200B. Is omitted.

即ち、実施の形態2では、上述した前回判定結果形成処理(S100B)、及び、前回検知状態情報形成処理(S200B)が、不要である。また、図6に示すFIFOレジスタの3段目(FIFO3)も不要であると共に、人体存在検知装置10のメモリ12に備えられる図11に示す記録エリアの内の、前回内外判定記録エリアM21、及び、前回動静判定記録エリアM22も、不要である。   That is, in the second embodiment, the previous determination result formation process (S100B) and the previous detection state information formation process (S200B) described above are unnecessary. Further, the third stage (FIFO 3) of the FIFO register shown in FIG. 6 is not necessary, and the previous inside / outside judgment recording area M21 in the recording area shown in FIG. 11 provided in the memory 12 of the human body presence detecting device 10, and Also, the front rotation stillness determination recording area M22 is unnecessary.

尚、実施の形態2では、人体存在検知装置10の処理動作の開始に際しては、上述したインターバルパルス発生部16で、インターバルパルスが、少なくとも、2個発生されることにより、人体存在検知装置10のセンサI/F14に備えられているFIFOレジスタに、距離測定センサ17によって測定された離間距離のデータが記録される必要がある。   In the second embodiment, when the processing operation of the human body presence detecting device 10 is started, at least two interval pulses are generated by the interval pulse generating unit 16 described above. Data of the separation distance measured by the distance measurement sensor 17 needs to be recorded in the FIFO register provided in the sensor I / F 14.

即ち、上述した、今回離間距離(D1)がFIFOレジスタの1段目(FIFO1)に、そして、前回離間距離(D2)がFIFOレジスタの2段目(FIFO1)に、全て、記録される必要がある。従って、上記の図18に示すフローチャートを用いる場合の人体存在検知装置10の処理動作は、インターバルパルスが、少なくとも、2個発生された後に開始される。   That is, the current separation distance (D1) needs to be recorded in the first stage (FIFO1) of the FIFO register, and the previous separation distance (D2) needs to be recorded in the second stage (FIFO1) of the FIFO register. is there. Therefore, the processing operation of the human body presence detection apparatus 10 when using the flowchart shown in FIG. 18 is started after at least two interval pulses are generated.

次に、実施の形態2で用いられる、図18に示すフローチャートについて、具体的に説明する。図18において、人体存在検知装置の処理動作が開始されると、まず、初回サイクル完了表示フラグF0、人体存在有無表示フラグF1、条件付人体存在有表示フラグF2、及び、タイマTMをリセットして(S1)、S1Aへ進む。   Next, the flowchart shown in FIG. 18 used in the second embodiment will be specifically described. In FIG. 18, when the processing operation of the human body presence detection device is started, first, the initial cycle completion display flag F0, the human body presence / absence display flag F1, the conditional human body presence display flag F2, and the timer TM are reset. (S1), go to S1A.

S1Aでは、インターバルパルスの有無をチェックし、インターバルパルスが発生していると(S1B)、今回判定結果形成処理(S100A)、及び、今回検知状態情報形成処理(S200A)を、この順に行う。   In S1A, the presence or absence of an interval pulse is checked. If an interval pulse is generated (S1B), the current determination result formation process (S100A) and the current detection state information formation process (S200A) are performed in this order.

今回判定結果形成処理(S100A)、及び、今回検知状態情報形成処理(S200A)が終了すると、次に、条件付人体存在有表示フラグF2をチェックし(S2)、F2=1であると、次に、タイマTMがタイムアップしているかチェックする(S3)。   When the current determination result formation process (S100A) and the current detection state information formation process (S200A) are completed, the conditional human body presence flag F2 is checked (S2). Then, it is checked whether the timer TM is up (S3).

このS3におけるタイマTMがタイムアップしているかのチェックで、タイマTMがタイムアップしていると(S4)、条件付人体存在有表示フラグF2を、F=0とすると共に(S7)、タイマTMをリセットして(S8)、S23(図13)へ進む。   If it is checked whether or not the timer TM is up in S3 (S4), the conditional human body presence flag F2 is set to F = 0 (S7), and the timer TM Is reset (S8), and the process proceeds to S23 (FIG. 13).

S2における条件付人体存在有表示フラグF2のチェックで、F2=1でないと、即ち、F2=0であると、次に、S5へ進む。   If the condition human body presence display flag F2 in S2 is checked, if F2 = 1 is not satisfied, that is, if F2 = 0, the process proceeds to S5.

S5では、インターバルパルスの有無をチェックし、インターバルパルスが発生していないと(S6)、S2へ戻って、S2以降を繰返す。インターバルパルスが発生していると(S6)、次に、今回検知状態記録エリアM13に記録されている検知状態を、前回検知状態記録エリアM23へ記録する(S6A)。   In S5, the presence / absence of an interval pulse is checked. If no interval pulse is generated (S6), the process returns to S2 and S2 and subsequent steps are repeated. If the interval pulse is generated (S6), the detection state recorded in the current detection state recording area M13 is recorded in the previous detection state recording area M23 (S6A).

S6Aの処理が終了すると、今回判定結果形成処理(S100A)、及び、今回検知状態情報形成処理(S200A)を、この順に行った後、S9(図13)へ進む。   When the process of S6A is completed, the current determination result formation process (S100A) and the current detection state information formation process (S200A) are performed in this order, and then the process proceeds to S9 (FIG. 13).

上記の実施の形態2における人体存在検知装置は、実施の形態1における人体存在検知装置10と同じ機能を備えている。従って、この実施の形態2における人体存在検知装置は、実施の形態1における人体存在検知装置10と同様の作用効果を備えている。   The human body presence detection device according to the second embodiment has the same function as the human body presence detection device 10 according to the first embodiment. Therefore, the human body presence detection device according to the second embodiment has the same functions and effects as those of the human body presence detection device 10 according to the first embodiment.

<実施の形態3>
実施の形態3における人体存在検知装置は、上述した実施の形態1における人体存在検知装置10、または、実施の形態2における人体存在検知装置に、以下で説明する内容を追加したものである。
<Embodiment 3>
The human body presence detection device according to the third embodiment is obtained by adding the contents described below to the human body presence detection device 10 according to the first embodiment or the human body presence detection device according to the second embodiment.

即ち、上記の実施の形態1における人体存在検知装置10の処理動作では、図9の基準状態遷移パターンを示したテーブルにおける基準状態遷移パターンは、前回検知状態から今回検知状態への遷移パターンであり、これらの前回検知状態、及び、今回検知状態は、いずれも、人体存在検知装置10が電源ON状態下で、人体存在検知装置10の距離測定センサ17により測定された離間距離を基にして形成された検知状態情報に基づいている。   That is, in the processing operation of the human body presence detection apparatus 10 in the first embodiment, the reference state transition pattern in the table showing the reference state transition pattern in FIG. 9 is a transition pattern from the previous detection state to the current detection state. The previous detection state and the current detection state are both formed based on the separation distance measured by the distance measurement sensor 17 of the human body presence detection device 10 when the human body presence detection device 10 is powered on. Based on detected detection state information.

そうすると、人体存在検知装置10が電源ONされた直後では、前回検知状態、及び、今回検知状態を把握するには、時間を要する。そこで、上記の基準状態遷移パターンとして、前回検知状態、及び、今回検知状態の組合せにおいて、前回検知状態に代えて、人体存在検知装置10の電源がONされた状態を用いた新たな基準状態遷移パターンを採用することもできる。実施の形態3における人体存在検知装置は、上記の新たな基準状態遷移パターンを、実施の形態1における人体存在検知装置10、または、実施の形態2における人体存在検知装置に追加したものである。   Then, immediately after the human body presence detection apparatus 10 is turned on, it takes time to grasp the previous detection state and the current detection state. Therefore, as the above reference state transition pattern, in the combination of the previous detection state and the current detection state, a new reference state transition using a state in which the human body presence detection device 10 is turned on instead of the previous detection state A pattern can also be adopted. The human body presence detection device according to the third embodiment is obtained by adding the new reference state transition pattern to the human body presence detection device 10 according to the first embodiment or the human body presence detection device according to the second embodiment.

具体的には、例えば、図9において、基準位置から基準距離(DS)内に人体が存在しないことを表すパターンとして、B1状態遷移パターン〜B5状態遷移パターンのほか、次に示すB6状態遷移パターン〜B8状態遷移パターンを追加する。   Specifically, for example, in FIG. 9, as a pattern indicating that no human body exists within the reference distance (DS) from the reference position, in addition to the B1 state transition pattern to the B5 state transition pattern, the following B6 state transition pattern: Add a B8 state transition pattern.

この追加する基準状態遷移パターンとしては、次のような組合せのパターンである。即ち、前回検知状態、及び、今回検知状態が、それぞれ、B6状態遷移パターンは、電源ON状態と、検知状態#2、B7状態遷移パターンは、電源ON状態と、検知状態#3、そして、B8状態遷移パターンは、電源ON状態と、検知状態#4の組合せパターンである。   The reference state transition pattern to be added is a combination pattern as follows. That is, the previous detection state and the current detection state are the power ON state, the detection state # 2, and the B7 state transition pattern are the power ON state, the detection state # 3, and B8, respectively. The state transition pattern is a combination pattern of the power ON state and the detection state # 4.

このようにすることにより、実施の形態3における人体存在検知装置は、実施の形態1における人体存在検知装置10と同様の作用効果を備えるほか、さらに、人体存在検知を多様に行うことができる。   By doing in this way, the human body presence detection device in the third embodiment has the same functions and effects as those of the human body presence detection device 10 in the first embodiment, and can further perform various human body presence detections.

本発明の人体存在検知装置の構成を示したブロック図である。It is the block diagram which showed the structure of the human body presence detection apparatus of this invention. 実施の形態1における人体存在検知装置の構成を示したブロック図である。1 is a block diagram illustrating a configuration of a human body presence detection device according to Embodiment 1. FIG. 実施の形態1における人体存在検知装置が使用される状態を示した、(a)は平面図、(b)は側面図である。The state in which the human body presence detection apparatus in Embodiment 1 is used is shown, (a) is a plan view and (b) is a side view. (a)〜(d)は、実施の形態1における人体存在検知装置が使用される各状態を示した平面図である。(A)-(d) is the top view which showed each state in which the human body presence detection apparatus in Embodiment 1 is used. 実施の形態1における人体存在検知装置の距離測定センサによる離間距離の測定タイミングのタイムチャートである。6 is a time chart of the measurement timing of the separation distance by the distance measurement sensor of the human body presence detection device in the first embodiment. 実施の形態1における人体存在検知装置で使用されるFIFOレジスタの構成図である。FIG. 3 is a configuration diagram of a FIFO register used in the human body presence detection apparatus in the first embodiment. 実施の形態1における人体存在検知装置において対象となる検知状態を示したテーブルである。4 is a table showing detection states that are targets in the human body presence detection apparatus according to Embodiment 1. 実施の形態1における人体存在検知装置で使用される状態遷移パターンの形成の説明図である。It is explanatory drawing of formation of the state transition pattern used with the human body presence detection apparatus in Embodiment 1. FIG. 実施の形態1における人体存在検知装置で使用される基準状態遷移パターンを示したテーブルである。4 is a table showing a reference state transition pattern used in the human body presence detection device in the first embodiment. 実施の形態1における人体存在検知装置で使用される基準状態遷移パターン図である。FIG. 5 is a reference state transition pattern diagram used in the human body presence detection device in the first embodiment. 実施の形態1における人体存在検知装置で使用される、(a)は記録エリアの説明図、(b)はフラグ及びタイマの説明図である。(A) is explanatory drawing of a recording area, (b) is explanatory drawing of a flag and a timer used with the human body presence detection apparatus in Embodiment 1. FIG. 実施の形態1における人体存在検知装置の処理動作を示したフローチャート(その1)である。5 is a flowchart (part 1) illustrating a processing operation of the human body presence detection apparatus according to the first embodiment. 実施の形態1における人体存在検知装置の処理動作を示したフローチャート(その2)である。6 is a flowchart (part 2) illustrating a processing operation of the human body presence detection apparatus according to the first embodiment. 実施の形態1における人体存在検知装置の処理動作を示したフローチャート(その3)である。7 is a flowchart (No. 3) illustrating the processing operation of the human body presence detection device according to the first embodiment. 実施の形態1における人体存在検知装置の処理動作を示したフローチャート(その4)である。6 is a flowchart (part 4) illustrating a processing operation of the human body presence detection apparatus according to the first embodiment. 実施の形態1における人体存在検知装置の処理動作を示したフローチャート(その5)である。6 is a flowchart (No. 5) illustrating a processing operation of the human body presence detection device according to the first embodiment. 実施の形態1における人体存在検知装置の処理動作を示したフローチャート(その6)である。10 is a flowchart (No. 6) illustrating a processing operation of the human body presence detection device according to the first embodiment. 実施の形態2における人体存在検知装置の処理動作の一部を示したフローチャートである。10 is a flowchart showing a part of the processing operation of the human body presence detection device in the second embodiment.

符号の説明Explanation of symbols

1 人体存在検知装置
2 離間距離測定手段
3 判定結果形成手段
4 検知状態情報形成手段
5 状態遷移パターン形成手段
6 判断手段
9 人体または物
10 人体存在検知装置
11 CPU
12 メモリ
13 操作部
14 センサI/F
15 USBI/F
16 インターバルパルス発生部
17 距離測定センサ
18 内部バスライン
19 USBケーブル
20 クロック信号ライン
21 人体
22 椅子
23 壁
24 床
25 机
26 ノートパソコン
DESCRIPTION OF SYMBOLS 1 Human body presence detection apparatus 2 Separation distance measurement means 3 Determination result formation means 4 Detection state information formation means 5 State transition pattern formation means 6 Judgment means 9 Human body or thing 10 Human body presence detection apparatus 11 CPU
12 Memory 13 Operation unit 14 Sensor I / F
15 USB I / F
16 Interval Pulse Generation Unit 17 Distance Measurement Sensor 18 Internal Bus Line 19 USB Cable 20 Clock Signal Line 21 Human Body 22 Chair 23 Wall 24 Floor 25 Desk 26 Notebook PC

Claims (8)

基準位置に設置されると共に、該基準位置から一定方向に存在する人体または物の存在位置に対する前記基準位置からの離間距離を、一定時間経過毎に測定する離間距離測定手段と、
該離間距離測定手段により、前記一定時間の経過前の経過前離間距離と、経過後の経過後離間距離とを用いることにより、前記経過後離間距離が一定距離以下であるか否かを示す一定距離内外判定結果と、前記経過前離間距離と前記経過後離間距離とが略一致するか否かを示す動静判定結果とを形成する判定結果形成手段と、
前記一定距離内外判定結果と、前記動静判定結果とで構成される検知状態情報を形成する検知状態情報形成手段と、
検知状態情報として、前記離間距離測定手段が測定を行った最新測定時点よりも前記一定時間経過前の時点における前回検知状態情報と、前記最新測定時点における今回検知状態情報とを用いて、状態遷移パターンを形成する状態遷移パターン形成手段と、
該状態遷移パターン形成手段により形成された前記状態遷移パターンが、予め記憶されている複数の基準状態遷移パターンの中から合致するものを選択することにより、前記基準位置から前記一定距離内に人体が存在するか否かの判断を行う判断手段と、を備えることを特徴とする人体存在検知装置。
A separation distance measuring means that is installed at a reference position and measures a separation distance from the reference position with respect to the position of a human body or an object that exists in a certain direction from the reference position;
A constant indicating whether or not the post-elapsed separation distance is equal to or less than the predetermined distance by using the pre-elapsed separation distance before the elapse of the predetermined time and the post-elapsed separation distance after the elapse of time by the separation distance measuring means. A determination result forming means for forming a distance inside / outside determination result, and a movement determination result indicating whether or not the pre-elapse separation distance and the post-elapse separation distance substantially coincide;
Detection state information forming means for forming detection state information composed of the constant distance inside / outside determination result and the movement determination result;
As detection state information, state transition is performed by using the previous detection state information at a time before the predetermined time has elapsed from the latest measurement time point when the separation distance measurement unit performs measurement and the current detection state information at the latest measurement time point. State transition pattern forming means for forming a pattern;
By selecting the state transition pattern formed by the state transition pattern forming means from a plurality of pre-stored reference state transition patterns, the human body is within the predetermined distance from the reference position. A human body presence detection device comprising: a determination unit configured to determine whether or not it exists.
請求項1記載の人体存在検知装置において、
前記状態遷移パターン形成手段は、前記状態遷移パターンを形成するのに、前記前回検知状態情報に代えて、前記最新測定時点よりも前記一定時間経過前の過去の時点が、前記最新測定時点であった時に、前記検知状態情報形成手段が形成した前記今回検知状態情報を用いる人体存在検知装置。
The human body presence detection device according to claim 1,
The state transition pattern forming means forms the state transition pattern by replacing the previous detection state information with a past time point before the most recent measurement time point being the latest measurement time point. A human body presence detection apparatus using the current detection state information formed by the detection state information forming means.
請求項1または2記載の人体存在検知装置において、
前記判定結果形成手段が形成する前記一定距離内外判定結果は、前記経過後離間距離が前記一定距離以下であると「内」、前記一定距離以下と異なると「外」となり、前記動静判定結果は、前記経過後離間距離が前記経過前離間距離と略一致すると「静」、前記経過前離間距離と異なると「動」となると共に、
前記検知状態情報形成手段が形成する前記検知状態情報における検知状態は、前記「内」と前記「動」で構成される第1検知状態、前記「内」と前記「静」で構成される第2検知状態、前記「外」と前記「動」で構成される第3検知状態、または、前記「外」と前記「静」で構成される第4検知状態のいずれか1つである人体存在検知装置。
In the human body presence detection apparatus according to claim 1 or 2,
The fixed distance inside / outside determination result formed by the determination result forming means is “inside” when the post-elapsed separation distance is equal to or less than the certain distance, and “outside” when different from the certain distance or less. In addition, when the post-elapse separation distance substantially matches the pre-elapse separation distance, it is “static”, and when it is different from the pre-elapse separation distance, it is “moved”,
The detection state in the detection state information formed by the detection state information forming means is a first detection state constituted by the “inside” and the “movement”, and a first detection state constituted by the “inside” and the “static”. Human body presence that is one of two detection states, a third detection state composed of the “outside” and the “motion”, or a fourth detection state composed of the “outside” and the “still” Detection device.
請求項3記載の人体存在検知装置において、
前記基準状態遷移パターンにおいて、前記基準位置から前記一定距離内に人体が存在することを表すパターンとして、前記前回検知状態情報における前回検知状態から前記今回検知状態情報における今回検知状態への状態遷移パターンが、前記第1検知状態から前記第1検知状態へ遷移するA1状態遷移パターン、前記第2検知状態から前記第1検知状態へ遷移するA2状態遷移パターン、前記第3検知状態から前記第1検知状態へ遷移するA3状態遷移パターン、及び、前記第4検知状態から前記第1検知状態へ遷移するA4状態遷移パターンの4パターンが予め記憶されており、
前記判断手段は、前記状態遷移パターン形成手段により形成された前記状態遷移パターンが、これらのいずれか1つに合致すると、前記一定距離内に人体が存在するとの判断を行う人体存在検知装置。
In the human body presence detection device according to claim 3,
In the reference state transition pattern, a state transition pattern from the previous detection state in the previous detection state information to the current detection state in the current detection state information as a pattern indicating that a human body exists within the certain distance from the reference position A1 state transition pattern for transition from the first detection state to the first detection state, A2 state transition pattern for transition from the second detection state to the first detection state, and the first detection from the third detection state 4 patterns of A3 state transition pattern to transition to the state and A4 state transition pattern to transition from the fourth detection state to the first detection state are stored in advance,
The determination means is a human body presence detection device that determines that a human body exists within the predetermined distance when the state transition pattern formed by the state transition pattern formation means matches any one of them.
請求項3記載の人体存在検知装置において、
前記基準状態遷移パターンにおいて、前記基準位置から前記一定距離内に人体が存在しないことを表すパターンとして、前記前回検知状態情報における前回検知状態から前記今回検知状態情報における今回検知状態への状態遷移パターンが、前記第2検知状態から前記第2検知状態へ遷移するB1状態遷移パターン、前記第3検知状態から前記第3検知状態へ遷移するB2状態遷移パターン、前記第4検知状態から前記第4検知状態へ遷移するB3状態遷移パターン、前記第3検知状態から前記第4検知状態へ遷移するB4状態遷移パターン、及び、前記第4検知状態から前記第3検知状態へのB5状態遷移パターンの5パターンが予め記憶されており、
前記判断手段は、前記状態遷移パターン形成手段により形成された前記状態遷移パターンが、これらのいずれか1つに合致すると、前記一定距離内に人体が存在しないとの判断を行う人体存在検知装置。
In the human body presence detection device according to claim 3,
In the reference state transition pattern, a state transition pattern from the previous detection state in the previous detection state information to the current detection state in the current detection state information as a pattern indicating that no human body exists within the certain distance from the reference position Is a B1 state transition pattern that transitions from the second detection state to the second detection state, a B2 state transition pattern that transitions from the third detection state to the third detection state, and a fourth detection state to the fourth detection state. 5 patterns of a B3 state transition pattern for transitioning to a state, a B4 state transition pattern for transitioning from the third detection state to the fourth detection state, and a B5 state transition pattern from the fourth detection state to the third detection state Is stored in advance,
The determination unit is a human body presence detection device that determines that a human body does not exist within the predetermined distance when the state transition pattern formed by the state transition pattern formation unit matches any one of them.
請求項3記載の人体存在検知装置において、
前記基準状態遷移パターンにおいて、前記基準位置から前記一定距離内に人体が存在することを条件付で表すパターンとして、前記前回検知状態情報における前回検知状態から前記今回検知状態情報における今回検知状態への状態遷移パターンが、前記第1検知状態から前記第2検知状態へ遷移するC1状態遷移パターン、前記第1検知状態から前記第3検知状態へ遷移するC2状態遷移パターン、及び、前記第1検知状態から前記第4検知状態へ遷移するC3状態遷移パターンの3パターンが予め記憶されており、
前記判断手段は、前記状態遷移パターン形成手段により形成された前記状態遷移パターンが、これらのいずれか1つに合致すると、その時点から存在見做時間が経過するまでの間は、前記一定距離内に人体が存在すると判断し、前記存在見做時間の経過が終了した時点で、前記一定距離内に人体が存在しないと判断する条件付判断を行う人体存在検知装置。
In the human body presence detection device according to claim 3,
In the reference state transition pattern, from the previous detection state in the previous detection state information to the current detection state in the current detection state information, a pattern that conditionally indicates that a human body exists within the certain distance from the reference position. A state transition pattern includes a C1 state transition pattern for transition from the first detection state to the second detection state, a C2 state transition pattern for transition from the first detection state to the third detection state, and the first detection state. 3 patterns of C3 state transition patterns for transitioning from the first to the fourth detection state are stored in advance,
When the state transition pattern formed by the state transition pattern forming unit matches any one of these, the determination unit is within the predetermined distance from the time until the existence estimated time elapses. A human body presence detection apparatus that performs a conditional determination to determine that a human body does not exist within the predetermined distance when the presence of the human body is determined to exist and the elapse of the presence determination time ends.
請求項6記載の人体存在検知装置において、
前記判断手段は、前記存在見做時間が経過する途中で、新たに、前記状態遷移パターン形成手段により形成された前記状態遷移パターンが、前記A1状態遷移パターン、前記A2状態遷移パターン、前記A3状態遷移パターン、または、前記A4状態遷移パターンのいずれか1つに合致すると、その時点で、前記条件付判断を中止すると共に、新たに、前記一定距離内に人体が存在するとの判断を行う人体存在検知装置。
The human body presence detection device according to claim 6,
In the middle of elapse of the existence estimation time, the determination unit newly sets the state transition pattern formed by the state transition pattern forming unit as the A1 state transition pattern, the A2 state transition pattern, and the A3 state. When one of the transition pattern and the A4 state transition pattern is met, the conditional judgment is stopped at that time, and a human body is newly determined that the human body exists within the predetermined distance. Detection device.
基準位置に設置されると共に、該基準位置から一定方向に存在する人体または物の存在位置に対する前記基準位置からの離間距離を、一定時間経過毎に測定する離間距離測定手段とコンピュータとを用いて行われる人体存在検知方法であって、
前記コンピュータにおいて、
前記離間距離測定手段により、前記一定時間の経過前の経過前離間距離と、経過後の経過後離間距離とを用いることにより、前記経過後離間距離が一定距離以下であるか否かを示す一定距離内外判定結果と、前記経過前離間距離と前記経過後離間距離とが略一致するか否かを示す動静判定結果とを形成する判定結果形成ステップと、
前記一定距離内外判定結果と、前記動静判定結果とで構成される検知状態情報を形成する検知状態情報形成ステップと、
前記離間距離測定手段が測定を行った最新測定時点よりも前記一定時間経過前の時点における前回検知状態情報と、前記最新測定時点における今回検知状態情報とにより、状態遷移パターンを形成する状態遷移パターン形成ステップと、
該状態遷移パターン形成手段により形成された前記状態遷移パターンが、予め記憶されている複数の基準状態遷移パターンの中から合致するものを選択することにより、前記基準位置から前記一定距離内に人体が存在するか否かの判断を行う判断ステップと、に基づく処理が行われることを特徴とする人体存在検知方法。
Using a separation distance measuring means and a computer that are installed at a reference position and measure a separation distance from the reference position with respect to the position of a human body or an object existing in a certain direction from the reference position at every elapse of a predetermined time. A human body presence detection method performed,
In the computer,
A constant indicating whether or not the post-elapsed separation distance is equal to or less than a predetermined distance by using the pre-elapsed separation distance before the elapse of the predetermined time and the post-elapsed separation distance after the elapse of time by the separation distance measuring unit. A determination result forming step for forming a distance inside / outside determination result, and a motion determination result indicating whether or not the pre-elapse separation distance and the post-elapse separation distance substantially coincide with each other;
A detection state information forming step for forming detection state information composed of the constant distance inside / outside determination result and the movement determination result;
A state transition pattern that forms a state transition pattern based on the previous detection state information at a time point before the elapse of the predetermined time from the latest measurement time point when the separation distance measurement unit performs measurement and the current detection state information at the latest measurement time point Forming step;
By selecting the state transition pattern formed by the state transition pattern forming means from a plurality of pre-stored reference state transition patterns, the human body is within the predetermined distance from the reference position. And a determination step for determining whether or not it exists, and a process based on the determination step.
JP2008325202A 2008-12-22 2008-12-22 Human body presence detection apparatus and human body presence detection method Expired - Fee Related JP5037482B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008325202A JP5037482B2 (en) 2008-12-22 2008-12-22 Human body presence detection apparatus and human body presence detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008325202A JP5037482B2 (en) 2008-12-22 2008-12-22 Human body presence detection apparatus and human body presence detection method

Publications (2)

Publication Number Publication Date
JP2010145323A JP2010145323A (en) 2010-07-01
JP5037482B2 true JP5037482B2 (en) 2012-09-26

Family

ID=42565907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008325202A Expired - Fee Related JP5037482B2 (en) 2008-12-22 2008-12-22 Human body presence detection apparatus and human body presence detection method

Country Status (1)

Country Link
JP (1) JP5037482B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6393789B2 (en) * 2017-02-09 2018-09-19 株式会社oneA Game media borrowing medium forgetting prevention device and game medium borrowing medium forgetting prevention system
JP7152883B2 (en) * 2018-06-12 2022-10-13 オムロン株式会社 detector
JP2019215223A (en) * 2018-06-12 2019-12-19 オムロン株式会社 Detector and method for setting detector
JP7021631B2 (en) * 2018-12-12 2022-02-17 オムロン株式会社 Photoelectric sensor
CN113076005B (en) * 2021-04-14 2022-09-30 广州南天电脑系统有限公司 Detection method for activating computer screen lock

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06105046A (en) * 1992-09-24 1994-04-15 Ricoh Co Ltd Working condition setting input controller
JP3328500B2 (en) * 1995-04-12 2002-09-24 松下電器産業株式会社 Thermal object measuring device, personal audience rating survey system, and distance detector
JP2002236984A (en) * 2001-02-13 2002-08-23 Rinnai Corp Intra-bathroom abnormality detecting system
JP2003149360A (en) * 2001-11-15 2003-05-21 Technos:Kk On-off timer device
JP3816404B2 (en) * 2002-01-31 2006-08-30 住友大阪セメント株式会社 Monitoring system
JP2004093380A (en) * 2002-08-30 2004-03-25 Matsushita Electric Works Ltd Behavior detecting apparatus
JP4189229B2 (en) * 2003-02-05 2008-12-03 住友大阪セメント株式会社 Motion detection device
JP2005300349A (en) * 2004-04-12 2005-10-27 Seiko Precision Inc Moving body capturing system and moving body capturing method

Also Published As

Publication number Publication date
JP2010145323A (en) 2010-07-01

Similar Documents

Publication Publication Date Title
JP5037482B2 (en) Human body presence detection apparatus and human body presence detection method
JP5620928B2 (en) System, method and apparatus for placing apparatus in active mode
JP5251978B2 (en) Man conveyor step missing detection device
CN103118212B (en) Power-supply control device, image processing apparatus, power-supply control method, and computer-readable medium
US10432815B2 (en) Information processing apparatus that turns on when sensing a human and turns off when no operation is input in a predetermined time, method of controlling the same, and storage medium
JP3389548B2 (en) Room abnormality detection device and room abnormality detection method
JP2008026788A5 (en)
CN103428388B (en) Power supply control device, image processing apparatus and power supply control method
JP2010056692A5 (en)
JP2011039990A5 (en)
CN102685345A (en) Power-supply control device, image processing apparatus and power-supply control method
CN106681504A (en) Terminal control method and terminal control device
JP2007034959A (en) Detection sensor
JP2008005438A5 (en)
JP2012238093A (en) Information processing apparatus
JP2020064468A (en) Sensor system
JP6647956B2 (en) Information processing system, image processing apparatus, information processing program, and information processing method
JP4862740B2 (en) Imaging apparatus, information display apparatus, display data control method, and computer program
EP2845165A2 (en) Ambient light alert for an image sensor
JP5288512B2 (en) Projector, projection control method, and program
TW201243315A (en) Automatic test system and method
JP3787842B2 (en) Human body detection device
JP3562491B2 (en) Human body detection device
JP2017054393A (en) Monitoring system, movement detecting device used for the same, and monitoring device
JP2011030116A (en) Power saving device and method, control device, and security device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120516

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120612

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120704

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees