The disclosure relates generally to devices, systems, and methods for identifying location, and more particularly it relates to devices, systems, and methods for identifying location by a high-frequency audio signal.
With the rapid progress of electrical devices and the popularity of tablet computers, mobile electronic devices have begun to exhibit the phenomenon of having the display module separated from the host. Therefore, there is a demand for the display module and the host to identify each other after separation. For properly meeting this demand, the technology of adaptive beamforming is the most popular technology for a machine to identify the location of another machine. Generally speaking, we expect to identify the location of another machine by a high-frequency audio signal that human ears can't hear. The technology of adaptive beamforming is based on two audio receiving devices receiving the audio signal that is generated by a machine and then identifying the location of the machine by the phase difference between the audio signals that the two audio receiving devices received.
It is assumed that the frequency of the audio signal generated by the machine is FS, the sampling frequency of two audio receiving devices is FR, the predetermined distance between the two audio receiving devices is D, and the sound speed is VS. Therefore, the limitation of the identification method is Fs×D/Vs<1 such that only the audio signal with a middle and low frequency can be adopted (that is, less than 4 kHz). It does not match our expectation that we want to adopt a high-frequency audio signal that human ears can't hear. In addition, the normal sampling frequency is usually greater than 10 times the frequency of sound. When adopting an audio signal of a high frequency, the complication of the system is increased due to an excessively high sampling frequency. Therefore, we need a location identification device and method which is able to adopt an audio signal of high frequency.
For solving above problems, the invention provides a location identification device, system, and method for identifying location by an audio signal of a high frequency.
In an embodiment, the invention provides a location identification device. The location identification device is adopted in an audio output device, which comprises a first audio receiving device, a second audio receiving device, and a processor. The first audio receiving device samples the audio signal by a sampling frequency to generate a plurality of first sample points. The waveform of the audio signal is a superposition result of a high-frequency signal and an envelope of a characteristic value. The second audio receiving device is separated from the first audio receiving device by a predetermined distance. The second audio receiving device samples the audio signal by the sampling frequency to generate a plurality of second sample points. The processor obtains the first envelope of a first characteristic value according to the first sampling points, and obtains the second envelope of a second characteristic value according to the second sampling points. The processor identifies a location of the audio output device according to the time difference and the amplitude difference between the first characteristic value and the second characteristic value.
In an embodiment, the invention further provides a location identification system. The location identification system comprises an audio output device, a location identification device, and a processor. The audio output device outputs an audio signal. The waveform of the audio signal is a superposition result of a high frequency signal and an envelope of a characteristic value. The location identification device comprises a first audio receiving device and a second audio receiving device. The first audio receiving device samples the audio signal by a sampling frequency to generate a plurality of first sample points. The second audio receiving device is separated from the first audio receiving device by a predetermined distance. The second audio receiving device samples the audio signal by the sampling frequency to generate a plurality of second sample points. The processor obtains the first envelope of a first characteristic value according to the first sampling points, and obtains the second envelope of a second characteristic value according to the second sampling points. The processor identifies the location of the audio output device according to the time difference and amplitude difference between the first characteristic value and the second characteristic value.
In an embodiment, the invention further provides a location identification method. The location identification method is adopted in an audio output device which outputs an audio signal. The location identification method comprises sampling the audio signal to generate a plurality of first sample points by a first audio receiving device with a sampling frequency, in which a waveform of the audio signal is a superposition result of a high frequency signal and an envelope of a characteristic value; sampling the audio signal to generate a plurality of second sample points by a second audio receiving device with the sampling frequency, wherein the second audio receiving device is away from the first audio receiving device at a predetermined distance; obtaining a first envelope according to the first sampling points, in which the first envelope comprises a first characteristic value; obtaining a second envelope according to the second sampling points, in which the second envelope comprises a second characteristic value; and identifying the location from which the audio signal is generated according to the time difference and the amplitude difference between the first characteristic value and the second characteristic value.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
For the sake of clarifying the technical features of the invention in detail, the description below is stated according to a better embodiment of the invention. According to an embodiment of the invention, the audio output device 111 of
The following will be explained for the first audio receiving device 121, and the action of the second audio receiving device 122 is the same.
As shown in
After finding the possible range of the characteristic value by using Eq. 1 to Eq. 5, Eq. 6 and Eq. 7 are further adopted to average twice for eliminating the influence of noise.
As shown in
According to an embodiment of the invention, the obtained KL is 50, and both P and Q specified by the user are 20. That is, m of Eq. 6 is KL+P, which is 70, and u of Eq. 7 is KL−Q, which is 30.
Then, B*L[u, jL] is compared to the envelope w[j], and the corresponding time jLm of the received characteristic point can be obtained by Eq. 8, Eq. 10, and Eq. 11. The amplitude of the received characteristic point can be obtained by Eq. 9.
Similarly, the time jRm received by the second audio receiving device 122 and the amplitude received by the second audio receiving device 122 can be obtained by the same method described above, and the time difference and the amplitude difference between the characteristic points received by the first audio receiving device 121 and the second audio receiving device 122 can be obtained by Eq. 12 and Eq. 13.
According to an embodiment of the invention, n*Y and A*Y are the means of 30 sets of n* and A* respectively. The distance between the audio output device 111 and the first audio receiving device 121 is obtained by Eq. 14, and the distance between the audio output device 111 and the second audio receiving device 122 is obtained by Eq. 15. Then, the distance R and the angle θ are obtained by Eq. 16 and Eq. 17 respectively.
According to an embodiment of the invention, for the location identification system stated above, the signal frequency FS is 18 kHz, and the sampling frequency FR of two audio receiving devices is 48 kHz, under the assumption that the operating temperature is 20 degrees and the speed of sound is 343 m/s. Therefore, the invention mitigates
and the sampling frequency is 2.66 times the signal frequency, which greatly breaks through the limitations of previous technology.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. Those who are skilled in this technology can still make various alterations and modifications without departing from the scope and spirit of this invention. Therefore, the scope of the present invention shall be defined and protected by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
103101237 | Jan 2014 | TW | national |
This Application is a Continuation of pending U.S. application Ser. No. 14/338,716, filed on Jul. 23, 2014, which claims priority of Taiwan Patent Application No. 103101237, filed on Jan. 14, 2014, the entirety of which is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
Parent | 14338716 | Jul 2014 | US |
Child | 15926096 | US |