WO2023045130A1 - 降噪方法、装置、耳机设备及存储介质 - Google Patents
降噪方法、装置、耳机设备及存储介质 Download PDFInfo
- Publication number
- WO2023045130A1 WO2023045130A1 PCT/CN2021/138976 CN2021138976W WO2023045130A1 WO 2023045130 A1 WO2023045130 A1 WO 2023045130A1 CN 2021138976 W CN2021138976 W CN 2021138976W WO 2023045130 A1 WO2023045130 A1 WO 2023045130A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- noise reduction
- noise
- signal
- feedback
- signals
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1083—Reduction of ambient noise
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
- H04R2460/00—Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
- H04R2460/01—Hearing devices using active noise cancellation
Definitions
- the present application relates to the technical field of earphones, and in particular to a noise reduction method, device, earphone equipment and a storage medium.
- the principle of feedback noise-cancelling headphones is to set a feedback microphone inside the earmuffs to pick up the noise inside the earmuffs, and to process the noise through an algorithm to form a reverse sound wave of the noise to offset the noise at the feedback noise-cancelling headphones, thereby Active cancellation of noise is achieved.
- the feedback microphone is used to replace the human ear to pick up the noise. If the noise at the feedback microphone is eliminated, it is considered that the noise at the human ear is also eliminated.
- the noise at the feedback microphone When the noise at the feedback microphone is eliminated, the noise at the human ear may not be completely eliminated. Especially for high-frequency noise, a slight distance change will bring about phase The huge change of , resulting in a large difference between the estimated noise reduction amount and the measured value in the high frequency band.
- the main purpose of this application is to provide a noise reduction method, device, earphone device and storage medium, aiming to solve the problem that there is a distance between the feedback microphone and the human ear, and the technology that the noise at the feedback microphone cannot completely eliminate the noise at the human ear question.
- the present application provides a noise reduction method, which is applied to a headphone device, and the headphone device includes an active noise reduction circuit, a speaker, a sound hole and a feedback microphone array, and the feedback microphone array includes A plurality of feedback microphones, the distribution position of the feedback microphone array meets a position condition or meets the position condition after error compensation, and the position condition is that the distribution plane of the feedback microphone array is perpendicular to the speaker and the outlet
- the noise reduction method comprises the following steps:
- the noise-canceling signal is played through the loudspeaker.
- the step of performing noise reduction processing on each of the first noise signals through the active noise reduction circuit to obtain a denoising signal corresponding to an average signal of each of the first noise signals includes:
- the step of acquiring the first noise signals respectively detected by each of the feedback microphones it may further include:
- test noise signal is a signal detected by each of the feedback microphones after playing preset test noise through the speaker
- the step of inputting the average signal into the active noise reduction circuit to perform noise reduction processing, and obtaining a denoising signal corresponding to the average signal includes:
- the active noise reduction circuit includes an active noise reduction branch corresponding to each of the feedback microphones, and the active noise reduction circuit performs noise reduction processing on each of the first noise signals to obtain the same
- the step of denoising signal corresponding to the average signal of each said first noise signal comprises:
- the denoising signals of each of the branches are averaged, and the result is used as a denoising signal corresponding to the average signal of each of the first noise signals.
- the step of acquiring the first noise signals respectively detected by each of the feedback microphones it may further include:
- test noise signal is a signal detected by each of the feedback microphones after playing preset test noise through the speaker
- the step of inputting each of the first noise signals into the corresponding active noise reduction branch for noise reduction processing, and obtaining the branch denoising signals corresponding to each of the first noise signals includes:
- Each of the first noise signals is input to a corresponding active noise reduction branch, and noise reduction processing is performed based on the corresponding branch filter coefficients to obtain branch denoising signals corresponding to each of the first noise signals.
- the noise cancellation signals of each of the branches are averaged, and the result is used as the result of each of the first noise signals
- the step of averaging the denoised signal corresponding to the signal includes:
- the active noise reduction circuit includes a feedforward active noise reduction circuit and a feedback active noise reduction circuit
- the earphone device further includes a feedforward microphone
- each of the first A noise signal is subjected to noise reduction processing, and the step of obtaining a noise removal signal corresponding to the average signal of each of the first noise signals includes:
- the present application also provides a noise reduction device, the noise reduction device is deployed in the earphone device, the earphone device includes an active noise reduction circuit, a speaker, a sound hole and a feedback microphone array, and the feedback microphone array It includes a plurality of feedback microphones, the distribution position of the feedback microphone array meets a position condition or meets the position condition after error compensation, and the position condition is that the distribution plane of the feedback microphone array is perpendicular to the speaker and the The connection between the sound holes, and the center of the feedback microphone array is on the connection, and the noise reduction device includes:
- An acquisition module configured to acquire the first noise signals respectively detected by each of the feedback microphones
- a noise reduction module configured to perform noise reduction processing on each of the first noise signals through the active noise reduction circuit, to obtain a noise reduction signal corresponding to an average signal of each of the first noise signals;
- a playback module configured to play the noise-canceling signal through the loudspeaker.
- the present application also provides an earphone device, the earphone device includes an active noise reduction circuit, a loudspeaker, a sound outlet and a feedback microphone array, the feedback microphone array includes a plurality of feedback microphones, and the feedback microphone array
- the distribution position of the feedback microphone array meets a position condition or meets the position condition after error compensation, and the position condition is that the distribution plane of the feedback microphone array is perpendicular to the connection line between the speaker and the sound outlet, And the center of the feedback microphone array is on the connection line
- the earphone device also includes a memory, a processor, and a noise reduction program stored on the memory and operable on the processor, the noise reduction When the program is executed by the processor, the steps of the above-mentioned noise reduction method are realized.
- the present application also proposes a computer-readable storage medium, on which a noise reduction program is stored, and when the noise reduction program is executed by a processor, the above-mentioned noise reduction is realized. method steps.
- the feedback microphone array includes a plurality of feedback microphones, and the distribution position of the feedback microphone array meets a position condition or meets the position condition after error compensation, and the position condition is the feedback microphone array
- the distribution plane is perpendicular to the line between the loudspeaker and the sound outlet, and the center of the feedback microphone array is on the line; each first noise signal detected by each feedback microphone is processed by the active noise reduction circuit in the earphone device
- the noise reduction processing is to obtain the noise cancellation signal corresponding to the average signal of each first noise signal, and the noise cancellation signal at the center of the feedback microphone array can be equivalently canceled by playing the noise cancellation signal through the loudspeaker, and then the noise at the human ear can be realized. Noise is also canceled out.
- FIG. 1 is a schematic flow chart of the first embodiment of the noise reduction method of the present application
- FIG. 2 is a schematic diagram of a feedback noise reduction principle involved in an embodiment of the present application
- FIG. 3 is a schematic diagram of a noise transmission path of an in-ear earphone according to an embodiment of the present application
- Fig. 4 is a schematic diagram of the setting position of the feedback microphone of an in-ear earphone according to the embodiment of the present application;
- FIG. 5 is a schematic diagram of functional modules of a preferred embodiment of the noise reduction device of the present application.
- FIG. 1 is a schematic flowchart of a first embodiment of a noise reduction method of the present application.
- the embodiment of the present application provides an embodiment of the noise reduction method. It should be noted that although the logic sequence is shown in the flow chart, in some cases, the steps shown or described can be executed in a different order than here. A step of.
- the noise reduction method of this application is applied to the earphone device.
- the earphone device can include one or two earphones. Since the noise reduction method of the two earphones is the same, the following is for the convenience of description. By default, the earphone device includes one earphone as an example for implementation. example.
- the noise reduction method includes:
- Step S10 acquiring first noise signals respectively detected by each of the feedback microphones
- Feedback active noise reduction also known as feedback noise reduction
- FB mic feedback microphone
- noise noise reduction noise reduction
- the noise is processed by an algorithm to form an anti-phase sound wave for offsetting.
- d(t) is the initial noise inside the earmuff
- c(t) is the anti-phase sound wave processed by the algorithm
- e(t) is the residual noise after cancellation.
- Feedback noise reduction uses the feedback microphone instead of the human ear to pick up noise, that is to say, the feedback noise reduction will eliminate the noise at the feedback microphone, but it is unknown whether it can be eliminated at the human ear.
- Figure 3 shows a simplified diagram of an in-ear earphone (take in-ear earphones as an example, but other types of earphones can also be used), the far right is the sound hole of the earphone, which will go deep into the ear canal when actually worn.
- a is the path from the noise to the feedback microphone
- b is the path from the noise to the human ear
- c is the path from the speaker to the feedback microphone
- d is the path from the loudspeaker to the human ear.
- the noise of path a and path c is equal-amplitude anti-phase cancellation at the feedback microphone.
- the relative position of the feedback microphone, the loudspeaker and the human ear is fixed, and d-c is a constant value, but as the position of the noise source changes, the value of b-a changes, resulting in situations where b-a is not equal to d-c, and the position of the human ear noise will not necessarily be eliminated.
- setting the feedback microphone at this position will block the sound channel of the speaker and affect the sound quality.
- a noise reduction method is proposed in this embodiment, aiming at setting multiple feedback microphones in the earphone device, by limiting the distribution positions of the multiple feedback microphones to meet certain position conditions, and by designing
- the earphone device includes an active noise reduction circuit, a speaker, a sound outlet, and a feedback microphone array
- the feedback microphone array includes a plurality of feedback microphones
- the distribution position of the feedback microphone array meets a position condition or meets the position condition after error compensation
- the location condition is that the distribution plane of the feedback microphone array is perpendicular to the line between the loudspeaker and the sound outlet, and the center of the feedback microphone array is on the line.
- the distribution position of the feedback microphone array is the same as the feedback microphone array that meets the position condition.
- error compensation refers to the measurement of the error in advance, and in the subsequent noise reduction process, the measured error is used to compensate the output signal of the feedback microphone array (usually the detected noise signal), so as to The output signal of the compensated feedback microphone array is equivalent to the output signal of the feedback microphone array (hereinafter referred to as the standard microphone array) that meets the position condition.
- the conversion formula for converting the output signal of the actual feedback microphone array into the output signal of the standard microphone array is converted according to the conversion formula and then participates in the noise reduction process.
- the two feedback microphones may be symmetrically arranged on both sides of the sound outlet.
- the noise signal is detected by each feedback microphone of the feedback microphone array (hereinafter referred to as the first noise signal for distinction); since there are multiple feedback microphones, each feedback microphone detects the noise signal separately. noise signal, so there are multiple first noise signals.
- the earphone device may remove the audio signal played by the speaker from the sound signals detected by the feedback microphone, and the remaining part may be used as the first noise signal.
- Step S20 performing noise reduction processing on each of the first noise signals through the active noise reduction circuit to obtain a noise reduction signal corresponding to the average signal of each of the first noise signals;
- the earphone device For the first noise signals detected by each feedback microphone, the earphone device performs noise reduction processing on each first noise signal through an active noise reduction circuit to obtain a noise reduction signal corresponding to an average signal of each first noise signal.
- the average signal is a signal obtained by averaging the first noise signals, and the denoising signal corresponding to the average signal may include a signal generated through denoising processing for canceling the average signal.
- the purpose is to obtain the denoising signal corresponding to the average signal
- the order of the two steps of averaging and denoising is not limited; for example, the specific implementation method may be to average each first noise signal , and then perform noise reduction processing on the average signal to directly obtain the denoising signal corresponding to the average signal, or firstly perform denoising processing on each first noise signal, and then average the results obtained by denoising processing to indirectly obtain the average signal Corresponding denoising signal.
- the active noise reduction circuit can be a feedback active noise reduction circuit or a hybrid active noise reduction circuit, that is, it includes a feedback active noise reduction circuit and a feedforward active noise reduction circuit.
- the circuit design can be based on feedback or hybrid
- the design method is based on the design method of the active noise reduction circuit, which is not limited in this embodiment.
- the specific process of denoising the noise signal through the active noise reduction circuit to obtain the denoising signal can also refer to the principle of the existing active noise reduction circuit, and will not be described in detail here.
- the earphone device can perform noise reduction processing on each first noise signal through the feedback active noise reduction circuit to obtain the average signal of each first noise signal
- the corresponding feedback denoising signal is the final denoising signal.
- the active noise reduction circuit when it is a hybrid active noise reduction circuit, that is, when it includes a feedforward active noise reduction circuit and a feedback active noise reduction circuit, the earphone device also includes a feedforward microphone, so Said step S20 comprises:
- Step a acquiring a second noise signal detected by the feedforward microphone
- the feed-forward microphone is generally placed outside the earmuffs to pick up noise before the feedback microphone and the human ear.
- a noise signal (hereinafter referred to as a second noise signal for distinction) is detected through a feed-forward microphone.
- Step b performing noise reduction processing on the second noise signal through the feedforward active noise reduction circuit to obtain a feedforward noise reduction signal
- the earphone device For the second noise signal detected by the feedforward microphone, the earphone device performs noise reduction processing on the second noise signal through a feedforward active noise reduction circuit to obtain a feedforward noise reduction signal, which is used to offset the second noise Signal. It should be noted that, in this embodiment, the specific process of noise reduction processing by the feedforward active noise reduction circuit will not be described in detail here, and the existing feedforward active noise reduction circuit can be referred to.
- Step c performing noise reduction processing on each of the first noise signals through the feedback active noise reduction circuit to obtain a feedback denoising signal corresponding to an average signal of each of the first noise signals;
- the earphone device performs noise reduction processing on each of the first noise signals through a feedback active noise reduction circuit to obtain a feedback noise reduction signal corresponding to an average signal of each first noise signal.
- the first noise signals may be averaged before performing the noise reduction processing, or the first noise signals may be respectively subjected to noise reduction processing before the noise reduction signals are averaged. It should be noted that, in this embodiment, the specific process of performing noise reduction processing through the feedback active noise reduction circuit will not be described in detail here, and the existing feedback active noise reduction circuit can be referred to.
- Step d adding the feedforward denoising signal and the feedback denoising signal, and using the result as a denoising signal corresponding to the average signal of each of the first noise signals.
- the feedforward denoising signal After obtaining the feedforward denoising signal and the feedback denoising signal, add the two denoising signals together, and use the added signal as the denoising signal corresponding to the average signal of each first noise signal, that is, add The resulting signal is played through a loudspeaker.
- the feedforward noise cancellation signal is used to cancel the first noise signal
- the second noise signal picked up at the feedback microphone after cancellation is residual noise
- the feedback noise cancellation signal is used to cancel the noise picked up at the feedback microphone.
- the second noise signal so as to achieve a better noise reduction effect through hybrid noise reduction.
- Step S30 playing the noise-canceling signal through the loudspeaker.
- the earphone device After processing the noise-canceling signal, the earphone device plays the noise-canceling signal through the loudspeaker. Since the distribution plane of the feedback microphone array (or the feedback microphone array after error compensation) is perpendicular to the line between the loudspeaker and the sound outlet, and the center of the feedback microphone array is on the line, each of the feedback microphone arrays
- the average signal of the first noise signal detected by the feedback microphone can be regarded as the noise signal detected at the center of the feedback microphone array, and the denoising signal corresponding to the average signal obtained through the noise reduction process can be regarded as the noise signal for the feedback microphone
- the feedback microphone array includes a plurality of feedback microphones, and the distribution position of the feedback microphone array meets a position condition or meets the position condition after error compensation, and the position condition is feedback
- the distribution plane of the microphone array is perpendicular to the connection line between the loudspeaker and the sound outlet, and the center of the feedback microphone array is on the connection line; each first noise detected by each feedback microphone is detected by the active noise reduction circuit in the earphone device.
- the signal is subjected to denoising processing to obtain the denoising signal corresponding to the average signal of each first noise signal, and the noise denoising signal at the center of the feedback microphone array can be effectively canceled by playing the denoising signal through the loudspeaker. The noise is also canceled out.
- the step S20 includes:
- Step S201 averaging each of the first noise signals to obtain an average signal
- Step S202 inputting the average signal into the active noise reduction circuit for noise reduction processing to obtain a denoising signal corresponding to the average signal.
- the earphone device first averages the first noise signals to obtain an average signal.
- the method of averaging the noise signal can refer to the existing method of signal averaging, and will not be described in detail here. After the average signal is obtained, the average signal is input into the active noise reduction circuit for noise reduction processing.
- the headphone device When the active noise reduction circuit is a feedback active noise reduction circuit, the headphone device averages the first noise signals and inputs the average signal into the feedback active noise reduction circuit for noise reduction processing to obtain a feedback noise reduction signal corresponding to the average signal, Play the feedback denoise signal through the speaker as the final denoise signal.
- the filter coefficients of the feedback filter in the feedback active noise reduction circuit can be designed by testing in advance, and the design method can refer to the existing feedback filter design method, wherein the output signal of the feedback microphone (the detected noise signal ), the output signals of each feedback microphone can be averaged before participating in the filter design.
- the active noise reduction circuit is a hybrid active noise reduction circuit, that is, when it includes a feedforward active noise reduction circuit and a feedback active noise reduction circuit
- the earphone device detects the second noise signal through the feedforward microphone, and converts the second noise signal Input the feedforward active noise reduction circuit for noise reduction processing to obtain the feedforward noise reduction signal; average the first noise signal detected by each feedback microphone to obtain the average signal input feedback active noise reduction circuit for noise reduction processing, and obtain The feedback denoising signal corresponding to the average signal; the result obtained by adding the feedforward denoising signal and the feedback denoising signal is used as the denoising signal corresponding to the average signal of each first noise signal, that is, the result obtained by adding Play through speakers.
- the filter coefficients of the feedforward filter in the feedforward active noise reduction circuit and the feedback filter in the feedback active noise reduction circuit can be designed through pre-testing, and the design method can refer to the existing feedforward filter And the design method of the feedback filter, wherein when the output signal (detected noise signal) of the feedback microphone is needed, the output signals of each feedback microphone can be averaged and then participate in the filter design.
- step S10 before the step S10, it also includes:
- Step A10 acquiring test noise signals detected by each of the feedback microphones respectively, wherein the test noise signal is a signal detected by each of the feedback microphones after playing preset test noise through the speaker;
- the filter coefficients in the ANC circuit can be set by playing test noise and calculating the acoustic transfer function.
- a section of test noise (hereinafter referred to as test noise) can be preset in the earphone device, the test noise is played through the speaker in the earphone device, and the noise signal is detected by each feedback microphone, and the noise signal is called the test noise Signal.
- Step A20 averaging each of the test noise signals to obtain an average test signal
- Step A30 calculating an acoustic transfer function from the loudspeaker to the center of the feedback microphone array according to the average test signal;
- the average test signal is obtained by averaging the test noise signals, which can be regarded as the noise signal picked up by the microphone placed at the center of the feedback microphone array (the microphone is not actually set at this position).
- the acoustic transfer function from the loudspeaker to the center of the feedback microphone array can be calculated, and the acoustic transfer function reflects the transfer relationship between the noise signal played by the loudspeaker and the noise signal picked up by the microphone at the center of the feedback microphone array.
- the method of calculating the acoustic transfer function according to the average test signal may refer to the existing calculation method of the acoustic transfer function, and will not be repeated here.
- Step A40 setting filter coefficients in the active noise reduction circuit according to the acoustic transfer function
- the filter coefficients in the active noise reduction circuit can be set according to the acoustic transfer function.
- the method for setting filter coefficients according to the acoustic transfer function can generally refer to the existing method for setting filter coefficients, which will not be repeated here.
- the filter coefficients of the feedback filter in the feedback active noise reduction circuit are set according to the acoustic transfer function from the loudspeaker to the center of the feedback microphone array.
- the active noise reduction circuit is a hybrid active noise reduction circuit
- a section of test noise (hereinafter referred to as external test noise) can be preset in the external test equipment, and the external test noise is played through the external test equipment, and through the feedforward Microphone and feedback microphone detect this external test noise signal, calculate the acoustic transfer function (hereinafter referred to as the first function) of external sound source to feedforward microphone according to the external test noise signal detected by feedforward microphone; The test noise signal is averaged to obtain the average external test signal.
- the acoustic transfer function (hereinafter referred to as the second function); according to the first function, the second function and the third function (acoustic transfer function from the loudspeaker to the center of the feedback microphone array), the filter coefficients of the feedforward filter in the feedforward active noise reduction circuit and the feedback active noise reduction circuit are jointly set. Filter coefficients for the feedback filter in the noise reduction circuit.
- the step S202 includes:
- Step S2021 input the average signal into the active noise reduction circuit, perform noise reduction processing based on the filter coefficients, and obtain a denoising signal corresponding to the average signal.
- the filter coefficient in the active noise reduction circuit of the earphone device After setting the filter coefficient in the active noise reduction circuit of the earphone device, when the active noise reduction function is turned on during use, after calculating the average signal of each first noise signal, the average signal can be input into the active noise reduction circuit, Noise reduction processing is performed based on the set filter coefficients in the active noise reduction circuit to obtain a noise reduction signal corresponding to the average signal. It should be noted that the specific process of denoising the signal based on the filter in the active noise reduction circuit to obtain the denoising signal can refer to the existing active noise reduction circuit, and will not be repeated here.
- the step S20 includes:
- Step S203 input each of the first noise signals into the corresponding active noise reduction branch for noise reduction processing, and obtain the branch noise reduction signals corresponding to each of the first noise signals;
- Step S204 averaging each of the denoising signals of the branches, and using the result as a denoising signal corresponding to the average signal of each of the first noise signals.
- noise reduction processing may be performed first, and then the noise reduction signal may be averaged.
- the active noise reduction circuit may include active noise reduction branches corresponding to the respective feedback microphones, that is, one feedback microphone corresponds to one active noise reduction branch.
- the earphone device may first input each first noise signal into the corresponding active noise reduction branch for noise reduction processing, and obtain branch noise cancellation signals corresponding to each first noise signal. . That is, a first noise signal detected by a feedback microphone is input into an active noise reduction branch corresponding to the feedback microphone for noise reduction processing, and a branch noise cancellation signal corresponding to the first noise signal is obtained.
- the denoising signals of each branch are averaged, and the averaged signal is used as the denoising signal corresponding to the average signal of each first noise signal, that is, although it is not directly denoising the average signal of each first noise signal to obtain
- the signal obtained by performing noise reduction processing on each first noise signal using the corresponding active noise reduction branch and then averaging can be regarded as the denoising signal corresponding to the average signal of each first noise signal.
- the active noise reduction branch can be a feedback active noise reduction circuit or a hybrid active noise reduction circuit.
- the earphone device inputs each first noise signal to the corresponding feedback active noise reduction circuit for noise reduction processing, and obtains feedback noise reduction signals corresponding to each first noise signal (That is, the branch denoising signal), the signal obtained by averaging the denoising signals of each branch is directly used as the denoising signal corresponding to the average signal of each first noise signal, and the denoising signal is played through the loudspeaker.
- the filter coefficients of the feedback filter in each feedback active noise reduction circuit can be designed by testing in advance, and the design method can refer to the existing feedback filter design method, wherein the output signal of the feedback microphone (the detected noise signal), use the output signal of the corresponding feedback microphone to participate in the corresponding filter design.
- each active noise reduction branch can use different feedback active noise reduction circuits, but share a feedforward active noise reduction circuit;
- For the second noise signal input the second noise signal into the feedforward active noise reduction circuit for noise reduction processing to obtain a feedforward noise reduction signal; input the first noise signals detected by each feedback microphone into the corresponding feedback active noise reduction
- the circuit performs noise reduction processing to obtain each feedback denoising signal; the feedforward denoising signal is added to each feedback denoising signal and then averaged, or each feedback denoising signal is averaged and then combined with the feedforward denoising signal Adding, the calculated result is used as the denoising signal corresponding to the average signal of each first noise signal, that is, the calculated result is played through the speaker.
- the filter coefficients of the feedforward filter in the feedforward active noise reduction circuit and the feedback filter in the feedback active noise reduction circuit can be designed through pre-testing, and the design method can refer to the existing feedforward filter And the design method of the feedback filter, wherein when the output signal (detected noise signal) of the feedback microphone is needed, the output signal of the corresponding feedback microphone is used to participate in the corresponding filter design.
- step S10 before the step S10, it also includes:
- Step B10 acquiring test noise signals detected by each of the feedback microphones respectively, wherein the test noise signal is a signal detected by each of the feedback microphones after playing preset test noise through the speaker;
- the filter coefficients in the ANC circuit can be set by playing test noise and calculating the acoustic transfer function.
- a section of test noise (hereinafter referred to as test noise) can be preset in the earphone device, the test noise is played through the speaker in the earphone device, and the noise signal is detected by each feedback microphone, and the noise signal is called the test noise Signal.
- Step B20 calculating an acoustic transfer function from the loudspeaker to the corresponding feedback microphone according to each of the test noise signals;
- Step B30 respectively setting the branch filter coefficients in the corresponding active noise reduction branch according to each of the acoustic transfer functions
- the acoustic transfer function from the loudspeaker to the corresponding feedback microphone is calculated according to each test noise signal respectively. That is, for each feedback microphone, the acoustic transfer function from the loudspeaker to the feedback microphone is calculated using the test noise signal detected by the feedback microphone. Then, a feedback microphone corresponds to an acoustic transfer function.
- Set the branch filter coefficients in the corresponding active noise reduction branch according to each acoustic transfer function that is, for each feedback microphone, use the acoustic transfer function corresponding to the feedback microphone to set the corresponding active noise reduction of the feedback microphone. Branch filter coefficients in noisy branches.
- the filter coefficients of the feedback filters in each feedback active noise reduction circuit are correspondingly set according to the acoustic transfer function from the speaker to each feedback microphone .
- a section of test noise hereinafter referred to as external test noise
- the first function the acoustic transfer function of external sound source to feedforward microphone according to the external test noise signal detected by feedforward microphone
- the external test noise signal and the external test noise signal detected by each feedback microphone are respectively calculated to obtain the acoustic transfer function (hereinafter referred to as the second function) from the feedforward microphone to each feedback microphone; according to the first function, each second function and each The third function (speaker-to-feedback microphone a
- the step S204 includes:
- Step S2041 input each of the first noise signals into the corresponding active noise reduction branch, perform noise reduction processing based on the corresponding branch filter coefficients, and obtain branch noise reduction signals corresponding to each of the first noise signals .
- each first noise signal can be respectively input into the corresponding active noise reduction branch.
- the filter coefficients set in the denoising branches are subjected to denoising processing to obtain branch denoising signals respectively corresponding to the first noise signals. It should be noted that the specific process of denoising the signal based on the filter in the ANR branch to obtain the denoising signal can refer to the existing ANR circuit, and will not be repeated here.
- the step S20 when the distribution position of the feedback microphone array meets the position condition after error compensation, the step S20 includes:
- Step S205 obtaining weights corresponding to each of the feedback microphones, wherein the weights are set in advance according to the error of the distribution position of the feedback microphone array relative to the position condition;
- the error compensation method can be set in advance according to the error of the distribution position of the feedback microphone array relative to the position condition.
- the weight corresponding to the feedback microphone array may be set by means of testing, so that the noise signal obtained by weighting and averaging the noise signals detected by each feedback microphone according to the set weight is consistent with the noise signal at the center of the feedback microphone array.
- Step S206 weighting and averaging each of the denoising signals of the branches according to corresponding weights, and using the result as a denoising signal corresponding to the average signal of each of the first noise signals.
- the noise cancellation signal of each branch may be weighted and averaged according to the corresponding weight.
- the weighted average is to compare the noise cancellation signal of each branch with the corresponding weight Multiply and then average.
- the weighted average result is used as the denoising signal corresponding to the average signal of each first noise signal.
- the first noise signals when the first noise signals are averaged and then the noise reduction process is performed, the first noise signals can also be weighted and averaged according to the corresponding weights to obtain the average signal, and then the average signal is input
- the active noise reduction circuit performs noise reduction processing to obtain a denoising signal corresponding to the average signal of each first noise signal.
- an embodiment of the present application also proposes a noise reduction device, the noise reduction device is deployed in a headphone device, and the headphone device includes an active noise reduction circuit, a speaker, a sound hole, and a feedback microphone array, and the feedback microphone array includes A plurality of feedback microphones, the distribution position of the feedback microphone array meets a position condition or meets the position condition after error compensation, and the position condition is that the distribution plane of the feedback microphone array is perpendicular to the speaker and the outlet
- the noise reduction device includes:
- An acquisition module 10 configured to acquire first noise signals respectively detected by each of the feedback microphones
- a noise reduction module 20 configured to perform noise reduction processing on each of the first noise signals through the active noise reduction circuit, to obtain a noise reduction signal corresponding to an average signal of each of the first noise signals;
- the playback module 30 is configured to play the noise-canceling signal through the loudspeaker.
- noise reduction module 20 includes:
- a first averaging unit configured to average each of the first noise signals to obtain an average signal
- the first noise reduction unit is configured to input the average signal into the active noise reduction circuit for noise reduction processing to obtain a noise reduction signal corresponding to the average signal.
- the acquiring module 10 is also used to acquire the test noise signals detected by each of the feedback microphones respectively, wherein the test noise signals are detected by each of the feedback microphones after the preset test noise is played through the speakers to the signal;
- the device also includes:
- An averaging module configured to average each of the test noise signals to obtain an average test signal
- a first calculation module configured to calculate an acoustic transfer function from the loudspeaker to the center of the feedback microphone array according to the average test signal
- a first setting module configured to set filter coefficients in the active noise reduction circuit according to the acoustic transfer function
- the first noise reduction unit is also used for:
- the active noise reduction circuit includes active noise reduction branches respectively corresponding to the feedback microphones, and the noise reduction module 20 includes:
- the second noise reduction unit is configured to input each of the first noise signals into the corresponding active noise reduction branch for noise reduction processing, and obtain branch noise reduction signals corresponding to each of the first noise signals;
- the second averaging unit is configured to average each of the branch denoising signals, and use the result as a denoising signal corresponding to the average signal of each of the first noise signals.
- the acquiring module 10 is also used to acquire the test noise signals detected by each of the feedback microphones respectively, wherein the test noise signals are detected by each of the feedback microphones after the preset test noise is played through the speakers to the signal;
- the device also includes:
- the second calculation module is used to calculate and obtain the acoustic transfer function from the loudspeaker to the corresponding feedback microphone according to each of the test noise signals;
- the second setting module is used to set the branch filter coefficients in the corresponding active noise reduction branch according to the acoustic transfer functions respectively;
- the second averaging unit is also used for:
- Each of the first noise signals is input to a corresponding active noise reduction branch, and noise reduction processing is performed based on the corresponding branch filter coefficients to obtain branch denoising signals corresponding to each of the first noise signals.
- the second averaging unit is also used for:
- the active noise reduction circuit includes a feedforward active noise reduction circuit and a feedback active noise reduction circuit
- the earphone device also includes a feedforward microphone
- the noise reduction module 20 includes:
- an acquisition unit configured to acquire a second noise signal detected by the feedforward microphone
- a third noise reduction unit configured to perform noise reduction processing on the second noise signal through the feedforward active noise reduction circuit to obtain a feedforward noise reduction signal
- the fourth noise reduction unit is configured to perform noise reduction processing on each of the first noise signals through the feedback active noise reduction circuit to obtain a feedback noise reduction signal corresponding to an average signal of each of the first noise signals;
- a calculation unit configured to add the feedforward denoising signal and the feedback denoising signal, and use the result as a denoising signal corresponding to the average signal of each of the first noise signals.
- the earphone device of the present application may include an active noise reduction circuit, a loudspeaker, a sound outlet, and a feedback microphone array, the feedback microphone array includes a plurality of feedback microphones, and the distribution position of the feedback microphone array meets a position condition or meets a condition after error compensation.
- the position condition, the position condition is that the distribution plane of the feedback microphone array is perpendicular to the line between the speaker and the sound outlet, and the center of the feedback microphone array is on the line,
- the earphone device further includes a memory, a processor, and a noise reduction program stored on the memory and operable on the processor, when the noise reduction program is executed by the processor, operations such as:
- the noise-canceling signal is played through the loudspeaker.
- performing noise reduction processing on each of the first noise signals through the active noise reduction circuit to obtain a denoising signal corresponding to an average signal of each of the first noise signals includes:
- the acquisition of the first noise signals respectively detected by each of the feedback microphones it also includes:
- test noise signal is a signal detected by each of the feedback microphones after playing preset test noise through the speaker
- the inputting the average signal into the active noise reduction circuit for noise reduction processing, and obtaining the denoising signal corresponding to the average signal includes:
- the active noise reduction circuit includes an active noise reduction branch corresponding to each of the feedback microphones, and the active noise reduction circuit performs noise reduction processing on each of the first noise signals to obtain
- the denoising signal corresponding to the average signal of the first noise signal includes:
- the denoising signals of each of the branches are averaged, and the result is used as a denoising signal corresponding to the average signal of each of the first noise signals.
- the acquisition of the first noise signals respectively detected by each of the feedback microphones it also includes:
- test noise signal is a signal detected by each of the feedback microphones after playing preset test noise through the speaker
- the step of inputting each of the first noise signals into the corresponding active noise reduction branch for noise reduction processing, and obtaining branch noise reduction signals corresponding to each of the first noise signals includes:
- Each of the first noise signals is input to a corresponding active noise reduction branch, and noise reduction processing is performed based on the corresponding branch filter coefficients to obtain branch denoising signals corresponding to each of the first noise signals.
- the denoising signal corresponding to the signal includes:
- the active noise reduction circuit includes a feed-forward active noise reduction circuit and a feedback active noise reduction circuit
- the earphone device also includes a feed-forward microphone
- each of the first The noise signal is subjected to noise reduction processing, and the denoising signal corresponding to the average signal of each of the first noise signals obtained includes:
- the embodiment of the present application also proposes a computer-readable storage medium, on which a noise reduction program is stored, and when the noise reduction program is executed by a processor, the steps of the above-mentioned noise reduction method are implemented.
- the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
- a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
本申请公开了一种降噪方法、装置、耳机设备及存储介质,所述方法应用于耳机设备,耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,反馈麦克风阵列包括多个反馈麦克风,反馈麦克风阵列的分布平面垂直于扬声器和出声孔之间的连线,且反馈麦克风阵列的中心在连线上,所述方法包括:获取各反馈麦克风分别检测到的第一噪声信号;通过主动降噪电路对各第一噪声信号进行降噪处理,得到与各第一噪声信号的平均信号对应的消噪信号;通过扬声器播放消噪信号。本申请能够等效地实现反馈麦克风阵列中心处的噪声被抵消,进而能够实现在人耳处的噪声也被抵消。
Description
本申请要求于2021年09月24日提交中国专利局、申请号202111123005.X、申请名称为“降噪方法、装置、耳机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及耳机技术领域,尤其涉及一种降噪方法、装置、耳机设备及存储介质。
随着主动降噪技术的不断发展与成熟,用户对耳机主动降噪功能的要求也越来越高。目前,反馈降噪耳机的原理是通过在耳罩内部设置一个反馈麦克风来拾取耳罩内部的噪声,通过算法对噪声进行处理形成噪声的反向声波,以抵消反馈降噪耳机处的噪声,从而达到噪声的主动消除。该技术原理中,是采用反馈麦克风来代替人耳拾取噪声,反馈麦克风处的噪声被消除,则认为人耳处的噪声也被消除。但是,佩戴耳机时,反馈麦克风与人耳存在一定距离,反馈麦克风处的噪声消除时,人耳处噪声不一定能够完全消除,特别是对高频噪声,细微的距离变化,将会带来相位的巨大变化,从而导致预估的降噪量在高频段与实测值差异大。
发明内容
本申请的主要目的在于提供一种降噪方法、装置、耳机设备及存储介质,旨在解决反馈麦克风与人耳存在距离,通过消除反馈麦克风处的噪声并不能够完全消除人耳处噪声的技术问题。
为实现上述目的,本申请提供一种降噪方法,所述降噪方法应用于耳机设备,所述耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,所述降噪方法包括以下步骤:
获取各所述反馈麦克风分别检测到的第一噪声信号;
通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号;
通过所述扬声器播放所述消噪信号。
可选地,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:
对各所述第一噪声信号进行平均得到平均信号;
将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号。
可选地,所述获取各所述反馈麦克风分别检测到的第一噪声信号的步骤之前,还包括:
获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
将各所述测试噪声信号进行平均得到平均测试信号;
根据所述平均测试信号计算得到所述扬声器到所述反馈麦克风阵列中心的声学传递函数;
根据所述声学传递函数设定所述主动降噪电路中的滤波器系数;
所述将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号的步骤包括:
将所述平均信号输入所述主动降噪电路,基于所述滤波器系数进行降噪处理,得到所述平均信号对应的消噪信号。
可选地,所述主动降噪电路包括与各所述反馈麦克风分别对应的主动降噪支路,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:
将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号;
将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
可选地,所述获取各所述反馈麦克风分别检测到的第一噪声信号的步骤之前,还包括:
获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
分别根据各所述测试噪声信号计算得到所述扬声器到对应反馈麦克风的声学传递函数;
分别根据各所述声学传递函数设定对应主动降噪支路中的支路滤波器系数;
所述将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号的步骤包括:
将各所述第一噪声信号分别输入对应的主动降噪支路,基于对应的支路滤波器系数进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号。
可选地,当所述反馈麦克风阵列的分布位置是经过误差补偿后符合所述位置条件时,所述将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:
获取各所述反馈麦克风对应的权重,其中,所述权重是预先根据所述反馈麦克风阵列的分布位置相对于所述位置条件的误差设置的;
将各所述支路消噪信号按照对应的权重进行加权平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
可选地,所述主动降噪电路包括前馈式主动降噪电路和反馈式主动降噪电路,所述耳机设备还包括前馈麦克风,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:
获取所述前馈麦克风检测到的第二噪声信号;
通过所述前馈式主动降噪电路对所述第二噪声信号进行降噪处理,得到前馈消噪信号;
通过所述反馈式主动降噪电路对各所述第一噪声信号进行降噪处理,得到各所述第一噪声信号的平均信号对应的反馈消噪信号;
将所述前馈消噪信号和所述反馈消噪信号相加,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
为实现上述目的,本申请还提供一种降噪装置,所述降噪装置部署于耳机设备,所述耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,所述降噪装置包括:
获取模块,用于获取各所述反馈麦克风分别检测到的第一噪声信号;
降噪模块,用于通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号;
播放模块,用于通过所述扬声器播放所述消噪信号。
为实现上述目的,本申请还提供一种耳机设备,所述耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,所述耳机设备还包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的降噪程序,所述降噪程序被所述处理器执行时实现如上所述的降噪方法的步骤。
此外,为实现上述目的,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有降噪程序,所述降噪程序被处理器执行时实现如上所述的降噪方法的步骤。
本申请中,通过在耳机设备中设置反馈麦克风阵列,反馈麦克风阵列包括多个反馈麦克风,反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合该位置条件,该位置条件为反馈麦克风阵列的分布平面垂直于扬声器和出声孔之间的连线,且反馈麦克风阵列的中心在该连线上;通过耳机设备中的主动降噪电路对各反馈麦克风检测到的各第一噪声信号进行降噪处理,得到各第一噪声信号的平均信号对应的消噪信号,通过扬声器播 放该消噪信号,能够等效地实现反馈麦克风阵列中心处的噪声被抵消,进而能够实现在人耳处的噪声也被抵消。
图1为本申请降噪方法第一实施例的流程示意图;
图2为本申请实施例涉及的一种反馈降噪原理示意图;
图3为本申请实施例涉及的一种入耳式耳机噪声传递路径示意图;
图4为本申请实施例涉及的一种入耳式耳机的反馈麦克风设置位置示意图;
图5为本申请降噪装置较佳实施例的功能模块示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,图1为本申请降噪方法第一实施例的流程示意图。
本申请实施例提供了降噪方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。本申请降噪方法应用于应用于耳机设备,耳机设备可包括一只或两只耳机,由于两只耳机的降噪方法相同,以下为便于描述,默认以耳机设备包括一只耳机为例进行实施例阐述。本实施例中,降噪方法包括:
步骤S10,获取各所述反馈麦克风分别检测到的第一噪声信号;
目前,反馈式主动降噪(也称反馈降噪)的技术原理如图2所示,在耳罩内部设置有一个反馈麦克风(FB mic),通过反馈麦克风拾取耳罩内部的噪声(也称噪声信号),通过算法对噪声进行处理,形成反相声波进行抵消。d(t)为耳罩内部初始噪声,c(t)为算法处理后的反相声波,e(t)为抵消后的残余噪声。反馈降噪是通过反馈麦克风代替人耳拾取噪声,也就是说反馈降噪会使反馈麦克风处的噪声被消除,但人耳处是否能消除是不可知的。如图3所示为入耳式耳机简图(以入耳式耳机为例,也可以是其他类型的耳机),最右侧为耳机的出声孔,实际佩戴时会深入耳道。假设噪声从前泄声孔进入耳中,图3中给出了a、b、 c、d四条路径,a是噪声至反馈麦克风的路径,b是噪声至人耳的路径,c是扬声器到反馈麦克风的路径,d是扬声器到人耳的路径,根据反馈降噪理论,路径a与路径c的噪声是在反馈麦克风处等幅反相抵消的,如果想要人耳处也等幅反相抵消噪声的话,需满足b-a=d-c(此处a、b、c、d表示距离),也即,当且仅当b-a=d-c时,反馈麦克风处的降噪结果和人耳处的降噪结果是一致的。而反馈麦克风与扬声器和人耳的相对位置是固定的,d-c是定值,但随着噪声源位置变化,b-a的值是发生改变的,从而导致b-a会存在不等于d-c的情况,人耳处的噪声不一定会被消除。尤其对高频信号波长短,b-a的微小差异,会带了相位的巨大变化,最终导致预估的降噪量在高频段与实测值差异大。为解决上述问题,将反馈麦克风设置在扬声器与出声孔的连线上,基本可以满足b-a=d-c,但是,反馈麦克风设置在该位置,会使扬声器出声通道被堵塞,影响音质。
对此,在本实施例中提出一种降噪方法,旨在通过在耳机设备中设置多个反馈麦克风,通过限定多个反馈麦克风的分布位置符合一定位置条件,以及通过设计对多个反馈麦克风输出信号的汇总计算方法,使得多个反馈麦克风的作用等效于设置在扬声器与出声孔的连线上的反馈麦克风的作用,也即,使得等效于满足b-a=d-c。
具体地,耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,反馈麦克风阵列包括多个反馈麦克风,反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合该位置条件,该位置条件为反馈麦克风阵列的分布平面垂直于扬声器和出声孔之间的连线,且反馈麦克风阵列的中心在该连线上。
其中,在具体实施方式中,耳机设备中因空间限制等原因,可能不能设置分布位置严格符合该位置条件的反馈麦克风阵列,也即,反馈麦克风阵列的分布位置与符合该位置条件的反馈麦克风阵列的分布位置存在一定的误差,误差补偿是指预先通过对误差进行测量,在后续降噪过程中,通过测定的误差对反馈麦克风阵列的输出信号(一般是检测到的噪声信号)进行补偿,以使得补偿后的反馈麦克风阵列的输出信号相当于符合该位置条件的反馈麦克风阵列(以下称标准麦克风阵列)的输出信号。例如,通过对实际反馈麦克风阵列的分布位置与标准麦克风阵列的分布位置之间的相对位姿进行测量,并通过测试信号对实际反馈麦克风阵列进行测试,根据测试结果计算出根据该相对位姿将实际反馈麦克风阵列的输出信号转换为标准麦克风阵列的输出信号的转换公式,在后续降噪过程中,将实际反馈麦克风阵列的输出信号按照该转换公式进行转换后再参与降噪处理。
在一实施方式中,当反馈麦克风阵列中包括两个反馈麦克风时,如图4所示,两个反馈 麦克风可对称设置在出声孔两侧。
耳机设备在使用过程中开启主动降噪功能时,通过反馈麦克风阵列的各个反馈麦克风检测噪声信号(以下称为第一噪声信号以示区分);由于有多个反馈麦克风,每个反馈麦克风分别检测噪声信号,所以有多个第一噪声信号。需要说明的是,当扬声器有播放音频时,耳机设备可以对反馈麦克风检测到的声音信号中扬声器播放的音频信号进行去除,剩下的部分作为第一噪声信号。
步骤S20,通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号;
对于各个反馈麦克风检测到的第一噪声信号,耳机设备通过主动降噪电路对各第一噪声信号进行降噪处理,得到与各个第一噪声信号的平均信号对应的消噪信号。平均信号即对各个第一噪声信号进行平均得到的信号,平均信号对应的消噪信号可以包括通过降噪处理产生的用于抵消平均信号的信号。在本实施例中,目的在于得到与平均信号对应的消噪信号,对平均和降噪两个步骤的先后顺序并不做限制;例如,具体实施方式可以是先对各第一噪声信号进行平均,再对平均信号进行降噪处理直接得到平均信号对应的消噪信号,也可以是先对各个第一噪声信号分别进行降噪处理,再对降噪处理得到的结果进行平均,间接得到平均信号对应的消噪信号。
主动降噪电路可以是反馈式主动降噪电路,也可以是混合式主动降噪电路,也即,包括反馈式主动降噪电路和前馈式主动降噪电路,电路设计可以根据反馈式或混合式主动降噪电路的设计方式来设计,在本实施例中并不做限制。通过主动降噪电路对噪声信号进行降噪处理得到消噪信号的具体过程也可以参照现有主动降噪电路原理,在此不做详细赘述。
在一实施方式中,主动降噪电路是反馈式主动降噪电路时,耳机设备可以通过反馈式主动降噪电路对各第一噪声信号进行降噪处理,得到与各第一噪声信号的平均信号对应的反馈消噪信号,该反馈消噪信号即最终的消噪信号。
进一步地,在一实施方式中,主动降噪电路是混合式主动降噪电路时,也即包括前馈式主动降噪电路和反馈式主动降噪电路时,耳机设备还包括前馈麦克风,所述步骤S20包括:
步骤a,获取所述前馈麦克风检测到的第二噪声信号;
前馈麦克风一般设置在耳罩外侧,用于先于反馈麦克风和人耳拾取到噪声。耳机设备在使用过程中开启主动降噪功能时,通过前馈麦克风检测噪声信号(以下称为第二噪声信号以示区分)。
步骤b,通过所述前馈式主动降噪电路对所述第二噪声信号进行降噪处理,得到前馈消噪信号;
对于前馈麦克风检测到的第二噪声信号,耳机设备通过前馈式主动降噪电路对第二噪声信号进行降噪处理,得到前馈消噪信号,前馈消噪信号用于抵消第二噪声信号。需要说明的是,在本实施例中,通过前馈式主动降噪电路进行降噪处理的具体过程在此不做详细赘述,可参照现有的前馈式主动降噪电路。
步骤c,通过所述反馈式主动降噪电路对各所述第一噪声信号进行降噪处理,得到各所述第一噪声信号的平均信号对应的反馈消噪信号;
耳机设备通过反馈式主动降噪电路对各第一噪声信号进行降噪处理,得到各第一噪声信号的平均信号对应的反馈消噪信号。具体地,可以先对各第一噪声信号进行平均后在进行降噪处理,也可以先对各第一噪声信号进行分别降噪处理后再将消噪信号平均。需要说明的是,在本实施例中,通过反馈式主动降噪电路进行降噪处理的具体过程在此不做详细赘述,可参照现有的反馈式主动降噪电路。
步骤d,将所述前馈消噪信号和所述反馈消噪信号相加,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
在得到前馈消噪信号和反馈消噪信号后,将两个消噪信号相加,将相加得到的信号作为各第一噪声信号的平均信号对应的消噪信号,也即,将相加得到的信号通过扬声器进行播放。可以理解的是,前馈消噪信号是用于抵消第一噪声信号的,抵消后在反馈麦克风处拾取到的第二噪声信号是残余噪声,反馈消噪信号用于抵消反馈麦克风处拾取到的第二噪声信号,从而通过混合式地消噪达到更佳的降噪效果。
步骤S30,通过所述扬声器播放所述消噪信号。
耳机设备在处理得到消噪信号后,通过扬声器播放该消噪信号。由于反馈麦克风阵列(或经过误差补偿后的反馈麦克风阵列)的分布平面垂直于扬声器和出声孔之间的连线,且反馈麦克风阵列的中心在该连线上,因此,反馈麦克风阵列中各个反馈麦克风检测到的第一噪声信号的平均信号可以看做是在反馈麦克风阵列的中心处检测到的噪声信号,经过降噪处理得到的平均信号对应的消噪信号,可以看做是针对反馈麦克风阵列的中心处噪声信号的消噪信号,进而通过播放该消噪信号,相当于在反馈麦克风阵列的中心处抵消掉噪声信号;又由于反馈麦克风阵列的中心在扬声器与出声孔的连线上,从而能够满足b-a=d-c,使得在中心处噪声信号被抵消掉时,在人耳处噪声信号也能够被抵消掉。
在本实施例中,通过在耳机设备中设置反馈麦克风阵列,反馈麦克风阵列包括多个反馈麦克风,反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合该位置条件,该位置条件为反馈麦克风阵列的分布平面垂直于扬声器和出声孔之间的连线,且反馈麦克风阵列的中心在该连线上;通过耳机设备中的主动降噪电路对各反馈麦克风检测到的各第一噪声信号进行降噪处理,得到各第一噪声信号的平均信号对应的消噪信号,通过扬声器播放该消噪信号,能够等效地实现反馈麦克风阵列中心处的噪声被抵消,进而能够实现在人耳处的噪声也被抵消。
进一步地,基于上述第一实施例,提出本申请降噪方法的第二实施例,在本实施例中,所述步骤S20包括:
步骤S201,对各所述第一噪声信号进行平均得到平均信号;
步骤S202,将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号。
在本实施例中,对于各个反馈麦克风检测到的第一噪声信号,耳机设备先对各第一噪声信号进行平均得到平均信号。噪声信号进行平均的方式可参照现有的信号平均方式,在此不做详细赘述。在得到平均信号后,将平均信号输入主动降噪电路进行降噪处理。
当主动降噪电路是反馈式主动降噪电路时,耳机设备将各第一噪声信号进行平均得到的平均信号输入反馈式主动降噪电路进行降噪处理,得到平均信号对应的反馈消噪信号,将反馈消噪信号作为最终的消噪信号通过扬声器播放。反馈式主动降噪电路中的反馈滤波器的滤波器系数可以通过预先进行测试设计,设计方式可以参照现有的反馈滤波器设计方法,其中需要用到反馈麦克风的输出信号(检测到的噪声信号)时,可以将各个反馈麦克风的输出信号进行平均后再参与滤波器设计。
当主动降噪电路是混合式主动降噪电路时,也即包括前馈式主动降噪电路和反馈式主动降噪电路时,耳机设备通过前馈麦克风检测第二噪声信号,将第二噪声信号输入前馈式主动降噪电路进行降噪处理,得到前馈消噪信号;将各反馈麦克风检测到的第一噪声信号进行平均得到的平均信号输入反馈式主动降噪电路进行降噪处理,得到该平均信号对应的反馈消噪信号;将前馈消噪信号和反馈消噪信号相加得到的结果作为各第一噪声信号的平均信号对应的消噪信号,也即,将相加得到的结果通过扬声器播放。同理,前馈式主动降噪电路中的前馈滤波器和反馈式主动降噪电路中的反馈滤波器的滤波器系数可以通过预先 进行测试设计,设计方式可以参照现有的前馈滤波器和反馈滤波器的设计方法,其中需要用到反馈麦克风的输出信号(检测到的噪声信号)时,可以将各个反馈麦克风的输出信号进行平均后再参与滤波器设计。
进一步地,在一实施方式中,所述步骤S10之前,还包括:
步骤A10,获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
主动降噪电路中的滤波器系数可以通过播放测试噪声和计算声学传递函数来设定。具体地,耳机设备中可以预先设置一段测试用的噪声(以下称为测试噪声),通过耳机设备中的扬声器播放该测试噪声,并通过各反馈麦克风检测噪声信号,将该噪声信号称为测试噪声信号。
步骤A20,将各所述测试噪声信号进行平均得到平均测试信号;
步骤A30,根据所述平均测试信号计算得到所述扬声器到所述反馈麦克风阵列中心的声学传递函数;
将各测试噪声信号进行平均得到平均测试信号,该平均测试信号可以看做是放置于反馈麦克风阵列中心处的麦克风(实际上并未在该位置处设置麦克风)拾取到的噪声信号。根据该平均测试信号可以计算得到扬声器到反馈麦克风阵列中心的声学传递函数,该声学传递函数反应了扬声器播放的噪声信号与反馈麦克阵列中心处麦克风拾取到噪声信号之间的传递关系。根据该平均测试信号计算该声学传递函数的方法可以参照现有的声学传递函数计算方法,在此不做赘述。
步骤A40,根据所述声学传递函数设定所述主动降噪电路中的滤波器系数;
计算得到扬声器到反馈麦克风阵列中心的声学传递函数后,即可根据声学传递函数设定主动降噪电路中的滤波器系数。具体地,根据声学传递函数设定滤波器系数的方法通用可以参照现有的滤波器系数设定方法,在此不做赘述。
需要说明的是,若主动降噪电路是反馈式主动降噪电路,则根据扬声器到反馈麦克风阵列中心的声学传递函数来设定反馈式主动降噪电路中的反馈滤波器的滤波器系数。若主动降噪电路是混合式主动降噪电路,则进一步地,可以在外部测试设备中预置一段测试噪声(以下称为外部测试噪声),通过外部测试设备播放该外部测试噪声,通过前馈麦克风和反馈麦克风检测该外部测试噪声信号,根据前馈麦克风检测到的外部测试噪声信号计算外部声源到前馈麦克风的声学传递函数(以下称为第一函数);将各反馈麦克风检测到外部测 试噪声信号进行平均,得到平均外部测试信号,根据前馈麦克风检测到的外部测试噪声信号和该平均测试信号,计算得到前馈麦克风到反馈麦克风阵列中心处的声学传递函数(以下称为第二函数);根据第一函数、第二函数和第三函数(扬声器到反馈麦克风阵列中心的声学传递函数)联合设定前馈式主动降噪电路中前馈滤波器的滤波器系数和反馈式主动降噪电路中反馈滤波器的滤波器系数。
所述步骤S202包括:
步骤S2021,将所述平均信号输入所述主动降噪电路,基于所述滤波器系数进行降噪处理,得到所述平均信号对应的消噪信号。
耳机设备在设定主动降噪电路中的滤波器系数后,在使用过程中开启主动降噪功能时,在计算得到各个第一噪声信号的平均信号后,可以将平均信号输入主动降噪电路,基于设定的主动降噪电路中的滤波器系数进行降噪处理,得到平均信号对应的消噪信号。需要说明的是,主动降噪电路中基于滤波器对信号进行降噪处理得到消噪信号的具体过程可参照现有的主动降噪电路,在此不做赘述。
进一步地,基于上述第一实施例,提出本申请降噪方法的第三实施例,在本实施例中,所述步骤S20包括:
步骤S203,将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号;
步骤S204,将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
在本实施例中,对于各个反馈麦克风检测到的第一噪声信号,可以先进行降噪处理再对消噪信号进行平均。
具体地,主动降噪电路中可以包括与各个反馈麦克风分别对应的主动降噪支路,也即,一个反馈麦克风对应一个主动降噪支路。对于各个反馈麦克风检测到的第一噪声信号,耳机设备可以先将各第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各个第一噪声信号分别对应的支路消噪信号。也即,将一个反馈麦克风检测到的第一噪声信号输入该反馈麦克风对应的主动降噪支路进行降噪处理,得到该第一噪声信号对应的支路消噪信号。
将各个支路消噪信号进行平均,将平均得到的信号作为各第一噪声信号的平均信号对应的消噪信号,也即,虽然不是直接对各第一噪声信号的平均信号进行降噪处理得到消噪信号,但是,将各个第一噪声信号采用对应的主动降噪支路进行降噪处理后再进行平均得到的信号,可以看做是各第一噪声信号的平均信号对应的消噪信号。
主动降噪支路可以是反馈式主动降噪电路,也可以是混合式主动降噪电路。
当主动降噪支路是反馈式主动降噪电路时,耳机设备将各第一噪声信号输入对应的反馈式主动降噪电路进行降噪处理,得到各第一噪声信号分别对应的反馈消噪信号(也即支路消噪信号),将各支路消噪信号进行平均得到的信号直接作为各第一噪声信号的平均信号对应的消噪信号,通过扬声器播放该消噪信号。各个反馈式主动降噪电路中的反馈滤波器的滤波器系数可以通过预先进行测试设计,设计方式可以参照现有的反馈滤波器设计方法,其中需要用到反馈麦克风的输出信号(检测到的噪声信号)时,使用对应的反馈麦克风的输出信号参与对应的滤波器设计。
当主动降噪支路是混合式主动降噪电路时,各个主动降噪支路可以采用不同的反馈式主动降噪电路,但共用一个前馈式主动降噪电路;耳机设备通过前馈麦克风检测第二噪声信号,将第二噪声信号输入前馈式主动降噪电路进行降噪处理,得到前馈消噪信号;将各反馈麦克风检测到的第一噪声信号分别输入对应的反馈式主动降噪电路进行降噪处理,得到各个反馈消噪信号;将前馈消噪信号与各个反馈消噪信号分别相加后再求平均,或将各个反馈消噪信号求平均后再与前馈消噪信号相加,将计算得到的结果作为各第一噪声信号的平均信号对应的消噪信号,也即,将计算得到的结果通过扬声器播放。同理,前馈式主动降噪电路中的前馈滤波器和反馈式主动降噪电路中的反馈滤波器的滤波器系数可以通过预先进行测试设计,设计方式可以参照现有的前馈滤波器和反馈滤波器的设计方法,其中需要用到反馈麦克风的输出信号(检测到的噪声信号)时,使用对应的反馈麦克风的输出信号参与对应的滤波器设计。
进一步地,在一实施方式中,所述步骤S10之前,还包括:
步骤B10,获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
主动降噪电路中的滤波器系数可以通过播放测试噪声和计算声学传递函数来设定。具体地,耳机设备中可以预先设置一段测试用的噪声(以下称为测试噪声),通过耳机设备中的扬声器播放该测试噪声,并通过各反馈麦克风检测噪声信号,将该噪声信号称为测试噪 声信号。
步骤B20,分别根据各所述测试噪声信号计算得到所述扬声器到对应反馈麦克风的声学传递函数;
步骤B30,分别根据各所述声学传递函数设定对应主动降噪支路中的支路滤波器系数;
分别根据各测试噪声信号计算得到扬声器到对应的反馈麦克风的声学传递函数。也即,对于每个反馈麦克风,采用该反馈麦克风检测到的测试噪声信号计算扬声器到该反馈麦克风的声学传递函数。那么,一个反馈麦克风对应一个声学传递函数。分别根据各个声学传递函数设定对应的主动降噪支路中的支路滤波器系数,也即,对于每个反馈麦克风,采用该反馈麦克风对应的声学传递函数设定该反馈麦克风对应的主动降噪支路中的支路滤波器系数。
需要说明的是,若主动降噪支路是反馈式主动降噪电路,则根据扬声器到各个反馈麦克风的声学传递函数来对应设定各个反馈式主动降噪电路中的反馈滤波器的滤波器系数。若主动降噪电路是混合式主动降噪电路,则进一步地,可以在外部测试设备中预置一段测试噪声(以下称为外部测试噪声),通过外部测试设备播放该外部测试噪声,通过前馈麦克风和反馈麦克风检测该外部测试噪声信号,根据前馈麦克风检测到的外部测试噪声信号计算外部声源到前馈麦克风的声学传递函数(以下称为第一函数);根据前馈麦克风检测到的外部测试噪声信号和各个反馈麦克风检测到的外部测试噪声信号,分别计算得到前馈麦克风到各个反馈麦克风的声学传递函数(以下称为第二函数);根据第一函数、各第二函数和各第三函数(扬声器到反馈麦克风的声学传递函数)联合设定前馈式主动降噪电路中前馈滤波器的滤波器系数和各个反馈式主动降噪电路中反馈滤波器的滤波器系数。
所述步骤S204包括:
步骤S2041,将各所述第一噪声信号分别输入对应的主动降噪支路,基于对应的支路滤波器系数进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号。
耳机设备在设定主动降噪支路中的支路滤波器系数后,在使用过程中开启主动降噪功能时,可将各个第一噪声信号分别输入对应的主动降噪支路,基于该主动降噪支路中设定的滤波器系数进行降噪处理,得到各第一噪声信号分别对应的支路消噪信号。需要说明的是,主动降噪支路中基于滤波器对信号进行降噪处理得到消噪信号的具体过程可参照现有的主动降噪电路,在此不做赘述。
进一步地,在一实施方式中,当所述反馈麦克风阵列的分布位置是经过误差补偿后符 合所述位置条件时,所述步骤S20包括:
步骤S205,获取各所述反馈麦克风对应的权重,其中,所述权重是预先根据所述反馈麦克风阵列的分布位置相对于所述位置条件的误差设置的;
当反馈麦克风阵列的分布位置与位置条件之间存在误差时,可以对误差进行补偿,在本实施方式中,误差补偿的方式可以是预先根据反馈麦克风阵列的分布位置相对于位置条件的误差设置各个反馈麦克风阵列对应的权重。具体地,可以通过测试的方法来设置权重,以使得按照该设定的权重对各个反馈麦克风检测的噪声信号进行加权平均得到的噪声信号与反馈麦克风阵列的中心位置的噪声信号一致。
步骤S206,将各所述支路消噪信号按照对应的权重进行加权平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
在通过各反馈麦克风检测到第一噪声信号后,可以将各支路消噪信号按照对应的权重进行加权平均。其中,可以理解的是反馈麦克风、第一噪声信号、主动降噪支路、权重、支路消噪信号之间是一一对应的,加权平均是将各支路消噪信号与对应的权重相乘后再平均。将加权平均的结果作为各第一噪声信号的平均信号对应的消噪信号。
进一步地,在一实施方式中,当先对各第一噪声信号进行平均再进行降噪处理时,也可以先将各第一噪声信号按照对应的权重进行加权平均得到平均信号,再将平均信号输入主动降噪电路进行降噪处理得到各第一噪声信号的平均信号对应的消噪信号。
此外,本申请实施例还提出一种降噪装置,所述降噪装置部署于耳机设备,所述耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,参照图5,所述降噪装置包括:
获取模块10,用于获取各所述反馈麦克风分别检测到的第一噪声信号;
降噪模块20,用于通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号;
播放模块30,用于通过所述扬声器播放所述消噪信号。
进一步地,所述降噪模块20包括:
第一平均单元,用于对各所述第一噪声信号进行平均得到平均信号;
第一降噪单元,用于将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号。
进一步地,所述获取模块10还用于获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
所述装置还包括:
平均模块,用于将各所述测试噪声信号进行平均得到平均测试信号;
第一计算模块,用于根据所述平均测试信号计算得到所述扬声器到所述反馈麦克风阵列中心的声学传递函数;
第一设定模块,用于根据所述声学传递函数设定所述主动降噪电路中的滤波器系数;
所述第一降噪单元还用于:
将所述平均信号输入所述主动降噪电路,基于所述滤波器系数进行降噪处理,得到所述平均信号对应的消噪信号。
进一步地,所述主动降噪电路包括与各所述反馈麦克风分别对应的主动降噪支路,所述降噪模块20包括:
第二降噪单元,用于将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号;
第二平均单元,用于将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
进一步地,所述获取模块10还用于获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
所述装置还包括:
第二计算模块,用于分别根据各所述测试噪声信号计算得到所述扬声器到对应反馈麦克风的声学传递函数;
第二设定模块,用于分别根据各所述声学传递函数设定对应主动降噪支路中的支路滤波器系数;
所述第二平均单元还用于:
将各所述第一噪声信号分别输入对应的主动降噪支路,基于对应的支路滤波器系数进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号。
进一步地,当所述反馈麦克风阵列的分布位置是经过误差补偿后符合所述位置条件时,所述第二平均单元还用于:
获取各所述反馈麦克风对应的权重,其中,所述权重是预先根据所述反馈麦克风阵列的分布位置相对于所述位置条件的误差设置的;
将各所述支路消噪信号按照对应的权重进行加权平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
进一步地,所述主动降噪电路包括前馈式主动降噪电路和反馈式主动降噪电路,所述耳机设备还包括前馈麦克风,所述降噪模块20包括:
获取单元,用于获取所述前馈麦克风检测到的第二噪声信号;
第三降噪单元,用于通过所述前馈式主动降噪电路对所述第二噪声信号进行降噪处理,得到前馈消噪信号;
第四降噪单元,用于通过所述反馈式主动降噪电路对各所述第一噪声信号进行降噪处理,得到各所述第一噪声信号的平均信号对应的反馈消噪信号;
计算单元,用于将所述前馈消噪信号和所述反馈消噪信号相加,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
本申请降噪装置的具体实施方式的拓展内容与上述降噪方法各实施例基本相同,在此不做赘述。
本申请耳机设备可以包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,所述耳机设备还包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的降噪程序,所述降噪程序被所述处理器执行时实现如操作:
获取各所述反馈麦克风分别检测到的第一噪声信号;
通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号;
通过所述扬声器播放所述消噪信号。
进一步地,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号包括:
对各所述第一噪声信号进行平均得到平均信号;
将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号。
进一步地,所述获取各所述反馈麦克风分别检测到的第一噪声信号之前,还包括:
获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
将各所述测试噪声信号进行平均得到平均测试信号;
根据所述平均测试信号计算得到所述扬声器到所述反馈麦克风阵列中心的声学传递函数;
根据所述声学传递函数设定所述主动降噪电路中的滤波器系数;
所述将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号包括:
将所述平均信号输入所述主动降噪电路,基于所述滤波器系数进行降噪处理,得到所述平均信号对应的消噪信号。
进一步地,所述主动降噪电路包括与各所述反馈麦克风分别对应的主动降噪支路,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号包括:
将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号;
将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
进一步地,所述获取各所述反馈麦克风分别检测到的第一噪声信号之前,还包括:
获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;
分别根据各所述测试噪声信号计算得到所述扬声器到对应反馈麦克风的声学传递函数;
分别根据各所述声学传递函数设定对应主动降噪支路中的支路滤波器系数;
所述将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号包括:
将各所述第一噪声信号分别输入对应的主动降噪支路,基于对应的支路滤波器系数进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号。
进一步地,当所述反馈麦克风阵列的分布位置是经过误差补偿后符合所述位置条件时,所述将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号包括:
获取各所述反馈麦克风对应的权重,其中,所述权重是预先根据所述反馈麦克风阵列的分布位置相对于所述位置条件的误差设置的;
将各所述支路消噪信号按照对应的权重进行加权平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
进一步地,所述主动降噪电路包括前馈式主动降噪电路和反馈式主动降噪电路,所述耳机设备还包括前馈麦克风,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号包括:
获取所述前馈麦克风检测到的第二噪声信号;
通过所述前馈式主动降噪电路对所述第二噪声信号进行降噪处理,得到前馈消噪信号;
通过所述反馈式主动降噪电路对各所述第一噪声信号进行降噪处理,得到各所述第一噪声信号的平均信号对应的反馈消噪信号;
将所述前馈消噪信号和所述反馈消噪信号相加,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
此外,本申请实施例还提出一种计算机可读存储介质,所述存储介质上存储有降噪程序,所述降噪程序被处理器执行时实现如上所述的降噪方法的步骤。
本申请耳机设备和计算机可读存储介质的各实施例,均可参照本申请降噪方法各个实施例,此处不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所 固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
Claims (10)
- 一种降噪方法,其特征在于,所述降噪方法应用于耳机设备,所述耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,所述降噪方法包括以下步骤:获取各所述反馈麦克风分别检测到的第一噪声信号;通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号;通过所述扬声器播放所述消噪信号。
- 如权利要求1所述的降噪方法,其特征在于,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:对各所述第一噪声信号进行平均得到平均信号;将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号。
- 如权利要求2所述的降噪方法,其特征在于,所述获取各所述反馈麦克风分别检测到的第一噪声信号的步骤之前,还包括:获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;将各所述测试噪声信号进行平均得到平均测试信号;根据所述平均测试信号计算得到所述扬声器到所述反馈麦克风阵列中心的声学传递函数;根据所述声学传递函数设定所述主动降噪电路中的滤波器系数;所述将所述平均信号输入所述主动降噪电路进行降噪处理,得到所述平均信号对应的消噪信号的步骤包括:将所述平均信号输入所述主动降噪电路,基于所述滤波器系数进行降噪处理,得到所述平均信号对应的消噪信号。
- 如权利要求1所述的降噪方法,其特征在于,所述主动降噪电路包括与各所述反馈麦克风分别对应的主动降噪支路,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号;将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
- 如权利要求4所述的降噪方法,其特征在于,所述获取各所述反馈麦克风分别检测到的第一噪声信号的步骤之前,还包括:获取各所述反馈麦克风分别检测到的测试噪声信号,其中,所述测试噪声信号是通过所述扬声器播放预置测试噪声后被各所述反馈麦克风检测到的信号;分别根据各所述测试噪声信号计算得到所述扬声器到对应反馈麦克风的声学传递函数;分别根据各所述声学传递函数设定对应主动降噪支路中的支路滤波器系数;所述将各所述第一噪声信号分别输入对应的主动降噪支路进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号的步骤包括:将各所述第一噪声信号分别输入对应的主动降噪支路,基于对应的支路滤波器系数进行降噪处理,得到各所述第一噪声信号分别对应的支路消噪信号。
- 如权利要求4所述的降噪方法,其特征在于,当所述反馈麦克风阵列的分布位置是经过误差补偿后符合所述位置条件时,所述将各所述支路消噪信号进行平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:获取各所述反馈麦克风对应的权重,其中,所述权重是预先根据所述反馈麦克风阵列的分布位置相对于所述位置条件的误差设置的;将各所述支路消噪信号按照对应的权重进行加权平均,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
- 如权利要求1至6任一项所述的降噪方法,其特征在于,所述主动降噪电路包括前馈式主动降噪电路和反馈式主动降噪电路,所述耳机设备还包括前馈麦克风,所述通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号的步骤包括:获取所述前馈麦克风检测到的第二噪声信号;通过所述前馈式主动降噪电路对所述第二噪声信号进行降噪处理,得到前馈消噪信号;通过所述反馈式主动降噪电路对各所述第一噪声信号进行降噪处理,得到各所述第一噪声信号的平均信号对应的反馈消噪信号;将所述前馈消噪信号和所述反馈消噪信号相加,将结果作为各所述第一噪声信号的平均信号对应的消噪信号。
- 一种降噪装置,其特征在于,所述降噪装置部署于耳机设备,所述耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,所述降噪装置包括:获取模块,用于获取各所述反馈麦克风分别检测到的第一噪声信号;降噪模块,用于通过所述主动降噪电路对各所述第一噪声信号进行降噪处理,得到与各所述第一噪声信号的平均信号对应的消噪信号;播放模块,用于通过所述扬声器播放所述消噪信号。
- 一种耳机设备,其特征在于,所述耳机设备包括主动降噪电路、扬声器、出声孔和反馈麦克风阵列,所述反馈麦克风阵列包括多个反馈麦克风,所述反馈麦克风阵列的分布位置符合一位置条件或经过误差补偿后符合所述位置条件,所述位置条件为所述反馈麦克风阵列的分布平面垂直于所述扬声器和所述出声孔之间的连线,且所述反馈麦克风阵列的中心在所述连线上,所述耳机设备还包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的降噪程序,所述降噪程序被所述处理器执行时实现如权利要求1至7中任一项所述的降噪方法的步骤。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有降噪程序,所述降噪程序被处理器执行时实现如权利要求1至7中任一项所述的降噪方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111123005.X | 2021-09-24 | ||
| CN202111123005.XA CN113676815B (zh) | 2021-09-24 | 2021-09-24 | 降噪方法、装置、耳机设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023045130A1 true WO2023045130A1 (zh) | 2023-03-30 |
Family
ID=78550046
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/138976 Ceased WO2023045130A1 (zh) | 2021-09-24 | 2021-12-17 | 降噪方法、装置、耳机设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113676815B (zh) |
| WO (1) | WO2023045130A1 (zh) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113676815B (zh) * | 2021-09-24 | 2022-11-01 | 歌尔科技有限公司 | 降噪方法、装置、耳机设备及存储介质 |
| CN114339513B (zh) * | 2021-10-21 | 2024-12-17 | 深圳市中科蓝讯科技股份有限公司 | 主动降噪滤波器的生成方法、存储介质及耳机 |
| CN114268875B (zh) * | 2021-12-13 | 2024-11-22 | 歌尔科技有限公司 | 低频共振效应的消除电路、系统及方法 |
| CN114885240B (zh) * | 2022-04-28 | 2025-01-28 | 歌尔股份有限公司 | 降噪方法、装置、耳机设备及存储介质 |
| CN114928785B (zh) * | 2022-04-28 | 2025-01-21 | 歌尔股份有限公司 | 耳机设备的反馈降噪方法、装置、耳机设备及存储介质 |
| CN115119129B (zh) * | 2022-06-30 | 2025-05-30 | 歌尔科技有限公司 | 耳机佩戴松动检测方法、装置、电子设备及可读存储介质 |
| CN115278438B (zh) * | 2022-07-27 | 2024-08-27 | 北京爱德发科技有限公司 | 降噪耳机、降噪方法和装置、存储介质及处理器 |
| CN115474123A (zh) * | 2022-09-29 | 2022-12-13 | 歌尔科技有限公司 | 耳机降噪方法、装置、电子设备及可读存储介质 |
| CN115767345A (zh) * | 2022-11-11 | 2023-03-07 | 歌尔科技有限公司 | 降噪方法、装置、耳机设备及计算机可读存储介质 |
| CN119943021A (zh) * | 2023-11-03 | 2025-05-06 | 海信家电集团股份有限公司 | 送风设备的降噪方法、装置、送风设备及存储介质 |
| CN119207360B (zh) * | 2024-09-23 | 2025-10-03 | 恒玄科技(上海)股份有限公司 | 主动降噪方法及主动降噪音频设备 |
| CN118870252A (zh) * | 2024-09-25 | 2024-10-29 | 东莞市和乐电子有限公司 | 耳机用多路反馈主动降噪方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050249355A1 (en) * | 2002-09-02 | 2005-11-10 | Te-Lun Chen | [feedback active noise controlling circuit and headphone] |
| US8447045B1 (en) * | 2010-09-07 | 2013-05-21 | Audience, Inc. | Multi-microphone active noise cancellation system |
| CN105900452A (zh) * | 2013-12-03 | 2016-08-24 | 伯斯有限公司 | 有源降噪耳机 |
| CN107787589A (zh) * | 2015-06-22 | 2018-03-09 | 索尼移动通讯有限公司 | 噪声消除系统、耳机和电子装置 |
| CN113676815A (zh) * | 2021-09-24 | 2021-11-19 | 歌尔科技有限公司 | 降噪方法、装置、耳机设备及存储介质 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW562382U (en) * | 2002-09-02 | 2003-11-11 | Lab9 Inc | A feedback type active noise control earphone |
| EP3186976B1 (en) * | 2014-08-29 | 2020-06-10 | Harman International Industries, Incorporated | Auto-calibrating noise canceling headphone |
| EP2996112B1 (en) * | 2014-09-10 | 2018-08-22 | Harman Becker Automotive Systems GmbH | Adaptive noise control system with improved robustness |
| EP3419307B1 (en) * | 2017-06-19 | 2020-05-13 | Audio-Technica Corporation | Headphone |
| CN112637724B (zh) * | 2020-12-29 | 2023-08-08 | 西安讯飞超脑信息科技有限公司 | 耳机降噪方法、系统及存储介质 |
| CN112929807B (zh) * | 2021-01-25 | 2022-09-13 | 深圳市卓翼科技股份有限公司 | 自动校正滤波器系数的方法、系统、测试终端及存储介质 |
-
2021
- 2021-09-24 CN CN202111123005.XA patent/CN113676815B/zh active Active
- 2021-12-17 WO PCT/CN2021/138976 patent/WO2023045130A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050249355A1 (en) * | 2002-09-02 | 2005-11-10 | Te-Lun Chen | [feedback active noise controlling circuit and headphone] |
| US8447045B1 (en) * | 2010-09-07 | 2013-05-21 | Audience, Inc. | Multi-microphone active noise cancellation system |
| CN105900452A (zh) * | 2013-12-03 | 2016-08-24 | 伯斯有限公司 | 有源降噪耳机 |
| CN107787589A (zh) * | 2015-06-22 | 2018-03-09 | 索尼移动通讯有限公司 | 噪声消除系统、耳机和电子装置 |
| CN113676815A (zh) * | 2021-09-24 | 2021-11-19 | 歌尔科技有限公司 | 降噪方法、装置、耳机设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113676815A (zh) | 2021-11-19 |
| CN113676815B (zh) | 2022-11-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023045130A1 (zh) | 降噪方法、装置、耳机设备及存储介质 | |
| TWI611704B (zh) | 自調式主動噪聲消除方法、系統及耳機裝置 | |
| US8050421B2 (en) | Acoustic correction apparatus and acoustic correction method | |
| CN110996203B (zh) | 一种耳机降噪方法、装置、系统及无线耳机 | |
| CN106664333B (zh) | 频率相关侧音校准 | |
| CN113574593B (zh) | 调谐方法、制造方法、计算机可读存储介质和调谐系统 | |
| TWI873189B (zh) | 用於耳戴式播放裝置之音頻系統及信號處理方法 | |
| CN116017222B (zh) | 主动式降噪集成电路、方法及使用其的主动式降噪耳机 | |
| CN113450754A (zh) | 有源噪声消除系统和方法 | |
| CN113421540B (zh) | 主动降噪方法、主动降噪装置及半入耳式主动降噪耳机 | |
| US20080069368A1 (en) | Method and apparatus for achieving active noise reduction | |
| CN114787911B (zh) | 耳戴式播放设备的噪声消除系统和信号处理方法 | |
| TW202234382A (zh) | 改良式雜訊分離混合型主動抗噪系統 | |
| CN110610693A (zh) | 权重式混合型态主动抗噪系统及控制器 | |
| CN107666637A (zh) | 自调式主动噪声消除方法、系统及耳机装置 | |
| CN111656435A (zh) | 用于确定启用噪声消除的音频设备的响应函数的方法 | |
| CN115396774A (zh) | 主动降噪方法和主动降噪耳机 | |
| CN108156551A (zh) | 主动降噪系统、主动降噪耳机及主动降噪方法 | |
| TWI802055B (zh) | 可堆疊多重抗噪訊號的主動式降噪積體電路、方法及使用其之主動降噪耳機 | |
| EP3486896B1 (en) | Noise cancellation system and signal processing method | |
| CN111464930A (zh) | 耳机的啸叫检测方法、检测装置及存储介质 | |
| CN113132847B (zh) | 主动降噪耳机的降噪参数确定方法及装置、主动降噪方法 | |
| CN114255732A (zh) | 主动降噪方法及装置、计算机可读存储介质及电子设备 | |
| CN113132848A (zh) | 滤波器设计方法、装置以及入耳式主动降噪耳机 | |
| CN118016041A (zh) | 一种主动降噪耳机和无线耳机的主动降噪方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21958241 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21958241 Country of ref document: EP Kind code of ref document: A1 |