A method for threshold adaptive front porch blanking in a switching power supply
By using an adaptive leading-edge blanking control loop and dynamic threshold adjustment, the false triggering problem of traditional adaptive leading-edge blanking circuits is solved, achieving high reliability and robustness of the switching power supply under complex operating conditions and enhancing anti-interference capability.
Patent Information
- Application Number
- CN202610267355.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-06
- Publication Date
- 2026-07-17
AI Technical Summary
Traditional adaptive leading-edge blanking circuits cannot adaptively adjust the voltage threshold, leading to false triggering or unsuccessful blanking, which affects the stability and reliability of the switching power supply.
A threshold adaptive leading-edge blanking method is adopted. Through the adaptive leading-edge blanking control loop and the dynamic threshold adaptive logic module, the voltage threshold is adjusted in real time. Combined with the cooperative logic unit and the signal extraction module, the voltage threshold is adaptively changed to avoid false triggering.
It improves the robustness and reliability of the switching power supply under complex operating conditions, shortens the physical dead zone, enhances anti-interference capability, reduces glitches in digital modules, and improves the overall reliability of the circuit.
Smart Images

Figure CN122419178A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electrical component technology, and specifically to a method for threshold adaptive leading-edge blanking in switching power supplies. Background Technology
[0002] In switching circuits (such as Buck, Boost, and Flyback), when the control switch is turned on, a current or voltage spike with a high amplitude and a narrow width is often generated due to parasitic capacitance, diode reverse recovery, and other reasons. This spike is usually unwanted. If this spike is captured by the current / voltage sampling circuit, it will falsely trigger circuit mechanisms such as overcurrent protection, causing the system to shut down incorrectly.
[0003] This is where leading-edge blanking circuits are needed to prevent such situations from occurring. Leading-edge blanking involves not sampling the signal for a fixed period after the switch is turned on, ignoring any spikes that may occur, thereby preventing false triggering of protection mechanisms such as overcurrent restarts.
[0004] Traditional LEB (Leading Edge Blanking) circuits typically set a fixed time to avoid sampling spike signals. This raises the question of how to choose an appropriate time. Currently, a commonly used improvement is to use adaptive leading edge blanking technology. This technology can detect the end time of the spike in real time and immediately end the blanking window after the spike ends. This technology adaptively changes on the horizontal axis (time axis), but requires a fixed voltage threshold. When there are changes in light or heavy loads or when affected by PVT (temperature, voltage, process angle, environmental factors), the high level of the normal waveform will be affected, becoming larger or smaller. The set voltage threshold may affect the normal circuit operation, leading to false triggering of leading edge blanking or unsuccessful leading edge blanking.
[0005] Therefore, a front-end clogging method that can adaptively adjust the threshold is needed. Summary of the Invention
[0006] This invention addresses the problem of false triggering or unsuccessful leading-edge blanking caused by the inability of traditional adaptive leading-edge blanking circuits to change the voltage threshold. It provides a threshold-adaptive leading-edge blanking method in switching power supplies. Through the threshold-adaptive function, the voltage threshold can be adaptively changed according to the load size or PVT influence, and the change is made on the vertical axis (voltage value). This improves sensitivity, keeps the circuit at the optimal balance point at all times, avoids false triggering of leading-edge blanking due to glitches, and always maintains the required safety margin of the circuit.
[0007] This invention provides a method for threshold adaptive leading-edge blanking in a switching power supply, comprising the following steps: S1. Construct an adaptive leading-edge blanking control loop. The adaptive leading-edge blanking control loop includes a cooperative logic unit and a power acquisition module, a signal extraction module, a peak detection circuit, a dynamic threshold adaptive logic module, and a comparison and decision module, which are respectively connected to the cooperative logic unit. The power and acquisition module is connected to the circuit containing the external signal to be sampled / blanked, and the cooperative logic unit includes a state machine; At times S2 and T0, the switching transistor of the circuit containing the external sample / blanking signal is turned on and enters the blanking period without sampling. The power and acquisition module turns on the MOSFET according to the drive signal Gate_ON output by the PWM controller of the circuit containing the external sample / blanking signal and samples the external sample / blanking signal, outputting the sampling signal V_sense to the state machine, signal extraction module and peak detection circuit. During the T0 to T1 time period: the signal extraction module compares the instantaneous voltage value and duration of the V_sense signal with the initial threshold voltage and the first time threshold, and then outputs the digital signal Flag_stable to the state machine. The peak detection circuit captures the ringing peak value V_ring of the V_sense signal and outputs it to the state machine. The state machine monitors the waveform of the V_sense signal in real time and determines whether leading edge blanking is needed based on the state of the Flag_stable signal. It then outputs the leading edge blanking control signal LEB_ON to the dynamic threshold adaptive logic module and the comparison and decision module. The dynamic threshold adaptive logic module and the comparison and decision module adaptively adjust the threshold voltage and change the threshold voltage of the signal extraction module to the dynamic threshold voltage V_ref_adaptive through the collaborative logic unit. The comparison and decision module forces the signal OC_flag to be masked so that the circuit containing the external to be sampled / blanked signal does not perform sampling. When the instantaneous voltage value of the V_sense signal is lower than V_ref_adaptive and the duration is higher than the first time threshold, the LEB_ON signal goes high and enters time T1. At time T1, the threshold V_ref_adaptive output by the dynamic threshold adaptive logic module becomes the steady-state threshold V_ref_steady; After time T1, the adaptive leading-edge blanking control loop continues to enter the stabilizer and performs V_sense detection. When the duration of V_sense being lower than V_ref_steady is greater than the second time threshold, the comparison and decision module outputs the sampling signal OC_flag to the PWM controller to enable the circuit containing the external sampled / blanked signal to perform sampling.
[0008] The present invention discloses a threshold adaptive leading-edge blanking method in a switching power supply. In a preferred embodiment, the power and acquisition module includes a PMOSFET M0 whose source is connected to an external signal to be sampled / blanked, a resistor Rsense, a resistor R1 connected to the drain of the transistor M0, and an amplifier PA1 whose positive terminal is connected to the other end of the resistor Rsense. The gate of transistor M0 receives a PWM control signal, the other end of resistor R1 is grounded, the negative terminal of amplifier PA1 is connected to the output terminal, and the output terminal of amplifier PA1 outputs the V_sense signal.
[0009] The threshold adaptive leading-edge blanking method in a switching power supply according to the present invention, in a preferred embodiment, includes a peak detection circuit comprising a diode D1 whose positive terminal is connected to the V_sense signal, a capacitor C1 connected to the negative terminal of diode D1 and grounded, and a NOMS transistor M1 whose drain is connected between the negative terminal of diode D1 and capacitor C1; the gate input of transistor M1 is the drive signal Gate_ON from the PWM controller, and the source outputs V_ring and ground, respectively.
[0010] In a preferred embodiment of the threshold adaptive leading-edge blanking method for a switching power supply described in this invention, the signal extraction module is a window comparator. The input of the signal extraction module is the instantaneous value of the V_sense signal and the threshold voltage is V_stable_th. The signal extraction module compares the instantaneous value of the V_sense signal with V_stable_th and outputs the digital signal Flag_stable. Flag_stable starts at a low level, and the external sampled / blank signal is kept blanking at the leading edge. When the instantaneous value of V_sense signal is lower than V_stable_th and the holding time is greater than the time threshold, LEB_ON is high, and the state machine output signal causes the circuit containing the external sampled / blank signal to end the leading edge blanking.
[0011] The threshold adaptive leading-edge blanking method in a switching power supply described in this invention, as a preferred method, is that V_stable_th is greater than the peak value of the external signal to be sampled / blanked during normal operation, and the first time threshold is 5~50ns.
[0012] The threshold adaptive leading-edge blanking method for a switching power supply described in this invention, as a preferred embodiment, includes a cooperative logic unit comprising a connected state machine and a digital-to-analog converter. When the state machine determines that the circuit containing the external sampled / blanking signal is undergoing leading-edge blanking based on the Flag_stable and V_sense signals, it sets the LEB_ON signal to low. When the state machine determines that the ringing of the circuit containing the external sampled / blanking signal has ended based on the comparison and decision module (i.e., V_ring is always less than V_ref_steady), it sets the LEB_ON signal to high and ends the leading-edge blanking of the circuit containing the external sampled / blanking signal. The LEB_ON signal is a digital signal and is controlled by both the Flag_stable and the comparison and decision modules.
[0013] The present invention discloses a method for threshold adaptive leading-edge blanking in a switching power supply. As a preferred embodiment, the dynamic threshold adaptive logic module includes a voter, a first error comparator, and a second error comparator. The decision threshold of the first error comparator is VTHE and is controlled by DACVTHE output from the digital-to-analog converter. The decision threshold of the second error comparator is V_stable_th, which is the initial threshold voltage. VTHE is greater than V_stable_th. The inputs to both the first and second error comparators are the V_ring signal; When the first error comparator and the second error comparator make the same decision, the threshold voltage of the first error comparator increases; when the first error comparator and the second error comparator make different decisions, VTHE is reduced by decreasing the DAERR control code, but at the same time, VTHE is always greater than V_ring. Finally, the average of VTHE and V_stable_th is used as the threshold V_ref_adaptive for output. The final dynamic threshold adjustment is to average V_ref_adaptive with VTHE at this point to obtain a new V_ref_adaptive, until it stabilizes to obtain V_ref_steady. The present invention discloses a method for threshold adaptive leading-edge blanking in a switching power supply. As a preferred embodiment, the comparison and decision module is synchronized to eliminate glitches. The comparison and decision module includes a comparator and an AND gate. The comparator compares V_sense with the dynamic threshold V_ref_adaptive. The LEB_ON signal is connected to the first input of the AND gate, the second input of the AND gate is connected to the output of the comparator, and the second input of the AND gate is connected to the output. During the blanking period, the V_sense signal voltage is lower than the threshold VTHE, the comparison and decision module outputs a low level, the AND gate outputs a low level, and the signal OC_flag is masked. During the non-blanking period, when the V_sense signal voltage is less than V_ref_steady, the LEB_ON signal and the comparison and decision module are both high, the AND gate outputs a high level, the OC_flag signal is pulled high, and the circuit containing the external signal to be sampled / blanking performs sampling. When the V_sense signal voltage is higher than V_ref_steady, the AND gate outputs a low level, the OC_Flag signal is invalid, and the leading-edge blanking restarts.
[0014] The threshold adaptive leading-edge blanking method in a switching power supply described in this invention, as a preferred embodiment, uses an adaptive leading-edge blanking control loop that is equivalent to a first-order digital low-pass filter. The first-order digital low-pass filter controls the digital-to-analog converter to adaptively adjust the high threshold voltage VTHE and the steady-state threshold V_ref_steady by filtering out high-frequency noise.
[0015] In the preferred embodiment of the threshold adaptive leading-edge blanking method for a switching power supply described in this invention, in step S2, the circuit containing the external signal to be sampled / blanked is a Buck circuit, a Boost circuit, or a Flyback circuit.
[0016] The present invention has the following advantages: This invention enables adaptive leading-edge blanking and adaptive threshold selection. It continuously adjusts suitable "stability conditions" to adapt the voltage threshold, unlike traditional adaptive leading-edge blanking modules. The system automatically finds the optimal balance between "interference immunity" and "detection sensitivity" at any given time, significantly improving the robustness and reliability of the switching power supply under various complex operating conditions. Adaptive blanking shortens the physical dead zone, and adaptive thresholding immediately provides optimal detection sensitivity after the dead zone ends, thus achieving near-dead-zone-free, highly reliable overcurrent protection. This invention also eliminates race conditions, reducing glitches in digital modules and improving the circuit's interference immunity. Attached Figure Description
[0017] Figure 1 A flowchart of a threshold adaptive leading-edge blanking method in a switching power supply; Figure 2 A schematic diagram of a dynamic adaptive logic module for a threshold adaptive leading-edge blanking method in a switching power supply; Figure 3 This is an equivalent schematic diagram of the adaptive leading-edge blanking control loop for a threshold adaptive leading-edge blanking method in a switching power supply. Figure 4 This is a schematic diagram illustrating the anti-interference process of a threshold adaptive leading-edge blanking method in a switching power supply. Figure 5This is a block diagram of the adaptive leading-edge blanking control loop system for a threshold adaptive leading-edge blanking method in a switching power supply. Figure 6 A power acquisition module system block diagram for a threshold adaptive leading-edge blanking method in a switching power supply; Figure 7 A system block diagram of a signal extraction module for a threshold adaptive leading-edge blanking method in a switching power supply; Figure 8 This is a simulation diagram of a threshold adaptive leading-edge blanking method in a switching power supply. Detailed Implementation
[0018] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Example 1
[0019] like Figure 1 As shown, a threshold adaptive leading-edge blanking method in a switching power supply is proposed. This method combines adaptive leading-edge blanking with threshold adaptation. The adaptive leading-edge blanking control loop mainly consists of two parts: an adaptive leading-edge blanking module and a threshold adaptation module. First, the adaptive leading-edge blanking module of this invention implements adaptive leading-edge blanking by state monitoring and selecting a stability condition. A state machine is used to monitor the waveform of the current sampling signal V_sense in real time. The adaptive leading-edge blanking module is not concerned with the current value itself, but rather with its high-frequency oscillation component. Blanking is initiated the instant the switching transistor (such as a MOSFET) is turned on. Blanking does not end after a fixed time but continues monitoring until a "stability condition" is met. The selection of the stability condition is accomplished through a time-amplitude composite selection, for example, below a certain value of 10-15 ns. Second, the threshold adaptation module uses a reference threshold V_ref that is no longer a fixed value but a variable V_ref_adaptive that can be dynamically adjusted according to the real-time circuit state. The module mainly receives two pieces of information from the circuit: the ringing peak value V_ring (noise voltage) from the adaptive leading edge blanking module, and the appropriateness of the threshold is determined by the calculation of weighted coefficients after the ringing is completely finished, and then adjusted accordingly. This can avoid erroneous triggering of the adaptive leading edge blanking action, which would lead to increased power consumption and reduced device life.
[0020] The method is as follows: Treating spikes as random signals, the maximum value of the random signal during the blanking period is defined as V_ring. DACVTHE is defined as the digital signal controlling VTHE, and DAERR is defined as the digital signal output by the first error comparator, which controls DACVTHE. The adaptive loop statistically analyzes the level distribution of the received random signal and adjusts the decision threshold via DACVTHE based on the statistical results. To obtain the correct threshold, an error comparator (second error comparator) can be added. The decision threshold V_stable_th (threshold voltage) of the second error comparator is always lower than VTHE. When the decision results of the first and second error comparators are the same, the threshold voltage of the first error comparator increases. When the decision results of the two comparators are different, the DACERR control code decreases to decrease VTHE, while ensuring that VTHE is always greater than V_ring. Finally, the average value of VTHE and V_stable_th is used as the threshold at this point, thus achieving adaptive threshold voltage. The stable value is V_ref_steady. The schematic diagram is shown below. Figure 2 As shown, its truth table is shown in Table 1.
[0021] Table 1
[0022] The logical expression for the threshold-adaptive error signal can be obtained as follows (E represents the error between the actual data and the expected value, and D is the decision result): n is the number of iterations; After obtaining the error expression, the adaptive loop can be equivalent to... Figure 3 The first-order digital low-pass filter shown achieves adaptive adjustment of two threshold voltages by filtering out high-frequency noise and controlling a 6-bit DAC. Figure 3 In this context, Kerrorsampler represents the comparator gain, and K... V For the voter gain, K DAC The 6-bit DAC gain controlled by the control code, 1 / 1-z -1 For a digital low-pass filter, z -N Other delays on the loop (such as filter delay, digital module delay, line delay, etc., which are usually small and negligible).
[0023] The threshold adaptive loop bandwidth can be obtained as follows: ; The two are not separate improvements, but rather share the same collaborative control logic unit as their core. This unit receives inputs from the same signal feature extraction module (such as V_ring, Flag_stable), and simultaneously and in parallel controls the leading edge blanking and overcurrent threshold. Furthermore, it adds glitch elimination functionality when the state machine is used.
[0024] The anti-interference process of the present invention is as follows: Figure 4 As shown.
[0025] like Figure 5 The diagram shown is a system block diagram of this design. It can be divided into several modules. The first is the power and acquisition module, which includes a MOS power transistor M0, a sampling resistor Rsense connected in series in the power circuit, and an amplifier for amplifying the signal V_sense across the resistor, as shown below. Figure 6 .
[0026] The signal extraction module is used to analyze the waveform of V_sense. The peak detection circuit consists of diode D1, a PMOS transistor M1, and capacitor C1, as follows: Figure 7 When MOSFET M0 is turned on, the circuit captures and holds the ringing peak V_ring of V_sense. When MOSFET M0 is turned off, the circuit resets MOSFET M0 to discharge its capacitor. A window comparator is also needed to set a low threshold voltage V_stable_th (e.g., if the external sampling / blanking signal is a 0-5V square wave, set V_stable_th to 5.05V). When the instantaneous value of V_sense remains below V_ref_steady for a period of time (e.g., 10ns), the output digital signal Flag_stable goes high, indicating that the ringing has subsided. (Ringing refers to the high-frequency, decaying oscillation that occurs in a switching power supply circuit when a power switch (such as a MOSFET) is rapidly turned on or off, due to the interaction of parasitic inductance and capacitance in the circuit. When observed on an oscilloscope, this oscillation appears as a series of rapidly fluctuating "ringing" waveforms superimposed on the transition edges of the voltage or current waveform, hence the name "ringing.") After blanking is completed, V_sense is sampled briefly using a simple sample-and-hold circuit to estimate the minimum noise.
[0027] The cooperative logic unit module consists of a state mechanism containing a built-in DAC, with the following inputs: Gate_ON: Drive signal from the PWM controller.
[0028] V_ring: from the peak detection circuit.
[0029] Flag_stable: This comes from the signal extraction module (stable flag generation circuit). It is a key signal that indicates the sampling circuit is working when it is low and the ringing has stopped when it is high.
[0030] The output is a leading-edge blanking control signal, a digital signal LEB_ON. The need for leading-edge blanking is determined by detecting the state of Flag_stable, and an appropriate time is selected. The waveform is determined by the adaptive leading-edge blanking module. When it is high, it indicates that the blanking period is in progress. The threshold control signal is a set of digital signals used to guide the dynamic threshold generation module to output the corresponding voltage value.
[0031] The dynamic threshold adaptive logic module includes a voter and an error amplifier. Its inputs are a sampled random signal and V_ring. Based on instructions from the cooperative control logic unit, it outputs a dynamic threshold V_ref_adaptive. When LEB_ON is active, V_ref_adaptive is the average of the high threshold VTHE and V_stable_th. When LEB_ON is inactive, V_ref_adaptive is the steady-state threshold V_ref_steady.
[0032] The comparison and decision module is used for synchronization and glitches elimination. The comparator compares the processed current sampling signal V_sense with the dynamic threshold V_ref_adaptive. The LEB_ON signal is directly connected to an AND gate, the other input of which is the comparator output. During the blanking period, the AND gate output is low, shielding overcurrent signals. The comparison and decision module can perform synchronization processing, eliminating spikes and hazards. The final output (or the AND gate output) is the sampling protection signal OC_flag, which is directly sent to the protection pin of the PWM controller.
[0033] Simulation diagram as follows Figure 8 As shown, At time T0: Gate_ON goes high, the MOSFET turns on, and V_sense shows a spike and ringing.
[0034] During the T0-T1 period: V_ring captures the peak value, Flag_stable is low, indicating instability, LEB_ON is low, indicating the blanking period, V_ref_adaptive is the average value and is constantly changing, OC_Flag is forcibly masked, and will not be triggered even if V_sense momentarily exceeds V_ref_adaptive.
[0035] At time T1: LEB_ON goes high, indicating that the ringing has stopped, V_ref_adaptive switches from the high threshold to the steady-state threshold V_ref_steady, and the blanking ends.
[0036] After T1: OC_Flag is high, sampling begins, and the system enters normal detection mode. If the peak value of V_sense exceeds the changed V_ref_steady, leading-edge blanking restarts, triggering protection.
[0037] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A method for threshold adaptive leading-edge blanking in a switching power supply, characterized in that: Includes the following steps: S1. Construct an adaptive front blanking control loop, wherein the adaptive front blanking control loop includes a cooperative logic unit and a power acquisition module, a signal extraction module, a peak detection circuit, a dynamic threshold adaptive logic module, and a comparison and decision module respectively connected to the cooperative logic unit; The power acquisition module is connected to the circuit containing the external signal to be sampled / blanked, and the cooperative logic unit includes a state machine; At times S2 and T0, the switching transistor of the circuit containing the external sampled / blank signal is turned on and enters the blanking period. The power acquisition module turns on the MOSFET according to the drive signal Gate_ON output by the PWM controller of the circuit containing the external sampled / blank signal and samples the external sampled / blank signal, and outputs the sampling signal V_sense to the state machine, the signal extraction module and the peak detection circuit. During the T0 to T1 time period: the signal extraction module compares the instantaneous voltage value and duration of the V_sense signal with the initial threshold voltage and the first time threshold, and outputs the digital signal Flag_stable to the state machine. The peak detection circuit captures the ringing peak value V_ring of the V_sense signal and outputs it to the state machine. The state machine monitors the waveform of the V_sense signal in real time and determines whether leading edge blanking is needed based on the state of the Flag_stable signal. It then outputs the leading edge blanking control signal LEB_ON to the dynamic threshold adaptive logic module and the comparison and decision module. The dynamic threshold adaptive logic module and the comparison and decision module adaptively adjust the threshold voltage when the LEB_ON signal is low, and change the initial threshold voltage to the dynamic threshold voltage V_ref_adaptive through the cooperative logic unit. The comparison and decision module forces the signal OC_flag to be masked so that the circuit where the external sample / blank signal is located does not perform sampling. When the instantaneous voltage value of the V_sense signal is lower than V_ref_adaptive and the duration is higher than the first time threshold, the LEB_ON signal becomes high and enters time T1. At time T1, the threshold V_ref_adaptive output by the dynamic threshold adaptive logic module becomes the steady-state threshold V_ref_steady; After time T1, the adaptive leading edge blanking control loop enters the stabilizer and continues to perform V_sense detection. When the duration of V_sense being lower than V_ref_steady is greater than the second time threshold, the comparison and decision module outputs the sampling signal OC_flag to the PWM controller to enable the circuit containing the external sampled / blanked signal to perform sampling.
2. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 1, characterized in that: The power acquisition module includes a PMOSFET M0 whose source is connected to the external signal to be sampled / blanking, a resistor Rsense, a resistor R1 connected to the drain of the transistor M0, and an amplifier PA1 whose positive terminal is connected to the other end of the resistor Rsense. The gate of transistor M0 receives a PWM control signal, the other end of resistor R1 is grounded, the negative terminal of amplifier PA1 is connected to the output terminal, and the output terminal of amplifier PA1 outputs the V_sense signal.
3. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 1, characterized in that: The peak detection circuit includes a diode D1 whose positive terminal is connected to the V_sense signal, a capacitor C1 connected to the negative terminal of diode D1 and then grounded, and a NOMS transistor M1 whose drain is connected between the negative terminal of diode D1 and capacitor C1; the gate input of transistor M1 is the drive signal Gate_ON from the PWM controller, and the source outputs V_ring and ground respectively.
4. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 1, characterized in that: The signal extraction module is a window comparator. The input of the signal extraction module is the instantaneous value of the V_sense signal, and the threshold voltage is V_stable_th. The signal extraction module compares the instantaneous value of the V_sense signal with V_stable_th and outputs the digital signal Flag_stable. Flag_stable starts at a low level, and the external sampled / blank signal is kept blanked at the leading edge. When the instantaneous value of V_sense signal is lower than V_stable_th and the holding time is greater than the first time threshold, Flag_stable is at a high level, and the state machine output signal causes the circuit containing the external sampled / blank signal to end the leading edge blanking.
5. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 4, characterized in that: V_stable_th is greater than the peak value of the external sampled / blanked signal during normal operation, the first time threshold is 5~50ns, and the second time threshold is 5~50ns.
6. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 1, characterized in that: The collaborative logic unit includes a connected state machine and a digital-to-analog converter; When the state machine determines that the circuit containing the external sample / blanking signal is undergoing leading-edge blanking based on the Flag_stable signal and the V_sense signal, it sets the LEB_ON signal to a low level. When the state machine determines that the ringing of the circuit containing the external sample / blanking signal has ended based on the Flag_stable signal, it sets the LEB_ON signal to a high level and causes the circuit containing the external sample / blanking signal to end leading-edge blanking. The LEB_ON signal is a digital signal and is controlled by both Flag_stable and the comparison and decision module.
7. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 6, characterized in that: The dynamic threshold adaptive logic module includes a voter, a first error comparator, and a second error comparator; The decision threshold of the first error comparator is VTHE and is controlled by DACVTHE output by the digital-to-analog converter. The decision threshold of the second error comparator is the initial threshold voltage V_stable_th, and VTHE is greater than V_stable_th. The inputs to both the first error comparator and the second error comparator are the V_ring signal; When the first error comparator and the second error comparator make the same decision, the threshold voltage of the first error comparator increases; when the first error comparator and the second error comparator make different decisions, VTHE is reduced by decreasing the DAERR control code, but at the same time, VTHE is always greater than V_ring. Finally, the average value of VTHE and V_stable_th is used as the threshold V_ref_adaptive and dynamically adjusted. The dynamic adjustment method is to take the average value of V_ref_adaptive and VTHE to obtain a new V_ref_adaptive, until it stabilizes to obtain V_ref_steady.
8. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 7, characterized in that: The comparison and decision module includes a comparator and an AND gate. The comparator compares V_sense with the dynamic threshold V_ref_adaptive. The LEB_ON signal is connected to the first input of the AND gate, and the second input of the AND gate is connected to the output of the comparator. During the blanking period, the V_sense signal voltage is lower than the threshold VTHE, the comparison and decision module outputs a low level, the AND gate outputs a low level, and the signal OC_flag is masked. During the non-blanking period, when the V_sense signal voltage is less than V_ref_steady, the LEB_ON signal and the comparison and decision module are both at high level, the AND gate outputs a high level, the OC_flag signal is pulled high, and the circuit containing the external signal to be sampled / blanking performs sampling. When the V_sense signal voltage is higher than V_ref_steady, the AND gate outputs a low level, the OC_Flag signal is invalid, and the leading-edge blanking restarts.
9. The method for threshold adaptive leading-edge blanking in a switching power supply according to claim 1, characterized in that: The adaptive leading-edge blanking control loop is equivalent to a first-order digital low-pass filter. The first-order digital low-pass filter controls the digital-to-analog converter to adaptively adjust the high threshold voltage VTHE and the steady-state threshold V_ref_steady by filtering out high-frequency noise.
10. A method for threshold adaptive leading-edge blanking in a switching power supply according to claim 1, characterized in that: In step S2, the circuit containing the external signal to be sampled / blanked is a Buck circuit, a Boost circuit, or a Flyback circuit.
