A detection circuit and method and a switching power supply

By using a change rate detection circuit in the switching power supply, combined with the design of capacitors and resistors, to detect the change rate of the control terminal voltage of the main power tube of the switching power supply, the problem of inaccurate starting point of the inductor current is solved, and a more accurate duty cycle is achieved calculate.

CN109560689BActive Publication Date: 2024-09-17JOULWATT TECH INC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811629394.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-28
Publication Date
2024-09-17
Estimated Expiration
2038-12-28

AI Technical Summary

Technical Problem

In the existing technology, the detection of the starting point of the inductor current of the switching circuit is inaccurate, resulting in a large error in the calculation of the duty cycle.

Method used

By detecting the change rate of the control terminal voltage of the main power tube of the switching power supply, using a change rate detection circuit composed of the first capacitor and the first resistor, comparing the common terminal voltage of the capacitor and the resistor with the reference voltage, the starting point of the inductor current is determined, and based on the above The voltage when the primary change rate drops is adjusted, and multi-level thresholds are set to improve detection accuracy.

Benefits of technology

The detection accuracy of the starting point of the inductor current is improved and the accuracy of the duty cycle calculation is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109560689B
    Figure CN109560689B
Patent Text Reader

Abstract

The present invention discloses a detection circuit and method as well as a switching power supply. The detection circuit is applied to the switching power supply, the detection circuit receives the voltage of the main power tube control terminal of the switching power supply, obtains an inductor current starting point signal according to the voltage of the main power tube control terminal, and the inductor current starting point signal represents the starting point moment of the inductor current of the switching power supply. The present invention solves the problem of inaccurate detection of the starting point moment of the inductor current in the prior art, and improves the detection accuracy of the starting point moment of the inductor current.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power electronics technology, and more particularly to a detection circuit and method and a switching power supply. Background Art

[0002] In some applications, such as calculating output voltage / current or output overvoltage protection, it is necessary to know the duty cycle of the switching circuit. The duty cycle is equal to the ratio of the main power tube on time to the entire switching cycle, that is, Ton / T, so it is necessary to detect the main power tube on time Ton and the entire switching cycle T. When the switching circuit is peak control, the main power tube on time Ton is determined by detecting the time from the starting point to the peak value of the inductor current of the switching circuit. Since there is a time difference between the logical opening of the main power tube and the actual opening of the power tube, it is inaccurate to use the logical opening of the main power tube as the starting point of the inductor current.

[0003] In the prior art, when the gate voltage of the main power tube is greater than the corresponding threshold, this moment is determined as the starting point of the inductor current. The threshold is generally set to ensure that the switch tube is actually turned on, so the threshold is generally relatively large. It is possible that when the gate voltage of the main power tube is less than the threshold, the starting point of the inductor current has been reached. Therefore, the starting point of the inductor current determined by the prior art is inaccurate and has a large error, which in turn causes inaccurate calculation of the duty cycle. Summary of the invention

[0004] In view of this, the present invention proposes a detection circuit and method and a switching power supply for improving the detection accuracy of the starting point moment of the inductor current, so as to solve the technical problem of inaccurate detection of the starting point moment of the inductor current and large errors in the prior art.

[0005] The present invention provides a detection circuit, which is applied to a switching power supply. The detection circuit receives a voltage at a control end of a main power tube of the switching power supply, and obtains an inductor current starting point signal according to the voltage at the control end of the main power tube. The inductor current starting point signal represents the starting point moment of the inductor current of the switching power supply.

[0006] Optionally, when the rate of change of the voltage at the control terminal of the main power tube drops to a corresponding threshold, the detection circuit obtains the inductor current starting point signal.

[0007] Optionally, the detection circuit includes a change rate detection circuit, which includes a first capacitor and a first resistor, one end of the first capacitor is connected to the control end of the main power tube, and the other end of the first capacitor is connected to one end of the first resistor, and the other end of the first resistor is grounded. The voltage at the common end of the first capacitor and the first resistor represents the change rate of the voltage at the control end of the main power tube. The voltage at the common end of the first capacitor and the first resistor is compared with a reference voltage. When the voltage at the common end of the first capacitor and the first resistor is lower than the reference voltage, the detection circuit obtains the starting signal of the inductor current.

[0008] Optionally, the earlier of the moment when the voltage at the control terminal of the main power tube reaches a reference threshold and the moment when the rate of change of the voltage at the control terminal of the main power tube drops to a corresponding threshold is used as the starting point of the inductor current.

[0009] Optionally, the reference threshold is adjusted according to the voltage of the main power tube control terminal when the change rate of the voltage of the main power tube control terminal drops to a corresponding threshold last time.

[0010] Optionally, the reference threshold is set in stages using an analog method or an analog-to-digital conversion method.

[0011] Optionally, when the voltage at the control end of the main power tube is greater than a high threshold, the rate of change of the voltage at the control end of the main power tube is no longer detected, and the high threshold is greater than the maximum value of the reference threshold.

[0012] Optionally, the change rate of the voltage at the control end of the main power tube is detected only when the voltage at the control end of the main power tube is greater than a low threshold, and the low threshold is less than the minimum value of the reference threshold.

[0013] The present invention also provides a detection method, comprising: receiving the voltage of the main power tube control terminal of the switching power supply, and obtaining an inductor current starting signal according to the main power tube control terminal voltage, wherein the inductor current starting signal represents the starting moment of the inductor current of the switching power supply.

[0014] Optionally, when the rate of change of the voltage at the control terminal of the main power tube drops to a corresponding threshold, the detection circuit obtains the inductor current starting point signal.

[0015] Optionally, the earlier of the moment when the voltage at the control terminal of the main power tube reaches a reference threshold and the moment when the rate of change of the voltage at the control terminal of the main power tube drops to a corresponding threshold is used as the starting point of the inductor current.

[0016] Optionally, the reference threshold is adjusted according to the voltage of the main power tube control terminal when the change rate of the voltage of the main power tube control terminal drops to a corresponding threshold last time.

[0017] Optionally, the reference threshold is set in stages using an analog method or an analog-to-digital conversion method.

[0018] The present invention also provides a switching power supply, comprising any one of the detection circuits described above.

[0019] Compared with the prior art, the technical solution of the present invention has the following advantages: the present invention uses the voltage of the main power tube control terminal of the switching power supply to determine the starting point of the inductor current of the switching power supply, and when the rate of change of the voltage at the main power tube control terminal is lower than the corresponding threshold, the starting point signal of the inductor current is obtained. It is further proposed to use the voltage at the main power tube control terminal for auxiliary judgment, and take the earlier moment of the moment when the voltage at the main power tube control terminal reaches the reference threshold and the moment when the rate of change of the voltage at the main power tube control terminal drops to the corresponding threshold as the starting point of the inductor current, and set the reference threshold in a graded manner, so that the starting point of the inductor current determined in various situations is more accurate. The present invention solves the problem of inaccurate detection of the starting point of the inductor current by the prior art, and improves the detection accuracy of the starting point of the inductor current. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is the voltage waveform diagram when the main power tube of the switching power supply is turned on;

[0021] Figure 2 A schematic diagram of a detection circuit according to an embodiment of the present invention;

[0022] Figure 3 This is a schematic diagram of a second embodiment of the detection circuit of the present invention;

[0023] Figure 4 This is the waveform diagram of the control terminal voltage and voltage change rate during the opening process of the main power tube of the switching power supply. DETAILED DESCRIPTION

[0024] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments. The present invention covers any substitution, modification, equivalent method and scheme made within the spirit and scope of the present invention.

[0025] In order to make the public have a thorough understanding of the present invention, specific details are described in detail in the following preferred embodiments of the present invention, but those skilled in the art can fully understand the present invention without these detailed descriptions.

[0026] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. It should be noted that the accompanying drawings are all simplified and not in exact proportion, and are only used for the purpose of conveniently and clearly assisting in explaining the embodiments of the present invention.

[0027] like Figure 1As shown, a waveform diagram of the switching power supply main power tube during the opening process is given. Figure 1 The main power tube is an N-type switch tube, drain is the voltage of the main power tube drain, gate is the voltage of the main power tube gate, t1, t2, t3 are the moments in the main power tube opening process, it can be seen that from t2, the voltage at the drain end of the main power tube begins to drop, at this time, current begins to flow through the main switch tube, so t2 is the actual opening moment of the main power tube, that is, t2 is the starting point of the main power tube inductor current. Figure 1 It can be seen that at time t2, the voltage change rate of the gate terminal of the main power tube becomes zero, so the starting time of the inductor current of the main power tube can be obtained according to the voltage change rate of the control terminal (gate terminal) of the main power tube.

[0028] The detection circuit of the present invention receives the voltage of the main power tube control terminal of the switching power supply, and obtains the inductor current starting point signal according to the voltage of the main power tube control terminal, and the inductor current starting point signal represents the starting point moment of the inductor current of the switching power supply. The starting point moment here is a relative concept and is not completely identical to the actual starting point moment. The switching power supply can be any isolated or non-isolated switching power supply, such as buck, boost, flyback, etc.

[0029] When the change rate of the voltage at the control terminal of the main power tube drops to a corresponding threshold, the detection circuit obtains the inductor current starting signal. In practice, the corresponding threshold is not zero, but is generally a constant close to zero and is set according to the actual circuit.

[0030] Figure 2 and Figure 3 Embodiments 1 and 2 of the detection circuit of the present invention are respectively given. The switching power supplies in Embodiments 1 and 2 are Buck circuits, but are not limited to application in Buck circuits. Other types of switching power supplies are also within the protection scope of the present invention.

[0031] The detection circuit includes a change rate detection circuit, which includes a first capacitor C1 and a first resistor R1. One end of the first capacitor C1 is connected to the control end of the main power tube M1, and the other end is connected to one end of the first resistor R1. The other end of the first resistor R1 is grounded. The voltage at the common end of the first capacitor C1 and the first resistor R1 represents the change rate of the voltage at the control end of the main power tube M1. The voltage at the common end of the first capacitor C1 and the first resistor R1 is compared with a reference voltage Vref. When the voltage at the common end of the first capacitor C1 and the first resistor R1 is lower than the reference voltage Vref, the detection circuit obtains the inductor current starting signal.

[0032] It should be noted that the other end of the first resistor R1 is grounded, where grounding refers to the ground of the detection circuit, and the ground of the detection circuit and the ground of the system may be the same or different. For example, the Buck circuit in Example 1 is lowside, that is, one end of the main power tube is connected to the ground of the system, and the ground of the detection circuit is the same as the ground of the system, while the Buck circuit in Example 2 is highside, that is, one end of the main power tube is connected to the high potential end of the power supply voltage, and the ground of the detection circuit is different from the ground of the system circuit. The ground of the detection circuit is generally taken at the SW point or its vicinity. When the detection circuit is integrated in the chip, the ground of the detection circuit is the ground of the chip.

[0033] The voltage at the control terminal of the main power tube is further used for auxiliary judgment. When the rate of change of the voltage at the control terminal of the main power tube cannot be detected to drop to the corresponding threshold, the voltage at the control terminal of the main power tube is needed to determine the starting moment of the inductor current. When the rate of change of the voltage at the control terminal of the main power tube can be detected to drop to the corresponding threshold again, the rate of change of the voltage at the control terminal of the main power tube is used again for judgment.

[0034] Specifically, the earlier time, when the voltage at the control end of the main power tube reaches the reference threshold and when the rate of change of the voltage at the control end of the main power tube drops to the corresponding threshold, is used as the starting time of the inductor current. When setting, the reference threshold should be no less than the voltage at the control end of the main power tube when the rate of change of the voltage at the control end of the main power tube drops to the corresponding threshold.

[0035] The reference threshold value can be set as a fixed value, or it can be adjusted according to the voltage of the main power tube control end when the change rate of the voltage of the main power tube control end drops to the corresponding threshold value last time, that is, there is more than one reference threshold value, and the corresponding reference threshold value is selected according to the voltage of the main power tube control end when the change rate of the voltage of the main power tube control end drops to the corresponding threshold value.

[0036] The reference threshold is set in stages using an analog method or an analog-to-digital conversion method.

[0037] Figure 4 The waveform diagram of the control terminal voltage and voltage change rate during the conduction process of the switch tube is given, where V represents the waveform of the control terminal voltage of the switch tube, dv / dt represents the waveform of the voltage change rate of the control terminal of the switch tube, V2 is the second threshold, V3 is the third threshold, Vg is the high threshold, and Vd is the low threshold. The reference threshold is divided into two levels, namely V2 and V3. The selection of V2 and V3 is based on the last time the change rate of the control terminal voltage of the main power tube dropped to the corresponding threshold, and the voltage of the control terminal of the main power tube is adjusted. According to Figure 4At each stage of the conduction process of the middle switch tube, the control terminal voltage of the main power tube M1 is used to assist in determining the starting time. Specifically, the starting time of the inductor current is obtained according to the following steps:

[0038] 1) Detecting the voltage of the main power tube control terminal and the change rate of the voltage of the main power tube control terminal, and determining the starting time of the inductor current according to the order of the voltage of the main power tube control terminal reaching the second threshold value V2 and the change rate of the voltage of the main power tube control terminal decreasing to the corresponding threshold value; whichever of the voltage and the voltage change rate reaches their respective thresholds first is used as the starting time of the inductor current, and the earlier time of the time when the voltage of the main power tube control terminal reaches the second threshold value V2 and the time when the change rate of the voltage of the main power tube control terminal decreases to the corresponding threshold value is used as the starting time of the inductor current.

[0039] 2) If it is detected at this moment or thereafter that the change rate of the voltage at the control terminal of the main power tube drops to the corresponding threshold, step 1) is executed; if it is not detected at this moment or thereafter that the change rate of the voltage at the control terminal of the main power tube drops to the corresponding threshold, step 3) is executed;

[0040] 3) Detecting the voltage of the main power tube control terminal and the change rate of the voltage of the main power tube control terminal, determining the starting time of the inductor current according to the order of the voltage of the main power tube control terminal reaching the third threshold value V3 and the change rate of the voltage of the main power tube control terminal decreasing to the corresponding threshold value, and executing step 2), wherein the third threshold value V3 is less than the second threshold value V2. Whichever of the voltage and the voltage change rate reaches their respective thresholds first, the moment is taken as the starting time of the inductor current, that is, the earlier moment of the moment when the voltage of the main power tube control terminal reaches the third threshold value V3 and the moment when the change rate of the voltage of the main power tube control terminal decreases to the corresponding threshold value is taken as the starting time of the inductor current.

[0041] The above process is step 1) performed first. In other embodiments, step 3) may be performed first. The voltage threshold of the main power tube control end is continuously switched between the third threshold and the second threshold according to the above conditions, and the order of the thresholds is not limited.

[0042] The above-mentioned reference threshold is divided into two levels and is directly set using an analog method. However, when the reference threshold needs to be divided into multiple levels, the analog method is no longer used and can be set using an analog-to-digital conversion (ADC) method. When the rate of change of the voltage at the control end of the main power tube is detected to drop to a corresponding threshold, the voltage at the control end of the main power tube is converted into a digital quantity, and then the corresponding reference threshold is selected.

[0043] When the voltage of the main power tube control terminal is greater than the high threshold value Vg, the change rate of the voltage of the main power tube control terminal is no longer detected. If the change rate of the voltage of the main power tube control terminal does not drop to the corresponding threshold value, the change rate of the voltage of the main power tube control terminal is not detected to drop to the corresponding threshold value at or after the time in step 2), and the high threshold value Vg is greater than the maximum value of the reference threshold value. When the reference threshold value is a fixed value, the maximum value of the reference threshold value is the reference threshold value.

[0044] The setting of the high threshold Vg not only limits the detection cutoff condition for the voltage change rate of the control terminal of the main power tube, but also eliminates the Figure 4 The possibility of detecting for the second time that the change rate of the voltage at the control terminal of the main power tube drops to the corresponding threshold as the starting point of the inductor current makes the determination of the starting point more accurate.

[0045] When the voltage at the control end of the main power tube reaches the low threshold Vd, the change rate of the voltage at the control end of the main power tube is detected, and the low threshold Vd is less than the minimum value of the reference threshold. When the reference threshold is a fixed value, the minimum value of the reference threshold is the reference threshold.

[0046] Since the voltage change rate of the control terminal of the switch tube changes greatly in a short period of time after it starts to rise, the low threshold value Vd is set to eliminate the possibility of detecting that the change rate of the control terminal voltage of the main power tube drops to the corresponding threshold value during this period of time as the starting point of the inductor current, making the determination of the starting point more accurate. In addition, the low threshold value Vd is set to eliminate the erroneous judgment that the moment when the change rate of the control terminal voltage of the switch tube reaches the corresponding threshold value during the rising process is the starting point of the inductor current.

[0047] The main power tubes of the above-mentioned switching power supplies are all N-type. For ordinary technicians in this field, after some equivalent transformations, they can be used in P-type tubes. Therefore, the main power tubes of P-type are also within the protection scope of the present invention.

[0048] Although the embodiments are described and illustrated separately above, some common technologies are involved. It is the opinion of ordinary technicians in this field that the embodiments can be replaced and integrated. If the content is not clearly recorded in one of the embodiments, reference can be made to another recorded embodiment.

[0049] The above-described implementation methods do not constitute a limitation on the protection scope of the technical solution. Any modification, equivalent replacement and improvement made within the spirit and principle of the above-described implementation methods shall be included in the protection scope of the technical solution.

Claims

1. A detection circuit, which is applied to a switching power supply, characterized in that: The detection circuit receives the voltage of the main power tube control terminal of the switching power supply, and obtains the inductor current starting point signal according to the voltage of the main power tube control terminal, wherein the inductor current starting point signal represents the starting point moment of the inductor current of the switching power supply; When the change rate of the voltage at the control terminal of the main power tube drops to a corresponding threshold, the detection circuit obtains the starting point signal of the inductor current; The detection circuit includes a change rate detection circuit, which includes a first capacitor and a first resistor, one end of the first capacitor is connected to the control end of the main power tube, and the other end of the first capacitor is connected to one end of the first resistor, and the other end of the first resistor is grounded. The voltage at the common end of the first capacitor and the first resistor represents the change rate of the voltage at the control end of the main power tube. The voltage at the common end of the first capacitor and the first resistor is compared with a reference voltage. When the voltage at the common end of the first capacitor and the first resistor is lower than the reference voltage, it indicates that the change rate of the voltage at the control end of the main power tube drops to a corresponding threshold.

2. A detection circuit, which is applied to a switching power supply, characterized in that: The detection circuit receives the voltage of the main power tube control terminal of the switching power supply, and obtains the inductor current starting point signal according to the voltage of the main power tube control terminal, wherein the inductor current starting point signal represents the starting point moment of the inductor current of the switching power supply; The earlier time when the voltage at the control terminal of the main power tube reaches the reference threshold and the time when the rate of change of the voltage at the control terminal of the main power tube drops to the corresponding threshold is taken as the starting time of the inductor current; The detection circuit includes a change rate detection circuit, which includes a first capacitor and a first resistor, one end of the first capacitor is connected to the control end of the main power tube, and the other end of the first capacitor is connected to one end of the first resistor, and the other end of the first resistor is grounded. The voltage at the common end of the first capacitor and the first resistor represents the change rate of the voltage at the control end of the main power tube. The voltage at the common end of the first capacitor and the first resistor is compared with a reference voltage. When the voltage at the common end of the first capacitor and the first resistor is lower than the reference voltage, it indicates that the change rate of the voltage at the control end of the main power tube drops to a corresponding threshold.

3. The detection circuit according to claim 2, characterized in that: The reference threshold is adjusted according to the voltage of the main power tube control terminal when the change rate of the voltage of the main power tube control terminal drops to the corresponding threshold last time.

4. The detection circuit according to claim 3, characterized in that: The reference threshold is set in stages using an analog method or an analog-to-digital conversion method.

5. The detection circuit according to any one of claims 2 to 4, characterized in that: When the voltage at the control terminal of the main power tube is greater than a high threshold, the change rate of the voltage at the control terminal of the main power tube is no longer detected, and the high threshold is greater than the maximum value of the reference threshold.

6. The detection circuit according to any one of claims 2 to 4, characterized in that: When the voltage at the control end of the main power tube is greater than a low threshold, the change rate of the voltage at the control end of the main power tube is detected, and the low threshold is less than the minimum value of the reference threshold.

7. A detection method, characterized in that: include: Receiving a voltage at a control terminal of a main power tube of the switching power supply, and obtaining an inductor current starting point signal according to the voltage at the control terminal of the main power tube, wherein the inductor current starting point signal represents a starting point moment of the inductor current of the switching power supply; When the change rate of the voltage at the control terminal of the main power tube drops to a corresponding threshold, the detection circuit obtains the starting point signal of the inductor current; The detection circuit includes a change rate detection circuit, which includes a first capacitor and a first resistor, one end of the first capacitor is connected to the control end of the main power tube, and the other end of the first capacitor is connected to one end of the first resistor, and the other end of the first resistor is grounded. The voltage at the common end of the first capacitor and the first resistor represents the change rate of the voltage at the control end of the main power tube. The voltage at the common end of the first capacitor and the first resistor is compared with a reference voltage. When the voltage at the common end of the first capacitor and the first resistor is lower than the reference voltage, it indicates that the change rate of the voltage at the control end of the main power tube drops to a corresponding threshold.

8. A detection method, characterized in that it comprises: Receiving a voltage at a control terminal of a main power tube of the switching power supply, and obtaining an inductor current starting point signal according to the voltage at the control terminal of the main power tube, wherein the inductor current starting point signal represents a starting point moment of the inductor current of the switching power supply; The earlier time when the voltage at the control terminal of the main power tube reaches the reference threshold and the time when the rate of change of the voltage at the control terminal of the main power tube drops to the corresponding threshold is taken as the starting time of the inductor current; The detection method realizes the detection of the change rate of the voltage at the control end of the main power tube based on the detection circuit, the detection circuit includes a change rate detection circuit, the change rate detection circuit includes a first capacitor and a first resistor, one end of the first capacitor is connected to the control end of the main power tube, and the other end of the first capacitor is connected to one end of the first resistor, and the other end of the first resistor is grounded, the voltage at the common end of the first capacitor and the first resistor represents the change rate of the voltage at the control end of the main power tube, and the voltage at the common end of the first capacitor and the first resistor is compared with a reference voltage. When the voltage at the common end of the first capacitor and the first resistor is lower than the reference voltage, it indicates that the change rate of the voltage at the control end of the main power tube drops to a corresponding threshold.

9. The detection method according to claim 8, characterized in that: The reference threshold is adjusted according to the voltage of the main power tube control terminal when the change rate of the voltage of the main power tube control terminal drops to the corresponding threshold last time.

10. The detection method according to claim 9, characterized in that: The reference threshold is set in stages using an analog method or an analog-to-digital conversion method.

11. A switching power supply, comprising the detection circuit according to any one of claims 1 to 6.