Two-stage power supply control method, two-stage power supply and computer readable storage medium

By real-time detection of bus voltage and estimation of energy loss, and calculation of derating output power of subsequent conversion circuits using compensation coefficients, the output power is dynamically adjusted, solving the system shutdown problem caused by rapid bus voltage drops. This enables continuous system operation and high power output without changing the hardware design.

CN123184436APending Publication Date: 2026-11-27GREAT WALL POWER SUPPLY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611475876.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing two-stage power control technology is unable to maintain continuous system operation and high power output capacity when faced with rapid bus voltage drops, without changing the hardware design or triggering shutdown protection. This can easily lead to service interruption and data loss of backend equipment, especially under harsh operating conditions.

Method used

By real-time monitoring of the DC bus voltage, the energy loss of the bus capacitor is estimated, and the derating output power of the subsequent conversion circuit is calculated using the compensation coefficient. The output power of the subsequent conversion circuit is dynamically adjusted to suppress further drops in the bus voltage and avoid triggering of undervoltage protection.

Benefits of technology

It effectively solves the problem of system shutdown caused by rapid bus voltage drop, improves the reliability and stability of the power system under harsh operating conditions, and ensures the continuous operation of downstream loads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184436A_ABST
    Figure CN123184436A_ABST
Patent Text Reader

Abstract

The application provides a two-stage power supply control method, a two-stage power supply and a storage medium, and belongs to the technical field of power electronics control. The two-stage power supply control method comprises the following steps: detecting a bus voltage sampling value of a direct-current bus; when the sampling value meets a limited power triggering condition, estimating bus capacitor energy loss according to voltage sampling values of adjacent sampling moments, and calculating a reduced output power of a subsequent conversion circuit in combination with a compensation coefficient based on the most adverse working condition setting; and controlling the subsequent conversion circuit output according to the reduced output power, so as to suppress the bus voltage from continuing to drop. The application can effectively deal with the rapid drop of the bus voltage without changing the hardware design and triggering the shutdown protection, maintains the continuous operation of the system and keeps the high power output capacity as much as possible, improves the operation reliability, stability and power density of the power supply system under adverse working conditions, and guarantees the continuous working capacity of the rear-end load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power electronic control technology, specifically relating to a staged power supply control method, a two-stage power supply and a storage medium. Background Technology

[0002] Two-stage AC / DC power supply topologies, with their advantages of front-to-back isolation and flexible control, are widely used in various fields such as on-board charging for electric vehicles, power supply for data center servers, and consumer electronics adapters. This topology typically includes a front-end rectifier circuit and a rear-end DC / DC converter circuit, with energy transfer and buffering between the two stages via a DC bus capacitor. During steady-state operation, the front stage replenishes the bus capacitor with grid energy, while the rear stage draws energy from the bus capacitor to supply power to the load, maintaining a dynamic balance of the bus voltage within half a power frequency cycle. However, under conditions such as sudden input voltage changes, severe load fluctuations, or capacitor performance degradation, the power balance between the front and rear stages is disrupted, leading to significant changes in the bus capacitor voltage.

[0003] In existing two-stage power control technologies, the common approach to address system risks caused by abnormal fluctuations in bus voltage is to monitor the bus voltage and implement protection strategies. When the bus voltage is detected to drop below a preset protection threshold, the system typically triggers a shutdown protection mechanism directly to prevent hardware damage. Furthermore, some existing solutions attempt to slow the voltage drop rate by increasing the bus capacitor value or to stabilize the bus voltage by adjusting the control reference values ​​of the preceding or following stages. These conventional techniques aim to maintain the system's operational safety under specific conditions and are widely adopted in the industry.

[0004] However, existing technical solutions still face significant challenges in real-world applications. Particularly when severe operating conditions cause a rapid drop in bus voltage, a direct shutdown could lead to serious consequences such as service interruptions and data loss for backend equipment. Simply increasing hardware capacity not only significantly increases system size and cost but also fails to fundamentally address the energy imbalance problem during dynamic response. How to effectively cope with rapid bus voltage drops, maintain continuous system operation, and preserve as high a power output capacity as possible without altering the hardware design or triggering shutdown protection has become a long-standing and urgent technical bottleneck in this field. Summary of the Invention

[0005] The purpose of this invention is to address the shortcomings of existing technologies by providing a two-stage power control method, a two-stage power supply, and a storage medium. This method can solve the technical problem of effectively dealing with rapid drops in bus voltage, maintaining continuous system operation, and maintaining a high power output capability as much as possible without changing the hardware design or triggering shutdown protection.

[0006] To achieve the above objectives, this application provides the following technical solution:

[0007] In a first aspect, the present invention provides a two-stage power supply control method. The two-stage power supply includes a pre-stage conversion circuit, a bus capacitor, and a post-stage conversion circuit. The input side of the pre-stage conversion circuit is used to connect to the power supply. The DC side of the pre-stage conversion circuit and the DC side of the post-stage conversion circuit are connected via a DC bus. The bus capacitor is connected to the DC bus. The output side of the post-stage conversion circuit is used to connect to a load. The method includes:

[0008] The bus voltage of the DC bus is detected to obtain the bus voltage sample value;

[0009] When the bus voltage sample value meets the power limiting trigger condition, the energy loss of the bus capacitor is estimated based on the bus voltage sample value at adjacent sampling times, and the derating output power of the subsequent conversion circuit is calculated based on the energy loss.

[0010] The output power of the subsequent conversion circuit is controlled according to the derating output power to suppress the continued drop in the bus voltage;

[0011] The derating output power is compensated according to a compensation coefficient, which is set based on the worst operating condition. The worst operating condition is when the bus voltage drops from the lowest value of the bus voltage ripple during normal operation of the two-stage power supply to the undervoltage protection point within one control cycle, and the derating output power is equal to zero under the worst operating condition.

[0012] In an optional embodiment, the steps of estimating the energy loss of the bus capacitor based on the bus voltage sampling values ​​at adjacent sampling times, and calculating the derating output power of the subsequent conversion circuit based on the energy loss, include:

[0013] Based on the bus voltage at the current sampling time and the bus voltage at the previous sampling time, estimate the energy change of the bus capacitor between adjacent sampling times;

[0014] The derating output power for the current control cycle is calculated based on the energy change and the derating output power of the previous control cycle.

[0015] In an alternative embodiment, the energy change of the bus capacitance between adjacent sampling times is determined according to the following formula:

[0016]

[0017] In the formula, This represents the energy change of the bus capacitor between adjacent sampling times, where C represents the capacitance value of the bus capacitor. and These represent the bus voltage sample values ​​at the current sampling time and the previous sampling time, respectively. Indicates the control cycle.

[0018] In an optional embodiment, the derating output power of the current control cycle is calculated according to the following formula:

[0019]

[0020] In the formula, and These represent the derating output power of the subsequent stage in the current control cycle and the previous control cycle, respectively. This represents the compensation coefficient.

[0021] In an optional embodiment, the compensation coefficient Adjusted according to the following formula:

[0022]

[0023] In the formula, This indicates the output power before entering the power-limited operating condition, and C represents the capacitance value of the bus capacitor. This represents the minimum bus voltage ripple value during normal operation of the two-stage power supply. This indicates the undervoltage protection point voltage. Indicates the control cycle.

[0024] In one alternative embodiment, the output power before entering the power-limited condition. Obtain it through any of the following methods:

[0025] The rated output power of the two-stage power supply;

[0026] The output power sampled in the control cycle preceding the power-limiting condition;

[0027] The average output power within a preset time window before triggering the power-limiting condition.

[0028] In one optional embodiment, the power limiting trigger condition is that the bus voltage sample value drops to a power limiting trigger threshold, which is lower than the minimum bus voltage ripple value during normal operation of the two-stage power supply by a preset margin.

[0029] In an optional embodiment, the method further includes:

[0030] When the bus voltage sampling value meets the power limit recovery condition, the power limit condition is exited and normal output power control is restored.

[0031] The recovery threshold corresponding to the power limiting recovery condition is different from the trigger threshold corresponding to the power limiting trigger condition, and the recovery threshold is greater than the trigger threshold.

[0032] In one optional embodiment, the difference between the recovery threshold and the trigger threshold is greater than the peak-to-peak value of the bus voltage ripple during normal operation of the two-stage power supply.

[0033] Alternatively, the recovery threshold can be taken as the average value of the bus voltage samples.

[0034] In one optional embodiment, the step of controlling the output power of the subsequent conversion circuit according to the derating output power includes:

[0035] When the subsequent conversion circuit operates in current source mode, the dated output power is divided by the current output voltage to obtain the dated current command, and the output current of the subsequent conversion circuit is controlled according to the dated current command.

[0036] When the subsequent conversion circuit operates in voltage source mode, the derating output power is divided by the current output current to obtain the derating voltage command, and the output voltage of the subsequent conversion circuit is controlled according to the derating voltage command.

[0037] In one optional embodiment, the dated output power is used as a reference value for the outermost power loop of the subsequent conversion circuit control loop, and the subsequent conversion circuit control loop further includes a current loop and / or a voltage loop located within the outermost power loop.

[0038] Secondly, the present invention provides a two-stage power supply, including a pre-stage conversion circuit, a bus capacitor, and a post-stage conversion circuit. The input side of the pre-stage conversion circuit is used to connect to a power supply. The DC side of the pre-stage conversion circuit and the DC side of the post-stage conversion circuit are connected through a DC bus. The bus capacitor is connected to the DC bus. The output side of the post-stage conversion circuit is used to connect to a load. The power supply also includes a controller for executing the control method described above.

[0039] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the control method as described above.

[0040] The positive and progressive effects of this invention are as follows:

[0041] The two-stage power supply control method, two-stage power supply, and storage medium provided by this invention detect the bus voltage sampling value of the DC bus in real time. When the power limiting trigger condition is met, the energy loss of the bus capacitor is estimated using the bus voltage sampling values ​​at adjacent sampling times. Then, combined with the compensation coefficient set based on the worst-case operating condition, the dated output power of the subsequent conversion circuit is calculated, thereby controlling the output power of the subsequent conversion circuit. Specifically, the energy released by the bus capacitor is quantified by collecting the voltage squared difference at adjacent times, and the rate of change of this energy is converted into a power adjustment amount, so that the output power of the subsequent stage can be dynamically reduced according to the energy loss of the bus. The control delay is compensated for by the compensation coefficient, ensuring that the power can be reduced to zero in a single cycle under the worst-case operating condition, thereby avoiding undervoltage protection triggering due to response lag. On this basis, by using the dated output power as the reference value of the outermost power loop, stepless smooth power regulation and self-recovery function are further realized. This effectively solves the technical problem of how to effectively cope with the rapid drop in bus voltage, maintain continuous system operation, and maintain the highest possible power output capability without changing the hardware design or triggering shutdown protection. Therefore, it avoids system shutdown and service interruption caused by rapid drop in bus voltage, improves the reliability, stability, and power density of the power system under harsh operating conditions, and ensures the continuous operation capability of the back-end loads. Attached Figure Description

[0042] Figure 1 This is a flowchart of a two-stage power control method in an embodiment of the present invention;

[0043] Figure 2 This is a schematic diagram of a two-stage power supply (AC / DC) topology and energy flow in an embodiment of the present invention;

[0044] Figure 3 This is a waveform diagram showing the bus voltage variation and control stage division of a two-stage power supply under harsh operating conditions in an embodiment of the present invention.

[0045] Figure 4 This is a timing diagram of the power limiting triggering and recovery process in an embodiment of the present invention.

[0046] Figure 5 This is a block diagram of the power limiting output control of the two-stage power supply in current source mode in an embodiment of the present invention.

[0047] Figure 6 This is a block diagram of the power limiting output control of the two-stage power supply in voltage source mode in an embodiment of the present invention. Detailed Implementation

[0048] The present invention will be further described below with reference to the embodiments shown in the accompanying drawings.

[0049] <Example>

[0050] like Figures 1 to 6 As shown, this embodiment provides a two-stage power supply control method. This method is applied to a two-stage power supply, specifically, the two-stage power supply includes a pre-stage conversion circuit, a bus capacitor, and a post-stage conversion circuit. The input side of the pre-stage conversion circuit is used to connect to the power supply, and its DC side is connected to the DC side of the post-stage conversion circuit through a DC bus. The bus capacitor is connected in parallel to the DC bus. The output side of the post-stage conversion circuit is used to connect to the load.

[0051] Figure 2 This diagram illustrates the specific structure of a two-stage power supply and its energy flow. Figure 2 During system operation, the instantaneous power at twice the frequency from the grid is stored in the bus capacitor through the AC / DC front-end. The DC / DC back-end then outputs the energy to the DC load. In steady-state operation, the energy relationship at any given time is expressed by the following expression:

[0052]

[0053] In the formula, P in P out For the input and output power of a two-stage AC / DC topology, P ACDCout P Loss1 These represent the output power and power loss of the AC / DC preamplifier, respectively, P DCDCin P Loss2 These represent the input power and power loss of the DC / DC converter, respectively. Bulk The charging and discharging power of the bus capacitor. Output power P out From input power and P in and bus capacitor charging and discharging power P Bulk Both are supplied by the AC grid input and the energy stored in the bus capacitor.

[0054] Once the system is running stably, disregarding hardware power losses, the average output power equals the average input power. For example... Figure 3 As shown, during the time period from t1 to t2, the average power of the bus capacitor and the average value of the bus voltage remain constant within half a grid cycle. Due to the high control frequency of the system, a unit-cycle linear fitting can be used to approximate the change in bus capacitor energy during the steady-state operation within half a grid cycle. The expression is as follows:

[0055]

[0056] In the formula, W bulkt1 and W bulkt2 The bus capacitor energy storage at times t1 and t2 are respectively. SampleThis is the system control cycle. If a severe operating condition occurs at time t2, such as a power grid failure to a low voltage level, the AC / DC front-end cannot provide sufficient energy in time. The DC / DC rear-end needs to draw more energy from the bus capacitor to maintain stable output power, and the bus voltage continues to drop until time t4, triggering undervoltage protection.

[0057] Before the protection is triggered, the bus capacitor releases energy to the downstream stage, causing a voltage drop.

[0058]

[0059] In power supply scenarios requiring a two-stage AC / DC topology, such as servers and data centers, bus undervoltage shutdowns can cause data loss, service interruptions, and other economic losses. In new energy vehicle onboard computers (OBCs), it can lead to charging anomalies. National standards also require that the system should operate without shutdown under voltage sag test conditions where the AC input voltage is not lower than 80% of the rated voltage.

[0060] Based on the above background, the two-stage power supply control method of this embodiment is used to control the output power of the subsequent conversion circuit in the two-stage power supply. Without changing the hardware design and without triggering the shutdown protection, it can effectively cope with the rapid drop in bus voltage, maintain the continuous operation of the system and maintain a high power output capability as much as possible.

[0061] like Figure 1 As shown, the two-stage power supply control method includes steps S101 to S103, as detailed below:

[0062] Step S101: Detect the bus voltage of the DC bus and obtain the bus voltage sample value.

[0063] This step aims to acquire the real-time voltage status of the DC bus, providing a data foundation for subsequent power control. Specifically, a voltage sampling circuit deployed on the DC bus acquires the bus voltage signal. This circuit may include, for example, a resistor divider network and an operational amplifier, scaling the high-voltage side bus voltage proportionally to the range of the control chip's analog-to-digital converter (ADC); or it may use isolated sampling devices such as Hall effect voltage sensors to directly acquire the potential difference across the bus and convert it into a voltage signal. The processor reads the voltage signal according to a preset sampling period, and after filtering, obtains the real-time bus voltage sample value. Continuous monitoring of this value allows the control system to promptly detect bus voltage fluctuations and respond quickly to anomalies such as voltage dips, providing accurate input for subsequent power limiting control.

[0064] Step S102: When the bus voltage sample value meets the power limiting trigger condition, estimate the energy loss of the bus capacitor based on the bus voltage sample value at adjacent sampling times, and calculate the derating output power of the subsequent conversion circuit based on the energy loss.

[0065] The power limiting trigger condition is typically set to a voltage threshold. When the sampled value of the bus voltage is lower than this threshold, it indicates that the power provided by the preceding conversion circuit is insufficient to maintain the current output power of the subsequent stage, and the bus capacitor releases energy to compensate for the power deficit. At this time, the energy loss of the bus capacitor is estimated based on the sampled values ​​of the bus voltage at adjacent sampling times, and based on the capacitor energy storage formula, the energy released by the capacitor per unit time is calculated by comparing the square difference of the voltage at the current sampling time and the previous sampling time.

[0066] After estimating the energy loss, the system further calculates the dated output power of the subsequent converter circuit based on this energy loss. The dated output power refers to the maximum power value allowed to be output by the subsequent converter circuit under power-limited operating conditions. This calculation process converts the energy loss into a power adjustment quantity and iteratively updates it based on the output power status of the previous cycle. Therefore, the dated output power can reflect the energy storage state of the bus capacitor in real time, ensuring that the power extraction of the subsequent converter circuit does not exceed the supporting capacity of the bus capacitor.

[0067] Step S103: Control the output power of the subsequent conversion circuit according to the derating output power to suppress the bus voltage from continuing to drop.

[0068] The calculated dated output power is used as the control target for the subsequent converter circuit, forcibly reducing the energy consumption of the subsequent stage and thus preventing further deterioration of the bus voltage. The control loop of the subsequent converter circuit typically includes a power loop, a voltage loop, and a current loop, with the dated output power serving as the reference value input for the outermost power loop. The internal control loop automatically adjusts the drive signals of the switching devices in the subsequent converter circuit accordingly, ensuring that the actual output power tracks this reference value. This control strategy allows the subsequent converter circuit to proactively reduce power extraction when the bus voltage is insufficient, prompting the power provided by the preceding converter circuit to rebalance with the load demand of the subsequent stage, effectively suppressing further drops in bus voltage, avoiding triggering undervoltage protection shutdown, and maintaining continuous system operation.

[0069] In addition, in this step, the derating output power is also compensated according to the compensation coefficient, which is based on the worst operating condition. The worst operating condition is that the bus voltage drops from the lowest value of the bus voltage ripple when the two-stage power supply is running normally to the undervoltage protection point within one control cycle, and makes the derating output power equal to zero under the worst operating condition.

[0070] Here, the compensation coefficient is a correction parameter introduced to overcome control delay and sampling discretization error, ensuring that the system can reduce the output power to zero in a timely manner under extreme voltage drop conditions, avoiding undervoltage protection triggered by response lag. Under the worst operating conditions, the bus capacitor loses energy extremely quickly. If calculations are based solely on measured energy loss, the actual output power may not reach a safe level before the voltage reaches the protection point due to the time-consuming calculation and execution. Therefore, a compensation coefficient is introduced to amplify and correct the calculation results. The principle for setting the compensation coefficient is: under the worst operating conditions, i.e., when the voltage instantly drops from the lowest ripple value to the undervoltage protection point, the derating output power after compensation should be equal to zero. The magnitude of the compensation coefficient is related to parameters such as the bus capacitor value, control cycle length, and the voltage difference between the lowest ripple value and the undervoltage protection point. By introducing a compensation coefficient set based on the worst operating conditions, the method provided in this embodiment reserves sufficient control margin at any voltage drop rate, ensuring that the bus voltage is always maintained above the undervoltage protection point, thus improving the robustness and reliability of the system.

[0071] The above steps dynamically adjust the output power of the subsequent conversion circuit by monitoring the bus voltage in real time and using changes in the bus capacitor energy as feedback. When a voltage drop trend is detected, the system quickly calculates the energy loss caused by the voltage drop and accordingly reduces the output power of the subsequent stage, minimizing the extraction of energy from the bus capacitor. This energy balance-based control logic allows the subsequent stage to automatically adapt and reduce load demand when the input power of the preceding stage is insufficient, preventing the bus voltage from continuously deteriorating. The introduction of a compensation coefficient further eliminates the lag effect caused by the control cycle, ensuring rapid power reduction to zero under extreme conditions. This effectively solves the shutdown problem caused by bus voltage drops under harsh operating conditions without increasing hardware costs or changing bus capacitor parameters, ensuring the continuous and stable operation of the two-stage power supply under abnormal input conditions.

[0072] In another embodiment, step S102 specifically includes:

[0073] Step 1: Estimate the energy change of the bus capacitance between adjacent sampling times based on the bus voltage at the current sampling time and the bus voltage at the previous sampling time;

[0074] Step 2: Calculate the derating output power for the current control cycle based on the energy change and the derating output power of the previous control cycle.

[0075] By utilizing bus voltage data from two adjacent sampling times, the energy change of the bus capacitor within this minute time interval can be accurately calculated. This energy change reflects the energy fluctuation of the capacitor due to the imbalance between the input power of the preceding stage and the output power of the following stage, and is the core basis for determining whether power adjustment of the following stage is necessary. When the calculated energy change is positive, it indicates that the bus capacitor is in a discharging state and the voltage is dropping; conversely, it is in a charging state. Based on this energy change, combined with the derating output power of the previous control cycle, the derating output power command for the current cycle is generated through recursive calculation, thereby achieving smooth and continuous power adjustment and avoiding load impact caused by sudden changes in power commands.

[0076] The bus voltage at the current sampling moment, used as one of the basic input data for calculation, is acquired in real time by a voltage sampling circuit located on the DC bus. The bus voltage at the previous sampling moment, as historical data, is usually stored in the controller's register or cache and used for comparison with the current value. The difference between these two voltage values ​​reveals the trend of the bus capacitor voltage. Energy change refers to the energy stored or released by the bus capacitor between two adjacent sampling moments, directly characterizing the charging and discharging state and intensity of the bus capacitor. The derating output power of the previous control cycle refers to the output power limit value of the subsequent conversion circuit that the system has already executed in the control cycle preceding the current control cycle. This value serves as the reference term for recursive calculations, ensuring the continuity and stability of the power adjustment process.

[0077] Estimating the energy change of the bus capacitance between adjacent sampling times is a crucial step in converting voltage sample values ​​into energy quantities. This process is derived based on the physical essence of the capacitor energy storage formula. Specifically, utilizing the physical characteristics of the bus capacitance, the squared difference of the voltage is calculated by comparing the voltage value at the current sampling time with the voltage value at the previous sampling time. Then, combined with the capacitance parameter of the bus capacitance, the energy change value is obtained.

[0078] The process of calculating the drated output power for the current control cycle is a dynamic correction process based on the power state of the previous cycle and the currently detected energy fluctuations. This process demonstrates the algorithm's memory and real-time performance, ensuring that the power gradually decreases when the voltage continues to drop and gradually increases when the energy recovers. By introducing the drated output power of the previous control cycle as a benchmark and adding or subtracting correction terms based on energy changes, a smooth and physically meaningful power control command can be generated, effectively suppressing drastic fluctuations in bus voltage.

[0079] The two steps described above are closely linked. By first calculating the energy change to obtain the current energy balance state of the system, and then combining it with the power reference of the previous cycle for recursive updates, it can not only respond to the fluctuations of the bus voltage in real time, but also maintain a smooth transition of power commands, thereby maintaining a high output power level as much as possible while ensuring that the system does not shut down.

[0080] In one specific implementation, the energy change of the bus capacitor between adjacent sampling times is determined according to the following formula:

[0081]

[0082] In the formula, This represents the energy change of the bus capacitance between adjacent sampling times, where C represents the capacitance value of the bus capacitance. and These represent the bus voltage sample values ​​at the current sampling time and the previous sampling time, respectively. Indicates the control cycle.

[0083] Based on the principle of capacitor energy storage, the energy stored in an ideal capacitor is proportional to the square of the voltage across it. Based on this physical characteristic, a sampling circuit is used to obtain the current bus voltage sample value in real time. It also retrieves the bus voltage sample value recorded at the previous sampling time from the memory. Substituting the voltage sampling values ​​at the two moments mentioned above into the formula, and combining this with the preset bus capacitor value C, the voltage value at the control cycle can be calculated. The energy value released or absorbed by the internal bus capacitor.

[0084] In a scenario where the bus voltage drops due to adverse operating conditions, the voltage at the previous sampling time... Typically higher than the voltage at the current sampling time. This makes the difference term If the value is positive, then the calculated result will be... A positive value indicates that the bus capacitor releases energy during this time interval. Conversely, if the bus voltage is in the recovery phase, then... A negative value indicates that the bus capacitor is absorbing and storing energy. Using a calculation model based on the squared difference of voltage accurately reflects the nonlinear physical nature of capacitor energy changes, ensuring the accuracy of energy estimation in both dimensions and numerical values, thus providing reliable data support for subsequent calculations of derating output power.

[0085] Furthermore, the derating output power for the current control cycle is calculated using the following formula:

[0086]

[0087] In the formula, and These represent the derating output power of the subsequent stage in the current control cycle and the previous control cycle, respectively. This represents the compensation coefficient.

[0088] In the above calculation formula, This characterizes the change in energy released or absorbed by the bus capacitor during the time interval from the previous sampling moment to the current sampling moment. This energy change is then divided by the control period. This can be converted into the average power change over the corresponding time scale, i.e., the charging and discharging power of the bus capacitor. This process achieves a mapping from the energy dimension to the power dimension, ensuring the consistency of the power regulation command and the actual energy loss rate of the bus capacitor in terms of dimensions.

[0089] Derating output power of the next stage in the previous control cycle As the baseline term for recursive calculation, it represents the output power limit of the subsequent stage that the system actually executed or calculated at the end of the previous control cycle. The drated output power for the current control cycle. Dynamic correction is performed based on this reference power. When the bus capacitor is discharging, causing a voltage drop, ... A positive value indicates that the bus capacitor has released energy, and the calculation result will reduce the derating output power for the current cycle. Compared to the previous cycle, it is reduced. By further reducing the output power command of the subsequent stage, the energy extraction rate of the bus capacitor is reduced, thereby suppressing the continued drop in bus voltage.

[0090] Compensation coefficient In the formula, this is used as a gain factor to correct the calculated power regulation. Given the inherent control delays in actual control systems, such as sampling delay, calculation delay, and power device response delay, directly applying an equal power deduction based on the calculated energy loss often leads to regulation lag. This prevents timely triggering of effective power limiting under extreme conditions of a sharp drop in bus voltage, thus triggering undervoltage protection. Therefore, a compensation coefficient is introduced. Subsequently, when calculating the derating output power, the system multiplies by a coefficient greater than 1, ensuring that the power derating for the current cycle is greater than the theoretical power loss. This active overshoot mechanism pre-compresses the output power of the subsequent stage, providing a time margin for the control system's response delay. This ensures that even under the worst-case scenario where the bus voltage drops at the fastest rate, the system can quickly reduce the output power to a safe level, avoiding undervoltage shutdown due to response lag.

[0091] Based on the aforementioned formulas and the synergistic effect of various parameters, this method forms a negative feedback regulation closed loop based on the energy state of the bus capacitor. When the bus voltage drops due to energy deficit, the formula-driven derating mechanism automatically reduces output power, decreases energy consumption, and promotes a recovery or halt to the voltage drop in the bus. Conversely, when the bus voltage recovers due to energy replenishment from the preceding stage, the change in the voltage square term will automatically increase the drated output power, thereby achieving adaptive recovery of output power. This process requires no manual intervention and can automatically complete real-time and precise control of the output power of the subsequent conversion circuit, effectively solving the problem of bus voltage stability under harsh operating conditions.

[0092] In addition, compensation coefficient Adjusted according to the following formula:

[0093]

[0094] In the formula, This indicates the output power before entering the power-limited operating condition, and C represents the capacitance value of the bus capacitor. This represents the minimum bus voltage ripple value during normal operation of a two-stage power supply. This indicates the undervoltage protection point voltage. Indicates the control cycle.

[0095] The tuning process is based on a reverse calculation using a preset worst-case operating condition. The worst-case operating condition is defined as: the bus voltage drops from the lowest value of the bus voltage ripple during normal operation of the two-stage power supply to the undervoltage protection point within one control cycle. Under this extreme boundary condition, the system is configured to reduce the derating output power of the subsequent conversion circuit to zero, thereby ensuring that even in the event of a sudden and severe voltage drop, the system can completely suppress further voltage decline through derating, avoiding triggering hardware protection and shutdown. Based on this boundary condition, the derating output power is set to zero, and the voltage drop amplitude is... Substituting these equations into the energy conservation and power balance equations, the aforementioned compensation coefficients can be obtained by inverse solving. The calculation formula.

[0096] This represents the power level of the system under normal and stable operating conditions. This data is not a fixed constant, but rather a physical quantity that dynamically changes according to the real-time demand of the load. In practical applications, Obtain it through any of the following methods: This refers to the rated output power of a two-stage power supply. The output power sampled in the control cycle preceding the power-limiting condition; The average output power within a preset time window before triggering the power-limiting condition.

[0097] When the first method is used to obtain In this case, the rated output power of the two-stage power supply is directly used as the reference value. This value comes from the hardware design parameters or nameplate nominal value of the power supply equipment, such as the maximum output power value for long-term stable operation determined during the system design phase (e.g., 1000W or 2000W). This method is suitable for scenarios where the system operates close to its rated state for a long time, without consuming additional computing resources for real-time calculations.

[0098] When using the second method to obtain During the control cycle preceding the power-limiting condition, the output voltage and current of the subsequent conversion circuit are sampled. Based on the collected data from the voltage and current sensors, the instantaneous output power is obtained and this instantaneous value is determined as [the instantaneous power value]. This method can accurately reflect the actual power demand of the load before the triggering moment, and has extremely strong real-time response characteristics.

[0099] When using the third method to obtain The system calculates the average output power within a preset time window before triggering the power-limiting condition. The length of this preset time window is set according to the dynamic characteristics of the control system, such as selecting the most recent 10 control cycles or a time period of 50 milliseconds. By performing arithmetic or moving average filtering on the output power at multiple sampling moments within the time window, power fluctuations caused by instantaneous load fluctuations or measurement noise can be effectively filtered out, resulting in a smoother and more robust output. Numerical value.

[0100] By providing the above three acquisition methods, it is possible to flexibly adapt to different application scenarios and meet the system's differentiated needs for detection accuracy and response speed.

[0101] and It is a key boundary parameter reflecting the electrical characteristics of the DC bus of a two-stage power supply. This is not an arbitrarily set voltage value, but rather the lowest value of the ripple voltage generated on the DC bus under normal operating conditions of a two-stage power supply, influenced by factors such as the periodic fluctuations of the input power supply (e.g., AC grid), the power pulsations of the upstream conversion circuit, and the dynamic changes of the downstream load. This value reflects the dynamic lower limit of the bus voltage within the safe and stable operating range, and can be determined by long-term monitoring of the bus voltage and extracting the minimum value of the steady-state fluctuation period. This is the undervoltage protection point voltage set by the system hardware or underlying logic. When the bus voltage falls below this value, the system will forcibly trigger shutdown protection to prevent equipment damage. This value is typically determined by the capacitor's withstand voltage, the operating range of subsequent circuits, and safety standards, and is the system's inherent safety threshold. In the setting formula, it utilizes... The calculated voltage squared difference, combined with the capacitance value C, precisely quantifies the bus capacitance in a single control cycle. The maximum rate of change of energy that may be released within provides a precise physical reference for the compensation coefficient.

[0102] This represents the control cycle of the two-stage power supply's internal control system, i.e., the time interval between one complete sampling, calculation, and control command update. This parameter depends on the controller's processing performance, the PWM carrier frequency, and the real-time requirements of the system design. In the tuning formula, As a time normalization factor, the energy change of the bus capacitor is converted into a power dimension to ensure the compensation coefficient. As a dimensionless parameter, it can directly provide linear compensation for power regulation. By introducing a control period, this tuning method can be adapted to control systems of different frequencies, thus having wide engineering applicability.

[0103] The compensation coefficient determined through the above tuning process This means that the derating output power calculation in the above embodiments no longer relies on empirical debugging, but is established based on the system's core physical parameters (bus capacitor value C) and operating boundary parameters (minimum ripple value). Undervoltage protection point ) and real-time operating parameters (current output power) The strong coupling relationship between the two systems. This tuning strategy, which is based on the worst-case operating conditions, ensures that in extreme cases of a sharp voltage drop, the compensated derating is sufficient to reduce the output power to a safe level within a single control cycle. This overcomes the problem of false triggering of undervoltage protection caused by control delay, and significantly improves the system's robustness and continuous power supply capability under harsh conditions such as input power failure and sudden load increase.

[0104] In one specific implementation, the power limiting trigger condition is that the bus voltage sample value drops to the power limiting trigger threshold, which is lower than the minimum bus voltage ripple value during normal operation of the two-stage power supply by a preset margin.

[0105] During the normal operation of a two-stage power supply, the DC bus voltage is not a constant value due to the instantaneous fluctuations in input power and the dynamic changes in the downstream load. Instead, it exhibits an inherent ripple component centered around the average bus voltage. The minimum bus voltage ripple value refers to the lower limit of the DC bus voltage within one or half a power frequency cycle when the system is in a stable operating state without adverse conditions. Its value depends on the capacitance of the bus capacitor, the filtering capability of the preceding stage output, and the current ripple characteristics of the downstream load. For example, in a typical system with a nominal voltage of 400V, the minimum bus voltage ripple value may be around 380V, which represents the allowable normal dynamic fluctuation range of the system. Real-time monitoring of voltage changes on the DC bus aims to ensure that derating control is initiated only when there is a substantial voltage drop rather than normal ripple fluctuations. The power limiting trigger threshold is a key criterion for determining when the system enters the power limiting protection state.

[0106] To avoid frequent false triggering of power limiting protection due to normal voltage ripple troughs, leading to unnecessary performance degradation, a preset margin is introduced as a safety buffer. This preset margin is set based on the peak-to-peak amplitude of the bus voltage ripple, the system noise level, and the required response sensitivity. It is determined through engineering calibration or offline calculation and is used to effectively distinguish between normal fluctuation ranges and abnormal drop trends. The power limiting trigger threshold is configured to be strictly lower than the minimum bus voltage ripple value; the difference between the two is the preset margin. The system is determined to have entered a power imbalance state requiring intervention only when the sampled bus voltage value is lower than the minimum bus voltage ripple value minus the preset margin.

[0107] The threshold setting logic based on the aforementioned ripple statistical characteristics can effectively distinguish between normal periodic voltage fluctuations and aperiodic voltage drop faults. This mechanism not only ensures the reliability of the protection but also maximizes the energy storage capacity of the bus capacitor, avoiding wasted output power due to premature intervention. Furthermore, the preset margin, as a configurable parameter, allows for flexible adjustment based on specific power supply topology specifications, the tolerance for false alarm rates in the application scenario, and different requirements for response speed. For example, the margin can be appropriately increased for applications with high ripple, while it can be appropriately decreased for scenarios requiring extremely high response speed, thus achieving a balance between anti-interference capability and response speed.

[0108] In another embodiment, such as Figure 1 As shown, the method further includes: when the bus voltage sampling value meets the power limiting recovery condition, exiting the power limiting condition and restoring normal output power control, wherein the recovery threshold corresponding to the power limiting recovery condition is different from the trigger threshold corresponding to the power limiting trigger condition, and the recovery threshold is greater than the trigger threshold.

[0109] The power limiting recovery condition, used as the control logic criterion for determining whether a two-stage power supply can exit the power limiting protection mode and restore its rated power operation, is essentially based on constructing a comparison region based on voltage hysteresis characteristics. This condition is specifically defined by a preset recovery threshold, which is not a single fixed voltage value, but rather a voltage limit determined by the system based on the bus voltage ripple characteristics during normal operation, the load fluctuation range, and the stability margin of the control system. During the system design phase, this recovery threshold can be calculated and set based on the peak-to-peak value of the bus voltage ripple in historical operating data, combined with a preset anti-jitter margin. By ensuring that the recovery threshold is strictly greater than the trigger threshold, the difference between the two forms the voltage hysteresis range, effectively shielding ripple noise interference during voltage recovery.

[0110] Setting the recovery threshold higher than the trigger threshold optimizes the system's response characteristics at critical voltage points. During the rise of the bus voltage due to energy balance recovery, the bus voltage sample value is continuously monitored. The power limiting protection exit command is only executed when this sample value exceeds the higher recovery threshold, rather than merely rising to the lower trigger threshold. This mechanism ensures that even if the bus voltage experiences a momentary drop due to ripple during the recovery phase, as long as it does not fall below the trigger threshold, the system will not falsely trigger the power limiting action again, thus avoiding frequent jumps in the output power command between the power limiting value and the rated value. Utilizing this independent recovery threshold with a positive difference, and leveraging the hysteresis comparison principle, the stability of system state transitions can be improved simply by differentiating the logic thresholds without changing the hardware circuitry, achieving a smooth transition of the two-stage power supply from power limiting conditions to normal operating conditions.

[0111] like Figure 4 As shown, based on the control method of this embodiment, a two-stage power supply is generated. Figure 2 After the severe operating condition shown occurs, the power limiting condition is triggered in the subsequent conversion circuit, and the subsequent bus voltage recovery process is as follows:

[0112] Step 1, a severe working condition occurs at time t2, t2 to During a specific time period, the busbar releases energy. As the voltage continues to drop, the system operates in the stage where the busbar releases energy.

[0113] Step 2 When the bus voltage drops to meet the power limiting trigger condition, it enters the derating operation mode. During time interval t5, the output power of the subsequent stage decreases, and the output power of the subsequent stage is determined by the drated output power of the previous moment and the change in bus energy. The bus voltage stops dropping, and the system operates in the transition steady-state phase.

[0114] Step 3: At time t5, the output power of the subsequent stage drops to its minimum value, and the bus begins to replenish energy. During the time interval t5 to t6, the bus voltage and output power recover synchronously. The system is operating in the bus energy replenishment phase.

[0115] If the power limiting trigger condition is not met at Step 4 and t6, the derating exit condition is met, and the bus power limiting operation condition is exited. The bus voltage and downstream output power both return to normal operating ranges.

[0116] In a preferred embodiment, the difference between the recovery threshold and the trigger threshold is greater than the peak-to-peak value of the bus voltage ripple during normal operation of the two-stage power supply.

[0117] In this configuration, the voltage difference between the recovery threshold and the trigger threshold constitutes the hysteresis interval, the width of which is configured to be strictly greater than the peak-to-peak value of the bus voltage ripple under normal operation of the two-stage power supply. Affected by the double-frequency power pulsation generated by the preceding conversion circuit and the dynamic disturbance of the subsequent load, the DC bus voltage exhibits periodic fluctuations during steady-state operation. The amplitude range of these fluctuations is the peak-to-peak value of the bus voltage ripple. If the hysteresis interval is too narrow and smaller than the peak-to-peak value of the bus voltage ripple, during the bus voltage recovery process, the AC ripple superimposed on the DC component can easily cause the instantaneous voltage to drop below the trigger threshold again, leading to frequent switching between power-limiting control mode and normal control mode within a short period, causing severe oscillations in the system output power. By setting the difference between the recovery threshold and the trigger threshold to be greater than the peak-to-peak value of the bus voltage ripple, a dead zone that can completely cover the voltage ripple range is constructed, ensuring that after the bus voltage meets the recovery conditions and exits the power-limiting condition, even if normal ripple fluctuations exist, its instantaneous value will not immediately fall back to the sensitive area corresponding to the trigger threshold. This setting effectively eliminates the phenomenon of repeated switching of control logic caused by voltage ripple, ensuring the unidirectionality and stability of the system when exiting the power-limited operating condition.

[0118] Alternatively, the recovery threshold can be the average of the bus voltage samples.

[0119] In this configuration, the recovery threshold is set as the average value calculated from real-time or near-real-time bus voltage samples. Compared to instantaneous samples at a single moment, the average bus voltage value more accurately reflects the energy level change trend of the DC bus over a period of time, exhibiting stronger anti-interference capabilities and signal smoothing characteristics. In practice, a moving average algorithm can be used to statistically process multiple voltage sampling points within a preset time window to determine the current average voltage level, which is then used as the recovery threshold. Using the average bus voltage value as the recovery criterion allows the recovery threshold to adaptively adjust to follow the long-term fluctuation trend of the bus voltage. When the input voltage drifts slowly or the load power changes over a long period, the average bus voltage value shifts accordingly, dynamically correcting the triggering timing of the recovery action. This threshold setting mechanism based on statistical characteristics avoids the premature or delayed recovery problems that may occur when using a fixed threshold in scenarios with large deviations in system operating conditions, improving the adaptability and robustness of the power limiting control strategy over a wide operating range.

[0120] In another embodiment, step S103, which controls the output power of the subsequent conversion circuit based on the derating output power, includes: when the subsequent conversion circuit is operating in current source mode, dividing the derating output power by the current output voltage to obtain a derating current command, and controlling the output current of the subsequent conversion circuit based on the derating current command.

[0121] In current source mode, the control objective of the subsequent conversion circuit is to stabilize the output current. At this time, the output voltage is typically determined by load characteristics or external circuitry. To convert the derating output power determined in the preceding steps into a specific execution quantity, a division operation is performed using this derating output power as the dividend and the real-time acquired current output voltage as the divisor to calculate the derating current command. This calculation process is based on the physical laws of power. That is, given a fixed power constraint, the current value required to satisfy the power constraint is calculated by using the real-time sampled voltage value.

[0122] The generated derating current command is directly used as a reference value for the internal control loop of the subsequent conversion circuit. For example... Figure 5 As shown, in this control architecture, the derating current command replaces the original rated current command input to the current control loop. The current control loop adjusts the current based on the deviation between the derating current command and the actual output current feedback value using control algorithms such as proportional-integral regulators. This generates a pulse-width modulation signal to drive the power switches in the subsequent conversion circuit, forcing the output current to follow the derating current command. Therefore, the output power of the subsequent stage is limited to the derating output power level, effectively suppressing bus voltage dips.

[0123] When the subsequent conversion circuit operates in voltage source mode, the derating output power is divided by the current output current to obtain the derating voltage command, and the output voltage of the subsequent conversion circuit is controlled according to the derating voltage command.

[0124] In voltage source mode, the subsequent conversion circuit aims to stabilize the output voltage, while the output current is determined by the load demand. To achieve power derating in this mode, the derating output power is used as the divisor, and the currently detected output current is used as the divisor to calculate the derating voltage command. This processing logic also follows the physical laws of power. A variation of this is to inversely calculate the target voltage level that the system should maintain, given a known target output power and current load current.

[0125] The calculated derating voltage command is used as the given input for the voltage control loop in closed-loop regulation. For example... Figure 6 As shown, the voltage control loop performs adjustment based on the deviation between the derating voltage command and the actual output voltage feedback value. The output control signal drives the subsequent conversion circuit to stabilize its output voltage at the level corresponding to the derating voltage command. Since the output current is determined by the load at this point, reducing the output voltage directly reduces the output power. This, combined with the energy balance control strategy of the bus capacitor, prevents the bus voltage from dropping to the undervoltage protection point due to over-discharge.

[0126] The aforementioned differentiated control strategies for current source and voltage source modes collectively construct a complete power regulation mechanism for the downstream stage. Based on the actual operating mode of the downstream conversion circuit, the calculation path based on the current output voltage or current is flexibly selected, accurately mapping the uniform derating output power parameter to the corresponding current or voltage control command. This adaptive control method ensures that the system can accurately execute power limiting under different application scenarios and load characteristics, enabling the two-stage power supply to maintain stable bus voltage while maximizing power output capability under harsh operating conditions.

[0127] In another embodiment, the dated output power is used as a reference value for the outermost power loop of the subsequent conversion circuit control loop, which also includes a current loop and / or a voltage loop located within the outermost power loop.

[0128] In this approach, the derating output power is set as the reference command for the outermost power loop in the control loop of the subsequent converter circuit. This control architecture employs a multi-loop nested structure, with the power loop at the outermost layer, and current loops and / or voltage loops nested within it. The specific loop configuration depends on the operating mode of the subsequent converter circuit: when the subsequent converter circuit operates in current source mode, the control loop mainly consists of the outer power loop and the inner current loop, with the output of the power loop directly serving as the current reference value for the current loop; when the subsequent converter circuit operates in voltage source mode, the control loop typically consists of the outer power loop, the middle voltage loop, and the inner current loop connected in series, with the output of the power loop serving as the voltage reference value for the voltage loop, and the output of the voltage loop further serving as the current reference value for the current loop.

[0129] By applying the drated output power directly to the outermost power loop, when the bus voltage drops due to adverse operating conditions, the adjustment command for the output power of the downstream stage can directly act on the top-level target of the control system. This approach avoids control delays and regulation failures that may be caused by the response speed limitations or bandwidth constraints of the inner loop, thereby significantly improving the real-time performance and effectiveness of the control strategy.

[0130] The aforementioned control architecture establishes power regulation as the highest priority in the control chain, enabling the energy loss compensation calculated in the preceding stage to be directly converted into the control target of the subsequent converter. This scheme achieves stepless regulation of the output power of the subsequent stage without introducing additional limiting elements or modifying the underlying reference values ​​in the existing current or voltage loops, thus ensuring the stable operation of the system under different load conditions.

[0131] Based on the two-stage power supply control method described above, this embodiment also provides a two-stage power supply, which includes a pre-stage conversion circuit, a bus capacitor, and a post-stage conversion circuit. The input side of the pre-stage conversion circuit is used to connect to the power supply. The DC side of the pre-stage conversion circuit and the DC side of the post-stage conversion circuit are connected via a DC bus, and the bus capacitor is connected to the DC bus. The output side of the post-stage conversion circuit is used to connect to the load. The two-stage power supply also includes a controller, which executes the specific process of the two-stage power supply control method as described in the above embodiments, and will not be repeated here.

[0132] In addition, this embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the two-stage power control method as described in the above embodiment.

[0133] The computer-readable storage medium can include, but is not limited to, various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks. In practical applications, the computer-readable storage medium can be integrated into the controller of a two-stage power supply, for example, as the controller's Flash memory or EEPROM for storing control algorithms; it can also serve as a standalone software product carrier, loaded into a general-purpose processor, digital signal processor (DSP), or microcontroller unit (MCU) via an external interface.

[0134] When the processor reads and executes the computer program stored on the computer-readable storage medium, it can perform the specific steps of the above-described control method, including: detecting the bus voltage of the DC bus and obtaining a sampled value of the bus voltage; when the sampled value of the bus voltage meets the power limiting trigger condition, estimating the energy loss of the bus capacitor based on the sampled values ​​of the bus voltage at adjacent sampling times, and calculating the derating output power of the subsequent conversion circuit based on the energy loss; and controlling the output power of the subsequent conversion circuit based on the derating output power to suppress further drops in the bus voltage. Furthermore, when executed, the program can also perform specific functions such as energy change calculation, derating output power recursive calculation, compensation coefficient setting, power limiting trigger and recovery condition judgment, and instruction conversion in current source / voltage source mode, as described in the foregoing embodiments.

[0135] Through the above technical solution, this embodiment realizes the transformation of the aforementioned control method into a storable and transmissible software form, enabling the control strategy to be flexibly deployed in two-stage power systems on different hardware platforms without requiring additional modifications to the hardware circuit, reducing the cost of technology upgrades and maintenance, and improving the applicability and maintainability of the product.

[0136] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A two-stage power supply control method, wherein the two-stage power supply includes a pre-stage conversion circuit, a bus capacitor, and a post-stage conversion circuit, the input side of the pre-stage conversion circuit is used to connect to the power supply, the DC side of the pre-stage conversion circuit and the DC side of the post-stage conversion circuit are connected through a DC bus, the bus capacitor is connected to the DC bus, and the output side of the post-stage conversion circuit is used to connect to a load, characterized in that, The method includes: The bus voltage of the DC bus is detected to obtain the bus voltage sample value; When the bus voltage sample value meets the power limiting trigger condition, the energy loss of the bus capacitor is estimated based on the bus voltage sample value at adjacent sampling times, and the derating output power of the subsequent conversion circuit is calculated based on the energy loss. The output power of the subsequent conversion circuit is controlled according to the derating output power to suppress the continued drop in the bus voltage; The derating output power is compensated according to a compensation coefficient, which is set based on the worst operating condition. The worst operating condition is when the bus voltage drops from the lowest value of the bus voltage ripple during normal operation of the two-stage power supply to the undervoltage protection point within one control cycle, and the derating output power is equal to zero under the worst operating condition.

2. The method as described in claim 1, characterized in that, The step of estimating the energy loss of the bus capacitor based on the bus voltage sampling values ​​at adjacent sampling times, and calculating the derating output power of the subsequent conversion circuit based on the energy loss, includes: Based on the bus voltage at the current sampling time and the bus voltage at the previous sampling time, estimate the energy change of the bus capacitor between adjacent sampling times; The derating output power for the current control cycle is calculated based on the energy change and the derating output power of the previous control cycle.

3. The method as described in claim 2, characterized in that, The energy change of the bus capacitor between adjacent sampling times is determined by the following formula: In the formula, This represents the energy change of the bus capacitor between adjacent sampling times, where C represents the capacitance value of the bus capacitor. and These represent the bus voltage sample values ​​at the current sampling time and the previous sampling time, respectively. Indicates the control cycle.

4. The method as described in claim 3, characterized in that, The derating output power of the current control cycle is calculated according to the following formula: In the formula, and These represent the derating output power of the subsequent stage in the current control cycle and the previous control cycle, respectively. This represents the compensation coefficient.

5. The method as described in claim 4, characterized in that, The compensation coefficient Adjusted according to the following formula: In the formula, This indicates the output power before entering the power-limited operating condition, and C represents the capacitance value of the bus capacitor. This represents the minimum bus voltage ripple value during normal operation of the two-stage power supply. This indicates the undervoltage protection point voltage. Indicates the control cycle.

6. The method as described in claim 5, characterized in that, The output power before entering the power-limited operating condition Obtain it through any of the following methods: The rated output power of the two-stage power supply; The output power sampled in the control cycle preceding the power-limiting condition; The average output power within a preset time window before triggering the power-limiting condition.

7. The method as described in claim 1, characterized in that, The power limiting trigger condition is that the bus voltage sample value drops to the power limiting trigger threshold, which is lower than the minimum bus voltage ripple value during normal operation of the two-stage power supply by a preset margin.

8. The method as described in claim 1, characterized in that, The method further includes: When the bus voltage sampling value meets the power limit recovery condition, the power limit condition is exited and normal output power control is restored. The recovery threshold corresponding to the power limiting recovery condition is different from the trigger threshold corresponding to the power limiting trigger condition, and the recovery threshold is greater than the trigger threshold.

9. The method as described in claim 8, characterized in that, The difference between the recovery threshold and the trigger threshold is greater than the peak-to-peak value of the bus voltage ripple during normal operation of the two-stage power supply. Alternatively, the recovery threshold can be taken as the average value of the bus voltage samples.

10. The method as described in claim 1, characterized in that, The step of controlling the output power of the subsequent conversion circuit according to the derating output power includes: When the subsequent conversion circuit operates in current source mode, the dated output power is divided by the current output voltage to obtain the dated current command, and the output current of the subsequent conversion circuit is controlled according to the dated current command. When the subsequent conversion circuit operates in voltage source mode, the derating output power is divided by the current output current to obtain the derating voltage command, and the output voltage of the subsequent conversion circuit is controlled according to the derating voltage command.

11. The method as described in claim 1, characterized in that, The derating output power serves as a reference value for the outermost power loop of the subsequent conversion circuit control loop. The subsequent conversion circuit control loop also includes a current loop and / or a voltage loop located within the outermost power loop.

12. A two-stage power supply, comprising a pre-stage converter circuit, a bus capacitor, and a post-stage converter circuit, wherein the input side of the pre-stage converter circuit is used to connect to a power source, the DC side of the pre-stage converter circuit and the DC side of the post-stage converter circuit are connected via a DC bus, the bus capacitor is connected to the DC bus, and the output side of the post-stage converter circuit is used to connect to a load, characterized in that, It also includes a controller for performing the control method as described in any one of claims 1 to 11.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the control method as described in any one of claims 1 to 11.