This application claims priority from European No. 15307064.4, entitled “Method For Using A Mobile Device Equipped With At Least Two Microphones for Determining The Direction Of Loudspeakers In A Setup Of A Surround Sound System,” filed on Dec. 18, 2015, the contents of which are hereby incorporated by reference in its entirety.
The invention relates to a method for using a mobile device equipped with at least two microphones for determining the direction of loudspeakers lk in a setup of a surround sound system including N loudspeakers, k=1 . . . N.
For 3D sound reproduction more and more loudspeakers are required for rendering additional audio channels that surround the listener. To ensure the best listener experience, this implicitly requires the correct determination of the direction as part of the position information of each loudspeaker, in order to accurately calibrate the array of speakers and to ensure a correct rendering process.
Currently different methods are available for determination of the direction of arrival, requiring the use of a multi-microphone device. This results in additional costs at user side.
Today the number of smartphones equipped with more than one microphone (two or three) is increasing. A smartphone having at least two microphones is used for determining the direction of a loudspeaker in a surround system setup. The resulting effect is calibration equipment for home theatre setup that is today available in most households.
The advantages of using such mobile devices are:
A problem to be solved by the invention is to provide a cheap measurement of loudspeaker positions in a surround sound setup. This problem is solved by the method disclosed in claim 1 or in claim 2.
Advantageous additional embodiments of the invention are disclosed in the respective dependent claims.
In principle, the inventive method is adapted for using a mobile device equipped with at least two microphones for determining the direction of loudspeakers lk in a setup of a surround sound system including N loudspeakers, k=1 . . . N, wherein said direction is expressed by an azimuth angle ϕk and a polar angle θk, said method including:
In addition, the disclosure pertains secondly to a measurement device for determining ing the direction of loudspeakers lk in a setup of a surround sound system including ing N loudspeakers, k=1 . . . N, adapted to cooperate with a mobile device equipped with at least two microphones, wherein that direction is expressed by an azimuth angle ϕk and a polar angle θk. The mobile device comprises at least one processor configured for:
Advantageously, the at least one processor is further configured for:
Exemplary embodiments of the invention are described with reference to the accompanying drawings, which show in:
measured x/y-plane;
Even if not explicitly described, the following embodiments may be employed in any combination or sub-combination.
The correct calibration of a multi-channel audio system requires localisation of multiple speakers. This includes the determination of the direction and distance relative to the listener position. The distance can be measured as described in EP 2899997 A1 or by optical means using the camera of a smartphone. The direction angles are determined by using an acoustical measurement as described below.
Direction Angles
Assuming that the listener position is located in the coordinate origin of a three-dimensional coordinate system, the direction of each loudspeaker can be described by the azimuth angle ϕ and the polar angle θ in spherical coordinates (r, θ, ϕ), see
The angles (θ, ϕ) can be determined in an interactive way by a device carrying two microphones, or by more devices each carrying one microphone.
Sound Propagation
In the following a microphone pair (m1, m2) with known orientation and a speaker lk with unknown position are considered. If the speaker emits a signal sk(t), the signals captured by the microphones will be attenuated and altered by noise. The so-called Time of Flight (ToF) ΔTk1 is the time the sound wave needs for propagating from the source (speaker lk) to the microphone m1. Using a second microphone m2 the ToF is ΔTk2. The signals at the microphone positions are:
yk1(t)=g(dk1)sk(t−ΔTk1)+n1(t)
yk2(t)=g(dk2)sk(t−ΔTk2)+n2(t)
The function g(dk∘) is an attenuation factor, which describes the dependence of the amplitude on the distance between loudspeaker k and microphone 1 or 2 denoted by dk∘. The amplitudes and the phases of the two signals yk1(t), yk2(t) differ due to the relative positioning of the microphones to the source. The additive terms n1(t) and n2(t) take into account environmental and internal (thermal) noise of the microphones.
Angle Determination
The angle measurements can be integrated in a calibration step of a 3D surround sound loudspeaker setup controlled by a smartphone. The determination of the angles are based on the measurement of the Time Difference of Arrival TDOA. The TDOA for loudspeaker lk for the microphone pair (1,2) is defined as τk=ΔTk1−ΔTk2. This corresponds to the spatial difference Δk=|dk1−dk2|=C|τk| between the two microphones and the loudspeaker with the sound velocity in air as the scaling factor, see
TDOA Measurement
It is known to estimate the TDOA by using a cross-corre-lation (CC) function
Rk(τ)={yk1(t)yk2(t−τ)}=∫+∞−∞Yk1(f)Y*k2(f)exp2πifτdf
with yk(1|2)(t) being the signals captured by the microphones (m1 or m2 for speaker k) and Yk(1|2)(f) being their respective Fourier transforms. The time delay between the captured signals is obtained by searching the peak in the correlation
Known techniques for providing a sharper peak in the measurement and using interpolation for a higher time resolution can be applied.
Calibration Process—Interactive Angle Measurement
In an interactive measurement a smartphone carrying a pair of microphones is used for the direction determination. It is not necessary that the distance d12 (see
The angles ϕk and θk are defined relative to the baseline connecting the two microphones (see
During playback of the signal from the loudspeaker, the user is moving the smartphone in the direction of the loudspeaker. In this case the TDOA can be continuously measured. This implies an ongoing transmission and capturing of the calibration signal. The device carried by the user can provide a graphical feedback like a level meter which increases if the TDOA is converging to zero. As an alternative, a special sound can be played back if TDOA for the microphones is converging to zero.
In an automatic setting the time delay is measured continuously and the angles yielding the minimal time delay are computed as shown in the
In step 81, initial values ϕ0 and θ0 for the azimuth angle ϕk and the polar angle θk are defined, e.g. ϕ0=θ0=0. The processing is continued from step 82 to step 88 with a first loop over angle α for the determination of one of ϕk and θk, e.g. ϕk. Thereafter that loop over angle α is again carried out for the determination of the other one of ϕk and θk, e.g. θk. In step 89 ϕk and θk, k=1 . . . N, for all N loudspeaker positions are output.
In step 83 k=1 is set, and within the following sub-loop over k from step 841 to step 87 k is incremented in step 86 until k>N in step 87.
In a sub-sub-loop beginning in step 841, loudspeaker lk emits a test signal sk(t). In step 842 the smartphone is rotated by a recommended angle, e.g. 45° or 90°, and the corresponding true smartphone rotation angle αk is provided from the related sensors within the smartphone. Then the smartphone microphones capture signals yk1(t) and yk2(t) in step 843, and in step 844 τk(αk) is calculated as described above. By testing step 840 the processing is continued with step 841 for a different smartphone rotation angle, until in step 840 τk=0 or nearly zero, i.e. until the value τk is smaller than a predetermined threshold value. If true, in step 85 the corresponding ϕk or θk, respectively, value is calculated as described above.
Calibration Process—Successive Angle Measurement
In case the distance d12 (see
k=1, . . . , N.
To avoid the ambiguity about in which half space a loudspeaker is located (see
In a practical setting each measurement can be conducted for all loudspeakers before performing the next one, as depicted in the
In step 91, initial values ϕ0 and θ0 for the azimuth angle ϕk and the polar angle θk are defined, e.g. ϕ0=θ0=0. The processing is continued from step 92 to step 96 with a first loop over smart phone position angle α for the determination of one of ϕk and θk, e.g. ϕk. Thereafter that loop over smart phone position angle α is again carried out for the determination of the other one of ϕk and θk, e.g. θk. In step 97 ϕk and θk, k=1 . . . N, for all N loudspeaker positions are output.
In step 93 the current position of the smartphone is determined from the internal sensors of the smartphone. In step 94 k=1 is set and, within the following sub-loop processing over k from step 951 to step 950, k is incremented in step 955 until k>N in step 950.
In step 951 loudspeaker lk emits a test signal sk(t). In step 952 the smartphone microphones are capturing signals yk1(t) and yk2(t). Also using d12, in step 953 the loudspeaker distance difference value Δk and a corresponding smart phone position angle value αk are calculated therefrom as described above, and in step 954 the corresponding ϕk or θk, respectively, value is calculated as described above.
Calibration Process—Determination of Microphone Distance
In order to conduct a successive measurement as described in the preceding section, a necessary precondition is knowledge of the smartphone microphone distance d12. In case this distance is not known in advance it can be determined by an interactive measurement using one loudspeaker k. During the interactive measurement processing described in connection with
Starting from this reference position, the smartphone is rotated by a predefined angle
In this position the loudspeaker distance difference Δk is measured and the microphone distance d12 is calculated by
cf.
Microphone distance d12 is then used in the direction determination of the remaining loudspeakers as described in section Successive angle measurement.
In
In step 105 loudspeaker lk again emits the test or playback signal sk(t). In step 106 the signals yk1(t) and yk2(t) are captured, and in step 107 the loudspeaker distance difference value Δk and the microphone distance value d12(β) are calculated.
The described processing can be carried out by a single processor or electronic circuit, or by several processors or electronic circuits operating in parallel and/or operating on different parts of the complete processing.
The instructions for operating the processor or the processors according to the described processing can be stored in one or more memories. The at least one processor is configured to carry out these instructions.
Number | Date | Country | Kind |
---|---|---|---|
15307064 | Dec 2015 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
20060088174 | Deleeuw et al. | Apr 2006 | A1 |
20120075957 | De Bruijn | Mar 2012 | A1 |
20140169569 | Toivanen | Jun 2014 | A1 |
20140270282 | Tammi | Sep 2014 | A1 |
20160037282 | Giron | Feb 2016 | A1 |
20160198282 | Kim | Jul 2016 | A1 |
20160309258 | Hiscock | Oct 2016 | A1 |
20160309277 | Hiscock | Oct 2016 | A1 |
Number | Date | Country |
---|---|---|
1522868 | Apr 2005 | EP |
2899997 | Jul 2015 | EP |
Number | Date | Country | |
---|---|---|---|
20170180904 A1 | Jun 2017 | US |