Audio chip and earphone of processing of making an uproar falls
Technical Field
The invention relates to the field of audio output equipment, in particular to an audio chip and an earphone for noise reduction processing.
Background
The sound quality of the headset can be improved by measuring the ambient noise using a microphone provided outside the headset housing and then using signal processing to generate an anti-noise signal and combining it into the output of the headset to cancel the ambient noise. The effectiveness of ambient noise cancellation can be determined from the speaker output known from the measurement device at the speaker or in the ear canal, and noise cancellation operation can be improved. The desired output of the speaker is the main audio signal, and the ambient noise at the speaker location is cancelled using the noise cancellation signal. In order to remove the primary audio signal from the ear canal microphone signal to identify the remaining ambient noise, the correct phase and amplitude of the primary audio signal after filtering may be subtracted from the ear canal microphone signal. However, the above method is easily implemented in error when the main audio signal is not present, or when the user makes a call, records a sound, or when a sound is generated inside the headphone system.
Disclosure of Invention
In view of the foregoing disadvantages in the prior art, the present invention provides an audio chip for noise reduction, comprising: an audio processing circuit having a filter for processing an audio signal to generate a main audio signal having a first sampling frequency; an outer microphone input for receiving an outer microphone raw signal indicative of ambient audio sounds; an ear canal microphone input for receiving an ear canal microphone raw signal that is closer to or at the ear canal of the user; the analog-to-digital converter is used for converting the original signal of the outer microphone into the signal of the outer microphone and converting the original signal of the ear canal microphone into the signal of the ear canal microphone; the processing circuit is used for receiving the outside microphone signal and the ear canal microphone signal to generate an anti-noise signal; an output circuit for receiving the anti-noise signal, a primary audio signal and producing a final output signal.
Preferably, the output circuit comprises an interpolator for receiving the anti-noise signal and generating a sampled anti-noise signal having a first sampling frequency; the interpolator includes a symbol extension stage for extending the most significant bits of the anti-noise signal to avoid overflow.
Preferably, the output circuit further comprises a limiter, an adder and a low-latency filter; a limiter for providing clipping to reduce the number of bits in the up-sampled anti-noise signal; the adder is used for receiving and combining the main audio signal and the up-sampled anti-noise signal and generating a combined output signal; the low-latency filter is used to process the combined output signal and produce a final output signal.
Preferably, the processing circuit comprises: the time-frequency conversion module is used for respectively converting the ear canal microphone signal and the outer microphone signal in the time domain into an ear canal microphone frequency domain sub-band signal and an outer microphone frequency domain sub-band signal; an extraction combination module for predicting a predicted clean audio signal in each of the ear canal microphone frequency domain subband signal and the outer microphone frequency domain subband signal and obtaining an effective audio signal from which the noise source is removed by linearly combining a lower frequency band of the predicted clean audio signal from the ear canal microphone frequency domain subband signal and a higher frequency band of the predicted clean audio signal from the outer microphone frequency domain subband signal; and the time domain synthesis module is used for converting the effective audio signal into an effective audio time domain signal through a sub-band synthesis process.
Preferably, the processing circuit further comprises a comparing module for comparing the valid audio time domain signal with the ear canal microphone signal, generating a noise feedback signal.
Preferably, the processing circuit further comprises an anti-noise signal module for combining the outer microphone signal and the noise feedback signal to generate the anti-noise signal.
Preferably, the processing circuit further includes a post-filtering module, configured to reduce the residual noise of the effective audio signal and output the reduced residual noise to the time domain synthesizing module.
Preferably, the processing circuit further comprises a transient noise reduction module for detecting transient noise from the ear canal microphone signal and outputting the transient noise reduced from the valid audio time domain signal to the comparison module.
Preferably, the extraction and combination module is further operable to update the weights of the linearly combined audio signals during the detected user speech.
Preferably, the extraction and combination module is further operable to calculate weights for the linearly combined audio signals to model the relative transfer function of the noise signal contribution between the ear canal microphone and the lateral microphone.
Preferably, the analog-to-digital converter uses a multi-bit analog modulator for receiving an analog signal forwarded to an input pin of the integrated circuit, converting the analog signal to an encoded multi-bit digital signal, which is then presented as a multi-bit digital output in an output, the single-bit digital modulator being fed back.
Preferably, the unit digital modulator is configured to convert an input multi-bit digital signal into a unit digital signal, and the unit digital signal is in a delta-sigma format.
Preferably, the unit digital signal is a serial stream of positive and negative pulses that are converted by a multiple, the number of positive pulses increasing as the amplitude of the modulated analog signal increases.
Preferably, the analog-to-digital converter comprises at least one decimator or at least one interpolator coupled to receive the multi-bit digital signal and to generate a multi-bit digital output signal that transitions at a frequency that is less than or greater than, respectively, the transition frequency; the decimator may maintain a delta-sigma format; rate change switches associated with the decimator or interpolator may modify the frequency to maintain compatibility.
The invention also provides an earphone which is provided with the audio chip with the noise reduction processing.
The audio chip and the earphone for noise reduction processing can automatically realize targeted noise reduction processing based on different earphone use scenes, and have simple circuits and good compatibility.
Drawings
Fig. 1 is a block diagram of an audio chip for noise reduction according to an embodiment of the present invention.
Fig. 2 is a block diagram of a processing circuit of an audio chip for noise reduction according to an embodiment of the present invention.
The device comprises an audio chip-100 for noise reduction, an outer microphone input end-1, an ear canal microphone input end-2, an audio processing circuit-3, an analog-to-digital converter-4, a processing circuit-5, an output circuit-6, an outer microphone-7, an ear canal microphone-8, an audio terminal-9, a loudspeaker-10, a time-frequency conversion module-11, an extraction combination module-12, a time domain synthesis module-13, a comparison module-14 and an anti-noise signal module-15.
Detailed Description
In order to solve the problem of poor noise reduction effect of the existing earphone system, the audio chip and the earphone for noise reduction processing provided by the invention are realized by the following technical scheme:
example 1:
the present embodiment provides an audio chip 100 for noise reduction processing, please refer to fig. 1, which includes: an audio processing circuit 3 having a filter for processing an audio signal to generate a main audio signal having a first sampling frequency; an outer microphone input 1 for receiving an outer microphone raw signal indicative of ambient audio sounds; an ear canal microphone input 2 for receiving an ear canal microphone raw signal closer to or at the ear canal of the user; the analog-to-digital converter 4 is used for converting the original signal of the outer microphone into the signal of the outer microphone and converting the original signal of the ear canal microphone into the signal of the ear canal microphone; the processing circuit 5 is used for receiving the outside microphone signal and the ear canal microphone signal to generate an anti-noise signal; an output circuit 6 for receiving the anti-noise signal and generating a final output signal.
In particular, the output circuit 6 comprises an interpolator for receiving the anti-noise signal and generating a sampled anti-noise signal having a first sampling frequency; the interpolator includes a symbol extension stage for extending the most significant bits of the anti-noise signal to avoid overflow.
In particular, the output circuit 6 further comprises a limiter, an adder and a low-latency filter; a limiter for providing clipping to reduce the number of bits in the up-sampled anti-noise signal; the adder is used for receiving and combining the main audio signal and the up-sampled anti-noise signal and generating a combined output signal; the low-latency filter is used to process the combined output signal and produce a final output signal.
Specifically, the processing circuit 5, please refer to fig. 2, including: the time-frequency conversion module 11 is configured to convert the ear canal microphone signal and the outer microphone signal in the time domain into an ear canal microphone frequency domain subband signal and an outer microphone frequency domain subband signal, respectively; an extraction combination module 12 for predicting a predicted clean audio signal in each of the ear canal microphone frequency domain subband signal and the outer microphone frequency domain subband signal and obtaining an effective audio signal from which the noise source is removed by linearly combining a lower frequency band of the predicted clean audio signal from the ear canal microphone frequency domain subband signal and a higher frequency band of the predicted clean audio signal from the outer microphone frequency domain subband signal; a time domain synthesis module 13, configured to convert the valid audio signal into a valid audio time domain signal through a subband synthesis process.
In particular, the processing circuit 5 further comprises a comparing module 14 for comparing the valid audio time domain signal with the ear canal microphone signal, generating a noise feedback signal.
In particular, the processing circuit 5 further comprises an anti-noise signal module 15 for combining the outer microphone signal and the noise feedback signal, generating the anti-noise signal.
Specifically, the processing circuit 5 further includes a post-filtering module, configured to reduce the residual noise of the effective audio signal and output the reduced residual noise to the time domain synthesizing module 13.
Specifically, the processing circuit 5 further includes a transient noise reduction module, configured to detect transient noise from the ear canal microphone signal, and reduce the transient noise from the valid audio time domain signal and output the transient noise to the comparison module 14.
In particular, the extraction and combination module 12 is also operable to update the weights of the linearly combined audio signals during detected user speech.
In particular, the extraction and combination module 12 is further operable to calculate weights for the linearly combined audio signals to model the relative transfer function of the noise signal contribution between the ear canal microphone and the lateral microphone.
In particular, the analog-to-digital converter 4 uses a multi-bit analog modulator for receiving an analog signal forwarded to an input pin of the integrated circuit, converting the analog signal into a coded multi-bit digital signal, which is then presented as a multi-bit digital output in an output terminal, feeding back the single-bit digital modulator.
Specifically, the single-bit digital modulator is used for converting an input multi-bit digital signal into a single-bit digital signal, and the single-bit digital signal adopts a delta-sigma format.
Specifically, the unit digital signal is a serial stream of positive and negative pulses, which are converted by a multiple, and the number of positive pulses increases as the amplitude of the modulated analog signal increases.
In particular, the analog-to-digital converter 4 comprises at least one decimator or at least one interpolator coupled to receive the multi-bit digital signal and to generate a multi-bit digital output signal that transitions at a frequency that is respectively less than or greater than a transition frequency; the decimator may maintain a delta-sigma format; rate change switches associated with the decimator or interpolator may modify the frequency to maintain compatibility.
The use of a multi-bit quantizer in a delta-sigma format analog modulator not only operates with reduced quantization steps, but more importantly, produces a substantially reduced quantization noise in the feedback signal. The digital decimation filter, which may be embodied on or separate from the integrated circuit, may be made correspondingly simpler than the digital filter required to eliminate single bit quantizer noise. The reduced quantization noise can reduce the over-sampling rate, thereby reducing the working speed and complexity of the digital filter, and the filter has smaller volume and less power consumption. The overhead of using a digital modulator is small. The components required for the digital modulator are readily available and readily implemented using various counters, accumulators, adders, etc. commonly known in the manufacture of digital circuits. The larger digital portion can be reduced to a minimum substrate area and the minimum noise attributed to the analog sampling portion of the mixed signal integrated circuit. The multi-bit quantizer in the analog modulator incurs minimal additional overhead compared to the single-bit quantizer in the analog modulator. Thus, the combination of the current multi-bit analog modulator and the single-bit digital modulator achieves the advantages of reduced quantization noise, minimal circuit overhead, and minimal complexity.
Example 2:
the present embodiment provides an earphone having any of the above-mentioned noise reduction processed audio chips, which has the same performance and is not described again.
It should be noted that the above-mentioned embodiments are provided for further detailed description of the present invention, and the present invention is not limited to the above-mentioned embodiments, and those skilled in the art can make various modifications and variations on the above-mentioned embodiments without departing from the scope of the present invention.