Class D power amplifier with integrated output voltage protection DC-DC chip and its protection method

The integrated DCDC chip that detects and clamps the output voltage signal in real time solves the problem of voltage glitch damage to the Class D power amplifier chip, reducing cost and space occupation while maintaining high efficiency during protection.

CN114039481BActive Publication Date: 2024-10-01JIAXING HEROIC ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111197579.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-14
Publication Date
2024-10-01
Estimated Expiration
2041-10-14

AI Technical Summary

Technical Problem

Existing Class D power amplifier chips with built-in boost DCDC have high glitch problems on the output voltage signal VOUT, which leads to the risk of chip damage. When using large-value electrolytic capacitors to reduce glitch peaks, they are bulky, costly and inefficient.

Method used

Design an integrated output voltage protection DCDC chip that detects the output voltage signal VOUT in real time and uses components such as the first voltage comparator, the second voltage comparator, dual-input AND gates, and high-side rectifiers to clamp the overcurrent on VOUT. High voltage glitches avoid the use of capacitors to protect the chip from damage.

Benefits of technology

Effectively clamps the voltage glitch on VOUT, which improves the reliability of the Class D power amplifier chip and reduces the cost and board space occupation. At the same time, the efficiency is not sacrificed during clamping protection. The inductor discharge energy is stored in the inductor, which will not affect the efficiency. loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114039481B_ABST
    Figure CN114039481B_ABST
Patent Text Reader

Abstract

The present invention discloses a class D power amplifier with an integrated output voltage protection DCDC chip and a protection method thereof. The class D power amplifier with an integrated output voltage protection DCDC chip is used to detect an output voltage signal in real time and perform clamping protection on the voltage signal, and comprises a DCDC module and a class D power amplifier module. The DCDC module transmits an output voltage signal VOUT to the class D power amplifier module, and the class D power amplifier module is connected to a load speaker. The class D power amplifier with an integrated output voltage protection DCDC chip and a protection method thereof disclosed by the present invention overcome the defect of the current class D power amplifier chip with a built-in boost DCDC that a high burr on the output voltage signal VOUT damages the chip, and reduces the cost and layout space in application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of analog integrated circuits, and in particular relates to a class D power amplifier with an integrated output voltage protection DCDC chip and a class D power amplifier protection method with an integrated output voltage protection DCDC chip. Background Art

[0002] In recent years, portable speakers, such as Bluetooth speakers and smart speakers, have become more and more widely used. Most of these devices are powered by lithium batteries. The maximum voltage of a single lithium battery is 4.2V. In order to meet the demand for increased output volume, most portable speakers use boost DCDC to increase the system voltage.

[0003] There are many Class D amplifier chips with built-in boost DCDC on the market, which have boost DCDC modules and Class D amplifier modules inside. The built-in boost DCDC module boosts the lithium battery supply voltage, and the output VOUT voltage is higher than the lithium battery voltage. The output VOUT supplies power to the Class D amplifier module, increasing the output power and achieving the purpose of increasing the volume. However, since the load of the Class D amplifier is an inductive speaker, there is a situation where current flows from the speaker to VOUT, which will increase the voltage of VOUT. And the greater the inductance of the speaker, the greater the current flowing from the speaker to VOUT, and the higher the voltage of VOUT is.

[0004] Since VOUT is used to power the Class D amplifier module, the voltage glitches on VOUT will affect the reliability of the Class D amplifier. If the glitches voltage exceeds the breakdown voltage of the internal MOS tube, the chip will be damaged. Therefore, most Class D amplifier chips with built-in boost DCDC need to be connected to a large-capacitance electrolytic capacitor on VOUT when used to reduce the glitch peak on VOUT. However, large-capacitance electrolytic capacitors will be very large and will take up a lot of board space, making it impossible to miniaturize the solution and increasing costs. In addition, electrolytic capacitors have large parasitic ESR resistance. The larger the speaker inductance, the greater the current flowing to VOUT. When this current flows through the ESR resistance of the electrolytic capacitor, a large glitches voltage is instantly generated. This glitches voltage is uncontrollable and there is still a risk of damaging the chip.

[0005] Therefore, further improvements are made to the above problems. Summary of the invention

[0006] The main purpose of the present invention is to provide a class D power amplifier with an integrated output voltage protection DCDC chip and a protection method thereof, which overcomes the defect of the current class D power amplifier chip with a built-in boost DCDC, that the chip is damaged by high glitches on the output voltage signal VOUT, and reduces the cost and layout space in application.

[0007] Another object of the present invention is to provide a class D power amplifier with an integrated output voltage protection DCDC chip and a protection method thereof, which detects the voltage of the boosted DCDC output VOUT in real time and clamps excessive voltage glitches on VOUT, thereby protecting the chip from damage. The present invention can eliminate the need for large-volume capacitors on the boosted DCDC output VOUT and clamp the glitches voltage peak on VOUT to a fixed safe value.

[0008] To achieve the above object, the present invention provides a class D power amplifier with an integrated output voltage protection DCDC chip, which is used to detect the output voltage signal (VOUT) in real time and clamp the voltage signal, including a DCDC module and a class D power amplifier module, wherein the DCDC module transmits the output voltage signal VOUT to the class D power amplifier module, and the class D power amplifier module is connected to a load speaker, wherein:

[0009] The DCDC module includes a first voltage comparator, a second voltage comparator, a first dual-input AND gate, a low-side switch tube, a second dual-input AND gate, a dual-input OR gate, a high-side rectifier tube, a resistor R12, a resistor R13 and a resistor and R14, wherein:

[0010] The common terminal of the resistor R12 and the resistor R13 outputs a first voltage Vf1, the first voltage Vf1 is electrically connected to the negative input terminal of the first voltage comparator and the positive input terminal of the first voltage comparator is connected to a reference voltage, and the common terminal of the resistor R13 and the resistor R14 outputs a second voltage Vf2, the second voltage Vf2 is electrically connected to the negative input terminal of the second voltage comparator and the positive input terminal of the second voltage comparator is connected to the reference voltage;

[0011] The output terminal of the first voltage comparator is electrically connected to the second input terminal of the first dual-input AND gate in one way and electrically connected to the second input terminal of the second dual-input AND gate in another way, and the output terminal of the second voltage comparator is electrically connected to the second input terminal of the dual-input OR gate;

[0012] The output end of the first dual-input AND gate is electrically connected to the gate of the low-side switch tube and the drain of the low-side switch tube is electrically connected to the source of the high-side rectifier tube, the drain of the high-side rectifier tube outputs a voltage signal VOUT, the output end of the second dual-input AND gate is electrically connected to the first input end of the dual-input OR gate and the output end of the dual-input OR gate is electrically connected to the gate of the high-side rectifier tube.

[0013] As a further preferred technical solution of the above technical solution, the drain of the high-side rectifier tube is also grounded through resistors R10 and R11 in sequence, the source of the low-side switch tube is grounded, and the drain of the low-side switch tube is also connected to the power supply terminal VCC through inductor L0.

[0014] As a further preferred technical solution of the above technical solution, the class D power amplifier with integrated output voltage protection DCDC chip further includes an error amplifier and a first PWM generating circuit, wherein:

[0015] The positive input terminal of the error amplifier is connected to the reference voltage and the negative input terminal of the error amplifier is connected to the common terminal of the resistor R10 and the resistor R11 (voltage feedback signal FB) to output the error comparison result to the first PWM generation circuit;

[0016] The output source of the error amplifier is electrically connected to the input end of the first PWM generating circuit (the input end of the first PWM generating circuit is also connected to the system clock), the first output end of the first PWM generating circuit is electrically connected to the first input end of the first dual-input AND gate, and the second output end of the first PWM generating circuit is electrically connected to the first input end of the second dual-input AND gate, and the first PWM generating circuit is used to output two PWM square waves with fixed frequencies and automatically adjusted duty cycles.

[0017] As a further preferred technical solution of the above technical solution, the class D power amplifier module includes an audio input amplifier, a second PWM generating circuit, a first gate driver, a second gate driver, a third gate driver and a fourth gate driver, wherein:

[0018] The positive input terminal of the audio input amplifier is connected to the reference ground and the negative input terminal of the audio input amplifier is connected to the audio signal to amplify the input audio signal;

[0019] The input end of the second PWM generating circuit is electrically connected to the output end of the audio input amplifier, the first output end of the second PWM generating circuit is electrically connected to the input end of the first gate driver, the second output end of the second PWM generating circuit is electrically connected to the input end of the second gate driver, the third output end of the second PWM generating circuit is electrically connected to the input end of the third gate driver, and the fourth output end of the second PWM generating circuit is electrically connected to the input end of the fourth gate driver;

[0020] The output end of the first gate driver is electrically connected to the gate of the first switch tube, the output end of the second gate driver is electrically connected to the gate of the second switch tube, the output end of the third gate driver is electrically connected to the gate of the third switch tube, and the output end of the fourth gate driver is electrically connected to the gate of the fourth switch tube;

[0021] One end of the first switch tube is connected to the voltage signal VOUT and the other end of the first switch tube is connected to the output terminal OUTN, one end of the second switch tube is grounded and the other end of the second switch tube is connected to the output terminal OUTN, one end of the third switch tube is grounded and the other end of the third switch tube is connected to the output terminal OUTP, one end of the fourth switch tube is connected to the voltage signal VOUT and the other end of the fourth switch tube is connected to the output terminal OUTP (OUTN and OUTP are respectively connected to the two inputs of the load speaker for driving the speaker).

[0022] To achieve the above objectives, the present invention provides a protection method for a class D power amplifier with an integrated output voltage protection DCDC chip for implementing a class D power amplifier with an integrated output voltage protection DCDC chip, which is used to detect the output voltage signal VOUT of the class D power amplifier with an integrated output voltage protection DCDC chip in real time and automatically clamp the voltage signal VOUT, comprising the following steps:

[0023] Step S1: when the voltage signal VOUT output by the DCDC module rises and the first voltage Vf1 is higher than the reference voltage, the output signal of the output terminal of the first voltage comparator is 0, so that the output signal of the output terminal of the first dual-input AND gate is also 0, so that the low-side switch tube is turned off;

[0024] At the same time, if the second voltage Vf2 is lower than the reference voltage, the output signal of the output terminal of the second voltage comparator is 0, so that the output signal of the output terminal of the dual-input OR gate is also 0, so that the high-side rectifier tube is turned off. When the low-side switch tube and the high-side rectifier tube are turned off at the same time, it is judged that the DCDC module is in a high-impedance state;

[0025] Step S2: when the voltage signal VOUT output by the DCDC module continues to rise and the second voltage Vf2 is higher than the reference voltage, since the voltage of the first voltage Vf1 is higher than the voltage of the second voltage Vf2, the low-side switch tube is still turned off, and the output signal of the output end of the second voltage comparator becomes high, so that the output signal of the output end of the dual-input OR gate is also high, so that the high-side rectifier tube is turned on, so that the output voltage signal (VOUT) is discharged to the power supply terminal VCC through the inductor L0, thereby reducing the output voltage signal, and then it is determined that the DCDC module is in the output voltage clamping protection state;

[0026] Step S3: when the voltage signal VOUT output by the DCDC module decreases, the second voltage Vf2 is lower than the reference voltage and the first voltage Vf1 is still higher than the reference voltage, the low-side switch tube is turned off, and the output signal of the output end of the second voltage comparator is 0, so that the output signal of the output end of the dual-input OR gate is also 0, so that the high-side rectifier tube is turned off. When the low-side switch tube and the high-side rectifier tube are turned off at the same time, it is determined that the DCDC module is in a high-impedance state;

[0027] Step S4: when the voltage signal VOUT output by the DCDC module continues to decrease and the first voltage Vf1 is lower than the reference voltage, the output signal of the output terminal of the first voltage comparator is high, so that the output of the first dual-input AND gate is controlled by the first PWM generation circuit, thereby making the switching state of the low-side switch tube controlled by the first PWM generation circuit;

[0028] At the same time, since the second voltage Vf2 is still lower than the reference voltage, the output signal of the output terminal of the second voltage comparator maintains 0, and the output of the dual-input OR gate is controlled by the output of the second dual-input AND gate, so that the switching state of the high-side rectifier is controlled by the first PWM generating circuit, and it is judged that the DCDC module is in a normal working state.

[0029] The beneficial effects of the present invention are:

[0030] 1. The automatic clamping output voltage VOUT protection function proposed in the present invention greatly improves the reliability of the Class D amplifier chip currently using integrated DCDC boost, and the voltage on VOUT is reliably clamped at a safe voltage.

[0031] 2. The class D power amplifier proposed in the present invention has an internally integrated synchronous boost DCDC chip architecture with an output voltage clamping protection function, which can clamp the synchronous boost DCDC output VOUT voltage without sacrificing efficiency. When clamping occurs, VOUT discharges to VCC through the inductor, and the discharge energy is stored in the inductor, which does not cause efficiency loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 The invention is a structural schematic diagram of a class D power amplifier with an integrated output voltage protection DCDC chip and a protection method thereof.

[0033] Figure 2 The present invention is a structural schematic diagram of a DCDC module of a class D power amplifier with an integrated output voltage protection DCDC chip and a protection method thereof.

[0034] Figure 3 The invention discloses a structural schematic diagram of a class D power amplifier module of a class D power amplifier with an integrated output voltage protection DCDC chip and a protection method thereof.

[0035] The reference numerals include: 101, error amplifier; 102, first PWM generating circuit; 103, first dual-input AND gate; 104, low-side switch tube; 105, second dual-input AND gate; 106, dual-input OR gate; 107, high-side rectifier tube; 108, inductor L0; 109, first voltage comparator; 110, second voltage comparator; 111, resistor R10; 112, resistor R12; 113, resistor R12; 114, resistor R13; 115, resistor R14; 201, audio input amplifier; 202, second PWM generating circuit; 203, first gate driver; 204, second gate driver; 205, third gate driver; 206, fourth gate driver; 207, first switch tube; 208, second switch tube; 209, third switch tube; 210, fourth switch tube. DETAILED DESCRIPTION

[0036] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.

[0037] In the preferred embodiments of the present invention, those skilled in the art should note that the portable speakers, load speakers, etc. involved in the present invention can be regarded as prior art.

[0038] Preferred embodiments.

[0039] The present invention discloses a class D power amplifier with an integrated output voltage protection DCDC chip, which is used for real-time detection of an output voltage signal (VOUT) and clamping protection of the voltage signal, and comprises a DCDC module and a class D power amplifier module, wherein the DCDC module transmits the output voltage signal VOUT to the class D power amplifier module, and the class D power amplifier module is connected to a load speaker, wherein:

[0040] The DCDC module includes a first voltage comparator 109, a second voltage comparator 110, a first dual-input AND gate 103, a low-side switch tube 104, a second dual-input AND gate 105, a dual-input OR gate 106, a high-side rectifier tube 107, a resistor R12 (113), a resistor R13 (114) and a resistor AND R14 (115), wherein:

[0041] The common terminal of the resistor R12 and the resistor R13 outputs a first voltage Vf1, the first voltage Vf1 is electrically connected to the negative input terminal of the first voltage comparator and the positive input terminal of the first voltage comparator is connected to a reference voltage, and the common terminal of the resistor R13 and the resistor R14 outputs a second voltage Vf2, the second voltage Vf2 is electrically connected to the negative input terminal of the second voltage comparator and the positive input terminal of the second voltage comparator is connected to the reference voltage;

[0042] The output terminal of the first voltage comparator is electrically connected to the second input terminal of the first dual-input AND gate in one way and electrically connected to the second input terminal of the second dual-input AND gate in another way, and the output terminal of the second voltage comparator is electrically connected to the second input terminal of the dual-input OR gate;

[0043] The output end of the first dual-input AND gate is electrically connected to the gate of the low-side switch tube and the drain of the low-side switch tube is electrically connected to the source of the high-side rectifier tube, the drain of the high-side rectifier tube outputs a voltage signal VOUT, the output end of the second dual-input AND gate is electrically connected to the first input end of the dual-input OR gate and the output end of the dual-input OR gate is electrically connected to the gate of the high-side rectifier tube.

[0044] Specifically, the drain of the high-side rectifier tube is also grounded through resistors R10 (111) and R11 (0112) in sequence, the source of the low-side switch tube is grounded, and the drain of the low-side switch tube is also connected to the power supply terminal VCC through inductor L0.

[0045] More specifically, the class D power amplifier with integrated output voltage protection DCDC chip further includes an error amplifier 10 and a first PWM generating circuit 102, wherein:

[0046] The positive input terminal of the error amplifier is connected to the reference voltage and the negative input terminal of the error amplifier is connected to the common terminal of the resistor R10 and the resistor R11 (voltage feedback signal FB) to output the error comparison result to the first PWM generation circuit;

[0047] The output source of the error amplifier is electrically connected to the input end of the first PWM generating circuit (the input end of the first PWM generating circuit is also connected to the system clock), the first output end of the first PWM generating circuit is electrically connected to the first input end of the first dual-input AND gate, and the second output end of the first PWM generating circuit is electrically connected to the first input end of the second dual-input AND gate, and the first PWM generating circuit is used to output two PWM square waves with fixed frequencies and automatically adjusted duty cycles.

[0048] Furthermore, the class D power amplifier module includes an audio input amplifier 201, a second PWM generating circuit 202, a first gate driver 203, a second gate driver 204, a third gate driver 205 and a fourth gate driver 206, wherein:

[0049] The positive input terminal of the audio input amplifier is connected to the reference ground and the negative input terminal of the audio input amplifier is connected to the audio signal to amplify the input audio signal;

[0050] The input end of the second PWM generating circuit is electrically connected to the output end of the audio input amplifier, the first output end of the second PWM generating circuit is electrically connected to the input end of the first gate driver, the second output end of the second PWM generating circuit is electrically connected to the input end of the second gate driver, the third output end of the second PWM generating circuit is electrically connected to the input end of the third gate driver, and the fourth output end of the second PWM generating circuit is electrically connected to the input end of the fourth gate driver;

[0051] The output end of the first gate driver is electrically connected to the gate of the first switch tube 207, the output end of the second gate driver is electrically connected to the gate of the second switch tube 208, the output end of the third gate driver is electrically connected to the gate of the third switch tube 209, and the output end of the fourth gate driver is electrically connected to the gate of the fourth switch tube 210;

[0052] One end of the first switch tube 207 is connected to the voltage signal VOUT and the other end of the first switch tube 207 is connected to the output terminal OUTN, one end of the second switch tube 208 is grounded and the other end of the second switch tube 208 is connected to the output terminal OUTN, one end of the third switch tube 209 is grounded and the other end of the third switch tube 209 is connected to the output terminal OUTP, one end of the fourth switch tube 210 is connected to the voltage signal VOUT and the other end of the fourth switch tube 210 is connected to the output terminal OUTP (OUTN and OUTP are respectively connected to the two inputs of the load speaker for driving the speaker).

[0053] The present invention also discloses a protection method for a class D power amplifier with an integrated output voltage protection DCDC chip for implementing the class D power amplifier with an integrated output voltage protection DCDC chip, which is used for real-time detection of an output voltage signal VOUT of the class D power amplifier with an integrated output voltage protection DCDC chip and automatic clamping protection of the voltage signal VOUT, comprising the following steps:

[0054] Step S1: when the voltage signal VOUT output by the DCDC module rises and the first voltage Vf1 is higher than the reference voltage, the output signal of the output terminal of the first voltage comparator is 0, so that the output signal of the output terminal of the first dual-input AND gate is also 0, so that the low-side switch tube is turned off;

[0055] At the same time, if the second voltage Vf2 is lower than the reference voltage, the output signal of the output terminal of the second voltage comparator is 0, so that the output signal of the output terminal of the dual-input OR gate is also 0, so that the high-side rectifier tube is turned off. When the low-side switch tube and the high-side rectifier tube are turned off at the same time, it is judged that the DCDC module is in a high-impedance state;

[0056] Step S2: when the voltage signal VOUT output by the DCDC module continues to rise and the second voltage Vf2 is higher than the reference voltage, since the voltage of the first voltage Vf1 is higher than the voltage of the second voltage Vf2, the low-side switch tube is still turned off, and the output signal of the output end of the second voltage comparator becomes high, so that the output signal of the output end of the dual-input OR gate is also high, so that the high-side rectifier tube is turned on, so that the output voltage signal (VOUT) is discharged to the power supply terminal VCC through the inductor L0, thereby reducing the output voltage signal, and then it is determined that the DCDC module is in the output voltage clamping protection state;

[0057] Step S3: when the voltage signal VOUT output by the DCDC module decreases, the second voltage Vf2 is lower than the reference voltage and the first voltage Vf1 is still higher than the reference voltage, the low-side switch tube is turned off, and the output signal of the output end of the second voltage comparator is 0, so that the output signal of the output end of the dual-input OR gate is also 0, so that the high-side rectifier tube is turned off. When the low-side switch tube and the high-side rectifier tube are turned off at the same time, it is determined that the DCDC module is in a high-impedance state;

[0058] Step S4: when the voltage signal VOUT output by the DCDC module continues to decrease and the first voltage Vf1 is lower than the reference voltage, the output signal of the output terminal of the first voltage comparator is high, so that the output of the first dual-input AND gate is controlled by the first PWM generation circuit, thereby making the switching state of the low-side switch tube controlled by the first PWM generation circuit;

[0059] At the same time, since the second voltage Vf2 is still lower than the reference voltage, the output signal of the output terminal of the second voltage comparator maintains 0, and the output of the dual-input OR gate is controlled by the output of the second dual-input AND gate, so that the switching state of the high-side rectifier is controlled by the first PWM generating circuit, and it is judged that the DCDC module is in a normal working state.

[0060] The principle of the present invention is:

[0061] Figure 1Figure 01 is a synchronous boost DCDC architecture block diagram (DCDC module) with output voltage clamp protection function. Figure 1 The module 02 shown is a Class D power amplifier architecture block diagram (Class D power amplifier module). Figure 1 The 03 module shown is the load speaker for the 02 module. Figure 1 The module 01 shown is a synchronous boost DCDC main circuit, which outputs a specific voltage signal VOUT and then powers the Class D power amplifier in the module 02.

[0062] Synchronous boost DCDC main circuit (DCDC module), such as Figure 2 shown.

[0063] like Figure 2 As shown, component 101 is an error amplifier, the positive input terminal is connected to the voltage reference signal Vref, the negative input terminal is connected to the output voltage feedback signal FB, and the output is the error comparison result.

[0064] like Figure 2 As shown, component 102 is a PWM generating circuit, whose input is connected to the output of the error amplifier of component 101 and the system clock, and whose output is two PWM square waves with fixed frequency and automatically adjusted duty cycle, which are connected to the inputs of components 103 and 105 respectively.

[0065] like Figure 2 As shown, component 103 is a dual-input AND gate, which functions as a PWM signal driver with enable, and its inputs are respectively connected to the output of component 102 and the output of component 109. The output of component 103 is used to control component 104 (low-side switch tube) to turn on or off.

[0066] like Figure 2 As shown, component 106 is a dual-input OR gate, which functions as a PWM signal driver with enable, and its inputs are respectively connected to the output of component 105 and the output of component 110. The output of component 106 is used to control component 107 (high-side rectifier) ​​to turn on or off.

[0067] like Figure 2 As shown, component 104 is a low-side switch tube, and the control signal is connected to the output of component 103. When the control signal is high, the switch is turned on, and when the control signal is low, the switch is turned off. One end of component 104 is grounded, and the other end is connected to the power supply VCC through an inductor.

[0068] like Figure 2 As shown, component 107 is a high-side rectifier tube, and the control signal is connected to the output of component 106. When the control signal is high, the switch is turned on, and when the control signal is low, the switch is turned off. One end of component 107 is connected to component 104, connected to the power supply VCC through an inductor, and the other end is connected to the output voltage VOUT.

[0069] like Figure 2 As shown, component 111 and component 112 are resistors R10 and R11 respectively. The two resistors are connected in series between VOUT and ground. The tap signal FB in the middle of the resistors is a voltage feedback signal, which is input to the negative input terminal of component 101.

[0070] like Figure 2 As shown, component 113, component 114, and component 115 are resistors R12, R13, and R14 respectively. The three resistors are connected in series between VOUT and ground in sequence. The tap signals between the resistors are Vf1 and Vf2 respectively, which are voltage feedback signals. Vf1 is input to the negative input terminal of component 109, and Vf2 is input to the positive input terminal of component 110.

[0071] like Figure 2 As shown, components 109 and 110 are voltage comparators, the negative input terminal of comparator 109 is connected to the signal Vf1, and the positive input terminal is connected to the voltage reference signal Vref. The negative input terminal of comparator 110 is connected to the voltage reference Vref, and the positive input terminal is connected to the signal Vf2.

[0072] like Figure 2 As shown, component 108 is an inductor, one end of which is connected to components 104 and 107, and the other end is connected to voltage VCC.

[0073] like Figure 2 As shown, component 105 is a dual-input AND gate, the inputs of which are respectively connected to the outputs of component 102 and component 109, and the outputs of which are connected to the inputs of component 106.

[0074] like Figure 2 As shown, the voltage of Vf1 is higher than the voltage of Vf2. When the voltage value of the output voltage VOUT of the synchronous boost DCDC rises, making the voltage of Vf1 higher than the reference voltage Vref, the output signal of the voltage comparator of component 109 is 0, so that the output of the dual-input AND gate of component 103 also becomes 0, and component 104 (low-side switch tube) is disconnected. At the same time, the output of the dual-input AND gate of component 105 is 0. At this time, if the voltage of Vf2 is lower than the reference voltage Vref, the output signal of the voltage comparator of component 110 is 0, the output of the dual-input OR gate of component 106 is 0, and component 107 (high-side rectifier tube) is disconnected. In this case, component 104 (low-side switch tube) and component 107 (high-side rectifier tube) are disconnected at the same time. The synchronous boost DCDC is in a high-impedance state.

[0075] like Figure 2As shown, if the synchronous boost DCDC output voltage VOUT continues to rise, the output signal of the voltage comparator of component 109 is still 0, so that the output of the dual-input AND gate of component 103 also remains 0, and component 104 (low-side switch tube) remains off. When the voltage of Vf2 is higher than the reference voltage Vref, the output signal of the voltage comparator of component 110 becomes high, the output of the dual-input OR gate of component 106 becomes high, and component 107 (high-side rectifier tube) turns on. At this time, VOUT can be discharged to the power supply VCC through component 107 (high-side rectifier tube) and the inductor, so that the voltage of VOUT is reduced. The synchronous boost DCDC is in the output VOUT clamping protection state.

[0076] like Figure 2 As shown, when the synchronous boost DCDC output voltage VOUT drops, the output signal of the voltage comparator 109 is still 0, so that the output of the dual-input AND gate 103 is also maintained at 0, the 104 component (low-side switch tube) remains disconnected, and the output of the 105 component is maintained at 0. When the Vf2 voltage is lower than the reference voltage Vref, the output signal of the voltage comparator 110 becomes 0, the output of the dual-input OR gate 106 becomes 0, and the 107 component (high-side rectifier tube) is disconnected. The synchronous boost DCDC is in a high-impedance state.

[0077] like Figure 2 As shown, when the voltage value of the synchronous boost DCDC output voltage VOUT continues to decrease, making the Vf1 voltage lower than the reference voltage Vref, the output signal of the voltage comparator of component 109 is high, so that the output of the dual-input AND gate of component 103 is controlled by the PWM generation circuit of component 102, and the switch state of component 104 (low-side switch tube) is controlled by the PWM generation circuit of component 102. The output of the dual-input AND gate of component 105 is controlled by the PWM generation circuit of component 102. The voltage of Vf2 is still lower than the reference voltage Vref, the output signal of the voltage comparator of component 110 remains 0, and the output of the dual-input OR gate of component 106 is controlled by the output of the dual-input AND gate of component 105, so the switch state of component 107 (high-side rectifier tube) is controlled by the PWM generation circuit of component 102. The synchronous boost DCDC is in normal working state.

[0078] ClassD amplifier main circuit (Class D amplifier module), such as Figure 3 shown.

[0079] like Figure 3 As shown, component 201 is an audio input amplifier, the positive input terminal is connected to the reference ground, the negative input terminal is connected to the input audio signal, the input audio signal is amplified, and the output is connected to component 202.

[0080] like Figure 3 As shown, component 202 is a PWM generating circuit, the input is the output of component 201, and the output is four PWM signals.

[0081] like Figure 3 As shown, components 203, 204, 205, and 206 are gate drivers, whose inputs are respectively connected to the output of component 202, and whose outputs are respectively connected to the gate controls of components 207, 208, 209, and 210.

[0082] like Figure 3 As shown, components 207, 208, 209, and 210 are switch tubes, and the gate control signals are connected to the outputs of components 203, 204, 205, and 206 respectively. When the gate control signal is high, the switches of components 207, 208, 209, and 210 are turned on, and when the gate control signal is 0, the switches of components 207, 208, 209, and 210 are turned off. One end of component 207 is connected to the power supply VOUT, and the other end is connected to the output OUTN. One end of component 208 is grounded, and the other end is connected to the output OUTN. One end of component 209 is connected to the power supply VOUT, and the other end is connected to the output OUTP. One end of component 210 is grounded, and the other end is connected to the output OUTP. OUTN and OUTP are connected to the two inputs of the speaker respectively, for driving the speaker.

[0083] It is worth mentioning that the technical features such as portable speakers and load speakers involved in the patent application of this invention should be regarded as prior art. The specific structure, working principle and possible control method and spatial layout method of these technical features can be selected according to the conventional selection in the field, and should not be regarded as the inventive point of the patent of this invention. The patent of this invention will not be further elaborated.

[0084] For those skilled in the art, it is still possible to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A class D power amplifier with an integrated output voltage protection DCDC chip, used to detect the output voltage signal in real time and clamp the voltage signal for protection. It is characterized in that It includes a DCDC module and a class D power amplifier module, wherein the DCDC module transmits the output voltage signal VOUT to the class D power amplifier module, and the class D power amplifier module is connected to a load speaker, wherein: The DCDC module includes a first voltage comparator, a second voltage comparator, a first dual-input AND gate, a low-side switch tube, a second dual-input AND gate, a dual-input OR gate, a high-side rectifier tube, a resistor R12, a resistor R13 and a resistor R14, wherein: The common terminal of the resistor R12 and the resistor R13 outputs a first voltage Vf1, the first voltage Vf1 is electrically connected to the negative input terminal of the first voltage comparator and the positive input terminal of the first voltage comparator is connected to a reference voltage, and the common terminal of the resistor R13 and the resistor R14 outputs a second voltage Vf2, the second voltage Vf2 is electrically connected to the negative input terminal of the second voltage comparator and the positive input terminal of the second voltage comparator is connected to the reference voltage; The output terminal of the first voltage comparator is electrically connected to the second input terminal of the first dual-input AND gate in one way and electrically connected to the second input terminal of the second dual-input AND gate in another way, and the output terminal of the second voltage comparator is electrically connected to the second input terminal of the dual-input OR gate; The output end of the first dual-input AND gate is electrically connected to the gate of the low-side switch tube and the drain of the low-side switch tube is electrically connected to the source of the high-side rectifier tube, the drain of the high-side rectifier tube outputs a voltage signal VOUT, the output end of the second dual-input AND gate is electrically connected to the first input end of the dual-input OR gate and the output end of the dual-input OR gate is electrically connected to the gate of the high-side rectifier tube.

2. A class D power amplifier with integrated output voltage protection DCDC chip according to claim 1, It is characterized in that The drain of the high-side rectifier tube is also connected to ground through resistors R10 and R11 in sequence, the source of the low-side switch tube is grounded, and the drain of the low-side switch tube is also connected to the power supply terminal VCC through the inductor L0.

3. A class D power amplifier with integrated output voltage protection DCDC chip according to claim 2, It is characterized in that The class D power amplifier with integrated output voltage protection DCDC chip also includes an error amplifier and a first PWM generating circuit, wherein: The positive input terminal of the error amplifier is connected to the reference voltage and the negative input terminal of the error amplifier is connected to the common terminal of the resistor R10 and the resistor R11, so as to output the error comparison result to the first PWM generation circuit; The output source of the error amplifier is electrically connected to the input end of the first PWM generating circuit, the first output end of the first PWM generating circuit is electrically connected to the first input end of the first dual-input AND gate, and the second output end of the first PWM generating circuit is electrically connected to the first input end of the second dual-input AND gate, and the first PWM generating circuit is used to output two PWM square waves with fixed frequencies and automatically adjusted duty cycles.

4. A class D power amplifier with integrated output voltage protection DCDC chip according to claim 3, It is characterized in that The class D power amplifier module includes an audio input amplifier, a second PWM generating circuit, a first gate driver, a second gate driver, a third gate driver and a fourth gate driver, wherein: The positive input terminal of the audio input amplifier is connected to the reference ground and the negative input terminal of the audio input amplifier is connected to the audio signal to amplify the input audio signal; The input end of the second PWM generating circuit is electrically connected to the output end of the audio input amplifier, the first output end of the second PWM generating circuit is electrically connected to the input end of the first gate driver, the second output end of the second PWM generating circuit is electrically connected to the input end of the second gate driver, the third output end of the second PWM generating circuit is electrically connected to the input end of the third gate driver, and the fourth output end of the second PWM generating circuit is electrically connected to the input end of the fourth gate driver; The output end of the first gate driver is electrically connected to the gate of the first switch tube, the output end of the second gate driver is electrically connected to the gate of the second switch tube, the output end of the third gate driver is electrically connected to the gate of the third switch tube, and the output end of the fourth gate driver is electrically connected to the gate of the fourth switch tube; One end of the first switch tube is connected to the voltage signal VOUT and the other end of the first switch tube is connected to the output end OUTN, one end of the second switch tube is grounded and the other end of the second switch tube is connected to the output end OUTN, one end of the third switch tube is grounded and the other end of the third switch tube is connected to the output end OUTP, and one end of the fourth switch tube is connected to the voltage signal VOUT and the other end of the fourth switch tube is connected to the output end OUTP.

5. A protection method for a class D power amplifier with an integrated output voltage protection DCDC chip for implementing the class D power amplifier with an integrated output voltage protection DCDC chip as claimed in any one of claims 1 to 4, for real-time detection of an output voltage signal VOUT of the class D power amplifier with an integrated output voltage protection DCDC chip and automatic clamping protection of the voltage signal VOUT, It is characterized in that The following steps are involved: Step S1: when the voltage signal VOUT output by the DCDC module rises and the first voltage Vf1 is higher than the reference voltage, the output signal of the output terminal of the first voltage comparator is 0, so that the output signal of the output terminal of the first dual-input AND gate is also 0, so that the low-side switch tube is turned off; At the same time, if the second voltage Vf2 is lower than the reference voltage, the output signal of the output terminal of the second voltage comparator is 0, so that the output signal of the output terminal of the dual-input OR gate is also 0, so that the high-side rectifier tube is turned off. When the low-side switch tube and the high-side rectifier tube are turned off at the same time, it is judged that the DCDC module is in a high-impedance state; Step S2: when the voltage signal VOUT output by the DCDC module continues to rise and the second voltage Vf2 is higher than the reference voltage, since the voltage of the first voltage Vf1 is higher than the voltage of the second voltage Vf2, the low-side switch tube is still turned off, and the output signal of the output end of the second voltage comparator becomes high, so that the output signal of the output end of the dual-input OR gate is also high, so that the high-side rectifier tube is turned on, so that the output voltage signal is discharged to the power supply terminal VCC through the inductor L0, thereby reducing the output voltage signal, and then it is determined that the DCDC module is in the output voltage clamping protection state; Step S3: when the voltage signal VOUT output by the DCDC module decreases, the second voltage Vf2 is lower than the reference voltage and the first voltage Vf1 is still higher than the reference voltage, the low-side switch tube is turned off, and the output signal of the output end of the second voltage comparator is 0, so that the output signal of the output end of the dual-input OR gate is also 0, so that the high-side rectifier tube is turned off. When the low-side switch tube and the high-side rectifier tube are turned off at the same time, it is determined that the DCDC module is in a high-impedance state; Step S4: when the voltage signal VOUT output by the DCDC module continues to decrease and the first voltage Vf1 is lower than the reference voltage, the output signal of the output terminal of the first voltage comparator is high, so that the output of the first dual-input AND gate is controlled by the first PWM generation circuit, thereby making the switching state of the low-side switch tube controlled by the first PWM generation circuit; At the same time, since the second voltage Vf2 is still lower than the reference voltage, the output signal of the output terminal of the second voltage comparator maintains 0, and the output of the dual-input OR gate is controlled by the output of the second dual-input AND gate, so that the switching state of the high-side rectifier is controlled by the first PWM generating circuit, and it is judged that the DCDC module is in a normal working state.