The present disclosure relates to signal processing technology, in particular to a method and an apparatus for forming a differential beam, a method and an apparatus for processing a signal, and a chip.
At present, in order to better meet call requirements, hands-free devices and head-mounted devices are generally set with a microphone array to enhance voice processing. The microphone array, formed by a set of microphones arranged in different positions in space in a certain way, may receive spatial signals, sample the spatially distributed field signals, and obtain the spatial discrete observation data of the signal source, and use the spatial information in the data for algorithm processing to enhance the desired voice and suppress useless interference and noise.
For a small omnidirectional dual microphone array, the signals of the two microphones may be processed through a difference algorithm to enhance the voice signal.
The inventor found that there are at least the following problems in existing technologies: the existing differential algorithm is only applicable to a case where a distance between the front and rear microphones in the microphone array is less than 2.5 cm. and may not guarantee a constant beam characteristics when the distance between the front and rear microphones is slightly greater than 2.5 cm.
Some embodiments of the present disclosure provide a method and an apparatus for forming a differential beam, a method and an apparatus for processing a signal, and a chip, to ensure a constant beam characteristic of a differential beam forming signal of microphone arrays of different specifications as much as possible.
An embodiment of the present disclosure provides a method for forming a differential beam, including: obtaining a differential beam forming signal according to an input signal acquired by two microphones in a microphone array; and performing at least a nonlinear adjustment on an amplitude of the differential beam forming signal based on a distance between the two microphones and a signal frequency of the input signal to obtain an adjusted differential beam forming signal.
An embodiment of the present disclosure further provides a method for processing a signal, including: correcting a sound signal collected by the two microphones in the microphone array to obtain the input signal; performing a differential beam forming processing on the input signal based on the above-described method for forming a differential beam, and obtaining an adjusted differential beam forming signal; and post-filtering the adjusted differential beam forming signal.
An embodiment of the present disclosure further provides an apparatus for forming a differential beam, including: a forward differential filter and a backward differential filter, configured to receive an input signal acquired by two microphones in a microphone array; an adaptive filter connected to the backward differential filter; an adder connected to the forward differential filter and the adaptive filter respectively; wherein the input signal is processed by the forward differential filter, the backward differential filter and the adaptive filter to output by the adder to obtain a differential beam forming signal; and a compensation filter connected to the adder, configured to perform a nonlinear adjustment on at least an amplitude of the differential beam forming signal based on a distance between the two microphones and a signal frequency of the input signal to obtain an adjusted differential beam forming signal.
An embodiment of the present disclosure further provides an apparatus for processing signal, including: a corrector, configured to correct a sound signal collected by the two microphones in the microphone array to obtain the input signal; the above-described apparatus for forming a differential beam, configured to perform a differential beam forming processing on the input signal and obtain an adjusted differential beam forming signal; and a post-filter, configured to post-filter the adjusted differential beam forming signal.
An embodiment of the present disclosure further provides a chip, including the above-described apparatus for processing a signal.
An embodiment of the present disclosure further provides an electronic device, including a microphone array and the above-described chip. The microphone array includes at least two microphones, and the chip is connected to each microphone.
Compared with existing technologies, the input signal is acquired by the two microphones of the microphone array in the embodiment of the present disclosure, and then the differential beam forming signal is obtained according to the input signal acquired by the two microphones, and then at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones and the signal frequency of the input signals to obtain the adjusted differential beam forming signal. In other words, this embodiment provides an adjustment method to ensure the constant beam characteristic of the differential beam forming signal for microphone arrays of different specifications as much as possible after at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones and the signal frequency of the input signal.
For example, performing at least the nonlinear adjustment on the amplitude of the differential beam forming signal based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal, includes: performing the nonlinear adjustment on the amplitude of the differential beam forming signal and an adjustment on a phase of the differential beam forming signal respectively based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal. This embodiment provides a specific implementation mode of performing at least the nonlinear adjustment on the amplitude of the differential beam forming signal based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal.
For example, performing the nonlinear adjustment on the amplitude of the differential beam forming signal and the adjustment on the phase of the differential beam forming signal respectively based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal, includes: performing the nonlinear adjustment on the amplitude of the differential beam forming signal and a linear adjustment on the phase of the differential beam forming signal respectively based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal. This embodiment provides a specific implementation mode of performing the nonlinear adjustment on the amplitude of the differential beam forming signal and the adjustment on the phase of the differential beam forming signal respectively based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal.
For example, performing the nonlinear adjustment on the amplitude of the differential beam forming signal and the linear adjustment on the phase of the differential beam forming signal respectively based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal, includes: adjusting the differential beam forming signal based on a preset compensation filter to obtain the adjusted differential beam forming signal, a system function of the compensation filter being
where τ=d/c, d is the distance between the two microphones, c is a sound propagation speed in the air, and ω is a signal angular frequency of the input signal. This embodiment provides a specific implementation mode of performing the nonlinear adjustment on the amplitude of the differential beam forming signal and the linear adjustment on the phase of the differential beam forming signal respectively based on the distance between the two microphones and the signal frequency of the input signal to obtain the adjusted differential beam forming signal.
For example, obtaining the differential beam forming signal according to the input signal acquired by the two microphones in the microphone array, includes: determining a sound source position according to the input signal; determining a beam forming mode according to the sound source position; and processing the input signal according to the determined beam forming mode and outputting the differential beam forming signal. This embodiment provides a specific implementation mode of obtaining the differential beam forming signal according to the input signal acquired by the two microphones in the microphone array.
For example, determining the beam forming mode according to the sound source position includes: determining that the beam forming mode is a fixed differential beam forming mode if the sound source position belongs to a preset target sound source range; and determining that the beam forming mode is an adaptive differential beam forming mode if the sound source position belongs to a preset interference range. This embodiment provides a specific implementation mode of determining the beam forming mode according to the sound source position.
For example, the method for forming a differential beam is applied to the apparatus for forming a differential beam. The apparatus for forming a differential beam at least includes a forward differential filter for receiving the input signal, a backward differential filter for receiving the input signal, an adaptive filter connected to the backward differential filter, an adder connected to the forward differential filter and connected to the adaptive filter respectively, and a compensation filter connected to the adder. In the fixed differential beam forming mode, a coefficient of the adaptive filter is a fixed value. In the adaptive method for forming a differential beam, the coefficient of the adaptive filter is adaptively changed.
For example, when the beam forming mode is the fixed differential beam forming mode, the output differential beam forming signal is an 8-shaped beam. In a heart-shaped beam adopted in the existing technology, a beam distortion is easy to occur for the microphone array of larger specifications, so that the amplitude of the beam in the target sound source direction is smaller than the amplitude of the beam in the non-target sound source direction. In this embodiment, the 8-shaped beam is adopted, which has a narrow beam width and can improve the problem that the amplitude of the differential beam forming signal in the target sound source direction is smaller than the amplitude of the differential beam forming signal in the non-target sound source direction.
For example, the two microphones are a first microphone and a second microphone respectively, and a distance between the first microphone and the target sound source is smaller than a distance between the second microphone and the target sound source. A perpendicular bisector of a connecting line of the two microphones divides the two microphones into two different half-planes, the target sound source range is a half-plane where the first microphone is located, and the interference range is a half-plane where the second microphone is located. This embodiment provides a specific implementation mode of dividing the target sound source range and the interference range.
For example, the distance between the two microphones is greater than or equal to 2.5 cm. In this embodiment, compared with the existing method for forming a differential beam, the method for forming a differential beam in the present disclosure can still maintain the constant beam characteristics of the differential beam forming signal for the microphone array in which the distance between the two microphones is greater than or equal to 2.5.
One or more embodiments are described as examples with reference to the corresponding figures in the accompanying drawings, and the examples do not constitute a limitation on the embodiments. Elements with the same reference numerals in the accompanying drawings represent similar elements. The figures in the accompanying drawings do not constitute a proportion limitation unless otherwise stated.
In order to make objectives, technical solutions and advantages of the present disclosure clearer, some embodiments of the present disclosure will be explained below in detail with reference to accompanying drawings and embodiments. It should be understood that specific embodiments described herein only explain the disclosure but do not constitute a limitation on the disclosure.
A first embodiment of the present disclosure relates to a method for forming a differential beam, which is applied to an electronic device including a microphone array. The electronic device may be a head-mounted device, an earphone, or a hearing aid, and the like. The microphone array includes one or more sets of microphones, and each set of microphones includes two microphones. In this embodiment and subsequent embodiments, a microphone array including one set of microphones is taken as an example for description. For a microphone array including multiple sets of microphones, one set of microphones may be turned on as desired during use, which is also applicable to the method for forming a differential beam in the present disclosure. In addition, it should be noted that the microphone arrays which the method for forming a differential beam is applied to according to various embodiments of the present disclosure are all microphone arrays suitable for noise suppression in a differential manner, that is, generally speaking, a distance between the two microphones is less than or equal to 6 cm.
Taking the earphone as the electronic device as an example, the microphone array in the earphone is in a normal use position when a user wears the earphone, and the user's mouth is a target sound source. One of the two microphones faces to the user's mouth to receive a signal in a direction of the user's mouth, while the other microphone faces away from the user's mouth, which is mainly used to receive a signal in an opposite direction of the user's mouth.
A specific flow of the method for forming a differential beam in this embodiment is shown in
In step 101, a differential beam forming signal is obtained according to an input signal acquired by two microphones in a microphone array.
Specifically, a first microphone and a second microphone respectively acquire an input signal of a target sound source and respectively input the input signal into an apparatus for forming a differential beam which the method for forming a differential beam is applied to according to the present disclosure, so as to obtain the differential beam forming signal.
It should be noted that, in this embodiment, after the two microphones collect the input signals of the target sound source, a Fourier transform is performed on the input signals collected by the two microphones. The input signal of each microphone is transformed from a time domain signal to a frequency domain signal, which is taken as the signal input into the apparatus for forming a differential beam.
In step 102, a nonlinear adjustment is performed on at least an amplitude of the differential beam forming signal based on a distance between the two microphones and a signal frequency of the input signal to obtain the adjusted differential beam forming signal.
Specifically, adjusting the differential beam forming signal includes adjusting both an amplitude and a phase of the differential beam forming signal. When the amplitude of the differential beam forming signal is adjusted, at least the amplitude of the differential beam forming signal is adjusted nonlinearly based on the distance between the two microphones and the signal frequency of the input signal. When the phase of the differential beam forming signal is adjusted, the phase of the differential beam forming signal is adjusted based on the distance between the two microphones and the signal frequency of the input signal. In an example, the phase of the differential beam forming signal may be linearly adjusted based on the distance between the two microphones and the signal frequency of the input signal. After the amplitude and the phase of the differential beam forming signal is adjusted, the adjusted differential beam forming signal is obtained.
In an example, when the amplitude and the phase of the differential beam forming signal is adjusted, the differential beam forming signal is adjusted based on a preset compensation filter to obtain the adjusted differential beam forming signal. A system function of the compensation filter is
where τ=d/c, d is the distance between the two microphones, c is a sound propagation speed in the air, and ω is a signal angular frequency of the input signal, which is proportional to the frequency and is 2πtimes of the frequency.
In an example, the distance between the two microphones in the microphone array is greater than or equal to 2.5 cm. Compared with the existing method for forming a differential beam, the method for forming a differential beam in the present disclosure may still maintain the constant beam characteristics of the differential beam forming signal.
The apparatus for forming a differential beam which the method for forming a differential beam applied to according to this embodiment is described as an example. The apparatus for forming a differential beam may be a apparatus of a chip in an electronic device. Referring to
In this embodiment, an amplitude expression of the target sound source is denoted as S(ω), a direction vector of the target sound source is
and a system function of the forward differential filter 1 is Hf(ω)=[1, −e−jωτ]T, a system function of the backward differential filter 2 is Hb(ω)=[−ejωτ,1]T, and the system function of the compensation filter is
where θ is an angle of the target sound source deviating from the direction facing to the first microphone 10, and τ=d/c, where d is the distance between the two microphones, c is the sound propagation speed in the air, and ω is the signal angular frequency of the input signal.
In step 101, the first microphone 10 and the second microphone 20 acquires the input signals of the target sound source, and then respectively input the input signals to the apparatus for forming a differential beam. The signal obtained after passing through the forward differential filter 1, that is, the signal output by the forward differential filter 1 is
The signal obtained after passing through the backward differential filter 2, that is, the signal output by the backward differential filter 2 is
The signal CB(ω,θ) output by the backward differential filter 2 is input to the adaptive filter 3, and β represents a coefficient of the adaptive filter 3, so that the signal output by the adaptive filter 3 may be obtained as βCB(ω,θ).
Then, the signal βCB(ω,θ) output by the adaptive filter 3 and the signal CF(ω,θ) output by the forward differential filter 1 are respectively input to the adder 4, and the signal βCB(ω,θ) output by the adaptive filter 3 is subtracted from the signal CF(ω,θ) output by the forward differential filter 1 as an output of the adder 4, that is, the differential beam forming signal
In step 102, the differential beam forming signal Y(ω,θ) is input to the compensation filter 5 to obtain the adjusted differential beam forming signal
After the differential beam forming signal Y(ω,θ) is input to the compensation filter 5, it is necessary to make the adjusted differential beam forming signal Y′ (ω,θ) better restore the signal in a target sound source direction. In this embodiment, the user's mouth is the target sound source. The first microphone 10 faces to the user's mouth to receive the signal in a direction of the user's mouth, which may be regarded as facing to the direction of the user's mouth, that is, θ=0 is the target sound source direction. Therefore, in order to better restore the signal in the target sound source direction, when θ=0, Y′ (ω,θ)=S(ω) needs to be satisfied. Thus, the system function of the compensation filter 5 may be derived as
As shown in
Compared with existing technologies, the input signal is acquired by the two microphones of the microphone array in this embodiment, and then the differential beam forming signal is obtained according to the input signal acquired by the two microphones, and then at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones and the signal frequency of the input signals to obtain the adjusted differential beam forming signal. In other words, this embodiment provides an adjustment method. For microphone arrays of different specifications, the constant beam characteristic of the differential beam forming signal can be ensured as much as possible after at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones and the signal frequency of the input signal.
A second embodiment of the present disclosure relates to a method for forming a differential beam. This embodiment is a refinement on the basis of the first embodiment. The main refinement lies in that it provides a specific implementation mode to obtain the differential beam forming signal according to the input signal obtained by the two microphones in the microphone array.
The specific flow of the method for forming a differential beam in this embodiment is shown in
Step 201 includes the following sub-steps:
In sub-step 2011, a sound source position is determined according to the input signal.
Specifically, according to the differential beam forming signal
calculated in the first embodiment, the differential beam forming signal is 0 at a null position of the differential beam forming signal, and θnull represents an angle deviating from the direction facing to a first microphone 11 at the null position, that is, when θ=θnull, Y(ω,θnull)=0, it can be concluded that:
The equation is solved to obtain
It can be seen that β changes with θnull, so θnull may also be controlled by controlling β, that is, the null position of the differential beam forming signal may be controlled by controlling β. In this way, the beam diagram of the differential beam forming signal may be controlled. In solving β, it is necessary to minimize the differential beam forming signal Y(ω,θ) in a mean square sense, that is,
A wiener solution
is obtained, where RC
It can be seen from the above that the value of β may be obtained from the signal CF(ω,θ) output by the forward differential filter 4 and the signal CB(ω,θ) output by the backward differential filter 2, so that CF(ω,θ) and CB(ω,θ) may be calculated from the input signals of the two microphones, and then the value of β may be obtained.
Then the sound source position may be determined according to the value of β.
In an example, referring to
When |β|>1, it is determined that the sound source position belongs to a preset target sound source range. When |β|<1, it is determined that the sound source position belongs to a preset interference range.
In sub-step 2012, a beam forming mode is determined according to the sound source position.
Specifically, when |β|>1, the sound source position belongs to the target sound source range, and the input signal comes from the front half plane. At this time, it is considered that the received signal contains the signal of the target sound source and may not be nulled, so a fixed differential beam forming mode is adopted as the beam forming mode. At this time, the output differential beam forming signal is an 8-shaped beam. As shown in
it may be obtained that β=1 in the 8-shaped beam. Therefore, in this embodiment, when β>1, set β=1, and when β<−1, set β=−1, that is, set an absolute value of a coefficient β of the adaptive filter 5 to be 1, so that the formed differential beam forming signal is the 8-shaped beam. In a heart-shaped beam adopted in the existing technologies, a beam distortion is easy to occur for the microphone array with larger specifications, so that the amplitude of the beam in the target sound source direction is smaller than that in the amplitude of the non-target sound source direction. In the present disclosure the 8-shaped beam is adopted, which has a narrow beam width and may improve the problem that the amplitude of the differential beam forming signal in the target sound source direction is smaller than that in the non-target sound source direction. Herein, in the fixed differential beam forming mode, the coefficient of the adaptive filter 5 is a fixed value. That is, the fixed differential beam forming mode may be understood as that the input signals of the two microphones are respectively differentiated by the forward differential filter 1 and the backward differential filter 2, and the signal differentiated by the backward differential filter 2 is input to the adaptive filter 3 with a fixed coefficient. After the signal output by the adaptive filter 3 and the signal output by the forward differential filter 1 are input to the adder 4, the adder 4 outputs the differential beam forming signal.
When |β|<1, the sound source position belongs to the preset interference range, and the input signal comes from the rear half plane. At this time, the received signal is considered as an interference signal and needs to be nulled. The beam forming mode is determined as an adaptive differential beam forming mode, and the calculated value of β is taken as the coefficient of the adaptive filter 5, so that the interference signal may be suppressed by adaptive nulling. Herein, in the adaptive differential beam forming mode, the coefficient of the adaptive filter 5 is adaptively changed. That is to say, the adaptive differential beam forming mode may be understood as that the input signals of the two microphones are differentiated by the forward differential filter 1 and the backward differential filter 2 respectively. The signals differentiated by the backward differential filter 2 are input to the adaptive filter 3 with an adaptively changed coefficient. After the signal output by the adaptive filter 3 and the signal output by the forward differential filter 1 are input to the adder 4, the adder 4 outputs the differential beam forming signal.
In sub-step 2013, the input signal is processed according to the determined beam forming mode, and the differential beam forming signal is output.
Specifically, the input signals acquired by the first microphone 10 and the second microphone 20 are processed according to the beam forming mode determined in the sub-step 2012, and the corresponding differential beam forming signals are output.
In step 202, a nonlinear adjustment is performed on at least an amplitude of the differential beam forming signal based on a distance between the two microphones and a signal frequency of the input signal to obtain the adjusted differential beam forming signal.
Specifically, step 202 is substantially the same as step 102 in the first embodiment, and will not be repeated here.
Compared with the first embodiment, this embodiment provides a specific implementation mode of obtaining the differential beam forming signal according to the input signal acquired by the two microphones in the microphone array.
A third embodiment of the present disclosure relates to a method for processing a signal, which is applied to an electronic device including a microphone array. The electronic device may be a head-mounted device, an earphone, or a hearing aid, and the like. The microphone array includes one or more sets of microphones, and each set of microphones includes two microphones. In this embodiment and subsequent embodiments, a microphone array including one set of microphones is taken as an example for description. For a microphone array including multiple sets of microphones, one set of microphones may be turned on as desired during use, which is also applicable to the method for forming a differential beam in the present disclosure.
The specific flow of the method for processing a signal in this embodiment is shown in
In step 301, a sound signal collected by the two microphones in the microphone array is corrected to obtain the input signal.
Specifically, an amplitude and a phase of the sound signals collected by the two microphones are corrected to obtain the input signal, so that the input signal meets the use requirements of the method for forming a differential beam in the first embodiment or the second embodiment. For example, in this embodiment, the amplitude and the phase of one of the two sound signals collected by the two microphones is corrected, so that the corrected amplitude and the corrected phase of the sound signal is consistent with the amplitude and the phase of the other sound signal.
In step 302, a differential beam forming processing is performed on the input signal based on the method for forming a differential beam in the first embodiment or the second embodiment to obtain the adjusted differential beam forming signal.
Specifically, the method for forming a differential beam in the first embodiment or the second embodiment is used to perform the differential beam forming processing on the input signal obtained in step 301 to obtain the adjusted differential beam forming signal. Refer to the first embodiment and the second embodiment for specific processing, which will not be repeated here.
In step 303, the adjusted differential beam forming signal is post-filtered.
Specifically, the post-filtering is performed based on the difference of time domain between a desired signal and an interference signal, so that the residual interference signal in the adjusted differential beam forming signal may be suppressed more effectively. The post-filtering mode may be a Wiener post-filtering method, which may accurately estimate a spectral information of the desired signal or a spectral information of the interference signal, and then determine a filter coefficient of the Wiener post-filtering according to different optimization criteria, for example, a minimum mean square error criterion, and then perform the post-filtering on the adjusted differential beam forming signal to obtain the output signal.
Compared with existing technologies, this embodiment provides the method for processing a signal which the method for forming a differential beam is applied to according to the first embodiment or the second embodiment. The input signal is acquired by the two microphones of the microphone array, and then the differential beam forming signal is obtained according to the input signal acquired by the two microphones, and then at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones and the signal frequency of the input signals to obtain the adjusted differential beam forming signal. In other words, this embodiment provides an adjustment method. For microphone arrays of different specifications, the constant beam characteristic of the differential beam forming signal can be ensured as much as possible after at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones and the signal frequency of the input signal.
A fourth embodiment of the present disclosure relates to an apparatus for forming a differential beam, which is applied to an electronic device including a microphone array. The electronic device may be a head-mounted device, an earphone, or a hearing aid, and the like. The microphone array includes at least one set of microphones, and each set of microphones includes two microphones. This embodiment and subsequent embodiments take two microphones in each set of microphones in the microphone array as an example for description.
As shown in
a forward differential filter 1 and a backward differential filter 2, configured to receive an input signal acquired by two microphones in a microphone array;
an adaptive filter 3 connected to the backward differential filter 2;
an adder 4 connected to the forward differential filter 1 and the adaptive filter 3 respectively;
wherein the input signal is processed by the forward differential filter 1, the backward differential filter 2 and the adaptive filter 3 to output by the adder 4 to obtain the differential beam forming signal; and
a compensation filter 5 connected to the adder 4, configured to perform a nonlinear adjustment on at least an amplitude of the differential beam forming signal based on a distance between the two microphones and a signal frequency of the input signal to obtain the adjusted differential beam forming signal.
Specifically, adjusting the differential beam forming signal includes adjustments on both the amplitude and a phase. When the amplitude of the differential beam forming signal is adjusted, at least the amplitude of the differential beam forming signal is adjusted nonlinearly based on the distance between the two microphones and the signal frequency of the input signal. When a phase of the differential beam forming signal is adjusted, the phase of the differential beam forming signal is adjusted based on the distance between the two microphones and the signal frequency of the input signal. In an example, the phase of the differential beam forming signal may be linearly adjusted based on the distance between the two microphones and the signal frequency of the input signal. The amplitude and the phase of the differential beam forming signal are adjusted to obtain the adjusted differential beam forming signal.
In an example, when adjusting the amplitude and the phase of the differential beam forming signal, the compensation filter 5 adjusts the differential beam forming signal based on a preset compensation filter to obtain the adjusted differential beam forming signal. A system function of the compensation filter 5 is
where τ=d/c, d is the distance between the two microphones, c is a sound propagation speed in the air, and ω is a signal angular frequency of the input signal.
In an example, the distance between the two microphones in the microphone array is greater than or equal to 2.5 cm. The apparatus for forming a differential beam in the present disclosure may still maintain the constant beam characteristics of the differential beam forming signal.
Since the first embodiment corresponds to this embodiment, this embodiment may be implemented in cooperation with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and the technical effects achieved in the first embodiment may also be achieved in this embodiment. To reduce duplication, details will not be repeated here. Correspondingly, the relevant technical details mentioned in this embodiment may also be applied to the first embodiment.
Compared with existing technologies, the input signal is acquired by the two microphones of the microphone array in this embodiment, and then the differential beam forming signal is obtained according to the input signal acquired by the two microphones, and then at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones to obtain the adjusted differential beam forming signal. In other words, this embodiment provides an adjustment method. For microphone arrays of different specifications, the constant beam characteristic of the differential beam forming signal can be ensured as much as possible after at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones.
A fifth embodiment of the present disclosure relates to an apparatus for forming a differential beam. This embodiment is a refinement on the basis of the fourth embodiment. Referring to
In this embodiment, when the microphone array is in the normal use position, a distance between the first microphone 10 and a target sound source is smaller than a distance between the second microphone 20 and the target sound source. A perpendicular bisector of a connecting line of the two microphones divides the two microphones into two different half-planes. The target sound source range is a half-plane where the first microphone is located, and the interference range is a half-plane where the second microphone is located.
The adaptive filter 3 is configured to determine a sound source position according to the input signal, determine a beam forming mode according to the sound source position, process the input signal according to the determined beam forming mode to be output by the adder 4 to obtain the differential beam forming signal.
Herein, the adaptive filter 3 is configured to determine that the beam forming mode is a fixed differential beam forming mode when the sound source position belongs to a preset target sound source range and determine that the beam forming mode is an adaptive differential beam forming mode when the sound source position belongs to a preset interference range.
Referring to the structure of the apparatus for forming a differential beam in
In the adaptive differential beam forming mode, the coefficient of the adaptive filter 5 is adaptively changed. That is to say, the adaptive differential beam forming mode may be understood as that the input signals of the two microphones are differentiated by the forward differential filter 1 and the backward differential filter 2 respectively. The signals differentiated by the backward differential filter 2 are input to the adaptive filter 3 with an adaptively changed coefficient. After the signal output by the adaptive filter 3 and the signal output by the forward differential filter 1 are input to the adder 4, the adder 4 outputs the differential beam forming signal.
In an example, when the beam forming mode is the fixed differential beam forming mode, the output differential beam forming signal is an 8-shaped beam, which has a narrow beam width and may improve the problem that the amplitude of the differential beam forming signal facing to the sound source position is smaller than the amplitude of the differential beam forming signal diagonally facing to the sound source position.
Since the second embodiment corresponds to this embodiment, this embodiment may be implemented in cooperation with the second embodiment. The relevant technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects achieved in the second embodiment may also be achieved in this embodiment. To reduce duplication, details will not be repeated here. Correspondingly, the relevant technical details mentioned in this embodiment may also be applied to the second embodiment.
Compared with the fourth embodiment, this embodiment provides a specific implementation mode of obtaining the differential beam forming signal according to the input signal acquired by the two microphones in the microphone array.
A sixth embodiment of the present disclosure relates to an apparatus for processing a signal, which is applied to an electronic device including a microphone array. The electronic device may be a head-mounted device, an earphone or a hearing aid, and the like. The microphone array includes at least one set of microphones, and each set of the microphones includes two microphones. In this embodiment and subsequent embodiments, the two microphones in one set of microphones in the microphone array are taken as an example for description.
As shown in
a corrector 200, configured to correct a sound signal collected by the two microphones in the microphone array to obtain the input signal;
the apparatus 100 for forming a differential beam in the fourth embodiment or the fifth embodiment, configured to perform a differential beam forming processing on the input signal to obtain the adjusted differential beam forming signal; and
a post-filter 300, configured to post-filter the adjusted differential beam forming signal to obtain the output signal.
Since the third embodiment corresponds to this embodiment, this embodiment may be implemented in cooperation with the third embodiment. The relevant technical details mentioned in the third embodiment are still valid in this embodiment, and the technical effects achieved in the third embodiment may also be achieved in this embodiment. To reduce duplication, details will not be repeated here. Correspondingly, the relevant technical details mentioned in this embodiment may also be applied to the third embodiment.
Compared with existing technologies, this embodiment provides the apparatus for processing a signal including the apparatus for forming a differential beam in the fourth embodiment or the fifth embodiment. The input signal is acquired by the two microphones of the microphone array, and then the differential beam forming signal is obtained according to the input signal acquired by the two microphones, and then at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones to obtain the adjusted differential beam forming signal. In other words, this embodiment provides an adjustment method. For microphone arrays of different specifications, the constant beam characteristic of the differential beam forming signal can be ensured as much as possible after at least the amplitude of the differential beam forming signal is nonlinearly adjusted based on the distance between the two microphones.
A seventh embodiment of the present disclosure relates to a chip, including the apparatus for processing a signal of the sixth embodiment.
An eighth embodiment of the present disclosure relates to an electronic device, including a microphone array and the chip in the seventh embodiment. The microphone array includes at least two microphones, and the chip is connected to each microphone.
Those skilled in the art should appreciate that the above mentioned embodiments are specific examples for implementing the present disclosure. In practice, however, many changes can be made in forms and details of the specific embodiments without departing from the spirit and the scope of the present disclosure.
This application is a continuation of PCT Patent Application No. PCT/CN2019/091307, filed Jun. 14, 2019, which is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
20090175466 | Elko et al. | Jul 2009 | A1 |
20100241428 | Yiu | Sep 2010 | A1 |
20110274289 | Tashev | Nov 2011 | A1 |
Number | Date | Country |
---|---|---|
103295579 | Sep 2013 | CN |
104854878 | Aug 2015 | CN |
106653044 | May 2017 | CN |
Entry |
---|
Shenzhen Goodix Technology, Co., International Search Report, PCT/CN2019/091307, Sep. 3, 2020, 4 pgs. |
Shenzhen Goodix Technology Co., Ltd., Extended European Search Report, EP19926741.0, dated Aug. 12, 2021, 7 pgs. |
Henning Puder, “Acoustic Noise Control: An Overview of Several Methods Based on Applications in Hearing Aids,” Communications, Computers and Signal Processing, 2009. PACRIM 2009. IEEE Pacific Rim Conference on, IEEE, Piscataway, NJ, USA, Aug. 23, 2009, 6 pgs. |
Number | Date | Country | |
---|---|---|---|
20210044897 A1 | Feb 2021 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2019/091307 | Jun 2019 | US |
Child | 17079193 | US |