Ground fault detection method and device for Buck converter

By collecting and filtering the input, output voltage and equivalent parasitic capacitance voltage of the Buck converter, the ground fault is determined, which solves the problem of difficult detection in the existing technology, achieves efficient and safe ground fault detection, and avoids the need for negative impact on the Buck converter. damage to the device.

CN118707394APending Publication Date: 2024-09-27XINGTAI POWER SUPPLY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410983347.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing buck converter ground fault detection technology is difficult to detect without damaging the packaging structure, and there are difficulties in detecting the current of the switch tube and inductor branch, which may cause device damage.

Method used

By collecting the input voltage, switching tube voltage, output voltage and equivalent parasitic capacitance voltage of the Buck converter when it is working, filtering and comparison are performed to determine whether there is a ground fault, and the fault type is determined through the mean filtering method to avoid damaging the Buck converter. of destruction.

Benefits of technology

It achieves efficient detection of ground faults without damaging the packaging structure of the Buck converter, improves the versatility and safety of detection, and avoids impact on the circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118707394A
    Figure CN118707394A
Patent Text Reader

Abstract

The invention discloses a ground fault detection method and device for a Buck converter. The Buck converter comprises an input power supply, a switching tube S1, a switching tube S2, an inductor L and an output capacitor Co, the method comprises the following steps: acquiring an input voltage uin at two ends of an input power supply, a voltage us at two ends of a switching tube S2, an output voltage uo at two ends of an output capacitor Co and a voltage uc at two ends of an equivalent parasitic capacitor between a connection point of the switching tubes S1 and S2 and a reference ground when the Buck converter works; and filtering the collected uin, us, uo and uc, judging whether the Buck converter has a grounding fault or not based on a filtering result, and determining the type of the grounding fault. Compared with the prior art, a current sensor is not needed, the universality is high, grounding faults can be detected only by detecting stray capacitor voltage signals and input voltage signals in the converter, voltage signals at the two ends of a switching tube and output voltage signals, the packaging structure of the Buck converter does not need to be damaged, a power source does not need to be disassembled, and the cost is low. And no impact influence is generated on the Buck converter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power electronics, and specifically designs a ground fault detection method, device, terminal and computer-readable storage medium for a Buck converter. Background Art

[0002] With the development of my country's new energy industry layout, the country is continuously developing a series of renewable energy power generation systems around photovoltaic technology, wind power technology, clean energy, etc. The concept of microgrid consisting of distributed energy, energy storage system, control equipment and load equipment has also emerged. In DC microgrids, the reliability of power electronic converters as important energy conversion devices has gradually become a research hotspot. Among them, the Buck converter is mainly responsible for converting the high-voltage DC bus voltage to the low-voltage DC bus voltage to meet the needs of low-voltage AC and DC loads, and stabilizes the output voltage by adjusting its duty cycle to ensure the normal operation of the load.

[0003] At present, Buck converters are widely used in electronic products due to their advantages. Whether they work properly directly affects the safety of power electronic equipment and even the failure of the entire microgrid system. Therefore, detecting the fault conditions at the input and output ends of the Buck converter, especially the grounding fault condition, is directly related to the fault condition and service life of the power supply.

[0004] At present, the existing Buck converter ground fault detection technology usually uses a current sensor to detect the current of the branch where the switch tube in the Buck converter is located, and compares the current detection result with the normal current value to determine whether a ground fault occurs. However, the Buck converter is generally packaged, which makes it difficult to detect the current of the branch where the switch tube and / or inductor are located without destroying the packaging structure of the Buck converter, and destroying the packaging structure of the Buck converter may cause damage to the device.

[0005] Therefore, the prior art needs to be improved. Summary of the invention

[0006] In order to solve the deficiencies in the prior art, the present invention provides a ground fault detection method, device, terminal and computer-readable storage medium for a Buck converter, so as to better realize the ground fault detection of the input and output ends of the Buck converter without destroying the packaging structure of the Buck converter.

[0007] The present invention adopts the following technical solution.

[0008] According to a first aspect of the present invention, a ground fault detection method for a Buck converter is provided. The Buck converter comprises: an input power supply, a switch tube S 1, switch tube S 2 , inductor L and output capacitor C o The positive electrode of the input power supply is connected in series through the switch tube S 1 and the inductor L is connected to the output capacitor C o The negative electrode of the input power supply is connected to the switch tube S 2 Connect to switch tube S 1 and the connection point of the inductor L, and connected to the other end of the output capacitor. The method comprises the following steps:

[0009] (1) Collecting the input voltage u at both ends of the input power supply when the Buck converter is working in , the switch tube S 2 The voltage across the two ends is u s , the output capacitor C o The output voltage u o , the switch tube S 1 And switch tube S 2 The voltage u across the equivalent parasitic capacitance between the connection point and the reference ground c ;

[0010] (2) For the collected u in 、u s 、u o 、u c Filtering is performed, and based on the filtering result, it is determined whether the Buck converter has a ground fault and the type of the ground fault is determined.

[0011] Furthermore, step (2) includes:

[0012] (21) For the collected u in 、u s 、u o 、u c Filter and obtain the filtered input voltage u in ', filter switch S 2 The voltage across the two ends is u s ', the output voltage after filtering u o ', the voltage u across the equivalent parasitic capacitor after filtering c ';

[0013] (22) Based on u in '、u s '、u o ', get the voltage estimate u of the two ends of the equivalent parasitic capacitor when the positive pole of the input terminal is grounded c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2", the estimated voltage value u of the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”;

[0014] (23) will u c 'and u c1 ”、u c2 ”、u c3 ”、u c4 " is compared to determine whether the Buck converter has a ground fault and the type of the ground fault.

[0015] Furthermore, step (21) further includes: filtering the collected u by the mean filtering method according to the following expression: in 、u s 、u o 、u c Filter and get u in '、u s '、u o '、u c ':

[0016]

[0017]

[0018] Where N is the number of sampling points and i is the sequence number of the sampling point.

[0019] Furthermore, step (22) further includes: determining the voltage estimation value u across the equivalent parasitic capacitor when the positive electrode of the input terminal is grounded according to the following expressions: c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 " and the estimated voltage value u across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”:

[0020] u c1 ”=u s '-u in ',

[0021] u c2 ”=u s ',

[0022] u c3 ”=u s '-u o ',

[0023] uc4 ”=u s '*(C A +C B +C D ) / (C A +C B +C C +C D )-u in '*C C / (C A +C B +C C +C D ),

[0024] Among them, C A is the equivalent parasitic capacitance between the positive electrode of the input power supply and the reference ground, C B is the equivalent parasitic capacitance between the negative pole of the input power supply and the reference ground, C C The switch tube S 1 And switch tube S 2 The equivalent parasitic capacitance between the connection point and the reference ground, C D The switch tube S 2 and output capacitor C o The equivalent parasitic capacitance value between the connection point and the reference ground.

[0025] Furthermore, step (23) further comprises:

[0026] When u c ' is equal to u c1 ", it is determined that there is a negative ground fault at the input terminal;

[0027] When u c ' is equal to u c2 ", it is determined that there is a positive ground fault at the input end;

[0028] When u c ' is equal to u c3 ", it is determined that there is a positive ground fault at the output end;

[0029] When u c '=u c4 ”, it is determined that there is no ground fault.

[0030] According to a second aspect of the present invention, a ground fault detection device for a Buck converter according to the first aspect of the present invention is provided. The Buck converter comprises: an input power supply, a switch tube S 1 , switch tube S 2 , inductor L and output capacitor C o The positive electrode of the input power supply is connected in series through the switch tube S 1and the inductor L is connected to the output capacitor C o The negative electrode of the input power supply is connected to the switch tube S 2 Connect to switch tube S 1 and the connection point of the inductor coil L, and is connected to the other end of the output capacitor. The device comprises:

[0031] A collection component is used to collect the input voltage u at both ends of the input power supply when the Buck converter is working. in , the switch tube S 2 The voltage across the two ends is u s , the output capacitor C o The output voltage u o , the switch tube S 1 And switch tube S 2 The voltage u across the equivalent parasitic capacitance between the connection point and the reference ground c ;

[0032] Judgment component, used to collect u in 、u s 、u o 、u c Filtering is performed, and based on the filtering result, it is determined whether the Buck converter has a ground fault and the type of the ground fault is determined.

[0033] Furthermore, the judging component includes:

[0034] The filter component is used to collect u in 、u s 、u o 、u c Filter and obtain the filtered input voltage u in ', filter switch S 2 The voltage across the two ends is u s ', the output voltage after filtering u o ', the voltage u across the equivalent parasitic capacitor after filtering c ';

[0035] Estimation subcomponent for in '、u s '、u o ', get the voltage estimate u of the two ends of the equivalent parasitic capacitor when the positive pole of the input terminal is grounded c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 " and the estimated value u of the voltage across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”;

[0036] Comparison subcomponent, used to compare u c 'and u c1 ”、u c2 ”、u c3 ”、u c4 " is compared to determine whether the Buck converter has a ground fault and the type of the ground fault.

[0037] Furthermore, the filtering subcomponent is also used to: filter the collected u by the mean filtering method according to the following expression: in 、u s 、u o 、u c4 "Filter and get u in '、u s '、u o '、u c ':

[0038]

[0039] Where N is the number of sampling points and i is the sequence number of the sampling point.

[0040] Furthermore, the estimation subcomponent is also used to: determine the voltage estimation value u across the equivalent parasitic capacitor when the positive pole of the input terminal is grounded according to the following expressions: c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 " and the estimated voltage value u across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”:

[0041] u c1 ”=u s '-u in ',

[0042] u c2 ”=u s ',

[0043] u c3 ”=u s '-u o ',

[0044] u c4 ”=u s '*(C A +C B +C D ) / (C A +C B +C C+C D )-u in '*C C / (C A +C B +C C +C D ),

[0045] Among them, C A is the equivalent parasitic capacitance between the positive electrode of the input power supply and the reference ground, C B is the equivalent parasitic capacitance between the negative pole of the input power supply and the reference ground, C C The switch tube S 1 And switch tube S 2 The equivalent parasitic capacitance between the connection point and the reference ground, C D The switch tube S 2 and output capacitor C o The equivalent parasitic capacitance value between the connection point and the reference ground.

[0046] Furthermore, the comparison subcomponent is also used for:

[0047] When u c Equal to u c1 ", it is determined that there is a negative ground fault at the input terminal;

[0048] When u c Equal to u c2 ", it is determined that there is a positive ground fault at the input end;

[0049] When u c Equal to u c3 ", it is determined that there is a positive ground fault at the output end;

[0050] When u c '=u c4 ”, it is determined that there is no ground fault.

[0051] According to a third aspect of the present invention, a terminal is provided, which includes a processor and a storage medium, wherein the storage medium is used to store instructions, and the processor is used to operate according to the instructions to execute the steps of the ground fault detection method according to the first aspect of the present invention.

[0052] According to a fourth aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, wherein the one or more programs include instructions, which when executed by a computing device, cause the computing device to perform the ground fault detection method according to the first aspect of the present invention.

[0053] The beneficial effect of the present invention is that, compared with the prior art, no current sensor is required, the present invention has high versatility, and only needs to detect the switching tube S when the Buck converter is working. 1 And switch tube S 2 The parasitic capacitance voltage signal between the connection point of the reference ground (protective earth, PE), the input voltage signal, the switch tube S 2 The voltage signals at both ends and the output voltage signal can detect the ground fault, which is not affected by the power inductance parameters of the Buck converter and the changes in other parameters in the Buck converter topology. It has high practicality and can avoid damaging the packaging structure of the Buck converter. At the same time, the present invention does not need to disassemble the power supply and has no impact on the Buck converter, thereby ensuring the safety and reliability of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 The main circuit diagram of the Buck converter of the present invention;

[0055] Figure 2 Schematic diagram of the flow of the ground fault detection method of the Buck converter of the present invention;

[0056] Figure 3 is an equivalent circuit diagram of the Buck converter of the present invention after equivalent replacement;

[0057] Figure 4 The equivalent circuit diagram of the Buck converter of the present invention when the positive electrode of the input terminal is grounded;

[0058] Figure 5 The equivalent circuit diagram of the Buck converter of the present invention when the negative electrode of the input terminal is grounded fault;

[0059] Figure 6 The equivalent circuit diagram of the Buck converter of the present invention when the positive electrode at the output end is grounded fault. DETAILED DESCRIPTION

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

[0061] According to a first aspect of the present invention, a method for detecting a ground fault of a Buck converter is provided. The Buck converter structure is as follows: Figure 1 As shown, it includes input power supply, inductor coil L, switch tube S 1 , switch tube S2 and output capacitor C o The positive pole of the input power source is connected in series through the switch tube S 1 and the inductor L is connected to the output capacitor C o The negative pole of the input power supply is connected to the switch tube S 2 Connect to switch tube S 1 The connection point of the inductor L and the output capacitor C o There are stray equivalent parasitic capacitances between each part of the Buck converter and the reference ground (protective earth, PE), including the input port to ground capacitance, and the output port and load end to reference ground capacitance. For example, Figure 1 In the example, the equivalent parasitic capacitance between the positive electrode of the input power supply and the reference ground is C A , the equivalent parasitic capacitance between the negative pole of the input power supply and the reference ground is C B , the switch tube S 1 And switch tube S 2 The equivalent parasitic capacitance between the connection point and the reference ground is C C , the switch tube S 2 and output capacitor C o The equivalent parasitic capacitance between the connection point and the reference ground is C D . C A , C B , C C , C D It is usually several hundred picofarads. c The capacitance value is C C The voltage on the equivalent parasitic capacitance.

[0062] The Buck converter in this embodiment can be implemented by using an existing Buck chip (such as LT8638S, etc.). These existing Buck chips usually have a switch tube S integrated inside. 1 and S 2 And the corresponding control circuit. These Buck chips usually have Vin pin, GND pin, SW pin, etc. Among them, the Vin pin is connected to the positive pole of the input power supply; the GND pin is connected to the negative pole of the input power supply; the SW pin is connected to the switch tube S 1 And switch tube S 2 The connection point, and through the inductor L and the output capacitor C o The filtering circuit forms the output port.

[0063] Based on the Buck converter of the above structure, in one embodiment, Figure 2 The ground fault detection method of the Buck converter of the present invention comprises the following steps:

[0064] Step S1, collecting the input voltage u at both ends of the input power supply when the Buck converter is working in , switch tube S 2 The voltage across the two ends is u s , output capacitor C o The output voltage u o , switch tube S 1 And switch tube S 2 The equivalent parasitic capacitance C between the connection point and the reference ground C The voltage across the two ends is u c .

[0065] In this step, when using Buck chip, u c This can be determined by measuring the voltage between the SW pin and the GND pin.

[0066] Step S2, collect u in 、u s 、u o 、u c Perform filtering, and determine whether the Buck converter has a ground fault and the type of the ground fault based on the filtering result. This step may specifically include the following sub-steps:

[0067] Step S21, collect u in 、u s 、u o 、u c Filter and obtain the filtered input voltage u in ', filter switch S 2 The voltage across the two ends is u s ', the output voltage after filtering u o ', the voltage u across the equivalent parasitic capacitor after filtering c '.

[0068] In step S21, the specific filtering method adopts mean filtering, which is characterized in that its principle and implementation method are relatively simple. When filtering, the sampling values ​​of N periods are averaged. The algorithm is simple, has a good inhibitory effect on periodic interference, has high smoothness, and is relatively common when implemented in code. The algorithm expression of the mean filtering is:

[0069]

[0070] Among them, y(k)' is the filtered value obtained by mean filtering of the current measurement object k, and y(i) is the sampling value corresponding to the i-th period; when the value of N is larger, the smoothness of the filtered signal is better, but the sensitivity is poor; on the contrary, the smaller the value of N is, the worse the smoothness of the filtered signal is, but the sensitivity is better.

[0071] Correspondingly, for the collected u in 、u s 、u o 、u c After filtering, the obtained u in '、u s '、u o '、u c ' can be expressed as:

[0072]

[0073] Where N is the number of sampling points and i is the sequence number of the sampling point.

[0074] Step S22, based on u in '、u s '、u o ', get the voltage estimate u of the two ends of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the positive pole of the input terminal is grounded c2 " and the estimated voltage value u across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”.

[0075] Step S22 specifically includes:

[0076] First, the substitution theorem is used to derive the equivalent circuit model, and the devices containing parasitic parameters are equivalently replaced with voltage sources and current sources with the same waveform. According to Kirchhoff's voltage law and Ohm's law, after replacing the voltage and current between the four nodes of the converter, the equivalent circuit is as follows: Figure 3 As shown, u in 、u s 、u o 、u c They are input voltage, switch tube S 2 The voltage across the two ends, the output voltage and the parasitic capacitance between the Buck converter and the reference ground correspond to the equivalent voltage source, and i s The switch tube S 1 The waveforms of these current sources and voltage sources are exactly the same as the current or voltage borne by their respective switching tubes.

[0077] When a ground fault occurs at the positive terminal of the input terminal, the equivalent circuit is as follows Figure 4 As shown, using the superposition theorem, when only a single voltage source or current source is considered, other voltage sources are short-circuited and current sources are short-circuited. Therefore, when the positive pole of the input terminal is grounded, u c The estimated value u c1"satisfy:

[0078] u c1 ”=u s '-u in '

[0079] When a ground fault occurs at the negative terminal of the input terminal, the equivalent circuit is as follows Figure 5 As shown, using the superposition theorem, when only a single voltage source or current source is considered, other voltage sources are short-circuited and current sources are short-circuited. Therefore, when the negative pole of the input terminal is grounded, u c The estimated value u c2 "satisfy:

[0080] u c2 ”=u s '

[0081] When a ground fault occurs at the positive electrode of the output terminal, the equivalent circuit is as follows Figure 6 As shown, using the superposition theorem, when only a single voltage source or current source is considered, other voltage sources are short-circuited and current sources are short-circuited. Therefore, when the positive pole of the output terminal is grounded, u c The estimated value u c3 "satisfy:

[0082] u c3 ”=u s '-u o '

[0083] When there is no ground fault, the equivalent circuit is as follows Figure 3 As shown, using the superposition theorem, when only a single voltage source or current source is considered, other voltage sources are short-circuited and current sources are short-circuited. Therefore, when there is no ground fault, u c The estimated value u c4 "satisfy:

[0084] u c4 ”=u s '*(C A +C B +C D ) / (C A +C B +C C +C D )-u in '*C C / (C A +C B +C C +C D ),

[0085] Among them, C A is the equivalent parasitic capacitance between the positive electrode of the input power supply and the reference ground, C Bis the equivalent parasitic capacitance between the negative pole of the input power supply and the reference ground, C C The switch tube S 1 And switch tube S 2 The equivalent parasitic capacitance between the connection point and the reference ground, C D The switch tube S 2 The equivalent parasitic capacitance between the connection point of the output capacitor Co and the reference ground. A , C B , C C , C D For example, it can be determined by referring to the user manual of the Buck chip when it leaves the factory.

[0086] Step S23: c 'and u c1 ”、u c2 ”、u c3 ”、u c4 " is compared to determine whether the Buck converter has a ground fault and the type of the ground fault.

[0087] Step S23 specifically includes:

[0088] Step S231, determine u c 'Is it related to u c1 " are equal. If they are equal, a ground fault occurs at the positive terminal of the input terminal;

[0089] Step S232, determine u c 'Is it related to u c2 " are equal. If they are equal, a ground fault occurs at the negative pole of the input terminal;

[0090] Step S233, determine u c 'Is it related to u c3 " are equal. If they are equal, a ground fault occurs at the positive pole of the output terminal;

[0091] Step S234, determine u c 'Is it related to u c4 ” are equal. If they are equal, there is no ground fault.

[0092] According to a second aspect of the present invention, a ground fault detection device for a Buck converter is provided. The Buck converter structure targeted by the device is as follows: Figure 1 The above has been introduced in the previous article and will not be repeated here.

[0093] In one embodiment, the Buck converter ground fault detection device includes:

[0094] The collecting component is used to collect the input voltage signal u at both ends of the input power supply when the Buck converter is working. in, switch tube S 2 The voltage across the two ends is u s , output capacitor C o The output voltage u o , the switch tube S 1 And switch tube S 2 The voltage u across the equivalent parasitic capacitance between the connection point and the reference ground c ;

[0095] Judgment component, used to collect u in 、u s 、u o 、u c Filtering is performed, and based on the filtering result, it is determined whether the Buck converter has a ground fault and the type of the ground fault is determined.

[0096] Furthermore, the judging component specifically includes:

[0097] The filter component is used to collect u in 、u s 、u o 、u c Filter and obtain the filtered input voltage u in ', filter switch S 2 The voltage across the two ends is u s ', the output voltage after filtering u o ', the voltage u across the equivalent parasitic capacitor after filtering c ';

[0098] Estimation subcomponent for in '、u s '、u o ', get the equivalent parasitic capacitance C when the positive electrode of the input terminal is grounded C The estimated voltage across the two terminals is u c1 ", the equivalent parasitic capacitance C when the negative electrode of the input terminal is grounded C The estimated voltage across the two terminals is u c2 ", the equivalent parasitic capacitance C when the positive electrode of the output terminal is grounded C The estimated voltage across the two terminals is u c3 ", the equivalent parasitic capacitance C when there is no ground fault C The estimated voltage across the two terminals is u c4 ”;

[0099] Comparison subcomponent, used to compare u c 'and u c1 ”、u c2 ”、u c3 ”、u c4" is compared to determine whether the Buck converter has a ground fault and the type of the ground fault.

[0100] Furthermore, the filtering subcomponent is also used to: filter the collected u by the mean filtering method according to the following expression: in 、u s 、u o 、u c Filter and get u in '、u s '、u o '、u c ':

[0101]

[0102] Where N is the number of sampling points and i is the sequence number of the sampling point.

[0103] Furthermore, the estimation subcomponent is also used to: determine the voltage estimation value u across the equivalent parasitic capacitor when the positive pole of the input terminal is grounded according to the following expressions: c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 " and the estimated voltage value u across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”:

[0104] u c1 ”=u s '-u in ',

[0105] u c2 ”=u s ',

[0106] u c3 ”=u s '-u o ',

[0107] u c4 ”=u s '*(C A +C B +C D ) / (C A +C B +C C +C D )-u in '*C C / (C A +C B +C C +C D ),

[0108] Among them, C A is the equivalent parasitic capacitance between the positive electrode of the input power supply and the reference ground, C B is the equivalent parasitic capacitance between the negative pole of the input power supply and the reference ground, C C The switch tube S 1 And switch tube S 2 The equivalent parasitic capacitance between the connection point and the reference ground, C D The switch tube S 2 and output capacitor C o The equivalent parasitic capacitance between the connection point and the reference ground. A , C B , C C , C D For example, it can be determined by referring to the user manual of the Buck chip when it leaves the factory.

[0109] Furthermore, the comparison subcomponent is also used for:

[0110] When u c ' is equal to u c1 ", it is determined that there is a negative ground fault at the input terminal;

[0111] When u c ' is equal to u c2 ", it is determined that there is a positive ground fault at the input end;

[0112] When u c ' is equal to u c3 ", it is determined that there is a positive ground fault at the output end;

[0113] When u c ' is equal to u c4 ”, it is determined that there is no ground fault.

[0114] According to a third aspect of the present invention, a terminal is further provided. The terminal includes a processor and a storage medium. The storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the ground fault detection method according to the second aspect of the present invention. Since the ground fault monitoring method has been introduced above, it will not be repeated here.

[0115] A computer-readable storage medium storing one or more programs. The one or more programs include instructions, and when the instructions are executed by a computing device, the computing device performs the steps of the ground fault detection method according to the second aspect of the present invention. Since the ground fault monitoring method has been introduced above, it will not be repeated here.

[0116] According to a fourth aspect of the present invention, a computer-readable storage medium storing one or more programs is also provided. The one or more programs include instructions, and when the instructions are executed by a computing device, the computing device executes the ground fault detection method according to the second aspect of the present invention. Since the ground fault monitoring method has been introduced above, it will not be repeated here.

[0117] Compared with the prior art, the present invention does not require a current sensor and has high versatility. It can detect ground faults by simply detecting the parasitic capacitance voltage signal, the input voltage signal, the voltage signal at both ends of the switch tube, and the output voltage signal. There is no need to destroy the packaging structure of the Buck converter, and there is no need to disassemble the power supply, which has no impact on the Buck converter.

[0118] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0119] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0120] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0121] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A ground fault detection method for a Buck converter, the Buck converter comprising: Input power supply, switch tube S1, switch tube S2, inductor L and output capacitor C o The positive electrode of the input power supply is connected to the output capacitor C via the switch tube S1 and the inductor L connected in series. o The negative electrode of the input power supply is connected to the connection point of the switch tube S1 and the inductor L through the switch tube S2, and is connected to the output capacitor C o The other end; characterized in that the method comprises the following steps: (1) Collecting the input voltage u at both ends of the input power supply when the Buck converter is working in , the voltage u across the switch tube S2 s , the output capacitor C o The output voltage u o , the voltage u across the equivalent parasitic capacitance between the connection point of the switch tube S2 and the switch tube S1 and the reference ground c ; (2) For the collected u in 、u s 、u o 、u c Filtering is performed, and based on the filtering result, it is determined whether the Buck converter has a ground fault and the type of the ground fault is determined.

2. The ground fault detection method according to claim 1, characterized in that: Step (2) comprises: (21) For the collected u in 、u s 、u o 、u c Filter and obtain the filtered input voltage u in ', the voltage u across the switch S2 after filtering s ', the output voltage after filtering u o ', the voltage u across the equivalent parasitic capacitor after filtering c '; (22) Based on u in '、u s '、u o ', get the voltage estimate u of the two ends of the equivalent parasitic capacitor when the positive pole of the input terminal is grounded c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 ", the estimated voltage value u of the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”; (23) will u c 'and u c1 ”、u c2 ”、u c3 ”、u c4 " is compared to determine whether the Buck converter has a ground fault and the type of the ground fault.

3. The ground fault detection method according to claim 2, characterized in that: Step (21) also includes: using the mean filtering method to filter the collected u according to the following expression: in 、u s 、u o 、u c Filter and get u in '、u s '、u o '、u c ': Where N is the number of sampling points and i is the sequence number of the sampling point.

4. The ground fault detection method according to claim 3, characterized in that: Step (22) also includes: determining the voltage estimation value u at both ends of the equivalent parasitic capacitor when the positive electrode of the input terminal is grounded according to the following expressions: c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 " and the estimated voltage value u across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”: in c1 "=in" s '-in in ', in c2 "=in" s ', in c3 "=in" s '-in o ', u c4 ″=u s ′*(C A +C B +C D ) / (C A +C B +C C +C D )-u in ′*C C / (C A +C B +C C +C D ), Among them, C A is the equivalent parasitic capacitance between the positive electrode of the input power supply and the reference ground, C B is the equivalent parasitic capacitance between the negative pole of the input power supply and the reference ground, C C is the equivalent parasitic capacitance between the connection point of the switch tube S1 and the switch tube S2 and the reference ground, C D The switch tube S2 and the output capacitor C o The equivalent parasitic capacitance value between the connection point and the reference ground.

5. The ground fault detection method according to claim 4, characterized in that: Step (23) further comprises: When u c ' is equal to u c1 ", it is determined that there is a positive ground fault at the input end; When u c ' is equal to u c2 ", it is determined that there is a negative ground fault at the input terminal; When u c ' is equal to u c3 ", it is determined that there is a positive ground fault at the output end; When u c When '=uc4", it is determined that there is no ground fault.

6. A ground fault detection device for a Buck converter, the Buck converter comprising: Input power supply, switch tube S1, switch tube S2, inductor L and output capacitor C o The positive electrode of the input power supply is connected to the output capacitor C via the switch tube S1 and the inductor L connected in series. o The negative electrode of the input power supply is connected to the connection point of the switch tube S1 and the inductor L through the switch tube S2, and is connected to the output capacitor C o The other end; characterized in that the device comprises: A collection component is used to collect the input voltage u at both ends of the input power supply when the Buck converter is working. in , the voltage u across the switch tube S2 s , the output capacitor C o The output voltage u o , the voltage u across the equivalent parasitic capacitance between the connection point of the switch tube S1 and the switch tube S2 and the reference ground c ; Judgment component, used to collect u in 、u s 、u o 、u c Filtering is performed, and based on the filtering result, it is determined whether the Buck converter has a ground fault and the type of the ground fault is determined.

7. The ground fault detection device according to claim 6, characterized in that: The judging component comprises: The filter component is used to collect u in 、u s 、u o 、u c Filter and obtain the filtered input voltage u in ', the voltage u across the switch S2 after filtering s ', the output voltage after filtering u o ', the voltage u across the equivalent parasitic capacitor after filtering c '; Estimation subcomponent for in '、u s '、u o ', get the voltage estimate u of the two ends of the equivalent parasitic capacitor when the positive pole of the input terminal is grounded c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 " and the estimated value u of the voltage across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”; Comparison subcomponent, used to compare u c 'and u c1 ”、u c2 ”、u c3 ”、u c4 " is compared to determine whether the Buck converter has a ground fault and the type of the ground fault.

8. The ground fault detection device according to claim 7, characterized in that: The filter subcomponent is also used to: filter the collected u by the mean filtering method according to the following expression in 、u s 、u o 、u c Filter and get u in '、u s '、u o '、u c ': Where N is the number of sampling points and i is the sequence number of the sampling point.

9. The ground fault detection device according to claim 8, characterized in that: The estimation subcomponent is also used to determine the voltage estimation value u of the two ends of the equivalent parasitic capacitor when the positive pole of the input terminal is grounded according to the following expressions: c1 "、The estimated voltage value u of the equivalent parasitic capacitor when the negative pole of the input terminal is grounded c2 " and the estimated voltage value u across the equivalent parasitic capacitor when the positive pole of the output terminal is grounded c3 ", the estimated voltage value u across the equivalent parasitic capacitance when there is no ground fault c4 ”: in c1 "=in" s '-in in ', in c2 "=in" s ', in c3 "=in" s '-in o ', u c4 ”=u s '*(C A +C B +C D ) / (C A +C B +C C +C D )-u in '*C C / (C A +C B +C C +C D ), Among them, C A is the equivalent parasitic capacitance between the positive electrode of the input power supply and the reference ground, C B is the equivalent parasitic capacitance between the negative pole of the input power supply and the reference ground, C C is the equivalent parasitic capacitance between the connection point of the switch tube S1 and the switch tube S2 and the reference ground, C D The switch tube S2 and the output capacitor C o The equivalent parasitic capacitance value between the connection point and the reference ground.

10. The ground fault detection device according to claim 9, characterized in that: The comparison subcomponent is also used to: When u c ' is equal to u c1 ", it is determined that there is a positive ground fault at the input end; When u c ' is equal to u c2 ", it is determined that there is a negative ground fault at the input terminal; When u c ' is equal to u c3 ", it is determined that there is a positive ground fault at the output end; When u c ' is equal to u c4 ”, it is determined that there is no ground fault.

11. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is used to operate according to the instruction to execute the steps of the ground fault detection method according to any one of claims 1-5.

12. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions, which, when executed by a computing device, cause the computing device to perform the steps of the ground fault detection method according to any one of claims 1-5.