Sound source localization method, device, equipment and storage medium based on microphone array
By calculating the array phase difference and spectrum phase difference in the microphone array, the incident direction of the sound source is determined optimally, which solves the problem of low sound source positioning resolution in the existing technology and improves the accuracy and calculation efficiency of sound source positioning.
Patent Information
- Application Number
- CN202110616411.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-02
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-06-02
AI Technical Summary
The resolution of existing microphone array sound source localization algorithms (such as the TDOA algorithm) is too low, resulting in low sound source localization accuracy and the inability to effectively calculate the delay of non-integer multiples of sampling intervals.
By obtaining the signals to be processed from the reference element of the microphone array and other elements, performing time-frequency transformation, the array phase difference and spectrum phase difference are calculated, and these differences are combined to optimally determine the incident direction of the sound source.
The accuracy of sound source positioning is improved, the array phase difference and spectrum phase difference are comprehensively considered, the computational complexity is reduced, and the positioning accuracy is enhanced.
Smart Images

Figure CN113514799B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sound source signal processing, and in particular to a sound source localization method, device, equipment and storage medium based on a microphone array. Background Art
[0002] The traditional microphone array signal processing method is divided into two processes: sound source localization and beamforming. The role of sound source localization is to use the original incident signal of the microphone array to calculate the incident direction of the sound source; the role of beamforming is to adjust the parameters of the beamformer according to the original incident signal of the microphone array and the incident direction obtained by sound source localization, so that the beamformer points to the direction of the sound source, ensuring that the signal in the direction of the sound source passes through while suppressing the signals in other directions, thereby improving the signal-to-noise ratio of the output signal.
[0003] Among the existing sound source localization algorithms, the commonly used algorithm is the TDOA (Time Difference of Arrival) algorithm. The TDOA algorithm uses a correlation function in the time domain to calculate the relative time delay between different microphone pairs, and infers the direction of the sound source from all the relative time delays of all microphone pairs and the geometric positions between microphones. However, this sound source localization algorithm can only calculate the time delay of an integer multiple of the sampling interval, the resolution is too low, and the accuracy of sound source localization is low. Summary of the invention
[0004] The technical problem to be solved by the embodiments of the present invention is to provide a sound source localization method, device, equipment and storage medium based on a microphone array to improve the accuracy of sound source localization.
[0005] In order to solve the above technical problems, in a first aspect, an embodiment of the present invention provides a sound source localization method based on a microphone array, and the sound source localization method includes:
[0006] Acquire a reference array element of the microphone array and a signal to be processed of each other array element;
[0007] Calculate the array phase difference and the spectrum phase difference of each other array element relative to the reference array element according to the signal to be processed;
[0008] The incident direction of the sound source is calculated according to the array phase difference and the spectrum phase difference.
[0009] In combination with the first aspect, in a possible implementation manner, obtaining the to-be-processed signal of the reference array element and each other array element of the microphone array specifically includes:
[0010] Acquire incident signals of a reference element and each other element of the microphone array;
[0011] Performing time-frequency transformation on the incident signal to obtain a frequency domain signal;
[0012] The incident signal and the frequency domain signal are used as the signals to be processed.
[0013] In combination with the first aspect, in a possible implementation manner, performing time-frequency transformation on the incident signal is specifically:
[0014] Performing Fourier transform on the incident signal; or,
[0015] Performing a short-time Fourier transform on the incident signal; or,
[0016] The incident signal is subjected to wavelet transformation.
[0017] In combination with the first aspect, in a possible implementation manner, the array phase difference of each other array element relative to the reference array element is calculated specifically by the following steps:
[0018] Calculating the time delay of the incident signal in each of the other array elements relative to the reference array element;
[0019] The array phase difference is calculated according to the time delay and the frequency of each frequency point of the incident signal in each other array element.
[0020] With reference to the first aspect, in a possible implementation manner, calculating the time delay of the incident signal in each of the other array elements relative to the reference array element is specifically:
[0021] The delay is calculated by the following formula:
[0022] τ m =-a T p m / v; where τ m is the time delay of the mth array element relative to the reference array element, a is the incident direction of the incident signal, a T represents the transpose of a, p m is the array element coordinate of the mth array element, and v is the speed of sound.
[0023] With reference to the first aspect, in a possible implementation manner, calculating the array phase difference according to the time delay and the frequency of each frequency point of the incident signal in each other array element is specifically:
[0024] The array phase difference is calculated by the following formula:
[0025] σ(m,n)=τ m f m,n =-a T p m fm,n / v; where σ(m,n) is the array phase difference of the nth frequency point in the mth array element relative to the reference array element, f m,n is the frequency of the nth frequency point in the mth array element.
[0026] In combination with the first aspect, in a possible implementation manner, the incident direction of the sound source is calculated according to the array phase difference and the spectrum phase difference, specifically:
[0027] The incident direction of the incident signal is optimized by the spectrum phase difference and the array phase difference using the following formula:
[0028] Among them, θ is the optimization result, μ(m,n) is the spectral phase of the nth frequency point in the mth array element, μ(1,n) is the spectral phase of the nth frequency point in the reference array element, M is the number of array elements in the microphone array, and N is the frame length of the incident signal.
[0029] In order to solve the above technical problems, in a second aspect, an embodiment of the present invention provides a sound source localization device based on a microphone array, the sound source localization device comprising:
[0030] A signal acquisition module, used to acquire a reference element of the microphone array and a signal to be processed of each other element;
[0031] A signal processing module, configured to calculate, according to the signal to be processed, the array phase difference and the spectrum phase difference of each other array element relative to the reference array element;
[0032] A sound source localization module is used to calculate the incident direction of the sound source according to the array phase difference and the spectrum phase difference.
[0033] In order to solve the above technical problems, in a third aspect, an embodiment of the present invention provides a sound source localization device based on a microphone array, the device comprising a memory, a processor, and a computer program stored in the memory and configured to be executed by the processor, and when the computer program is executed by the processor, the sound source localization method based on the microphone array as described in any one of the first aspects is implemented.
[0034] In order to solve the above technical problems, in a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed, the sound source localization method based on the microphone array as described in any one of the first aspects is implemented.
[0035] Compared with the prior art, the embodiments of the present invention provide a method, device, equipment and storage medium for sound source localization based on a microphone array, which have the following beneficial effects: first, the to-be-processed signals of all array elements of the microphone array are obtained, and the array phase difference and spectrum phase difference of each other array element relative to the reference array element are calculated based on the to-be-processed signals, and then the incident direction of the sound source is optimized by combining the array phase difference and the spectrum phase difference, and the obtained optimal value is used as the incident direction of the sound source, and the array phase difference and the spectrum phase difference are comprehensively considered to locate the sound source, thereby improving the accuracy of sound source localization. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical features of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 It is a flow chart of a preferred embodiment of a sound source localization method based on a microphone array provided by the present invention;
[0038] Figure 2 It is a structural schematic diagram of a preferred embodiment of a sound source localization device based on a microphone array provided by the present invention;
[0039] Figure 3 It is a structural schematic diagram of a preferred embodiment of a sound source localization device based on a microphone array provided by the present invention. DETAILED DESCRIPTION
[0040] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, the specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and examples. The following examples are only used to illustrate the present invention, but are not intended to limit the scope of protection of the present invention. Based on the embodiments of the present invention, other embodiments obtained by those skilled in the art without paying creative work should all belong to the scope of protection of the present invention.
[0041] Figure 1 Shown is a flow chart of a preferred embodiment of a sound source localization method based on a microphone array provided by the present invention.
[0042] like Figure 1 As shown, the sound source localization method includes:
[0043] S11: Acquire a reference element of the microphone array and a signal to be processed of each other element;
[0044] S12: Calculate the array phase difference and spectrum phase difference of each other array element relative to the reference array element according to the signal to be processed;
[0045] S13: Calculate the incident direction of the sound source according to the array phase difference and the spectrum phase difference.
[0046] It should be noted that in actual situations, the microphone array is generally a circular array or a linear array, that is, M microphones (or other acoustic sensors) are all located in the same plane. At this time, when establishing a spatial Cartesian coordinate system, the plane where the array element is located is the XOY plane, and the coordinates of the reference array element are located at the origin of the coordinate system. In the coordinate system, the mth array element is represented by p m =[x m ,y m , z m ] indicates its spatial position.
[0047] When the present invention is implemented specifically, the signals to be processed of all array elements of the microphone array are first obtained, and the array phase difference and spectrum phase difference of each other array element relative to the reference array element are calculated based on the signals to be processed. Then, the incident direction of the sound source is optimized by combining the array phase difference and the spectrum phase difference, and the optimal value obtained is used as the incident direction of the sound source.
[0048] In a possible embodiment, obtaining the to-be-processed signal of the reference array element and each other array element of the microphone array specifically includes:
[0049] Acquire incident signals of a reference element and each other element of the microphone array;
[0050] Performing time-frequency transformation on the incident signal to obtain a frequency domain signal;
[0051] The incident signal and the frequency domain signal are used as the signals to be processed.
[0052] Specifically, the initial input signal obtained by the microphone array is a time domain signal. It is necessary to perform time-frequency transformation on the time domain signal to obtain its frequency domain signal in the frequency domain, and then use the time domain signal and the frequency domain signal together as the signal to be processed.
[0053] Furthermore, the time-frequency transformation of the incident signal is specifically performed as follows:
[0054] Performing Fourier transform on the incident signal; or,
[0055] Performing a short-time Fourier transform on the incident signal; or,
[0056] The incident signal is subjected to wavelet transformation.
[0057] As an example, for an incident signal with a frame length of N points in each frame x after time domain framing, the frequency domain array X can be obtained through Fourier transform to have a length of N / 2+1 points, that is, X(n), 0≤n≤N / 2. When the sampling rate Fs of the microphone is known (generally Fs=16000Hz), the frequency of the nth frequency point in the mth array element of the frequency domain array X can be obtained as f m,n =Fs*n / N, and the value of the nth frequency point of the reference array element can be obtained as X(1,n)=p 1,n +q 1,n i, its phase is μ(1,n)=arctan(q 1,n / p 1,n ), the value of the nth frequency point of the mth array element is X(m,n)=p m,n +q m,n i, its phase is μ(m,n)=arctan(q m,n / p m,n ), i is the imaginary unit.
[0058] In a possible embodiment, the array phase difference of each other array element relative to the reference array element is calculated specifically by the following steps:
[0059] Calculating the time delay of the incident signal in each of the other array elements relative to the reference array element;
[0060] The array phase difference is calculated according to the time delay and the frequency of each frequency point of the incident signal in each other array element.
[0061] Further, the calculating of the time delay of the incident signal in each of the other array elements relative to the reference array element is specifically:
[0062] The delay is calculated by the following formula:
[0063] τ m =-a T p m / v; where τ m is the time delay of the mth array element relative to the reference array element, a is the incident direction of the incident signal, a T represents the transpose of a, p m is the array element coordinate of the mth array element, and v is the speed of sound.
[0064] Further, the calculating the array phase difference according to the time delay and the frequency of each frequency point of the incident signal in each other array element is specifically:
[0065] The array phase difference is calculated by the following formula:
[0066] σ(m,n)=τm f m,n =-a T p m f m,n / v; where σ(m,n) is the array phase difference of the nth frequency point in the mth array element relative to the reference array element, f m,n is the frequency of the nth frequency point in the mth array element.
[0067] As an example, the incident direction of the incident signal is Its modulus is 1, then the delay τ of the mth array element relative to the reference array element is m =-a T p m / v, and then calculate the array phase difference of each other array element relative to the reference array element based on the time delay and frequency: σ(m,n)=τ m f m,n =-a T p m f m,n / v. When localizing a sound source at a specific angle, in order to reduce the amount of calculation, the sound source pitch angle can also be ignored. For example, the pitch angle θ is fixed to π / 2. In this case, the incident direction a of the sound source is simplified to
[0068] In a possible embodiment, the incident direction of the sound source is calculated according to the array phase difference and the spectrum phase difference, specifically:
[0069] The incident direction of the incident signal is optimized by the spectrum phase difference and the array phase difference using the following formula:
[0070] Among them, θ is the optimization result, μ(m,n) is the spectral phase of the nth frequency point in the mth array element, μ(1,n) is the spectral phase of the nth frequency point in the reference array element, M is the number of array elements in the microphone array, and N is the frame length of the incident signal.
[0071] It should be noted that the array phase difference refers to the phase difference determined by the geometric position relationship between the array and the sound source when the incident direction of the sound source is determined. That is, when the sound source is incident from a certain direction, the phase difference should exist, which is also the true value. The true value is calculated by distance / speed of sound. One sound source direction corresponds to one true value.
[0072] The spectral phase difference can be regarded as a measurement value obtained only from the characteristics of the signal itself, but this measurement value is interfered by noise. If there is no noise interference at all, the obtained spectral phase difference and the true value corresponding to a certain sound source direction are equal. However, due to the existence of noise, the present invention proposes to find the true value closest to the interfered value among all true values by traversing the argmin function. The direction corresponding to the closest true value is the incident direction of the sound source.
[0073] Specifically, from the previous formula, we can get that σ(m,n)=τ m f m,n =-a T p m f m,n / v,μ(m,n)=arctan(q m,n / p m,n ), μ(1,n)=arctan(q 1,n / p 1,n ), when receiving the input signal, first calculate the spectral phase difference between the mth array element and the reference array element through the μ(m,n)-μ(1,n) part, then traverse all incident directions a, find the a that minimizes the value of θ, and determine it as the incident direction of the sound source.
[0074] An embodiment of the present invention provides a sound source localization method based on a microphone array. First, the to-be-processed signals of all array elements of the microphone array are obtained, and the array phase difference and the spectrum phase difference of each other array element relative to the reference array element are calculated according to the to-be-processed signals. Then, the incident direction of the sound source is calculated in combination with the array phase difference and the spectrum phase difference to determine the incident direction of the sound source. The sound source is located by comprehensively considering the array phase difference and the spectrum phase difference, thereby improving the accuracy of sound source localization. At the same time, the time delay is directly calculated through the positional relationship of the array, and the final sound source direction is traversed through the argmin function, without the need for a large number of calculations, and the complexity of the calculation is also reduced.
[0075] It should be understood that the present invention implements all or part of the processes in the above-mentioned sound source localization method based on microphone array, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned sound source localization method based on microphone array can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signal and telecommunication signal.
[0076] Figure 2 The figure shows a schematic structural diagram of a preferred embodiment of a sound source localization device based on a microphone array provided by the present invention. The sound source localization device can implement the entire process of the sound source localization method based on a microphone array described in any of the above embodiments and achieve the corresponding technical effects.
[0077] like Figure 2 As shown, the sound source localization device includes:
[0078] A signal acquisition module 21, used to acquire a reference element of the microphone array and a signal to be processed of each other element;
[0079] A signal processing module 22, configured to calculate, according to the signal to be processed, the array phase difference and the spectrum phase difference of each other array element relative to the reference array element;
[0080] The sound source localization module 23 is used to calculate the incident direction of the sound source according to the array phase difference and the spectrum phase difference.
[0081] In a possible embodiment, the signal acquisition module 21 specifically includes:
[0082] A time domain signal acquisition unit, used to acquire an incident signal of a reference element and each other element of the microphone array;
[0083] A frequency domain signal acquisition unit, used for performing time-frequency transformation on the incident signal to obtain a frequency domain signal;
[0084] A signal integration unit is used to use the incident signal and the frequency domain signal as the signal to be processed.
[0085] In a possible embodiment, the frequency domain signal acquisition unit is specifically used to:
[0086] Performing Fourier transform on the incident signal; or,
[0087] Performing a short-time Fourier transform on the incident signal; or,
[0088] The incident signal is subjected to wavelet transformation.
[0089] In a possible embodiment, the signal processing module 22 specifically calculates the array phase difference of each array element relative to the reference array element through the following steps:
[0090] Calculating the time delay of the incident signal in each of the other array elements relative to the reference array element;
[0091] The array phase difference is calculated according to the time delay and the frequency of each frequency point of the incident signal in each other array element.
[0092] In a possible embodiment, the signal processing module 22 specifically calculates the time delay of the incident signal in each of the other array elements relative to the reference array element through the following steps:
[0093] The delay is calculated by the following formula:
[0094] τ m =-a T p m / v; where τ m is the time delay of the mth array element relative to the reference array element, a is the incident direction of the incident signal, a T represents the transpose of a, p m is the array element coordinate of the mth array element, and v is the speed of sound.
[0095] In a possible embodiment, the signal processing module 22 specifically calculates the array phase difference through the following steps:
[0096] The array phase difference is calculated by the following formula:
[0097] σ(m,n)=τ m f m,n =-a T p m f m,n / v; where σ(m,n) is the array phase difference of the nth frequency point in the mth array element relative to the reference array element, f m,nis the frequency of the nth frequency point in the mth array element.
[0098] In a possible embodiment, the sound source localization module 23 calculates the incident direction of the sound source through the following steps:
[0099] The incident direction of the incident signal is optimized by the spectrum phase difference and the array phase difference using the following formula:
[0100] Among them, θ is the optimization result, μ(m,n) is the spectral phase of the nth frequency point in the mth array element, μ(1,n) is the spectral phase of the nth frequency point in the reference array element, M is the number of array elements in the microphone array, and N is the frame length of the incident signal.
[0101] An embodiment of the present invention provides a sound source localization device based on a microphone array, which comprehensively considers the array phase difference and the spectrum phase difference to locate the sound source, thereby improving the accuracy of sound source localization; at the same time, the time delay is directly calculated through the positional relationship of the array, and the final sound source direction is traversed through the argmin function, without the need for a large amount of calculation, and the complexity of the calculation is also reduced.
[0102] Figure 3 The figure shows a schematic structural diagram of a preferred embodiment of a sound source localization device based on a microphone array provided by the present invention. The sound source localization device can implement the entire process of the sound source localization method based on a microphone array described in any of the above embodiments and achieve the corresponding technical effects.
[0103] like Figure 3 As shown, the sound source localization device includes a memory 31 and a processor 32; wherein the memory 31 stores a computer program, and the computer program is configured to be executed by the processor 32, and when executed by the processor 32, the sound source localization method based on the microphone array as described in any of the above embodiments is implemented.
[0104] The sound source localization device based on the microphone array provided in the embodiment of the present invention can improve the accuracy of sound source localization.
[0105] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 31 and executed by the processor 32 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the sound source localization device based on the microphone array.
[0106] The processor 32 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0107] The memory 31 can be used to store the computer program and / or module, and the processor 32 realizes various functions of the sound source localization device based on the microphone array by running or executing the computer program and / or module stored in the memory 31, and calling the data stored in the memory. The memory 31 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0108] It should be noted that the above-mentioned sound source localization device based on microphone array includes, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 3 The structural diagram is merely an example of the above-mentioned sound source localization device based on a microphone array, and does not constitute a limitation on the sound source localization device based on a microphone array, and may include more components than shown in the figure, or a combination of certain components, or different components.
[0109] The above description is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto. It should be pointed out that for those skilled in the art, several equivalent obvious variations and / or equivalent substitutions can be made without departing from the technical principles of the present invention. These obvious variations and / or equivalent substitutions should also be regarded as the protection scope of the present invention.
Claims
1. A sound source localization method based on a microphone array, characterized in that: include: Acquire a reference array element of the microphone array and a signal to be processed of each other array element; The array phase difference and the spectrum phase difference of each other array element relative to the reference array element are calculated according to the signal to be processed; wherein the array phase difference is calculated based on the frequency of each frequency point in each other array element; Calculating the incident direction of the sound source according to the array phase difference and the spectrum phase difference; The incident direction of the sound source is calculated according to the array phase difference and the spectrum phase difference, specifically: The incident direction of the incident signal in the signal to be processed is optimized by the spectrum phase difference and the array phase difference using the following formula: ;in, To find the best result, is the array phase difference of the nth frequency point in the mth array element relative to the reference array element, is the spectrum phase of the nth frequency point in the mth array element, is the spectrum phase of the nth frequency point in the reference array element, M is the number of array elements in the microphone array, and N is the frame length of the incident signal.
2. The method for sound source localization based on microphone array according to claim 1, characterized in that: The obtaining of the to-be-processed signal of the reference array element and each other array element of the microphone array specifically includes: Acquire incident signals of a reference element and each other element of the microphone array; Performing time-frequency transformation on the incident signal to obtain a frequency domain signal; The incident signal and the frequency domain signal are used as the signals to be processed.
3. The method for sound source localization based on microphone array according to claim 2, characterized in that: The time-frequency transformation of the incident signal is specifically performed as follows: Performing Fourier transform on the incident signal; or, Performing a short-time Fourier transform on the incident signal; or, The incident signal is subjected to wavelet transformation.
4. The method for sound source localization based on microphone array according to claim 2, characterized in that: The array phase difference of each other array element relative to the reference array element is specifically calculated by the following steps: Calculating the time delay of the incident signal in each of the other array elements relative to the reference array element; The array phase difference is calculated according to the time delay and the frequency of each frequency point of the incident signal in each other array element.
5. The method for sound source localization based on microphone array according to claim 4, characterized in that: The calculating of the time delay of the incident signal in each of the other array elements relative to the reference array element is specifically: The delay is calculated by the following formula: ;in, is the delay of the mth array element relative to the reference array element, is the incident direction of the incident signal, express The transpose of is the array element coordinate of the mth array element, is the speed of sound.
6. The method for sound source localization based on microphone array according to claim 5, characterized in that: The calculating the array phase difference according to the time delay and the frequency of each frequency point of the incident signal in each other array element is specifically: The array phase difference is calculated by the following formula: ;in, is the array phase difference of the nth frequency point in the mth array element relative to the reference array element, is the frequency of the nth frequency point in the mth array element.
7. A sound source localization device based on a microphone array, characterized in that: include: A signal acquisition module, used to acquire a reference element of the microphone array and a signal to be processed of each other element; A signal processing module, configured to calculate the array phase difference and the spectrum phase difference of each other array element relative to the reference array element according to the signal to be processed; wherein the array phase difference is calculated from the frequency of each frequency point in each other array element; A sound source localization module, used to calculate the incident direction of the sound source according to the array phase difference and the spectrum phase difference; The sound source localization module is also used for: The incident direction of the incident signal in the signal to be processed is optimized by the spectrum phase difference and the array phase difference using the following formula: ;in, To find the best result, is the array phase difference of the nth frequency point in the mth array element relative to the reference array element, is the spectrum phase of the nth frequency point in the mth array element, is the spectrum phase of the nth frequency point in the reference array element, M is the number of array elements in the microphone array, and N is the frame length of the incident signal.
8. A sound source localization device based on a microphone array, characterized in that: The device includes a memory, a processor, and a computer program stored in the memory and configured to be executed by the processor, and when the computer program is executed by the processor, the method for sound source localization based on a microphone array according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the sound source localization method based on the microphone array according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method of estimating sound arrival direction and apparatus of estimating sound arrival direction
CN101122636A
Sound source direction estimation apparatus and sound source direction estimation method
CN104865550A
Sound source identification method and device
CN110047507A
Device and method for estimating direction of arrival
CN110226101A
Sound source distance judgment method and device, terminal equipment and storage medium
CN112540347A
