METHOD AND APPARATUS FOR SPACE STATUS DETECTION BASED ON ACOUSTIC CHIRP SIGNALS
20180003818 · 2018-01-04
Assignee
Inventors
- Chang-Hong Lin (Hsinchu County, TW)
- Ming-Yen Chen (Pingtung County, TW)
- Tai-Shih Chi (Taipei City, TW)
Cpc classification
G01S15/104
PHYSICS
International classification
Abstract
A method and an apparatus for space status detection based on acoustic chirp signals are provided. The method includes following steps. One of a plurality of acoustic chirp signals is transmitted into a space respectively at a plurality of different time points. A plurality of acoustic waves that are the transmitted acoustic chirp signals varied in the space are sequentially received to generate a plurality of acoustic spatial response signals, and a plurality of space features of the space are obtained based on the acoustic spatial response signals. A status change of the space is detected by comparing two of the space features.
Claims
1. A method for space status detection based on acoustic chirp signals, comprising: transmitting one of a plurality of acoustic chirp signals into a space at a plurality of different time points respectively; sequentially receiving a plurality of acoustic waves that are the transmitted acoustic chirp signals varied in the space to generate a plurality of acoustic spatial response signals, and obtaining a plurality of space features of the space based on the acoustic spatial response signals; and detecting a status change of the space by comparing two of the space features.
2. The method as claimed in claim 1, wherein the two of the space features are two space features corresponding to two acoustic chirp signals of the acoustic chirp signals corresponding to two acoustic waves of the acoustic waves received at two sequent time points.
3. The method as claimed in claim 1, wherein obtaining the space features of the space based on the acoustic spatial response signals comprises: capturing a plurality of effective signals in the acoustic spatial response signals; and generating the space features based on the effective signals.
4. The method as claimed in claim 3, wherein capturing the effective signals in the acoustic spatial response signals comprises: filtering and dividing the acoustic spatial response signals into a plurality of frames; calculating a plurality of feature data of the frames, wherein each of the feature data comprises energy of a corresponding frame of the frames; and capturing the effective signals by analyzing the feature data.
5. The method as claimed in claim 4, wherein capturing the effective signals by analyzing the feature data comprises: capturing a plurality of response sample sections from the acoustic spatial response signals based on a result of comparison of the feature data and a transmitting time interval of the acoustic chirp signals, wherein each of the response sample sections comprises a direct sound section and a reflection sound section, and the transmitting time interval of the time points is a constant value or a variable value.
6. The method as claimed in claim 5, wherein capturing the effective signals by analyzing the feature data further comprises: filtering out the direct sound section or noises of each of the response sample sections to obtain the effective signals, wherein filtering out the direct sound section of each of the respective response sample section comprises: filtering out a section earlier than a preset time period in an onset of each of the response sample sections.
7. The method as claimed in claim 3, wherein generating the space features based on the effective signals comprises: generating the space features based on a plurality of results of comparison between the effective signals and at least one audio chirp data corresponding to the acoustic chirp signals.
8. The method as claimed in claim 1, wherein detecting the status change of the space by comparing two of the space features comprises: calculating a difference feature based on difference data between the two of the space features; and detecting whether the status of the space is changed based on the difference feature and a threshold value.
9. The method as claimed in claim 1, wherein frequencies of the acoustic chirp signals vary continuously with time between a frequency lower bound and a frequency upper bound of a frequency band interval.
10. The method as claimed in claim 1, wherein within a frequency band interval, frequencies of the acoustic chirp signals monotonically increase from a frequency lower bound to a frequency upper bound.
11. The method as claimed in claim 1, wherein within a frequency band interval, frequencies of the acoustic chirp signals monotonically decrease from a frequency upper bound to a frequency lower bound.
12. The method as claimed in claim 1, wherein the acoustic chirp signals are composite acoustic chirp signals formed by combining a plurality of frequency bands.
13. The method as claimed in claim 1, wherein frequencies of the acoustic chirp signals are within a range from 9 kHz to 18 kHz.
14. The method as claimed in claim 1, wherein the space is an indoor space, and the acoustic chirp signals are audible sound signals.
15. An apparatus for space status detection based on acoustic chirp signals, comprising: a receiving device, sequentially receiving a plurality of acoustic waves that are a plurality of acoustic chirp signals varied in a space to generate a plurality of acoustic spatial response signals, wherein each of the acoustic chirp signals is respectively transmitted into the space at a plurality of different time points; a space feature generator, coupled to the receiving device to receive the acoustic spatial response signals and calculating a plurality of space features of the space based on the acoustic spatial response signals; and a determiner, coupled to the space feature generator to receive the space features and detecting a status change of the space by comparing two of the space features.
16. The apparatus as claimed in claim 15, wherein the two of the space features compared by the determiner are two space features corresponding to two adjacent acoustic chirp signals of the acoustic chirp signals.
17. The apparatus as claimed in claim 15, wherein the space feature generator comprises: a signal capturer, capturing a plurality of effective signals in the acoustic spatial response signals; and a space feature calculator, coupled to the signal capturer to receive the effective signals and generating the space features based on the effective signals.
18. The apparatus as claimed in claim 17, wherein the signal capturer comprises: a filter, coupled to the receiving device to receive the acoustic spatial response signals and filtering the acoustic spatial response signals; and a first capturer, coupled to the filter to receive the filtered acoustic spatial response signals, dividing the acoustic spatial response signals into a plurality of frames, calculating a plurality of feature data of the frames, and capturing the effective signals by analyzing the feature data, wherein each of the feature data comprises energy of a corresponding frame of the frames.
19. The apparatus as claimed in claim 18, wherein the first capturer filters out a direct sound section or noises of each of a plurality of response sample sections to obtain the effective signals, wherein the response sample sections are captured from the acoustic spatial response signals based on a result of comparison of the feature data and a transmitting time interval of the acoustic chirp signals, wherein each of the response sample sections comprises the direct sound section and a reflection sound section, and the transmitting time interval of the time points is a constant value or a variable value, wherein the first capturer filters out the direct sound section by filtering out a section earlier than a preset time period in an onset of each of the response sample sections.
20. The apparatus as claimed in claim 17, further comprising: a storage, coupled to the space feature generator and storing a plurality of audio chirp data corresponding to the acoustic chirp signals.
21. The apparatus as claimed in claim 20, further comprising: a transmitting device, coupled to the storage to receive at least one of the audio chirp data and transmitting the acoustic chirp signals into the space based on the audio chirp data.
22. The apparatus as claimed in claim 21, wherein the space feature calculator receives the audio chirp data corresponding to the acoustic chirp signals from the storage and generates the space features based on a plurality of results of comparison between the effective signals and the audio chirp data corresponding to the acoustic chirp signals.
23. The apparatus as claimed in claim 21, wherein frequencies of the acoustic chirp signals transmitted by the transmitting device are within a range from 9 kHz to 18 kHz.
24. The apparatus as claimed in claim 21, wherein at least one of the audio chirp data received from the storage by the transmitting device is at least two of the audio chirp data, so as to form a composite audio chirp data, and the acoustic chirp signals are transmitted into the space based on the composite audio chirp data.
25. The apparatus as claimed in claim 15, wherein the determiner calculates a difference feature based on difference data between the two of the space features and determines whether the status of the space is changed based on the difference feature and a threshold value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are included to provide further understanding, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments and, together with the description, serve to explain the principles of the disclosure.
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS
[0027] Descriptions of the disclosure are given with reference to the exemplary embodiments illustrated with accompanied drawings, wherein same or similar parts are denoted with same reference numerals. In addition, whenever possible, identical or similar reference numbers stand for identical or similar elements in the figures and the embodiments. The language used to describe the directions such as up, down, left, right, front, back or the like in the reference drawings is regarded in an illustrative rather than in a restrictive sense. Thus, the language used to describe the directions is not intended to limit the scope of the disclosure.
[0028]
[0029] It should be noted that, in other embodiments, the apparatus 100 for space status detection may not include the storage 140 and/or the transmitting device 150. People having ordinary skills in the art may make a proper choice based on actual needs or a design, and the disclosure is not limited thereto.
[0030] In the embodiment, the transmitting device 150 may be a speaker, such as a full-band speaker, instead of a tweeter with a special specification. In addition, the transmitting device 150 may be coupled to the storage 140, for example. The storage 140 stores the audio chirp data ACD. Therefore, the transmitting device 150 may transmit the acoustic chirp signals ACS into the space based on at least one of the audio chirp data ACD of the storage 140. The receiving device 110 may be a microphone, such as an omni-directional microphone device. However, the disclosure is not limited thereto. Any component capable of making and receiving a sound may respectively serve as the receiving device 110 and the transmitting device 150 in the embodiment of the disclosure. Besides, the receiving device 110 and the transmitting device 150 may be disposed to the same device or separately disposed at different locations. The disclosure does not intend to impose a limitation on this regard.
[0031] In the embodiment of the disclosure, a speaker and a microphone disposed in a home electronic appliance or a general electronic apparatus may serve as transmitting and receiving devices for impulse signals. Accordingly, the cost of the apparatus is reduced. In addition, since acoustic waves may be received after multiple times of reflection in an indoor space, signal blind angle may be reduced and the directivity of signal transmission and reception is also dealt with.
[0032] In the embodiment, the space feature generator 120 and the determiner 130 may be implemented as hardware, firmware, or software or machine executable programming codes stored in a memory and loaded and executed by a processor or a microprocessor. If the space feature generator 120 and the determiner 130 are implemented as hardware or circuits, each of the space feature generator 120 and the determiner 130 can be implemented by a circuit chip, or can be partially or entirely implemented by a single integrated circuit chip. Nevertheless, it should be understood that the disclosure is not limited thereto. As examples, the memory may be an optical disc, a random access memory, a read only memory, a flash memory, a floppy disk drive, a hard drive, or a magnetic-optical drive, or a remote recording medium or a none-temporary machine readable medium that can be accessed through a network. Examples of the hardware include a general-purpose computer, an application-specific integrated circuit (ASIC) or a field programmable gate array (FPGA). When the aforementioned hardware accesses and executes the software or machine-executable programming codes, the hardware may include a memory device. Examples of the memory device include a random access memory, a read only memory, a flash memory, a flash drive, etc., which is used for storing the aforementioned software or the machine executable program codes.
[0033] Referring to
[0034] In the embodiment, an excitation signal having a higher frequency and a narrower bandwidth (9 kHz to 18 kHz) is adopted, so as to use a lower sound pressure as an excitation source. Moreover, with the higher frequency and the narrower bandwidth, a correlation between the acoustic spatial responses and background noises may be effectively decreased by increasing variation of the excitation sound source within a short period of time as well as variability of the acoustic spatial responses.
[0035] In addition, the space where the apparatus 100 for space status detection is disposed may be an indoor space, and the acoustic spatial responses ARW received by the receiving device 110 may be impulse responses of the impulses in the space. For example, corresponding reverberations may be generated by reflection of the acoustic waves in the space interacting with an object, a ground, a wall surface, and a roof in the space. However, the disclosure does not intend to limit changes in the space. It should be noted that the acoustic spatial responses ARW in the indoor space is different along with the size of the indoor space and variation of the article arrangement therein. Examples are as shown in
[0036] In an embodiment, the ambient noises are broadband and slowly vary through time. Thus, reverberations at close time points do not differ significantly from each other. However, when people move in the space or an event occurs in the space, making the status of the space change drastically, a difference between reverberation samples at close time points may be more significant than the difference between reverberations at close time points caused by the ambient noises. Accordingly, in an embodiment of the disclosure, two of the space features SCP corresponding to different time points are compared to detect a status change in the space. The detection is resistant of full-band noises in an external environment and able to effectively reduce the correlation between the background noises and the acoustic spatial responses. In addition, the detection has a shorter response time and may be promptly initiated without spending time on model-building. The efficiency of use is consequently increased.
[0037]
[0038] In an embodiment, in order to facilitate computing efficiency of the space feature calculator 220, the signal capturer 210 may capture only the effective signal ES in the acoustic spatial response signal ARS. The signal capturer 210 includes a filter 212 and a first capturer 214. The filter 212 is coupled to the receiving device 110 to receive and filter the acoustic spatial response signal ARS. The filter 212 is a bandpass filter, for example, or other similar components also capable of filtering. People having ordinary skills in the art may make suitable modification accordingly based on needs, and the disclosure does not intend to impose a limitation on this regard. The first capturer 214 is coupled to the filter 212, receives a filtered acoustic spatial response signal ARS′, and then captures the effective signal ES from the filtered acoustic spatial response signal ARS′.
[0039] For ease of description, capturing the effective signal ES from the filtered acoustic spatial response signal ARS' is described with reference to the acoustic spatial responses in an embodiment of the disclosure. Referring to
[0040] The first capturer 214 divides the filtered acoustic spatial response signal ARS' into a plurality of frames and calculates feature data of the frames. The feature data include an energy distribution of each of the frames. The energy may be calculated by summing up squared values of amplitudes of all signals in the frame. As shown in
[0041] Based on a result of comparison (e.g., a result of comparison on the magnitudes of energies) and a transmitting time interval of the acoustic chirp signals ACS, the first capturer 214 may capture a desired response sample section from the filtered acoustic spatial response signal ARS′. Referring to
[0042] Referring to
[0043] When the locations of the receiving device 110 and the transmitting device 150 are already known, time required for the acoustic chirp signal ACS to travel from the transmitting device 150 to the receiving device 110 is able to be calculated, and the time required is set as a preset time period T. In an embodiment, the first capturer 214 filters out a section earlier than the preset time period T in an onset of the response sample section, so as to filter out the direct sound section 610. In other embodiments, the first capturer 214 may also determine whether an absolute value of an amplitude of the response sample section is continuously less than an averaged amplitude of the response sample section or a first preset amplitude for a first preset time period T1, determine a signal before the first preset time period T1 as the direct sound section 610, and remove the signal. The disclosure does not intend to limit how the direct sound section is determined. How the direct sound section is determined may be decided based on the actual design or practical needs.
[0044] In the embodiment, the first capturer 214 may further filter out the background noise 640 or a portion of the late reflection sound section 630 of the response sample section, so as to reduce a computing load of the space feature calculator 220. For example, based on a duration of the acoustic chirp signal ACS, such as 7.5 ms, the first capturer 214 may filter out a signal after the response sample section starts for 7.5 ms (or with addition of a buffer time). Alternatively, based on whether the absolute value of the amplitude of the response sample section is continuously less than the averaged amplitude of the response sample section or a second preset amplitude for a second preset time period T2, a sound sensing signal after the second preset time period T2 is filtered out. The disclosure does not intend to limit on filtering of the background noise 640 and how a portion of the late reflection section 630 is selected. Such settings may be determined based on the actual design or practical needs.
[0045] In the embodiment, after the first capturer 214 filters out the direct sound section 610, the background noise 640, and/or a portion of the late reflection sound section 630, a captured effective section 650 is the effective signal ES. In another embodiment, a section after the first capturer 214 filters out the direct sound section 610 is the effective signal ES. In another embodiment, a section after the first capturer 214 filters out the direct sound section 610 and the background noise 640 is the effective signal ES. However, the disclosure is not limited thereto. Which section of the response sample section is filtered out may be determined by the actual design or practical needs.
[0046] Referring to
[0047] Referring to
[0048]
[0049] Referring to
[0050] Referring to
[0051] Therefore, in the embodiment, by receiving the acoustic spatial responses changed in the space from the acoustic chirp signals transmitted periodically or arbitrarily, obtaining the space features of the space based on the acoustic spatial responses, and comparing the space features of the acoustic spatial responses received at different time points to detect the change of the status of the space, the correlation between the acoustic spatial responses and the background noise is decreased. Thus, a difference between household ambient noises and a disturbance event (e.g., entering and exiting of people) in the space becomes distinguishable under the presence of the background noises.
[0052] Referring to
[0053] Referring to
[0054] In addition, sufficient teachings, suggestions and details of implementation for the method for space status detection based on acoustic chirp signals of the embodiment are already provided in the descriptions of the embodiments of
[0055] In view of the foregoing, the disclosure provides a method and an apparatus for space status detection based on acoustic chirp signals. One of the acoustic chirp signals is transmitted into the space at the different time points. Then, the acoustic waves changed in the space from the acoustic chirp signals are sequentially received to generate the acoustic spatial response signals, and the space features of the space are obtained based on the acoustic spatial response signals. The status change of the space is detected by comparing two of the space features. Since the acoustic chirp signals serve as a sensing medium in the disclosure, a conventional full-band speaker and a microphone may serve as the transmitting and receiving devices. Accordingly, the cost for the detection apparatus is reduced. Besides, since the acoustic waves may be received after multiple times of reflection in the space (particularly an indoor space), signal blind angle may be reduced and the directivity of signal transmission and reception is also dealt with. In addition, since the acoustic chirp signals are used in the disclosure, the excitation acoustic source may be changed within a short period of time, thereby making reflection sounds more variable. Moreover, the disclosure compares the space features of the acoustic spatial responses received at different time points. Thus, the detection may be promptly initiated without spending time on model training. Besides, the correlation between the acoustic spatial responses and the background noises is able to be effectively reduced. Consequently, the efficiency of use is increased.
[0056] It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims and their equivalents.