Bus capacitance detection method and device of switching power supply, medium, product and equipment
By collecting the voltage and current parameters of the switching power supply in real time, calculating the average duty cycle and operating efficiency, accurately detecting the bus capacitor, solving the problems of detection difficulty and topological type limitations in the existing technology, and improving the reliability of the power supply.
Patent Information
- Application Number
- CN202410979131.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-12
AI Technical Summary
The prior art is difficult to perform non-invasive and accurate detection of the bus capacitors of switching power supplies, and due to the limitation of the topology of switching power supplies, it cannot be detected without affecting the operating state of the power supply.
By obtaining the real-time input voltage, input current, output voltage and load current of the switching power supply, determining the critical moments within the target time range, calculating the average duty cycle and normal operation efficiency, thereby accurately detecting the capacitance value of the bus capacitor and achieving no external detection Unlimited detection of signal injection and topology types.
It realizes accurate detection of the switch power bus capacitor, can monitor the capacitor status during normal operation, judge the fault condition, replace the aging capacitor in time, and improve the reliability of the power supply.
Smart Images

Figure CN118937806A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power supply technology, and in particular to a bus capacitance detection method, device, medium, product and equipment for a switching power supply. Background Art
[0002] The structure of a switching power supply is usually complex. For example, an AC-DC-DC switching power supply needs to use multiple modules to convert AC power into constant DC power. Each module has a different topology, and the DC-DC converter is the core of the AC-DC-DC switching power supply. There are many types of DC-DC converters, including Buck converter, Boost converter, Buck-Boost converter, forward converter, flyback converter, push-pull converter, half-bridge converter, full-bridge converter, etc.
[0003] Generally speaking, the bus capacitor of a switching power supply is located between the rectifier bridge and the DC-DC converter, which plays a role in voltage stabilization. However, during the use of the bus capacitor, the capacitance value will decrease and the equivalent series resistance (ESR) will increase. When the bus capacitor decays to a certain extent, the bus voltage of the switching power supply cannot meet the demand, and even the output voltage may drop. From the above, it can be seen that the bus capacitor is the weak link of the switching power supply and has a great impact on the performance of the entire switching power supply. Therefore, the parameter detection of the bus capacitor is directly related to the failure and service life of the switching power supply. On the other hand, the switching power supply is widely used due to its advantages. Many applications require the power supply to have high reliability. Some switching power supplies cannot be shut down at will during operation. Stopping for detection, disassembling the switching power supply for detection, and removing the capacitor for detection may cause damage to the power supply system.
[0004] The existing technology mainly detects a single topology and relies on the parameters of the main topology of the switching power supply (used to describe the circuit structure and layout method). It is restricted by the type of the switching power supply topology, and is limited in scope and application scenarios. It usually requires the injection of a detection signal from outside the switching power supply, which can easily affect the operating state of the switching power supply. Summary of the invention
[0005] In order to solve the above technical problems, the embodiments of the present application propose a bus capacitance detection method, device, medium, product and equipment for a switching power supply, which can perform non-invasive and accurate capacitance detection on the bus capacitance of the switching power supply without injecting external detection signals and is not restricted by the topology type of the switching power supply.
[0006] In a first aspect, an embodiment of the present application provides a bus capacitance detection method for a switching power supply, comprising:
[0007] During the operation of the switching power supply, obtaining the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply;
[0008] Based on the real-time input current obtained within the target time range, determine the first moment, the second moment and the third moment within the target time range, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in timing, the first moment and the third moment are respectively two rectifier bridge opening moments within any working cycle of the at least one complete working cycle, and the second moment is the rectifier bridge closing moment within the same working cycle of the two rectifier bridge opening moments;
[0009] Determining an average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second time and the third time;
[0010] The capacitance of the bus capacitor is determined based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current.
[0011] Further, determining the average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second moment and the third moment includes:
[0012] Calculating a ratio between a voltage corresponding to the second moment in the real-time output voltage and a voltage corresponding to the second moment in the real-time input voltage as a duty cycle corresponding to the second moment;
[0013] Calculating a ratio between a voltage corresponding to the third moment in the real-time output voltage and a voltage corresponding to the third moment in the real-time input voltage as a duty cycle corresponding to the third moment;
[0014] Based on the duty cycles corresponding to the second moment and the third moment, respectively, an average duty cycle of the switching power supply is calculated.
[0015] Furthermore, the working cycle consists of a charging phase and a discharging phase, the charging phase is from the first moment to the second moment, and the discharging phase is from the second moment to the third moment;
[0016] The determining the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current includes:
[0017] Determine the normal operating efficiency of the switching power supply based on the first moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current;
[0018] The capacitance of the bus capacitor is determined based on the average duty cycle, the normal operating efficiency, the second moment, the third moment, the real-time load current, the voltage corresponding to the second moment in the real-time input voltage, and the voltage corresponding to the third moment in the real-time input voltage.
[0019] Furthermore, the normal operating efficiency η is determined by the following formula:
[0020]
[0021] Among them, t1 is the first moment, t3 is the third moment, V o (t) is the real-time output voltage at time t, i o (t) is the real-time load current at time t, v in (t) is the real-time input voltage at time t, i in (t) is the real-time input current at time t.
[0022] Furthermore, the capacitance C of the bus capacitor is busη Determined by the following formula:
[0023]
[0024] Where D is the average duty cycle, η is the normal operating efficiency, t2 is the second moment, t3 is the third moment, v in (t2) is the voltage corresponding to the second moment in the real-time input voltage, v in (t3) is the voltage corresponding to the third moment in the real-time input voltage, i o (t) is the real-time load current at time t.
[0025] Furthermore, the real-time input current is obtained after the real-time input current signal is processed by a first low-pass filter, a current sampling circuit and an AD converter;
[0026] The real-time load current is obtained after the real-time load current signal is processed by the first low-pass filter, the current sampling circuit and the AD converter;
[0027] The real-time input voltage is obtained after the real-time input voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter;
[0028] The real-time output voltage is obtained after the real-time output voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter;
[0029] The real-time input current signal and the real-time load current signal are both acquired by a current sensor on the switching power supply, and the real-time input voltage signal and the real-time output voltage signal are both acquired by a voltage sensor on the switching power supply.
[0030] In a second aspect, an embodiment of the present application provides a bus capacitance detection device for a switching power supply, comprising:
[0031] A real-time data acquisition module, used to acquire the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply during the operation of the switching power supply;
[0032] A time determination module, used for determining a first time, a second time and a third time within the target time range based on the real-time input current obtained within the target time range, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in terms of timing, the first time and the third time are respectively two rectifier bridge opening times within any working cycle of the at least one complete working cycle, and the second time is a rectifier bridge closing time within the same working cycle of the two rectifier bridge opening times;
[0033] an average duty cycle determining module, configured to determine an average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second moment and the third moment;
[0034] A capacitance determination module is used to determine the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current.
[0035] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the bus capacitance detection method of a switching power supply described in any one of the above items are implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of any of the above-mentioned bus capacitance detection methods for a switching power supply.
[0037] In a fifth aspect, an embodiment of the present application provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the steps of the bus capacitance detection method of the switching power supply described in any one of the above items when executing the computer program.
[0038] In summary, the embodiments of the present application have at least the following beneficial effects:
[0039] According to an embodiment of the present application, during the operation of the switching power supply, the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply are obtained; based on the real-time input current obtained within the target time range, the first moment, the second moment and the third moment within the target time range are determined, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in terms of timing, the first moment and the third moment are respectively two rectifier bridge opening moments within any working cycle of the at least one complete working cycle, and the second moment is the rectifier bridge closing moment within the same working cycle of the two rectifier bridge opening moments; based on the real-time input voltage, the real-time output current, the real-time output voltage and real-time load current of the switching power supply are obtained; based on the real-time input current, the real-time output voltage and the real-time load current of the switching power supply are obtained; and based on the real-time input voltage, the real-time output ... The voltage, the second moment and the third moment are used to determine the average duty cycle of the switching power supply; based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current, the capacitance of the bus capacitor is determined, so that the capacitance of the bus capacitor of the switching power supply can be accurately detected without injecting an external detection signal and is not restricted by the topology type of the switching power supply. In addition, the capacitance of the bus capacitor can be monitored at any time when the switching power supply is operating normally, the operating status and health status of the switching power supply can be understood, and the fault condition of the switching power supply can be judged according to the changes in the bus capacitor parameters, and the aging capacitor can be replaced in time to improve the reliability of the switching power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a flow chart of a bus capacitance detection method of a switching power supply provided in an embodiment of the present application;
[0041] Figure 2 is a schematic diagram of the topological structure of the switching power supply provided in an embodiment of the present application;
[0042] Figure 3 is a circuit diagram of a switching power supply provided in an embodiment of the present application;
[0043] Figure 4 Schematic diagram of voltage and current waveforms of the switching power supply provided in the embodiment of the present application;
[0044] Figure 5is a schematic diagram of a bus capacitance detection system for a switching power supply provided in an embodiment of the present application;
[0045] Figure 6 is a schematic diagram of a bus capacitance detection device for a switching power supply provided in an embodiment of the present application;
[0046] Figure 7 It is a schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] 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.
[0048] In the description of the present application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, features defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, the meaning of "multiple" is two or more. In the description of the present application, the term "including" and its variations are open inclusions, i.e., "including but not limited to". The term "based on" means "at least partially based on". The term "according to" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments".
[0049] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0050] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.
[0051] First, see Figure 1 , shows a schematic flow chart of a bus capacitance detection method for a switching power supply provided in an embodiment of the present application, the method comprising steps S101-S104, which are specifically as follows:
[0052] S101, during the operation of the switching power supply, obtaining a real-time input voltage, a real-time input current, a real-time output voltage and a real-time load current of the switching power supply;
[0053] It should be noted that the real-time input voltage and real-time output voltage in this embodiment can be measured by a voltage measuring device, and the real-time input current and real-time load current can be measured by a current measuring device. The operation process of the switching power supply refers to the time during which the switching power supply operates normally.
[0054] S102, based on the real-time input current obtained within the target time range, determine a first moment, a second moment and a third moment within the target time range, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in terms of timing, the first moment and the third moment are respectively two rectifier bridge opening moments within any working cycle of the at least one complete working cycle, and the second moment is a rectifier bridge closing moment within the same working cycle of the two rectifier bridge opening moments;
[0055] In one example, a switching power supply is used to change AC power into a constant DC power, see Figure 2 and Figure 3, it can be seen that the example topology of one of the switching power supplies targeted by this embodiment can generally include an input filter, a rectifier, a capacitor filter, a DC-DC converter, an output filter connected in sequence, and a control loop provided between the output end of the output filter and the DC-DC converter. Among them, since the DC-DC converter in the switching power supply works in a switching state, the input current of the DC-DC converter will contain a current with high-frequency changes under the switching frequency. The rectifier bridge of the switching power supply works in the power frequency state, and its frequency is low. The output current of the rectifier bridge is twice the current under the power frequency. Due to the effects of the two, the voltage and current waveforms related to the bus capacitor have high-frequency components and power frequency components, which increases the difficulty of the bus capacitor, that is, non-invasive online detection. At this time, according to the working state of the bus capacitor under the power frequency, when the absolute value of the real-time input current is positive, it means that the rectifier bridge is turned on at this time, so the moment when the absolute value of the real-time input current changes from zero to positive can be used as the opening moment of the rectifier bridge; when the absolute value of the real-time input current is zero, it means that the rectifier bridge is disconnected at this time, so the moment when the absolute value of the real-time input current returns from positive to zero can be used as the closing moment of the rectifier bridge. In this way, by taking the "rectifier bridge on phase-rectifier bridge off phase" as a complete working cycle of the bus capacitor, each working cycle can include two rectifier bridge on moments and one rectifier bridge off moment.
[0056] S103, determining an average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second time and the third time;
[0057] S104, determining the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current.
[0058] In one example, the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current can be input into the calculation model for processing to obtain the capacitance of the bus capacitor.
[0059] In an optional implementation, determining the average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second moment, and the third moment includes:
[0060] Calculating a ratio between a voltage corresponding to the second moment in the real-time output voltage and a voltage corresponding to the second moment in the real-time input voltage as a duty cycle corresponding to the second moment;
[0061] In one example, the duty cycle corresponding to the second moment is Among them, Vo (t2) is the voltage corresponding to the second moment in the real-time output voltage, v in (t2) is the voltage corresponding to the second moment in the real-time input voltage.
[0062] Calculating a ratio between a voltage corresponding to the third moment in the real-time output voltage and a voltage corresponding to the third moment in the real-time input voltage as a duty cycle corresponding to the third moment;
[0063] In one example, the duty cycle corresponding to the third moment is Among them, V o (t3) is the voltage corresponding to the third moment in the real-time output voltage, v in (t3) is the voltage corresponding to the third moment in the real-time input voltage.
[0064] Based on the duty cycles corresponding to the second moment and the third moment, respectively, an average duty cycle of the switching power supply is calculated.
[0065] In one example, the average duty cycle of a switching power supply
[0066] In an optional implementation, the working cycle consists of a charging phase and a discharging phase, the charging phase is from the first moment to the second moment, and the discharging phase is from the second moment to the third moment;
[0067] It should be noted that see Figure 4 , from the first moment t1 to the second moment t2 (i.e. the first time the diode in the rectifier bridge is turned on to the second time the diode in the rectifier bridge is turned off), the input current will charge the bus capacitor, so it is considered as the charging stage. From the second moment t2 to the third moment t3 (i.e. the second time the diode in the rectifier bridge is turned off to the second time the diode in the rectifier bridge is turned on), the energy previously stored in the bus capacitor will be discharged to the subsequent modules, which is considered as the discharging stage. In addition, i in (t) is the real-time input current, v in (t) is the real-time input voltage, v bus (t) is the bus voltage, i o (t) is the real-time load current, V o (t) is the real-time output voltage.
[0068] At this time, the DC-DC converter input current i DC (t) is equivalent to a DC current. Thus, there will be an approximately linear discharge stage in the bus capacitor during the discharge process, that is, there will be an approximately linear discharge stage in the bus capacitor during the process from t2 to t3.
[0069] The determining the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current includes:
[0070] Determine the normal operating efficiency of the switching power supply based on the first moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current;
[0071] In one example, the first moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current may be input into a calculation model for processing to obtain the normal operating efficiency of the switching power supply.
[0072] The capacitance of the bus capacitor is determined based on the average duty cycle, the normal operating efficiency, the second moment, the third moment, the real-time load current, the voltage corresponding to the second moment in the real-time input voltage, and the voltage corresponding to the third moment in the real-time input voltage.
[0073] In one example, the average duty cycle, normal operating efficiency, the second moment, the third moment, the real-time load current, the voltage corresponding to the second moment in the real-time input voltage, and the voltage corresponding to the third moment in the real-time input voltage can be input into the calculation model for processing to obtain the capacitance of the bus capacitor.
[0074] In an optional implementation, the normal operating efficiency η is determined by the following formula:
[0075]
[0076] Among them, t1 is the first moment, t3 is the third moment, V o (t) is the real-time output voltage at time t, i o (t) is the real-time load current at time t, v in (t) is the real-time input voltage at time t, i in (t) is the real-time input current at time t.
[0077] In an optional implementation manner, the capacitance C of the bus capacitor is busη Determined by the following formula:
[0078]
[0079] Where D is the average duty cycle, η is the normal operating efficiency, t2 is the second moment, t3 is the third moment, v in (t2) is the voltage corresponding to the second moment in the real-time input voltage, v in(t3) is the voltage corresponding to the third moment in the real-time input voltage, i o (t) is the real-time load current at time t.
[0080] In this embodiment, the capacitance of the bus capacitor can be calculated only based on the various current and voltage parameters of the switching power supply collected, so that the amount of data calculation is small, the data processing algorithm is simple, and the engineering applicability is strong. It can avoid the problem of high implementation cost caused by the artificial intelligence model mainly adopting data training, requiring a large amount of training data and complex calculation algorithms. And the capacitance of the bus capacitor can be monitored at any time when the switching power supply is operating normally to understand the operating status and health status of the switching power supply. According to the changes in the bus capacitor parameters, the fault condition of the switching power supply can be judged, and the aging bus capacitor can be replaced in time to improve the reliability of the switching power supply.
[0081] Combine the following Figure 4 An exemplary derivation process is given for the above formula to facilitate understanding.
[0082] The relationship between the real-time output voltage of the switching power supply and the real-time bus voltage is shown in formula (1). The real-time input current i of the DC-DC converter is DC (t) and real-time load current i O The relationship between (t) is shown in equation (2). The switching power supply rectifier bridge operates at the industrial frequency state, the bus capacitor is in the charging state and the discharging state, and the bus voltage is different, so the duty cycle of the DC-DC converter is also different. Therefore, the duty cycle at time t2 is expressed as D2, as shown in equation (3); the duty cycle at time t3 is expressed as D3, as shown in equation (4). Since the bus capacitor discharges approximately linearly, the bus capacitor can be approximated by the average value of the duty cycle, and the average value of the duty cycle is shown in equation (5).
[0083] V o (t) = D(t)v bus (t); (1)
[0084] i DC (t) = D(t)i O (t); (2)
[0085]
[0086] Bus capacitance current i Cbus (t) and real-time input current i in (t), rectifier bridge output current i B (t), DC-DC converter input current i DC (t) is shown in equation (6). In the bus capacitor discharge stage, due to i in (t)=0, then i Cbus(t) = -i DC (t). By judging the input current i in The zero crossing point of (t) is obtained, and the switching power supply rectifier bridge is turned off at t2 and turned on at t3. The bus voltage at these two moments is equal to the input voltage, as shown in equations (7) and (8). Bus capacitor voltage v bus (t) and busbar capacitance current i Cbus (t) is shown in formula (9). According to the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply, the capacitance of the bus capacitor of the switching power supply is calculated, and the capacitance of the capacitor is derived as shown in formula (12). Since the components of the switching power supply have power consumption, the power consumption is different under different loads, and the efficiency is also different. The efficiency of the switching power supply is represented by η. The input power can be calculated by the real-time input voltage and real-time input current, and the output power can be calculated by the real-time output voltage and real-time output current (real-time load current). The normal operating efficiency of the switching power supply during each working cycle from t1 to t3 is represented by η, as shown in formula (13). Considering the influence of the switching power supply efficiency and compensating for the effect of the switching power supply efficiency, the capacitance of the bus capacitor of the switching power supply is accurately calculated. The capacitance calculation of the bus capacitor is shown in formula (14).
[0087] i Cbus (t) = i B (t)-i DC (t)=|i in (t)|-i DC (t); (6)
[0088] v bus (t2) = v in (t2); (7)
[0089] v bus (t3) = v in (t3); (8)
[0090]
[0091]
[0092] In an optional implementation manner, the real-time input current is obtained after the real-time input current signal is processed by a first low-pass filter, a current sampling circuit and an AD converter;
[0093] The real-time load current is obtained after the real-time load current signal is processed by the first low-pass filter, the current sampling circuit and the AD converter;
[0094] The real-time input voltage is obtained after the real-time input voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter;
[0095] The real-time output voltage is obtained after the real-time output voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter;
[0096] The real-time input current signal and the real-time load current signal are both acquired by a current sensor on the switching power supply, and the real-time input voltage signal and the real-time output voltage signal are both acquired by a voltage sensor on the switching power supply.
[0097] See also Figure 5 , is the structure diagram of the capacitance detection system of the switching power supply busbar. Figure 5 The system mainly includes AC-DC-DC switching power supply, low-pass filter, current sampling circuit, voltage sampling circuit, CPU, AD converter, data storage module, data processing module and capacitance calculation module. The voltage sensor and current sensor are used to synchronously collect the real-time input voltage v of the switching power supply after being filtered by the low-pass filter. in (t), real-time input current i in (t), real-time output voltage V o (t), real-time load current i O (t).
[0098] In the second aspect, accordingly, an embodiment of the present application further provides a bus capacitance detection device for a switching power supply, which can implement all processes of the bus capacitance detection method for a switching power supply provided in the above embodiment.
[0099] See also Figure 6 , shows a schematic structural diagram of a bus capacitance detection device for a switching power supply provided in an embodiment of the present application, the device comprising:
[0100] A real-time data acquisition module 601 is used to acquire the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply during the operation of the switching power supply;
[0101] A time determination module 602 is used to determine a first time, a second time and a third time within the target time range based on the real-time input current obtained within the target time range, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in terms of timing, the first time and the third time are respectively two rectifier bridge opening times within any working cycle of the at least one complete working cycle, and the second time is a rectifier bridge closing time within the same working cycle of the two rectifier bridge opening times;
[0102] An average duty cycle determination module 602, configured to determine an average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second moment and the third moment;
[0103] The capacitance determination module 604 is used to determine the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current.
[0104] In an optional implementation, determining the average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second moment, and the third moment includes:
[0105] Calculating a ratio between a voltage corresponding to the second moment in the real-time output voltage and a voltage corresponding to the second moment in the real-time input voltage as a duty cycle corresponding to the second moment;
[0106] Calculating a ratio between a voltage corresponding to the third moment in the real-time output voltage and a voltage corresponding to the third moment in the real-time input voltage as a duty cycle corresponding to the third moment;
[0107] Based on the duty cycles corresponding to the second moment and the third moment, respectively, an average duty cycle of the switching power supply is calculated.
[0108] In an optional implementation, the working cycle consists of a charging phase and a discharging phase, the charging phase is from the first moment to the second moment, and the discharging phase is from the second moment to the third moment;
[0109] The determining the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current includes:
[0110] Determine the normal operating efficiency of the switching power supply based on the first moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current;
[0111] The capacitance of the bus capacitor is determined based on the average duty cycle, the normal operating efficiency, the second moment, the third moment, the real-time load current, the voltage corresponding to the second moment in the real-time input voltage, and the voltage corresponding to the third moment in the real-time input voltage.
[0112] In an optional implementation, the normal operating efficiency η is determined by the following formula:
[0113]
[0114] Among them, t1 is the first moment, t3 is the third moment, V o (t) is the real-time output voltage at time t, i o (t) is the real-time load current at time t, v in (t) is the real-time input voltage at time t, i in (t) is the real-time input current at time t.
[0115] In an optional implementation manner, the capacitance C of the bus capacitor is busη Determined by the following formula:
[0116]
[0117] Where D is the average duty cycle, η is the normal operating efficiency, t2 is the second moment, t3 is the third moment, v in (t2) is the voltage corresponding to the second moment in the real-time input voltage, v in (t3) is the voltage corresponding to the third moment in the real-time input voltage, i o (t) is the real-time load current at time t.
[0118] In an optional implementation manner, the real-time input current is obtained after the real-time input current signal is processed by a first low-pass filter, a current sampling circuit and an AD converter;
[0119] The real-time load current is obtained after the real-time load current signal is processed by the first low-pass filter, the current sampling circuit and the AD converter;
[0120] The real-time input voltage is obtained after the real-time input voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter;
[0121] The real-time output voltage is obtained after the real-time output voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter;
[0122] The real-time input current signal and the real-time load current signal are both acquired by a current sensor on the switching power supply, and the real-time input voltage signal and the real-time output voltage signal are both acquired by a voltage sensor on the switching power supply.
[0123] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the bus capacitance detection method of a switching power supply described in any one of the above items are implemented.
[0124] In a fourth aspect, an embodiment of the present application provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of any of the above-mentioned bus capacitance detection methods for a switching power supply.
[0125] In a fifth aspect, an embodiment of the present application provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the steps of the bus capacitance detection method of the switching power supply described in any one of the above items when executing the computer program.
[0126] See also Figure 7 The computer device of this embodiment includes: a processor 701, a memory 702, and a computer program stored in the memory 702 and executable on the processor 701, such as a bus capacitance detection program for a switching power supply. When the processor 701 executes the computer program, the steps in the above-mentioned bus capacitance detection method embodiments of each switching power supply are implemented, such as Figure 1 Steps S101-S104 are shown.
[0127] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 702 and executed by the processor 701 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the computer device.
[0128] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may include, but is not limited to, a processor 701 and a memory 702. Those skilled in the art will appreciate that the schematic diagram is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than shown in the diagram, or may combine certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0129] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 701 may also be any conventional processor, etc. The processor 701 is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device.
[0130] The memory 702 can be used to store the computer program and / or module, and the processor 701 realizes various functions of the computer device by running or executing the computer program and / or module stored in the memory 702, and calling the data stored in the memory 702. The memory 702 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 702 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0131] Wherein, if the module / unit integrated in the computer device 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 present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor 701. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0132] In summary, the embodiments of the present application have at least the following beneficial effects:
[0133] According to an embodiment of the present application, during the operation of the switching power supply, the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply are obtained; based on the real-time input current obtained within the target time range, the first moment, the second moment and the third moment within the target time range are determined, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in terms of timing, the first moment and the third moment are respectively two rectifier bridge opening moments within any working cycle of the at least one complete working cycle, and the second moment is the rectifier bridge closing moment within the same working cycle of the two rectifier bridge opening moments; based on the real-time input voltage, the real-time output current, the real-time output voltage and real-time load current of the switching power supply are obtained; based on the real-time input current, the real-time output voltage and the real-time load current of the switching power supply are obtained; and based on the real-time input voltage, the real-time output ... The voltage, the second moment and the third moment are used to determine the average duty cycle of the switching power supply; based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current, the capacitance of the bus capacitor is determined, so that the capacitance of the bus capacitor of the switching power supply can be accurately detected without injecting an external detection signal and is not restricted by the topology type of the switching power supply. In addition, the capacitance of the bus capacitor can be monitored at any time when the switching power supply is operating normally, the operating status and health status of the switching power supply can be understood, and the fault condition of the switching power supply can be judged according to the changes in the bus capacitor parameters, and the aging capacitor can be replaced in time to improve the reliability of the switching power supply.
[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus the necessary hardware platform, and of course, it can also be implemented entirely by hardware. Based on such an understanding, all or part of the contribution of the technical solution of the present application to the background technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0135] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. A method for detecting bus capacitance of a switching power supply, It is characterized in that include: During the operation of the switching power supply, obtaining the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply; Based on the real-time input current obtained within the target time range, determine the first moment, the second moment and the third moment within the target time range, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in timing, the first moment and the third moment are respectively two rectifier bridge opening moments within any working cycle of the at least one complete working cycle, and the second moment is the rectifier bridge closing moment within the same working cycle of the two rectifier bridge opening moments; Determining an average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second time and the third time; The capacitance of the bus capacitor is determined based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current.
2. The bus capacitance detection method of the switching power supply according to claim 1, It is characterized in that The determining the average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second moment and the third moment includes: Calculating a ratio between a voltage corresponding to the second moment in the real-time output voltage and a voltage corresponding to the second moment in the real-time input voltage as a duty cycle corresponding to the second moment; Calculating a ratio between a voltage corresponding to the third moment in the real-time output voltage and a voltage corresponding to the third moment in the real-time input voltage as a duty cycle corresponding to the third moment; Based on the duty cycles corresponding to the second moment and the third moment, respectively, an average duty cycle of the switching power supply is calculated.
3. The bus capacitance detection method of the switching power supply according to claim 1, It is characterized in that The working cycle consists of a charging phase and a discharging phase, the charging phase is from the first moment to the second moment, and the discharging phase is from the second moment to the third moment; The determining the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current includes: Determine the normal operating efficiency of the switching power supply based on the first moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current; The capacitance of the bus capacitor is determined based on the average duty cycle, the normal operating efficiency, the second moment, the third moment, the real-time load current, the voltage corresponding to the second moment in the real-time input voltage, and the voltage corresponding to the third moment in the real-time input voltage.
4. The bus capacitance detection method of the switching power supply according to claim 3, It is characterized in that The normal operating efficiency η is determined by the following formula: Among them, t 1 is the first moment, t 3 is the third moment, V o (t) is the real-time output voltage at time t, i o (t) is the real-time load current at time t, v in (t) is the real-time input voltage at time t, i in (t) is the real-time input current at time t.
5. The bus capacitance detection method of the switching power supply according to claim 3, It is characterized in that The bus capacitor capacitance C busη Determined by the following formula: Where D is the average duty cycle, η is the normal operating efficiency, t 2 is the second moment, t 3 is the third moment, v in (t 2 ) is the voltage corresponding to the second moment in the real-time input voltage, v in (t 3 ) is the voltage corresponding to the third moment in the real-time input voltage, i o (t) is the real-time load current at time t.
6. The bus capacitance detection method of a switching power supply according to any one of claims 1 to 5, It is characterized in that The real-time input current is obtained after the real-time input current signal is processed by a first low-pass filter, a current sampling circuit and an AD converter; The real-time load current is obtained after the real-time load current signal is processed by the first low-pass filter, the current sampling circuit and the AD converter; The real-time input voltage is obtained after the real-time input voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter; The real-time output voltage is obtained after the real-time output voltage signal is processed by the second low-pass filter, the voltage sampling circuit and the AD converter; The real-time input current signal and the real-time load current signal are both acquired by a current sensor on the switching power supply, and the real-time input voltage signal and the real-time output voltage signal are both acquired by a voltage sensor on the switching power supply.
7. A busbar capacitance detection device for a switching power supply, It is characterized in that include: A real-time data acquisition module, used to acquire the real-time input voltage, real-time input current, real-time output voltage and real-time load current of the switching power supply during the operation of the switching power supply; A time determination module, used for determining a first time, a second time and a third time within the target time range based on the real-time input current obtained within the target time range, wherein the target time range covers at least at least one complete working cycle of the bus capacitor in terms of timing, the first time and the third time are respectively two rectifier bridge opening times within any working cycle of the at least one complete working cycle, and the second time is a rectifier bridge closing time within the same working cycle of the two rectifier bridge opening times; an average duty cycle determining module, configured to determine an average duty cycle of the switching power supply based on the real-time input voltage, the real-time output voltage, the second moment and the third moment; A capacitance determination module is used to determine the capacitance of the bus capacitor based on the average duty cycle, the first moment, the second moment, the third moment, the real-time input voltage, the real-time input current, the real-time output voltage and the real-time load current.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the bus capacitance detection method of the switching power supply according to any one of claims 1 to 6 is implemented.
9. A computer program product comprising computer instructions, It is characterized in that When the computer instructions are executed by the processor, the bus capacitance detection method of the switching power supply according to any one of claims 1 to 6 is implemented.
10. A computer device, It is characterized in that The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the bus capacitance detection method of the switching power supply according to any one of claims 1 to 6 when executing the computer program.
