JP2017146157A - Range finder for bathroom and range method for bathroom - Google Patents

Range finder for bathroom and range method for bathroom Download PDF

Info

Publication number
JP2017146157A
JP2017146157A JP2016026983A JP2016026983A JP2017146157A JP 2017146157 A JP2017146157 A JP 2017146157A JP 2016026983 A JP2016026983 A JP 2016026983A JP 2016026983 A JP2016026983 A JP 2016026983A JP 2017146157 A JP2017146157 A JP 2017146157A
Authority
JP
Japan
Prior art keywords
bathroom
distance
person
cpu
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016026983A
Other languages
Japanese (ja)
Inventor
将史 影山
Masashi Kageyama
将史 影山
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2016026983A priority Critical patent/JP2017146157A/en
Publication of JP2017146157A publication Critical patent/JP2017146157A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Emergency Alarm Devices (AREA)
  • Alarm Systems (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a bathroom monitoring device and a bathroom monitoring method that can be put into practice at low cost.SOLUTION: A bathroom monitoring device comprises: a range unit that obtains first distance information indicating distance to each place in a bathroom by emitting a range wave and receiving a reflection wave in the bathroom where there is a person; a storage unit that stores bathroom positional information indicating the position of a first prescribed place in the bathroom; and a processing unit that obtains person positional information indicating the position of a prescribed region of the person in the bathroom on the basis of the first distance information, compares the bathroom positional information with the person positional information, and performs control to output a warning from an alarm unit on the basis of the comparison result.SELECTED DRAWING: Figure 1

Description

本発明は、測距波を出射しその反射波を受信して測距対象までの距離情報を取得する測距部を用いた浴室用測距装置および浴室用測距方法に関する。   The present invention relates to a bathroom distance measuring device and a bathroom distance measuring method using a distance measuring unit that emits a distance measuring wave and receives a reflected wave thereof to acquire distance information to a distance measuring object.

上記のような浴室用測距装置としては例えば特許文献1に記載の浴室用監視装置に用いられている。   As the bathroom distance measuring apparatus as described above, for example, it is used in a bathroom monitoring apparatus described in Patent Document 1.

特許文献1の浴室監視装置は、対象領域内の3次元情報を取得する3次元センサと、取得した3次元情報に基づいて、対象領域内の高さの変化を検出する高さ変化検出手段と、検出された高さの変化に基づいて、対象物の位置を検出する位置検出手段と、検出された高さの変化に基づいて、対象物の動きを検出する動き検出手段と、検出された対象物の位置と動きに基づいて、対象物が危険な状態にあるか否かを判定する危険判定手段とを備え、危険判定手段は、危険な状態にあるか否かの判定を、対象領域内の位置毎に設定された判定基準に基づき行う。   The bathroom monitoring apparatus of Patent Literature 1 includes a three-dimensional sensor that acquires three-dimensional information in a target area, and a height change detection unit that detects a change in height in the target area based on the acquired three-dimensional information. A position detecting means for detecting the position of the object based on the detected height change; a motion detecting means for detecting the movement of the object based on the detected height change; Risk determination means for determining whether or not the object is in a dangerous state based on the position and movement of the object, and the risk determination means determines whether or not the object is in a dangerous state. Based on the criteria set for each position.

特許第3979238号公報Japanese Patent No. 3979238

特許文献1では、光を用いたTOF(Time−Of−Flight)方式の距離センサを用いても良いことが記載されている。しかしながら、この距離センサの出射光が浴室内の鏡で鏡面反射のみすることがある。この場合、距離センサは正確な測距を行えないため、浴室監視に影響が及ぶという問題点があった。   Patent Document 1 describes that a TOF (Time-Of-Flight) type distance sensor using light may be used. However, the light emitted from the distance sensor may only be specularly reflected by a mirror in the bathroom. In this case, since the distance sensor cannot accurately measure the distance, there is a problem in that bathroom monitoring is affected.

それゆえに、本発明の目的は、より正確に浴室監視が行える浴室用測距装置および浴室用測距方法を提供することである。   Therefore, an object of the present invention is to provide a bathroom distance measuring device and a bathroom distance measuring method that can perform bathroom monitoring more accurately.

上記の目的を達成するため、本発明の第一局面は、TOF(Time−of−Flight)方式により、浴室にて測距波を出射し反射波を受信することで、前記浴室内の複数箇所までの距離を含む距離情報を取得する測距部と、前記距離情報に含まれる各距離のうち所定値以上の距離を無効にする中央処理部と、を備えた浴室用測距装置に向けられる。   In order to achieve the above object, the first aspect of the present invention is to emit a ranging wave in a bathroom and receive a reflected wave in a bathroom by a TOF (Time-of-Flight) method, so that a plurality of locations in the bathroom are provided. A distance measuring unit that acquires distance information including a distance to and a central processing unit that invalidates a distance greater than or equal to a predetermined value among the distances included in the distance information. .

また、本発明の第二局面は、TOF(Time−of−Flight)方式により、浴室にて測距波を出射し反射波を受信することで、前記浴室内の各箇所までの距離を含む距離情報を取得するステップと、前記距離情報に含まれる各距離のうち、所定値以上の距離を無効にするステップと、を備えた浴室用測距方法に向けられる。   In addition, the second aspect of the present invention is a distance including distances to each location in the bathroom by emitting a ranging wave in the bathroom and receiving a reflected wave by the TOF (Time-of-Flight) method. The method is directed to a bathroom ranging method comprising: obtaining information; and invalidating a distance greater than or equal to a predetermined value among the distances included in the distance information.

上記各局面によれば、より正確に浴室監視が行える浴室用測距装置および浴室用測距方法を提供することが出来る。   According to each aspect described above, it is possible to provide a bathroom distance measuring device and a bathroom distance measuring method that can perform bathroom monitoring more accurately.

各実施形態に係る浴室監視装置の構成を示す図である。It is a figure which shows the structure of the bathroom monitoring apparatus which concerns on each embodiment. 図1の測距部の測距波および反射波を示す図である。It is a figure which shows the ranging wave and reflected wave of the ranging part of FIG. 図1の制御部の詳細な構成を示す図である。It is a figure which shows the detailed structure of the control part of FIG. 図1の制御部が行う初期設定処理のフロー図である。It is a flowchart of the initial setting process which the control part of FIG. 1 performs. 図1の制御部が行う警告処理のフロー図である。It is a flowchart of the warning process which the control part of FIG. 1 performs. 第一監視領域情報の一例を示す模式図である。It is a schematic diagram which shows an example of 1st monitoring area | region information. 人が居る時の浴室を上方から見たときの模式図である。It is a schematic diagram when the bathroom when a person is present is viewed from above. 第一監視領域情報の他の例を示す模式図である。It is a schematic diagram which shows the other example of 1st monitoring area | region information. 第一実施形態の浴室監視装置が具備可能なフロートを示す模式図である。It is a schematic diagram which shows the float which the bathroom monitoring apparatus of 1st embodiment can comprise. 第一変形例に係る警告処理のフロー図である。It is a flowchart of the warning process which concerns on a 1st modification. 第二変形例に係る警告処理の前半部分を示すフロー図である。It is a flowchart which shows the first half part of the warning process which concerns on a 2nd modification. 第二変形例に係る警告処理の後半部分を示すフロー図である。It is a flowchart which shows the second half part of the warning process which concerns on a 2nd modification. 第二実施形態に係る初期設定処理のフロー図である。It is a flowchart of the initial setting process which concerns on 2nd embodiment. 第二実施形態に係る警告処理のフロー図である。It is a flowchart of the warning process which concerns on 2nd embodiment. 第二監視領域情報の一例を示す模式図である。It is a schematic diagram which shows an example of 2nd monitoring area | region information. 鏡面反射による無効な距離を示す模式図である。It is a schematic diagram which shows the invalid distance by specular reflection.

≪1.第一実施形態≫
以下、上記図面を参照して、第一実施形態に係る浴室監視装置Aを詳説する。
<< 1. First embodiment >>
Hereinafter, the bathroom monitoring apparatus A according to the first embodiment will be described in detail with reference to the drawings.

≪1−1.浴室監視装置Aの構成≫
図1中、浴室監視装置Aは、測距部1と、制御部2と、警報部3と、を備えている。
<< 1-1. Configuration of bathroom monitoring device A >>
In FIG. 1, the bathroom monitoring device A includes a distance measuring unit 1, a control unit 2, and an alarm unit 3.

測距部1は、例えば、TOF(Time−Of−Flight)方式の三次元距離画像カメラであって、浴室の天井に、自身の光軸が鉛直下方向を向くように設置される。測距部1は、後述の距離画像情報Idstを取得するために、光源部11と、駆動回路12と、受光部13と、信号処理回路14と、を含む。   The distance measuring unit 1 is, for example, a TOF (Time-Of-Flight) type three-dimensional distance image camera, and is installed on the ceiling of a bathroom so that its optical axis is directed vertically downward. The distance measuring unit 1 includes a light source unit 11, a drive circuit 12, a light receiving unit 13, and a signal processing circuit 14 in order to acquire distance image information Idst described later.

光源部11は、例えば赤外線LEDのような光源素子を少なくとも一つ含む。光源部11は、駆動回路12により駆動信号Sinが入力されると、自身の画角内において様々な方向に広がる測距波L1であって、例えば赤外線パルス光である測距波L1を、浴室内に放射する。   The light source unit 11 includes at least one light source element such as an infrared LED. When the drive signal Sin is input from the drive circuit 12, the light source unit 11 is a range-finding wave L <b> 1 that spreads in various directions within its angle of view. Radiates in.

放射された測距波L1は、浴室に人が居なければ、浴室内装(例えば浴槽や床等)の表面で反射する。それに対し、浴室に人が居れば、測距波L1は、内装表面だけでなく人体表面でも反射する。ここで、本実施形態の説明では、反射とは鏡面反射および拡散反射を含む概念とする。内装表面や人体表面での反射波L2は受光部13に入射される。   The radiated ranging wave L1 is reflected on the surface of the bathroom interior (for example, a bathtub, a floor, etc.) if there is no person in the bathroom. On the other hand, if there is a person in the bathroom, the distance measuring wave L1 is reflected not only on the interior surface but also on the surface of the human body. Here, in the description of the present embodiment, reflection is a concept including specular reflection and diffuse reflection. The reflected wave L2 on the interior surface or the human body surface is incident on the light receiving unit 13.

受光部13は、典型的には、二次元アレイ状に配列された複数の受光素子(例えば、CCD)を含む。各受光素子には、反射波L2において、内装や人体で反射した光成分が入射される。各受光素子は、光電変換を行って、自素子への入射光成分の強度等を示す信号Soutを生成し信号処理回路14に出力する。   The light receiving unit 13 typically includes a plurality of light receiving elements (for example, CCDs) arranged in a two-dimensional array. A light component reflected by the interior or the human body in the reflected wave L2 is incident on each light receiving element. Each light receiving element performs photoelectric conversion, generates a signal Sout indicating the intensity of the incident light component to the element, and outputs the signal Sout to the signal processing circuit 14.

信号処理回路14には、駆動回路12の駆動信号Sinと、各受光素子の出力信号Soutとが入力される。信号処理回路14は、複数の受光素子毎に、両入力信号Sin,Soutの間の位相差φを求めて、求めた位相差φに基づき、光源部11から各反射箇所までの空間距離を求める。その後、信号処理回路14は、受光素子毎に求めた空間距離の集まりを距離画像情報Idstとして所定のフレームレート(例えば、30フレーム/秒)で制御部2に出力する。換言すると、距離画像情報Idstは測距部1から内装表面や人体表面までの空間距離を画素値として有する。   The signal processing circuit 14 receives the drive signal Sin of the drive circuit 12 and the output signal Sout of each light receiving element. The signal processing circuit 14 obtains a phase difference φ between the two input signals Sin and Sout for each of the plurality of light receiving elements, and obtains a spatial distance from the light source unit 11 to each reflection point based on the obtained phase difference φ. . Thereafter, the signal processing circuit 14 outputs a collection of spatial distances obtained for each light receiving element as distance image information Idst to the control unit 2 at a predetermined frame rate (for example, 30 frames / second). In other words, the distance image information Idst has a spatial distance from the distance measuring unit 1 to the interior surface or the human body surface as a pixel value.

ここで、図2には、浴室4の天井に設置された測距部1と、浴槽41内の人42と、浴槽41の周囲の壁43とが示される。測距部1から放射された測距波L1は、浴槽41、人42または壁43等で反射して、反射波L2として測距部1で受光される。ここで、図2には、壁43での反射箇所の例がaで、浴槽41の上端での反射箇所の例がbで、浴槽41の底または洗い場の床での反射箇所の例がcで、人42の頭頂部44,その他の部位45での反射箇所の例はd,eで示される。この場合、距離画像情報Idstは、各反射箇所a〜eまでの空間距離の集まりとなる。なお、図2が煩雑にならないように、参照符号L1,L2は一つの光成分(即ち、矢印)の近くにのみ示している。   Here, FIG. 2 shows the distance measuring unit 1 installed on the ceiling of the bathroom 4, a person 42 in the bathtub 41, and a wall 43 around the bathtub 41. The ranging wave L1 radiated from the ranging unit 1 is reflected by the bathtub 41, the person 42, the wall 43, or the like, and received by the ranging unit 1 as a reflected wave L2. Here, in FIG. 2, the example of the reflection part on the wall 43 is a, the example of the reflection part on the upper end of the bathtub 41 is b, and the example of the reflection part on the bottom of the bathtub 41 or the floor of the washing place is c. Thus, examples of the reflection locations at the top 44 of the person 42 and other portions 45 are indicated by d and e. In this case, the distance image information Idst is a collection of spatial distances to the reflection points a to e. Note that reference numerals L1 and L2 are shown only near one light component (that is, an arrow) so that FIG. 2 is not complicated.

図3において、制御部2は、通信部21と、処理部の一例であるCPU22と、不揮発性メモリ23と、メインメモリ24と、を備えている。   In FIG. 3, the control unit 2 includes a communication unit 21, a CPU 22 that is an example of a processing unit, a nonvolatile memory 23, and a main memory 24.

通信部21は、制御部2と測距部1および警報部3との通信インタフェイスである。CPU22は、不揮発性メモリ23に予め格納されているプログラムPを、メインメモリ24を作業領域として用いて実行する。   The communication unit 21 is a communication interface between the control unit 2, the distance measuring unit 1, and the alarm unit 3. The CPU 22 executes the program P stored in advance in the nonvolatile memory 23 using the main memory 24 as a work area.

警報部3は、例えばスピーカであって、様々な箇所に配置可能である。例えば、本浴室監視装置Aが家に設置されれば、警報部3は、例えば、浴室または浴室外(例えばリビングルーム)に設置される。また、設置場所が介護施設等であれば、警報部3は、浴室とは別室にて、有線ネットワークを介して制御部2と接続されたPCのスピーカでも構わないし、無線接続された無線通信端末(例えばスマートフォン)であって、介護職員が所持する無線通信端末のスピーカでも構わない。他にも、警報部3は浴室に設置されても構わない。以上のような警報部3は、制御部2で生成された各種警告音データIsndに従って、浴室内での人の重大な状況(例えば溺水や転倒)に対する警報音を出力する。   The alarm unit 3 is, for example, a speaker and can be arranged at various locations. For example, if the bathroom monitoring device A is installed in a house, the alarm unit 3 is installed in, for example, a bathroom or outside the bathroom (for example, a living room). If the installation location is a nursing facility or the like, the alarm unit 3 may be a PC speaker connected to the control unit 2 via a wired network in a separate room from the bathroom, or a wireless communication terminal connected wirelessly It may be a speaker of a wireless communication terminal (for example, a smartphone) owned by a care worker. In addition, the alarm unit 3 may be installed in a bathroom. The alarm unit 3 as described above outputs an alarm sound for a serious situation (for example, drowning or falling) in a bathroom according to various alarm sound data Isnd generated by the control unit 2.

≪1−2.浴室監視装置の動作≫
次に、図4および図5等を参照して、制御部2の動作を詳説する。
<< 1-2. Operation of bathroom monitoring system >>
Next, the operation of the control unit 2 will be described in detail with reference to FIG. 4 and FIG.

CPU22は、浴室に人が居ない時に、図4の初期設定処理をまず行う。ステップS01において、CPU22は、光源部11から測距波L1を放射させる。この測距波L1は、浴室の内装表面の各箇所で反射され、反射波L2として受光部13に入射される。   The CPU 22 first performs the initial setting process of FIG. 4 when there is no person in the bathroom. In step S <b> 01, the CPU 22 radiates the ranging wave L <b> 1 from the light source unit 11. The distance measuring wave L1 is reflected at various locations on the interior surface of the bathroom and is incident on the light receiving unit 13 as a reflected wave L2.

ステップS02において、測距部1の信号処理回路14は、受光部13の出力信号Soutに基づき、前述の距離画像情報Idstを少なくとも一フレーム分生成し、制御部2(より具体的にはメインメモリ24)に転送する。初期設定時では、距離画像情報Idstは、浴室内の内装表面における各反射箇所までの距離のみの集まりとなる。本説明では、この距離画像情報Idstを、第二距離画像情報Idst2という。   In step S02, the signal processing circuit 14 of the distance measuring unit 1 generates the above-described distance image information Idst for at least one frame based on the output signal Sout of the light receiving unit 13, and the control unit 2 (more specifically, the main memory). 24). At the time of initial setting, the distance image information Idst is a collection of only the distances to the reflection points on the interior surface in the bathroom. In this description, this distance image information Idst is referred to as second distance image information Idst2.

ステップS03において、CPU22は、測距部1から得た第二距離画像情報Idst2を、記憶部の例である不揮発性メモリ23(図3参照)に格納する。   In step S03, the CPU 22 stores the second distance image information Idst2 obtained from the distance measuring unit 1 in the nonvolatile memory 23 (see FIG. 3) which is an example of a storage unit.

ステップS04において、CPU22は、第二距離画像情報Idst2に対する透視投影変換等により、画素位置毎の空間距離を、例えば測距部1の発光点位置を原点とする鉛直方向位置に変換した後、特徴点抽出処理により、鉛直方向位置が略同一の画素群であって矩形形状をなす画素群を探す。浴室の場合、このような画素群としては、洗い場と、浴槽の上端の外形線とが認識される場合がある。CPU22は、測距部1(即ち天井)により近い画素群を、浴槽41の上端の外形線(図6中、bにて示す)と定義し、当該外形線内の領域(図6中の太い破線で示す)を示す第一監視領域情報t1を、不揮発性メモリ23に格納する(図3を参照)。   In step S04, the CPU 22 converts the spatial distance for each pixel position to, for example, a vertical position with the light emitting point position of the distance measuring unit 1 as the origin by performing perspective projection conversion on the second distance image information Idst2, and the like. By the point extraction process, a pixel group having a substantially rectangular shape and a rectangular shape is searched for. In the case of a bathroom, as such a pixel group, a washing place and an outline of the upper end of the bathtub may be recognized. The CPU 22 defines a pixel group closer to the distance measuring unit 1 (that is, the ceiling) as an outline of the upper end of the bathtub 41 (indicated by b in FIG. 6), and a region within the outline (thick in FIG. 6). First monitoring area information t1 indicating (indicated by a broken line) is stored in the nonvolatile memory 23 (see FIG. 3).

ステップS05において、CPU22は、浴槽上端を浴室内の所定箇所の第一例として定義すると共に、その鉛直方向位置を浴室位置情報の一例である上端位置情報I1として不揮発性メモリ23に格納する(図3を参照)。   In step S05, the CPU 22 defines the bathtub upper end as a first example of a predetermined location in the bathroom, and stores the vertical position in the nonvolatile memory 23 as upper end position information I1 which is an example of bathroom position information (FIG. 3).

以上で、図4の初期設定処理が終了する。   This completes the initial setting process of FIG.

CPU22は、初期設定処理の後、図5の警告処理を行う。ステップS11において、CPU22は、前述と同様、測距部1から測距波L1を放射させる。この測距波L1は、浴室の内装表面の各箇所または人の各部位で反射されて、反射波L2として受光部13に入射される。   The CPU 22 performs the warning process of FIG. 5 after the initial setting process. In step S11, the CPU 22 radiates the ranging wave L1 from the ranging unit 1 as described above. The distance measuring wave L1 is reflected at each location on the interior surface of the bathroom or each location of a person, and enters the light receiving unit 13 as a reflected wave L2.

ステップS12において、信号処理回路14は、受光部13の出力信号Soutに基づき、前述の距離画像情報Idstを生成し、制御部2にフレーム単位で転送する。この時、浴室に人が居れば、距離画像情報Idstは、図7に示すように、浴室内の内装表面だけでなく人体表面での各反射箇所までの空間距離の集まりとなる。なお、図7には、浴槽41の上端での反射箇所をbで示し、人42において特に頭頂部44を除く部位45での反射箇所をcで示し、頭頂部44での反射箇所をdで示している。また、他の反射箇所の図示を便宜上省略している。また、本説明では、ステップS12で得られた距離画像情報Idstを、第一距離画像情報Idst1という。第一距離画像情報Idst1は、CPU22の制御下で、通信部21を介してメインメモリ24にフレーム毎に順次格納されていく。   In step S <b> 12, the signal processing circuit 14 generates the above-described distance image information Idst based on the output signal Sout of the light receiving unit 13 and transfers it to the control unit 2 in units of frames. At this time, if there is a person in the bathroom, the distance image information Idst is a collection of spatial distances not only to the interior surface in the bathroom but also to each reflection point on the human body surface, as shown in FIG. In FIG. 7, the reflection location at the upper end of the bathtub 41 is indicated by b, the reflection location at the portion 45 excluding the parietal portion 44 in the person 42 is indicated by c, and the reflection location at the top 44 is indicated by d Show. In addition, illustration of other reflection locations is omitted for convenience. In the present description, the distance image information Idst obtained in step S12 is referred to as first distance image information Idst1. The first distance image information Idst1 is sequentially stored for each frame in the main memory 24 via the communication unit 21 under the control of the CPU 22.

ステップS13において、CPU22は、浴槽に人が居るか否かを確認する。より具体的には、両距離画像情報Idst1,Idst2のそれぞれにおいて第一監視領域t1内に属する画素値同士の差分が演算される。この差分が所定の閾値以上であれば浴槽内に人が居ると判断される。   In step S13, the CPU 22 confirms whether or not there is a person in the bathtub. More specifically, the difference between the pixel values belonging to the first monitoring region t1 is calculated in each of the distance image information Idst1 and Idst2. If this difference is greater than or equal to a predetermined threshold, it is determined that there is a person in the bathtub.

ステップS13にて浴槽に人が居ると判断されると、CPU22は、ステップS14において、第一距離画像情報Idst1の最新フレームに対し、透視投影変換および特徴点抽出処理を行って、人の所定部位の典型例としての人の頭頂部44(図7中dで示す)を特定し、その鉛直方向位置を、人位置情報の一例である頭部位置情報I2として保持する。   If it is determined in step S13 that there is a person in the bathtub, in step S14, the CPU 22 performs a perspective projection conversion and a feature point extraction process on the latest frame of the first distance image information Idst1 to obtain a predetermined part of the person. A human head top 44 (indicated by “d” in FIG. 7) is specified as a typical example, and the vertical position thereof is held as head position information I2 which is an example of human position information.

次のステップS15において、CPU22は、まず、不揮発性メモリ23から上端位置情報I1を読み出す。その後、CPU22は、ステップS14で得た頭頂部の鉛直方向位置(即ち、最新の頭部位置情報I2)と、浴槽上端の鉛直方向位置(即ち、上端位置情報I1)との比較結果から、浴室の人が溺水しているか否かを判断する。より具体的には、CPU22は、頭頂部44の鉛直方向位置から浴槽上端の鉛直方向位置を減算して、これにより得られた差分が予め定められた閾値以下か否かを判断することで、溺水判断を行う。ここで、本浴室監視装置Aは溺水判断を行うことを目的とするため、閾値は20cm程度に選ばれる。   In next step S <b> 15, the CPU 22 first reads the upper end position information I <b> 1 from the nonvolatile memory 23. Thereafter, the CPU 22 calculates the bathroom position based on the comparison result between the vertical position of the top obtained in step S14 (that is, the latest head position information I2) and the vertical position of the upper end of the bathtub (that is, the upper position information I1). To determine whether the person is drowning. More specifically, the CPU 22 subtracts the vertical position of the upper end of the bathtub from the vertical position of the top 44, and determines whether or not the difference obtained thereby is equal to or less than a predetermined threshold value. Make a flood judgment. Here, since this bathroom monitoring apparatus A aims at making a flood determination, the threshold is selected to be about 20 cm.

ステップS15にて溺水で無いと判断されれば、第一距離画像情報Idst1および頭部位置情報I2を更新するために、CPU22は、ステップS11に戻る。上記に対し、溺水と判断されれば、CPU22は、ステップS16において、警告音の音量を、初期的な標準音量に設定する。その後、CPU22は、ステップS17において、各種警告音データIsndの一つであって、溺水の警告を設定音量の音声で表す第一警告音データIsnd1を生成して警報部3に送信する。警報部3は、受信した第一警告音データIsnd1に基づき、設定音量の警報を出力する。   If it is determined in step S15 that the water is not flooded, the CPU 22 returns to step S11 in order to update the first distance image information Idst1 and the head position information I2. On the other hand, if it is determined that the water is flooded, the CPU 22 sets the volume of the warning sound to the initial standard volume in step S16. Thereafter, in step S17, the CPU 22 generates first warning sound data Isnd1, which is one of various warning sound data Isnd and represents a warning of flooding with a sound of a set volume, and transmits the first warning sound data Isnd1 to the warning unit 3. The alarm unit 3 outputs a set volume alarm based on the received first alarm sound data Isnd1.

次に、CPU22は、ステップS18で、ステップS17で警告を出してから第一所定時間が経過すると、ステップS19で頭部位置情報I2を更新し、その後、ステップS110で溺水判断を行う。なお、ステップS19,S110の処理は、ステップS14,S15と同様である。また、第一所定時間は10秒程度に選ばれる。   Next, in step S18, when the first predetermined time has elapsed after issuing the warning in step S17, the CPU 22 updates the head position information I2 in step S19, and then makes a flood determination in step S110. In addition, the process of step S19, S110 is the same as that of step S14, S15. The first predetermined time is selected to be about 10 seconds.

ステップS110で溺水と判断されると、CPU22は、ステップS111で、事態がより重大であるとみなして、警告音の音量を標準音量より大きく設定した後、ステップS17を行う。この処理により、警報部3は、時間をおいて互いに異なる方法で警告を行う。特に、警告音量が徐々に大きくなるため、事態の重大さを介護職員等は認識できる。それに対し、ステップS110で溺水で無いと判断されると、浴槽の人は溺水状態から脱したとみなして、処理はステップS11に戻る。この後、上述と同様の処理が行われる。   If it is determined in step S110 that the water is flooded, the CPU 22 regards the situation as more serious in step S111, sets the volume of the warning sound to be higher than the standard volume, and then performs step S17. By this processing, the warning unit 3 gives a warning by using different methods at intervals. In particular, since the warning volume gradually increases, the care staff can recognize the seriousness of the situation. On the other hand, if it is determined in step S110 that the water is not flooded, the person in the bathtub is deemed to have escaped from the flooded state, and the process returns to step S11. Thereafter, the same processing as described above is performed.

ところで、ステップS13にて浴槽に人が居ないと判断されると、CPU22は、ステップS112において、第二所定時間が経過するか否かを判断する。ステップS112で第二所定時間が経過すると、CPU22は、今後暫くの間浴槽に人が入ってこないとみなして、ステップS113で第二距離画像情報Idst2の更新を行う。ステップS113の処理は、図4のステップS01〜S03の処理と同様であるため、ここで改めて詳説することを控える。なお、ステップS113では少なくとも第二距離画像情報Idst2が更新されれば良いが、第一監視領域情報t1や上端位置情報I1も同時に更新されても構わない。   By the way, if it is determined in step S13 that there is no person in the bathtub, the CPU 22 determines in step S112 whether or not a second predetermined time has elapsed. When the second predetermined time has elapsed in step S112, the CPU 22 considers that no person has entered the bathtub for some time in the future, and updates the second distance image information Idst2 in step S113. Since the process of step S113 is the same as the process of steps S01 to S03 of FIG. 4, a detailed description thereof will be omitted here. In step S113, at least the second distance image information Idst2 may be updated, but the first monitoring area information t1 and the upper end position information I1 may be updated at the same time.

CPU22は、ステップS113の処理の後、または、ステップS112で第二所定時間が経過していないと判断した場合、ステップS11を再度行う。それ以降の処理については、前述した通りであるため、ここで改めて詳説することを控える。   After determining that the second predetermined time has not elapsed in step S112 after the process in step S113, the CPU 22 performs step S11 again. Since the subsequent processing is as described above, it will not be described in detail here.

≪1−3.第一実施形態の効果≫
以上の通り、本実施形態によれば、浴室4内に居る人の頭頂部44の位置dおよび浴槽41の上端位置b(図2や図7を参照)の比較という極めて簡素な処理で警報を行えるため、低コストで実現可能な浴室監視装置Aを提供することが可能となる。また、色や濃淡を示す画素値からなる通常の二次元画像を生成するカメラは浴室監視装置Aには不要である。これによっても、浴室監視装置Aは低コストで実現可能となると共に、浴室にカメラを設置するというユーザの心理的負担を無くすことができる。
<< 1-3. Effects of the first embodiment >>
As described above, according to the present embodiment, an alarm is generated by an extremely simple process of comparing the position d of the head portion 44 of the person in the bathroom 4 and the upper end position b of the bathtub 41 (see FIGS. 2 and 7). Since it can do, it becomes possible to provide the bathroom monitoring apparatus A realizable at low cost. Moreover, the camera which produces | generates the normal two-dimensional image which consists of the pixel value which shows a color and a light and shade is unnecessary for the bathroom monitoring apparatus A. This also enables the bathroom monitoring apparatus A to be realized at low cost and eliminates the user's psychological burden of installing a camera in the bathroom.

また、浴室監視装置Aでは、CPU22は、図4の初期設定処理により、浴室4内の所定箇所の鉛直方向位置を示す上端位置情報I1を自動的に取得して不揮発性メモリ23に格納する。換言すると、本浴室監視装置Aを浴室に設置する際に、設置業者が上端位置情報I1をわざわざ浴室監視装置Aに設定する必要が無くなる。このように、本浴室監視装置Aによれば、設置業者の作業工数を低減することが可能となる。   In the bathroom monitoring apparatus A, the CPU 22 automatically acquires the upper end position information I1 indicating the vertical position of a predetermined location in the bathroom 4 and stores it in the nonvolatile memory 23 by the initial setting process of FIG. In other words, when installing the bathroom monitoring device A in the bathroom, the installer need not bother to set the upper end position information I1 in the bathroom monitoring device A. Thus, according to this bathroom monitoring apparatus A, it becomes possible to reduce the work man-hour of an installer.

また、浴室監視装置Aでは、CPU22は、図5のステップS13で人が浴室に居ると判断した場合に限り、図5のステップS14以降を行っている。それ故、処理負荷の大きな特徴点抽出を不必要に行う必要が無くなる。   Further, in the bathroom monitoring apparatus A, the CPU 22 performs steps S14 and after in FIG. 5 only when it is determined in step S13 in FIG. 5 that a person is in the bathroom. Therefore, it is not necessary to unnecessarily perform feature point extraction with a large processing load.

また、光源部11が赤外線の測距波L1を放射する場合、浴槽内の水面で測距波L1は反射されない。それ故、浴室監視装置Aでは代替的に、浴槽41の上端位置を認識し溺水判断に使用することで、上述の通り、低コストで実現可能な浴室監視装置Aを提供することが可能となる。   Moreover, when the light source part 11 radiates | emits the infrared ranging wave L1, the ranging wave L1 is not reflected by the water surface in a bathtub. Therefore, in the bathroom monitoring device A, it is possible to provide the bathroom monitoring device A that can be realized at low cost as described above by recognizing the upper end position of the bathtub 41 and using it for flooding determination. .

また、図5の警告処理にステップS18〜S111を組み込むことで、浴室監視装置Aにおいて、CPU22は、時間をおいて異なる音量で複数回警告を行うよう制御する。これにより、事態の重大さに応じた警告を行うことが可能となる。   Further, by incorporating steps S18 to S111 into the warning process of FIG. 5, in the bathroom monitoring device A, the CPU 22 controls to issue a warning a plurality of times at different volumes over time. Thereby, it becomes possible to give a warning according to the seriousness of the situation.

≪1−4.付記≫
上記説明では、測距部1は三次元距離画像カメラであるとして説明した。しかし、これに限らず、測距部1は、所謂受信スキャンレス型の三次元画像レーダであっても構わない。この場合、光源部11は、赤外線LEDおよびMEMSミラー等をさらに含む。MEMSミラーには、赤外線LEDからのビーム径を相対的に細く絞ったレーザ光が入射される。MEMSミラーは、入射レーザ光を偏向する。MEMSミラーで偏向された光は、各種測距波の他の例として浴室内で走査される。受信スキャンレス型の場合であっても、受光部13の構成は実質的に上述と同じである。
<< 1-4. Appendix >>
In the above description, the distance measuring unit 1 has been described as a three-dimensional distance image camera. However, the present invention is not limited to this, and the distance measuring unit 1 may be a so-called reception scanless type three-dimensional image radar. In this case, the light source unit 11 further includes an infrared LED, a MEMS mirror, and the like. Laser light with a beam diameter from the infrared LED narrowed relatively thin is incident on the MEMS mirror. The MEMS mirror deflects incident laser light. The light deflected by the MEMS mirror is scanned in the bathroom as another example of various ranging waves. Even in the case of the reception scanless type, the configuration of the light receiving unit 13 is substantially the same as described above.

また、上記説明では、各種測距波は光であるとして説明した。しかし、これに限らず、測距波は電波であっても構わない。   In the above description, the various ranging waves are assumed to be light. However, the present invention is not limited to this, and the ranging wave may be a radio wave.

また、上記説明では、第一監視領域t1は、浴槽41の上端外形線で囲まれる領域であるとした。しかし、これに限らず、図8に示すように、第一監視領域t1は、外形線から所定量だけ内側にオフセットした領域であっても構わない。これにより、図5のステップS13において、壁43に設置されたシャワーであって鉛直方向位置がしばしば変わりうるシャワーが人体と誤認識される可能性を低減できる。   In the above description, the first monitoring region t <b> 1 is a region surrounded by the upper end outline of the bathtub 41. However, the present invention is not limited to this, and as shown in FIG. 8, the first monitoring region t1 may be a region offset inward by a predetermined amount from the outline. Thereby, in step S13 of FIG. 5, it is possible to reduce the possibility that a shower installed on the wall 43 and whose vertical position is frequently changed is erroneously recognized as a human body.

また、上記説明では、図5のステップS111にて警告音の音量が大きくされていた。しかし、これに限らず、警告音の周波数が高くされても構わない。   In the above description, the volume of the warning sound is increased in step S111 in FIG. However, the present invention is not limited to this, and the frequency of the warning sound may be increased.

また、上記説明では、上端位置情報I1は浴槽41の上端の鉛直方向位置を示していた。しかし、これに限らず、図9に示すように、再帰反射性材料を用いて特定パターンが表面上に形成されたフロート5を浴槽41に浮かべておいた場合、CPU22は、警告処理において、第一距離画像情報Idst1からフロート5の鉛直方向位置を上端位置情報I1として求めて、溺水判断を行うことも可能である。これにより、より正確な溺水判断を行えると共に、図4のステップS05を省略できる。   In the above description, the upper end position information I1 indicates the vertical position of the upper end of the bathtub 41. However, the present invention is not limited to this, and as shown in FIG. 9, when the float 5 having a specific pattern formed on the surface using a retroreflective material is floated on the bathtub 41, the CPU 22 performs the first process in the warning process. It is also possible to determine flooding by obtaining the vertical position of the float 5 as the upper end position information I1 from the one-distance image information Idst1. As a result, more accurate flooding determination can be made, and step S05 in FIG. 4 can be omitted.

また、上記説明では好ましい形態として、CPU22は、図4の初期設定処理により、浴室4内の所定箇所の鉛直方向位置を示す上端位置情報I1を自動的に取得して不揮発性メモリ23に格納していた。しかし、これに限らず、本浴室監視装置Aを浴室に設置する際に、設置業者が上端位置情報I1を浴室監視装置Aに設定しても構わない。   In the above description, as a preferred mode, the CPU 22 automatically obtains the upper end position information I1 indicating the vertical position of a predetermined location in the bathroom 4 and stores it in the nonvolatile memory 23 by the initial setting process of FIG. It was. However, the present invention is not limited to this, and the installer may set the upper end position information I1 in the bathroom monitoring device A when the bathroom monitoring device A is installed in the bathroom.

また、上記説明では好ましい形態として、本浴室監視装置Aは、両距離画像情報Idst1,Idst2を用いていた。しかし、これに限らず、本浴室監視装置Aの設置時に、上端位置情報I1を不揮発性メモリ23に設置業者等が予め記憶させるのであれば、第一距離画像情報Idst1だけでも警告を出すよう制御可能である。   In the above description, as a preferred mode, the bathroom monitoring apparatus A uses both distance image information Idst1 and Idst2. However, the present invention is not limited to this, and when installing the bathroom monitoring apparatus A, if the installer stores the upper end position information I1 in the non-volatile memory 23 in advance, control is performed so that only the first distance image information Idst1 gives a warning. Is possible.

≪1−5.第一変形例≫
次に、図10等を参照して、第一実施形態の第一変形例に係る浴室監視装置Bについて説明する。浴室監視装置Bは、浴室監視装置Aと構成面で同様であるため、以下の説明では、図1,図3を援用する。ただし、浴室監視装置Bは、浴室監視装置Aと比較すると、図5の警告処理に代えて、図10に示す警告処理を行う点で相違する。
<< 1-5. First variation >>
Next, with reference to FIG. 10 etc., the bathroom monitoring apparatus B which concerns on the 1st modification of 1st embodiment is demonstrated. Since the bathroom monitoring device B is similar in configuration to the bathroom monitoring device A, FIGS. 1 and 3 are used in the following description. However, the bathroom monitoring apparatus B is different from the bathroom monitoring apparatus A in that the warning process illustrated in FIG. 10 is performed instead of the warning process illustrated in FIG.

図10は、図5の警告処理と比較すると、ステップS15とステップS16の間に、ステップS21〜S23をさらに備える点で相違する。それ以外に両フロー図に相違点は無いので、図10において、図5のステップに相当するものには同一ステップ番号を付け、それぞれの説明を省略する。   FIG. 10 is different from the warning process of FIG. 5 in that steps S21 to S23 are further provided between step S15 and step S16. Since there is no difference between the two flow diagrams other than that, in FIG. 10, the same step numbers are assigned to those corresponding to the steps in FIG.

図10のステップS21では、CPU22は、ステップS15の実施から第三所定時間が経過したか否かを判断する。第三所定時間は、第一所定時間よりも短い時間(例えば5秒)であって、溺水では無く、人が自発的に浴槽で潜っているとみなせる時間である。   In step S21 of FIG. 10, the CPU 22 determines whether or not a third predetermined time has elapsed since the execution of step S15. The third predetermined time is a time shorter than the first predetermined time (for example, 5 seconds), and is a time when it can be considered that a person is voluntarily diving in the bathtub instead of flooding.

ステップS21でYesと判断すると、CPU22は、ステップS14,S15と同様のステップS22,S23を行う。これにより、頭部位置情報I2が更新され、上端位置情報I1と更新後の頭部位置情報I2とが比較される。このステップS23で溺水と判断されなければ、CPU22は、人が自発的に浴槽で潜っているとみなす。この場合、処理はステップS11に戻る。それに対し、ステップS23で溺水と判断されると、処理はステップS16に進む。   If it is determined Yes in step S21, the CPU 22 performs steps S22 and S23 similar to steps S14 and S15. Thereby, the head position information I2 is updated, and the upper end position information I1 is compared with the updated head position information I2. If it is not determined to be flooded in this step S23, the CPU 22 considers that the person is voluntarily diving in the bathtub. In this case, the process returns to step S11. On the other hand, if it is determined that the water is flooded in step S23, the process proceeds to step S16.

≪1−6.第一変形例の効果≫
上記浴室監視装置Aは、ステップS15で溺水と判断すると、即座に警告を行う。それ故、溺水では無く、短時間ではあるが自発的に浴槽で潜るような人に対して、上記浴室監視装置Aから警告が繰り返しなされてしまう。従って、このような人は浴室監視装置Aによる警告を煩わしく感じると想定される。
<< 1-6. Effect of the first modification >>
When the bathroom monitoring device A determines flooding in step S15, it immediately gives a warning. Therefore, a warning is repeatedly issued from the bathroom monitoring device A to a person who voluntarily dive in the bathtub, but not for flooding, for a short time. Therefore, it is assumed that such a person feels annoying the warning by the bathroom monitoring device A.

しかし、本浴室監視装置Bは、ステップS15で一旦溺水と判断しても、第三所定時間後に、もう一度溺水と判断しない限り、警告を行わない。これによって、自発的に潜る人が煩わしさを感じる頻度を少なくすることが出来る。   However, even if the bathroom monitoring device B determines that the water is once flooded in step S15, the bathroom monitoring device B does not give a warning unless it is determined that the water is again flooded after the third predetermined time. As a result, it is possible to reduce the frequency with which a person who voluntarily dives feel annoyance.

≪1−7.第二変形例≫
次に、図11Aおよび図11B等を参照して、第一実施形態の第二変形例に係る浴室監視装置Cについて説明する。浴室監視装置Cは、浴室監視装置Aと比較すると、制御部2が図5の警告処理に代えて、図11Aおよび図11Bの組み合わせからなる警告処理を行う点で相違する。それ以外に、両浴室監視装置A,Cの間に相違点は無い。それ故、以下では図1,図3を援用する。
<< 1-7. Second modification >>
Next, with reference to FIG. 11A, FIG. 11B, etc., the bathroom monitoring apparatus C which concerns on the 2nd modification of 1st embodiment is demonstrated. Compared with the bathroom monitoring apparatus A, the bathroom monitoring apparatus C is different in that the control unit 2 performs a warning process including a combination of FIGS. 11A and 11B instead of the warning process of FIG. Other than that, there is no difference between the bathroom monitoring devices A and C. Therefore, FIG. 1 and FIG. 3 are used below.

図11A,図11Bの組み合わせは、図5のフロー図と比較すると、例えばステップS14およびS15の間にステップS31〜S33をさらに行う点で相違する。それ以外に、両フロー図の間に相違点は無い。それ故、図11において、図5に示すステップに相当するものには同一ステップ番号を付け、それぞれの説明を省略する。   11A and 11B is different from the flowchart of FIG. 5 in that steps S31 to S33 are further performed, for example, between steps S14 and S15. Other than that, there is no difference between the two flow diagrams. Therefore, in FIG. 11, the steps corresponding to the steps shown in FIG.

ステップS31において、CPU22は、今回の頭部位置情報I2と前回の頭部位置情報I2とから、人の頭頂部44が単位時間あたり鉛直方向にどの程度変位したか、即ち、人の頭頂部44の鉛直方向への移動速度v1を算出する。   In step S31, the CPU 22 determines how much the human head portion 44 has been displaced in the vertical direction per unit time from the current head position information I2 and the previous head position information I2, that is, the human head portion 44. The moving speed v1 in the vertical direction is calculated.

ステップS32において、CPU22は、求めた移動速度v1が所定の閾値vth以上か否かを判断する。ここで、閾値vthは、浴槽内の人が転倒しているとみなせる値であり、実験等で予め求められる。   In step S32, the CPU 22 determines whether or not the obtained moving speed v1 is equal to or greater than a predetermined threshold value vth. Here, the threshold value vth is a value that can be considered that the person in the bathtub has fallen, and is obtained in advance by an experiment or the like.

なお、本説明では、CPU22は、移動速度v1に基づき転倒判断を行うとして説明するが、これに限らず、人の頭頂部44の加速度k1に基づき、転倒判断が行われても良い。   In this description, the CPU 22 is described as performing the fall determination based on the moving speed v1, but the present invention is not limited to this, and the fall determination may be performed based on the acceleration k1 of the human head 44.

ステップS32で転倒と判断されると、CPU22は、ステップS33で、各種警告音データIsndの一つであって、転倒の警告を設定音量の音声で表す第二警告音データIsnd2を生成して警報部3に送信する。警報部3は、受信した第二警告音データIsnd2に基づき、設定音量の警報を出力する。   If it is determined in step S32 that the vehicle has fallen, in step S33, the CPU 22 generates second warning sound data Isnd2 which is one of various types of warning sound data Isnd and represents a fall warning with a sound of a set volume. Send to part 3. The alarm unit 3 outputs a set volume alarm based on the received second alarm sound data Isnd2.

ステップS33の次、またはステップS32で転倒と判断されなかった場合、CPU22は、ステップS15を行う。   After step S33 or when it is not determined that the vehicle has fallen in step S32, the CPU 22 performs step S15.

≪1−8.第二変形例の効果≫
以上の通り、本変形例によれば、浴室4内に居る人の転倒時の警報という価値を、上端位置情報I1を蓄積し簡単な演算を行うだけで付加できる。
<< 1-8. Effects of the second modification >>
As described above, according to this modification, it is possible to add the value of a warning when a person in the bathroom 4 falls by simply accumulating the upper end position information I1 and performing a simple calculation.

また、ステップS31〜S33は、ステップS15の前またはステップS110でNoと判断された後に実施されるので、浴室監視装置Cは、人が浴槽に入った直後や人が浴槽から出ようとする時等、転倒が生じやすい状況で警報を出すことが可能となる。   In addition, since steps S31 to S33 are performed before step S15 or after it is determined No in step S110, bathroom monitoring device C is used immediately after a person enters the bathtub or when a person tries to leave the bathtub. For example, it is possible to issue an alarm in a situation where a fall is likely to occur.

≪2.第二実施形態≫
次に、図12等を参照して、第二実施形態に係る浴室監視装置Dを詳説する。浴室監視装置Dは、浴室監視装置Aと比較すると、制御部2が図4の初期設定処理,図5の警告処理に代えて、図12の初期設定処理、図13の警告処理を行う点で相違する。それ以外に、両浴室監視装置A,Dの間に相違点は無い。それ故、以下では図1,図3を援用する。
≪2. Second embodiment >>
Next, with reference to FIG. 12 etc., the bathroom monitoring apparatus D which concerns on 2nd embodiment is explained in full detail. Compared with the bathroom monitoring apparatus A, the bathroom monitoring apparatus D is that the control unit 2 performs the initial setting process of FIG. 12 and the warning process of FIG. 13 instead of the initial setting process of FIG. 4 and the warning process of FIG. Is different. Other than that, there is no difference between the bathroom monitoring devices A and D. Therefore, FIG. 1 and FIG. 3 are used below.

≪2−1.浴室監視装置の動作≫
まず、図12は、図4と比較すると、ステップS04,S05に代えてステップS41〜S44を含む点で相違する。それ以外に、両フロー図の間に相違点は無い。それ故、図12において、図4のステップに相当するものには同一ステップ番号を付け、それぞれの説明を省略する。
<< 2-1. Operation of bathroom monitoring system >>
First, FIG. 12 differs from FIG. 4 in that steps S41 to S44 are included instead of steps S04 and S05. Other than that, there is no difference between the two flow diagrams. Therefore, in FIG. 12, the steps corresponding to the steps in FIG. 4 are given the same step numbers, and the descriptions thereof are omitted.

ステップS41において、CPU22は、浴室内の洗い場に鏡(即ち、鏡面反射物)があることを想定して、第二距離画像情報Idst2に対し無効処理を行う。具体的には、CPU22は、第二距離画像情報Idst2に含まれる画素値(即ち、距離)のうち、所定値以上の画素値を無効にする。本浴室監視装置Aが概ね直方体の浴室であることを想定して、所定値は、浴室の対角距離に設定される。   In step S41, the CPU 22 performs an invalid process on the second distance image information Idst2 on the assumption that there is a mirror (that is, a specular reflector) at the washing place in the bathroom. Specifically, the CPU 22 invalidates a pixel value greater than or equal to a predetermined value among the pixel values (that is, the distance) included in the second distance image information Idst2. Assuming that the bathroom monitoring device A is a generally rectangular parallelepiped bathroom, the predetermined value is set to the diagonal distance of the bathroom.

ステップS42において、CPU22は、ステップS42の無効にされた画素に対し、周辺の有効な画素の値に置き換える。   In step S42, the CPU 22 replaces the invalid pixel in step S42 with the value of the peripheral valid pixel.

ステップS43において、CPU22は、第二距離画像情報Idst2を構成する画素群から最外周を構成する画素群を抽出し、これらを浴室の壁面と認識する。その後、CPU22は、第二距離画像情報Idst2に対する透視投影変換等を行った後、特徴点抽出処理により、鉛直方向位置が略同一の画素群であって矩形形状をなす画素群を探して、測距部1を基準として鉛直方向により遠い画素群を、浴室4の洗い場46の外形線(図14中、fにて示す)と定義し、当該外形線内の領域t2(太い破線を参照)を示す第二監視領域情報t2を、不揮発性メモリ23に格納する。   In step S43, CPU22 extracts the pixel group which comprises outermost periphery from the pixel group which comprises 2nd distance image information Idst2, and recognizes these as the wall surface of a bathroom. Thereafter, after performing perspective projection conversion on the second distance image information Idst2, the CPU 22 searches for a pixel group having a rectangular shape and having substantially the same vertical position by a feature point extraction process. A pixel group farther in the vertical direction with respect to the distance portion 1 is defined as an outline of the washing place 46 of the bathroom 4 (indicated by f in FIG. 14), and a region t2 (see the thick broken line) in the outline is concerned. The second monitoring area information t <b> 2 shown is stored in the nonvolatile memory 23.

ステップS44において、CPU22は、洗い場を所定箇所の第二例として定義すると共に、その鉛直方向位置を、浴室位置情報の他の例である洗い場位置情報I3として不揮発性メモリ23に格納する。   In step S44, the CPU 22 defines the washing place as a second example of the predetermined place, and stores the vertical position in the nonvolatile memory 23 as washing place position information I3 which is another example of bathroom position information.

また、図13は、図5と比較すると、ステップS13〜S111に代えて、ステップS51〜S511を含む点で相違する。それ以外に、両フロー図の間に相違点は無い。それ故、図13において、図5のステップに相当するものには同一ステップ番号を付け、それぞれの説明を省略する。   13 is different from FIG. 5 in that steps S51 to S511 are included instead of steps S13 to S111. Other than that, there is no difference between the two flow diagrams. Therefore, in FIG. 13, the same step numbers are assigned to the steps corresponding to the steps in FIG.

ステップS51,S52において、CPU22は、第一距離画像情報Idst1を対象に画素値の無効化処理および置換処理を行う。ステップS51,S52に関しては、ステップS41,S42と同様であるため、それぞれの説明を省略する。   In steps S51 and S52, the CPU 22 performs pixel value invalidation processing and replacement processing on the first distance image information Idst1. Since steps S51 and S52 are the same as steps S41 and S42, their descriptions are omitted.

ステップS53において、CPU22は、洗い場に人が居るか否かを確認する。より具体的には、両距離画像Idst1,Idst2のそれぞれにおいて第二監視領域t2内に属する画素値同士の差分が演算される。この差分が所定の閾値以上であれば洗い場に人が居ると判断される。   In step S53, the CPU 22 confirms whether or not there is a person in the washing area. More specifically, the difference between the pixel values belonging to the second monitoring region t2 is calculated in each of the distance images Idst1 and Idst2. If this difference is equal to or greater than a predetermined threshold value, it is determined that there is a person in the washing area.

ステップS53にて洗い場に人が居ると判断されると、CPU22は、ステップS54において、第一距離情報Idst1の最新フレームに対し、透視投影変換および特徴点抽出処理を行って、人の所定部位の一例である人の頭頂部44を特定し、その鉛直方向位置を、人位置情報の一例である頭部位置情報I4として保持する。   If it is determined in step S53 that there is a person in the washing area, the CPU 22 performs perspective projection conversion and feature point extraction processing on the latest frame of the first distance information Idst1 in step S54, thereby determining a predetermined part of the person. The person's head top portion 44, which is an example, is specified, and the vertical position thereof is held as head position information I4, which is an example of person position information.

次のステップS55において、CPU22は、まず、不揮発性メモリ23から洗い場位置情報I3を読み出す。その後、CPU22は、ステップS54で得た頭頂部の鉛直方向位置(即ち、最新の頭部位置情報I4)と、洗い場の鉛直方向位置(即ち、洗い場位置情報I3)との比較結果から、洗い場で人が転倒しているか否かを判断する。より具体的には、CPU22は、頭頂部44の鉛直方向位置から洗い場の鉛直方向位置を減算して、これにより得られた差分が予め定められた閾値以下か否かを判断することで、転倒判断を行う。ここで、本浴室監視装置Dは転倒判断を行うことを目的とするため、閾値は20cm程度に選ばれる。   In the next step S55, the CPU 22 first reads the washing place position information I3 from the nonvolatile memory 23. Thereafter, the CPU 22 determines whether the vertical position of the top (that is, the latest head position information I4) obtained in step S54 and the vertical position of the washing area (that is, the washing area position information I3) are compared at the washing area. Determine if a person is falling. More specifically, the CPU 22 subtracts the vertical position of the washing area from the vertical position of the top 44 and determines whether or not the difference obtained thereby is equal to or less than a predetermined threshold value. Make a decision. Here, since this bathroom monitoring apparatus D aims at making a fall decision, the threshold is selected to be about 20 cm.

ステップS55にて転倒で無いと判断されれば、頭部位置情報I4を更新するために、CPU22は、ステップS51に戻り、その後、ステップS51〜S55のループを繰り返す。上記に対し、転倒と判断されれば、CPU22は、ステップS56において、警告音の音量を、初期的な標準音量に設定する。その後、CPU22は、ステップS57において、各種警告音データIsndの一つであって、転倒の警告を設定音量の音声で表す第二警告音データIsnd2を生成して警報部3に送信する。警報部3は、受信した第二警告音データIsnd2に基づき、設定音量の警報を出力する。   If it is determined in step S55 that the head has not fallen, the CPU 22 returns to step S51 in order to update the head position information I4, and then repeats the loop of steps S51 to S55. On the other hand, if it is determined to fall, the CPU 22 sets the volume of the warning sound to an initial standard volume in step S56. Thereafter, in step S57, the CPU 22 generates second warning sound data Isnd2, which is one of various warning sound data Isnd and represents a fall warning with a sound of a set volume, and transmits the second warning sound data Isnd2 to the alarm unit 3. The alarm unit 3 outputs a set volume alarm based on the received second alarm sound data Isnd2.

次に、CPU22は、ステップS58で、ステップS57で警告を出してから第四所定時間が経過したと判断すると、ステップS59で頭部位置情報I4を更新し、その後、ステップS510で転倒判断を行う。なお、ステップS59,S510の処理は、ステップS54,S55と同様であるため、それぞれの説明を省略する。また、第四所定時間は10秒程度に選ばれる。   Next, when it is determined in step S58 that the fourth predetermined time has elapsed since the CPU 22 issued a warning in step S57, the CPU 22 updates the head position information I4 in step S59, and then makes a fall determination in step S510. . In addition, since the process of step S59, S510 is the same as that of step S54, S55, each description is abbreviate | omitted. The fourth predetermined time is selected to be about 10 seconds.

ステップS510で転倒と判断されると、CPU22は、ステップS511で、事態がより重大であるとみなして、警告音の音量を標準音量より大きく設定した後、ステップS57を行う。この処理により、警報部3は、時間をおいて互いに異なる方法で警告を行う。特に、警告音量が徐々に大きくなるため、事態の重大さを介護職員等は認識できる。それに対し、ステップS510で転倒で無いと判断されると、浴槽の人が起き上がったとみなして、処理はステップS11に戻る。この後、上述と同様の処理が行われる。   If it is determined in step S510 that the vehicle has fallen, the CPU 22 regards that the situation is more serious in step S511, sets the volume of the warning sound to be higher than the standard volume, and then performs step S57. By this processing, the warning unit 3 gives a warning by using different methods at intervals. In particular, since the warning volume gradually increases, the care staff can recognize the seriousness of the situation. On the other hand, if it is determined in step S510 that the person has not fallen, it is considered that the person in the bathtub has risen, and the process returns to step S11. Thereafter, the same processing as described above is performed.

ところで、ステップS53にて洗い場に人が居ないと判断されると、CPU22は、ステップS112において、第五所定時間が経過するか否かを判断する。ステップS112で第二所定時間が経過すると、CPU22は、今後暫くの間洗い場に人が入ってこないとみなして、ステップS113で第二距離画像情報Idst2の更新を行う。ステップS113の処理は、図12のステップS01〜S03の処理と同様であるため、ここで改めて詳説することを控える。なお、ステップS113では少なくとも第二距離画像情報Idst2が更新されれば良いが、第二監視領域情報t2または洗い場位置情報I3が同時に更新されても構わない。   By the way, if it is determined in step S53 that there is no person in the washing area, the CPU 22 determines in step S112 whether or not a fifth predetermined time has elapsed. When the second predetermined time has elapsed in step S112, the CPU 22 considers that no person has entered the washing area for a while and updates the second distance image information Idst2 in step S113. Since the process of step S113 is the same as the process of steps S01 to S03 of FIG. 12, a detailed description will be omitted here. In step S113, it is sufficient that at least the second distance image information Idst2 is updated, but the second monitoring area information t2 or the washing place position information I3 may be updated at the same time.

CPU22は、ステップS113の処理の後、または、ステップS112で第二所定時間が経過していないと判断した場合、ステップS11を再度行う。それ以降の処理については、前述した通りであるため、ここで改めて詳説することを控える。   After determining that the second predetermined time has not elapsed in step S112 after the process in step S113, the CPU 22 performs step S11 again. Since the subsequent processing is as described above, it will not be described in detail here.

≪2−2.第二実施形態の効果≫
以上の通り、本実施形態によれば、浴室4内に居る人の頭頂部44の位置dおよび洗い場46の位置f(図14を参照)の比較という極めて簡素な処理で警報を行えるため、低コストで実現可能な浴室監視装置Dを提供することが可能となる。また、本浴室監視装置Dによれば、通常の二次元画像を生成するカメラを必要としないため、第1−3欄の説明と同様、ユーザの心理的負担を強いることが無くなる。
<< 2-2. Effect of Second Embodiment >>
As described above, according to the present embodiment, an alarm can be performed by an extremely simple process of comparing the position d of the top 44 of the person in the bathroom 4 and the position f of the washing place 46 (see FIG. 14). It is possible to provide a bathroom monitoring device D that can be realized at a low cost. Moreover, according to this bathroom monitoring apparatus D, since the camera which produces | generates a normal two-dimensional image is not required, a user's psychological burden is not forced like the description of the 1-3 column.

また、本実施形態によれば、CPU22は、両距離画像Idst1,Idst2に対し画素値の無効処理を行って(図12,図13のステップS41,S51)、浴室の鏡にて鏡面反射することで得られた画素値を無効にする。なお、図15には、鏡47がある浴室4が示されると共に、鏡面反射による無効な画素値(距離)がgで示される。以上の無効処理の結果、浴室にて測距波L1が鏡面反射することに起因する洗い場領域(即ち、領域t2)の誤認識を防止できるし、鏡面反射の影響で同一人物の頭頂部が第一距離画像Idst1から複数回認識されることを防止することができる。これにより、より正確に浴室監視を行うことが可能となる。   In addition, according to the present embodiment, the CPU 22 performs an invalid process of the pixel value on both the distance images Idst1 and Idst2 (steps S41 and S51 in FIGS. 12 and 13) and specularly reflects them with a mirror in the bathroom. The pixel value obtained in is invalidated. In FIG. 15, the bathroom 4 with the mirror 47 is shown, and an invalid pixel value (distance) due to specular reflection is indicated by g. As a result of the above invalidation processing, it is possible to prevent erroneous recognition of the washing area (i.e., the area t2) due to the specular reflection of the distance measuring wave L1 in the bathroom, and the top of the same person can It is possible to prevent recognition from the one-range image Idst1 multiple times. This makes it possible to monitor the bathroom more accurately.

また、ステップS43において、洗い場を定義する第二監視領域情報t2がメモリ23に格納されて、測距部1を基準とする洗い場46の外形線(図14中、fにて示す)が定義される。CPU22は、ステップS51で取得した第一距離画像情報Idst1の画素値(距離)の中に、ステップS43で定義した洗い場46の外形線外のものがあれば、その画素値を無効化することも出来る。   In step S43, the second monitoring area information t2 defining the washing place is stored in the memory 23, and the outline of the washing place 46 with reference to the distance measuring unit 1 (indicated by f in FIG. 14) is defined. The If the pixel value (distance) of the first distance image information Idst1 acquired in step S51 is outside the outline of the washing place 46 defined in step S43, the CPU 22 may invalidate the pixel value. I can do it.

また、第1−3欄の説明と同様、本浴室監視装置Dによれば、設置業者の作業工数を低減することが可能となる。   Further, similarly to the description in the first to third columns, according to the bathroom monitoring device D, it is possible to reduce the work man-hours of the installer.

また、浴室監視装置Dでも、CPU22は、図13のステップS51で人が浴室4に居ると判断した場合に限り、ステップS52以降が実施されるので、処理負荷の大きな特徴点抽出を不必要に行う必要が無くなる。   Also in the bathroom monitoring apparatus D, the CPU 22 executes step S52 and subsequent steps only when it is determined in step S51 of FIG. 13 that a person is in the bathroom 4, and therefore, feature point extraction with a large processing load is unnecessary. There is no need to do it.

また、浴室監視装置Dでも、CPU22が時間をおいて異なる音量で複数回警告を行うため、事態の重大さ応じた警告を行うことが可能となる。   Also in the bathroom monitoring device D, since the CPU 22 gives a warning a plurality of times at different volumes over time, it is possible to give a warning according to the severity of the situation.

≪2−3.付記≫
第1−4欄に記載の事項は、第二実施形態でも同様に適用可能である。第二実施形態は、第1−7欄と同様に変形可能である。さらには、第一実施形態と第二実施形態とを組み合わせても構わない。
<< 2-3. Appendix >>
The matters described in the first to fourth columns can be similarly applied to the second embodiment. The second embodiment can be modified similarly to the first to seventh columns. Furthermore, you may combine 1st embodiment and 2nd embodiment.

また、上記実施形態では、ステップS41では、CPU22は、第二距離画像情報Idst2に含まれる画素値(即ち、距離)のうち、所定値以上の画素値を無効にしていた。しかし、これに限らず、CPU22は、第二距離画像情報Idst2からuv座標系の一方向に二つの距離値を順番に選んでいき、一方の距離値に対する他方の距離値の変化量が所定値以上の場合に、他方の距離値を無効にしても構わない。この処理は換言すると、CPU22が、受光部13を構成する複数の受光素子の一つと、それに隣接する受光素子とに対応する距離の変化量が所定値以上の場合に、該隣接する受光素子に対応する距離を無効にしていることとなる。   In the above embodiment, in step S41, the CPU 22 invalidates a pixel value that is equal to or larger than a predetermined value among the pixel values (that is, the distance) included in the second distance image information Idst2. However, the present invention is not limited to this, and the CPU 22 sequentially selects two distance values in one direction of the uv coordinate system from the second distance image information Idst2, and the change amount of the other distance value with respect to one distance value is a predetermined value. In the above case, the other distance value may be invalidated. In other words, this processing is performed when the CPU 22 determines that the adjacent light receiving element has an amount of change in distance corresponding to one of the plurality of light receiving elements constituting the light receiving unit 13 and the light receiving element adjacent thereto being a predetermined value or more. The corresponding distance is invalidated.

本発明に係る浴室監視装置および浴室監視方法は、低コストで実現可能であり、例えば浴室における転倒や溺水を監視する装置に適用可能である。   The bathroom monitoring apparatus and the bathroom monitoring method according to the present invention can be realized at low cost, and can be applied to an apparatus for monitoring a fall or flooding in a bathroom, for example.

A,B,C,D 浴室監視装置
1 測距部
2 制御部
22 処理部
23 不揮発性メモリ
24 メインメモリ
3 警報部
A, B, C, D Bathroom monitoring device 1 Distance measuring unit 2 Control unit 22 Processing unit 23 Non-volatile memory 24 Main memory 3 Alarm unit

Claims (5)

TOF(Time−of−Flight)方式により、浴室にて測距波を出射し反射波を受信することで、前記浴室内の複数箇所までの距離を含む距離情報を取得する測距部と、
前記距離情報に含まれる各距離のうち所定値以上の距離を無効にする中央処理部と、を備えた浴室用測距装置。
A distance measuring unit that obtains distance information including distances to a plurality of locations in the bathroom by emitting a distance measuring wave and receiving a reflected wave in the bathroom by a TOF (Time-of-Flight) method;
A bathroom ranging device comprising: a central processing unit that invalidates a distance greater than or equal to a predetermined value among the distances included in the distance information.
前記所定値は前記浴室の対角距離である、請求項1に記載の浴室用測距装置。   The bathroom range finder according to claim 1, wherein the predetermined value is a diagonal distance of the bathroom. 前記測距部は、
所定方向にアレイ状に配列された複数の受信素子であって、それぞれが前記浴室内の各箇所までの距離を示す信号を出力する複数の受信素子と、
前記複数の受信素子毎に、前記浴室内の各箇所までの距離を示す距離情報を生成する信号処理回路と、を含み、
前記中央処理部は、前記複数の受信素子の一つに対応する距離と、それに隣接する受信素子に対応する距離との変化量が所定値以上の場合、該隣接する受信素子に対応する距離を無効にする、請求項1に記載の浴室用測距装置。
The distance measuring unit is
A plurality of receiving elements arranged in an array in a predetermined direction, each of which outputs a signal indicating a distance to each location in the bathroom;
A signal processing circuit that generates distance information indicating a distance to each location in the bathroom for each of the plurality of receiving elements;
The central processing unit, when a change amount between a distance corresponding to one of the plurality of receiving elements and a distance corresponding to a receiving element adjacent thereto is a predetermined value or more, determines a distance corresponding to the adjacent receiving element. The bathroom range finder according to claim 1, which is invalidated.
前記測距部は、人が居ない前記浴室内に向けて測距波を出射し反射波を受信することで、前記浴室内の各箇所までの距離を示す距離情報を取得し、
前記中央処理部は、前記測距部により前記浴室に人が居ない時に取得された前記距離情報に含まれる各距離のうち、所定値以上の距離を無効にする、請求項1〜3のいずれかに記載の浴室用測距装置。
The distance measurement unit obtains distance information indicating the distance to each location in the bathroom by emitting a distance measurement wave and receiving a reflected wave toward the bathroom where there is no person,
The said central processing part invalidates the distance more than predetermined value among each distance contained in the said distance information acquired when the said distance measurement part does not have a person in the said bathroom. A bathroom distance measuring device according to claim 1.
TOF(Time−of−Flight)方式により、浴室にて測距波を出射し反射波を受信することで、前記浴室内の各箇所までの距離を含む距離情報を取得するステップと、
前記距離情報に含まれる各距離のうち、所定値以上の距離を無効にするステップと、を備えた浴室用測距方法。
Obtaining distance information including distances to each location in the bathroom by emitting a distance measurement wave in the bathroom and receiving a reflected wave by a TOF (Time-of-Flight) method;
A bathroom ranging method comprising: invalidating a distance greater than or equal to a predetermined value among the distances included in the distance information.
JP2016026983A 2016-02-16 2016-02-16 Range finder for bathroom and range method for bathroom Pending JP2017146157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016026983A JP2017146157A (en) 2016-02-16 2016-02-16 Range finder for bathroom and range method for bathroom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016026983A JP2017146157A (en) 2016-02-16 2016-02-16 Range finder for bathroom and range method for bathroom

Publications (1)

Publication Number Publication Date
JP2017146157A true JP2017146157A (en) 2017-08-24

Family

ID=59681255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016026983A Pending JP2017146157A (en) 2016-02-16 2016-02-16 Range finder for bathroom and range method for bathroom

Country Status (1)

Country Link
JP (1) JP2017146157A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019058315A (en) * 2017-09-26 2019-04-18 株式会社Jvcケンウッド Submergence determination system, submergence determination method, and program
JP2019129930A (en) * 2018-01-30 2019-08-08 株式会社Jvcケンウッド Submergence determination system and submergence determination method
JP2019152529A (en) * 2018-03-02 2019-09-12 株式会社デンソーウェーブ Scanning type laser radar system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019058315A (en) * 2017-09-26 2019-04-18 株式会社Jvcケンウッド Submergence determination system, submergence determination method, and program
JP7052268B2 (en) 2017-09-26 2022-04-12 株式会社Jvcケンウッド Submersion determination system and submergence determination method, program
JP2019129930A (en) * 2018-01-30 2019-08-08 株式会社Jvcケンウッド Submergence determination system and submergence determination method
JP7056179B2 (en) 2018-01-30 2022-04-19 株式会社Jvcケンウッド Submersion determination system and submergence determination method
JP2019152529A (en) * 2018-03-02 2019-09-12 株式会社デンソーウェーブ Scanning type laser radar system

Similar Documents

Publication Publication Date Title
ES2396577T3 (en) Dual technology sensor device with range regulated sensitivity
CN111839360B (en) Data processing method, device and equipment of sweeper and computer readable medium
CN111201448B (en) Method and device for generating an inverted sensor model and method for identifying obstacles
KR101754407B1 (en) Car parking incoming and outgoing control system
JP2009110124A (en) Target detecting device, target detecting method, and target detecting program
JP2017146157A (en) Range finder for bathroom and range method for bathroom
JP2007071605A (en) Crime prevention sensor
JP6737751B2 (en) Flight device, management device, flight management method and program
CN113524265A (en) Robot anti-falling method, robot and readable storage medium
JP2017090382A (en) Method, device, and program for detecting snow accretion on laser radar device
JP4880925B2 (en) Setting device
JP2017146714A (en) Bathroom monitoring device and bathroom monitoring method
JP6070306B2 (en) Image processing apparatus, object detection method, and object detection program
KR101876797B1 (en) Method And Apparatus for Detecting Target in Radar for Border Fences
WO2022179207A1 (en) Window occlusion detection method and apparatus
JP2011093514A (en) Safety device for platform door
JP7128577B2 (en) monitoring device
CN102401901B (en) Distance measurement system and distance measurement method
JP7176868B2 (en) monitoring device
JP2006521557A (en) Detection system, method for detecting an object, and computer program therefor
KR102372669B1 (en) Electronic device, external server and controlling method thereof
JP2010190793A (en) Apparatus and method for measuring distance
JPWO2018168552A1 (en) Object detection system
JP7204356B2 (en) monitoring device
JP2021021639A (en) Information processing apparatus, information processing method, program, recording medium, and detection system