Over-current detection circuit, chip and electronic equipment
By designing the same type of MOS tube in a Class D audio power amplifier for threshold assist and sampling modules, and using the bandgap reference voltage, the problem of threshold voltage fluctuation in the overcurrent protection circuit is solved, and a stable current protection threshold is achieved to avoid The chip is damaged.
Patent Information
- Application Number
- CN202410997648.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
AI Technical Summary
The overcurrent protection circuit in existing Class D audio power amplifiers fluctuates greatly due to changes in PVT, which affects the protection threshold of the current, which may lead to insufficient power or chip burning.
Design an overcurrent detection circuit to ensure that the on-impedance of the threshold auxiliary tube and the sampling tube cancels the PVT variation by using the same type of MOS tube in the first threshold auxiliary tube unit and the first sampling module and using the bandgap reference voltage The effect of the protection threshold of the current is stabilized.
It effectively reduces the current protection threshold fluctuation, avoids chip damage caused by excessive protection threshold fluctuation, and ensures the safe operation of Class D audio power amplifier.
Smart Images

Figure CN118937779A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to an overcurrent detection circuit, chip and electronic equipment. Background Art
[0002] The output stage circuit is an important component of the Class D audio power amplifier. In order to obtain a larger output power, the Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET, MOS tube for short) in the output stage circuit is very large, which causes the current flowing through the MOS tube to exceed the upper limit of the circuit's overcurrent capacity, resulting in the burning of the corresponding circuits and chips in the Class D audio power amplifier.
[0003] In some embodiments, an overcurrent protection circuit is used to perform overcurrent protection on the output stage circuit of a class D audio power amplifier. However, due to the influence of process deviation, voltage, temperature (Process-Voltage-Temperature, PVT), etc., the threshold voltage (the voltage of the negative electrode of the comparator) in the overcurrent protection circuit fluctuates greatly, causing the protection threshold of the current in the class D audio power amplifier to fluctuate greatly. For example, when the threshold voltage in the overcurrent protection circuit fluctuates greatly downward (the threshold voltage is too small), the protection threshold of the current in the class D audio power amplifier is too small, which may cause insufficient power of the class D audio power amplifier and affect normal operation; when the threshold voltage in the overcurrent protection circuit fluctuates greatly upward (the threshold voltage is too large), the protection threshold of the current in the class D audio power amplifier is too large, which may cause the current of the class D audio power amplifier to be too large, causing the chip in the class D audio power amplifier to burn. Summary of the invention
[0004] In order to solve the above problems, the present application provides an overcurrent detection circuit, a chip and an electronic device.
[0005] In a first aspect, the present application provides an overcurrent detection circuit, which is applied to electronic equipment. The overcurrent detection circuit includes a first sampling module and a first overcurrent protection module. The first overcurrent protection module includes a first threshold auxiliary resistance unit, a first threshold auxiliary tube unit and a first comparison unit; the first sampling module is used to output a sampling current to a first end of the first comparison unit, and the first sampling module includes at least one first sampling tube; the first end of the first threshold auxiliary resistance unit is used to receive a bandgap reference voltage, and the second end of the first threshold auxiliary resistance unit is respectively connected to the second end of the first comparison unit and the first threshold auxiliary tube unit; the first threshold auxiliary tube unit includes at least one first threshold auxiliary tube, and the first threshold auxiliary tube unit is connected to the second end of the first comparison unit, wherein the first threshold auxiliary tube and the first sampling tube are MOS tubes of the same type; the first comparison unit is used to output an overcurrent protection signal when the voltage at the first end of the first comparison unit is greater than or equal to the voltage at the second end of the first comparison unit.
[0006] The overcurrent detection circuit provided in the present application is respectively in the upper tube and the lower tube of the class D audio power amplifier, by designing the connection mode between the first threshold auxiliary tube unit and the first threshold auxiliary resistance unit and the first comparison unit, and ensuring that the first threshold auxiliary tube and the first sampling tube are both N-type MOS tubes, or the first threshold auxiliary tube and the first sampling tube are both P-type MOS tubes, that is, the first threshold auxiliary tube and the first sampling tube are of the same type. Since the type of the first power tube is consistent with the type of the first sampling tube in the first sampling module, the type of the first threshold auxiliary tube, the first sampling tube, and the first power tube are consistent in the first overcurrent protection module, so that the influence of the PVT change on the conduction impedance of the first threshold auxiliary tube unit can be used to offset the influence of the PVT change on the conduction impedance of the first power tube in the first sampling module. This makes the fluctuation of the protection threshold of the current in the first sampling module smaller, avoids the burning of the chip due to the large fluctuation of the protection threshold of the current, and protects the chip safety in the class D audio power amplifier.
[0007] In an implementable manner, the first threshold auxiliary tube and the first sampling tube are both N-type MOS tubes, or the first threshold auxiliary tube and the first sampling tube are both P-type MOS tubes.
[0008] In an implementable manner, the first threshold auxiliary resistance unit includes a first threshold auxiliary resistor, and the first comparison unit includes a first comparator; the first end of the first threshold auxiliary resistor is used to receive a bandgap reference voltage, the second end of the first threshold auxiliary resistor is respectively connected to the first end of the first threshold auxiliary tube and the negative electrode of the first comparator, the first end of the first threshold auxiliary tube is connected to the negative electrode of the first comparator, the second end of the first threshold auxiliary tube unit is grounded, and the control end of the first threshold auxiliary tube unit is connected to the input end of the first overcurrent protection module.
[0009] In an operative manner, the first sampling module further includes at least one first power tube; the control terminal voltage of the first threshold auxiliary tube is equal to the control terminal voltage of the first power tube. In an operative manner, the first threshold auxiliary resistor unit includes at least one first threshold auxiliary resistor, and a plurality of first threshold auxiliary resistors are connected in series; the first threshold auxiliary tube unit includes at least one first threshold auxiliary tube, and a plurality of first threshold auxiliary tubes are connected in series.
[0010] In an implementable manner, the first overcurrent protection module also includes a current detection unit, which includes a first MOS tube, a second MOS tube, a first sampling resistor, a second resistor, a third resistor, a fourth resistor, a first current source and a second current source; the first end of the first sampling resistor is connected to a power supply, and the second end of the first sampling resistor is connected to the first end of the second resistor; the second end of the second resistor is connected to the first end of the second MOS tube, the second end of the second MOS tube is connected to the first end of the first current source, the control end of the second MOS tube is connected to the control end of the first MOS tube, and the second end of the first current source is grounded; the first end of the first MOS tube is connected to the first end of the third resistor, the second end of the first MOS tube is connected to the first end of the second current source and the positive electrode of the first comparator, the second end of the third resistor is connected to the power supply, the second end of the second current source is grounded, the first end of the fourth resistor is respectively connected to the positive electrode of the first comparator, the second end of the first MOS tube and the first end of the second current source, and the second end of the fourth resistor is grounded.
[0011] In one implementable manner, the number of first threshold auxiliary resistors in the first threshold auxiliary resistor unit is determined based on the ratio of the resistance value of the third resistor to the resistance value of the fourth resistor, and the resistance value of the first threshold auxiliary resistor in the threshold auxiliary unit is equal to the resistance value of the first sampling resistor; the number of first threshold auxiliary tubes in the first threshold auxiliary tube unit is determined based on the ratio of the resistance value of the third resistor to the resistance value of the fourth resistor.
[0012] In one practicable manner, the first end of the first sampling tube is connected to the output end of the first sampling module, the second end of the first sampling tube is connected to the first overcurrent protection module, and the control end of the first sampling tube is connected to the gate of the first power tube; the control end of the first power tube is used to receive a previous-stage driving signal, the first end of the first power tube is connected to the output end of the first sampling module, and the second end of the first power tube is connected to a power supply.
[0013] In a second aspect, the present application provides a chip, comprising the overcurrent detection circuit mentioned in the first aspect.
[0014] In a third aspect, the present application provides an electronic device, comprising the chip mentioned in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1According to some embodiments of the present application, a structural schematic diagram of an overcurrent detection circuit is shown;
[0016] Figure 2a According to some embodiments of the present application, a schematic diagram of the structure of an upper-end tube in an output stage of a class-D audio power amplifier is shown;
[0017] Figure 2b According to some embodiments of the present application, a schematic diagram of an overcurrent protection structure of an upper-end tube in an output stage of a class-D audio power amplifier is shown;
[0018] Figure 3 According to some embodiments of the present application, a schematic diagram of an overcurrent detection circuit in an upper-end tube of a class-D audio power amplifier is shown;
[0019] Figure 4 According to some embodiments of the present application, a schematic diagram of an overcurrent detection circuit in a lower-end tube of a class-D audio power amplifier is shown;
[0020] Figure 5 According to some embodiments of the present application, a schematic diagram of an overcurrent detection circuit in a comparative embodiment of a class-D audio power amplifier is shown. DETAILED DESCRIPTION
[0021] The illustrative embodiments of the present application include but are not limited to an overcurrent detection circuit, a chip and an electronic device. The following first introduces the terms involved in the present application.
[0022] (1) Bandgap voltage reference
[0023] Analog circuits widely include voltage references and current references. This kind of reference is a DC quantity, which has little relationship with power supply and process parameters, but has a certain relationship with temperature. The purpose of generating a reference is to establish a DC voltage or current with a certain temperature characteristic that is independent of power supply and process. The most classic bandgap reference uses the sum of a voltage with a positive temperature coefficient and a voltage with a negative temperature coefficient. The temperature coefficients of the two cancel each other out to achieve a temperature-independent voltage reference of about 1.25V. Because its reference voltage is similar to the bandgap voltage of silicon, it is called a bandgap reference.
[0024] (2) Benchmark module
[0025] The reference module in the circuit (the threshold auxiliary resistor unit and the threshold auxiliary tube unit in the embodiment of the present application) is responsible for generating a DC bias voltage with a certain current driving capability. Ideally, the voltage is required not to change with the power supply voltage, temperature, and process deviation.
[0026] The electronic device in the embodiment of the present application includes a Class D audio power amplifier, and any electronic device with a power amplification function, for example, it can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA) and other electronic devices. The embodiment of the present application does not impose any restrictions on the specific type of electronic device. For ease of description, the technical solution of the present application is introduced below by taking the electronic device as a Class D audio power amplifier as an example.
[0027] The technical solution of the present application is introduced below in conjunction with the accompanying drawings.
[0028] As mentioned earlier, in order for the Class D audio power amplifier to have better operating efficiency and load capacity, the size of the MOS tube in the output stage is large, resulting in the current flowing through the MOS tube possibly exceeding the protection threshold of the current in the circuit, causing the chip in the Class D audio power amplifier to burn out.
[0029] In some embodiments, an overcurrent protection circuit is used to perform overcurrent protection on the output stage circuit of the class D audio power amplifier. Due to the influence of PVT, the threshold voltage (the voltage of the negative electrode of the comparator) in the overcurrent protection circuit fluctuates greatly, causing the protection threshold of the current in the class D audio power amplifier to fluctuate greatly. This may affect the normal operation of the class D audio power amplifier or cause the chip in the class D audio power amplifier to burn out.
[0030] In order to solve the above problems, the present application embodiment proposes an overcurrent detection circuit, which is applied to electronic equipment, such as Figure 1As shown, the overcurrent detection circuit includes a first sampling module 100 and a first overcurrent protection module 200, wherein the first overcurrent protection module 200 includes a first threshold auxiliary resistor unit 201, a first threshold auxiliary tube unit 202 and a first comparison unit 203; the first sampling module 100 is used to output a sampling current to a first end of the first comparison unit 203, and the first sampling module 100 includes at least one first sampling tube P2; the first end of the first threshold auxiliary resistor unit 201 is used to receive a bandgap reference voltage, and the second end of the first threshold auxiliary resistor unit 201 is respectively connected to the second end of the first comparison unit 203 and the first threshold auxiliary tube unit 202; the first threshold auxiliary tube unit 202 includes at least one first threshold auxiliary tube P20, and the first threshold auxiliary tube unit 202 is connected to the second end of the first comparison unit 203, wherein the first threshold auxiliary tube P20 and the first sampling tube P2 are the same type of MOS tubes; the first comparison unit 203 is used to output an overcurrent protection signal when the voltage at the first end of the first comparison unit 203 is greater than or equal to the voltage at the second end of the first comparison unit 203.
[0031] In some embodiments, the first threshold auxiliary transistor P20 and the first sampling transistor P2 are both N-type MOS transistors, or the first threshold auxiliary transistor P20 and the first sampling transistor P2 are both P-type MOS transistors.
[0032] The overcurrent detection circuit provided by the present application designs the connection structure of the first threshold auxiliary tube unit 202 and the first threshold auxiliary resistance unit 201 with the first comparison unit 203, and ensures that the first threshold auxiliary tube and the first sampling tube are of the same type. This allows the influence of the PVT change on the on-resistance of the first threshold auxiliary tube unit 202 to offset the influence of the PVT change on the on-resistance of the first power tube. This reduces the fluctuation of the protection threshold of the current, avoids the burning of the chip due to the large fluctuation of the protection threshold of the current, and protects the chip safety in the Class D audio power amplifier.
[0033] Understandably, Figure 1 The circuit shown can be used for the overcurrent protection circuit corresponding to the upper tube of the class D audio power amplifier. The structure of the overcurrent protection circuit of the lower tube of the class D audio power amplifier is similar to that of the overcurrent protection circuit corresponding to the upper tube. Figure 4 It is introduced in the introduction and will not be repeated here.
[0034] First combine Figure 2a , briefly introduces the structure of the output stage circuit in the Class D audio power amplifier. Figure 2a The structure of the top tube in the output stage of a Class D audio power amplifier is shown. Figure 2aAs shown, in the structure of the upper tube of the output stage of the class D audio power amplifier, a circuit related to the upper tube and a first power tube P1 are included. The circuit related to the upper tube can be a pre-stage control circuit for controlling the state of the power tube, and the type of the first power tube P1 can be an N-channel MOS tube (N-Metal-Oxide-Semiconductor, NMOS) or a P-channel MOS tube (P-Metal-Oxide-Semiconductor, PMOS). The specific type of the first power tube P1 can be set as needed and is not limited here. Figure 2a The first power tube P1 is a PMOS tube as an example for introduction. Figure 2a As shown, the gate of the first power tube P1 is connected to the circuit related to the upper tube, the drain is connected to the power supply (Power VDD, PVDD), and the source is connected to the output terminal. The lower tube in the output stage of the Class D audio power amplifier has the same principle, which will not be repeated here.
[0035] It can be understood that in a Class D audio power amplifier, considering the efficiency and load capacity of the chip, the size of the first power tube P1 of the output stage is generally very large, so overcurrent protection needs to be considered to prevent the output short circuit from generating a large current and burning the chip.
[0036] Combine the following Figure 2b This paper introduces the overcurrent protection structure (or overcurrent detection circuit) of the upper tube in the output stage of a Class D audio power amplifier. Figure 2b As shown, the overcurrent protection structure of the upper tube includes a first power tube P1, a first sampling tube P2 and a first overcurrent protection module 200. The first power tube P1 and the first sampling tube P2 are of the same type, and the specific type can be set as needed, which is not limited here. For example, Figure 2b Take the first power tube P1 and the first sampling tube P2 as PMOS tubes for example, wherein the first power tube P1 is of large size and the first sampling tube P2 is of small size.
[0037] like Figure 2b As shown, the gate of the first power tube P1 is connected to the circuit related to the upper tube, such as the front-stage control circuit, the drain of the first power tube P1 is connected to PVDD, and the source of the first power tube P1 is connected to the output end of the overcurrent detection circuit. The gate of the first sampling tube P2 is connected to the gate of the first power tube P1, the drain of the first sampling tube P2 is connected to the first overcurrent protection module 200, and the source of the first sampling tube P2 is connected to the output end OUT of the overcurrent detection circuit.
[0038] In the overcurrent protection structure of the upper tube in the output stage of the class D audio power amplifier, a first sampling tube P2 with a small size is mirrored on the gate of the first power tube P1, so that when working, the sampling current of the first sampling tube P2 can represent the output current. Then, the current of the first sampling tube P2 is converted into a voltage and compared with the bandgap reference voltage through the first overcurrent protection module 200 to determine whether the chip is short-circuited.
[0039] Combine the following Figure 3 , introduces an overcurrent (OC) detection circuit in the upper tube of a Class D audio power amplifier proposed in an embodiment of the present application. Figure 3 As shown, the overcurrent detection circuit of the embodiment of the present application includes: a first sampling module 100 and a first overcurrent protection module 200.
[0040] The first sampling module 100 is used to generate a sampling current, and the first sampling module 100 includes a first power tube P1 and a first sampling tube P2. In the first sampling module 100, the gate of the first power tube P1 is used to receive a pre-stage drive (control) signal, the drain is connected to PVDD, and the source is connected to the output end of the first sampling module 100. The gate of the first sampling tube P2 is connected to the gate of the first power tube P1, the drain of the first sampling tube P2 is respectively connected to the first sampling resistor R1 and the second resistor R2 in the first overcurrent protection module 200, and the source of the first sampling tube P2 is connected to the output end VOUT of the overcurrent detection circuit. It can be understood that the number of the first sampling tube P2 and the first power tube P1 in the first sampling module 100 can be set to one or more according to actual needs, and this application is not limited.
[0041] The first overcurrent protection module 200 is used to detect the sampling current, generate a first voltage related to the sampling current (the positive voltage of the first comparator C1), and compare the first voltage with the threshold voltage (the negative voltage of the first comparator C1). When the first voltage is greater than or equal to the threshold voltage, an overcurrent protection trigger signal is output, and the class D audio power amplifier stops working and enters the overcurrent protection state; when the first voltage is less than the threshold voltage, the class D audio power amplifier works normally. The threshold voltage generally comes from the bandgap reference voltage.
[0042] The first overcurrent protection module 200 includes a first current detection unit 204, a first threshold auxiliary tube unit 202, a first threshold auxiliary resistor unit 201 and a first comparison unit 203. The first current detection unit 204 includes a first MOS tube P4, a second MOS tube P3, a first sampling resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first current source A1 and a second current source A2. The first threshold auxiliary tube unit 202 includes a first threshold auxiliary tube P20, and the first threshold auxiliary resistor unit 201 includes a first threshold auxiliary resistor R5 and a third current source A3. The first comparison unit 203 includes a first comparator C1, and may also include other circuit structures having the same function as the first comparator C1.
[0043] Among them, the first end of the first sampling resistor R1 is connected to PVDD, and the second end of the first sampling resistor R1 is connected to the first end of the second resistor R2. The second end of the second resistor R2 is connected to the source of the second MOS tube P3, the drain of the second MOS tube P3 is connected to the first end of the first current source A1, and the gate of the second MOS tube P3 is connected to the gate of the first MOS tube P4. The source of the first MOS tube P4 is connected to the first end of the third resistor R3, and the drain of the first MOS tube P4 is connected to the first end of the second current source A2 and the positive electrode of the first comparator C1. The second end of the third resistor R3 is connected to PVDD, the second end of the first current source A1 is grounded, and the second end of the second current source A2 is grounded. The first end of the fourth resistor R4 is respectively connected to the positive electrode of the first comparator C1, the drain of the first MOS tube P4 and the first end of the second current source A2, and the second end of the fourth resistor R4 is grounded.
[0044] The first end of the first threshold auxiliary resistor R5 is connected to the bandgap reference voltage V BG , the second end of the first threshold auxiliary resistor R5 is connected to the cathode of the first comparator C1 and the drain of the first threshold auxiliary tube P20. The drain of the first threshold auxiliary tube P20 is connected to the cathode of the first comparator C1, the source of the first threshold auxiliary tube P20 is grounded, and the source of the first threshold auxiliary tube P20 is respectively connected to the second end of the fourth resistor R4, the second end of the first current source A1 and the second end of the second current source A2, and the gate of the first threshold auxiliary tube P20 is connected to the input end of the first overcurrent protection module 200. The third current source A3 is respectively connected to the cathode of the first comparator C1 and the drain of the first threshold auxiliary tube P20.
[0045] In some embodiments, a first threshold auxiliary resistor R5 having the same resistance value as the first sampling resistor R1 may be used. In some embodiments, a first threshold auxiliary transistor P20 having the same type as the first sampling transistor P2 may be used. For example, the first sampling transistor P2 and the first threshold auxiliary transistor P20 are both N-type MOS transistors or both are P-type MOS transistors, so that the gate terminal voltage of the first sampling transistor P2 is the same as the gate terminal voltage of the first threshold auxiliary transistor P20, and the on-resistance of the first threshold auxiliary transistor P20 may be equal to the on-resistance R of the first sampling transistor P2. dson2 At the same time, since the gate terminal voltages of the first sampling tube P2 and the first power tube P1 are equal, the gate terminal voltages of the first threshold auxiliary tube 20 and the first power tube P1 are also equal.
[0046] In some embodiments, according to the requirements of the circuit structure, the first threshold auxiliary resistor unit 201 may also include a plurality of first threshold auxiliary resistors R5 connected in series, and the first threshold auxiliary tube unit 202 may also include a plurality of first threshold auxiliary tubes P20 connected in series. The number of first threshold auxiliary resistors in the first threshold auxiliary resistor unit 201 is determined based on the ratio of the resistance value of the third resistor to the resistance value of the fourth resistor, and the resistance value of the first threshold auxiliary resistor is equal to the resistance value of the first sampling resistor; the number of first threshold auxiliary tubes is determined based on the ratio of the resistance value of the third resistor to the resistance value of the fourth resistor.
[0047] In the embodiment of the present application, the first threshold auxiliary tube P20, the first power tube P1, the first sampling tube P2, the second MOS tube P3, the first MOS tube P4, etc. are all P-type MOS tubes for explanation. When the first threshold auxiliary tube P20, the first power tube P1, the first sampling tube P2, the second MOS tube P3, the first MOS tube P4, etc. are all N-type MOS tubes, the source of the first threshold auxiliary tube P20, the first power tube P1, the first sampling tube P2, the second MOS tube P3, the first MOS tube P4, etc. is replaced with the drain of the first threshold auxiliary tube P20, the first power tube P1, the first sampling tube P2, the second MOS tube P3, the first MOS tube P4, etc., and the drain of the first threshold auxiliary tube P20, the first power tube P1, the first sampling tube P2, the second MOS tube P3, the first MOS tube P4, etc. is replaced with the source of the first threshold auxiliary tube P20, the first power tube P1, the first sampling tube P2, the second MOS tube P3, the first MOS tube P4, etc.
[0048] It can be understood that in the embodiment of the present application, when the first sampling tube P2, the first power tube P1, the first threshold auxiliary tube P20, the second MOS tube P3, and the first MOS tube P4 are P-type MOS tubes, the source can be called the first end, and the drain can be called the second end. Similarly, when the first sampling tube P2, the first power tube P1, the first threshold auxiliary tube P20, the second MOS tube P3, and the first MOS tube P4 are replaced with N-type MOS tubes, the source can be called the second end, the drain can be called the first end, and the gate of the first sampling tube P2, the first power tube P1, the first threshold auxiliary tube P20, the second MOS tube P3, and the first MOS tube P4 can be called the control end. It can also be called other names, which are not limited in the present application.
[0049] The following introduces the principle that the overcurrent detection circuit provided in the embodiment of the present application can effectively improve the safety of the chip.
[0050] refer to Figure 3 , when the class D audio power amplifier is in overcurrent, the source voltage of the second MOS tube P3 (i.e., the voltage at point V1) is equal to the source voltage of the first MOS tube P4 (i.e., the voltage at point V2). According to Ohm's law, the following expression (1) can be obtained:
[0051] (I S +K1I b ) *R1+R2*K1I b =R3(I4+K2I b ) (1)
[0052] Among them, I s is the sampling current, K1I b is the current of the first current source A1 (it can also be the current flowing through the second resistor R2), (I S +K1I b ) is the current flowing through the first sampling resistor R1, I4 is the current flowing through the fourth resistor R4, K2I b is the current of the second current source A2, (I4+K2I b ) is the current flowing through the third resistor R3. R1 is the resistance of the first sampling resistor R1, R2 is the resistance of the second resistor R2, and R3 is the resistance of the third resistor R3.
[0053] According to expression (1), expression (2) of the current I4 flowing through the fourth resistor R4 can be obtained by rearranging:
[0054]
[0055] Among them, (I S +K1I b ) is the current flowing through the first sampling resistor R1, I4 is the current flowing through the fourth resistor R4, K1Ib is the current of the first current source A1, K2I b is the current of the second current source A2, is the ratio of the first sampling resistor R1 to the third resistor R3, is the ratio of the resistance value of the second resistor R2 to the resistance value of the third resistor R3.
[0056] When the Class D audio power amplifier is overcurrent, the negative voltage of the first comparator C1 (V X point voltage) and positive voltage (V y The voltage at the point is equal. According to Ohm's law, the following expression (3) can be obtained:
[0057] I4R4=V X (3)
[0058] Wherein, I4 is the current flowing through the fourth resistor R4, I4R4 is the voltage across the fourth resistor R4, and may also be the positive electrode voltage of the comparator, V X is the negative electrode voltage of the comparator, and R4 is the resistance value of the fourth resistor R4.
[0059] Since the size of the first sampling tube P2 is much smaller than the first power tube P1 in the sampling module, the sampling current I flowing through the first sampling tube P2 is S Much smaller than the load current I OUT Therefore, when an overcurrent occurs, the current I P1 It can be approximated as the load current I during overcurrent OC , and according to Ohm's law, we can get the following expression (4):
[0060] R dson1 I OC =R dson2 *I S +(I S +K1I b )*R1 (4)
[0061] Among them, R dson1 is the on-resistance of the first power tube P1, I OC is the load current of the class D audio power amplifier when it is overcurrent, R dson2 is the on-resistance of the first sampling tube P2, I s is the sampling current flowing through the first sampling tube P2, K1I b is the current of the first current source A1, (I S +K1I b ) is the current value flowing through the first sampling resistor R1.
[0062] According to expression (4), the sampling current I can be obtained by rearranging SThe expression (5) is:
[0063]
[0064] Among them, I s is the sampling current flowing through the first sampling tube P2, R dson1 is the on-resistance of the first power tube P1, I OC is the load current of the class D audio power amplifier when it is overcurrent, R dson2 is the conduction impedance of the first sampling tube P2, K1I b is the current of the first current source A1.
[0065] The sampling current I s Substituting the expression (5) of the current I4 into the expression (2), and then substituting the expression (2) into the expression (3), we can get the following expression (6):
[0066]
[0067] Among them, V X is the negative voltage of the comparator, R dson1 is the on-resistance of the first power tube P1, I OC is the load current of the class D audio power amplifier when it is overcurrent, R dson2 is the conduction impedance of the first sampling tube P2, K1I b is the current of the first current source A1.
[0068] According to Ohm's law and the characteristics of series circuit voltage division, V X The point voltage (the negative voltage of the comparator) can be obtained by expression (7):
[0069]
[0070] Among them, V X is the negative electrode voltage of the comparator, K5 is the number of first threshold auxiliary tubes P20 and first threshold auxiliary resistors R5 connected in series, K3I b is the current of the third current source A3, V BG is the bandgap reference voltage. Since the resistance of R5 is equal to that of R1, is the current flowing through the first threshold auxiliary resistor R5, R dson2 is the on-resistance of the first threshold auxiliary tube P20.
[0071] In the above expression, I b It is the reference current, which is generally generated by the reference module of the chip in the Class D audio power amplifier and is generated by the bandgap reference voltage V BG Through the reference resistor R ref The conversion is generated, according to Ohm's law, Ib The expression of can be (8):
[0072]
[0073] Among them, I b is the reference current, V BG is the bandgap reference voltage, R ref is the reference resistance.
[0074] The negative voltage of the comparator V X The expressions (6) and (7) are combined and sorted, and the reference current I b Substituting the expression (8) into the equation, we can get the load current I of the class D audio power amplifier when it is overcurrent. OC The expression (9) can also be understood as the load current I OC The protection threshold of the current is:
[0075]
[0076] Among them, I OC is the protection threshold of the current in the class D audio power amplifier, K1 is the coefficient of the first current source A1, K3 is the coefficient of the third current source A3, K5 is the number of first threshold auxiliary tubes P20 and first threshold auxiliary resistors R5 connected in series, is the ratio of the resistance of the third resistor R3 to the resistance of the fourth resistor R4, V BG is the bandgap reference voltage, R ref is the reference resistance, R dson2 is the conduction impedance of the first threshold auxiliary tube P20, R dson1 is the on-resistance of the first power tube P1.
[0077] Since the first power tube P1, the first sampling tube P2, and the first threshold auxiliary tube P20 are of the same type and have the same gate voltage, when the class D audio power amplifier is working normally and detecting overcurrent, the gate-source voltage VGS of the first power tube P1, the first sampling tube P2, and the first threshold auxiliary tube P20 are consistent. It can be considered that the first power tube P1, the first sampling tube P2, and the first threshold auxiliary tube P20 are affected by PVT and change in the same way. The current protection threshold I OC In expression (9) Item will not be affected by PVT changes.
[0078] At the same time, when each resistor is at the protection threshold I OC When the PVT effect on each resistor is offset by the proportional term in the expression (9), the effect of PVT on each resistor will cancel each other out. OC In the expression (9) Item will not be affected by PVT changes.
[0079] It can be understood that at the protection threshold I OC In the expression (9), the variables actually affected by PVT are the first threshold auxiliary resistor R5 and the reference resistor R ref In some embodiments, the value of K5, that is, the number of first threshold auxiliary transistors P20 and first threshold auxiliary resistors R5 connected in series, can be changed so that the current protection threshold I OC In the expression (9) The value of the term is 0, that is, the number of first threshold auxiliary transistors P20 and first threshold auxiliary resistors R5 connected in series is determined based on the ratio of the resistance value of the third resistor R3 to the resistance value of the fourth resistor R4, so that The value of the term is 0 to remove the variable reference resistance R ref Affected by PVT changes.
[0080] It can be understood that at this time, at the protection threshold I OC In the expression (9), the variable actually affected by PVT is only the first threshold auxiliary resistor R5. Since the first threshold auxiliary resistor R5 is affected by PVT and fluctuates by about ±20%, the protection threshold I OC The variable in expression (9) is only the first threshold auxiliary resistor R5. The protection threshold value I of the current in the embodiment of the present application is OC The fluctuation is about ±20% due to the influence of PVT.
[0081] In some embodiments, the first threshold auxiliary resistor R5 can also be adjusted to a preset resistance value by using a trimming technology, such as a laser trimming technology, to remove the influence of the process deviation in PVT on the first threshold auxiliary resistor R5, so that the first threshold auxiliary resistor R5 is only affected by the temperature change in PVT. When affected by the temperature change in PVT, the fluctuation of the first threshold auxiliary resistor R5 is within ±5%. OC The variable in expression (9) is only the first threshold auxiliary resistor R5, so the protection threshold value of the current I OC The influence of PVT variation is within ±5%.
[0082] Through the overcurrent detection circuit provided by the embodiment of the present application, in the upper tube of the Class D audio power amplifier, the gate voltage of the first threshold auxiliary tube P20 is consistent with the gate voltage of the first power tube P1, and the on-resistance in the first threshold auxiliary tube P20 is used to offset the influence of PVT changes on the on-resistance in the first power tube P1. In addition, by changing the number of series connections of the first threshold auxiliary tube P20 and the first threshold auxiliary resistor R5, the influence of PVT changes on the reference resistor in the circuit is offset. At the same time, through the adjustment technology, the resistance value of the first threshold auxiliary resistor R5 is adjusted to a preset resistance value, eliminating the influence of the process deviation in PVT on the first threshold auxiliary resistor R5. This makes the protection threshold value I of the current in the output stage circuit OC The fluctuation is reduced, avoiding the protection threshold I OC The large fluctuations will not burn the chip, thus protecting the chip safety in the Class D audio power amplifier.
[0083] The following takes the lower tube of a Class D audio power amplifier as an example to further introduce the overcurrent detection circuit proposed in the embodiment of the present application. Figure 4 As shown, the overcurrent detection circuit corresponding to the lower tube of the class-D audio power amplifier in the embodiment of the present application includes: a second sampling module 300 and a second overcurrent protection module 400.
[0084] The second sampling module 300 is used to generate a sampling current, and the second sampling module 300 includes a second power tube P11 and a second sampling tube P21. In the second sampling module 300, the gate of the second power tube P11 is used to receive a pre-stage driving (control) signal, the drain is connected to the output terminal OUT of the second sampling module 300, and the source is grounded. The gate of the second sampling tube P21 is connected to the gate of the second power tube P11, the drain of the second sampling tube P21 is connected to the output terminal OUT of the second sampling module 300, and the source of the second sampling tube P21 is respectively connected to the second sampling resistor Ra of the second overcurrent protection module 400 and the third MOS tube P5.
[0085] The second overcurrent protection module 400 is used to detect the sampling current, generate a first voltage related to the sampling current (the positive voltage of the second comparator C2), and compare the first voltage with the threshold voltage (the negative voltage of the second comparator C2). When the first voltage is greater than or equal to the threshold voltage, an overcurrent protection trigger signal is output, and the class D audio power amplifier stops working and enters the overcurrent protection state; when the first voltage is less than the threshold voltage, the class D audio power amplifier works normally. Among them, the threshold voltage generally comes from the bandgap reference voltage.
[0086] The second overcurrent protection module 400 includes a second current detection unit 404, a second threshold auxiliary tube unit 402, a second threshold auxiliary resistance unit 401 and a second comparison unit 403. The second current detection unit 404 includes a third MOS tube P5, a fourth MOS tube P6, a fifth MOS tube P7, a sixth MOS tube P8, a second sampling resistor Ra, a fifth resistor Rb, a sixth resistor Rc, and a fourth current source A4.
[0087] The second threshold auxiliary tube unit 402 includes a second threshold auxiliary tube P201, and the second threshold auxiliary resistor unit 401 includes a second threshold auxiliary resistor R51 and a fifth current source A5. The second comparison unit 403 includes a second comparator C2.
[0088] In the second current detection unit 404, the first end of the second sampling resistor Ra is connected to the source of the third MOS transistor P5, and the second end of the second sampling resistor Ra is grounded. The first end of the fifth resistor Rb is connected to the source of the fourth MOS transistor P6, and the second end is grounded. The drain of the third MOS transistor P5 is connected to the fourth current source A4, and the gate is connected to the gate of the fourth MOS transistor P6. The drain of the fourth MOS transistor P6 is respectively connected to the gate and drain of the fifth MOS transistor P7, and the gate of the fifth MOS transistor P7 is connected to the gate of the sixth MOS transistor P8. The drain of the sixth MOS transistor P8 is connected to the positive electrode of the second comparator C2 and the first end of the sixth resistor Rc, and the second end of the sixth resistor Rc is grounded.
[0089] The first end of the second threshold auxiliary resistor R51 is connected to the bandgap reference voltage V BG , the second end of the second threshold auxiliary resistor R51 is respectively connected to the cathode of the second comparator C2 and the drain of the second threshold auxiliary tube P201. The output end of the fifth current source A5 is respectively connected to the cathode of the second comparator C2 and the drain of the second threshold auxiliary tube P201. The drain of the second threshold auxiliary tube P201 is connected to the cathode of the second comparator C2, the source of the second threshold auxiliary tube P201 is grounded, and the source of the second threshold auxiliary tube P201 is respectively connected to the second end of the second sampling resistor Ra, the second end of the fifth resistor Rb, and the second end of the sixth resistor Rc, and the gate of the second threshold auxiliary tube P201 is connected to the input end of the second overcurrent protection module 400.
[0090] In some embodiments, a second threshold auxiliary resistor R51 having the same resistance value as the second sampling resistor Ra may be used; a second threshold auxiliary tube P201 having the same type as the second sampling tube P21 may be used. For example, the second sampling tube P21 and the second threshold auxiliary tube P201 are both N-type MOS tubes or both are P-type MOS tubes, and the on-resistance of the second threshold auxiliary tube P201 may be equal to the on-resistance R of the second sampling tube P21. dson2 .
[0091] In some embodiments, according to the needs of the circuit structure, the second threshold auxiliary resistance unit 401 may also include a plurality of second threshold auxiliary resistors R51 connected in series, and the second threshold auxiliary tube unit 402 may also include a plurality of second threshold auxiliary tubes P201 connected in series, the number of the second threshold auxiliary resistors R51 is determined based on the ratio of the resistance value of the fifth resistor Rb to the resistance value of the sixth resistor Rc, and the resistance value of the second threshold auxiliary resistor R51 is equal to the resistance value of the second sampling resistor Ra; the number of the second threshold auxiliary tubes P201 is determined based on the ratio of the resistance value of the fifth resistor Rb to the resistance value of the sixth resistor Rc.
[0092] refer to Figure 4 , when the class D audio power amplifier is in overcurrent, the source voltage of the fifth MOS tube P7 (i.e., the voltage at point V1) is equal to the source voltage of the sixth MOS tube P8 (i.e., the voltage at point V2). According to Ohm's law, the following expression (10) can be obtained:
[0093] V1=(I s +I1)R a =V2=I2R b (10)
[0094] Among them, I s is the sampling current, I1 is the current of the fourth current source A4, and I2 is the current flowing through the resistor R b The current, R a , R b are the resistance values of the second sampling resistor Ra and the fifth resistor Rb respectively.
[0095] According to the mirror relationship in the second overcurrent protection module 400, the current I3 is the mirror current of the current I2, and the following expression (11) can be obtained:
[0096] I3=k m I2 (11)
[0097] Among them, the current I3 is the current flowing through the sixth MOS transistor P8, the current I2 is the current flowing through the fifth MOS transistor P7, and k m is the proportionality coefficient of the mirror current.
[0098] When the class D audio power amplifier is in overcurrent, the voltages at the positive and negative ends of the second comparator C2 are equal. According to Ohm's law, the following expression (12) can be obtained:
[0099] I3R c =V X (12)
[0100] Among them, the current I3 is the current flowing through the sixth MOS tube P8, and I3R c is the positive voltage of the second comparator C2, V Xis the negative voltage of the second comparator C2, R c is the resistance value of the sixth resistor Rc.
[0101] Since the size of the second sampling tube P21 in the second sampling module 300 is much smaller than the second power tube P11, the sampling current I flowing through the second sampling tube P21 is S Much smaller than the load current I OUT Therefore, when an overcurrent occurs, the current I P1 It can be approximated as the load current I during overcurrent OC , and according to Ohm's law, the following expression (13) can be obtained:
[0102] R dson1 I OC =R dson2 *I s +(I s +I1)*R a (15)
[0103] Among them, R dson1 is the on-resistance of the second power tube P11, I OC is the load current of the class D audio power amplifier when it is overcurrent, R dson2 is the conduction impedance of the second sampling tube P21, I s is the sampling current flowing through the second sampling tube P21, I1 is the current of the fourth current source A4, (I S +I1) is the current value flowing through the second sampling resistor Ra.
[0104] According to expression (13), the sampling current I can be obtained by rearranging S The expression (14) is:
[0105]
[0106] Among them, I s is the sampling current flowing through the second sampling tube P21, R dson1 is the on-resistance of the second power tube P11, I OC is the load current of the class D audio power amplifier when it is overcurrent, R dson2 is the on-resistance of the second sampling tube P21, and I1 is the current of the fourth current source A4.
[0107] The sampling current I s The expression (14) and the expression (11) are substituted into the voltage (V X Point voltage) expression (12), combined with the reference current I bFrom the expression (8), we can get the load current I of the class D audio power amplifier when it is overcurrent OC The expression (15) can also be understood as the load current I OC The protection threshold of the current is:
[0108]
[0109] Among them, I OC is the protection threshold of the current in the class D audio power amplifier, K1 is the coefficient of the fourth current source A4, K3 is the coefficient of the fifth current source A5, K m is the proportional coefficient of the mirror current, K5 is the number of the second threshold auxiliary tube P201 and the second threshold auxiliary resistor R51 connected in series, V BG is the bandgap reference voltage, R ref is the reference resistance, R dson2 is the conduction impedance of the second threshold auxiliary tube P201, R dson1 is the on-resistance of the second power tube P11.
[0110] Referring to the upper tube of the Class D audio power amplifier, affected by PVT changes, the current protection threshold I OC The analysis of the change will not be repeated here. It can be concluded that in the lower tube of the Class D audio power amplifier, at the current protection threshold I OC In the expression (15), the variable actually affected by PVT is the second threshold auxiliary resistor R51. Using the trimming technology, affected by the temperature change in PVT, the fluctuation of the second threshold auxiliary resistor R51 is about within ±5%, so the current protection threshold I OC The influence of PVT variation is within ±5%.
[0111] The overcurrent detection circuit provided in the embodiment of the present application sets the type and gate voltage of the threshold auxiliary tube to be consistent with the type and gate voltage of the power tube in the upper tube and the lower tube of the Class D audio power amplifier, respectively, and uses the on-resistance in the threshold auxiliary tube to offset the influence of PVT changes on the on-resistance in the output stage power tube. In addition, by changing the number of threshold auxiliary tubes in the threshold auxiliary tube unit and the number of threshold auxiliary resistors in the threshold auxiliary resistor unit, the influence of PVT changes on the reference resistor in the circuit is offset. At the same time, the resistance value of the threshold auxiliary resistor is adjusted by the trimming technology to eliminate the influence of the process deviation in PVT on the threshold auxiliary resistor. This makes the protection threshold fluctuation of the current in the output stage circuit smaller, avoids the burning of the chip due to the large fluctuation of the protection threshold of the current, and protects the chip safety in the Class D audio power amplifier.
[0112] Combine the following Figure 5, an overcurrent detection circuit corresponding to the upper tube of a class D audio power amplifier in a comparative embodiment is introduced. The overcurrent detection circuit includes: a first sampling module 100 and a first overcurrent protection module 200.
[0113] The first sampling module 100 is used to generate a sampling current, and the first sampling module 100 includes a first power tube P1 and a first sampling tube P2. In the first sampling module 100, the gate of the first power tube P1 is connected to the pre-stage drive (control) signal, the drain is connected to PVDD, and the source is connected to the output end of the first sampling module 100. The gate of the first sampling tube P2 is connected to the gate of the first power tube P1, the drain is connected to the first overcurrent protection module 200, and the source is connected to the output end of the first sampling module 100.
[0114] The first overcurrent protection module 200 is used to detect the sampling current, generate a first voltage related to the sampling current (the positive voltage of the first comparator C1), and compare the first voltage with the threshold voltage (the negative voltage of the first comparator C1). When the first voltage is greater than or equal to the threshold voltage, an overcurrent protection trigger signal is output, and the class D audio power amplifier stops working and enters the overcurrent protection state; when the first voltage is less than the threshold voltage, the class D audio power amplifier works normally. The threshold voltage generally comes from the bandgap reference voltage.
[0115] The first overcurrent protection module 200 includes a second MOS transistor P3, a first MOS transistor P4, a first sampling resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first threshold auxiliary resistor R5, a first current source A1, a second current source A2, a third current source A3 and a first comparator C1.
[0116] Among them, the first end of the first sampling resistor R1 is connected to PVDD, and the second end of the first sampling resistor R1 is connected to the first end of the second resistor R2. The second end of the second resistor R2 is connected to the source of the second MOS transistor P3, the drain of the second MOS transistor P3 is connected to the input end of the first current source A1, and the gate of the second MOS transistor P3 is connected to the gate of the first MOS transistor P4. The source of the first MOS transistor P4 is connected to the first end of the third resistor R3, and the drain of the first MOS transistor P4 is connected to the input end of the second current source A2 and the positive electrode of the first comparator C1. The second end of the third resistor R3 is connected to PVDD, the output end of the first current source A1 is grounded, and the output end of the second current source A2 is grounded. The first end of the fourth resistor R4 is connected to the positive electrode of the first comparator C1, and the second end of the fourth resistor R4 is grounded. The first end of the first threshold auxiliary resistor R5 is connected to the negative electrode of the first comparator C1, and the second end of the first threshold auxiliary resistor R5 is grounded. The output end of the third current source A3 is connected to the negative electrode of the first comparator C1.
[0117] refer to Figure 5According to Ohm's law, the negative voltage (V X The voltage at the point can be obtained by the following expression (16):
[0118] V X =k3I b R5 (16)
[0119] Substituting the expression (16) of the negative electrode voltage of the first comparator C1 into the expression (6), and by rearranging, the load current I of the class D audio power amplifier when overcurrent occurs can be obtained: OC The expression (17) can also be understood as the load current I OC The protection threshold of the current is:
[0120]
[0121] Among them, I OC is the protection threshold of the current in the class D audio power amplifier, R dson1 is the on-resistance of the first power tube P1, R dson2 is the conduction impedance of the first sampling tube P2, K1I b is the current of the first current source A1, K3I b is the current of the third current source A3, and R1, R3, R4, and R5 are the resistance values corresponding to the first sampling resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, and the first threshold auxiliary resistor R5 respectively.
[0122] It can be understood that according to expression (17), the protection threshold I of the current in the class D audio power amplifier is OC Affected by various variables (such as the on-resistance R dson1 When PVT changes, multiple variables will change with the change of PVT. The protection threshold value I OC In some embodiments, the protection threshold of the current may fluctuate by up to ±50%, which may affect the normal operation of the class D audio power amplifier or cause the chip in the class D audio power amplifier to burn out.
[0123] The embodiment of the present application Figure 1-Figure 4The overcurrent detection circuit provided in the invention sets the type and gate voltage of the threshold auxiliary tube to be consistent with the type and gate voltage of the power tube in the upper tube and the lower tube of the class D audio power amplifier, respectively, and uses the on-resistance in the threshold auxiliary tube to offset the influence of the on-resistance in the output stage power tube on the PVT change. In addition, by changing the number of threshold auxiliary tubes in the threshold auxiliary tube unit and the number of threshold auxiliary resistors in the threshold auxiliary resistor unit, the influence of the reference resistor in the circuit on the PVT change is offset. At the same time, the resistance value of the threshold auxiliary resistor is adjusted by the trimming technology to eliminate the influence of the threshold auxiliary resistor on the process deviation in the PVT. This makes the protection threshold fluctuation of the current in the output stage circuit smaller, avoids the burning of the chip due to the large fluctuation of the protection threshold of the current, and protects the chip safety in the class D audio power amplifier.
[0124] The present application provides a chip, including the embodiment of the present application Figure 1-Figure 4 The overcurrent detection circuit mentioned in.
[0125] An embodiment of the present application provides an electronic device, including the chip mentioned in the embodiment of the present application.
[0126] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0127] It should be noted that the units / modules mentioned in the various device embodiments of the present invention are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present invention. In addition, in order to highlight the innovative part of the present invention, the above-mentioned device embodiments of the present invention do not introduce units / modules that are not closely related to solving the technical problems proposed by the present invention, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0128] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0129] While the present invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention.
Claims
1. An overcurrent detection circuit, applied to electronic equipment, characterized in that: The overcurrent detection circuit includes a first sampling module and a first overcurrent protection module, wherein the first overcurrent protection module includes a first threshold auxiliary resistance unit, a first threshold auxiliary tube unit and a first comparison unit; The first sampling module is used to output the sampling current to the first end of the first comparison unit, and the first sampling module includes at least one first sampling tube; The first end of the first threshold auxiliary resistor unit is used to receive the bandgap reference voltage, and the second end of the first threshold auxiliary resistor unit is respectively connected to the second end of the first comparison unit and the first threshold auxiliary tube unit; The first threshold auxiliary tube unit includes at least one first threshold auxiliary tube, and the first threshold auxiliary tube unit is connected to the second end of the first comparison unit, wherein the first threshold auxiliary tube and the first sampling tube are the same type of MOS tube; The first comparison unit is used for outputting an overcurrent protection signal when the voltage at the first end of the first comparison unit is greater than or equal to the voltage at the second end of the first comparison unit.
2. The overcurrent detection circuit according to claim 1, characterized in that: The first threshold auxiliary tube and the first sampling tube are both N-type MOS tubes, or the first threshold auxiliary tube and the first sampling tube are both P-type MOS tubes.
3. The overcurrent detection circuit according to claim 2, characterized in that: The first threshold auxiliary resistance unit includes a first threshold auxiliary resistance, and the first comparison unit includes a first comparator; The first end of the first threshold auxiliary resistor is used to receive a bandgap reference voltage, the second end of the first threshold auxiliary resistor is respectively connected to the first end of the first threshold auxiliary tube and the negative electrode of the first comparator, the first end of the first threshold auxiliary tube is connected to the negative electrode of the first comparator, the second end of the first threshold auxiliary tube unit is grounded, and the control end of the first threshold auxiliary tube unit is connected to the input end of the first overcurrent protection module.
4. The overcurrent detection circuit according to claim 3, characterized in that: The first sampling module also includes at least one first power tube; The control terminal voltage of the first threshold auxiliary tube is equal to the control terminal voltage of the first power tube.
5. The overcurrent detection circuit according to claim 4, characterized in that: The first threshold auxiliary resistor unit includes at least one first threshold auxiliary resistor, and a plurality of the first threshold auxiliary resistors are connected in series; The first threshold auxiliary tube unit includes at least one first threshold auxiliary tube, and a plurality of the first threshold auxiliary tubes are connected in series.
6. The overcurrent detection circuit according to claim 5, characterized in that: The first overcurrent protection module further includes a current detection unit, and the current detection unit includes a first MOS tube, a second MOS tube, a first sampling resistor, a second resistor, a third resistor, a fourth resistor, a first current source, and a second current source; A first end of the first sampling resistor is connected to a power source, and a second end of the first sampling resistor is connected to a first end of the second resistor; The second end of the second resistor is connected to the first end of the second MOS tube. The second end of the second MOS transistor is connected to the first end of the first current source, the control end of the second MOS transistor is connected to the control end of the first MOS transistor, and the second end of the first current source is grounded; The first end of the first MOS tube is connected to the first end of the third resistor, the second end of the first MOS tube is connected to the first end of the second current source and the positive electrode of the first comparator, the second end of the third resistor is connected to the power supply, the second end of the second current source is grounded, the first end of the fourth resistor is respectively connected to the positive electrode of the first comparator, the second end of the first MOS tube and the first end of the second current source, and the second end of the fourth resistor is grounded.
7. The overcurrent detection circuit according to claim 6, characterized in that: The number of the first threshold auxiliary resistors in the first threshold auxiliary resistor unit is determined based on the ratio of the resistance value of the third resistor to the resistance value of the fourth resistor, and the resistance value of the first threshold auxiliary resistor in the first threshold auxiliary resistor unit is equal to the resistance value of the first sampling resistor; The number of the first threshold auxiliary tubes in the first threshold auxiliary tube unit is determined based on a ratio of a resistance value of the third resistor to a resistance value of the fourth resistor.
8. The overcurrent detection circuit according to any one of claims 4 to 7, characterized in that: The first end of the first sampling tube is connected to the output end of the first sampling module, the second end of the first sampling tube is connected to the first overcurrent protection module, and the control end of the first sampling tube is connected to the gate of the first power tube; The control end of the first power tube is used to receive a previous stage driving signal, the first end of the first power tube is connected to the output end of the first sampling module, and the second end of the first power tube is connected to the power supply.
9. A chip, characterized in that: The invention comprises the overcurrent detection circuit as described in any one of claims 1 to 8.
10. An electronic device, characterized in that: Comprising the chip as claimed in claim 9.
Citation Information
Cited By
Overcurrent protection test circuit and method
CN120742063A
An overcurrent protection test circuit, method
CN120742063B
