BUCK circuit detection method, device, electronic equipment and medium
Patent Information
- Application Number
- CN202111553020.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-12-17
Smart Images

Figure CN114236355B
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit detection, and in particular to a BUCK circuit detection method, device, electronic equipment and medium. Background Art
[0002] The power supply on the server provides stable voltage and current for each component and is a key component to ensure the stable operation of the server. The power supply on the server motherboard is a DC-DC power supply, which is mostly a buck converter circuit. Figure 1 The circuit diagram of the traditional BUCK circuit is as follows: Figure 1 As shown, Q1 is a high-side transistor, Q2 is a low-side transistor, the low-side transistor is connected to the inductor, and then connected to the load to form a loop. The BUCK circuit mainly realizes step-down power supply by alternately turning on the two transistors Q1 and Q2, and filtering the output voltage and current by the inductor and capacitor. When a short-circuit fault occurs in the BUCK circuit, the short-circuit fault is currently detected by checking each device in the circuit one by one.
[0003] In a traditional BUCK circuit, when the high-side transistor is turned on and the low-side transistor is short-circuited, the mainboard is easily burned. Currently, short-circuit faults are detected by checking each device in the circuit one by one, which is time-consuming and laborious.
[0004] It can be seen that how to detect whether the low-side transistor in the BUCK circuit is short-circuited is a problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0005] The purpose of the present application is to provide a BUCK circuit detection method, device, electronic device and medium, which can accurately identify whether the low-side transistor is short-circuited, and is used to reduce the risk of burning the motherboard due to the high-side transistor being turned on and the low-side transistor being short-circuited.
[0006] In order to solve the above technical problems, the present application provides a BUCK circuit detection device, including: a transistor Q3, a detection control unit 2 and a system management chip 3;
[0007] The transistor Q3 forms a loop with the low-side transistor Q2, the inductor L, and the load R;
[0008] The detection control unit 2 is connected to the transistor Q3, and is used to apply current to both ends of the transistor Q3 and detect the voltage across both ends of the transistor Q3;
[0009] The system management chip 3 is connected to the detection control unit 2 and is used to control the detection control unit 2 to apply current across the transistor Q3 and to control the detection control unit 2 to detect the voltage across the transistor Q3. If the voltage is 0, it is determined that the low-side transistor Q2 is short-circuited.
[0010] Preferably, the detection control unit 2 includes a current source, a voltmeter and a transistor driver.
[0011] Preferably, transistor Q3 is a MOSFET.
[0012] Preferably, after determining that the low-side transistor Q2 is short-circuited, the system management chip 3 is also used to control power-off of the system.
[0013] Preferably, if the voltage is not 0, the system management chip 3 is further used to control the detection control unit 2 to turn on the transistor Q3.
[0014] In order to solve the above technical problems, the present application also provides a BUCK circuit, including the above BUCK circuit detection device.
[0015] Preferably, the BUCK circuit further includes a capacitor C, which is connected to the load R in parallel.
[0016] In order to solve the above technical problems, the present application also provides a BUCK circuit detection method, which is applied to a BUCK circuit detection device. The method includes:
[0017] Controlling the detection control unit to apply current across the transistor;
[0018] The control detection control unit detects the voltage across the transistor;
[0019] If the voltage is 0, it is determined that the low-side transistor is short-circuited.
[0020] In order to solve the above technical problems, the present application also provides an electronic device, including:
[0021] Memory for storing computer programs;
[0022] A processor is used to implement the steps of the above-mentioned BUCK circuit detection method when executing the computer program.
[0023] In order to solve the above technical problem, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above BUCK circuit detection method are implemented.
[0024] The present application proposes a BUCK circuit detection method, which is applied to a BUCK circuit detection device. The BUCK circuit detection device includes a transistor Q3, a detection control unit 2, and a system management chip 3; the transistor Q3 forms a loop with the low-side transistor Q2, the inductor L, and the load R; the detection control unit 2 is connected to the transistor Q3, and is used to apply a current across the transistor Q3 and detect the voltage across the transistor Q3; the system management chip 3 is connected to the detection control unit 2, and is used to control the detection control unit 2 to apply a current across the transistor Q3 and control the detection control unit 2 to detect the voltage across the transistor Q3. If the voltage is 0, it is determined that the low-side transistor Q2 is short-circuited. The BUCK circuit detection device proposed in the present application can accurately identify whether the low-side transistor Q2 in the BUCK circuit is short-circuited, and effectively reduces the risk of burning the motherboard due to the high-side transistor Q1 being turned on and the low-side transistor Q2 being short-circuited. Compared with the traditional BUCK circuit detection method, the method proposed in the present application is more efficient.
[0025] In addition, an electronic device and a medium provided in the present application correspond to the BUCK circuit detection method, and the effects are as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only 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 work.
[0027] Figure 1 This is the circuit diagram of the traditional BUCK circuit;
[0028] Figure 2 A circuit diagram of a BUCK circuit provided in this application;
[0029] Figure 3 A structural diagram of an electronic device provided in this application.
[0030] Among them, 1 is a transistor driver, 2 is a detection control unit, 3 is a system management chip, 20 is a memory, 21 is a processor, 22 is a display screen, 23 is an input and output interface, 24 is a communication interface, 25 is a communication bus, 201 is a computer program, 202 is an operating system, and 203 is data. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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.
[0032] The core of this application is to provide a BUCK circuit detection method, device, electronic device and medium, which can accurately identify whether the low-side transistor is short-circuited by detecting whether the voltage across the transistor is 0, thereby reducing the risk of burning the motherboard due to the high-side transistor being turned on and the low-side transistor being short-circuited.
[0033] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0034] Figure 2 A circuit diagram of a BUCK circuit provided in this application. Figure 1 The conventional BUCK circuit shown in the figure, the BUCK circuit provided by the present application also includes a BUCK circuit detection device. Figure 2 The buck circuit detection device in the embodiment is described.
[0035] The BUCK circuit detection device includes a transistor Q3, a detection control unit 2 and a system management chip 3. The transistor Q3, the low-side transistor Q2, the inductor L and the load R form a loop; the detection control unit 2 is connected to the transistor Q3, and is used to apply a current to both ends of the transistor Q3 and detect the voltage across the transistor Q3; the system management chip 3 is connected to the detection control unit 2, and is used to control the detection control unit 2 to apply a current to both ends of the transistor Q3 and control the detection control unit 2 to detect the voltage across the transistor Q3. If the voltage is 0, it is determined that the low-side transistor Q2 is short-circuited.
[0036] In this embodiment, the transistor Q3 may be a diode, a triode, or a field effect transistor. This embodiment does not limit the type of the transistor Q3. Figure 2In the loop formed by the transistor Q3, the low-side transistor Q2, the inductor L and the load R shown, in order to prevent the current applied by the detection control unit 2 from being directly grounded, the transistor Q3 can be arranged between the inductor L and the load R, or between the low-side transistor Q2 and the inductor L. In order to prevent a large reverse current from breaking down the transistor, the transistor Q3, the low-side transistor Q2 and the high-side transistor Q1 are all provided with parasitic diodes. When a large instantaneous reverse current is generated in the circuit, the current can be conducted through the parasitic diode, which can effectively protect the transistor from being broken down. In addition, when the BUCK circuit is working normally, in order to avoid the high-side transistor Q1 and the low-side transistor Q2 being turned on at the same time, resulting in the input voltage being grounded, the high-side transistor Q1 can be turned off first. When the inductor L releases electric energy, the BUCK circuit continues to work through the loop formed by the parasitic diode of the low-side transistor Q2 and the inductor L, the transistor Q3 and the load R. Before the low-side transistor Q2 is turned on, the parasitic diode temporarily replaces the low-side transistor Q2 for freewheeling.
[0037] In a specific implementation, as a preferred embodiment, the detection control unit 2 may include a current source, a voltmeter and a transistor driver. The current source is used to apply current across the transistor Q3, and the voltmeter is used to detect the voltage across the transistor Q3. Since the transistor Q3 needs to be turned off to detect the voltage across it when detecting whether the low-side transistor Q2 is short-circuited, and the transistor Q3 needs to be turned on when the BUCK circuit is working normally, the transistor driver in the detection control unit 2 is used to control the on and off of the transistor Q3; as another preferred embodiment, the detection control unit 2 may include a current source and a voltmeter. At this time, the detection control unit 2 needs to be connected to the transistor driver 1, and the detection control unit 2 controls the on and off of the transistor Q3 through the transistor driver 1.
[0038] When the BUCK circuit detection device is working, the detection control unit 2 controls the transistor Q3 to be in an open circuit state through the transistor driver. The system management chip 3 controls the current source in the detection control unit 2 to apply current across the transistor Q3, and controls the voltmeter to detect the voltage across the transistor Q3. If the low-side transistor Q2 is not short-circuited, the current source, load R, low-side transistor Q2 and inductor L form a loop. Since the direction of the current applied by the current source to the right side of transistor Q3 is inconsistent with the conduction direction of the parasitic diode of transistor Q3, and the direction of the current applied to the left side of transistor Q3 is consistent with the conduction direction of the parasitic diode of transistor Q3, the current applied by the current source to the right side of transistor Q3 flows through the above loop, and the current applied to the left side of transistor Q3 passes through the parasitic diode of transistor Q3. The voltmeter can detect the voltage difference generated on the parasitic diode of transistor Q3, which means that when the voltage detected by the voltmeter is not 0, the low-side transistor Q2 is not short-circuited; if the low-side transistor Q2 is short-circuited, the current applied to the left side of transistor Q3 flows to the ground through the inductor L and the low-side transistor Q2. At this time, no current flows through the parasitic diode of transistor Q3, and the voltage detected by the voltmeter is 0, which means that when the voltage detected by the voltmeter is 0, the low-side transistor Q2 is short-circuited.
[0039] This embodiment proposes a BUCK circuit detection device, including a transistor Q3, a detection control unit 2 and a system management chip 3; the transistor Q3 forms a loop with the low-side transistor Q2, the inductor L and the load R; the detection control unit 2 is connected to the transistor Q3, and is used to apply a current across the transistor Q3 and detect the voltage across the transistor Q3; the system management chip 3 is connected to the detection control unit 2, and is used to control the detection control unit 2 to apply a current across the transistor Q3 and control the detection control unit 2 to detect the voltage across the transistor Q3. If the voltage is 0, it is determined that the low-side transistor Q2 is short-circuited. The BUCK circuit detection device proposed in this embodiment can accurately identify whether the low-side transistor Q2 in the BUCK circuit is short-circuited, and effectively reduces the risk of burning the mainboard due to the high-side transistor Q1 being turned on and the low-side transistor Q2 being short-circuited.
[0040] The above embodiment describes the structure of the detection control unit 2. In this embodiment, the detection control unit 2 includes a current source, a voltmeter, and a transistor driver, wherein the current source is used to apply current to both ends of the transistor Q3, the voltmeter is used to detect the voltage across both ends of the transistor Q3 after the current source applies the current, and the transistor driver is used to control the on and off of the transistor. It should be noted that this embodiment has no restriction on the number of current sources, voltmeters, and transistor drivers, and multiple ones can be set according to actual conditions to reduce the contingency of a single device damage affecting the detection result, which can effectively ensure the accuracy of the detection.
[0041] This embodiment limits the structure of the detection control unit 2. In this embodiment, the detection control unit 2 includes a current source, a voltmeter and a transistor driver, which can control the transistor Q3 to be in an open circuit state, apply current across the transistor Q3, and then detect the voltage across the two ends, so as to determine whether the low-side transistor Q2 is short-circuited based on the detected voltage.
[0042] The above embodiment does not limit the type of transistor Q3. To ensure that the detection control unit 2 can control the on and off of the transistor Q3, the present embodiment sets the transistor Q3 to be a metal oxide semiconductor field effect transistor (MOSFET). The MOSFET can still work when both the current and voltage are small, thereby effectively improving the stability of the BUCK circuit.
[0043] This embodiment limits the type of transistor Q3 and sets the transistor Q3 to be a MOSFET so that the detection control unit 2 can control its on and off and detect the voltage across the transistor Q3.
[0044] If the above embodiment determines that the low-side transistor Q2 is short-circuited according to the voltage measured by the detection control unit 2, it is necessary to control the system to be powered off through the system management chip 3. For example, after the voltmeter detects that the voltage across the transistor Q3 is 0, the detection control unit 2 communicates and reports the short-circuit fault to the system management chip 3 through the general input and output interface (GPIO) or the integrated circuit bus (IIC). After confirming the short-circuit fault, the system management chip 3 controls the system to be powered off to reduce the risk of accidents caused by the short-circuit fault. It should be noted that the detection control unit 2 can report the short-circuit fault to the system management chip 3 by sending a high level, or by outputting a voltage signal, and this embodiment does not limit this.
[0045] This embodiment provides a supplementary explanation for the system management chip 3. The system management chip 3 controls the system to power off when determining that the low-side transistor Q2 is short-circuited, which effectively reduces the risk of accidents caused by the short-circuit of the low-side transistor Q2 and improves the safety of the system.
[0046] If the above embodiment determines that the low-side transistor Q2 is not short-circuited based on the voltage measured by the detection control unit 2, the detection control unit 2 communicates and reports normally to the system management chip 3 through GPIO or IIC. At this time, the system management chip 3 needs to control the detection control unit 2 to turn on the transistor Q3 so that the BUCK circuit can work normally.
[0047] In this embodiment, when the voltage measured by the detection control unit 2 is not 0, the system management chip 3 controls the detection control unit 2 to turn on the transistor Q3, so that the BUCK circuit can work normally when there is voltage input.
[0048] The above embodiment describes the BUCK circuit detection device in detail. This embodiment also provides a BUCK circuit, which includes the BUCK circuit detection device mentioned in the above embodiment. It can be understood that the BUCK circuit includes an inductor L, a low-side transistor Q2 and a load R in addition to the BUCK circuit detection device.
[0049] The BUCK circuit provided in this embodiment includes a BUCK circuit detection device, which includes a transistor Q3, a detection control unit 2 and a system management chip 3; the transistor Q3 forms a loop with the low-side transistor Q2, the inductor L and the load R; the detection control unit 2 is connected to the transistor Q3, and is used to apply a current to both ends of the transistor Q3 and detect the voltage across the transistor Q3; the system management chip 3 is connected to the detection control unit 2, and is used to control the detection control unit 2 to apply a current to both ends of the transistor Q3 and control the detection control unit 2 to detect the voltage across the transistor Q3. If the voltage is 0, it is determined that the low-side transistor Q2 is short-circuited. In this embodiment, according to the voltage measured by the detection control unit 2, it is possible to accurately identify whether the low-side transistor Q2 is short-circuited, which effectively reduces the risk of burning the mainboard due to the high-side transistor Q1 being turned on and the low-side transistor Q2 being short-circuited.
[0050] The BUCK circuit mentioned in the above embodiment also includes a capacitor C, which is connected in parallel with the load R and forms a low-pass filter with the inductor L. Since the inductor L passes low frequencies and blocks high frequencies, and the capacitor C passes high frequencies and blocks low frequencies, it can suppress the harmonic components of the input voltage from passing through, thus playing a filtering role. It should be noted that when the BUCK circuit works normally, the current first passes through the inductor L, which stores energy and filters it, and then the capacitor C performs filtering.
[0051] The BUCK circuit provided in this embodiment includes a capacitor C, which can form a low-pass filter with an inductor L to suppress the passage of harmonic components of the input voltage and play a filtering role.
[0052] This embodiment provides a buck circuit detection method, which is applied to the buck circuit detection device in the above embodiment. The method includes:
[0053] Controlling the detection control unit to apply current across the transistor;
[0054] The control detection control unit detects the voltage across the transistor;
[0055] If the voltage is 0, it is determined that the low-side transistor is short-circuited.
[0056] This embodiment provides a BUCK circuit detection method, which detects the voltage across the transistor Q3 by the detection control unit 2, and determines that the low-side transistor Q2 is short-circuited when the voltage is 0. It can identify whether the low-side transistor Q2 is short-circuited, and effectively reduce the risk of burning the device due to the short circuit of the low-side transistor Q2.
[0057] Figure 3 A structural diagram of an electronic device provided in another embodiment of the present application, such as Figure 3 As shown, the electronic device includes: a memory 20 for storing a computer program;
[0058] The processor 21 is used to implement the steps of the BUCK circuit detection method mentioned in the above embodiment when executing the computer program.
[0059] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.
[0060] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0061] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the BUCK circuit detection method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the voltage across the transistor Q3, etc.
[0062] In some embodiments, the electronic device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power source 25 , and a communication bus 26 .
[0063] Those skilled in the art will understand that Figure 3 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than those shown in the figure.
[0064] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the BUCK circuit detection method recorded in the above method embodiment are implemented.
[0065] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0066] The BUCK circuit detection method, device, electronic device and medium provided by the present application are introduced in detail above. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
[0067] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A BUCK circuit detection device, characterized in that: include: Transistors, detection control units and system management chips; The transistor, the low-side transistor, the inductor and the load form a loop; the transistor and the low-side transistor include corresponding parasitic diodes; The detection control unit is connected to the transistor and is used to apply current to both ends of the transistor and detect the voltage across the transistor; the detection control unit includes a current source, a voltmeter and a transistor driver; The system management chip is connected to the detection control unit, and is used to control the current source in the detection control unit to apply current to both ends of the transistor and control the voltmeter in the detection control unit to detect the voltage at both ends of the transistor. If the voltage is 0, it is determined that the low-side transistor is short-circuited; wherein, in the loop formed by the transistor and the low-side transistor, the inductor and the load, the transistor is located between the inductor and the load, or between the low-side transistor and the inductor; Wherein, the transistor is a MOSFET, a diode or a triode; After determining that the low-side transistor is short-circuited, the detection control unit communicates and reports the short-circuit fault to the system management chip through a universal input and output interface or an integrated circuit bus, and the system management chip is also used to control system power off; If the voltage is not 0, the system management chip is further used to control the detection control unit to turn on the transistor.
2. A BUCK circuit, characterized in that: It includes the BUCK circuit detection device as claimed in claim 1.
3. The BUCK circuit according to claim 2, characterized in that: A capacitor is also included, and the capacitor is connected in parallel with the load.
4. A BUCK circuit detection method, characterized in that: Applied to the BUCK circuit detection device according to claim 1, the method comprises: Controlling a current source in the detection control unit to apply current across the transistor; Controlling the voltmeter in the detection control unit to detect the voltage across the transistor; If the voltage is 0, it is determined that the low-side transistor is short-circuited.
5. An electronic device, characterized in that: comprising a memory for storing a computer program; A processor, configured to implement the steps of the BUCK circuit detection method as claimed in claim 4 when executing the computer program.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the BUCK circuit detection method according to claim 4 are implemented.
Citation Information
Patent Citations
LED (light-emitting diode) drive circuit with circuit detection function and power switching circuit
CN102196623A
Synchronous Buck Regulator With Short Circuit To Voltage Source Protection
CN106067732A
Transistor bridge failure test
CN107219450A
SiC switch tube driving circuit and method of synchronous rectification Buck convertor
CN107769530A
Transistor fault detection platform and fault detection mode
CN111856234A
