Method and circuit for removing POP noise in audio equipment

By introducing an integration unit and a control module into the Class D amplifier circuit, the working status of the amplifier and voltage regulator is gradually managed, solving the POP noise problem caused by misalignment and loud sound signals in Class D amplifiers, and significantly improving the comfort of audio equipment. .

CN108449057BActive Publication Date: 2024-10-11STMICROELECTRONICS (SHENZHEN) R&D CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810307170.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2013-09-12
Publication Date
2024-10-11
Estimated Expiration
2033-09-12

AI Technical Summary

Technical Problem

Class D amplifiers in audio equipment are prone to produce audible POP noise due to misalignment and when loud sound signals suddenly start or stop, affecting listener comfort.

Method used

A class D amplifier circuit is designed, including an analog signal input unit, an integration unit, a pulse width modulation unit and a control module. The amplifier and voltage regulator are gradually turned off or started through the mode selection signal to control the output of the integration unit and reduce errors caused by offset. POP noise.

Benefits of technology

Effectively removes POP noise caused by feedback resistors and preamplifier offsets, as well as noise caused by the sudden start or end of large audio signals, improving the comfort of audio equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108449057B_ABST
    Figure CN108449057B_ABST
Patent Text Reader

Abstract

The present invention relates to a class D amplifier in an audio device, comprising an input unit for receiving and amplifying a differential analog signal; two integrators for integrating the amplified analog signal; two pulse width modulators for generating a pulse signal corresponding to the integrated analog signal; two power units for increasing the power of the pulse signal, the output end of each power unit being coupled to the input end of the integrator through a resistor feedback network; and an analog output unit for converting the pulse signal into an analog signal. When working, the integrator is controlled by a mode selection signal to implement soft switching between mute and non-mute. In the mute mode, the output of the integrator is limited to a fixed voltage. In the soft switching, the output of the PMW will slowly switch from a duty cycle of 50% to a final value, and the BTL output will slowly switch from 0 to a final value, and the listener will not hear POP noise.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with national application number 201310422290.4, application date September 12, 2013, and invention name “Method and circuit for removing POP noise in audio equipment”. Technical Field

[0002] The present invention relates generally to integrated circuits, and more particularly to methods and circuits for removing POP noise in audio devices. Background Art

[0003] Class AB amplifiers are widely used in audio equipment because of their good audio performance, but they have high power consumption and therefore cannot be used in portable devices powered by batteries.

[0004] Class D amplifiers are another type of amplifier that has good audio characteristics and consumes less power. In operation, a Class D amplifier converts an analog signal into a digital signal (e.g., a pulse), and then the Class D amplifier converts the digital signal into an amplified analog signal. During the signal conversion process, many kinds of disturbances may affect the output of the Class D amplifier, which will make the listener feel uncomfortable.

[0005] When a Class D amplifier is working, audible POP noise is often generated by transient events. If a loud sound signal suddenly starts / ends or an audio device containing a Class D amplifier suddenly stops / starts, the POP noise generated in these events is easy for the listener to hear.

[0006] As the manufacturing process increases in steps, the offset of the input stage of the Class D amplifier and the mismatch of the resistors in the feedback network may contribute to the output offset. Without any suppression method, this offset (especially when the offset is greater than 20mV) can easily cause audible POP noise in the transient event of the output stage starting or shutting down. If a large audio signal starts in a quiet environment, or a large audio signal stops suddenly, the listener may feel uncomfortable. This result is also a kind of POP noise. Summary of the invention

[0007] Therefore, there is an urgent need for a Class D amplifier that can reduce the POP noise caused by misalignment or the sudden start or stop of a large sound signal.

[0008] According to a first aspect of the present invention, a class D amplifier circuit is proposed, comprising: an analog signal input unit, configured to receive and amplify a differential analog signal, and output the amplified analog signal in a differential form; at least two integration units, respectively coupled to the output end of the analog signal input unit, configured to integrate the amplified analog signal; at least two pulse width modulation units, respectively coupled to the output end of a corresponding integration unit, configured to generate a pulse signal with a corresponding pulse width based on the integrated analog signal from the corresponding integration unit; wherein each of the integration units comprises a first amplifier, having a positive input end, a negative input end and an output end, wherein the negative input end of the first amplifier is coupled to the output end of the first amplifier through a capacitor, and is configured to receive the amplified analog signal, and the positive input end Configured to receive a first reference signal; a regulator, the output end of the regulator is coupled to the output end of the first amplifier, and is configured to limit the output of the integration unit to the first reference signal; a control module, coupled to the first amplifier and the regulator, respectively, and configured to control the operation of the first amplifier and the regulator based on a mode selection signal; wherein, when the mode selection signal is switched from a non-muted state to a muted state, the control module is configured to gradually shut down the first amplifier and gradually start the regulator to gradually convert the output of the integration unit to the first reference signal, and when the mode selection signal is switched from a muted state to a non-muted state, the control module is configured to gradually start the first amplifier and gradually shut down the regulator to gradually convert the output of the integration unit to the output of the first amplifier.

[0009] In one embodiment of the present invention, the voltage regulator is a second amplifier having a positive input terminal coupled to the first reference signal, a negative input terminal coupled to the first amplifier output terminal, and an output terminal coupled to the first amplifier output terminal.

[0010] In one embodiment of the present invention, the first amplifier includes a first load stage and a first current source coupled to the control module to provide a first operating current for the first amplifier; the second amplifier includes a second load stage and a second current source coupled to the control module to provide a second operating current for the second amplifier.

[0011] In one embodiment of the present invention, the first current source includes a first PMOS transistor (M1) whose gate is coupled to the control module; the second current source includes a second PMOS transistor (M2) whose gate is coupled to the control module; wherein the current values ​​of the first and second current sources are determined by the control module.

[0012] In one embodiment of the present invention, the control module is a third amplifier and includes: a mode selection signal input stage, including a differential pair, configured to receive the mode selection signal; a first output stage, including a third PMOS transistor (M3), the gate and drain of the third PMOS transistor (M3) are both coupled to the gate of the first PMOS transistor (M1); a second output stage, including a fourth PMOS transistor (M4), the gate and drain of the fourth PMOS transistor (M4) are both coupled to the gate of the second PMOS transistor (M2).

[0013] In one embodiment of the present invention, the control module further includes: a fifth PMOS transistor (M5), a gate of the fifth PMOS transistor (M5) coupled to the gate of the third PMOS transistor (M3), and a drain of the fifth PMOS transistor (M5) coupled to the fourth PMOS transistor (M4); and a sixth PMOS transistor (M6), a gate of the sixth PMOS transistor (M6) coupled to the gate of the fourth PMOS transistor (M4), and a drain of the sixth PMOS transistor (M6) coupled to the third PMOS transistor (M3).

[0014] In one embodiment of the present invention, the class D amplifier further comprises: at least one mode selection signal generator coupled to the integration unit and configured to convert a step enable signal into the mode selection signal having a stepwise change rate.

[0015] In one embodiment of the present invention, the output stage of the first amplifier includes a seventh PMOS transistor (M7) and an NMOS transistor (M9), and the drain of the seventh PMOS transistor (M7) is coupled to the drain of the first NMOS transistor (M9); the output stage of the second amplifier includes an eighth PMOS transistor (M8) and a first NMOS transistor (M9), and the drain of the eighth PMOS transistor (M8) is coupled to the drain of the first NMOS transistor (M9) and the negative input terminal of the second amplifier.

[0016] In one embodiment of the present invention, the Class D amplifier further includes: at least two power units, each coupled to the output end of a corresponding pulse width modulation unit and configured to increase the power of the pulse signal, wherein the output end of the power unit is coupled to the input end of the integrator through a resistor feedback network, wherein the resistor feedback network includes at least one resistor.

[0017] In one embodiment of the present invention, the class D amplifier circuit further comprises: output units, respectively coupled to the output ends of the power units, configured to convert the pulse signals into analog signals.

[0018] In one embodiment of the present invention, each of the pulse width modulation units includes: a comparator including: a positive input terminal coupled to the output terminal of the integration unit, a negative input terminal coupled to the triangular wave signal, and an output terminal configured to output a pulse signal; wherein the intermediate level of the triangular wave signal is equal to the first reference voltage.

[0019] In one embodiment of the present invention, each power unit includes: a logic unit, coupled to the output end of the comparator; a power amplifier, coupled to the output end of the logic unit, configured to increase the power of the pulse signal; a power amplifier, coupled to the output end of the logic unit, configured to increase the power of the pulse signal.

[0020] According to another aspect of the present invention, an integrator circuit is also proposed, comprising: a first amplifier having a positive input terminal, a negative input terminal and an output terminal, wherein the negative input terminal of the first amplifier is configured to receive an analog signal and is coupled to the output terminal of the first amplifier through a capacitor, and the positive input terminal of the first amplifier is configured to receive a first reference signal; a regulator, the output terminal of the regulator is coupled to the output terminal of the first amplifier, and is configured to limit the output of the integration unit to the first reference signal; a control module, coupled to the first amplifier and the regulator, respectively, and configured to control the operation of the first amplifier and the regulator based on a mode selection signal; wherein when the mode selection signal is switched from a non-muted state to a muted state, the control module is configured to gradually shut down the first amplifier and gradually start the regulator to gradually convert the output of the integration unit to the first reference signal, and when the mode selection signal is switched from a muted state to a non-muted state, the control module is configured to gradually start the first amplifier and gradually shut down the regulator to gradually convert the output of the integration unit to the output of the first amplifier.

[0021] In one embodiment of the present invention, the voltage regulator is a second amplifier having a positive input terminal coupled to the first reference signal, a negative input terminal coupled to the output terminal of the first amplifier, and an output terminal coupled to the output terminal of the first amplifier; the control module is a third amplifier and is configured to receive the mode selection signal to change the operating current of the voltage regulator and the first amplifier according to the mode selection signal.

[0022] According to another aspect of the present invention, an audio device using a class D amplifier is also proposed, wherein the class D amplifier includes: at least two integrators, wherein each of the integrators includes a first amplifier having a positive input terminal, a negative input terminal and an output terminal, wherein the negative input terminal of the first amplifier is configured to receive an analog signal and is coupled to the output terminal of the first amplifier through a capacitor, and the positive input terminal of the first amplifier is configured to receive a first reference signal; a regulator, wherein the output terminal of the regulator is coupled to the output terminal of the first amplifier and is configured to limit the output of the integration unit to the first reference signal; and a control A module, coupled to the first amplifier and the regulator, configured to control the operation of the first amplifier and the regulator based on a mode selection signal; wherein, when the mode selection signal is switched from a non-muted state to a muted state, the control module is configured to gradually shut down the first amplifier and gradually start the regulator to gradually convert the output of the integration unit to the first reference signal, and when the mode selection signal is switched from a muted state to a non-muted state, the control module is configured to gradually start the first amplifier and gradually shut down the regulator to gradually convert the output of the integration unit to the output of the first amplifier.

[0023] According to another aspect of the present invention, a method for removing POP noise in an audio device is also proposed, comprising: receiving an input signal through a Class D amplifier of the audio device; amplifying the signal through the Class D amplifier of the audio device, and outputting the amplified input signal in a differential form; in response to a mode selection signal, in a non-silent mode, integrating the amplified input signal through the Class D amplifier of the audio device to output an integrated signal, and in a silent mode, limiting the integrated signal to a fixed voltage signal through the Class D amplifier of the audio device; generating a pulse width modulation signal in response to the integrated signal through the Class D amplifier of the audio device; and converting the pulse width modulation signal into an analog signal through the Class D amplifier of the audio device.

[0024] In one embodiment of the present invention, when the mode selection signal switches from silent mode to non-silent mode, the integrated signal is gradually converted from the fixed voltage signal to a signal that integrates the amplified input signal through the Class D amplifier of the audio device; when the mode selection signal switches from silent mode to non-silent mode, the integrated signal is gradually limited to the fixed voltage signal through the Class D amplifier of the audio device.

[0025] Compared with the conventional circuit, the class D amplifier in the embodiment of the present invention can significantly remove the following POP noise:

[0026] (1) POP noise caused by feedback resistor and pre-amplifier offset;

[0027] (2) POP noise caused by the sudden start or end of a large audio signal.

[0028] The foregoing broadly lists the features of the present invention. Other features of the present invention will be described below, which constitute the subject matter of the present invention. Those skilled in the art will appreciate that the disclosed concepts and specific examples can easily serve as the basis for modifying or designing other structures or processes in order to perform the same purposes as the present invention. Those skilled in the art will recognize that equivalent structures do not deviate from the spirit and scope of the present invention as set forth in the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Other features, objects and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings.

[0030] Figure 1 A bridge tied-load (BTL) class D amplifier architecture is shown;

[0031] Figure 2 yes Figure 1 Schematic diagram of Class D amplifier with BTL output;

[0032] Figure 3 is a block diagram of an integrator according to one embodiment of the present invention;

[0033] FIG4( a ) shows a detailed schematic diagram of the signal generator used to control the integrator;

[0034] FIG4( b ) shows a detailed schematic diagram of an integrator according to an embodiment of the present invention;

[0035] FIG4( c ) shows a schematic diagram of the operating current of an integrator according to an embodiment of the present invention;

[0036] FIG5( a) shows a circuit of a class D amplifier according to another embodiment of the present invention;

[0037] FIG5( b ) shows an output diagram of a class D amplifier according to another embodiment of the present invention in FIG5( a );

[0038] Figure 6 The audio signal graph in another scenario is shown;

[0039] Figure 7 A block diagram of an audio device is shown.

[0040] In the drawings, the same or similar reference numerals denote the same or similar devices (modules) or steps throughout different drawings. DETAILED DESCRIPTION

[0041] Although the following describes example methods and circuits, it should be understood that these examples are only for illustration and cannot be used as limitations. Therefore, although the following describes example methods and circuits, a person skilled in the art can easily know that the examples provided are not the only way to implement these methods and circuits.

[0042] Figure 1 The structure of a bridge-tied load type D-class amplifier is shown, including an audio signal input unit 11, integration units 12 and 13, pulse width modulation (PWM) units 14 and 15, power units 16 and 17, resistor feedback networks 18 and 19, and an audio signal output unit 20. The audio signal input unit 11, the integration units 12 and 13, and the pulse width modulation (PWM) units 14 and 15 all operate under a power supply VDD (3.3V), and the power units 16 and 17 and the output unit 20 all operate under a high voltage power supply VCC (5V to 36V).

[0043] The input unit 11 is coupled to the integration units 12 and 13, respectively, and is configured to receive an analog audio signal. Generally, the input unit 11 sends a differential analog audio signal to the integration units 12 and 13. After the audio signal is integrated in the integration units 12 and 13, it will be received by the PWM units 14 and 15, and the PWM units 14 and 15 compare the integrated audio signal with the triangular wave signal Vtri to generate a pulse signal with different pulse widths for driving the power units 16 and 17. Therefore, the working unit of the power units 16 and 17 is determined by the pulse signal. The power units 16 and 17 are coupled to the integration units 12 and 13 through the resistor feedback networks 18 and 19, respectively, so that the class D amplifier works in a closed loop, which will improve the performance of the class D amplifier, such as total harmonic distortion (THD), power supply rejection ratio (PSRR) and stability. The class D amplifier also includes an output unit 20, which can convert the pulse signal into an analog output signal and output it to the speaker.

[0044] When working, the class D amplifier has two working modes, such as mute mode and non-mute mode. In mute mode, the output unit 20 does not output any audio signal because the duty cycle of the pulse signal generated by the PWM units 14 and 15 is set to 50%. In non-mute mode, the PWM units 14 and 15 output two pulse signals with different pulse widths to the power units 16 and 17, and the power units 16 and 17 increase the power of the pulse signal. When the power is increased, the output unit 20 receives the pulse signal with increased power and outputs an audio signal.

[0045] Figure 2 yes Figure 1 The BTL output class D amplifier has two identical branches. The fully differential preamplifier 101 is used as Figure 2 The input unit 11 in the embodiment includes four gain adjustment resistors 1011 to 1014 and two DC blocking capacitors 1015 and 1016. Integrators 102 and 103 are respectively coupled to the preamplifier 101 and configured to integrate the preamplified analog audio signal output by the preamplifier 101. Comparators 104 and 105 are respectively coupled to the integrators 102 and 103 and configured to receive the integrated audio signal. The power supplies of the fully differential preamplifier, the integrator and the comparator are all low-voltage power supplies VDD (e.g., 2.7V to 5V). Compared to VDD, the power unit 16 including the logic unit 1061 and the power amplifier 1062 includes a power DMOS transistor, which operates at a higher voltage VCC (e.g., 5V to 36V). The output unit 20 includes LC low-pass filters 201 and 202, both coupled to the speaker 203. The low-pass filters 201 and 202 are configured to convert the received pulse signals into analog signals.

[0046] In operation, the fully differential preamplifier 101 receives an analog audio signal and transmits the differential analog signal amplified by the preamplifier 101 to the integrators 102 and 103. Then, the integrators 102 and 103 integrate the amplified differential analog signal and transmit the integrated analog signal to the comparators 104 and 105. The comparators 104 and 105 compare the integrated analog signal with the common triangular wave signal, thereby modulating the integrated analog signal into a pulse signal with different pulse widths. The logic units 1601 and 1071 are used to increase the output voltage of the comparators 104 and 105 so that the power amplifiers 1062 and 1072 can be driven by the modulated pulse signal. When the low-pass filters 201 and 202 receive the pulse signals generated by the power amplifiers 1062 and 1072, they will convert the received pulse signals into analog signals capable of driving the speaker 203.

[0047] Likewise, the output terminals of the power amplifiers 1062 and 1072 are coupled to the integrators 102 and 103 respectively through the resistor feedback networks 108 and 109, so that the class D amplifiers can operate in a closed loop. Figure 2 In the example, the resistance value of R2 is n times that of R3.

[0048] In order to set the PWM output of the two branches to a 50% duty cycle in the silent mode, two reference voltages (VR1 and VCMFB) are generated internally. VR1 is equal to half of VDD and serves as the reference voltage for integrators 102 and 103. The triangle wave signal is biased by VR1, that is, the middle level of the triangle wave is determined by VR1. In this embodiment, the middle level of the triangle wave is equal to VR1. VCMFB is the reference voltage of the preamplifier 101. When no analog signal is input into the preamplifier 101, the PWM output is biased at VCC / 2, which is a requirement for DC balance.

[0049] According to Kirchhoff's law, the output of the power amplifier V OUT The average output is given by:

[0050]

[0051]

[0052]

[0053] R fb 108 may be a resistor network including resistors R1 to R3, which may be represented as follows:

[0054] R fb =(n+1)·R1+n·R3 (4)

[0055] In other embodiments, the number of resistors in the resistor network is at least one. OUT The setting is VCC / 2, and the internal reference voltage VR1 and VCMFB are designed as:

[0056]

[0057]

[0058] Figure 3 1 is a block diagram of an integrator according to an embodiment of the present invention. The integrator 102 has three input terminals, including ports VREF, Muteplay, and Viin. The VREF terminal is configured to receive a reference voltage VR, the Muteplay terminal is used to receive a mode selection signal, and the Viin terminal is configured to receive a signal from the preamplifier 101 or the power amplifier 1062.

[0059] The integrator 102 includes two operational amplifiers (hereinafter referred to as op amps): Mute_op 1022 operating in mute mode, and Play_op 1021 operating in non-mute mode. The positive terminals of the two op amps are coupled to the VREF terminal so as to share the same reference voltage. The negative terminal Viin of Play_op 1021 is coupled to the output terminal Viout of the integrator 102 through the integrating capacitor C1, and is configured to receive the analog signal output by the pre-amplifier 101. The negative terminal of Mute_op 1022 is coupled to the output terminal Viout of the integrator 102. The integrator 102 further includes a mode selection unit 1023, which has a port Muteplay for receiving a mode selection signal that can realize soft switching between mute mode and non-mute mode.

[0060] In operation, when the Muteplay terminal receives a mode selection signal to turn on Mute_op1022 and turn off Play_op1021, the mode selection unit 1023 can start Mute_op1022 and turn off Play_op1021. Then, the output of the Viout terminal is set to be equal to the signal of the VREF terminal. In this embodiment, the output of the integrator 102 is equal to VR1. When the voltage of the Viout terminal is limited to VR1, the closed loop of the class D amplifier is cut off. Even if the audio signal from the preamplifier 101 is input into the integrator 102, the power amplifiers 1602 and 1702 can still maintain the output pulse signal with a duty cycle of 50%. Therefore, the offset caused by the preamplifier 101 and the mismatch of the feedback loop resistor are removed, and only the offset of the buffer op amp (Mute_op 1022) is transmitted to the output of the class D amplifier, but this offset is very small and will not generate audible POP noise.

[0061] In the non-mute mode, Play_op 1021 works, Mute_op 1022 does not work, and the integrator 102 outputs the integrated audio signal and corrects the PWM output through a closed loop.

[0062] FIG. 4( a ) shows a detailed schematic diagram of a signal generator for controlling an integrator, and FIG. 4( b ) shows a detailed schematic diagram of an integrator according to an embodiment of the present invention.

[0063] In essence, the mode selection signal is used to enable / disable the corresponding operational amplifier. In this embodiment, the mode selection signal is converted from a pulse signal into a ramp signal with a specific slope and generated by the RC network in FIG4(a).

[0064] The Enable terminal is coupled to the Muteplay terminal through the resistor R4, and the Muteplay terminal is coupled to the ground through the capacitor C4. When the Enable terminal receives the mode selection signal, the RC network can convert the pulse signal into a ramp signal whose slope is determined by the capacitance value of the capacitor C4.

[0065] There are three operational amplifiers in FIG4(b): Play_op 1021, Mute_op 1022, and mode selection unit 1023. In this embodiment, Play_op 1021 and Mute_op 1022 are two-stage operational amplifiers that share the same load stage including NMOS transistors M19 and M20 at the first stage. Similarly, Play_op 1021 and Mute_op 1022 may include independent load stages that provide the same or different impedances.

[0066] In the mode selection unit 1023, NMOS transistors M13 and M14 form a differential pair, the gate of NMOS transistor M13 is coupled to the Muteplay terminal to receive the mode selection signal, and the gate of NMOS transistor M14 is coupled to the internal port VREF2 to receive the reference voltage VR2. The drain and gate of NMOS transistor M13 are coupled to the gates of PMOS transistors M1 and M7. Therefore, PMOS transistors M1, M3 and M7 form a linear current mirror. PMOS transistor M3 is the current bias of Play_op1021, and PMOS transistor M4 is the current bias of Mute_op 1022. Therefore, the gain of mode selection unit 1023 is very small, but it can respond quickly to the signal of Muteplay terminal. When the Muteplay terminal receives a slow ramp signal, the current in PMOS transistors M3 and M4 also changes slowly accordingly.

[0067] Based on the above, we can get the current I M1 as follows:

[0068]

[0069] Similarly, the current I can be obtained M2 as follows:

[0070]

[0071] The mode selection unit 1023 further includes PMOS transistors M5 and M6. The gate of the PMOS transistor M5 is coupled to the gate of the PMOS transistor M3, and the drain of the PMOS transistor M5 is coupled to the gate of the PMOS transistor M4. Similarly, the gate of the PMOS transistor M6 is coupled to the gate of the PMOS transistor M4, and the drain of the PMOS transistor M6 is coupled to the gate of the PMOS transistor M3.

[0072] When the input signal at the Muteplay terminal is much larger than VR2, the PMOS transistor M4 is turned off, which means that the gate voltage of the PMOS transistor M4 is less than the threshold voltage of the PMOS transistor M4, and the current I M4 is equal to 0. In some cases, the current I M4 It is difficult to turn off completely, and the PMOS transistor M5 helps to quickly turn off and completely turn off the transistor M4. This is because the PMOS transistors M4 and M5 form a positive feedback loop. M5 When it is equal to 0, the current I M3 Equal to the current I b , the gate voltage of the PMOS transistor M3 is a lower voltage, which will pull up the drain voltage of the PMOS transistor M5 to VDD. Then, the PMOS transistor M4 is completely turned off. Similarly, when the PMOS transistor M4 is turned on, the PMOS transistor M3 can be completely turned off by the PMOS transistor M6.

[0073] Play_op 1021 is a two-stage operational amplifier. The first stage includes PMOS transistors M1, M10, M16, and NMOS transistors M19, M20. The second stage includes PMOS transistor M7 and NMOS transistor M9. PMOS transistors M10 and M16 form a differential pair, the gate of PMOS transistor M10 is coupled to VREF terminal to receive reference voltage VR1, and the gate of PMOS transistor M16 is coupled to Viin terminal to receive analog signal output by pre-amplifier 101. The drain of PMOS transistor M7 is coupled to the drain of NMOS transistor M9 to output the amplified signal.

[0074] Similarly, in Mute_op 1022, PMOS transistors M11 and M12 form a differential pair. The gate of PMOS transistor M11 is coupled to the gate of PMOS transistor M10 to share the same reference voltage. The gate of PMOS transistor M12 is coupled to the output of Mute_op 1022, which is also the output of the integrator. The second stage includes PMOS transistor M8 and NMOS transistor M9, and the drain of PMOS transistor M8 is coupled to the drain of NMOS transistor M9.

[0075] The integrator further includes a compensation resistor R5 and a compensation capacitor C5 to obtain a better audio response. Similarly, the resistor R5 can be replaced by a transistor operating in the linear region.

[0076] When the input signal at the Muteplay terminal is much greater than VR2, Play_op 1021 operates and Mute_op 1022 is turned off by current biasing. When the class D amplifier is in the non-mute mode, Play_op1021 operates as an error amplifier, the input signal and the feedback signal are amplified, and the output of the comparator is modulated. The duty cycles of the signals at PWM_N and PWM_P vary according to the input signal.

[0077] When the input signal at the Muteplay terminal is much less than VR2, Mute_op 1022 operates and Play_op 1021 is turned off by current biasing. Mute_op 1022 operates in the form of a buffer to set the output of the integrator 102 to the voltage VR1, so that the loop gain is approximately 0 dB. Therefore, when the integrator 102 outputs a fixed voltage in the mute mode, the feedback loop of the class D amplifier is cut off, which means that the disturbance at the output cannot affect the input of the integrator 102, and the offset caused by the preamplifier 101 and the mismatch of the resistors in the feedback loop are removed.

[0078] When transitioning between Mute_op1022 and Play_op1021 (1.25V < Muteplay < 2.8V), these two operational amplifiers work together. The audio signal and the offset transmitted to the output slowly increase from 0 to the final value, thus avoiding POP noise. Due to the soft transition between mute and non-mute, the offset caused by the input stage and the mismatch of the resistors in the feedback loop will be slowly transmitted to the output stage, so that no audible POP noise is generated.

[0079] Figure 4(c) shows a schematic diagram of the operating current of the integrator according to an embodiment of the present invention. As the mode selection signal slowly rises, the current I M1 and I M2 change smoothly.

[0080] Referring to Figure 4(c), the voltage signal at the Muteplay terminal rises slowly, which means that the mode selection signal has a gradual rate of change, and then the current I M1 and I M2 will have a slow rate of change.

[0081] Figure 5(a) shows the circuit of a class D amplifier according to another embodiment of the present invention. In this embodiment, the feedback resistors have a 1% mismatch. Figure 5(b) shows the output diagram of the class D amplifier according to another embodiment of the present invention in Figure 5(a).

[0082] As shown in Figures 5(a) and 5(b), there is a 1% mismatch in the feedback resistors: R fb1 is 180 kΩ, and R fb2The Class D amplifier switches between the muted and unmuted states slowly. As the Muteplay terminal charges or discharges slowly, the offset delivered to the output changes slowly from 0 to the normal value, or from the normal value to 0. The output of the Class D amplifier is very smooth (see curve V dout ), after being filtered by the A-weighted filter, the output of the BTL is very small (see curve V dout-f ), so no audible POP noise is generated during these transients.

[0083] Figure 6 The following figure shows an audio signal diagram in another scenario. It shows the performance of the Class D amplifier, and the POP noise caused by the sudden switching on and off of the audio signal is removed. Figure 6 , curve V dout It is an audio signal graph that is smooth at the beginning or end of the audio signal. When the Muteplay terminal is charged or discharged slowly, the audio signal is amplified so that the output slowly goes from 0 to normal value, or from normal value to 0. The listener will not feel uncomfortable because of the sudden start or end of the large audio signal.

[0084] Figure 7 The block diagram of the audio device is shown. The audio device 30 includes an audio signal generator 301, a class D amplifier 302 of the present invention, and an audio signal player 303. The audio signal generator 301 coupled to the input terminal of the class D amplifier 302 is configured to receive or generate an audio signal. When the class D amplifier 302 receives the audio signal, it will increase the power of the audio signal and output the increased power signal to the audio signal player 303. Then, the audio signal player can play the audio signal without POP noise. The audio device 30 may include an MP3 player, a mobile phone, a speaker, and any other type of sound device.

[0085] Those skilled in the art can easily know that circuits and methods can be changed within the scope of the present invention. It should also be appreciated that the present invention provides a plurality of practical inventive concepts that are different from the specific content used to illustrate the embodiments. Therefore, although certain exemplary methods, circuits and devices are described herein, the coverage of the present invention is not limited thereto. On the contrary, the present invention covers all methods, circuits, and devices included in the literal meaning of the appended claims or according to the equivalent principle.

Claims

1. A class D amplifier circuit, comprising: An integration circuit configured to integrate an analog signal, wherein the integration circuit comprises: a first amplifier circuit biased by a first bias current and configured to receive and integrate the analog signal; a second amplifier circuit biased by a second bias current and configured to generate a reference voltage; a third amplifier circuit operative in response to the enable signal to generate a differential first control signal and a second control signal; a first bias circuit configured to generate the first bias current in response to the first control signal; and The second bias circuit is configured to generate the second bias current in response to the second control signal.

2. The circuit of claim 1 , wherein the first amplifier circuit comprises: A first input terminal coupled to receive a reference signal, a second input terminal coupled to receive the analog signal, a first output terminal, and an integrating capacitor coupled between the first output terminal and the second input terminal.

3. The circuit of claim 1 , wherein the second amplifier circuit comprises: a third input terminal, a fourth input terminal coupled to receive a reference signal, a second output terminal, and a feedback connection between the second output terminal and the third input terminal.

4. The circuit of claim 3, wherein the second amplifier circuit is used as a voltage regulator circuit. 5 . The circuit of claim 1 , wherein the third amplifier circuit comprises a filter circuit configured to receive the enable signal.

6. The circuit of claim 5, wherein the third amplifier circuit further comprises: A fifth input terminal coupled to receive an output from the filter circuit, a sixth input terminal coupled to receive a reference signal, and a differential output terminal configured to generate the differential first and second control signals.

7. The circuit of claim 1, wherein the first amplifier circuit and the second amplifier circuit share a common load stage.

8. The circuit of claim 1, wherein the first amplifier circuit and the second amplifier circuit share a common output stage.

9. The circuit of claim 8, wherein the common output stage comprises a first transistor controlled by the first control signal, and a second transistor coupled in parallel with the first transistor and controlled by the second control signal.

10. A class D amplifier circuit, comprising: an integrating amplifier circuit having an input configured to receive an analog signal and to generate an integrated analog signal at an output coupled to an output node; a voltage regulator circuit configured to generate a regulated voltage at an output terminal coupled to the output node; a control module coupled to the integrating amplifier circuit and the voltage regulator circuit and configured to control operations of the integrating amplifier circuit and the voltage regulator circuit in response to a mode switching signal; The control module responds to a change in logic state of the mode switch signal by gradually disabling the integrating amplifier circuit while gradually enabling the voltage regulator circuit to gradually convert the output node from the integrated analog signal to the regulated voltage.

11. The circuit according to claim 10, wherein the integrating amplifier circuit is biased for operation by a first bias current; wherein the voltage regulator circuit is biased for operation by a second bias current; and The control module is configured to generate a differential first control signal and a second control signal in response to the change in the logic state of the mode switching signal to gradually reduce the first bias current and gradually increase the second bias current.

12. An integration circuit, comprising: an integrating amplifier circuit having an input configured to receive an analog signal and to generate an integrated analog signal at an output coupled to an output node; a voltage regulator circuit configured to generate a regulated voltage at an output terminal coupled to the output node; a control module coupled to the integrating amplifier circuit and the voltage regulator circuit and configured to control operations of the integrating amplifier circuit and the voltage regulator circuit in response to a mode switching signal; The control module responds to a change in logic state of the mode switch signal by gradually enabling an integrating amplifier circuit while gradually disabling a voltage regulator circuit to gradually convert the output node from the regulated voltage to the integrated analog signal.

13. The circuit according to claim 12, wherein the integrating amplifier circuit is biased for operation by a first bias current; wherein the voltage regulator circuit is biased for operation by a second bias current; and The control module is configured to generate differential first and second control signals in response to the change in the logic state of the mode switching signal to gradually increase the first bias current and simultaneously gradually decrease the second bias current.

14. An integration circuit, comprising: an amplifier circuit having an input configured to receive an analog signal and an output configured to generate an output analog signal; a voltage regulator circuit having an output configured to generate a reference signal; an output node coupled to the output terminals of the amplifier circuit and the regulator circuit; a control module coupled to the amplifier circuit and the regulator circuit and configured to control operations of the amplifier circuit and the regulator circuit based on a mode switching signal; The control module responds to a change in state of the mode switch signal by gradually disabling one of the amplifier circuit or the regulator circuit while gradually enabling the other of the amplifier circuit or the regulator circuit. 15 . The circuit of claim 14 , wherein the control module is responsive to a first state change of the mode switch signal to gradually switch the output node from the output analog signal to the reference signal. 16 . The circuit of claim 14 , wherein the control module is responsive to the second state change of the mode switch signal to gradually switch the output node from the reference signal to the output analog signal.

17. The circuit of claim 14, wherein the amplifier circuit is an integrating amplifier circuit and the output analog signal is an integral of the received analog signal.

18. The circuit according to claim 14, wherein the amplifier circuit is biased for operation by a first bias current; wherein the regulator circuit is biased for operation by a second bias current; and The control module is configured to generate a differential first control signal and a second control signal in response to a change in the logic state of the mode switching signal to gradually change the first bias current and simultaneously gradually change the second bias current in a direction opposite to the gradual change of the first bias current.

19. An integration circuit, comprising: a first amplifier having a first input and a second input coupled to a first differential input stage biased by a first current source and having a first output; a second amplifier having a first input terminal and a second input terminal coupled to a second differential input stage biased by a second current source and having a second output terminal, The first input terminals of the first differential input stage and the second differential input stage are both coupled to receive the same reference voltage wherein the second input terminal of the first amplifier is configured to receive an input signal, and wherein the second input terminal of the second amplifier is configured to receive an output signal; as well as A bias control circuit includes a third amplifier having a first input terminal and a second input terminal coupled to a third differential input stage and biased by a third current source, and the bias control circuit also has a first output terminal configured to control the first current source and a second output terminal configured to control a second current source.

20. The circuit of claim 19, further comprising a common load circuit shared by the first differential input stage and the second differential input stage.

21. The circuit of claim 20, wherein the first output terminal and the second output terminal are common output terminals of the common load circuit.

22. The circuit of claim 21 , further comprising an output stage configured to generate the output signal, the output stage comprising: a first transistor having a gate terminal coupled to the common output, a source terminal coupled to a first power supply node, and a drain terminal coupled to a circuit output node; a second transistor having a gate terminal coupled to the first output of the bias control circuit, a source terminal coupled to a second power supply node, and a drain terminal coupled to the circuit output node; as well as A third transistor has a gate terminal coupled to the second output of the bias control circuit, a source terminal coupled to the second power supply node, and a drain terminal coupled to the circuit output node.

23. The circuit of claim 22, further comprising a compensation capacitor coupled between the gate terminal and the drain terminal of the first transistor.

24. The circuit of claim 19, wherein the first output terminal and the second output terminal are common circuit output terminals, and further comprising: a capacitor having a first terminal coupled to the common circuit output and a second terminal coupled to the second input of the first differential input stage; as well as A direct electrical connection of the output signal to the second input terminal of the second differential input stage.

25. The circuit of claim 24, wherein the first input of the third differential input stage is configured to receive a ramp signal and the second input of the third differential is configured to receive another reference voltage.

26. The circuit of claim 19, further comprising a load circuit coupled to the third differential input stage, the load circuit comprising: a fourth transistor having a gate terminal coupled to the first output of the bias control circuit, a source terminal coupled to a second power supply node, and a drain terminal coupled to the first node of the third differential input stage and the gate terminal of the fourth transistor; as well as a fifth transistor having a gate terminal coupled to the second output of the bias control circuit, a source terminal coupled to the second power supply node, and a drain terminal coupled to the second node of the third differential input stage and the gate terminal of the fifth transistor.

27. The circuit of claim 26, wherein the load circuit further comprises: a sixth transistor having a gate terminal coupled to the gate terminal and the drain terminal of the fourth transistor, a source terminal coupled to the second power supply node, and a drain terminal coupled to the gate terminal and the drain terminal of the fifth transistor; as well as a seventh transistor having a gate terminal coupled to the gate terminal and the drain terminal of the fifth transistor, a source terminal coupled to the second power supply node, and a drain terminal coupled to the gate terminal and the drain terminal of the fourth transistor.

28. The circuit of claim 19, further comprising: a first current mirror circuit having an input terminal coupled to the first node of the third differential input stage and an output terminal provided by the first current source; as well as A second current mirror circuit has an input terminal coupled to the second node of the third differential input stage and an output terminal provided by the second current source.

29. An integration circuit comprising: a first amplifier having a first input and a second input coupled to a first differential input stage biased by a first current source and having a first output; a second amplifier having a first input and a second input coupled to a second differential input stage biased by a second current source and having a second output; as well as a bias control circuit including a third amplifier having a first input terminal and a second input terminal coupled to a third differential input stage and biased by a third current source, the bias control circuit also having a first output terminal configured to control the first current source and a second output terminal configured to control a second current source; The first amplifier is used as an integrating amplifier and the second amplifier is used as a buffer amplifier.

30. The circuit of claim 29, wherein the first and second output terminals are common output terminals, and wherein the bias control circuit operates in response to a change in logic state of a control signal to gradually enable the integrating amplifier while gradually disabling the buffer amplifier.

31. The circuit of claim 29, wherein the first and second output terminals are common output terminals, and wherein the bias control circuit operates in response to a change in the logic state of a control signal to gradually disable the integrating amplifier while gradually enabling the buffer amplifier.

32. The circuit of claim 29, further comprising a common load circuit shared by the first differential input stage and the second differential input stage.

33. The circuit of claim 32, wherein the first output terminal and the second output terminal are common output terminals of the common load circuit.

34. The circuit of claim 33, further comprising an output stage, the output stage comprising: a first transistor having a gate terminal coupled to the common output, a source terminal coupled to a first power supply node, and a drain terminal coupled to a circuit output node; a second transistor having a gate terminal coupled to the first output of the bias control circuit, a source terminal coupled to a second power supply node, and a drain terminal coupled to the circuit output node; as well as A third transistor has a gate terminal coupled to the second output of the bias control circuit, a source terminal coupled to the second power supply node, and a drain terminal coupled to a circuit output node.

35. The circuit of claim 34, further comprising a compensation capacitor coupled between the gate terminal and the drain terminal of the first transistor.

36. The circuit of claim 29, wherein the first output and the second output are common circuit outputs, and further comprising: a capacitor having a first terminal coupled to the common circuit output and a second terminal coupled to the second input of the first differential input stage; as well as The common circuit output terminal is directly electrically connected to the second input terminal of the second differential input stage. 37 . The circuit of claim 36 , wherein the first input of the third differential input stage is configured to receive a ramp signal and the second input of the third differential input stage is configured to receive a reference voltage.

38. The circuit of claim 29, further comprising a load circuit coupled to the third differential input stage, the load circuit comprising: a fourth transistor having a gate terminal coupled to the first output of the bias control circuit, a source terminal coupled to a second power supply node, and a drain terminal coupled to the first node of the third differential input stage and the gate terminal of the fourth transistor; as well as a fifth transistor having a gate terminal coupled to the second output of the bias control circuit, a source terminal coupled to the second power supply node, and a drain terminal coupled to the second node of the third differential input stage and the gate terminal of the fifth transistor.

39. The circuit of claim 38, wherein the load circuit further comprises: a sixth transistor having a gate terminal coupled to the gate terminal and the drain terminal of the fourth transistor, a source terminal coupled to the second power supply node, and a drain terminal coupled to the gate terminal and the drain terminal of the fifth transistor; and a seventh transistor having a gate terminal coupled to the gate terminal and the drain terminal of the fifth transistor, a source terminal coupled to the second power supply node, and a drain terminal coupled to the gate terminal and the drain terminal of the fourth transistor.

40. The circuit of claim 29, further comprising: a first current mirror circuit having an input terminal coupled to the first node of the third differential input stage and an output terminal provided by the first current source; as well as A second current mirror circuit has an input terminal coupled to the second node of the third differential input stage and an output terminal provided by the second current source.

41. An integration circuit, comprising: a first amplifier having a first input and a second input coupled to a first differential input stage biased by a first current source and having a first output; a second amplifier having a first input and a second input coupled to a second differential input stage biased by a second current source and having a second output; as well as a bias control circuit including a third amplifier having a first input terminal and a second input terminal coupled to a third differential input stage and biased by a third current source, the bias control circuit also having a first output terminal configured to control the first current source and a second output terminal configured to control a second current source; wherein the first output terminal and the second output terminal are common circuit output terminals; a capacitor having a first terminal coupled to the common circuit output and a second terminal coupled to the second input of the first differential input stage; and A direct electrical connection of the common circuit output to the second input of the second differential input stage.

42. The circuit of claim 41 further comprising a common load circuit shared by the first differential input stage and the second differential input stage.

43. The circuit of claim 42, wherein the first output terminal and the second output terminal are a common output terminal of the common load circuit.

44. The circuit of claim 43, further comprising an output stage, the output stage comprising: a first transistor having a gate terminal coupled to the common output, a source terminal coupled to the first power supply node, and a drain terminal coupled to the circuit output node; a second transistor having a gate terminal coupled to the first output of the bias control circuit, a source terminal coupled to a second power supply node, and a drain terminal coupled to the circuit output node; as well as A third transistor has a gate terminal coupled to the second output of the bias control circuit, a source terminal coupled to the second power supply node, and a drain terminal coupled to the circuit output node.

45. The circuit of claim 44, further comprising a compensation capacitor coupled between the gate terminal and the drain terminal of the first transistor.

46. ​​The circuit of claim 41, wherein the first input of the third differential input stage is configured to receive a ramp signal and the second input of the third differential input stage is configured to receive a reference voltage.

47. The circuit of claim 41 , further comprising a load circuit coupled to the third differential input stage, the load circuit comprising: a fourth transistor having a gate terminal coupled to the first output of the bias control circuit, a source terminal coupled to a second power supply node, and a drain terminal coupled to the first node of the third differential input stage and the gate terminal of the fourth transistor; as well as a fifth transistor having a gate terminal coupled to the second output of the bias control circuit, a source terminal coupled to the second power supply node, and a drain terminal coupled to the second node of the third differential input stage and the gate terminal of the fifth transistor.

48. The circuit of claim 47, wherein the load circuit further comprises: a sixth transistor having a gate terminal coupled to the gate terminal and the drain terminal of the fourth transistor, a source terminal coupled to the second power supply node, and a drain terminal coupled to the gate terminal and the drain terminal of the fifth transistor; as well as a seventh transistor having a gate terminal coupled to the gate terminal and the drain terminal of the fifth transistor, a source terminal coupled to the second power supply node, and a drain terminal coupled to the gate terminal and the drain terminal of the fourth transistor.

49. The circuit of claim 41, further comprising: a first current mirror circuit having an input terminal coupled to the first node of the third differential input stage and an output terminal provided by the first current source; as well as A second current mirror circuit has an input terminal coupled to the second node of the third differential input stage and an output terminal provided by the second current source.