Apparatus for noise reduction in audio signal processing
11699423 · 2023-07-11
Assignee
Inventors
Cpc classification
G10K11/17813
PHYSICS
International classification
Abstract
An apparatus for noise reduction in audio signal processing includes a power amplifier, a zero-crossing detector, and a threshold detector. The power amplifier has an input signal terminal for receiving an audio input signal and an output signal terminal. The audio input signal is a digital-to-analog converted version according to a version of a digital audio signal. The power amplifier has an analog gain which is controllable in response to an analog gain control signal. The zero-crossing detector determines a zero-crossing detection signal according to an internal signal provided between the input signal terminal and the output signal terminal. The threshold detector determines a gain setting according to the digital audio signal and the zero-crossing detection signal to generate the analog gain control signal indicating the gain setting, wherein the threshold detector controls the analog gain of the power amplifier according to the analog gain control signal.
Claims
1. An apparatus for noise reduction in audio signal processing, the apparatus comprising: a power amplifier having an input signal terminal and an output signal terminal, wherein an audio input signal is applied to the input signal terminal, and the audio input signal is a digital-to-analog converted version according to a version of a digital audio signal, the power amplifier has an analog gain which is controllable in response to an analog gain control signal; a zero-crossing detector for determining a zero-crossing detection signal according to an internal signal provided between the input signal terminal and the output signal terminal; and a threshold detector for determining a gain setting according to the digital audio signal and the zero-crossing detection signal to generate the analog gain control signal indicating the gain setting, wherein the threshold detector controls the analog gain of the power amplifier according to the analog gain control signal.
2. The apparatus according to claim 1, wherein the threshold detector determines the gain setting as a first gain parameter when the threshold detector detects that the digital audio signal varies within a first reference range and the zero-crossing detection signal indicates a zero-crossing state; otherwise, the threshold detector determines the gain setting as a second gain parameter.
3. The apparatus according to claim 2, wherein the power amplifier has a plurality of gain setting states and the power amplifier is set to one of the gain setting states according to the gain setting indicated in the analog gain control signal, wherein the first gain parameter indicates one of the gain setting states such that the power amplifier has a lower gain.
4. The apparatus according to claim 1, wherein the internal signal includes an analog signal varying according to a signal at the input signal terminal and a signal at the output signal terminal.
5. The apparatus according to claim 4, wherein the zero-crossing detector includes a comparator circuit to generate the zero-crossing detection signal according to a comparison between the analog signal and a reference signal.
6. The apparatus according to claim 1, wherein the internal signal includes a first signal and a second signal both varying according to a signal at the input signal terminal and a signal at the output signal terminal, and the first signal and the second signal are analog differential signals.
7. The apparatus according to claim 6, wherein the zero-crossing detector includes: a first comparator circuit to generate a first comparison result signal according to a comparison between the first signal and a reference signal; and a second comparator circuit to generate a second comparison result signal according to a comparison between the second signal and the reference signal, wherein the zero-crossing detector generates the zero-crossing detection signal according to the first comparison result signal and the second comparison result signal.
8. The apparatus according to claim 1, wherein the internal signal includes a first signal and a second signal both varying according to a signal at the input signal terminal and a signal at the output signal terminal, and the first signal and the second signal are pulse-width modulation signals.
9. The apparatus according to claim 8, wherein the zero-crossing detector includes: a first comparator circuit to generate a first comparison result signal according to a comparison between the first signal and a reference signal; a second comparator circuit to generate a second comparison result signal according to a comparison between the second signal and the reference signal; and a zero-crossing determination circuit to generate the zero-crossing detection signal according to a comparison between the first comparison result signal and the second comparison result signal, wherein when one of the first signal and the second signal indicates a high state, the zero-crossing determination circuit starts comparing the first signal and the second signal whether the first signal and the second signal are equal; wherein when the first signal and the second signal are equal and have a same interval for indicating the high state after the first signal and the second signal turn to a low state, the zero-crossing determination circuit generates the zero-crossing detection signal to indicate a zero-crossing state; otherwise, the zero-crossing determination circuit generates the zero-crossing detection signal to indicate a non-zero-crossing state.
10. The apparatus according to claim 1, wherein the power amplifier is a class D amplifier.
11. The apparatus according to claim 1, wherein the apparatus further comprises a digital-to-analog converter for performing digital-to-analog conversion according to the version of the digital audio signal to generate the audio input signal.
12. The apparatus according to claim 1, wherein the apparatus is a digital input audio amplifier or an audio reproduction device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION OF THE INVENTION
(10) To facilitate understanding of the object, characteristics and effects of this present disclosure, embodiments together with the attached drawings for the detailed description of the present disclosure are provided.
(11) Referring to
(12) The power amplifier 10 has at least one input signal terminal and at least one output signal terminal. An audio input signal is applied to the input signal terminal. As illustrated in
(13) The zero-crossing detector 20 determines a zero-crossing detection signal according to an internal signal provided between the input signal terminal and the output signal terminal.
(14) The threshold detector 30 is used for determining a gain setting according to the digital audio signal and the zero-crossing detection signal to generate the analog gain control signal indicating the gain setting, wherein the threshold detector 30 controls the analog gain of the power amplifier 10 according to the analog gain control signal.
(15) In some embodiments, the threshold detector 30 determines the gain setting as a first gain parameter when the threshold detector 30 detects that the digital audio signal varies within a first reference range (e.g., a range of 0.01%, 0.1%, 1%, 2% of a maximal allowable signal magnitude (or digital value)) and the zero-crossing detection signal indicates a zero-crossing state; otherwise, the threshold detector 30 determines the gain setting as a second gain parameter.
(16) In some embodiments, the power amplifier 10 has a plurality of gain setting states (e.g., gains of 3.52 dB (1.5 times), 6 dB (2 times), 8 dB (2.5 times), 9.5 dB (3 times), 11.5 dB (3.75 times), 13 dB (4.5 times), 14 dB (5 times), and 15.5 dB (6 times)) and the power amplifier 10 is set to one of the gain setting states according to the gain setting indicated in the analog gain control signal, wherein the first gain parameter indicates one of the gain setting states such that the power amplifier 10 has a lower gain (e.g., 3.52 dB (1.5 times)).
(17) In an example that it is supposed that the power amplifier 10 has a characteristic that a lowest noise level is achieved when the lowest gain setting is set (e.g., 3.52 dB (1.5 times)), when the signal output of the power amplifier 10 is nearly zero or is approaching zero, a user of the power amplifier 10 is very sensitive to any noise. In this situation, the apparatus of the embodiments can control the power amplifier 10 to set to its lowest gain setting state to reduce noise when the signal output of the power amplifier 10 is nearly zero or is approaching zero. In this way, the average noise level is reduced by way of the apparatus.
(18) In some embodiments, the apparatus can further include the digital-to-analog converter 9 for performing digital-to-analog conversion according to the version of the digital audio signal to generate the audio input signal.
(19) Referring to
(20) For example, the error amplifier stage 110, for example, receives an audio input signal from the digital-to-analog converter 9 and outputs signals V.sub.op1 and V.sub.on1 to the comparator stage 120. The error amplifier stage 110 includes an amplifier, resistors R.sub.i, R.sub.Z, and capacitors C.sub.1, C.sub.2. The comparator stage 120 includes comparators to compare the signals V.sub.op1 and V.sub.on1 with a triangular wave and outputs signals (such as pulse-width modulated signals) to the output stage 130. The output stage 130, which is an output stage circuit having a gain represented by G.sub.PWM, generates output signals V.sub.op and V.sub.on, which can be applied for reproduction such as by a speaker or headphone. In addition, the output signals V.sub.op and V.sub.on are fed back to the error amplifier stage 110 through resistors R.sub.f. In some embodiments, the power amplifier 10A can be implemented as a digitally controlled variable gain amplifier and for example, one or more components, such as one or more resistors (e.g., R.sub.i, R.sub.f or other), can be implemented as digitally controlled variable components for gain control. Certainly, the implementation of the invention is not limited to the examples of the power amplifier 10A. In some embodiments, any other power amplifier that is based on a class D amplifier and/or can provide one or more internal signals between an input signal terminal and an output signal terminal of the power amplifier for use in zero-crossing detection can be utilized to implement the apparatus for noise reduction in audio signal processing.
(21) In some embodiments, the internal signal includes an analog signal varying according to a signal at the input signal terminal and a signal at the output signal terminal. For example, a signal from the error amplifier stage 110, such as V.sub.op1 or V.sub.on1, as shown in
(22) In some embodiments, the internal signal includes a first signal and a second signal (e.g., V.sub.op1 or V.sub.on1, as shown in
(23) Referring to
(24) In some embodiments, the internal signal includes a first signal and a second signal both varying according to a signal at the input signal terminal and a signal at the output signal terminal, and the first signal and the second signal are pulse-width modulation signals. For example, signals from the comparator stage 120, such as pulse-width modulated signals PWM_P, PWM_N, as shown in
(25) In some embodiments, as shown in
(26) The first comparator circuit 210 generates a first comparison result signal according to a comparison between the first signal and a reference signal. The second comparator circuit 220 generates a second comparison result signal according to a comparison between the second signal and the reference signal. The zero-crossing determination circuit 230 generates the zero-crossing detection signal according to a comparison between the first comparison result signal and the second comparison result signal.
(27) Referring to
(28) Referring to
(29) Refer to
(30) For example, referring to
(31) In an embodiment, the threshold detector 30, for example, can be configured to include a control circuit (e.g., 320 in
(32) TABLE 1 illustrates a number of gain setting states that the power amplifier 10A supports for example, wherein the analog gain of the power amplifier 10A is determined according to resistors R.sub.f and R.sub.i. In some embodiments, the power amplifier 10A can be implemented by a digitally controlled variable gain amplifier, wherein the analog gain control signal (Sgc) indicates the value B[2:0]. In other embodiments, the power amplifier 10A can be implemented by an analog (e.g., voltage) controlled variable gain amplifier, wherein the analog gain control signal indicates a voltage signal corresponding to a gain setting.
(33) TABLE-US-00001 TABLE 1 FUNCTION (analog gain BIT VALUE control) R.sub.f R.sub.i B[2:0] 000 X6(+15.5 dB) 480K 60K 001 X5(14 dB) 480K 96K 010 X4.5(13 dB) 480K 106.6K 011 X3.75(11.5 dB) 480K 128K 100 X3(9.5 dB) 480K 160K 101 X2.5(8 dB) 480K 192K 110 X2(6 dB) 480K 240K 111 X1.5(3.5 dB) 480K 320K
(34) For example, in order to minimize the noise level, the threshold detector 30 determines the gain setting as a first gain parameter (e.g., B[2:0]=111) when the threshold detector 30 detects that the digital audio signal varies within a first reference range (e.g., a range of 0.01%, 0.1%, 1%, 2% of a maximal allowable signal magnitude (or digital value))(i.e., a small signal state) and the zero-crossing detection signal indicates a zero-crossing state.
(35) In some examples, the threshold detector 30 can be configured optionally to determine the gain setting as another gain parameter (e.g., returning to a previous or another gain parameter other than the first gain parameter) when the situations of the small signal state and the zero-crossing state are not satisfied.
(36) As such, the embodiments of the apparatus for noise reduction in audio signal processing are provided. The apparatus can be utilized to control the analog gain so that the noise level can be reduced when some situations such as a lower signal (e.g., nearly zero or small) output occur. Because the apparatus controls the power amplifier when at least two conditions including a zero-crossing state and a small signal state are detected, the analog gain control is more accurate and timely performed. Thus, the average noise level of the output and pop sound of the power amplifier can be reduced.
(37) While the present disclosure has been described by way of specific embodiments, numerous modifications, combinations, and variations could be made thereto by those skilled in the art without departing from the scope and spirit of the present disclosure set forth in the claims.