JP2019200091A - Positioning system, air conditioning system, terminal device, location estimation device, location estimation method, sound wave output method and program - Google Patents

Positioning system, air conditioning system, terminal device, location estimation device, location estimation method, sound wave output method and program Download PDF

Info

Publication number
JP2019200091A
JP2019200091A JP2018093918A JP2018093918A JP2019200091A JP 2019200091 A JP2019200091 A JP 2019200091A JP 2018093918 A JP2018093918 A JP 2018093918A JP 2018093918 A JP2018093918 A JP 2018093918A JP 2019200091 A JP2019200091 A JP 2019200091A
Authority
JP
Japan
Prior art keywords
sound
sound wave
frequency
time
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018093918A
Other languages
Japanese (ja)
Other versions
JP7001539B2 (en
Inventor
尚夫 水野
Hisao Mizuno
尚夫 水野
成治 近藤
Seiji Kondo
成治 近藤
尚希 西川
Naoki Nishikawa
尚希 西川
真範 丸山
Masanori Maruyama
真範 丸山
貴夫 桜井
Takao Sakurai
貴夫 桜井
清水 健志
Kenji Shimizu
健志 清水
久雄 岩田
Hisao Iwata
久雄 岩田
英 小野川
Hide Onogawa
英 小野川
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.)
Mitsubishi Heavy Industries Thermal Systems Ltd
Original Assignee
Mitsubishi Heavy Industries Thermal Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Thermal Systems Ltd filed Critical Mitsubishi Heavy Industries Thermal Systems Ltd
Priority to JP2018093918A priority Critical patent/JP7001539B2/en
Priority to PCT/JP2019/010930 priority patent/WO2019220760A1/en
Publication of JP2019200091A publication Critical patent/JP2019200091A/en
Application granted granted Critical
Publication of JP7001539B2 publication Critical patent/JP7001539B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
    • G01S5/22Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

To provide a positioning system that estimates a location of a sound source in a space.SOLUTION: A positioning system comprises: a terminal device that outputs a sound wave of a different frequency for each of a plurality of continuous time sections; a plurality of microphones; and a location estimation device. The location estimation device is configured to detect an arrival time of the sound wave of a prescribed frequency set for the second and subsequent time sections out of the plurality of time sections, and estimate an output location of the sound wave on the basis of a time difference between the arrival times of the sound waves detected by each of the plurality of microphones.SELECTED DRAWING: Figure 1

Description

本発明は、測位システム、空調システム、端末装置、位置推定装置、位置推定方法、音波出力方法、プログラムに関する。   The present invention relates to a positioning system, an air conditioning system, a terminal device, a position estimation device, a position estimation method, a sound wave output method, and a program.

オフィス等の空間を空調する場合、その空間の室温等が均一になるように制御することが多い。これに対し、例えば、ユーザが存在するエリアを対象として室温等の空調制御を行う方法が提供されている。このような制御を行う場合、空調システムは、ユーザが存在する位置を正確に推定する必要がある。例えば、天井の4か所に音を検出するマイクを取り付け、ユーザが所持するスマートフォン等から音を出力し、その音の到達時間差に基づいて、TDOA(Time Difference of Arrival)などの方法を用いてユーザが存在する位置を推定する方法が考えられる。   When air-conditioning a space such as an office, the room temperature is often controlled to be uniform. In contrast, for example, a method of performing air conditioning control such as room temperature for an area where a user exists is provided. When performing such control, the air conditioning system needs to accurately estimate the position where the user exists. For example, microphones that detect sound are attached to four places on the ceiling, the sound is output from a smartphone or the like that the user possesses, and a method such as TDOA (Time Difference of Arrival) is used based on the difference in arrival time of the sound. A method of estimating the position where the user exists can be considered.

なお、特許文献1には、複数の利用者が存在する空間において、利用者が保持する環境設定端末の電波強度やTDOA測定に基づいて各個人の位置を特定し、各々の空調要求を可能な限り満たすような制御を行う空調制御装置が開示されている。   In Patent Document 1, in the space where there are a plurality of users, the position of each individual can be specified based on the radio field intensity of the environment setting terminal held by the users or the TDOA measurement, and each air conditioning request can be made. An air-conditioning control apparatus that performs control that satisfies as much as possible is disclosed.

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

しかし、ユーザがスマートフォン等を利用して発する音の波形は、その振幅が徐々に大きくなる性質を有する。その為、センサ側では、振幅がどの大きさになると音を検出したと判定するかによって音の到着時刻に差が出る。TDOA等の方法では、複数の位置における音の到達時間差に基づいて位置推定を行うが、音の到着時刻を正確に検出できないと、位置推定の精度が低下する可能性がある。   However, the waveform of the sound emitted by the user using a smartphone or the like has a property that the amplitude gradually increases. Therefore, on the sensor side, there is a difference in the arrival time of the sound depending on which magnitude the amplitude is determined to have detected the sound. In a method such as TDOA, position estimation is performed based on differences in arrival times of sounds at a plurality of positions. However, if the arrival times of sounds cannot be accurately detected, the accuracy of position estimation may be reduced.

そこでこの発明は、上述の課題を解決することのできる測位システム、空調システム、端末装置、位置推定装置、位置推定方法、音波出力方法、プログラムを提供することを目的としている。   Therefore, an object of the present invention is to provide a positioning system, an air conditioning system, a terminal device, a position estimation device, a position estimation method, a sound wave output method, and a program that can solve the above-described problems.

本発明の一態様によれば、測位システムは、連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力する音波出力部、を備える端末装置と、前記音波を収音する複数のセンサと、位置推定装置と、を備え、前記音波出力部は、第1の前記時間区間に所定の第1周波数の音波を出力し、第1の前記時間区間の一つ前の前記時間区間に所定の第2周波数の音波を出力し、前記位置推定装置は、前記第1周波数の前記音波の到達時刻を検出する到達時刻検出部と、複数の前記センサのそれぞれが収音した音波について、前記到達時刻検出部が検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定する位置推定部と、を備える。   According to one aspect of the present invention, a positioning system includes a terminal device including a sound wave output unit that outputs a continuous sound wave by changing the frequency to a different frequency for each of a plurality of time intervals, and a plurality of sound waves that are collected. A sensor and a position estimation device, wherein the sound wave output unit outputs a sound wave having a predetermined first frequency in the first time interval, and outputs the sound wave in the time interval immediately before the first time interval. A sound wave having a predetermined second frequency is output, and the position estimating device detects an arrival time detecting unit that detects an arrival time of the sound wave having the first frequency, and a sound wave collected by each of the plurality of sensors. A position estimation unit that estimates an output position of the sound wave based on a time difference between the arrival times detected by the arrival time detection unit.

本発明の一態様によれば、前記音波出力部は、前記音波の出力の開始から前記音波の音圧の振幅が所定の範囲内に整定するまでの時間を経過した後に、前記第1周波数の前記音波を出力する。   According to an aspect of the present invention, the sound wave output unit has the first frequency after the elapse of time from the start of the sound wave output until the amplitude of the sound pressure of the sound wave settles within a predetermined range. The sound wave is output.

本発明の一態様によれば、前記振幅の変化が所定の範囲内となる時間は、50msec以上、200msec以下である。   According to one aspect of the present invention, the time during which the amplitude change is within a predetermined range is 50 msec or more and 200 msec or less.

本発明の一態様によれば、前記第1周波数と前記第2周波数との差が1KHz以上である。   According to one aspect of the present invention, the difference between the first frequency and the second frequency is 1 KHz or more.

本発明の一態様によれば、前記位置推定装置が、前記第1周波数と前記第2周波数と、を通過帯域に含むフィルタ、をさらに備え、前記到達時刻検出部は、前記第1周波数と、前記第2周波数との差に基づいて、前記到達時刻を検出する。   According to an aspect of the present invention, the position estimation device further includes a filter that includes the first frequency and the second frequency in a pass band, and the arrival time detection unit includes the first frequency, The arrival time is detected based on a difference from the second frequency.

本発明の一態様によれば、前記位置推定装置が、前記第1周波数を通過帯域に含み、前記第2周波数を通過帯域に含まないフィルタ、をさらに備え、前記到達時刻検出部は、前記第1周波数の前記音波を検出した時刻を、前記到達時刻とする。   According to an aspect of the present invention, the position estimation device further includes a filter that includes the first frequency in a passband and does not include the second frequency in a passband, and the arrival time detection unit includes the first frequency The time when the sound wave of one frequency is detected is defined as the arrival time.

本発明の一態様によれば、前記音波出力部が、10kHzから20kHzまでの間の所定の周波数帯の音波を出力する。   According to an aspect of the present invention, the sound wave output unit outputs sound waves in a predetermined frequency band between 10 kHz and 20 kHz.

本発明の一態様によれば、前記測位システムにおいて、前記位置推定装置が、前記音波の到達時刻の推定、または、前記音波の出力位置の推定に失敗すると、エラー信号を出力する通信部、をさらに備える。   According to an aspect of the present invention, in the positioning system, when the position estimation device fails to estimate the arrival time of the sound wave or to estimate the output position of the sound wave, a communication unit that outputs an error signal; Further prepare.

本発明の一態様によれば、空調システムは、上記の何れかに記載の測位システムを備え、前記位置推定装置が推定した前記音波の出力位置を対象として空調を行う。   According to one aspect of the present invention, an air conditioning system includes any one of the positioning systems described above, and performs air conditioning on the output position of the sound wave estimated by the position estimation device.

本発明の一態様によれば、端末装置は、自装置の位置を通知するために音波を出力する端末装置であって、連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力する音波出力部、を備える。   According to an aspect of the present invention, a terminal device is a terminal device that outputs sound waves to notify the position of the device itself, and outputs continuous sound waves that are changed to different frequencies for each of a plurality of time intervals. A sound wave output unit.

本発明の一態様によれば、位置推定装置は、複数の時間区間ごとに異なる周波数で出力された連続する音波について、複数の前記時間区間のうち2つ目以降の前記時間区間に出力された所定の第1周波数の前記音波の到達時刻を検出する到達時刻検出部と、複数のセンサのそれぞれが収音した前記音波について、前記到達時刻検出部が検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定する位置推定部と、を備える。   According to the aspect of the present invention, the position estimation device outputs a continuous sound wave output at a different frequency for each of a plurality of time sections to the second and subsequent time sections among the plurality of time sections. An arrival time detection unit that detects the arrival time of the sound wave of a predetermined first frequency, and the sound wave that each of a plurality of sensors collects, based on the time difference of the arrival time detected by the arrival time detection unit A position estimation unit that estimates an output position of the sound wave.

本発明の一態様によれば、位置推定方法は、複数のセンサが、連続する複数の時間区間ごとに異なる周波数で出力された連続する音波を収音するステップと、複数の前記時間区間のうち2つ目以降の前記時間区間について設定された所定の第1周波数の前記音波の到達時刻を検出するステップと、複数の前記センサのそれぞれが検出した前記音波について、前記到達時刻を検出するステップで検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定するステップと、を有する。   According to an aspect of the present invention, the position estimation method includes: a step in which a plurality of sensors collect continuous sound waves output at different frequencies for each of a plurality of continuous time intervals; A step of detecting an arrival time of the sound wave having a predetermined first frequency set for the second and subsequent time intervals, and a step of detecting the arrival time of the sound wave detected by each of the plurality of sensors. Estimating the output position of the sound wave based on the detected time difference of the arrival times.

本発明の一態様によれば、音波出力方法は、音波の出力位置を通知するための音波出力方法であって、連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力し、前記音波の出力の開始から前記音波の音圧の振幅が所定の範囲内に整定するまでの時間を経過した後に所定の周波数の前記音波を出力する。   According to one aspect of the present invention, the sound wave output method is a sound wave output method for notifying the output position of a sound wave, and outputs a continuous sound wave by changing it to a different frequency for each of a plurality of time intervals. The sound wave having a predetermined frequency is output after a lapse of time from the start of the sound wave output until the amplitude of the sound pressure of the sound wave is set within a predetermined range.

本発明の一態様によれば、プログラムは、コンピュータを、連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力し、前記音波の出力の開始から前記音波の音圧の振幅が所定の範囲内に整定するまでの時間を経過した後に所定の周波数の前記音波を出力する手段、として機能させる。   According to one aspect of the present invention, the program outputs a continuous sound wave by changing the frequency to a different frequency for each of a plurality of time intervals, and the amplitude of the sound pressure of the sound wave from the start of the sound wave output. It is made to function as a means for outputting the sound wave having a predetermined frequency after elapse of time until settling within a predetermined range.

本発明の一態様によれば、プログラムは、コンピュータを、複数の時間区間ごとに異なる周波数で出力された連続する音波について、複数の前記時間区間のうち2つ目以降の前記時間区間について設定された所定の第1周波数の前記音波の到達時刻を検出する手段、複数のセンサのそれぞれが検出した前記音波について、前記到達時刻を検出する手段が検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定する手段、として機能させる。   According to one aspect of the present invention, a program is set for a second and subsequent time intervals of a plurality of time intervals for a continuous sound wave output at a different frequency for each of a plurality of time intervals. The means for detecting the arrival time of the sound wave having a predetermined first frequency, and the sound wave detected by each of a plurality of sensors, based on the time difference of the arrival time detected by the means for detecting the arrival time. It functions as a means for estimating the output position.

本発明によれば、正確に音源の位置を推定することができる。   According to the present invention, it is possible to accurately estimate the position of a sound source.

本発明の第一実施形態における空調システムの一例を示す図である。It is a figure showing an example of an air-conditioning system in a first embodiment of the present invention. 本発明の第一実施形態におけるマイクの配置例を示す図である。It is a figure which shows the example of arrangement | positioning of the microphone in 1st embodiment of this invention. 本発明の第一実施形態における音信号を説明する図である。It is a figure explaining the sound signal in 1st embodiment of this invention. 本発明の第一実施形態における音の到達時刻の検出方法を説明する図である。It is a figure explaining the detection method of the arrival time of the sound in 1st embodiment of this invention. 本発明の第一実施形態における音源の位置推定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the position estimation process of the sound source in 1st embodiment of this invention. 本発明の第一実施形態における空調制御の一例を示すフローチャートである。It is a flowchart which shows an example of the air-conditioning control in 1st embodiment of this invention. 本発明の第二実施形態における空調システムの一例を示す図である。It is a figure which shows an example of the air conditioning system in 2nd embodiment of this invention. 本発明の第二実施形態における音の周波数とフィルタの通過帯域の関係の一例を示す図である。It is a figure which shows an example of the relationship between the frequency of the sound and the pass band of a filter in 2nd embodiment of this invention. 本発明の第二実施形態における音の到達時刻の検出方法を説明する図である。It is a figure explaining the detection method of the arrival time of the sound in 2nd embodiment of this invention. 本発明の第二実施形態における音源の位置推定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the position estimation process of the sound source in 2nd embodiment of this invention. 本発明の各実施形態における位置推定装置、端末装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the position estimation apparatus in each embodiment of this invention, and a terminal device.

<第一実施形態>
以下、本発明の第一実施形態による空調システムを図1〜図6を参照して説明する。
図1は、本発明の第一実施形態における空調システムの一例を示す図である。
図示するように空調システムは、空調機10と、端末装置40と、マイクM1〜M4とを含む。空調機10は、制御装置20を備える。制御装置20は、空調機10の運転を制御する。制御装置20は、空間wの一部のエリアを対象として、空調を行うよう空調機10を制御する機能を有している。制御装置20は、位置推定装置30を備える。位置推定装置30は、端末装置40が発した音sに基づいて、音sが発された位置を推定する。制御装置20は、例えば、位置推定装置30が推定した位置を対象として空調制御を行う。
<First embodiment>
Hereinafter, the air-conditioning system by 1st embodiment of this invention is demonstrated with reference to FIGS.
Drawing 1 is a figure showing an example of an air-conditioning system in a first embodiment of the present invention.
As illustrated, the air conditioning system includes an air conditioner 10, a terminal device 40, and microphones M1 to M4. The air conditioner 10 includes a control device 20. The control device 20 controls the operation of the air conditioner 10. The control device 20 has a function of controlling the air conditioner 10 to perform air conditioning for a part of the space w. The control device 20 includes a position estimation device 30. The position estimation device 30 estimates the position where the sound s is emitted based on the sound s emitted by the terminal device 40. For example, the control device 20 performs air conditioning control on the position estimated by the position estimation device 30.

端末装置40は、音波出力部41を備える。音波出力部41は、端末装置40を操作するユーザの位置を空調機10へ知らせる目的で、連続する複数の時間区間ごとに異なる周波数の音波sを連続的に出力する。端末装置40は、例えば、スマートフォン等の情報処理装置である。音波出力部41が出力する音sの周波数には、もともと存在する様々な騒音と混在しないように、騒音レベルが低い周波数が選択される。例えば、10kHz以下の音は、可聴音やエアコン動作に伴う風切り音などで用いられる。また、一般的なスマートフォンが出力できる周波数の上限は20kHz程度である。従って、音sの周波数は、10〜20kHzの範囲から選択することが望ましい。さらに、音sの周波数は、空調機10が備えるインバータのスイッチングの周波数(例えば17kHz付近)を避けて設定されることが好ましい。また、可聴域は人が不快に感じる可能性があるため、音sの周波数は、可聴域(10〜20kHzの範囲であれば、周波数が低い程、聞こえやすい)を避けて設定してもよい。また、上限にあたる20kHz付近の出力には限界があり、高周波になるほど振幅が減衰しやすくなるため、例えば、20kHz付近は避けて設定することが好ましい。これらの諸条件を考慮して、音sの周波数は、例えば、15kHz付近に設定される。また、後述するように、音波出力部41が出力する音は、音の出力開始から、波形の振幅が所定の範囲内に整定するまでの間、振幅が徐々に大きくなる性質を有する。音波出力部41は、振幅が大きくなるまでの時間区間T1と、それ以降の時間区間T2とで周波数を変更した一連の音sを出力する。時間区間T1における音sの周波数をα1、時間区間T2における音sの周波数をα2とする。   The terminal device 40 includes a sound wave output unit 41. The sound wave output unit 41 continuously outputs sound waves s having different frequencies for each of a plurality of continuous time intervals in order to notify the air conditioner 10 of the position of the user who operates the terminal device 40. The terminal device 40 is an information processing device such as a smartphone, for example. As the frequency of the sound s output by the sound wave output unit 41, a frequency having a low noise level is selected so as not to be mixed with various existing noises. For example, a sound of 10 kHz or less is used as an audible sound or a wind noise accompanying an air conditioner operation. Moreover, the upper limit of the frequency which a general smart phone can output is about 20 kHz. Therefore, it is desirable to select the frequency of the sound s from the range of 10 to 20 kHz. Furthermore, the frequency of the sound s is preferably set to avoid the switching frequency of the inverter provided in the air conditioner 10 (for example, around 17 kHz). Also, since the audible range may be uncomfortable for humans, the frequency of the sound s may be set avoiding the audible range (if the frequency is in the range of 10 to 20 kHz, the lower the frequency, the easier to hear). . In addition, there is a limit to the output near 20 kHz that is the upper limit, and the amplitude tends to attenuate as the frequency becomes higher. For example, it is preferable to avoid the vicinity of 20 kHz. Taking these various conditions into consideration, the frequency of the sound s is set in the vicinity of 15 kHz, for example. As will be described later, the sound output from the sound wave output unit 41 has a property that the amplitude gradually increases from the start of sound output until the amplitude of the waveform settles within a predetermined range. The sound wave output unit 41 outputs a series of sounds s whose frequencies are changed in the time interval T1 until the amplitude increases and the subsequent time interval T2. The frequency of the sound s in the time interval T1 is α1, and the frequency of the sound s in the time interval T2 is α2.

端末装置40と位置推定装置30とは、無線LAN、Bluetooth(登録商標)、超音波通信などの通信手段によって通信可能に構成されている。
マイクM1〜M4は、端末装置40が出力した音sを収音するセンサである。
The terminal device 40 and the position estimation device 30 are configured to be able to communicate with each other by communication means such as a wireless LAN, Bluetooth (registered trademark), and ultrasonic communication.
The microphones M <b> 1 to M <b> 4 are sensors that collect the sound s output from the terminal device 40.

位置推定装置30は、端末装置40が出力した音sがマイクM1〜M4の各々に到達する時刻の差に基づいて、その音源(端末装置40)の位置を推定する。制御装置20は、位置推定装置30が推定した位置を対象として空調制御を行う。   The position estimation device 30 estimates the position of the sound source (terminal device 40) based on the difference in time at which the sound s output from the terminal device 40 reaches each of the microphones M1 to M4. The control device 20 performs air conditioning control on the position estimated by the position estimation device 30.

次に位置推定装置30の機能について説明する。位置推定装置30は、アンプ31と、フィルタ32と、コンパレータ33と、マイコン34と、を備える。
アンプ31は、マイクM1〜M4が音sを収音して電気信号に変換したアナログの音信号をマイクM1〜M4別に取得し、それぞれの振幅を増幅する。アンプ31は、増幅後のアナログ音信号(マイクM1〜M4ごとのアナログ音信号)をフィルタ32へ出力する。
フィルタ32は、アンプ31から取得したアナログ音信号の不要な高周波成分及び低周波成分を減衰させて、予め定められた周波数帯のアナログ音信号をコンパレータ33へ出力する。フィルタ32は、端末装置40が出力する音sの周波数α1、α2を通すように構成されている。
コンパレータ33は、フィルタ32が出力した音sのアナログ音信号の振幅と、所定の閾値とを比較してアナログ音信号の振幅が閾値を上回れば「1」を出力し、アナログ音信号の振幅が閾値以下であれば「0」を出力する。ここで閾値とは、端末装置40から出力された音sが到達したか否かを判定するための値である。コンパレータ33は、「0」または「1」のパルス信号をマイコン34へ出力する。
Next, the function of the position estimation device 30 will be described. The position estimation device 30 includes an amplifier 31, a filter 32, a comparator 33, and a microcomputer 34.
The amplifier 31 acquires analog sound signals obtained by the microphones M1 to M4 collecting the sound s and converting them into electric signals for each of the microphones M1 to M4, and amplifies the respective amplitudes. The amplifier 31 outputs the amplified analog sound signal (analog sound signal for each of the microphones M1 to M4) to the filter 32.
The filter 32 attenuates unnecessary high frequency components and low frequency components of the analog sound signal acquired from the amplifier 31 and outputs an analog sound signal in a predetermined frequency band to the comparator 33. The filter 32 is configured to pass the frequencies α1 and α2 of the sound s output from the terminal device 40.
The comparator 33 compares the amplitude of the analog sound signal of the sound s output from the filter 32 with a predetermined threshold, and outputs “1” if the amplitude of the analog sound signal exceeds the threshold. The amplitude of the analog sound signal is If it is below the threshold, “0” is output. Here, the threshold value is a value for determining whether or not the sound s output from the terminal device 40 has arrived. The comparator 33 outputs a pulse signal “0” or “1” to the microcomputer 34.

マイコン34は、CPU(central processing unit)を備えたコンピュータである。マイコン34は、到達時刻検出部35と、位置推定部36と、通信部37とを備えている。
到達時刻検出部35は、マイクM1〜M4のそれぞれに音sが到達した時刻(到達時刻)を検出する。具体的には、到達時刻検出部35は、周波数α2の音sを検出した時刻を、音sの到達時刻とする。
The microcomputer 34 is a computer provided with a CPU (central processing unit). The microcomputer 34 includes an arrival time detection unit 35, a position estimation unit 36, and a communication unit 37.
The arrival time detection unit 35 detects the time (arrival time) when the sound s reaches each of the microphones M1 to M4. Specifically, the arrival time detection unit 35 sets the time when the sound s having the frequency α2 is detected as the arrival time of the sound s.

位置推定部36は、マイクM1〜M4のうちの1つのマイク(例えばマイクM1)を基準として、基準となるマイクM1が音sを検出した時刻と、他の3つのマイクM2〜M4が音sを検出した時刻との差、つまり、音sがマイクM1に到達する時刻と、マイクM2〜M4に到達する時刻との時間差(到達時間差)を算出する。位置推定部36は、算出した到達時間差に基づいて、音sが出力された位置(ユーザが存在する位置)を推定する。
通信部37は、端末装置40と通信を行い、到達時刻推定処理や位置推定処理の成功または失敗の結果を送信する。
The position estimation unit 36 uses a microphone (for example, the microphone M1) of the microphones M1 to M4 as a reference, the time when the reference microphone M1 detects the sound s, and the other three microphones M2 to M4 generate the sound s. That is, the time difference (arrival time difference) between the time when the sound s reaches the microphone M1 and the time when the sound s reaches the microphones M2 to M4 is calculated. The position estimation unit 36 estimates the position where the sound s is output (position where the user exists) based on the calculated arrival time difference.
The communication unit 37 communicates with the terminal device 40 and transmits the result of success or failure of the arrival time estimation process and the position estimation process.

次に図2を用いて本実施形態における位置推定方法の一例について説明する。
図2は、本発明の第一実施形態におけるマイクの配置例を示す図である。
図2にマイクM1〜M4の配置例を示す。マイクM1〜M4は、空間wの天井に、例えばマイクM1〜Mの各々が、空調機10の吹き出し口の中心を重心とする正方形の頂点をなすように配置される。
位置推定部36は、マイクM1〜M4が音sを検出した時刻の差(到達時間差)に基づいて端末装置40の位置を推定する。位置の推定には、TDOA(Time Difference Of Arrival)等の公知の手法を用いることができる。例えば、マイクM1〜M4の座標をそれぞれ(A1、B1、C1)、(A2、B2、C2)、(A3、B3、C3)、(A4、B4、C4)とし、端末装置40の位置の座標を(x、y、z)とし、マイクM1への音sの到達時刻とマイクM1〜M4への音sの到達時刻の差をそれぞれt1、t2、t3.t4とし、端末装置40とマイクM1の距離をd、音速をcとすると、以下の連立方程式が得られる。
(x−A1)+(y−B1)+(z−C1)−(d+c・t1)=0
(x−A2)+(y−B2)+(z−C2)−(d+c・t2)=0
(x−A3)+(y−B3)+(z−C3)−(d+c・t3)=0
(x−A4)+(y−B4)+(z−C4)−(d+c・t4)=0
TDOAによれば、端末装置40の位置は、ニュートン−ラプソン法等の近似計算を用いて、上記の方程式を解くことにより算出することができる。このように、音源位置を推定するためには、各マイク間の到達時間差を正確に算出しなければならない。その為には、マイクM1〜M4への正確な到達時刻が検出できなければならない。次にスマートフォン等の端末装置40(音波出力部41)が出力する音sの性質について説明する。
Next, an example of the position estimation method in this embodiment will be described with reference to FIG.
FIG. 2 is a diagram illustrating an arrangement example of microphones in the first embodiment of the present invention.
FIG. 2 shows an arrangement example of the microphones M1 to M4. The microphones M <b> 1 to M <b> 4 are arranged on the ceiling of the space w so that, for example, each of the microphones M <b> 1 to M <b> M has a square apex centered on the center of the air outlet of the air conditioner 10.
The position estimation unit 36 estimates the position of the terminal device 40 based on the difference in time (arrival time difference) when the microphones M1 to M4 detect the sound s. For estimating the position, a known method such as TDOA (Time Difference Of Arrival) can be used. For example, the coordinates of the microphones M1 to M4 are (A1, B1, C1), (A2, B2, C2), (A3, B3, C3), (A4, B4, C4), respectively, and the coordinates of the position of the terminal device 40 (X, y, z), and the difference between the arrival time of the sound s to the microphone M1 and the arrival time of the sound s to the microphones M1 to M4 is t1, t2, t3. Assuming t4, where d is the distance between the terminal device 40 and the microphone M1, and c is the speed of sound, the following simultaneous equations are obtained.
(X−A1) 2 + (y−B1) 2 + (z−C1) 2 − (d + c · t1) 2 = 0
(X−A2) 2 + (y−B2) 2 + (z−C2) 2 − (d + c · t2) 2 = 0
(X−A3) 2 + (y−B3) 2 + (z−C3) 2 − (d + c · t3) 2 = 0
(X−A4) 2 + (y−B4) 2 + (z−C4) 2 − (d + c · t4) 2 = 0
According to TDOA, the position of the terminal device 40 can be calculated by solving the above equation using approximate calculation such as Newton-Raphson method. Thus, in order to estimate the sound source position, the arrival time difference between the microphones must be accurately calculated. For this purpose, it is necessary to be able to detect accurate arrival times at the microphones M1 to M4. Next, the property of the sound s output by the terminal device 40 (sound wave output unit 41) such as a smartphone will be described.

図3は、本発明の第一実施形態における音信号を説明する図である。
図3(a)に、端末装置40が発するアナログ音信号の一例を示す。スマートフォン等が出力するアナログ音信号の音圧の振幅(振幅が所定の範囲内となった場合)は、図3(a)に示すようにばらつきがある。従って、音sの到達を検出するためには、音圧に閾値を設け、この閾値を所定の回数上回ると、その時刻を音sの到達時刻と決定する方法が考えられる。
図3(b)は、マイクM1等で検出する音sの音圧の振幅の経時的変化を示している。図3(b)は、スマートフォン等が出力する音sは、出力開始から音圧の振幅が徐々に増大し、その波形の形状がラッパ状となることを示している。波形がこのように変化する場合、音sの到達を判定するための音圧の閾値をどのように設けるかによって到達時刻が変化することになり、音sの検出の判定が不明瞭になる。また、スマートフォンの機種や音sの周波数などによって音圧の立ち上がり方(傾き)や音圧のピーク(振幅のピーク)が異なるため、一つの閾値によって音sの到達判定を行うことができなくなる。そこで、本実施形態では、音sの波形の立ち上がりまでに一定の時間が掛かることを利用して、音sの到達時刻を推定する。次に図4を用いて、本実施形態の到達時刻の推定方法を説明する。
FIG. 3 is a diagram for explaining a sound signal in the first embodiment of the present invention.
FIG. 3A shows an example of an analog sound signal emitted from the terminal device 40. The amplitude of the sound pressure of an analog sound signal output from a smartphone or the like (when the amplitude falls within a predetermined range) varies as shown in FIG. Therefore, in order to detect the arrival of the sound s, a method may be considered in which a threshold is set for the sound pressure, and when this threshold is exceeded a predetermined number of times, that time is determined as the arrival time of the sound s.
FIG. 3B shows a change over time in the amplitude of the sound pressure of the sound s detected by the microphone M1 or the like. FIG. 3B shows that the sound s output from the smartphone or the like gradually increases in amplitude of the sound pressure from the start of output, and the waveform has a trumpet shape. When the waveform changes in this way, the arrival time changes depending on how the sound pressure threshold for determining the arrival of the sound s is provided, and the determination of the detection of the sound s becomes unclear. Further, since the way in which the sound pressure rises (inclination) and the sound pressure peak (amplitude peak) differ depending on the model of the smartphone and the frequency of the sound s, the arrival determination of the sound s cannot be performed with one threshold value. Therefore, in the present embodiment, the arrival time of the sound s is estimated using the fact that it takes a certain time until the waveform of the sound s rises. Next, the arrival time estimation method of this embodiment will be described with reference to FIG.

図4は、本発明の第一実施形態における音の到達時刻の検出方法を説明する図である。
まず、端末装置40が出力する音波sについて説明する。図4の上図は、音sの音圧の波形を示している。
端末装置40の音波出力部41は、音sの出力開始から時間区間T1の間は、周波数α1の音波を出力する。ここで、時間区間T1の長さは、例えば、100msec程度である。時間区間T1の長さは、音sの振幅が徐々に大きくなり、所定の範囲内に整定するまでの時間に相当する長さとして設定される。時間区間T1の長さは、端末装置40の種類や周波数αなどに依存するため、音sの振幅が静定するまでの長さに応じて、50msec〜200msecの間で適切に設定される。また、時間区間T1の長さは、音sの振幅が増幅し整定するまでに要する時間より少し余裕をもった長さとして設定されてもよい。また、周波数α1は、例えば、16KHz程度である。
FIG. 4 is a diagram illustrating a method for detecting the arrival time of sound in the first embodiment of the present invention.
First, the sound wave s output from the terminal device 40 will be described. The upper diagram of FIG. 4 shows the sound pressure waveform of the sound s.
The sound wave output unit 41 of the terminal device 40 outputs sound waves having the frequency α1 during the time interval T1 from the start of output of the sound s. Here, the length of the time section T1 is, for example, about 100 msec. The length of the time interval T1 is set as a length corresponding to the time until the amplitude of the sound s gradually increases and settles within a predetermined range. Since the length of the time section T1 depends on the type of terminal device 40, the frequency α, and the like, it is appropriately set between 50 msec and 200 msec depending on the length until the amplitude of the sound s is settled. Further, the length of the time interval T1 may be set as a length having a little margin than the time required for the amplitude of the sound s to be amplified and settled. The frequency α1 is, for example, about 16 KHz.

音sの出力から時間区間T1を経て時間区間T2を迎えると、音波出力部41は、音sを出力したまま周波数をα1からα2へと変更する。周波数α2は、例えば、15KHz程度である。周波数α1の音波と周波数α2の音波を識別するために、周波数α1と周波数α2の間は、1KHz以上離れていることが好ましい。音波出力部41は、例えば、時間区間T1の長さと同程度の長さに設定された時間区間T2の間、周波数α2で音sを出力する。   When the time interval T2 passes through the time interval T1 from the output of the sound s, the sound wave output unit 41 changes the frequency from α1 to α2 while outputting the sound s. The frequency α2 is about 15 KHz, for example. In order to discriminate between the sound wave having the frequency α1 and the sound wave having the frequency α2, it is preferable that the frequency α1 is separated from the frequency α2 by 1 KHz or more. For example, the sound wave output unit 41 outputs the sound s at the frequency α2 during the time interval T2 set to a length approximately equal to the length of the time interval T1.

次に到達時刻検出部35による音sの検出処理について説明する。
図4の上図のPthは、コンパレータ33がパルス信号を生成する際の閾値である。コンパレータ33は、音sの振幅が閾値Pthを上回っていれば「1」を出力し、閾値Pth以下であれば「0」を出力する。図4の下図に、図4上図の音sに対してコンパレータ33が出力したパルス信号のグラフを示す。時間区間T0の間は、実際には音sが到達しているにもかかわらず、音sの振幅が小さいためにコンパレータ33は「0」をマイコン34に出力する。その後、音sの振幅の最大値が閾値Pthを超えるようになると、振幅の大きさが閾値Pthを上下する周期に応じて、コンパレータ33は、「0」と「1」と交互に出力する。
Next, the detection process of the sound s by the arrival time detection unit 35 will be described.
Pth in the upper diagram of FIG. 4 is a threshold when the comparator 33 generates a pulse signal. The comparator 33 outputs “1” if the amplitude of the sound s exceeds the threshold Pth, and outputs “0” if it is equal to or less than the threshold Pth. The lower diagram of FIG. 4 shows a graph of the pulse signal output by the comparator 33 for the sound s in the upper diagram of FIG. During the time interval T0, although the sound s has actually reached, the amplitude of the sound s is small, so the comparator 33 outputs “0” to the microcomputer 34. Thereafter, when the maximum value of the amplitude of the sound s exceeds the threshold value Pth, the comparator 33 alternately outputs “0” and “1” in accordance with the period in which the amplitude level increases or decreases the threshold value Pth.

マイコン34では、到達時刻検出部35が、パルス信号を取得すると、「0」と「1」が変化する周期に基づいて、音sの到着を検出する。図示するようにコンパレータ33が出力するパルス信号の周期(又はパルス幅)は、音sの周波数に応じて時間区間T1と時間区間T2とで変化する。到達時刻検出部35は、パルス信号の周期が変わる時刻t3を音sの到着時刻として検出する。例えば、到達時刻検出部35は、パルス信号の「0」続く状態から、一定の周期で「0」、「1」が変化する信号を取得するようになると、その周期を算出し記憶する。到達時刻検出部35は、記憶した周期と、コンパレータ33から取得する「0」と「1」の変化する周期とを比較する。到達時刻検出部35は、取得した信号の周期が連続してX回(例えば3回)、記憶した周期(T1での周期)と異なる(周期の差が所定の閾値以上となる)と、音sが到達したと判定し、音sが到達したと判定した時刻t4から、所定の時間だけ遡った時刻t3を音sの到達時刻とする。所定の時間とは、図4の例では、変化後のパルス周期r0×(X−1)+パルス幅r1である。あるいは、到達時刻検出部35は、時間区間T1の音sの周波数α1と、時間区間T2の音sの周波数α2とに基づいて予め設定された時間区間T1と時間区間T2のパルス信号の周期と、コンパレータ33から取得するパルス信号の周期とを比較して、コンパレータ33から取得するパルス信号の周期が、時間区間T2のパルス信号の周期であるとみなせる範囲となると、音sが到達したと判定し、上記例と同様に、最初に時間区間T2のパルス信号を検出した時刻t3を算出して、時刻t3を音sの到達時刻としてもよい。または、到達時刻検出部35は、パルス信号の周期ではなく、パルス幅r1の変化を検出することによって、同様にして音sの到達時刻を推定してもよい。   In the microcomputer 34, when the arrival time detection unit 35 acquires the pulse signal, the arrival time detection unit 35 detects the arrival of the sound s based on a cycle in which “0” and “1” change. As shown in the figure, the period (or pulse width) of the pulse signal output from the comparator 33 varies between the time interval T1 and the time interval T2 according to the frequency of the sound s. The arrival time detector 35 detects the time t3 when the cycle of the pulse signal changes as the arrival time of the sound s. For example, when the arrival time detection unit 35 obtains a signal in which “0” and “1” change at a constant period from a state in which the pulse signal continues “0”, the period is calculated and stored. The arrival time detection unit 35 compares the stored cycle with the cycle in which “0” and “1” obtained from the comparator 33 change. The arrival time detection unit 35 generates a sound when the period of the acquired signal is X times (for example, three times) continuously and is different from the stored period (period at T1) (the difference in period is equal to or greater than a predetermined threshold). It is determined that s has arrived, and the time t3 that is a predetermined time later than the time t4 at which the sound s has been determined is defined as the arrival time of the sound s. In the example of FIG. 4, the predetermined time is a pulse period r0 × (X−1) + pulse width r1 after change. Alternatively, the arrival time detection unit 35 sets the period of the pulse signal of the time interval T1 and the time interval T2 set in advance based on the frequency α1 of the sound s in the time interval T1 and the frequency α2 of the sound s in the time interval T2. The period of the pulse signal acquired from the comparator 33 is compared, and if the period of the pulse signal acquired from the comparator 33 is within a range that can be regarded as the period of the pulse signal in the time interval T2, it is determined that the sound s has arrived. Then, similarly to the above example, the time t3 when the pulse signal in the time interval T2 is first detected may be calculated, and the time t3 may be set as the arrival time of the sound s. Alternatively, the arrival time detector 35 may similarly estimate the arrival time of the sound s by detecting a change in the pulse width r1 instead of the period of the pulse signal.

このように、本実施形態では、端末装置40が、音sの波形の立ち上がりに要する時間(例えば、100msec)に合わせて、波形の振幅が増大する時間区間T1と、振幅の変化が整定した後の時間区間T2とで、周波数の異なる音sを出力する。そして、位置推定装置30では、周波数の変化した時刻t3を推定し、推定した時刻を音sがマイクM1等への到達時刻とする。このように、波形の立ち上がり完了時刻を検出するという基準を設けることにより、出力の開始から振幅が徐々に変化し、振幅にばらつきがあるという音sの性質による、単純に振幅の大きさに対する閾値を設けて、その閾値を超える音信号を検出すると音sが到達したと判定する場合の判定の不確かさを解消することができる。   Thus, in this embodiment, after the terminal device 40 has settled the time interval T1 in which the amplitude of the waveform increases in accordance with the time required for the rising of the waveform of the sound s (for example, 100 msec), and the change in amplitude. The sound s having a different frequency is output in the time interval T2. Then, the position estimation device 30 estimates the time t3 at which the frequency changes, and uses the estimated time as the arrival time of the sound s to the microphone M1 or the like. Thus, by providing a reference for detecting the completion time of the rise of the waveform, the threshold value for the magnitude of the amplitude simply due to the property of the sound s that the amplitude gradually changes from the start of the output and the amplitude varies. When the sound signal exceeding the threshold is detected, the uncertainty of determination in the case where it is determined that the sound s has arrived can be eliminated.

図5は、本発明の第一実施形態における音源の位置推定処理の一例を示すフローチャートである。
図5を用いて、本実施形態の位置推定処理の流れについて説明する。前提として、位置推定部36は、マイクM1〜M4の位置情報を記憶しているとする。また、端末装置40は、音sの出力開始から時間区間T1の間は周波数α1を、時間区間T2の間は周波数α2を出力するプログラム、または、そのような音sを再生により出力することができる所定フォーマットの音声ファイル(wavファイル等)を記憶しており、音波出力部41が当該プログラムを実行したり、当該音声ファイルを再生したりすることにより、端末装置40のスピーカから音sが出力される。
FIG. 5 is a flowchart showing an example of a sound source position estimation process in the first embodiment of the present invention.
The flow of the position estimation process according to this embodiment will be described with reference to FIG. As a premise, it is assumed that the position estimation unit 36 stores position information of the microphones M1 to M4. In addition, the terminal device 40 may output a program that outputs the frequency α1 during the time interval T1 and the frequency α2 during the time interval T2 from the start of output of the sound s, or outputs such a sound s by reproduction. An audio file (wav file or the like) in a predetermined format is stored, and the sound wave output unit 41 outputs the sound s from the speaker of the terminal device 40 by executing the program or playing the audio file. Is done.

まず、ユーザが端末装置40を操作して、複数の時間区間ごとに異なる周波数で出力される音sの出力を開始する。マイクM1〜M4は、音sを収音する(ステップS11)。マイクM1〜M4は、音sを収音すると、音sを電気信号に変換して、音sのアナログ音信号を、アンプ31へ出力する。アンプ31は、マイクM1〜M4が出力した音sのアナログ音信号をそれぞれ増幅させ、フィルタ32へ出力する。フィルタ32は、増幅後の4つのアナログ音信号から、α1とα2が含まれる所定の通過帯域の周波数を抽出してコンパレータ33へ出力する。コンパレータ33は、フィルタ32が出力したマイクM1〜M4にて収音された音sについての4つのアナログ音信号の各々を、所定の閾値に基づいてパルス信号に変換して、パルス信号をマイコン34へ出力する。   First, the user operates the terminal device 40 to start outputting a sound s output at a different frequency for each of a plurality of time intervals. The microphones M1 to M4 collect the sound s (step S11). When the microphones M <b> 1 to M <b> 4 pick up the sound s, the microphones M <b> 1 to M <b> 4 convert the sound s into an electric signal and output an analog sound signal of the sound s to the amplifier 31. The amplifier 31 amplifies the analog sound signal of the sound s output from the microphones M <b> 1 to M <b> 4 and outputs the amplified signal to the filter 32. The filter 32 extracts a frequency in a predetermined pass band including α1 and α2 from the four analog sound signals after amplification, and outputs the extracted frequency to the comparator 33. The comparator 33 converts each of the four analog sound signals for the sound s collected by the microphones M1 to M4 output from the filter 32 into a pulse signal based on a predetermined threshold, and converts the pulse signal into the microcomputer 34. Output to.

マイコン34では、到達時刻検出部35が4つのパルス信号を取得し、音sの周波数の変化を検出する(ステップS12)。具体的には、到達時刻検出部35は、図4を用いて説明したように4つのパルス信号のそれぞれについて、音sの周波数のα1からα2への変化に対応するパルス信号の周期の変化(又はパルス幅の変化)を検出する。例えば、到達時刻検出部35は、パルス信号の周期が変化して、その周期が所定回数以上連続すると、パルス信号の周期が変化したと判定する。到達時刻検出部35は、パルス信号の周期が変化したと判定した時刻、パルス周期およびパルス幅などを検出し、記憶する。   In the microcomputer 34, the arrival time detection unit 35 acquires four pulse signals and detects a change in the frequency of the sound s (step S12). Specifically, as described with reference to FIG. 4, the arrival time detection unit 35 changes the cycle of the pulse signal corresponding to the change of the frequency of the sound s from α1 to α2 for each of the four pulse signals ( Or change in pulse width). For example, the arrival time detection unit 35 determines that the cycle of the pulse signal has changed when the cycle of the pulse signal changes and the cycle continues for a predetermined number of times or more. The arrival time detection unit 35 detects and stores the time, the pulse period, the pulse width, and the like when it is determined that the period of the pulse signal has changed.

次に到達時刻検出部35は、マイクM1〜M4それぞれへの音sの到達時刻を推定する(ステップS13)。例えば、到達時刻検出部35は、ステップS12で記憶したパルス信号の周期が変化したと判定した時刻、パルス周期、パルス幅などを用いて、パルス信号の周期が変化したと判定した時刻から、所定時間遡った時刻を算出し、算出した時刻を音sの到達時刻として推定する。到達時刻検出部35は、推定したマイクM1〜M4への音sの到達時刻(4つ)を位置推定部36へ出力する。
位置推定部36は、マイクM1〜M4への音sの到達時刻から、例えば、マイクM1とマイクM2への音sの到達時刻差、マイクM1とマイクM3への音sの到達時刻差、マイクM1とマイクM4への音sの到達時刻差を算出し、TDOAにより音源(端末装置40)の位置を推定する(ステップS14)。
Next, the arrival time detector 35 estimates the arrival time of the sound s to each of the microphones M1 to M4 (step S13). For example, the arrival time detection unit 35 uses a time, a pulse period, a pulse width, etc., determined that the period of the pulse signal stored in step S12 has changed, and a predetermined time from a time when it has been determined that the period of the pulse signal has changed. The time that goes back in time is calculated, and the calculated time is estimated as the arrival time of the sound s. The arrival time detection unit 35 outputs the estimated arrival times (four) of the sound s to the microphones M1 to M4 to the position estimation unit 36.
The position estimation unit 36 determines, for example, the arrival time difference of the sound s from the microphone M1 and the microphone M2 from the arrival time of the sound s to the microphones M1 to M4, the arrival time difference of the sound s from the microphone M1 to the microphone M3, the microphone The arrival time difference of the sound s to M1 and the microphone M4 is calculated, and the position of the sound source (terminal device 40) is estimated by TDOA (step S14).

次に位置推定装置30による位置推定に基づく、空調制御について説明する。
図6は、本発明の第一実施形態における空調制御の一例を示すフローチャートである。
まず、ユーザが端末装置40を操作して、所定の周波数の音sの出力を行う(ステップS21)。空調機10では、マイクM1〜M4が音sを収音する(ステップS22)。位置推定装置30は、マイクM1〜M4が出力した音sに基づくパルス信号を取得し、到達時刻の推定、音源位置の推定を行う。例えば、パルス信号の周期が所定の範囲内ではない場合や、一定の周期分のパルス信号が取得できないなどの場合、位置推定装置30の到達時刻検出部35は、受信失敗と判定し(ステップS23;No)、通信部37は、端末装置40へエラー信号を送信する(ステップS24)。一方、音sを正常に受信できた場合(ステップS23;Yes)、通信部37は、端末装置40へ受信成功を示す信号を送信する。端末装置40は、受信成功を知らせるメッセージをディスプレイに表示したり、音を鳴らしたりして受信の成功をユーザに通知する。あるいは、空調機10側で、受信成功をユーザに通知するために音を鳴らしたり、LEDを点灯させたりしてもよい。音sの受信に成功した場合、位置推定装置30は、音源の位置を推定する(ステップS25)。推定の方法は、図4〜図5で説明したとおりである。
Next, air conditioning control based on position estimation by the position estimation device 30 will be described.
FIG. 6 is a flowchart showing an example of air conditioning control in the first embodiment of the present invention.
First, the user operates the terminal device 40 to output a sound s having a predetermined frequency (step S21). In the air conditioner 10, the microphones M1 to M4 collect the sound s (step S22). The position estimation device 30 acquires a pulse signal based on the sound s output from the microphones M1 to M4, and estimates the arrival time and the sound source position. For example, when the period of the pulse signal is not within a predetermined range, or when a pulse signal for a certain period cannot be acquired, the arrival time detection unit 35 of the position estimation device 30 determines that reception has failed (step S23). No), the communication unit 37 transmits an error signal to the terminal device 40 (step S24). On the other hand, when the sound s can be normally received (step S23; Yes), the communication unit 37 transmits a signal indicating successful reception to the terminal device 40. The terminal device 40 notifies the user of successful reception by displaying a message notifying successful reception on the display or playing a sound. Alternatively, on the air conditioner 10 side, a sound may be emitted or an LED may be turned on to notify the user of successful reception. If the reception of the sound s is successful, the position estimation device 30 estimates the position of the sound source (step S25). The estimation method is as described with reference to FIGS.

位置の推定処理に成功した場合(ステップS26;Yes)、通信部37が、端末装置40へ位置推定に成功を示す信号を送信する。端末装置40は、位置推定の成功を知らせるメッセージをディスプレイに表示したり、音を鳴らしたりする。あるいは、空調機10側で音を鳴らしたりLEDを点灯させたりして、位置推定の成功をユーザに通知してもよい。また、位置推定装置30が位置の推定に成功すると、制御装置20は、推定した音源の位置を対象に空調制御を行う(ステップS28)。例えば、制御装置20は、空調機10のルーバー(図示せず)を制御して風向を、推定した音源位置に向けるなどの制御を行う。   When the position estimation process is successful (step S26; Yes), the communication unit 37 transmits a signal indicating success in position estimation to the terminal device 40. The terminal device 40 displays a message informing the success of position estimation on the display or makes a sound. Alternatively, the user may be notified of the success of position estimation by sounding the air conditioner 10 or turning on the LED. When the position estimation device 30 succeeds in estimating the position, the control device 20 performs air conditioning control on the estimated position of the sound source (step S28). For example, the control device 20 performs control such as controlling the louver (not shown) of the air conditioner 10 to direct the wind direction to the estimated sound source position.

一方、上記の連立方程式の解が算出できなかったり、算出した解が異常(空間wの範囲外など)だったりした場合、位置推定装置30は、位置の推定処理に失敗する。位置の推定処理に失敗した場合(ステップS26;No)、位置推定装置30は、端末装置40へエラー信号を送信する(ステップS27)。
ステップS24、ステップS27でエラー信号を受信した場合、端末装置40は、ディスプレイ等にメッセージを表示させたり、受信または位置推定に失敗したことを通知する可聴音を鳴らしたり、LEDランプを点灯させたりして、ユーザにエラーを通知する。ユーザは、これらの通知を確認すると、再度、端末装置40を操作して、音sを出力する(ステップS21)。以降、位置推定が成功するまで、上記の過程を繰り返す。
On the other hand, if the solution of the above simultaneous equations cannot be calculated, or if the calculated solution is abnormal (such as out of the range of the space w), the position estimation device 30 fails in the position estimation process. When the position estimation process fails (step S26; No), the position estimation device 30 transmits an error signal to the terminal device 40 (step S27).
When the error signal is received in step S24 or step S27, the terminal device 40 displays a message on a display or the like, sounds an audible sound notifying that reception or position estimation has failed, or turns on an LED lamp. Then, the user is notified of the error. After confirming these notifications, the user operates the terminal device 40 again to output the sound s (step S21). Thereafter, the above process is repeated until the position estimation is successful.

本実施形態の位置推定装置30によれば、音の出力と共に音圧の振幅が徐々に増大する性質を有するような音sについて、様々な騒音がある環境下において、マイクM1〜M4への到達時刻を精度よく検出することができる。これにより、精度の良い音源(ユーザ)の位置推定が可能になる。また、制御装置20は、位置推定装置30を備えることにより、ユーザが所望するエリアを対象とする空調制御を行うことができる。   According to the position estimation device 30 of the present embodiment, the sound s having the property that the amplitude of the sound pressure gradually increases with the output of the sound reaches the microphones M1 to M4 in an environment with various noises. The time can be detected with high accuracy. Thereby, the position of the sound source (user) with high accuracy can be estimated. Moreover, the control apparatus 20 can perform the air-conditioning control which makes object the area which a user desires by providing the position estimation apparatus 30. FIG.

上記の説明では、端末装置40による音sの1回の出力に対し、位置推定を行う場合を例に挙げたが、1回の位置推定を行うために、端末装置40から一連の音s(時間区間T1,T2の間、それぞれ周波数α1,α2で出力された音)を複数回出力するようにしてもよい。その場合、位置推定装置30は、端末装置40が音sを出力する度に音sの出力位置に対する位置推定を行い、例えば、推定結果の平均値を端末装置40(ユーザ)の位置として推定するようにしてもよい。複数回の推定結果に基づいて最終的な推定位置を決定することで、位置推定処理のばらつきの影響を低減し、位置推定の精度を向上することができる。   In the above description, the case where position estimation is performed for one output of the sound s from the terminal device 40 has been described as an example. However, in order to perform one position estimation, a series of sounds s ( During the time intervals T1 and T2, sounds output at the frequencies α1 and α2 may be output a plurality of times. In that case, the position estimation apparatus 30 performs position estimation with respect to the output position of the sound s every time the terminal apparatus 40 outputs the sound s, and estimates, for example, the average value of the estimation results as the position of the terminal apparatus 40 (user). You may do it. By determining a final estimated position based on a plurality of estimation results, it is possible to reduce the influence of variations in position estimation processing and improve the accuracy of position estimation.

<第二実施形態>
以下、本発明の第二実施形態による空調システムを、図7を参照して説明する。
図7は、本発明の第二実施形態における空調システムの一例を示す図である。
本発明の第二実施形態に係る構成のうち、本発明の第一実施形態に係る空調システムを構成する機能部と同じものには同じ符号を付し、それらの説明を省略する。第二実施形態に係る空調システムでは、位置推定装置30Aが、到達時刻検出部35の代わりに到達時刻検出部35Aを備える。また、端末装置40Aが、音波出力部41の代わりに音波出力部41Aを備える。
音波出力部41Aは、第一実施形態と同様、音圧を示す振幅が増大する間(時間区間T1´)と、振幅が所定範囲内に整定した後(時間区間T2´)では異なる周波数の音波を出力する。一例として、音波出力部41Aは、時間区間T1には周波数α1´の音波を出力し、時間区間T2には周波数α2の音波を出力する。ここで、周波数α1(第一実施形態)、α1´、α2とフィルタ32の通過帯域との関係を、図8を用いて説明する。
<Second embodiment>
Hereinafter, an air conditioning system according to a second embodiment of the present invention will be described with reference to FIG.
FIG. 7 is a diagram illustrating an example of an air conditioning system according to the second embodiment of the present invention.
Among the configurations according to the second embodiment of the present invention, the same components as those of the air conditioning system according to the first embodiment of the present invention are denoted by the same reference numerals, and description thereof is omitted. In the air conditioning system according to the second embodiment, the position estimation device 30 </ b> A includes an arrival time detection unit 35 </ b> A instead of the arrival time detection unit 35. The terminal device 40 </ b> A includes a sound wave output unit 41 </ b> A instead of the sound wave output unit 41.
Similar to the first embodiment, the sound wave output unit 41A has different frequencies of sound waves while the amplitude indicating the sound pressure increases (time interval T1 ′) and after the amplitude has settled within a predetermined range (time interval T2 ′). Is output. As an example, the sound wave output unit 41A outputs a sound wave having the frequency α1 ′ during the time interval T1, and outputs a sound wave having the frequency α2 during the time interval T2. Here, the relationship between the frequencies α1 (first embodiment), α1 ′, α2 and the passband of the filter 32 will be described with reference to FIG.

図8は、本発明の第二実施形態における音の周波数とフィルタの通過帯域の関係の一例を示す図である。図8にフィルタ32へ入力される周波数ごとのゲイン(利得)を示す。
図示するように時間区間T1の周波数α1(第一実施形態)、時間区間T2の周波数α2は、何れもフィルタ32の通過帯域に含まれている。これに対し、第二実施形態の時間区間T1´における周波数α1´はフィルタ32の通過帯域には含まれない。従って、第二実施形態では、時間区間T1´の間、音sはフィルタ32を通過しない。従って、時間区間T1´の間はコンパレータ33から出力されるパルス信号の値は「0」となる。
FIG. 8 is a diagram showing an example of the relationship between the sound frequency and the filter passband in the second embodiment of the present invention. FIG. 8 shows the gain (gain) for each frequency input to the filter 32.
As shown in the drawing, the frequency α1 (first embodiment) in the time interval T1 and the frequency α2 in the time interval T2 are both included in the passband of the filter 32. On the other hand, the frequency α1 ′ in the time interval T1 ′ of the second embodiment is not included in the passband of the filter 32. Therefore, in the second embodiment, the sound s does not pass through the filter 32 during the time interval T1 ′. Therefore, during the time interval T1 ′, the value of the pulse signal output from the comparator 33 is “0”.

到達時刻検出部35Aは、例えば、コンパレータ33からの出力が一定して「0」の状態から変化して、「1」が通算して所定回数、又は連続して所定回数出力されると、音sが到達したと判定する。到達時刻検出部35Aは、音sが到達したと判定した時刻から所定時間遡った時刻を音sの到達時刻として推定する。第一実施形態では、パルス信号の周期やパルス幅の変化に基づいて音sの到達時刻を推定したが、第二実施形態では、到達時刻検出部35Aは、「1」の値を有する信号を最初に取得した時刻を音sの到達時刻とする。到達時刻検出部35Aは、マイクM1〜M4が検出した音sのそれぞれに対して到達時刻を推定し、4つの到達時刻を位置推定部36へ出力する。
位置推定部36は、マイクM1〜M4への音sの到達時刻の推定値から、例えば、マイクM1とマイクM2への音sの到達時刻差、マイクM1とマイクM3への音sの到達時刻差、マイクM1とマイクM4への音sの到達時刻差を算出し、TDOAにより音源(端末装置40)の位置を推定する。
The arrival time detection unit 35A, for example, outputs a sound when the output from the comparator 33 is constantly changed from "0" and "1" is added a predetermined number of times or continuously for a predetermined number of times. It is determined that s has reached. The arrival time detection unit 35A estimates the arrival time of the sound s as the arrival time of the sound s by a predetermined time after the determination that the sound s has arrived. In the first embodiment, the arrival time of the sound s is estimated based on the change of the period and the pulse width of the pulse signal. However, in the second embodiment, the arrival time detection unit 35A receives a signal having a value of “1”. The time acquired first is defined as the arrival time of the sound s. The arrival time detection unit 35A estimates the arrival time for each of the sounds s detected by the microphones M1 to M4 and outputs the four arrival times to the position estimation unit 36.
The position estimation unit 36 determines, for example, the arrival time difference of the sound s from the microphone M1 and the microphone M2 from the estimated value of the arrival time of the sound s to the microphones M1 to M4, and the arrival time of the sound s from the microphone M1 to the microphone M3. The difference, the arrival time difference of the sound s to the microphone M1 and the microphone M4, is calculated, and the position of the sound source (terminal device 40) is estimated by TDOA.

図9は、本発明の第二実施形態における音の到達時刻の検出方法を説明する図である。
まず、端末装置40が出力する音波sについて説明する。図9の上図は、音sの音圧の波形を示している。
端末装置40の音波出力部41Aは、音sの出力開始から時間区間T1´の間は、周波数α1´の音波を出力する。時間区間T1´の長さは、第一実施形態と同様に、音sの振幅の大きさが所定の範囲内に整定するまでに要する時間に基づいて設定される(50msec〜200msec)。また、周波数α1´は、図8に示すようにフィルタ32の通過帯域に含まれない。
FIG. 9 is a diagram for explaining a method for detecting the arrival time of sound in the second embodiment of the present invention.
First, the sound wave s output from the terminal device 40 will be described. The upper diagram of FIG. 9 shows the waveform of the sound pressure of the sound s.
The sound wave output unit 41A of the terminal device 40 outputs a sound wave having a frequency α1 ′ during the time interval T1 ′ from the start of output of the sound s. Similar to the first embodiment, the length of the time interval T1 ′ is set based on the time required for the amplitude of the sound s to settle within a predetermined range (50 msec to 200 msec). Further, the frequency α1 ′ is not included in the pass band of the filter 32 as shown in FIG.

音sの出力から時間区間T1´を経て時間区間T2´を迎えると、音波出力部41Aは、音sを出力したまま周波数をα1´からα2へと変更する。周波数をα2は、例えば、15KHz程度である(第一実施形態と同様)。音波出力部41Aは、例えば、時間区間T1´の長さと同程度の長さに設定された時間区間T2´の間、周波数α2で音sを出力する。   When the time interval T2 ′ passes through the time interval T1 ′ from the output of the sound s, the sound wave output unit 41A changes the frequency from α1 ′ to α2 while outputting the sound s. The frequency α2 is, for example, about 15 KHz (similar to the first embodiment). For example, the sound wave output unit 41A outputs the sound s at the frequency α2 during the time interval T2 ′ set to a length approximately equal to the length of the time interval T1 ′.

次に到達時刻検出部35Aによる音sの検出処理について説明する。
フィルタ32は、周波数α1´の音波を通過させないので、時間区間T1´における音圧の振幅が閾値pthを超えていてもコンパレータ33へは、音sは出力されない。その為、時間区間T1´においてコンパレータ33からマイコン34へ出力されるパルス信号の値は「0」である(図9下図)。時間区間T2´になると、フィルタ32は、周波数α2の音波を通過させるため、コンパレータ33は、一定の周期で「1」をマイコン34へ出力するようになる。
Next, the sound s detection process by the arrival time detection unit 35A will be described.
Since the filter 32 does not pass the sound wave having the frequency α1 ′, the sound s is not output to the comparator 33 even if the amplitude of the sound pressure in the time interval T1 ′ exceeds the threshold value pth. Therefore, the value of the pulse signal output from the comparator 33 to the microcomputer 34 in the time interval T1 ′ is “0” (the lower diagram in FIG. 9). When the time interval T2 ′ is reached, the filter 32 allows the sound wave having the frequency α2 to pass, so that the comparator 33 outputs “1” to the microcomputer 34 at a constant period.

マイコン34では、到達時刻検出部35Aが、「1」の値を有するパルス信号の取得に基づいて、音sの到着を検出する。到達時刻検出部35Aは、最初に値「1」の信号を取得した時刻t3´を音sの到着時刻として検出する。例えば、到達時刻検出部35Aは、パルス信号の「0」続く状態から、一定の周期で「0」、「1」が変化する信号を取得するようになると、その周期を算出し記憶する。到達時刻検出部35Aは、記憶した周期と、コンパレータ33から取得する「0」と「1」の変化する周期とを比較する。到達時刻検出部35Aは、連続してX回(例えば3回)、「1」を検出すると、音sが到達したと判定し、音sが到達したと判定した時刻t4´から、所定の時間だけ遡った時刻t3´を音sの到達時刻とする。所定の時間とは、図9の例では、パルス周期r0´×(X−1)+パルス幅r1´である。   In the microcomputer 34, the arrival time detection unit 35 </ b> A detects the arrival of the sound s based on the acquisition of the pulse signal having the value “1”. The arrival time detection unit 35A detects the time t3 ′ at which the signal of the value “1” is first acquired as the arrival time of the sound s. For example, when the arrival time detection unit 35A obtains a signal in which “0” and “1” change at a constant period from a state in which the pulse signal continues “0”, the period is calculated and stored. The arrival time detection unit 35A compares the stored cycle with the cycle in which “0” and “1” obtained from the comparator 33 change. The arrival time detection unit 35A detects X times (for example, 3 times) and “1” continuously, determines that the sound s has arrived, and has determined a predetermined time from the time t4 ′ at which the sound s has been reached The time t3 ′ that is traced back by this time is the arrival time of the sound s. In the example of FIG. 9, the predetermined time is a pulse period r0 ′ × (X−1) + pulse width r1 ′.

このように、本実施形態では、端末装置40が、連続して一定期間音sを出力する中で、波形の振幅が増大する時間区間T1´ではフィルタ32を通過しない周波数α1´で、振幅の変化が整定した後の時間区間T2´ではフィルタ32を通過する周波数α2で音sを出力する。位置推定装置30では、周波数α2の音sを検出し、音sがマイクM1等への到達時刻を推定する。このように、波形の立ち上がり完了時刻を検出するという基準を設けることにより、出力の開始から振幅が徐々に変化し、振幅にばらつきがあるという音sの性質による、単純に振幅の大きさに対する閾値を設けて、その閾値を超える音信号を検出すると音sが到達したと判定する場合の判定の不確かさを解消することができる。   As described above, in the present embodiment, the terminal device 40 continuously outputs the sound s for a certain period, and the amplitude of the amplitude does not pass through the filter 32 in the time interval T1 ′ in which the amplitude of the waveform increases. In the time interval T2 ′ after the change is settled, the sound s is output at the frequency α2 that passes through the filter 32. The position estimation device 30 detects the sound s having the frequency α2, and estimates the arrival time of the sound s at the microphone M1 or the like. Thus, by providing a reference for detecting the completion time of the rise of the waveform, the threshold value for the magnitude of the amplitude simply due to the property of the sound s that the amplitude gradually changes from the start of the output and the amplitude varies. When the sound signal exceeding the threshold is detected, the uncertainty of determination in the case where it is determined that the sound s has arrived can be eliminated.

図10は、本発明の第二実施形態における音源の位置推定処理の一例を示すフローチャートである。
前提条件等は、第一実施形態(図5)と同様である。まず、ユーザが端末装置40を操作して、周波数α1´を有する音sの出力を開始する。上記の通り、時間区間T2´では、音sの周波数はα2で出力される。マイクM1〜M4は、音sを収音する(ステップS31)。マイクM1〜M4は、音sを収音すると、音sを電気信号に変換して、音sのアナログ音信号を、アンプ31へ出力する。アンプ31は、マイクM1〜M4が出力した音sのアナログ音信号をそれぞれ増幅させ、フィルタ32へ出力する。フィルタ32は、増幅後の4つのアナログ音信号から、所定の通過帯域の周波数を抽出してコンパレータ33へ出力する。第二実施形態では、フィルタ32は、時間区間T2´に出力された音sのアナログ音信号だけを抽出してコンパレータ33へ出力する。
コンパレータ33は、フィルタ32が出力したマイクM1〜M4にて収音された音sについての4つのアナログ音信号の各々を、所定の閾値に基づいてパルス信号に変換して、パルス信号をマイコン34へ出力する。
FIG. 10 is a flowchart showing an example of a sound source position estimation process in the second embodiment of the present invention.
The preconditions are the same as those in the first embodiment (FIG. 5). First, the user operates the terminal device 40 to start outputting a sound s having a frequency α1 ′. As described above, in the time interval T2 ′, the frequency of the sound s is output as α2. The microphones M1 to M4 collect the sound s (step S31). When the microphones M <b> 1 to M <b> 4 collect the sound s, the microphones M <b> 1 to M <b> 4 convert the sound s into an electric signal and output an analog sound signal of the sound s to the amplifier 31. The amplifier 31 amplifies the analog sound signal of the sound s output from the microphones M <b> 1 to M <b> 4 and outputs the amplified signal to the filter 32. The filter 32 extracts a frequency in a predetermined pass band from the amplified four analog sound signals and outputs the extracted frequency to the comparator 33. In the second embodiment, the filter 32 extracts only the analog sound signal of the sound s output in the time interval T <b> 2 ′ and outputs it to the comparator 33.
The comparator 33 converts each of the four analog sound signals for the sound s collected by the microphones M1 to M4 output from the filter 32 into a pulse signal based on a predetermined threshold, and converts the pulse signal into the microcomputer 34. Output to.

マイコン34では、到達時刻検出部35Aが4つのパルス信号を取得し、マイクM1〜M4それぞれへの音sの到達時刻を推定する(ステップS32)。具体的には、到達時刻検出部35Aは、図9を用いて説明したように4つのパルス信号のそれぞれについて、値「1」を検出する。例えば、到達時刻検出部35Aは、コンパレータ33から取得したパルス信号にて連続して、あるいは通算で所定回数以上一定の周期で「1」を検出すると音sを検出したと判定する。到達時刻検出部35Aは、音sを検出したと判定した時刻、パルス周期およびパルス幅などを検出し、記憶する。到達時刻検出部35Aは、記憶した音sを検出したと判定した時刻、パルス周期、パルス幅などを用いて、音sを検出したと判定した時刻から、所定時間遡った時刻を算出し、算出した時刻を音sの到達時刻として推定する。到達時刻検出部35Aは、推定したマイクM1〜M4への音sの到達時刻(4つ)を位置推定部36へ出力する。位置推定部36は、マイクM1〜M4への音sの到達時刻から、例えば、マイクM1とマイクM2への音sの到達時刻差、マイクM1とマイクM3への音sの到達時刻差、マイクM1とマイクM4への音sの到達時刻差を算出し、TDOAにより音源(端末装置40)の位置を推定する(ステップS33)。   In the microcomputer 34, the arrival time detection unit 35A acquires four pulse signals, and estimates the arrival time of the sound s to each of the microphones M1 to M4 (step S32). Specifically, the arrival time detection unit 35 </ b> A detects the value “1” for each of the four pulse signals as described with reference to FIG. 9. For example, the arrival time detection unit 35 </ b> A determines that the sound s has been detected when “1” is detected continuously in a pulse signal acquired from the comparator 33 or a predetermined number of times or more in total. The arrival time detection unit 35A detects and stores the time at which it is determined that the sound s is detected, the pulse period, the pulse width, and the like. The arrival time detection unit 35A calculates a time that is a predetermined time later than the time at which it is determined that the sound s is detected, using the time at which it is determined that the stored sound s is detected, the pulse period, the pulse width, and the like. The estimated time is estimated as the arrival time of the sound s. The arrival time detection unit 35A outputs the estimated arrival times (four) of the sound s to the microphones M1 to M4 to the position estimation unit 36. The position estimation unit 36 determines, for example, the arrival time difference of the sound s from the microphone M1 and the microphone M2 from the arrival time of the sound s to the microphones M1 to M4, the arrival time difference of the sound s from the microphone M1 to the microphone M3, the microphone The arrival time difference of the sound s to M1 and the microphone M4 is calculated, and the position of the sound source (terminal device 40) is estimated by TDOA (step S33).

本実施形態によれば、マイコン34は時間区間T1´における信号処理を行うことなく、第一実施形態と同様の効果を得ることができる。
なお、上記説明では、端末装置40Aが、時間区間T1´においてフィルタ32を通過しない周波数α1´の音波を出力することとしたが、本実施形態の位置推定処理は、フィルタ32の通過帯域を調整して(絞って)、時間区間T1´において出力される音sの周波数を通過させないフィルタを設けることによっても実現してもよい。
According to the present embodiment, the microcomputer 34 can obtain the same effects as those of the first embodiment without performing signal processing in the time interval T1 ′.
In the above description, the terminal device 40A outputs the sound wave having the frequency α1 ′ that does not pass through the filter 32 in the time interval T1 ′. However, the position estimation process of the present embodiment adjusts the passband of the filter 32. In this case, it may be realized by providing a filter that does not pass the frequency of the sound s output in the time interval T1 ′.

図11は、本発明の各実施形態における位置推定装置、端末装置のハードウェア構成の一例を示す図である。
コンピュータ900は、CPU901、主記憶装置902、補助記憶装置903、インタフェース904、音信号処理回路905を備える。
上述の位置推定装置30,30A、端末装置40,40Aは、コンピュータ900を備える。そして、上述した各処理部の動作は、プログラムの形式で補助記憶装置903に記憶されている。CPU901は、プログラムを補助記憶装置903から読み出して主記憶装置902に展開し、当該プログラムに従って上記処理を実行する。また、CPU901は、プログラムに従って、記憶領域を主記憶装置902に確保する。
FIG. 11 is a diagram illustrating an example of a hardware configuration of the position estimation device and the terminal device in each embodiment of the present invention.
The computer 900 includes a CPU 901, a main storage device 902, an auxiliary storage device 903, an interface 904, and a sound signal processing circuit 905.
The position estimation devices 30 and 30A and the terminal devices 40 and 40A described above include a computer 900. The operation of each processing unit described above is stored in the auxiliary storage device 903 in the form of a program. The CPU 901 reads a program from the auxiliary storage device 903, develops it in the main storage device 902, and executes the above processing according to the program. Further, the CPU 901 secures a storage area in the main storage device 902 according to the program.

少なくとも1つの実施形態において、補助記憶装置903は、一時的でない有形の媒体の一例である。一時的でない有形の媒体の他の例としては、インタフェース904を介して接続される磁気ディスク、光磁気ディスク、光ディスク、半導体メモリ等が挙げられる。また、このプログラムが通信回線によってコンピュータ900に配信される場合、配信を受けたコンピュータ900が当該プログラムを主記憶装置902に展開し、上記処理を実行してもよい。   In at least one embodiment, the auxiliary storage device 903 is an example of a tangible medium that is not temporary. Other examples of the tangible medium that is not temporary include a magnetic disk, a magneto-optical disk, an optical disk, and a semiconductor memory connected via the interface 904. When this program is distributed to the computer 900 via a communication line, the computer 900 that has received the distribution may develop the program in the main storage device 902 and execute the above processing.

上述した位置推定装置30,30A、端末装置40,40Aにおける各処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムを位置推定装置30,30A、端末装置40,40Aのコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしてもよい。   Each process in the position estimation devices 30, 30A and the terminal devices 40, 40A described above is stored in a computer-readable recording medium in the form of a program, and this program is stored in the position estimation devices 30, 30A, the terminal device 40. , 40A is read and executed by the computer of 40A. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。
位置推定装置30,30A、端末装置40,40Aは、1台のコンピュータで構成されていても良いし、通信可能に接続された複数のコンピュータで構成されていてもよい。
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.
The position estimation devices 30 and 30A and the terminal devices 40 and 40A may be configured by a single computer, or may be configured by a plurality of computers connected so as to be communicable.

音信号処理回路905は、音信号を増幅させるアンプ、所定の周波数帯のみを通過させるバンドパスフィルタ、コンパレータ、アナログ音信号をデジタル音信号に変換するA/Dコンバータ、デジタル音信号をアナログ音信号に変換するD/Aコンバータ等を含む。例えば、端末装置40,40Aでは、インタフェース904にスピーカが接続され、位置推定装置30,30Aでは、インタフェース904にマイクM1〜M4が接続される。   The sound signal processing circuit 905 includes an amplifier that amplifies the sound signal, a band-pass filter that passes only a predetermined frequency band, a comparator, an A / D converter that converts an analog sound signal into a digital sound signal, and an analog sound signal that is a digital sound signal. D / A converter etc. for converting to For example, in the terminal devices 40 and 40A, a speaker is connected to the interface 904, and in the position estimation devices 30 and 30A, microphones M1 to M4 are connected to the interface 904.

その他、本発明の趣旨を逸脱しない範囲で、上記した実施の形態における構成要素を周知の構成要素に置き換えることは適宜可能である。また、この発明の技術範囲は上記の実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更を加えることが可能である。例えば、音波の振幅波形が整定する時刻を検出できるように構成されていれば、端末装置40、40Aが出力する音sの時間区間は3つ以上に設定してもよい。   In addition, it is possible to appropriately replace the components in the above-described embodiments with known components without departing from the spirit of the present invention. The technical scope of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention. For example, the time interval of the sound s output by the terminal devices 40 and 40A may be set to three or more as long as the time when the amplitude waveform of the sound wave is settable can be detected.

例えば、上記の実施形態では、マイクM1〜M4の全てを同時に用いることとしたが、音源の平面での位置の推定は、マイクが3つあれば可能である。ユーザの平面上の位置推定のみを行う場合、例えば、マイクM1〜M3だけを使用して位置推定を行い、何れかのマイクが故障した場合に残りのマイクM4を使用するようにしてもよい。あるいは、4つのマイクM1〜M4のうち、任意の3つのマイクを毎回選択して、選択したマイクによって位置推定を行うようにしてもよい。   For example, in the above embodiment, all of the microphones M1 to M4 are used at the same time. However, the position of the sound source on the plane can be estimated with three microphones. When performing only position estimation on the user's plane, for example, position estimation may be performed using only the microphones M1 to M3, and the remaining microphone M4 may be used when one of the microphones fails. Alternatively, any three of the four microphones M1 to M4 may be selected each time, and position estimation may be performed using the selected microphone.

または、平面での位置推定を行う場合、1回の位置推定について、マイクM1、M2、M3を用いた推定、マイクM1、M3、M4を用いた推定、マイクM1、M2、M4を用いた推定、マイクM2、M3、M4を用いた推定の4回の位置推定処理を行って、4回の推定結果の平均を、最終的な端末装置40の位置として決定してもよい。
α2は第1周波数、α1およびα1´は第2周波数の一例である。
端末装置40と、マイクM1〜M4と、位置推定装置30とで端末装置40の位置を推定する測位システムを構成する。
Alternatively, when performing position estimation on a plane, for one position estimation, estimation using microphones M1, M2, and M3, estimation using microphones M1, M3, and M4, and estimation using microphones M1, M2, and M4 The position estimation process may be performed four times using the microphones M2, M3, and M4, and the average of the four estimation results may be determined as the final position of the terminal device 40.
α2 is an example of the first frequency, and α1 and α1 ′ are examples of the second frequency.
The terminal device 40, the microphones M1 to M4, and the position estimation device 30 constitute a positioning system that estimates the position of the terminal device 40.

10・・・空調機
20・・・制御装置
30、30A・・・位置推定装置
31・・・アンプ
32・・・フィルタ
33・・・コンパレータ
34・・・マイコン
35、35A・・・到達時刻検出部
36・・・位置推定部
37・・・通信部
40、40A・・・端末装置
M1、M2、M3、M4・・・マイク
w・・・空間
s・・・音
900・・・コンピュータ
901・・・CPU
902・・・主記憶装置
903・・・補助記憶装置
904・・・インタフェース
905・・・音信号処理回路
DESCRIPTION OF SYMBOLS 10 ... Air conditioner 20 ... Control apparatus 30, 30A ... Position estimation apparatus 31 ... Amplifier 32 ... Filter 33 ... Comparator 34 ... Microcomputer 35, 35A ... Arrival time detection Unit 36 ... position estimation unit 37 ... communication unit 40, 40A ... terminal device M1, M2, M3, M4 ... microphone w ... space s ... sound 900 ... computer 901 ..CPU
902 ... Main memory 903 ... Auxiliary memory 904 ... Interface 905 ... Sound signal processing circuit

Claims (15)

連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力する音波出力部、を備える端末装置と、
前記音波を収音する複数のセンサと、
位置推定装置と、
を備え、
前記音波出力部は、第1の前記時間区間に所定の第1周波数の音波を出力し、第1の前記時間区間の一つ前の前記時間区間に所定の第2周波数の音波を出力し、
前記位置推定装置は、
前記第1周波数の前記音波の到達時刻を検出する到達時刻検出部と、
複数の前記センサのそれぞれが収音した音波について、前記到達時刻検出部が検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定する位置推定部と、
を備える、測位システム。
A sound wave output unit that outputs a continuous sound wave by changing to a different frequency for each of a plurality of time intervals; and a terminal device,
A plurality of sensors for collecting the sound waves;
A position estimation device;
With
The sound wave output unit outputs a sound wave having a predetermined first frequency in the first time interval, and outputs a sound wave having a predetermined second frequency in the time interval immediately before the first time interval,
The position estimation device includes:
An arrival time detector for detecting the arrival time of the sound wave of the first frequency;
A position estimation unit that estimates an output position of the sound wave based on a time difference between the arrival times detected by the arrival time detection unit for the sound waves collected by each of the plurality of sensors;
A positioning system.
前記音波出力部は、前記音波の出力の開始から前記音波の音圧の振幅が所定の範囲内に整定するまでの時間を経過した後に、前記第1周波数の前記音波を出力する、
請求項1に記載の測位システム。
The sound wave output unit outputs the sound wave of the first frequency after elapse of time from the start of the sound wave output until the amplitude of the sound pressure of the sound wave settles within a predetermined range.
The positioning system according to claim 1.
前記振幅の変化が所定の範囲内となる時間は、50msec以上、200msec以下である、
請求項2に記載の測位システム。
The time during which the amplitude change is within a predetermined range is 50 msec or more and 200 msec or less.
The positioning system according to claim 2.
前記第1周波数と前記第2周波数との差が1KHz以上である、
請求項1から請求項3の何れか1項に記載の測位システム。
The difference between the first frequency and the second frequency is 1 KHz or more,
The positioning system according to any one of claims 1 to 3.
前記位置推定装置が、
前記第1周波数と前記第2周波数と、を通過帯域に含むフィルタ、
をさらに備え、
前記到達時刻検出部は、前記第1周波数と、前記第2周波数との差に基づいて、前記到達時刻を検出する、
請求項1から請求項4の何れか1項に記載の測位システム。
The position estimation device is
A filter including the first frequency and the second frequency in a passband;
Further comprising
The arrival time detection unit detects the arrival time based on a difference between the first frequency and the second frequency;
The positioning system according to any one of claims 1 to 4.
前記位置推定装置が、
前記第1周波数を通過帯域に含み、前記第2周波数を通過帯域に含まないフィルタ、
をさらに備え、
前記到達時刻検出部は、前記第1周波数の前記音波を検出した時刻を、前記到達時刻とする、
請求項1から請求項4の何れか1項に記載の測位システム。
The position estimation device is
A filter that includes the first frequency in the passband and does not include the second frequency in the passband;
Further comprising
The arrival time detection unit sets the time when the sound wave of the first frequency is detected as the arrival time.
The positioning system according to any one of claims 1 to 4.
前記音波出力部が、10kHzから20kHzまでの間の所定の周波数帯の音波を出力する、
請求項1から請求項6の何れか1項に記載の測位システム。
The sound wave output unit outputs a sound wave of a predetermined frequency band between 10 kHz and 20 kHz.
The positioning system according to any one of claims 1 to 6.
前記位置推定装置が、
前記音波の到達時刻の推定、または、前記音波の出力位置の推定に失敗すると、エラー信号を出力する通信部、
をさらに備える請求項1から請求項7の何れか1項に記載の測位システム。
The position estimation device is
When the estimation of the arrival time of the sound wave or the estimation of the output position of the sound wave fails, a communication unit that outputs an error signal,
The positioning system according to any one of claims 1 to 7, further comprising:
請求項1から請求項8の何れか1項に記載の測位システムを備え、
前記位置推定装置が推定した前記音波の出力位置を対象として空調を行う、
空調システム。
A positioning system according to any one of claims 1 to 8, comprising:
Air conditioning is performed on the output position of the sound wave estimated by the position estimation device,
Air conditioning system.
自装置の位置を通知するために音波を出力する端末装置であって、
連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力する音波出力部、
を備える端末装置。
A terminal device that outputs sound waves to notify the position of the device;
A sound wave output unit that outputs a continuous sound wave by changing to a different frequency for each of a plurality of time intervals,
A terminal device comprising:
複数の時間区間ごとに異なる周波数で出力された連続する音波について、複数の前記時間区間のうち2つ目以降の前記時間区間に出力された所定の第1周波数の前記音波の到達時刻を検出する到達時刻検出部と、
複数のセンサのそれぞれが収音した前記音波について、前記到達時刻検出部が検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定する位置推定部と、
を備える位置推定装置。
For successive sound waves output at different frequencies for a plurality of time intervals, the arrival time of the sound waves of a predetermined first frequency output in the second time interval or later among the plurality of time intervals is detected. An arrival time detection unit;
A position estimation unit that estimates an output position of the sound wave based on a time difference between the arrival times detected by the arrival time detection unit for the sound waves collected by each of a plurality of sensors;
A position estimation apparatus comprising:
複数のセンサが、連続する複数の時間区間ごとに異なる周波数で出力された連続する音波を収音するステップと、
複数の前記時間区間のうち2つ目以降の前記時間区間について設定された所定の第1周波数の前記音波の到達時刻を検出するステップと、
複数の前記センサのそれぞれが検出した前記音波について、前記到達時刻を検出するステップで検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定するステップと、
を有する位置推定方法。
A plurality of sensors collecting continuous sound waves output at different frequencies for a plurality of continuous time intervals;
Detecting the arrival time of the sound wave of a predetermined first frequency set for the second and subsequent time intervals among the plurality of time intervals;
Estimating the output position of the sound wave based on the time difference of the arrival time detected in the step of detecting the arrival time for the sound wave detected by each of the plurality of sensors;
A position estimation method comprising:
音波の出力位置を通知するための音波出力方法であって、
連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力し、前記音波の出力の開始から前記音波の音圧の振幅が所定の範囲内に整定するまでの時間を経過した後に所定の周波数の前記音波を出力する、
音波出力方法。
A sound wave output method for notifying an output position of a sound wave,
A continuous sound wave is output by changing to a different frequency for each of a plurality of time intervals, and after a lapse of time from the start of the sound wave output until the amplitude of the sound pressure of the sound wave is settled within a predetermined range Output the sound wave at a frequency of
Sound wave output method.
コンピュータを、
連続した音波を、複数の時間区間ごとに異なる周波数に変化させて出力し、前記音波の出力の開始から前記音波の音圧の振幅が所定の範囲内に整定するまでの時間を経過した後に所定の周波数の前記音波を出力する手段、
として機能させるためのプログラム。
Computer
A continuous sound wave is output by changing to a different frequency for each of a plurality of time intervals, and after a lapse of time from the start of the sound wave output until the amplitude of the sound pressure of the sound wave is settled within a predetermined range Means for outputting the sound wave having a frequency of
Program to function as.
コンピュータを、
複数の時間区間ごとに異なる周波数で出力された連続する音波について、複数の前記時間区間のうち2つ目以降の前記時間区間について設定された所定の第1周波数の前記音波の到達時刻を検出する手段、
複数のセンサのそれぞれが検出した前記音波について、前記到達時刻を検出する手段が検出した前記到達時刻の時間差に基づいて前記音波の出力位置を推定する手段、
として機能させるためのプログラム。
Computer
For successive sound waves output at different frequencies for a plurality of time intervals, the arrival time of the sound waves of a predetermined first frequency set for the second and subsequent time intervals among the plurality of time intervals is detected. means,
Means for estimating an output position of the sound wave based on a time difference of the arrival time detected by the means for detecting the arrival time for the sound wave detected by each of a plurality of sensors;
Program to function as.
JP2018093918A 2018-05-15 2018-05-15 Positioning system, air conditioning system, terminal device, position estimation device, position estimation method, sound wave output method, program Active JP7001539B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018093918A JP7001539B2 (en) 2018-05-15 2018-05-15 Positioning system, air conditioning system, terminal device, position estimation device, position estimation method, sound wave output method, program
PCT/JP2019/010930 WO2019220760A1 (en) 2018-05-15 2019-03-15 Position measuring system, air conditioning system, terminal device, position estimation device, position estimation method, sound wave outputting method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018093918A JP7001539B2 (en) 2018-05-15 2018-05-15 Positioning system, air conditioning system, terminal device, position estimation device, position estimation method, sound wave output method, program

Publications (2)

Publication Number Publication Date
JP2019200091A true JP2019200091A (en) 2019-11-21
JP7001539B2 JP7001539B2 (en) 2022-01-19

Family

ID=68540038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018093918A Active JP7001539B2 (en) 2018-05-15 2018-05-15 Positioning system, air conditioning system, terminal device, position estimation device, position estimation method, sound wave output method, program

Country Status (2)

Country Link
JP (1) JP7001539B2 (en)
WO (1) WO2019220760A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112197405A (en) * 2020-10-30 2021-01-08 佛山市顺德区美的电子科技有限公司 Area planning method, terminal device and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS561349A (en) * 1979-06-19 1981-01-09 Osaka Gas Co Ltd Measuring method of propagation time of sound wave and finding position
JP2005522708A (en) * 2002-04-15 2005-07-28 エポス テクノロジーズ リミテッド Method and system for obtaining positioning data
JP2006234649A (en) * 2005-02-25 2006-09-07 Nec Viewtechnology Ltd Wave motion receiving device and wave motion reception determination method
JP2010134367A (en) * 2008-12-08 2010-06-17 Mitsubishi Electric Corp Electric equipment
JP2012058025A (en) * 2010-09-07 2012-03-22 Univ Of Tsukuba Drill head position estimation system, drill head position estimation device and drill head position estimation method
JP2015166685A (en) * 2014-03-03 2015-09-24 株式会社デンソー position measurement system
US20170019525A1 (en) * 2015-07-14 2017-01-19 Driving Management Systems, Inc. Detecting the location of a phone using rf wireless and ultrasonic signals

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS561349A (en) * 1979-06-19 1981-01-09 Osaka Gas Co Ltd Measuring method of propagation time of sound wave and finding position
JP2005522708A (en) * 2002-04-15 2005-07-28 エポス テクノロジーズ リミテッド Method and system for obtaining positioning data
JP2006234649A (en) * 2005-02-25 2006-09-07 Nec Viewtechnology Ltd Wave motion receiving device and wave motion reception determination method
JP2010134367A (en) * 2008-12-08 2010-06-17 Mitsubishi Electric Corp Electric equipment
JP2012058025A (en) * 2010-09-07 2012-03-22 Univ Of Tsukuba Drill head position estimation system, drill head position estimation device and drill head position estimation method
JP2015166685A (en) * 2014-03-03 2015-09-24 株式会社デンソー position measurement system
US20170019525A1 (en) * 2015-07-14 2017-01-19 Driving Management Systems, Inc. Detecting the location of a phone using rf wireless and ultrasonic signals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112197405A (en) * 2020-10-30 2021-01-08 佛山市顺德区美的电子科技有限公司 Area planning method, terminal device and computer-readable storage medium

Also Published As

Publication number Publication date
JP7001539B2 (en) 2022-01-19
WO2019220760A1 (en) 2019-11-21

Similar Documents

Publication Publication Date Title
US10839808B2 (en) Detection of replay attack
JP4854533B2 (en) Acoustic judgment method, acoustic judgment device, and computer program
JP6025037B2 (en) Voice agent device and control method thereof
US9959886B2 (en) Spectral comb voice activity detection
US20090147968A1 (en) Sound input device
EP3691299A1 (en) Accoustical listening area mapping and frequency correction
EP3095256B1 (en) Localizing mobile device in vehicle
KR20140097699A (en) Compensating a hearing impairment apparatus and method using 3d equal loudness contour
US11290809B2 (en) Dynamic sensitivity matching of microphones in a microphone array
WO2019220760A1 (en) Position measuring system, air conditioning system, terminal device, position estimation device, position estimation method, sound wave outputting method, and program
EP2884473A1 (en) Internet protocol addressable public address devices and systems
CN103168479A (en) Howling suppression device, hearing aid, howling suppression method, and integrated circuit
JP7063714B2 (en) Position estimation device, air conditioning system, position estimation method and program
JP2014200064A (en) Broadcast system sound output controller and method for controlling sound output
JP2018142755A (en) Positional information management system, output device, sonic wave output control method, and program
JP2005080303A (en) Voice matching system for audio transducers
JP6163924B2 (en) Noise detection apparatus, noise detection method, noise reduction apparatus, noise reduction method, communication apparatus, and program.
EP4207196A1 (en) Sound collection system, sound collection method, and program
WO2018077800A1 (en) Acoustic signaling
JP2006185225A (en) Alarm device identification device, system and method
WO2019220874A1 (en) Air-conditioning control device, air-conditioning control system, air-conditioning control method, and program
JP2014197771A (en) Broadcast system sound output controller and method for controlling sound output
JP2021536692A (en) Human machine voice dialogue device and its operation method
JP3196003U (en) Voice guidance device
KR100939684B1 (en) Voice recorder with 3 microphone

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20210217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211020

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: 20211214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211224

R150 Certificate of patent or registration of utility model

Ref document number: 7001539

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150