Inductor disconnection detection circuit and method and switching power supply

By detecting the duration of the upper tube switch signal after the Buck circuit is powered on, the false alarm problem when the inductor is disconnected is solved, and high-accurate inductor disconnection detection is achieved. It is suitable for the normal working time of the Buck circuit and simplifies detection process.

CN119001535APending Publication Date: 2024-11-22ZHUHAI NANXIN SEMICON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411100034.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing inductor disconnection detection method causes false alarms due to microampere leakage of the upper tube MP1 when the inductor is disconnected, and the detection accuracy is insufficient.

Method used

Design an inductor disconnection detection circuit. By detecting the duration of the switch signal of the upper tube as a preset level after powering on the Buck circuit, if the duration exceeds the preset time, it is determined that the inductor is in the off state. The timer and controller implement this function, independent of the on-time of the upper tube, improving detection accuracy.

Benefits of technology

This method is not affected by the leakage of the upper tube, improves the accuracy of inductor disconnection detection, and can be detected during the normal working time of the Buck circuit, without the need to set the detection time, which improves convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001535A_ABST
    Figure CN119001535A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an inductor disconnection detection circuit and method and a switching power supply, the circuit is connected with a control module in a buck circuit, and the control module is used for generating a first switching signal and a second switching signal according to an output voltage generated by a voltage output end, a voltage of a first end of an inductor and a clock signal. The inductor disconnection detection circuit comprises a timer and a controller, the timer is used for recording the duration when the first switching signal is a preset level after the power-on signal of the Buck circuit is enabled, and the controller is used for controlling the duration when the first switching signal is the preset level after the power-on signal of the Buck circuit is enabled. When the duration of the first switching signal at the preset level is longer than or equal to preset time, a first detection result is generated, the first detection result indicates that the inductor is in a disconnected state, the first transistor is in a connected state when the first switching signal is at the preset level, and the preset time is longer than the period of the clock signal; the circuit provided by the embodiment of the invention is high in accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of switching power supplies, and in particular to an inductor disconnection detection circuit, method, and switching power supply. Background Art

[0002] The inductor is the main energy storage device in the step-down Buck circuit. In order to ensure that the Buck circuit can work normally, it is necessary to ensure that the inductor is in a connected state in the circuit. Therefore, inductor disconnection detection is a very important part in the Buck circuit application.

[0003] In the related art, the method is usually adopted as follows Figure 1a The circuit shown detects the disconnection of the inductor.

[0004] However, in the process of implementing this application, the inventors found that there are at least the following problems in the prior art: in the above-mentioned inductor disconnection detection method, when the inductor is disconnected, if there is a microampere uA level leakage in the upper tube MP1 of the Buck circuit, a false alarm will occur, and the detection accuracy needs to be improved. Summary of the invention

[0005] The embodiments of the present application provide an inductor disconnection detection circuit, method and switching power supply to improve detection accuracy.

[0006] In a first aspect, an embodiment of the present application provides an inductor disconnection detection circuit, which is used to be connected to a control module in a buck circuit, wherein the buck circuit further includes a voltage input terminal, a first transistor, a second transistor, an inductor and a voltage output terminal, wherein the voltage input terminal is used to be connected to the first terminal of the inductor through the first transistor, the first terminal of the inductor is used to be grounded through the second transistor, and the second terminal of the inductor is used to be connected to the voltage output terminal, and the control module is used to generate a first switching signal for controlling the first transistor and a second switching signal for controlling the second transistor according to an output voltage generated by the voltage output terminal, a voltage at the first terminal of the inductor and a clock signal, so that the first transistor and the second transistor are alternately turned on; the inductor disconnection detection circuit includes: a timer and a controller;

[0007] The timer is used to record the duration of the first switch signal being at a preset level after the power-on signal of the Buck circuit is enabled;

[0008] The controller is used to generate a first detection result when the duration of the first switch signal being at a preset level is greater than or equal to a preset time after the power-on signal of the Buck circuit is enabled; the first detection result indicates that the inductor is in a disconnected state; the first transistor is in a conductive state when the first switch signal is at a preset level; and the preset time is greater than the period of the clock signal.

[0009] In one possible design, the circuit further includes a first comparator;

[0010] The first comparator is used to generate a first comparison result when the output voltage is less than a first preset voltage;

[0011] The controller, when generating the first detection result when the duration of the first switch signal being a preset level is greater than or equal to a preset time after the power-on signal of the Buck circuit is enabled, is specifically used to: after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being a preset level is greater than or equal to a preset time, and the output voltage is less than a first preset voltage, generate the first detection result according to the first comparison result.

[0012] In one possible design, the timer includes a counter and a D flip-flop;

[0013] The input end of the counter is connected to the clock signal, the enable end is connected to the first switch signal and the power-on signal, and the output end is connected to the clock input end of the D flip-flop;

[0014] The counter is used to start counting the cycles of the clock signal after the power-on signal is enabled and when the first switch signal is at a preset level, and if the counted number of cycles is greater than a preset number, an edge signal is generated at the output end of the counter;

[0015] The D flip-flop is used to generate a first signal in response to the edge signal;

[0016] The controller is used to generate a first detection result according to the first signal and the first comparison result.

[0017] In a possible design, the input terminal and the control terminal of the D flip-flop are both connected to the power-on signal of the Buck circuit;

[0018] The D flip-flop is further configured to generate a second signal when the duration of the first switch signal being at a preset level is less than the preset time;

[0019] The first comparator is further configured to generate a second comparison result when the output voltage is greater than the first preset voltage;

[0020] The controller is further configured to generate a second detection result according to the second signal and the second comparison result, wherein the second detection result indicates that the inductor is in a connected state.

[0021] In one possible design, the controller is further used to generate a second detection result when, after the power-on signal of the Buck circuit is enabled, the duration of the first switching signal being at a preset level is less than the preset time or the output voltage is greater than the first preset voltage; the second detection result indicates that the inductor is in a connected state.

[0022] In a possible design, the inductor disconnection detection circuit further includes a second comparator and a target gate circuit; the second comparator is connected to the timer through the target gate circuit;

[0023] The second comparator is used to generate a third comparison result when the output voltage is greater than the second preset voltage;

[0024] The target gate circuit is used to generate a shutdown signal according to the third comparison result;

[0025] The timer is further configured to enter a closed state according to the closed signal.

[0026] In one possible design, the target gate circuit includes an RS trigger;

[0027] The set end of the RS trigger is connected to the output end of the second comparator, the reset end is connected to the power-on signal, and the output end is connected to the control end of the timer;

[0028] The RS trigger is used to generate a shutdown signal according to the third comparison result and the power-on signal.

[0029] In a second aspect, an embodiment of the present application provides an inductor disconnection detection method, which is applied to an inductor disconnection detection circuit, wherein the inductor disconnection detection circuit is used to connect to a control module in a buck circuit, and the buck circuit further includes a voltage input terminal, a first transistor, a second transistor, an inductor, and a voltage output terminal, wherein the voltage input terminal is used to connect to the first end of the inductor through the first transistor, the first end of the inductor is used to be grounded through the second transistor, and the second end of the inductor is used to be connected to the voltage output terminal, and the control module is used to generate a first switching signal for controlling the first transistor and a second switching signal for controlling the second transistor according to an output voltage generated by the voltage output terminal, a voltage at the first end of the inductor, and a clock signal, so that the first transistor and the second transistor are alternately turned on; the method includes:

[0030] If, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time, a first detection result is generated; the first detection result indicates that the inductor is in a disconnected state; the first transistor is in a conductive state when the first switch signal is at a preset level; and the preset time is greater than the period of the clock signal.

[0031] In a possible design, if after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time, generating a first detection result includes:

[0032] If, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time and the output voltage is less than a first preset voltage, a first detection result is generated.

[0033] In a possible design, if after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time, generating a first detection result includes:

[0034] If the power-on signal of the Buck circuit is enabled and the first switch signal is at a preset level, timing is started. If the timing duration is greater than or equal to the preset time and the output voltage is less than the first preset voltage, a first detection result is generated.

[0035] In a possible design, the start timing includes:

[0036] Starting to count the cycles of the clock signal;

[0037] If the timing duration is greater than or equal to the preset time and the output voltage is less than the first preset voltage, generating a first detection result includes:

[0038] If the counted number of cycles is greater than a preset number and the output voltage is less than a first preset voltage, a first detection result is generated.

[0039] In one possible design, the method further includes:

[0040] If the output voltage is greater than the first preset voltage or the duration of the first switch signal being at the preset level is less than the preset time, a second detection result is generated; the second detection result indicates that the inductor is in a connected state.

[0041] In a possible design, after generating the second detection result, the method further includes:

[0042] If the output voltage is greater than a second preset voltage, the detection of the duration of the first switch signal being at a preset level is turned off; the second preset voltage is greater than the first preset voltage.

[0043] In a third aspect, an embodiment of the present application provides a switching power supply, comprising an inductor disconnection detection circuit as described in the second aspect and various possible designs of the second aspect.

[0044] The inductor disconnection detection circuit, method and switching power supply provided in the present embodiment are connected to a control module in a buck circuit. The buck circuit further comprises a voltage input terminal, a first transistor, a second transistor, an inductor and a voltage output terminal, wherein the voltage input terminal is used to be connected to the first terminal of the inductor through the first transistor, the first terminal of the inductor is used to be grounded through the second transistor, and the second terminal of the inductor is used to be connected to the voltage output terminal. The control module is used to generate a first switch signal for controlling the first transistor and a second switch signal for controlling the second transistor according to an output voltage generated by the voltage output terminal, a voltage at the first terminal of the inductor and a clock signal, so that the first transistor and the second transistor are alternately turned on. The inductor disconnection detection circuit comprises: a timer and a controller. The timer is used to record the duration of the first switch signal being a preset level after the power-on signal of the buck circuit is enabled. The controller is used to generate a first detection result when the duration of the first switch signal being a preset level is greater than or equal to a preset time after the power-on signal of the buck circuit is enabled. The first detection result indicates that the inductor is in a disconnected state, and the first transistor is in a turned-on state when the first switch signal is at a preset level, and the preset time is greater than the period of the clock signal. The circuit provided in the embodiment of the present application detects the switching signal of the upper tube at a preset level after the Buck circuit is powered on, that is, the duration that the upper tube is in the on state, and then determines whether the inductor is disconnected based on the detection result. This method is not affected by the leakage of the upper tube, has high accuracy, and can be detected during the normal working time of the Buck circuit without setting a special detection time, thereby improving convenience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0046] Figure 1a A schematic diagram of the structure of an inductor disconnection detection circuit provided by the prior art;

[0047] Figure 1b Schematic diagram 1 of an application scenario of the inductor disconnection detection method provided in an embodiment of the present application;

[0048] Figure 1c Schematic diagram of application scenario of the inductor disconnection detection method provided in the embodiment of the present application Figure 2 ;

[0049] Figure 2 Schematic diagram 1 of the flow chart of the inductor disconnection detection method provided in the embodiment of the present application;

[0050] Figure 3 Schematic diagram of the process of the inductor disconnection detection method provided in the embodiment of the present application Figure 2 ;

[0051] Figure 4 A structural schematic diagram 1 of an inductor disconnection detection circuit provided in an embodiment of the present application;

[0052] Figure 5 A schematic diagram of the structure of the inductor disconnection detection circuit provided in the embodiment of the present application Figure 2 ;

[0053] Figure 6 A schematic diagram of the structure of the inductor disconnection detection circuit provided in the embodiment of the present application Figure 3 ;

[0054] Figure 7 A schematic diagram of the structure of the inductor disconnection detection circuit provided in the embodiment of the present application Figure 4 ;

[0055] Figure 8 A schematic diagram of the structure of the inductor disconnection detection circuit provided in the embodiment of the present application Figure 5 ;

[0056] Fig. 9 A schematic diagram of the structure of the inductor disconnection detection circuit provided in the embodiment of the present application Figure 6 .

[0057] Marking Description:

[0058] 410: timer, 420: controller, 430: first comparator, 440: second comparator, 450: target gate circuit, 411: counter, 412: D trigger, Vin: voltage input terminal, MP: first transistor, MN: second transistor, LX: inductor, Vout: voltage output terminal, 100: control module, 200: inductor disconnection detection circuit. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0060] The inductor is the main energy storage device in the Buck circuit. In order to ensure that the Buck circuit can work normally, it is necessary to ensure that the inductor is in a connected state in the circuit. Therefore, inductor disconnection detection is a very important part in the Buck circuit application.

[0061] In the related art, the following can be used: Figure 1a The detection function in the Buck circuit shown detects whether the inductor in the Buck circuit is disconnected. The Buck circuit includes an upper tube MP1, a lower tube MN1, an inductor LX, a transistor M1-M4 current source IRef, etc., and MP1, MN1 and LX are connected to the SW point. In the specific working process, when the inductor floating detection Float_Detect is entered, the detection enable signal EN_Float_Detect=1, the detection starts, and M2 and M3 are turned on. If the inductor LX is disconnected, the voltage at the SW point is zero, so the M4 tube is turned off, so that Ind_Det=0, indicating that the inductor is currently disconnected. On the contrary, when the inductor LX is not disconnected, there will be a voltage at the SW point through the M2 tube, so there will be a voltage at the gate terminal Gate of the M4 tube, and the M4 tube will be turned on, so Ind_Det=1, indicating that the inductor is currently connected.

[0062] However, in the above-mentioned inductor disconnection detection method, when the inductor is disconnected, if there is a microampere uA level leakage in the upper tube MP1 of the Buck circuit, when entering the inductor disconnection detection, the leakage will cause a voltage drop on the resistor R1. Since the resistance of R1 is usually relatively large, the voltage drop on R1 will cause the M4 tube to open, so Ind_Det=1, thereby generating an erroneous detection signal indicating that the inductor LX is in a connected state when the inductor LX is actually in a disconnected state, resulting in a false alarm.

[0063] In order to solve the above technical problems, the inventors of the present application have found that after the Buck circuit is powered on, if the inductor is disconnected, the upper tube is usually in the on state for a long time. Therefore, the duration of the switch signal of the upper tube at a preset level (when the switch signal is at a preset level, the upper tube is in the on state) after the Buck circuit is powered on can be detected, so as to determine that the inductor is in the off state after confirming that the duration exceeds the preset time. Based on this, the embodiment of the present application provides an inductor detection method.

[0064] Figure 1b Schematic diagram of an application scenario of the inductor disconnection detection method provided in an embodiment of the present application. Figure 1b As shown, the Buck circuit includes a voltage input terminal Vin, a first transistor MP, a second transistor MN, an inductor LX, a voltage output terminal VOUT and a control module 100, wherein the voltage input terminal Vin is connected to the first end of the inductor LX through the first transistor MP, the first end of the inductor LX is grounded through the second transistor MN, and the second end of the inductor LX is connected to the voltage output terminal Vout. The control module 100 generates a first switch signal and a second switch signal according to the output voltage generated by the voltage output terminal Vout, the voltage of the first end of the inductor LX and the clock signal, so that the first transistor MP and the second transistor MN are alternately turned on. The first switch signal is used to control the first transistor MP, and the second switch signal is used to control the second transistor MN. The inductor disconnection detection circuit 200 is connected to the control module 100 in the buck Buck circuit. Optionally, the inductor disconnection detection circuit 200 and the Buck circuit can be two independent circuits, and the inductor disconnection detection circuit 200 can also be integrated in the Buck circuit as a part of the Buck circuit.

[0065] In a specific working process, after the power-on signal is enabled, the control module 100 generates a first switch signal and a second switch signal according to the output voltage generated by the voltage output terminal Vout, the voltage of the first end of the inductor LX and the clock signal. In the working process, the first switch signal changes to a preset level (first level) along with the edge (e.g., rising edge) of the clock signal, so that the first transistor MP is turned on, and flips to a second level when the output voltage relative to the voltage of the first end of the inductor LX increases to a certain level, so that the second transistor MN is turned off. However, if the inductor LX is disconnected, the output voltage will always be 0, and the first switch signal will always be the preset level. At this time, the duration of the first switch signal being the preset level (the first transistor MP is in the on state when the first switch signal is the preset level) is detected, that is, the duration of the first transistor MP being in the on state is detected, and when it is detected that the duration is greater than or equal to the preset time, a first detection result is generated and output, and the first detection result indicates that the inductor LX is in the disconnected state. The inductor disconnection detection circuit 200 provided in the embodiment of the present application detects the duration of the switching signal of the upper tube being at a preset level after the Buck circuit is powered on, that is, the upper tube being in the on state, and then determines whether the inductor LX is disconnected based on the detection result. This method is not affected by the leakage of the upper tube, has high accuracy, and can be detected during the normal working time of the Buck circuit without setting a special detection time, thereby improving convenience.

[0066] Alternatively, if Figure 1c As shown, in Figure 1bBased on the embodiment shown, the structure of the control module 100 is specifically illustrated. The control module 100 includes a capacitor 130, a switch control module 120, and a PWM generation circuit 110. The PWM generation circuit 110 includes an error amplifier 111, a compensation unit 112, a voltage-current conversion module 113, and a ramp compensation unit 114. The error amplifier 111 may include a feedback voltage sampling unit, a reference voltage generation unit REF_DAC, and an amplifier, and also includes a soft start unit SS. The PWM generation circuit 110 also includes a PWM comparator 115. The control module 100 also includes an oscillation module (OSCCLK) 140, a reverse current comparator (ZCD) 150, and a driving module 160.

[0067] It should be noted that Figure 1b and Figure 1c The scenario diagram shown is only an example. The inductor disconnection detection method and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can know that with the evolution of circuits and the emergence of new demand scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0068] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0069] Figure 2 1 is a flow chart of the inductor disconnection detection method provided in the embodiment of the present application. Figure 2 As shown, the method includes:

[0070] 201. If, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time, a first detection result is generated; the first detection result indicates that the inductor is in an off state; the first transistor is in an on state when the first switch signal is at a preset level; and the preset time is greater than the period of the clock signal.

[0071] The Buck circuit includes a voltage input terminal, a first transistor, a second transistor, an inductor, a control module 100 and a voltage output terminal, wherein the voltage input terminal is used to connect to the first end of the inductor through the first transistor, the first end of the inductor is used to be grounded through the second transistor, and the second end of the inductor is used to be connected to the voltage output terminal. The control module 100 is used to generate a first switching signal for controlling the first transistor and a second switching signal for controlling the second transistor according to the output voltage generated by the voltage output terminal, the voltage of the first end of the inductor and the clock signal, so that the first transistor and the second transistor are alternately turned on.

[0072] The execution subject of this embodiment may be as follows Figure 1b The inductor disconnection detection circuit 200 is shown. The inductor disconnection detection circuit 200 is connected to the control module 100 in the Buck circuit.

[0073] In this embodiment, the Buck circuit starts to work after the power-on signal is enabled. In normal operation, usually when the edge (e.g., rising edge) of the clock signal arrives, the first switch signal is at the first level (preset level), the upper tube is turned on, the inductor is charged, and the output voltage Vout rises. The voltage of Vout relative to the SW point (the connection point of the upper tube, the lower tube and the inductor) rises to a certain extent, so that the first switch signal is at the second level. Specifically, the PWM comparator (the first input terminal is connected to the SW point (the connection point of the upper tube, the lower tube and the inductor), and the second input terminal is connected to the voltage output terminal) is greater than the second input terminal after the power-on signal is enabled. As Vout rises, when the second input terminal is greater than the first input terminal, the output flips, so that the first switch signal is at the second level, the upper tube is turned off, and the lower tube is turned on under the control of the second switch signal, forming a loop with the inductor. That is to say, within one clock cycle, the first switch signal switches between the first level and the second level. However, if the inductor is disconnected, the output voltage Vout will always be 0, the SW point will always be Vin, and the PWM comparator cannot flip, that is, after the first switch signal reaches the first level with the edge of the clock signal, it will not be able to change to the second level due to the flip of the PWM comparator, so the upper tube is always turned on and cannot be turned off. Based on this, the duration of the first switch signal being the first level can be detected after the power-on signal of the Buck circuit is enabled. If the duration exceeds the preset time, it can be determined that the inductor is in a disconnected state.

[0074] In some embodiments, considering that the Buck circuit may set parameters such as the maximum on-time MaxD and the minimum off-time Minoff, in actual applications, after the on-time of the upper tube reaches MaxD, the upper tube is controlled to be turned off. In this embodiment, in order to avoid the failure of this solution due to the upper tube being turned off due to MaxD, a logic circuit for shielding MaxD can be added to ensure that the shutdown of the upper tube is not limited by MaxD.

[0075] In some embodiments, the preset time may be selected based on specific experience, and usually needs to be greater than the period of the clock signal, for example, 60 us.

[0076] In some embodiments, in order to further improve the detection accuracy, the output voltage can be detected while detecting the duration of the first switch signal being at a preset level. In this embodiment, if the duration of the first switch signal being at a preset level is greater than or equal to the preset time after the power-on signal of the Buck circuit is enabled, a first detection result is generated, which may include: if the duration of the first switch signal being at a preset level is greater than or equal to the preset time after the power-on signal of the Buck circuit is enabled and the output voltage is less than the first preset voltage, a first detection result is generated.

[0077] The first preset voltage may be set according to actual needs, for example, it may be a threshold voltage of under-voltage protection, or it may be 50% of the target output voltage, which is not limited in this embodiment.

[0078] In some embodiments, there are multiple ways to detect duration. In one implementable method, the first switching signal can be compared or operated with a signal of a specific waveform so that the output result flips after the duration of the first switching signal being at the first level is greater than or equal to a preset time.

[0079] In another possible implementation, if after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time, a first detection result is generated, which may include: if the power-on signal of the Buck circuit is enabled and the first switch signal is at a preset level, starting the timing, and if the timing duration is greater than or equal to the preset time and the output voltage is less than the first preset voltage, generating a first detection result.

[0080] In some embodiments, starting timing may include: starting to count the cycles of a clock signal; if the timing duration is greater than or equal to a preset time and the output voltage is less than a first preset voltage, generating a first detection result, which may include: if the counted number of cycles is greater than a preset number and the output voltage is less than the first preset voltage, generating a first detection result.

[0081] Specifically, after the power-on signal of the Buck circuit is enabled, when the first switch signal is at a preset level, timing can be started. Specifically, the cycle of the clock signal can be counted. When a preset number of cycles is reached, the preset time is reached, and therefore, a first detection result representing that the inductor is disconnected can be generated. Exemplarily, assuming that the clock cycle is 5us and the preset time is 60us, the preset number is 12, that is, when the duration of the first switch signal being at the preset level reaches 12 clock cycles, a first detection result is generated to indicate that the inductor is in a disconnected state.

[0082] The inductor disconnection detection method provided in this embodiment detects the duration of the switching signal of the upper tube being at a preset level after the Buck circuit is powered on, that is, the upper tube being in the on state, and then determines whether the inductor is disconnected based on the detection result. This method is not affected by the leakage of the upper tube, has high accuracy, and can be detected during the normal working time of the Buck circuit without setting a special detection time, thereby improving convenience.

[0083] Figure 3 Schematic diagram of the process of the inductor disconnection detection method provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, the method includes:

[0084] 301. After the power-on signal of the Buck circuit is enabled, obtain the duration of the output voltage and the first switch signal being at a preset level; the first transistor is in an on state when the first switch signal is at the preset level.

[0085] 302 , determine whether the output voltage is greater than a first preset voltage, if so, execute step 305 , if not, execute step 303 .

[0086] 303. Determine whether the duration is greater than or equal to a preset time, if so, execute step 304, if not, execute step 305. The preset time is greater than the period of the clock signal.

[0087] 304. Generate a first detection result, where the first detection result indicates that the inductor is in a disconnected state.

[0088] 305. Generate a second detection result; the second detection result indicates that the inductor is in a connected state.

[0089] Specifically, the Buck circuit starts to work after the power-on signal is enabled. During normal operation, usually when the edge (e.g., rising edge) of the clock signal arrives, the first switch signal is at the first level (preset level), the upper tube is turned on, the inductor is charged, and the output voltage Vout rises. The voltage of Vout relative to the SW point (the connection point of the upper tube, the lower tube and the inductor) rises to a certain extent, so that the first switch signal is at the second level. Specifically, the PWM comparator (the first input terminal is connected to the SW point (the connection point of the upper tube, the lower tube and the inductor), and the second input terminal is connected to the voltage output terminal) is greater than the second input terminal after the power-on signal is enabled. As Vout rises, when the second input terminal is greater than the first input terminal, the output flips, so that the first switch signal is at the second level, the upper tube is turned off, and the lower tube is turned on under the control of the second switch signal, forming a loop with the inductor. That is to say, within one clock cycle, the first switch signal switches between the first level and the second level. However, if the inductor is disconnected, the output voltage Vout will always be 0, the SW point will always be Vin, and the PWM comparator cannot flip, that is, after the first switch signal reaches the first level with the edge of the clock signal, it will not be able to change to the second level due to the flip of the PWM comparator, so the upper tube is always turned on and cannot be turned off. Based on this, Vout can be detected at the same time, and the duration of the first switch signal being the first level can be detected after the power-on signal of the Buck circuit is enabled. If the duration exceeds the preset time and Vout is less than the first preset voltage, it can be determined that the inductor is in a disconnected state. The detection of Vout and the detection of the duration of the first level can be performed simultaneously or one after the other.

[0090] In some embodiments, in order to save circuit power consumption, after determining that the inductor is in a connected state, some circuits such as a timer can be turned off to reduce power consumption. After generating the second detection result, it can also include: if the output voltage is greater than the second preset voltage, turning off the detection of the duration of the first switch signal being a preset level; the second preset voltage is greater than the first preset voltage.

[0091] The inductor disconnection detection method provided in this embodiment detects the output voltage and the duration of the first switch signal being at a preset level at the same time, and determines that the inductor is in a disconnected state only when two conditions (the output voltage is less than the first preset voltage, and the duration of the first switch signal being at the preset level is greater than or equal to the preset time) are met, thereby improving the detection accuracy.

[0092] Figure 4 This is a structural diagram of the inductor disconnection detection circuit provided in the embodiment of the present application. Figure 4 As shown, the inductor disconnection detection device 40 includes: a timer 410 and a controller 420 .

[0093] A timer 410, used to record the duration of the first switch signal being at a preset level after the power-on signal of the Buck circuit is enabled;

[0094] The controller 420 is used to generate a first detection result when the duration of the first switch signal being at a preset level is greater than or equal to a preset time after the power-on signal of the Buck circuit is enabled; the first detection result indicates that the inductor is in an off state; the first transistor is in an on state when the first switch signal is at a preset level; and the preset time is greater than the period of the clock signal.

[0095] Specifically, Figure 1b As shown, the Buck circuit includes a voltage input terminal Vin, a first transistor MP, a second transistor MN, an inductor LX, a voltage output terminal VOUT and a control module 100, wherein the voltage input terminal Vin is connected to the first end of the inductor LX through the first transistor MP, the first end of the inductor LX is grounded through the second transistor MN, and the second end of the inductor LX is connected to the voltage output terminal Vout. The control module 100 generates a first switch signal and a second switch signal according to the output voltage generated by the voltage output terminal Vout, the voltage of the first end of the inductor LX and the clock signal, so that the first transistor MP and the second transistor MN are alternately turned on. The first switch signal is used to control the first transistor MP, and the second switch signal is used to control the second transistor MN. The inductor disconnection detection circuit is connected to the control module 100 in the buck Buck circuit. Optionally, the inductor disconnection detection circuit and the Buck circuit can be two independent circuits, and the inductor disconnection detection circuit can also be integrated in the Buck circuit as a part of the Buck circuit.

[0096] In this embodiment, there are multiple ways for the timer 410 to record the duration of the first switch signal being at a preset level. The duration may be recorded in real time, or whether the duration reaches a preset time may be recorded. This embodiment does not limit this.

[0097] In the specific working process, the Buck circuit starts to work after the power-on signal is enabled. In normal operation, usually when the edge (e.g., rising edge) of the clock signal arrives, the first switch signal is at the first level (preset level), the upper tube is turned on, the inductor is charged, and the output voltage Vout rises. The voltage of Vout relative to the SW point (the connection point of the upper tube, the lower tube and the inductor) rises to a certain extent, so that the first switch signal is at the second level. Specifically, the PWM comparator (the first input terminal is connected to the SW point (the connection point of the upper tube, the lower tube and the inductor), and the second input terminal is connected to the voltage output terminal) is greater than the second input terminal after the power-on signal is enabled. As Vout rises, when the second input terminal is greater than the first input terminal, the output flips, so that the first switch signal is at the second level, the upper tube is turned off, and the lower tube is turned on under the control of the second switch signal, forming a loop with the inductor. That is to say, within one clock cycle, the first switch signal switches between the first level and the second level. However, if the inductor is disconnected, the output voltage Vout will always be 0, the SW point will always be Vin, and the PWM comparator cannot flip, that is, after the first switch signal reaches the first level with the edge of the clock signal, it will not be able to change to the second level due to the flip of the PWM comparator, so the upper tube is always turned on and cannot be turned off. Based on this, the timer 410 can detect the duration of the first switch signal being the first level after the power-on signal of the Buck circuit is enabled. The controller 420 can generate a first detection result when the duration exceeds a preset time to indicate that the inductor is in a disconnected state.

[0098] The inductor disconnection detection circuit provided in the embodiment of the present application detects the duration of time that the switch signal of the upper tube is in the on state after the Buck circuit is powered on, and then determines whether the inductor is disconnected based on the detection result. This method is not affected by the leakage of the upper tube, has high accuracy, and can be detected during the normal working time of the Buck circuit without setting a special detection time, thereby improving convenience.

[0099] In some embodiments, the timer 410 may include a counter 411 and a D flip-flop. The input end of the counter 411 is connected to the clock signal, the enable end is connected to the first switch signal and the power-on signal, and the output end is connected to the clock input end of the D flip-flop; the counter 411 is used to count the cycles of the clock signal after the power-on signal is enabled and the first switch signal is at a preset level, and if the counted number of cycles is greater than the preset number, the output end of the counter 411 generates an edge signal; the D flip-flop is used to generate a first signal in response to the edge signal; the controller 420 is used to generate a first detection result according to the first signal.

[0100] For example, Figure 6As shown, the counter 411 can use multiple D flip-flops in series, and connect the inverting output terminals of the D flip-flops at each level. It is connected to the input terminal D to form a counter 411, and counts the input clock signal CLK. The reset terminals of the D flip-flops at each stage are connected to each other, namely, the enable terminal CTL of the counter 411. CTL is generated according to the power-on signal EN and the first switch signal Hon. When the power-on signal is enabled and the first switch signal is at a preset level, the counter 411 is enabled and starts counting. When the number of cycles of the clock signal reaches a preset number, the output of the last stage D flip-flop in series of the counter 411 is flipped, an edge appears, and the output of the D flip-flop 412 is flipped to generate a recording result. The recording result is input to the controller 420. The controller 420 delays, shapes or drives the recording result through a plurality of gate devices, and then generates a first detection result at the Float terminal.

[0101] In some embodiments, the controller 420 is further configured to generate a second detection result when the duration of the first switch signal being at a preset level is less than a preset time after the power-on signal of the Buck circuit is enabled; the second detection result indicates that the inductor is in a connected state.

[0102] Specifically, Figure 4 As shown, the timer 410 is connected to the controller 420. In one example, the timer 410 generates a first recording result (indicating that the duration is less than the preset time) when the duration of the first switch signal being at the first level is less than the preset time, and the controller 420 generates a second detection result based on the first recording result. In practical applications, the controller 420 may include a gate circuit such as an inverter to shape or drive the first recording result to obtain a second detection result. In another example, the timer 410 may record the duration of the first switch signal being at the first level in real time, and send the generated second recording result (characterizing the duration) to the controller 420, which compares the second recording result with the preset time to obtain a second detection result.

[0103] In some embodiments, in order to improve the accuracy of inductor disconnection detection, the output voltage of the Buck circuit can also be detected at the same time. If the output voltage is also less than the first preset voltage while the first transistor is continuously turned on for a time greater than or equal to a preset time, it indicates that the inductor is in a disconnected state. Figure 5 As shown, in Figure 4On the basis of the illustrated embodiment, the inductor disconnection detection circuit may further include a first comparator 430. The first comparator 430 is connected to the controller 420. The first comparator 430 is used to generate a first comparison result when the output voltage is less than the first preset voltage; the controller 420 is used to generate a first detection result when the duration of the first switch signal being a preset level is greater than or equal to a preset time after the power-on signal of the Buck circuit is enabled, specifically for: after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being a preset level is greater than or equal to a preset time, and the output voltage is less than the first preset voltage, to generate the first detection result.

[0104] Specifically, Figure 5 As shown, the timer 410 and the first comparator 430 are both connected to the controller 420, and the timer 410 generates a third record result (indicating that the duration is greater than or equal to the preset time) when the duration of the first switch signal being the first level is greater than the preset time, and the first comparator 430 compares the output voltage inputted by the first input terminal with the preset voltage inputted by the second input terminal, and if the output voltage is less than the preset voltage, a third result is generated, and the controller 420 generates a first detection result according to the third record result and the third result. In practical applications, the controller 420 can use a combinational logic circuit to perform AND or OR on the third record result and the third result, which can be specifically set according to the actual logic, and this embodiment is not limited to this. In another example, the timer 410 can record the duration of the first switch signal being the first level in real time, and generate a fourth record result (characterizing the duration), and the controller 420 compares the fourth record result with the preset time to obtain a fourth result, and the controller 420 generates a first detection result according to the fourth result and the third result generated by the first comparator 430.

[0105] In some embodiments, the controller 420 is also used to generate a second detection result when, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being a preset level is less than a preset time or the output voltage is greater than the first preset voltage; the second detection result indicates that the inductor is in a connected state.

[0106] Specifically, Figure 5As shown, the timer 410 and the first comparator 430 are both connected to the controller 420. In one example, the timer 410 generates a first recording result (indicating that the duration is less than the preset time) when the duration of the first switch signal being the first level is less than the preset time. The first comparator 430 compares the output voltage input at the first input terminal with the preset voltage input at the second input terminal. If the output voltage is greater than the preset voltage, the first result is generated, and the controller 420 generates a second detection result based on the first recording result and the first result. In practical applications, the controller 420 can use a combinational logic circuit to perform AND or OR on the first recording result and the first result, which can be specifically set according to the actual logic, and this embodiment is not limited to this. In another example, the timer 410 can record the duration of the first switch signal being the first level in real time, and generate the second recording result (characterizing the duration), and the controller 420 compares the second recording result with the preset time to obtain the second result, and the controller 420 generates the second detection result based on the second result and the first result generated by the first comparator 430.

[0107] In some embodiments, based on the above embodiments, as in Figure 3 On the basis of the illustrated embodiment, the timer 410 may include a counter 411 and a D flip-flop. The input end of the counter 411 is connected to the clock signal, the enable end is connected to the first switch signal and the power-on signal, and the output end is connected to the clock input end of the D flip-flop; the counter 411 is used to count the cycles of the clock signal after the power-on signal is enabled and the first switch signal is at a preset level, and if the counted number of cycles is greater than the preset number, the output end of the counter 411 generates an edge signal; the D flip-flop is used to generate a first signal in response to the edge signal; the controller 420 is used to generate a first detection result according to the first signal and the first comparison result.

[0108] For example, Figure 7 As shown, the counter 411 can use multiple D flip-flops in series, and connect the inverting output terminals of the D flip-flops at each level. It is connected to the input terminal D to form a counter 411, which counts the input clock signal CLK. The reset terminals of the D flip-flops of each stage are connected to each other, namely, the enable terminal CTL of the counter 411. CTL is generated according to the power-on signal EN and the first switch signal Hon. When the power-on signal is enabled and the first switch signal is at a preset level, the counter 411 is enabled and starts counting. When the number of cycles of the clock signal reaches a preset number, the output of the last stage of the D flip-flop in series of the counter 411 is flipped, and an edge appears. In response to the edge, the output of the D flip-flop 412 is flipped from 0 to 1, and a recording result is generated. The recording result is input to the controller 420. Since the preset voltage at the positive input terminal of the first comparator 430 is greater than the output voltage Vout input at the inverting input terminal, the first comparison result 1 is generated. The controller 420 performs an AND operation on the recording result 1 and the first comparison result 1 output by the first comparator 430 to generate a first detection result 1, indicating that the inductor is in a disconnected state.

[0109] In some embodiments, the input terminal and the control terminal of the D flip-flop are both connected to the power-on signal of the Buck circuit; the D flip-flop is also used to generate a second signal when the duration of the first switching signal being a preset level is less than a preset time; the first comparator 430 is also used to generate a second comparison result when the output voltage is greater than the first preset voltage; the controller 420 is also used to generate a second detection result based on the second signal and the second comparison result, and the second detection result indicates that the inductor is in a connected state.

[0110] For example, Figure 7 As shown, before the power-on signal EN is enabled, the output terminal of the D flip-flop 412 is reset to 0, i.e., the second signal. If the inductor is in the connected state, after the power-on signal EN is enabled, the first switch signal Hon will continuously change from 0 to 1, instead of being continuously 1. At this time, the time when Hon is continuously 1 is far less than the preset time, that is, the counter 411 will not be flipped, and because CTL is affected by Hon, the D flip-flops of each level in the counter 411 will also be frequently reset, and it is even more impossible to flip the output of the last level of the D flip-flop of the counter 411 and generate an edge. Therefore, the output terminal Q of the D flip-flop 412 will always remain at 0, i.e., the second signal, and will not change, and then the second detection result 0 is generated at the Float terminal through the AND gate of the controller 420, indicating that the inductor is in the connected state. In addition, if the preset voltage at the positive input terminal of the first comparator 430 is less than the output voltage Vout input at the inverting input terminal, the first comparison result is generated to be 0, and then the second detection result 0 is generated at the Float terminal through the AND gate of the controller 420, indicating that the inductor is in the connected state. That is, no matter the first comparator 430 outputs 0 or the timer 410 outputs 0, the controller 420 can generate the second detection result 0, indicating that the inductor is in the connected state.

[0111] In some embodiments, the inductor disconnection detection circuit also includes a second comparator 440 and a target gate circuit 450; the second comparator 440 is connected to the timer 410 through the target gate circuit 450; the second comparator 440 is used to generate a third comparison result when the output voltage is greater than the second preset voltage; the target gate circuit 450 is used to generate a shutdown signal according to the third comparison result; the timer 410 is also used to enter a shutdown state according to the shutdown signal.

[0112] For example, Figure 8 As shown, the timer 410 and the first comparator 430 are both connected to the controller 420, the second comparator 440 is connected to the target gate circuit 450, and the target gate circuit 450 is connected to the timer 410. After confirming that the inductor is in the connected state through the timer 410, the first comparator 430 and the controller 420, in order to save power consumption, the timer 410 can be turned off. In order to ensure the stability of the circuit, the shutdown condition can be further limited to the output voltage being greater than the second preset voltage (for example, 90% of the target output voltage). Specifically, the output voltage and the second preset voltage can be compared by the second comparator 440. If the comparison result indicates that the output voltage is greater than the second preset voltage, the target gate circuit 450 generates a shutdown signal according to the comparison result, and the timer 410 enters the shutdown state based on the shutdown signal. For example, the shutdown signal can be input to the control end (enable end, reset end, set end, etc.) of the timer 410, so that the timer 410 no longer flips and works, wasting power consumption.

[0113] In some embodiments, the target gate circuit 450 may include an RS trigger; the set end of the RS trigger is connected to the output end of the second comparator 440, the reset end is connected to the power-on signal, and the output end is connected to the control end of the timer 410; the RS trigger is used to generate a shutdown signal based on the third comparison result and the power-on signal.

[0114] For example, Fig. 9 As shown, if the inductor is in the disconnected state, the power-on signal EN is enabled to 1, the first switch signal Hon is always 1, Vout is 0, which is less than the second preset voltage (90% of the target output voltage Vout_Target), then the RS trigger is 1, the enable terminal CTL of the timer 410 is 1, and the counter 411 starts to count the cycles of the input clock signal CLK. When the number of clock cycles reaches the preset number, the output of the last stage of the counter 411 is flipped, and the output of the D flip-flop 412 is 1. At this time, since the output voltage Vout is less than the first preset voltage (50% of the target output voltage Vout_Target), the output bit of the comparator 430 is 1. Therefore, the controller 420 outputs the first detection result 1 at the Float terminal, indicating that the inductor is in the disconnected state. If the inductor is in a connected state, the power-on signal EN is enabled to 1, the first switch signal Hon is turned on and off, and the enable terminal CTL of the timer 410 clears the counter 411 from time to time, so the output of the counter 411 cannot be flipped, and the output Q of the D flip-flop 412 is always 0 (when the power-on signal is not enabled, that is, when it is 0, Q is reset to 0, so if the clock does not flip, the output will always be 0), then the Float terminal of the controller 420 generates a second detection result of 0, indicating that the inductor is in a connected state. In addition, if the output voltage Vout is greater than the first preset voltage (50% of the target output voltage Vout_Target), the first comparator 430 outputs 0, which can also enable the Float terminal of the controller 420 to generate a second detection result of 0, indicating that the inductor is in a connected state.

[0115] The embodiment of the present application also provides a switching power supply, including the inductor disconnection detection circuit of the above-mentioned embodiments provided in the embodiment of the present application, and used to execute the inductor detection method of the above-mentioned embodiments provided in the embodiment of the present application, which will not be repeated here.

[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An inductor disconnection detection circuit, characterized in that: connected to a control module in a buck circuit, the buck circuit further comprising a voltage input terminal, a first transistor, a second transistor, an inductor and a voltage output terminal, wherein the voltage input terminal is used to be connected to the first terminal of the inductor through the first transistor, the first terminal of the inductor is used to be grounded through the second transistor, the second terminal of the inductor is used to be connected to the voltage output terminal, and the control module is used to generate a first switch signal for controlling the first transistor and a second switch signal for controlling the second transistor according to an output voltage generated by the voltage output terminal, a voltage at the first terminal of the inductor and a clock signal, so that the first transistor and the second transistor are alternately turned on; the inductor disconnection detection circuit comprises: a timer and a controller; The timer is used to record the duration of the first switch signal being at a preset level after the power-on signal of the Buck circuit is enabled; The controller is used to generate a first detection result when the duration of the first switch signal being at a preset level is greater than or equal to a preset time after the power-on signal of the Buck circuit is enabled; the first detection result indicates that the inductor is in a disconnected state; the first transistor is in a conductive state when the first switch signal is at a preset level; and the preset time is greater than the period of the clock signal.

2. The inductor disconnection detection circuit according to claim 1, characterized in that: The circuit also includes a first comparator; The first comparator is used to generate a first comparison result when the output voltage is less than a first preset voltage; The controller, when generating the first detection result when the duration of the first switch signal being a preset level is greater than or equal to a preset time after the power-on signal of the Buck circuit is enabled, is specifically used to: after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being a preset level is greater than or equal to a preset time, and the output voltage is less than a first preset voltage, generate the first detection result according to the first comparison result.

3. The inductor disconnection detection circuit according to claim 2, characterized in that: The timer includes a counter and a D flip-flop; The input end of the counter is connected to the clock signal, the enable end is connected to the first switch signal and the power-on signal, and the output end is connected to the clock input end of the D flip-flop; The counter is used to start counting the cycles of the clock signal after the power-on signal is enabled and the first switch signal is at a preset level, and if the counted number of cycles is greater than a preset number, an output terminal of the counter generates an edge signal; The D flip-flop is used to generate a first signal in response to the edge signal; The controller is used to generate a first detection result according to the first signal and the first comparison result.

4. The inductor disconnection detection circuit according to claim 3, characterized in that: The input terminal and the control terminal of the D flip-flop are both connected to the power-on signal of the Buck circuit; The D flip-flop is further configured to generate a second signal when the duration of the first switch signal being at a preset level is less than the preset time; The first comparator is further configured to generate a second comparison result when the output voltage is greater than the first preset voltage; The controller is further configured to generate a second detection result according to the second signal and the second comparison result, wherein the second detection result indicates that the inductor is in a connected state.

5. The inductor disconnection detection circuit according to any one of claims 1 to 3, characterized in that: The controller is further configured to generate a second detection result when, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is less than the preset time or the output voltage is greater than the first preset voltage; the second detection result indicates that the inductor is in a connected state.

6. The inductor disconnection detection circuit according to claim 5, characterized in that: The inductor disconnection detection circuit further includes a second comparator and a target gate circuit; the second comparator is connected to the timer through the target gate circuit; The second comparator is used to generate a third comparison result when the output voltage is greater than the second preset voltage; The target gate circuit is used to generate a shutdown signal according to the third comparison result; The timer is further configured to enter a closed state according to the closed signal.

7. The inductor disconnection detection circuit according to claim 6, characterized in that: The target gate circuit includes an RS trigger; The set end of the RS trigger is connected to the output end of the second comparator, the reset end is connected to the power-on signal, and the output end is connected to the control end of the timer; The RS trigger is used to generate a shutdown signal according to the third comparison result and the power-on signal.

8. A switching power supply, comprising the inductor disconnection detection circuit according to any one of claims 1 to 7.

9. A method for detecting inductor disconnection, characterized in that: Applied to an inductor disconnection detection circuit, the inductor disconnection detection circuit is used to connect to a control module in a buck circuit, the buck circuit also includes a voltage input terminal, a first transistor, a second transistor, an inductor and a voltage output terminal, wherein the voltage input terminal is used to connect to the first terminal of the inductor through the first transistor, the first terminal of the inductor is used to be grounded through the second transistor, the second terminal of the inductor is used to be connected to the voltage output terminal, the control module is used to generate a first switch signal for controlling the first transistor and a second switch signal for controlling the second transistor according to an output voltage generated by the voltage output terminal, a voltage at the first terminal of the inductor and a clock signal, so that the first transistor and the second transistor are alternately turned on; the method includes: If, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time, a first detection result is generated; the first detection result indicates that the inductor is in a disconnected state; the first transistor is in a conductive state when the first switch signal is at a preset level; and the preset time is greater than the period of the clock signal.

10. The method according to claim 9, characterized in that If, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time, a first detection result is generated, including: If, after the power-on signal of the Buck circuit is enabled, the duration of the first switch signal being at a preset level is greater than or equal to a preset time and the output voltage is less than a first preset voltage, a first detection result is generated.