Voltage overshoot regulation methods, electronic devices and storage media

By introducing an interval variable value into the LLC topology to judge voltage overshoot, and performing voltage amplification and PI regulation, the voltage overshoot problem during load switching is solved, and the dynamic performance and stability of the controlled circuit are improved.

CN115686123BActive Publication Date: 2026-03-06SHIJIAZHUANG TONHE ELECTRONICS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2026-03-06

AI Technical Summary

Technical Problem

Existing LLC control methods exhibit high voltage overshoot when the load changes suddenly, especially when switching from full load to no load, causing the controlled circuit to be unable to adjust the output voltage in time.

Method used

The voltage error is calculated by obtaining the current output voltage after PI regulation and the voltage reference value in the controlled circuit. An interval variable value is introduced to determine whether voltage amplification is required. If the voltage error is greater than the threshold and the interval variable value is less than or equal to the preset value, voltage amplification and PI regulation are performed until the error is less than the threshold or the interval variable value is greater than the preset value to prevent over-regulation.

Benefits of technology

Rapidly reduce the PI output value to improve the dynamic performance and stability of the controlled circuit, prevent multiple over-adjustments caused by slow response, and ensure the stability of the output voltage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115686123B_ABST
    Figure CN115686123B_ABST
Patent Text Reader

Abstract

This invention provides a voltage overshoot regulation method, an electronic device, and a storage medium. The method includes: acquiring the current output voltage of the controlled circuit, and calculating the current voltage error based on the current output voltage and a voltage reference value; acquiring the current interval variable value; if the current voltage error is greater than a voltage error threshold and the current interval variable value is less than or equal to a first preset value, performing voltage amplification processing on the current voltage error to obtain a first voltage error; performing PI regulation on the first voltage error to obtain an adjusted output voltage; using the adjusted output voltage as the current output voltage, recalculating the current voltage error and executing subsequent steps until the current voltage error is less than or equal to the voltage error threshold, or the current interval variable value is greater than the first preset value, and then performing PI regulation on the corresponding current voltage error to obtain the adjusted output voltage. This invention can quickly reduce the output voltage of the controlled circuit and rapidly alleviate voltage overshoot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of DC-DC converter technology, and more particularly to a voltage overshoot regulation method and electronic device. Background Technology

[0002] Whether it's the power module used in a charging pile, an on-board power module, or a general power supply module, a DC-DC converter is generally used. DC-DC converters typically use an LLC topology to achieve high-frequency resonant soft-switching control, aiming to achieve a stable output voltage over a wide input range. Existing wide-input-range LLC control methods usually employ a combination of frequency modulation and intermittent control. That is, a voltage closed-loop approach is used to regulate the LLC frequency; the frequency is lower (i.e., higher duty cycle) at the low input end compared to the high input end, while an intermittent state occurs at the high input end.

[0003] However, when using a control method that combines frequency modulation and intermittent operation, a high voltage overshoot phenomenon may occur when the load is suddenly removed, especially when switching from full load to no load, if the PI parameter is not fast enough. Summary of the Invention

[0004] This invention provides a voltage overshoot regulation method, an electronic device, and a storage medium to solve the problem of high voltage overshoot that occurs during sudden load removal.

[0005] In a first aspect, embodiments of the present invention provide a voltage overshoot regulation method, comprising:

[0006] Obtain the current output voltage after PI regulation in the controlled circuit, and calculate the current voltage error based on the current output voltage and the voltage reference value;

[0007] Obtain the current interval variable value; the current interval variable value represents the number of any counted cycles between the end of the previous voltage amplification process and the end of the current voltage amplification process.

[0008] If the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, the current voltage error is amplified to obtain the first voltage error, and the first voltage error is PI-regulated to obtain the adjusted output voltage of the controlled circuit.

[0009] The adjusted output voltage is used as the current output voltage. The current voltage error is recalculated and subsequent steps are executed until the current voltage error is less than or equal to the voltage error threshold, or the current interval variable value is greater than the first preset value. Then, the current corresponding voltage error is adjusted by PI and the output voltage is adjusted.

[0010] In one possible implementation, obtaining the current interval variable value includes:

[0011] After the previous round of voltage amplification processing is completed, a countdown counter is started, and the value of the countdown counter is set to a preset interval variable value;

[0012] Get the current countdown value;

[0013] After obtaining the current interval variable value, the process also includes:

[0014] Check if the current interval variable value is greater than the first preset value;

[0015] If the current interval variable value is greater than the first preset value, count down the current interval variable value;

[0016] Detect whether the current voltage error is greater than the voltage error threshold, obtain the current interval variable value, and detect whether the current interval variable value is less than or equal to the first preset value.

[0017] In one possible implementation, after obtaining the current interval variable value, the method further includes:

[0018] If the current interval variable value is less than or equal to the first preset value, pause the countdown.

[0019] Detect whether the current voltage error is greater than the voltage error threshold, obtain the current interval variable value, and detect whether the current interval variable value is less than or equal to the first preset value.

[0020] In one possible implementation, after detecting whether the current voltage error is greater than a voltage error threshold, obtaining the current interval variable value, and detecting whether the current interval variable value is less than or equal to a first preset value, the method further includes:

[0021] If the current voltage error is greater than the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is less than or equal to the first preset value, then detect whether the PI output value after PI adjustment of the current voltage error is less than the PI threshold.

[0022] If the PI output value after PI adjustment is less than the PI threshold, the current interval variable value and voltage error will be reset.

[0023] The output voltage is adjusted by PI control of the current voltage error.

[0024] In one possible implementation, after detecting whether the PI output value after PI adjustment of the current voltage error is less than the PI threshold, the method further includes:

[0025] If the PI output value after PI adjustment of the current voltage error is greater than or equal to the PI threshold, the output voltage is adjusted by PI for the current voltage error.

[0026] In one possible implementation, the current voltage error is amplified to obtain a first voltage error, including:

[0027] If the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, the current interval variable value continues to count down and checks whether the current interval variable value is equal to 0, or checks whether the PI output value after PI adjustment of the current voltage error is greater than the PI threshold.

[0028] If the current interval variable value is greater than 0, and the PI output value after PI adjustment of the current voltage error is greater than the PI threshold, the current voltage error is increased by a preset multiple to obtain the first voltage error.

[0029] In one possible implementation, after detecting whether the current interval variable value is equal to 0, or detecting whether the PI output value after PI adjustment of the current voltage error is greater than the PI threshold, the method further includes:

[0030] If the current interval variable value is equal to 0, or the PI output value after PI adjustment of the current voltage error is less than or equal to the PI threshold, the current interval variable value and voltage error will be reset.

[0031] The output voltage is adjusted by PI control of the current voltage error.

[0032] In one possible implementation, after expanding the current voltage error by a preset factor to obtain a first voltage error, the method further includes: saving the first voltage error;

[0033] After calculating the current voltage error based on the current output voltage and the voltage reference value, the method further includes: saving the current voltage error;

[0034] The step of resetting the current interval variable value and voltage error includes:

[0035] Reset the current interval variable value to the preset interval variable value;

[0036] Reset the previously saved first voltage error or the previously saved current voltage error to the current voltage error.

[0037] In a second aspect, embodiments of the present invention provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method as described in the first aspect or any possible implementation thereof.

[0038] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in the first aspect or any possible implementation thereof.

[0039] This invention provides a voltage overshoot regulation method, an electronic device, and a storage medium. The method involves acquiring the current output voltage after PI regulation in a controlled circuit, calculating the current voltage error based on the current output voltage and a voltage reference value, acquiring the current interval variable value, and performing voltage amplification on the current voltage error if the current voltage error is greater than a voltage error threshold and the current interval variable value is less than or equal to a first preset value. This first voltage error is then PI-regulated to obtain the adjusted output voltage of the controlled circuit. The adjusted output voltage is used as the current output voltage, and the current voltage error is recalculated and subsequent steps are executed until the current voltage error is less than or equal to the voltage error threshold, or the current interval variable value is greater than the first preset value. Finally, the corresponding voltage error is PI-regulated and the output voltage is adjusted accordingly. Specifically, when the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, voltage amplification is performed on the current voltage error. This rapidly reduces the PI output value, thereby lowering the output voltage of the controlled circuit, adjusting its dynamic performance, increasing its response speed, and improving its stability. Furthermore, when determining whether to perform voltage amplification processing, the current interval variable value is introduced as one of the reference conditions to ensure that after the end of one round of voltage amplification processing, the next round of voltage amplification processing will not be started immediately, thus preventing multiple over-adjustments caused by the slow response of the controlled circuit. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a flowchart illustrating the implementation of the voltage overshoot regulation method provided in this embodiment of the invention.

[0042] Figure 2 This is a schematic diagram of the architecture of the voltage overshoot regulation method provided in an embodiment of the present invention;

[0043] Figure 3 This is a flowchart illustrating the implementation of a voltage overshoot regulation method according to another embodiment of the present invention;

[0044] Figure 4 This is a schematic diagram showing the change of the interval variable value when the current voltage error is greater than the voltage error threshold, provided by an embodiment of the present invention.

[0045] Figure 5 This is a schematic diagram of the voltage overshoot regulation device provided in an embodiment of the present invention;

[0046] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0047] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.

[0048] To make the objectives, technical solutions, and advantages of the present invention clearer, specific embodiments will be described below in conjunction with the accompanying drawings.

[0049] First, it should be noted that this invention is applied to the LLC topology circuit in a DC-DC converter. The LLC topology circuit has a PI controller, which can perform proportional and integral calculations on the input voltage error, output a PI output value, and apply this PI output value to the controlled circuit (i.e., the LLC topology circuit). The controlled circuit adjusts its own output voltage according to the PI output value to achieve the purpose of stabilizing the output voltage.

[0050] However, during sudden unloading, especially when switching from full load to no load, the PI parameters in the PI controller cannot quickly follow the load state, causing the controlled circuit to be unable to adjust its output voltage in time, resulting in a high voltage overshoot. This invention provides a voltage overshoot regulation method to solve this problem and ensure a stable output voltage.

[0051] Figure 1 The implementation flowchart of the voltage overshoot regulation method provided in the embodiment of the present invention is described in detail below:

[0052] Step 101: Obtain the current output voltage after PI regulation in the controlled circuit, and calculate the current voltage error based on the current output voltage and the voltage reference value.

[0053] Optional, see Figure 2 As shown, the controlled circuit obtains the current output voltage after PI regulation by the PI controller, and calculates the current voltage error based on the current output voltage and the voltage reference value.

[0054] Optional, it can be based on V err =V out -V ref Calculate the current voltage error;

[0055] Among them, V err Indicates the current voltage error, V out This represents the current output voltage, V. ref This represents the voltage reference value. This voltage reference value can be set by the user and is a fixed value; however, this embodiment of the invention does not impose specific limitations on it.

[0056] Step 102: Obtain the current interval variable value. The current interval variable value represents the number of cycles counted between the end of the previous voltage amplification process and the end of the current voltage amplification process.

[0057] Optionally, obtaining the current interval variable value includes:

[0058] After the previous voltage amplification process is completed, start the countdown counter and set the countdown counter value to the preset interval variable value;

[0059] Get the current countdown value.

[0060] Each complete PI adjustment can be considered as one cycle. For example, the preset interval variable value here can be set to 2000, that is, 2000 cycles.

[0061] Optional, see Figure 3 After obtaining the current interval variable value, it also includes:

[0062] Check if the current interval variable value is greater than the first preset value;

[0063] If the current interval variable value is greater than the first preset value, count down the current interval variable value;

[0064] Detect whether the current voltage error is greater than the voltage error threshold, obtain the current interval variable value, and detect whether the current interval variable value is less than or equal to the first preset value.

[0065] When counting down the current interval variable value, one cycle is subtracted with each countdown. For example, if the current interval variable value is 2000 cycles, after one countdown, the current interval variable value will have 1999 cycles remaining.

[0066] If the current voltage error is greater than the voltage error threshold, and the current interval variable value is less than or equal to the first preset value, then the controlled circuit is determined to meet the overshoot condition. The subsequent operation of "performing voltage amplification processing on the current voltage error" can then be executed. If the current interval variable value is greater than the first preset value, it indicates that the current interval from the end of the previous voltage amplification processing cycle is too short. Therefore, a countdown is required, and the steps of "detecting whether the current voltage error is greater than the voltage error threshold, obtaining the current interval variable value, and detecting whether the current interval variable value is less than or equal to the first preset value" and subsequent steps are executed. The controlled circuit is only determined to meet the overshoot condition when the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value.

[0067] In other words, when detecting whether the controlled circuit meets the overshoot condition, it is necessary to detect not only the current voltage error but also the current interval variable value. Only when both conditions are met is it determined that the controlled circuit meets the overshoot condition. By detecting whether the current interval variable value is less than or equal to the first preset value, a certain time interval is ensured between the two rounds of voltage amplification processing, preventing the continuous execution of two rounds of voltage error amplification processing operations, thus preventing over-adjustment due to the slow response of the controlled circuit.

[0068] For example, the preset interval variable value can be 2000 cycles, and the first preset value can be 100 cycles. If the current voltage error is consistently greater than the voltage error threshold, a countdown of 2000 cycles begins after the previous voltage amplification process ends. Only when the current interval variable value has 100 cycles remaining, and if the current voltage error is still greater than the voltage error threshold, is the overshoot condition considered met, and the next round of voltage amplification can proceed. In other words, there must be at least a 1900-cycle interval between the end of the previous voltage amplification process and the start of the next to ensure that two consecutive rounds of voltage error amplification are not performed.

[0069] For example, see Figure 4If the current voltage error consistently exceeds the voltage error threshold, once the current interval variable value decreases to 0, the current round of voltage amplification processing ends, the interval variable value resets to 2000, and the countdown restarts. If the current interval variable value is greater than 100, the overshoot condition is not met, and normal voltage processing begins. This continues until the current interval variable value equals 100, at which point the overshoot condition is met, and the next round of voltage amplification processing begins. In other words, the normal voltage processing step is continuously executed for 1900 cycles from 2000 to 100, until the current interval equals 100, at which point voltage amplification processing begins. Voltage amplification processing refers to expanding the current voltage error by a preset factor before PI regulation, while normal voltage processing refers to performing only PI regulation.

[0070] Optionally, after obtaining the current interval variable value, the following may also be included:

[0071] If the current interval variable value is less than or equal to the first preset value, pause the countdown.

[0072] Detect whether the current voltage error is greater than the voltage error threshold, obtain the current interval variable value, and detect whether the current interval variable value is less than or equal to the first preset value.

[0073] If the current interval variable value is less than or equal to the first preset value, it means that at least 1900 cycles of normal voltage processing have been performed after the previous round of voltage amplification. At this time, the countdown can be paused, and there is no need to count down the interval variable value. The "detect whether the current voltage error is greater than the voltage error threshold, obtain the current interval variable value, and detect whether the current interval variable value is less than or equal to the first preset value" and subsequent steps can be executed directly.

[0074] One purpose of setting the preset interval variable value is to ensure that, if the current voltage error is always greater than the voltage error threshold, there is at least a 1900-cycle interval between two rounds of voltage amplification processing for normal voltage processing. Therefore, if 1900 cycles of normal voltage processing have already been completed, the countdown can be paused, and there is no need to start counting down again.

[0075] Optionally, after detecting whether the current voltage error is greater than the voltage error threshold, obtaining the current interval variable value, and detecting whether the current interval variable value is less than or equal to a first preset value, the method further includes:

[0076] If the current voltage error is greater than the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is less than or equal to the first preset value, then detect whether the PI output value after PI adjustment of the current voltage error is less than the PI threshold.

[0077] If the PI output value after PI adjustment is less than the PI threshold, the current interval variable value and voltage error will be reset.

[0078] The output voltage is adjusted by PI control of the current voltage error.

[0079] The controlled circuit is determined to meet the overshoot condition only when the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value. If either of these conditions is not met, the controlled circuit is determined not to meet the overshoot condition. Figure 2 If the controlled circuit does not meet the overshoot condition, there is no need to perform voltage amplification. The output voltage is directly adjusted by PI regulation of the current voltage error.

[0080] If the current voltage error is greater than the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is equal to the first preset value, it indicates that the voltage amplification process is not currently underway. In this case, the voltage amplification process is skipped, and the current voltage error is directly adjusted by PI and the output voltage is then adjusted.

[0081] There exists a special case where the current voltage error is less than or equal to the voltage error threshold, and the current interval variable value is less than the first preset value. This indicates that a voltage amplification process is currently underway, and at least one voltage amplification operation of "expanding the current voltage error by a preset factor to obtain the first voltage error" has already been performed. It should be noted that a voltage amplification process can include at least one voltage amplification operation. After undergoing at least one voltage amplification operation of "expanding the current voltage error by a preset factor to obtain the first voltage error," if the new current voltage error is less than or equal to the voltage error threshold, it is necessary to check whether the PI output value after PI adjustment of the current voltage error is less than the PI threshold. If the PI output value after PI adjustment of the current voltage error is less than the PI threshold, it means that the PI output value has been adjusted to be sufficiently small, and there is no need to continue this round of voltage amplification. Therefore, this round of voltage amplification can be exited. When exiting this round of voltage amplification, the current interval variable value and voltage error need to be reset to prepare for the next round of voltage amplification and prevent errors from occurring in the next round. Understandably, the purpose of voltage amplification is to rapidly reduce the PI output value so that the controlled circuit can quickly reduce its own output voltage based on the PI output value.

[0082] It should be noted that during a voltage amplification process, if after at least one voltage amplification operation of "expanding the current voltage error by a preset factor to obtain the first voltage error," the new current voltage error is less than or equal to the voltage error threshold, there is no need to perform the "expand the current voltage error by a preset factor to obtain the first voltage error" operation again. The current voltage error can be directly adjusted using PI control, and there is no need to continue counting down the current interval variable value. This is because another purpose of setting the interval variable value is to limit the number of voltage amplification operations performed during a single voltage amplification process, preventing over-adjustment. Therefore, for normal voltage processing operations during the voltage amplification process, there is no need for counting down; simply pausing the countdown counter is sufficient.

[0083] If the PI output value after PI adjustment is greater than or equal to the PI threshold, it means that the current PI output value has not yet decreased below the preset PI threshold. In this case, there is no need to exit the current round of voltage amplification processing, nor is it necessary to perform interval variable value reset or voltage error reset operations. You can directly continue to calculate the PI output value based on the current voltage error and perform PI adjustment.

[0084] Optionally, the current interval variable value and voltage error can be reset, including:

[0085] Reset the current interval variable value to the preset interval variable value;

[0086] Reset the previously saved first voltage error or the previously saved current voltage error to the current voltage error.

[0087] Optionally, after expanding the current voltage error by a preset factor to obtain the first voltage error, the method further includes: saving the first voltage error. After calculating the current voltage error based on the current output voltage and the voltage reference value, the method further includes: saving the current voltage error.

[0088] PI controller is based on PI i+1 =PI i +Ka*Verr i+1 -Kb*Verr i To calculate the PI output value. Where, PI... i+1 This represents the output value of PI at the (i+1)th iteration. i Represents the PI output value of the i-th iteration, Verr i+1 Verr represents the input voltage error during the (i+1)th PI adjustment. i This represents the input voltage error during the i-th PI adjustment, where Ka and Kb represent the first and second PI parameters, respectively.

[0089] As can be seen from the above formula, when the PI controller calculates the PI output value for the current (i.e., the current PI adjustment cycle), it needs to use the voltage error from the previous (i.e., the previous PI adjustment cycle). Therefore, each voltage error obtained (including the current voltage error calculated in practice and the amplified first voltage error) needs to be saved for use in the next PI output value calculation.

[0090] Accordingly, under the aforementioned special circumstances, when exiting the voltage amplification process, if the previous (i.e., the previous PI control cycle) voltage amplification operation of "expanding the current voltage error by a preset factor to obtain the first voltage error" was performed, the previously saved first voltage error needs to be reset to the current voltage error to minimize the continued impact of the previously calculated first voltage error on the PI output value after the voltage amplification process is completed. If the above voltage amplification operation was not performed in the previous cycle, the previously saved current voltage error needs to be reset to the current voltage error. After resetting and exiting, the PI controller continues to adjust the current voltage error using PI. In essence, when exiting the voltage amplification process, the previous voltage error (including the actually calculated voltage error or the amplified first voltage error) needs to be reset to the currently actually calculated voltage error.

[0091] Step 103: If the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, perform voltage amplification processing on the current voltage error to obtain the first voltage error, and perform PI regulation on the first voltage error to obtain the output voltage of the controlled circuit after adjustment.

[0092] Optionally, the current voltage error is amplified to obtain a first voltage error, including:

[0093] If the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, the current interval variable value continues to count down and checks whether the current interval variable value is equal to 0, or checks whether the PI output value after PI adjustment of the current voltage error is greater than the PI threshold.

[0094] If the current interval variable value is greater than 0, and the PI output value after PI adjustment of the current voltage error is greater than the PI threshold, the current voltage error is increased by a preset multiple to obtain the first voltage error. This preset multiple can be set by the user and is a fixed value; this embodiment of the invention does not impose a specific limitation on it.

[0095] Another purpose of setting the interval variable value is to ensure that, under the condition that the current voltage error is always greater than the voltage error threshold, the voltage amplification process will only execute the voltage amplification operation of "expanding the current voltage error by a preset factor to obtain the first voltage error" a maximum of one preset value (e.g., 100) times during one round of voltage amplification. Therefore, after determining that the controlled circuit meets the overshoot condition and enters the voltage amplification process, a countdown counter is started to continue counting down the current interval variable value. By setting the first preset value, it is possible to further ensure that over-adjustment will not occur.

[0096] If the current interval variable value is greater than 0, it means that the number of times the voltage error amplification operation is reserved in the current round of voltage amplification process has not ended, and the output value of the current voltage error after PI adjustment is greater than the PI threshold, indicating that the PI output value has not been reduced to the preset PI threshold. At this time, the current voltage error needs to be expanded by a preset factor to obtain the first voltage error, so that the PI controller can use the first voltage error to continue PI adjustment and obtain a new output voltage.

[0097] Understandably, a single voltage amplification process includes at least one operation to "amplify the current voltage error by a preset factor to obtain a first voltage error." When the current voltage error is greater than a voltage error threshold, and the interval variable value is greater than 0 and less than or equal to a first preset value, the current voltage amplification process will repeatedly execute the steps of expanding the current voltage error by a preset factor to obtain a first voltage error, calculating the PI output value based on the first voltage error, controlling the controlled circuit to obtain a new output voltage based on the PI output value, recalculating the new current voltage error, and continuing to expand the new current voltage error by a preset factor to obtain a new first voltage error, until the interval variable value equals 0 or the PI output value is less than the PI threshold, at which point the current voltage amplification process exits. The first preset value here can be understood as the number of times the "amplify the current voltage error by a preset factor to obtain a first voltage error" step is executed during a single voltage amplification process.

[0098] Optionally, after detecting whether the current interval variable value is equal to 0, or whether the PI output value after PI adjustment of the current voltage error is greater than the PI threshold, the method further includes:

[0099] If the current interval variable value is equal to 0, or the PI output value after PI adjustment of the current voltage error is less than or equal to the PI threshold, the current interval variable value and voltage error will be reset.

[0100] The output voltage is adjusted by PI control of the current voltage error.

[0101] If the current interval variable value is 0, it indicates that the current round of voltage amplification has ended. At this point, regardless of whether voltage overshoot exists, the current round of voltage amplification should be exited to prevent over-adjustment. If the PI output value after PI adjustment of the current voltage error is less than or equal to the PI threshold, it means that the current PI output value is small enough that further voltage amplification is unnecessary. If either of these conditions is met, the current round of voltage amplification should be exited. Upon exiting voltage amplification, the current interval variable value needs to be reset to prepare for the next round. The voltage error also needs to be reset to minimize the continued impact of the previously calculated first voltage error on the PI output value after the voltage amplification process has ended.

[0102] When resetting at this processing node, the current interval variable value and voltage error are reset, including:

[0103] Reset the current interval variable value to the preset interval variable value;

[0104] Reset the previously saved first voltage error to the current voltage error.

[0105] Since the voltage amplification process of "expanding the current voltage error by a preset factor to obtain the first voltage error" was performed in the previous (i.e., the previous PI adjustment cycle), when exiting the voltage amplification process, it is necessary to reset the first voltage error saved in the previous operation to the current voltage error in this operation, so as to minimize the continuous impact of the first voltage error calculated in the previous operation on the PI output value after the voltage amplification process is completed.

[0106] To facilitate understanding, a simple example is given below: In the current round of voltage amplification processing, after performing the 9th voltage amplification operation of "expanding the current voltage error by a preset factor to obtain the first voltage error Verr9", the PI output value PI9 is ​​calculated based on this first voltage error Verr9. A new output voltage is then calculated based on this PI output value PI9, and finally, a new current voltage error Verr is calculated based on this new output voltage. 10 If the obtained PI9 is ​​less than the PI threshold, the 10th voltage amplification operation will not be performed. Instead, the current voltage amplification process will be terminated. Upon termination, the previously saved Verr9 needs to be reset to the current voltage error Verr. 10 Then, calculate the PI output value for the 10th time and perform the 10th PI adjustment. This is to minimize the impact of the first voltage error Verr9 obtained from the 9th calculation on the PI output value for the 10th time after the voltage amplification process.

[0107] Step 104: Take the adjusted output voltage as the current output voltage, recalculate the current voltage error and execute the subsequent steps until the voltage error is less than or equal to the voltage error threshold, or the current interval variable value is greater than the first preset value, and then adjust the current corresponding voltage error by PI to output voltage.

[0108] If the current voltage error exceeds the voltage error threshold, after voltage amplification, the PI controller adjusts the output voltage based on the first voltage error and uses this new output voltage as the current output voltage to recalculate the new current voltage error. If the current voltage error still exceeds the voltage error threshold, the current round of voltage amplification continues until the PI output value is less than the PI threshold or the current interval variable value equals 0, at which point the current round of voltage amplification exits. An overshoot condition is then used to determine whether to proceed to the next round of voltage amplification. Between two rounds of voltage amplification, the PI controller directly adjusts the current voltage error to control the output voltage of the controlled circuit.

[0109] This invention obtains the current output voltage after PI regulation in the controlled circuit, and calculates the current voltage error based on the current output voltage and a voltage reference value; it also obtains the current interval variable value; if the current voltage error is greater than a voltage error threshold and the current interval variable value is less than or equal to a first preset value, it performs voltage amplification processing on the current voltage error to obtain a first voltage error, and then performs PI regulation on the first voltage error to obtain the adjusted output voltage of the controlled circuit; it uses the adjusted output voltage as the current output voltage, recalculates the current voltage error, and executes subsequent steps until the current voltage error is less than or equal to the voltage error threshold, or the current interval variable value is greater than the first preset value, at which point it performs PI regulation on the corresponding current voltage error and outputs the voltage. Specifically, when the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, voltage amplification processing is performed on the current voltage error to quickly reduce the PI output value, thereby reducing the output voltage of the controlled circuit, adjusting the dynamic performance of the controlled circuit, increasing the response speed of the controlled circuit, and improving the stability of the controlled circuit. Furthermore, when determining whether to perform voltage amplification processing, the current interval variable value is introduced as one of the reference conditions to ensure that after the end of one round of voltage amplification processing, the next round of voltage amplification processing will not be started immediately, thus preventing multiple over-adjustments due to the slow response of the controlled circuit. At the same time, the number of times the voltage amplification processing operation of "increasing the current voltage error by a preset factor to obtain the first voltage error" is executed during each round of voltage amplification processing is at most the first preset value (e.g., 100), which can also prevent over-adjustment.

[0110] When exiting the current voltage amplification process, the voltage error is reset to minimize the continuous impact of the voltage amplification process on subsequent PI regulation after exiting. Furthermore, the entire voltage amplification process is set before PI regulation, rather than superimposed after it, to ensure a smooth adjustment of the controlled circuit without sudden changes.

[0111] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0112] The following are device embodiments of the present invention. For details not described in detail, please refer to the corresponding method embodiments described above.

[0113] Figure 5 A schematic diagram of the voltage overshoot regulation device provided in an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiment of the present invention are shown, and are described in detail below:

[0114] like Figure 5 As shown, the voltage overshoot adjustment device 5 includes: a calculation module 51, an acquisition module 52, an adjustment module 53, and an update module 54.

[0115] The calculation module 51 is used to obtain the current output voltage after PI regulation in the controlled circuit, and calculate the current voltage error based on the current output voltage and the voltage reference value.

[0116] The acquisition module 52 is used to acquire the current interval variable value. The current interval variable value represents the number of counted cycles between the end of the previous voltage amplification process and the end of the current voltage amplification process.

[0117] The adjustment module 53 is also used to perform voltage amplification processing on the current voltage error to obtain the first voltage error when the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, and to perform PI adjustment on the first voltage error to obtain the output voltage of the controlled circuit after adjustment.

[0118] The update module 54 is used to take the adjusted output voltage as the current output voltage, recalculate the current voltage error and execute subsequent steps until the current voltage error is less than or equal to the voltage error threshold, or the current interval variable value is greater than the first preset value, and then output the current voltage error after PI adjustment.

[0119] In one possible implementation, the acquisition module 52 is used to start a countdown counter after the previous voltage amplification process is completed, and the value of the countdown counter is set to a preset interval variable value.

[0120] The acquisition module 52 is also used to acquire the value on the current countdown counter.

[0121] In one possible implementation, the acquisition module 52 is used to detect whether the current interval variable value is greater than a first preset value.

[0122] The acquisition module 52 is also used to count down the current interval variable value if the current interval variable value is greater than the first preset value.

[0123] The acquisition module 52 is also used to detect whether the current voltage error is greater than the voltage error threshold, acquire the current interval variable value, and detect whether the current interval variable value is less than or equal to the first preset value.

[0124] In one possible implementation, the acquisition module 52 is used to pause the countdown if the current interval variable value is less than or equal to a first preset value.

[0125] The acquisition module 52 is used to detect whether the current voltage error is greater than the voltage error threshold, acquire the current interval variable value, and detect whether the current interval variable value is less than or equal to the first preset value.

[0126] In one possible implementation, the adjustment module 53 is used to detect whether the PI output value of the current voltage error after PI adjustment is less than the PI threshold if the current voltage error is greater than the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold and the current interval variable value is less than or equal to the first preset value.

[0127] The adjustment module 53 is also used to reset the current interval variable value and voltage error if the PI output value after PI adjustment of the current voltage error is less than the PI threshold.

[0128] The adjustment module 53 is also used to adjust the current voltage error using a PI regulator before outputting the voltage.

[0129] In one possible implementation, the adjustment module 53 is further configured to adjust the current voltage error by PI and output the voltage if the PI output value after PI adjustment is greater than or equal to the PI threshold.

[0130] In one possible implementation, the adjustment module 53 is further configured to continue counting down the current interval variable value and detect whether the current interval variable value is equal to 0 if the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, or detect whether the PI output value of the current voltage error after PI adjustment is greater than the PI threshold.

[0131] The adjustment module 53 is also used to increase the current voltage error by a preset multiple to obtain the first voltage error if the current interval variable value is greater than 0 and the PI output value after PI adjustment of the current voltage error is greater than the PI threshold.

[0132] In one possible implementation, the adjustment module 53 is used to reset the current interval variable value and voltage error if the current interval variable value is equal to 0, or the PI output value of the current voltage error after PI adjustment is less than or equal to the PI threshold.

[0133] The adjustment module 53 is also used to adjust the current voltage error using a PI regulator before outputting the voltage.

[0134] In one possible implementation, the adjustment module 53 is used to store the first voltage error; the adjustment module 53 is also used to store the current voltage error.

[0135] The adjustment module 53 is also used to reset the current interval variable value to the preset interval variable value.

[0136] The adjustment module 53 is also used to reset the previously saved first voltage error or the previously saved current voltage error to the current voltage error.

[0137] In this embodiment of the invention, a calculation module 51 is used to obtain the current output voltage after PI regulation in the controlled circuit, and calculate the current voltage error based on the current output voltage and the voltage reference value; an acquisition module 52 is used to obtain the current interval variable value; an adjustment module 53 is used to perform voltage amplification processing on the current voltage error when the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to a first preset value, to obtain a first voltage error, and to perform PI regulation on the first voltage error to obtain the adjusted output voltage of the controlled circuit; an update module 54 is used to use the adjusted output voltage as the current output voltage to recalculate the current voltage error and execute subsequent steps until the current voltage error is less than or equal to the voltage error threshold, or the current interval variable value is greater than the first preset value, and then the current corresponding voltage error is adjusted by PI to obtain the output voltage. Specifically, when the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, the adjustment module 53 performs voltage amplification processing on the current voltage error, which can quickly reduce the PI output value, thereby reducing the output voltage of the controlled circuit, adjusting the dynamic performance of the controlled circuit, increasing the response speed of the controlled circuit, and improving the stability of the controlled circuit. Furthermore, when determining whether to perform voltage amplification processing, the acquisition module 52 introduces the current interval variable value as one of the reference conditions to ensure that after the end of one round of voltage amplification processing, it will not immediately enter the next round of voltage amplification processing, thus preventing multiple over-adjustments caused by the slow response of the controlled circuit. At the same time, the adjustment module 53 sets the maximum number of times the voltage amplification processing operation of "increasing the current voltage error by a preset multiple to obtain the first voltage error" is executed in each round of voltage amplification processing to a first preset value (e.g., 100), which can also prevent over-adjustment.

[0138] When exiting the current voltage amplification process, the adjustment module 53 also resets the voltage error to minimize the continuous impact of the voltage amplification process on subsequent PI regulation after exiting. Furthermore, the entire voltage amplification process is set before PI regulation, rather than superimposed after it, to ensure a smooth adjustment of the controlled circuit without sudden changes.

[0139] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. For example... Figure 6As shown, the electronic device 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. When the processor 60 executes the computer program 62, it implements the steps in the various voltage overshoot regulation method embodiments described above, for example... Figure 1 Steps 101 to 104 are shown. Alternatively, when the processor 60 executes the computer program 62, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 5 The functions of modules 51 to 54 are shown.

[0140] For example, the computer program 62 can be divided into one or more modules / units, which are stored in the memory 61 and executed by the processor 60 to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 62 in the electronic device 6. For example, the computer program 62 can be divided into... Figure 5 Modules 51 to 54 are shown.

[0141] The electronic device 6 can be a desktop computer, laptop, handheld computer, or cloud server, etc. The electronic device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that... Figure 6 This is merely an example of electronic device 6 and does not constitute a limitation on electronic device 6. It may include more or fewer components than shown, or combine certain components, or different components. For example, the electronic device may also include input / output devices, network access devices, buses, etc.

[0142] The processor 60 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0143] The memory 61 can be an internal storage unit of the electronic device 6, such as a hard disk or memory. The memory 61 can also be an external storage device of the electronic device 6, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 61 can include both internal and external storage units of the electronic device 6. The memory 61 is used to store the computer program and other programs and data required by the electronic device. The memory 61 can also be used to temporarily store data that has been output or will be output.

[0144] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0145] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0146] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0147] In the embodiments provided by this invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0148] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0149] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0150] If the integrated module / unit is implemented as 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, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various voltage overshoot regulation method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method of voltage overshoot regulation, the method comprising: The method comprises the following steps: acquiring a current output voltage of a controlled circuit after PI regulation, and calculating a current voltage error according to the current output voltage and a voltage reference value; acquiring a current interval variable value; the current interval variable value represents a number of counted cycles between the end of a previous voltage amplification process and the end of a current voltage amplification process; if the current voltage error is greater than a voltage error threshold value and the current interval variable value is less than or equal to a first preset value, performing a voltage amplification process on the current voltage error to obtain a first voltage error, and performing PI regulation on the first voltage error to obtain an adjusted output voltage of the controlled circuit; regarding the adjusted output voltage as the current output voltage, recalculating the current voltage error and performing subsequent steps until the current voltage error is less than or equal to the voltage error threshold value or the current interval variable value is greater than the first preset value, and then performing PI regulation on the current voltage error to obtain an output voltage.

2. The voltage overshoot adjustment method of claim 1, wherein, The step of acquiring the current interval variable value comprises the following steps: starting a countdown counter after the end of the previous voltage amplification process, and setting a value of the countdown counter to a preset interval variable value; acquiring a value on the current countdown counter; after the step of acquiring the current interval variable value, the method further comprises the following steps: detecting whether the current interval variable value is greater than the first preset value; if the current interval variable value is greater than the first preset value, performing countdown on the current interval variable value; detecting whether the current voltage error is greater than the voltage error threshold value, acquiring the current interval variable value, and detecting whether the current interval variable value is less than or equal to the first preset value.

3. The voltage overshoot adjustment method of claim 1, wherein, after the step of acquiring the current interval variable value, the method further comprises the following steps: if the current interval variable value is less than or equal to the first preset value, pausing the countdown counter; detecting whether the current voltage error is greater than the voltage error threshold value, acquiring the current interval variable value, and detecting whether the current interval variable value is less than or equal to the first preset value.

4. The voltage overshoot regulating method according to claim 2 or 3, characterized by, after the step of detecting whether the current voltage error is greater than the voltage error threshold value, acquiring the current interval variable value, and detecting whether the current interval variable value is less than or equal to the first preset value, the method further comprises the following steps: if the current voltage error is greater than the voltage error threshold value and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold value and the current interval variable value is greater than the first preset value, or if the current voltage error is less than or equal to the voltage error threshold value and the current interval variable value is less than or equal to the first preset value, detecting whether a PI output value of the current voltage error after PI regulation is less than a PI threshold value; if the PI output value of the current voltage error after PI regulation is less than the PI threshold value, resetting the current interval variable value and the voltage error; performing PI regulation on the current voltage error to obtain an output voltage.

5. The voltage overshoot adjustment method of claim 4, wherein, after the step of detecting whether the PI output value of the current voltage error after PI regulation is less than the PI threshold value, the method further comprises the following step: if the PI output value of the current voltage error after PI regulation is greater than or equal to the PI threshold value, performing PI regulation on the current voltage error to obtain an output voltage.

6. The voltage overshoot conditioning method of claim 2, wherein, The current voltage error is amplified to obtain a first voltage error, including: If the current voltage error is greater than the voltage error threshold and the current interval variable value is less than or equal to the first preset value, the current interval variable value is continued to be counted down, and it is detected whether the current interval variable value is equal to 0 or whether a PI output value of the current voltage error after PI adjustment is greater than a PI threshold value; If the current interval variable value is greater than 0 and the PI output value of the current voltage error after PI adjustment is greater than the PI threshold value, the current voltage error is enlarged by a preset multiple to obtain the first voltage error.

7. The voltage overshoot conditioning method of claim 6, wherein, After detecting whether the current interval variable value is equal to 0 or whether the PI output value of the current voltage error after PI adjustment is greater than the PI threshold value, further comprising: If the current interval variable value is equal to 0 or the PI output value of the current voltage error after PI adjustment is less than or equal to the PI threshold value, the current interval variable value and the voltage error are reset; The current voltage error is adjusted by PI to output a voltage.

8. The voltage overshoot adjustment method of claim 7, wherein, After the current voltage error is enlarged by the preset multiple to obtain the first voltage error, further comprising: saving the first voltage error; After the current voltage error is calculated according to the current output voltage and a voltage reference value, further comprising: saving the current voltage error; The resetting of the current interval variable value and the voltage error, including: The current interval variable value is reset to the preset interval variable value; The first voltage error saved last time or the current voltage error saved last time is reset to the current voltage error this time.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the method of any one of claims 1 to 8.

10. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 9. The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • A control method for improving the dynamic response of heavy load cutting and light load of a switching power supply

    CN109004839A

  • Output voltage control method and system, single-phase inverter power supply and storage medium

    CN113872462A