A state control method, a state control circuit, and an electronic device
Patent Information
- Application Number
- CN202610975849.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-02
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2046-07-02
AI Technical Summary
[0004]本申请主要解决的技术问题是提供一种状态控制方法、状态控制电路以及电子设备,能够解决相关技术中对冲击功率下母线电压的稳定控制无法对储能电源补偿投入本身可能产生的波动进行有效抑制,以致将给储能电源、储能补偿电路带来过冲损伤风险,也无法在负载动态时对母线功率实现精准补偿,无法充分发挥储能电源、储能补偿电路的补偿作用的问题
[0017]The beneficial effects of this application are as follows: Unlike the prior art, the state control method provided by this application obtains the energy storage voltage and energy storage current in the energy storage compensation circuit, and gradually increases the ramp given target value using a preset monotonic function. Then, it performs proportional integral calculation on the first error value between the ramp given target value and the energy storage voltage to obtain the first current target value, and performs proportional integral calculation on the second error value between the first current target value and the energy storage current to obtain the current regulation output value. The current regulation output value is used to modulate the generated drive control signal to adjust the discharge state of the energy storage compensation circuit. This effectively suppresses the fluctuations that may occur during the initial stage of energy storage power supply compensation, so as to realize the soft start charging and discharging of the energy storage voltage. This fully utilizes the compensation role of the energy storage power supply and the energy storage compensation circuit to accurately compensate the bus power under load dynamics, avoids bus voltage overshoot or drop under impact power, and can use the energy storage compensation circuit to absorb bus energy during charging or release energy to the bus during discharging to achieve the function of smoothing bus voltage fluctuations. This effectively controls the bus voltage to recover from overshoot or drop to normal, and the control logic is simple and easy to implement in engineering.
Smart Images

Figure CN122475328B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of circuit technology, and in particular to a state control method, a state control circuit, and an electronic device. Background Technology
[0002] In recent years, with the development of industrial and information technology, impact loads have frequently appeared in industrial production and information processing applications, such as electric welding machines, laser cutting machines, and AI (Artificial Intelligence) servers. According to the law of conservation of energy, when the electrical load is an impact load, the power supply bus provides impact power, which will cause the bus voltage to drop significantly or overshoot, thus seriously affecting the stable operation of the power supply.
[0003] However, the relevant technologies for stabilizing bus voltage under impact power use energy storage power to compensate for bus voltage fluctuations, but usually cannot effectively suppress fluctuations that may be generated by the energy storage power compensation itself. This will bring overshoot damage risks to the energy storage power and energy storage compensation circuit, and cannot achieve accurate compensation of bus power under dynamic load conditions, thus failing to give full play to the compensation role of the energy storage power and energy storage compensation circuit. Summary of the Invention
[0004] The main technical problem addressed by this application is to provide a state control method, state control circuit, and electronic device that can solve the problems in related technologies where the stable control of bus voltage under impulse power cannot effectively suppress the fluctuations that may be generated by the energy storage power supply compensation itself, thus bringing overshoot damage risks to the energy storage power supply and energy storage compensation circuit, and also failing to achieve accurate compensation of bus power under dynamic load, thus failing to fully utilize the compensation function of the energy storage power supply and energy storage compensation circuit.
[0005] To solve the above-mentioned technical problems, one technical solution adopted in this application is: providing a state control method applied to the state control of a power supply regulation circuit, wherein the state control method includes: acquiring characteristic electrical parameters of the power supply regulation circuit; wherein the power supply regulation circuit includes an energy storage compensation circuit, and the characteristic electrical parameters include the energy storage voltage and energy storage current in the energy storage compensation circuit; adjusting and increasing the ramp setpoint target value using a preset monotonic function; performing proportional-integral calculation on a first error value between the ramp setpoint target value and the energy storage voltage to obtain a first current target value; performing proportional-integral calculation on a second error value between the first current target value and the energy storage current to obtain a current regulation output value; using the current regulation output value to modulate and generate a drive control signal; and sending the drive control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
[0006] The step of obtaining the first current target value by performing proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage includes: subtracting the energy storage voltage from the given target value of the slope to obtain the first error value; performing proportional-integral calculation on the first error value to obtain the first regulated output value; and performing limiting and inversion calculations on the first regulated output value to obtain the first current target value.
[0007] The power supply regulation circuit also includes a power switch circuit, which is coupled to an energy storage compensation circuit. The characteristic electrical parameters also include the bus voltage in the power switch circuit. Before the step of gradually adjusting and increasing the given target value of the ramp using a preset monotonic function, the circuit further includes: detecting whether the bus voltage is within a first threshold range; if the bus voltage is not within the first threshold range, entering a standby blocking state; if the bus voltage is within the first threshold range, executing the step of adjusting and increasing the given target value of the ramp using a preset monotonic function.
[0008] The step of adjusting the target value of the ramp using a preset monotonic function includes: processing the target value of the ramp using the preset monotonic function in each sampling period; wherein the formula for the preset monotonic function is: ; Where n is a positive integer, Given a target value for the ramp in the nth sampling period, , To set the adjustment step size, This is the target value for energy storage voltage.
[0009] The process includes, after the step of performing a proportional-integral operation on the first error value between the given slope target value and the energy storage voltage to obtain the first current target value, and before the step of performing a proportional-integral operation on the second error value between the first current target value and the energy storage current to obtain the current regulation output value, the following steps are included: detecting whether the given slope target value is less than the energy storage voltage target value; if the given slope target value is less than the energy storage voltage target value, performing a proportional-integral operation on the second error value between the first current target value and the energy storage current to obtain the current regulation output value; if the given slope target value is not less than the energy storage voltage target value, using the bus voltage target value and the bias adjustment value to obtain the bus limiting voltage target value; performing a proportional-integral operation on the third error value between the bus limiting voltage target value and the bus voltage to obtain the second regulation output value; performing a proportional-integral operation on the fourth error value between the energy storage voltage target value and the energy storage voltage to obtain the third regulation output value; subtracting the third regulation output value from the second regulation output value to obtain the second current target value; and performing a proportional-integral operation on the fifth error value between the second current target value and the energy storage current to obtain the current regulation output value.
[0010] The steps for obtaining the target value of the bus limiting voltage using the target value of the bus voltage and the bias adjustment value include: superimposing the target value of the bus voltage with the bias adjustment value to obtain the target value of the upper limit voltage of the bus; subtracting the target value of the bus voltage with the lower bias adjustment value to obtain the target value of the lower limit voltage of the bus; and performing a proportional-integral operation on the third error value between the target value of the bus limiting voltage and the bus voltage to obtain the second regulation output value. The steps for obtaining the second regulation output value include: performing a proportional-integral operation on the upper limit voltage error value between the target value of the upper limit voltage and the bus voltage to obtain the upper limit regulation output value; and limiting the upper limit regulation output value. The upper limit adjustment target value is obtained by adjusting the value to a first threshold range; wherein the upper limit of the first threshold range is 0, and its lower limit is the maximum charging current of the energy storage compensation circuit; the lower limit adjustment output value is obtained by performing a proportional-integral operation on the bus lower limit voltage error value between the bus lower limit voltage target value and the bus voltage; the lower limit adjustment output value is then limited to a second threshold range to obtain the lower limit adjustment target value; wherein the upper limit of the second threshold range is the maximum discharge current of the energy storage compensation circuit, and its lower limit is 0; the upper limit adjustment target value is added to the lower limit adjustment target value to obtain the second adjustment output value.
[0011] Before the step of detecting whether the given target value of the slope is not less than the target value of the energy storage voltage, the method further includes: obtaining the target value of the energy storage voltage using the target value of the bus voltage, the set load power, and the maximum load power.
[0012] The step of obtaining the target value of the energy storage voltage using the target value of the bus voltage, the set load power, and the maximum load power includes: calculating the target value of the energy storage voltage using a preset adjustment function; wherein the calculation formula of the preset adjustment function is: ; in, The target value for energy storage voltage. The target value for bus voltage. The first adjustment coefficient, To set the load power, Where k is the maximum load power, k is the second adjustment coefficient, and the first adjustment coefficient is... It is a positive number less than 1.
[0013] The characteristic electrical parameters include the input voltage of the power switching circuit. After the step of subtracting the third adjusted output value from the second adjusted output value to obtain the second current target value, and before the step of performing a proportional-integral operation on the fifth error value between the second current target value and the energy storage current to obtain the current regulated output value, the method further includes: detecting whether the input voltage is lower than a set threshold voltage; if the input voltage is lower than the set threshold voltage, subtracting the bus voltage from the bus voltage target value to obtain a sixth error value; performing a proportional-integral operation on the sixth error value to obtain a third current target value; and performing a proportional-integral operation on the seventh error value between the third current target value and the energy storage current to obtain the current regulated output value.
[0014] The power supply regulation circuit further includes a power switching circuit coupled to an energy storage compensation circuit. Characteristic electrical parameters include the bus voltage in the power switching circuit. The state control method further includes: detecting whether the bus voltage is within a first set threshold range; if the bus voltage is not within the first set threshold range, entering a wave blocking shutdown state; if the bus voltage is within the first set threshold range, detecting whether the energy storage voltage is within a second set threshold range; if the energy storage voltage is not within the second set threshold range, entering a wave blocking shutdown state; if the energy storage voltage is within the second set threshold range, detecting whether the energy storage current is within a third set threshold range; if the energy storage current is not within the third set threshold range, entering a wave blocking shutdown state.
[0015] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide a state control circuit, wherein the state control circuit is used to couple with a power supply regulation circuit; wherein the state control circuit uses the state control method described in any of the above claims to realize state control of the power supply regulation circuit.
[0016] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide an electronic device, wherein the electronic device includes a housing and a state control circuit connected to the housing; wherein the state control circuit is the state control circuit as described above.
[0017] The beneficial effects of this application are as follows: Unlike the prior art, the state control method provided by this application obtains the energy storage voltage and energy storage current in the energy storage compensation circuit, and gradually increases the ramp given target value using a preset monotonic function. Then, it performs proportional integral calculation on the first error value between the ramp given target value and the energy storage voltage to obtain the first current target value, and performs proportional integral calculation on the second error value between the first current target value and the energy storage current to obtain the current regulation output value. The current regulation output value is used to modulate the generated drive control signal to adjust the discharge state of the energy storage compensation circuit. This effectively suppresses the fluctuations that may occur during the initial stage of energy storage power supply compensation, so as to realize the soft start charging and discharging of the energy storage voltage. This fully utilizes the compensation role of the energy storage power supply and the energy storage compensation circuit to accurately compensate the bus power under load dynamics, avoids bus voltage overshoot or drop under impact power, and can use the energy storage compensation circuit to absorb bus energy during charging or release energy to the bus during discharging to achieve the function of smoothing bus voltage fluctuations. This effectively controls the bus voltage to recover from overshoot or drop to normal, and the control logic is simple and easy to implement in engineering. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein: Figure 1 This is a flowchart illustrating the first embodiment of the status control method of this application; Figure 2 This is a schematic diagram of the structure of the state control circuit and power supply regulation circuit of the first embodiment of this application; Figure 3 yes Figure 1 A flowchart of an embodiment of S13; Figure 4 This is a flowchart illustrating the second embodiment of the status control method of this application; Figure 5 This is a schematic diagram of the second embodiment of the state control circuit and power regulation circuit of this application; Figure 6 yes Figure 4 A flowchart illustrating an embodiment of signal processing in a state control method; Figure 7 This is a flowchart illustrating the third embodiment of the status control method of this application; Figure 8 yes Figure 7 A flowchart illustrating an embodiment of signal processing in a state control method; Figure 9 This is a flowchart illustrating the fourth embodiment of the status control method of this application; Figure 10 yes Figure 9 A flowchart illustrating an embodiment of signal processing in a state control method; Figure 11 This is a flowchart illustrating the fifth embodiment of the status control method of this application; Figure 12 This is a flowchart illustrating the sixth embodiment of the status control method of this application; Figure 13 yes Figure 12 A flowchart illustrating an embodiment of signal processing in a state control method; Figure 14 This is a schematic diagram of one embodiment of the electronic device of this application. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] The terms "first," "second," and "third" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. All directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationships and movements between components in a specific orientation (as shown in the figures). If the specific orientation changes, the directional indications also change accordingly. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0021] In this document, the term "implementation" means that a specific feature, structure, or characteristic described in connection with an implementation may be included in at least one implementation of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same implementation, nor is it a separate or alternative implementation mutually exclusive with other implementations. It will be explicitly and implicitly understood by those skilled in the art that the implementations described herein can be combined with other implementations.
[0022] The present application will now be described in detail with reference to the accompanying drawings and embodiments.
[0023] Please refer to the following: Figure 1 and Figure 2 ,in, Figure 1 This is a flowchart illustrating the first embodiment of the status control method of this application. Figure 2 This is a schematic diagram of the first embodiment of the state control circuit of this application. Specifically, it may include the following steps: S11 acquires the characteristic electrical parameters of the power conditioning circuit.
[0024] It is understandable that the state control method in this embodiment is specifically applied to, for example... Figure 2 The first state control circuit 20 shown implements state control of the first power conditioning circuit 30; wherein, the first state control circuit 20 is used to couple with the first power conditioning circuit 30 to implement state control of the first power conditioning circuit 30 using any of the state control methods described herein.
[0025] It is worth noting that the term "coupled" in this article refers to any direct or indirect connection. Therefore, if the article describes a first circuit coupled to a second circuit, it means that the first circuit can be directly connected to the second circuit via electrical connection or signal connection methods such as wireless transmission or optical transmission, or indirectly connected to the second circuit via other circuits or connection methods via electrical connection or signal connection.
[0026] In some embodiments, the first power supply regulation circuit 30 specifically includes a first power switching circuit 31 and a first energy storage compensation circuit 32 coupled together, and the first state control circuit 20 is coupled to the first power switching circuit 31 and the first energy storage compensation circuit 32; wherein, the first power switching circuit 31 is used to be coupled to the power supply 101 and the load operating circuit 103 to receive the power input provided by the power supply 101, and is controlled by the drive control of the first state control circuit 20 or other controller to regulate and transform the power input to obtain the bus voltage / bus current, so as to supply power to the load operating circuit 103; the first energy storage compensation circuit 32 is used to be coupled to the first power switching circuit 101 and the first energy storage compensation circuit 32. The energy storage power supply 102 is coupled to receive the power compensation input provided by the energy storage power supply 102, such as energy storage voltage / energy storage current, and is controlled by the state control of the first state control circuit 20 to adjust and change the power compensation input to perform energy storage compensation on the bus voltage / bus current, thereby stabilizing the bus voltage / bus current within the set threshold range, avoiding bus voltage overshoot or drop under impact power, and can also use the first energy storage compensation circuit 32 to charge and absorb bus energy or discharge to release energy to the bus to achieve the function of smoothing bus voltage fluctuations, so as to effectively control the bus voltage to recover from overshoot or drop to normal, and realize closed-loop control of bus voltage.
[0027] It is worth noting that the energy storage power supply 102 has two states: energy storage discharge and energy storage charging. The energy storage voltage / energy storage current corresponding to the energy storage discharge state and the energy storage charging state are in opposite directions.
[0028] In some embodiments, the first power switching circuit 31 may specifically include one or more of any reasonable functional circuits for voltage regulation and conversion, such as a PFC (Power Factor Correction) circuit, a DC / DC (Direct Current) converter circuit, or a bidirectional DC / DC circuit. The PFC circuit is suitable for single-phase CCM (Continuous Conduction Mode) circuits, single-phase totem pole circuits, three-phase Vienna circuits, three-phase six-switch (also known as three-phase two-level) circuits, and T-type three-level circuits. The DC / DC circuit is suitable for half-bridge LLC (inductor-inductor-capacitor-C resonant network) circuits, full-bridge LLC circuits, three-phase LLC circuits, and phase-shifted full-bridge circuits. This embodiment does not limit these circuit topologies.
[0029] In some embodiments, the first energy storage compensation circuit 32 may specifically include one or more of any reasonable circuit elements such as capacitors, inductors, switching elements, and resistors, and this embodiment does not limit this.
[0030] In some embodiments, the power supply 101 can be any reasonable AC or DC power source such as the power grid, photovoltaic power source, independent generator power source, or wind power source, or a power supply circuit that adjusts and transforms the AC or DC power source to obtain the power input. This embodiment does not limit this.
[0031] In some embodiments, the energy storage power supply 102 may specifically include one or more combinations of any reasonable energy storage elements such as supercapacitors and lithium batteries, and this embodiment does not limit this.
[0032] In some embodiments, the first state control circuit 20 may specifically include any reasonable circuit unit with signal processing function, such as a control chip, a DSP (Digital Signal Processing) chip, an MCU (Micro Controller Unit) circuit, a CPU (Central Processing Unit), a microcontroller, a field-programmable gate array, a programmable logic device, a discrete gate or transistor logic device, or discrete hardware. This application does not limit this.
[0033] Specifically, the first state control circuit 20 is used to sample and obtain characteristic electrical parameters from the first power conditioning circuit 30 in real time, or to sample and obtain the characteristic electrical parameters from the first power conditioning circuit 30 in each set sampling period.
[0034] In some embodiments, the characteristic electrical parameters may specifically include the energy storage voltage and energy storage current in the first energy storage compensation circuit 32, which is not limited in this application.
[0035] In some embodiments, the first state control circuit 20 may specifically sample the energy storage voltage and energy storage current through one or more of any reasonable sampling circuit or sampling method such as voltage / current sensor, sampling resistor, Hall sensor or circuit model estimation, and this application does not limit this.
[0036] S12: Use a preset monotonic function to adjust and increase the given target value of the slope.
[0037] Understandably, in order to ensure that the feedback control of the energy storage voltage does not deviate from a specific threshold range, a slope given target value is set, which serves as the target value for adjusting the energy storage voltage. In response to the initial stage of energy storage compensation, a preset monotonic function or rule program is used to calculate and process the slope given target value in each sampling period to gradually adjust and increase the slope given target value.
[0038] In some embodiments, the initial value of the given target value of the ramp can be 0, or it can be a set value greater than 0 or less than 0 to ensure a faster response speed; and the calculation in each sampling period can be understood as the given target value of the ramp obtained in the previous sampling period being calculated by a preset monotonic function to obtain the given target value of the ramp in the current sampling period.
[0039] In some embodiments, the preset monotonic function can be any reasonable monotonic function such as a linear monotonic function, an arithmetic function, or an exponential monotonic function, and this application does not limit it.
[0040] S13: Perform a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target value of the current.
[0041] The first state control circuit 20 subtracts the energy storage voltage from the given target value of the ramp in the current sampling period to obtain the first error value. Then, through its internal voltage outer loop, it performs proportional-integral calculation on the first error value based on the first proportional-integral coefficient fitted by the power supply requirements and simulation experimental data to obtain the first current target value, which is the target value that the energy storage current adjustment is close to.
[0042] It is worth noting that the first energy storage compensation circuit 32 has two states: energy storage discharge and energy storage charging. When the energy storage current is defined as a positive value in the energy storage discharge state, the energy storage current will be a negative value in the energy storage charging state.
[0043] S14: Perform proportional-integral calculation on the second error value between the first current target value and the energy storage current to obtain the current regulation output value.
[0044] The second error value is obtained by subtracting the energy storage current from the first current target value. The second error value is then proportionally integrated using the second proportional-integral coefficient, which is fitted based on the power supply requirements and simulation experimental data, through the internal current loop to obtain the current regulation output value.
[0045] S15: The drive control signal is generated by modulating the output value using current regulation.
[0046] The current regulation output value is processed by setting signal modulation rules to obtain the drive control signal, and the characteristic parameters of the drive control signal, such as duty cycle and / or signal frequency, are dynamically adjusted in real time.
[0047] In some embodiments, the drive control signal may be one or more of any reasonable control signal such as PWM (Pulse Width Modulation) signal or PFM (Pulse Frequency Modulation) signal, and this application does not limit it.
[0048] In some embodiments, the sampling period of the characteristic electrical parameter may be equal to the switching period of the drive control signal, that is, a drive control signal is obtained after sampling a characteristic electrical parameter and the above signal processing procedure; or, the sampling period may be greater than the switching period, that is, when a drive control signal is obtained after sampling a characteristic electrical parameter and the above signal processing procedure, the drive control signal will remain unchanged for multiple switching periods until the next sampling period is reprocessed to obtain the next drive control signal, so as to ensure a smooth transition of energy storage compensation and maintain stability and reliability. This application does not limit this.
[0049] S16: Send the drive control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
[0050] The first state control circuit 20 sends the currently modulated drive control signal to the first energy storage compensation circuit 32 to trigger the switching elements inside the first energy storage compensation circuit 32 to turn on or off, thereby changing its charging and discharging state, such as changing from charging state to discharging state, or from discharging state to charging state, or changing the charging and discharging capacity, so that the energy storage current gradually approaches the first current target value, thereby adjusting the bus voltage to the set threshold range and effectively realizing the soft start control of the energy storage voltage.
[0051] It is worth noting that the set threshold range refers to the voltage threshold range between the upper and lower limits of the bus voltage under normal operating conditions of the first power supply regulation circuit 30, which does not affect the stable operation of the power supply and the allowable voltage ripple.
[0052] The above scheme, by gradually increasing the target value of the slope corresponding to the energy storage voltage during the initial stage of energy storage power supply 102 compensation, can effectively suppress fluctuations that may occur in the energy storage power supply 102 itself, thereby achieving soft-start charging and discharging of the energy storage voltage. It also fully utilizes the compensation functions of the energy storage power supply 102 and the first energy storage compensation circuit 32 to achieve precise compensation of the bus power under dynamic load conditions, avoiding overshoot or drop in bus voltage under surge power. Furthermore, the first energy storage compensation circuit 32 can absorb energy from the bus during charging or release energy to the bus during discharging to smooth bus voltage fluctuations, effectively controlling the bus voltage to recover from overshoot or drop to normal. The control logic is simple and easy to implement in engineering. Through a dual closed-loop control architecture (voltage outer loop + current inner loop) combined with the dynamic charging and discharging regulation of the first energy storage compensation circuit 32, high-precision and rapid response compensation of the bus voltage is achieved. The energy storage current, as the inner loop feedback quantity, directly controls the actual charging and discharging current of the first energy storage compensation circuit 32, rather than just controlling the switch duty cycle, thereby improving the system's anti-interference capability (such as sudden changes in bus load and grid fluctuations) and achieving rapid dynamic response (the bandwidth of the current loop is usually much higher than that of the voltage loop).
[0053] Please continue reading. Figure 3 , Figure 3 yes Figure 1 A flowchart illustrating an embodiment of S13 is shown below. In one embodiment, the state control method of this application, in addition to the above-described S11-S16, further includes some more specific steps. Specifically, S13 may further include the following steps: S131: Subtract the energy storage voltage from the given target value of the slope to obtain the first error value.
[0054] Specifically, the first state control circuit 20 subtracts the energy storage voltage from the given target value of the slope calculated in the current sampling period to obtain the first error value.
[0055] S132: Perform proportional-integral calculation on the first error value to obtain the first adjusted output value.
[0056] The first regulated output value is obtained by performing proportional-integral calculation on the first error value using the first proportional-integral coefficient through the voltage outer loop.
[0057] S133: Perform limiting and inversion operations on the first regulated output value to obtain the first current target value.
[0058] The first regulation output value is limited to a specific range to prevent the feedback control from exceeding the safe range of the energy storage device, and it is multiplied by -1 to obtain the first current target value, which is the target value that the energy storage current adjustment is close to.
[0059] It is worth noting that when the energy storage current is defined as a positive value in the energy storage discharge state, the first regulation output value needs to be limited and inverted to obtain the first current target value; while when the energy storage current is defined as a negative value in the energy storage discharge state, there is no need to perform the corresponding inversion operation, that is, the first regulation output value is limited to obtain the first current target value. This application does not limit this.
[0060] Please see Figures 4-6 ,in, Figure 4 This is a flowchart illustrating the second embodiment of the status control method of this application. Figure 5 This is a schematic diagram of the second embodiment of the state control circuit and power supply regulation circuit of this application. Figure 6 yes Figure 4 A flowchart illustrating an embodiment of the signal processing in the state control method. The state control method of this embodiment... Figure 1 A detailed implementation flowchart of the state control method is shown, which specifically includes the following steps: S41: Obtain the characteristic electrical parameters of the power supply regulation circuit.
[0061] Among them, S41 and Figure 1The same applies to S11. Please refer to S11 and its related textual descriptions for details, which will not be repeated here.
[0062] S42: Detect whether the bus voltage is within the first threshold range.
[0063] It is understood that, in this embodiment, the state control method may specifically be a second state control circuit 50 such as... Figure 5 The second power supply regulation circuit 60 shown implements state control. The second power supply regulation circuit 60 includes a second power switching circuit 61 and a second energy storage compensation circuit 62. The second power switching circuit 61 includes a power factor correction circuit 611, a DC bus 612, and a voltage conversion circuit 613. The second energy storage compensation circuit 62 includes a switching sub-circuit 621 and an energy storage sub-circuit 622. The switching sub-circuit 621 includes a first switching transistor S1 and a second switching transistor S2. The energy storage sub-circuit 622 includes an energy storage inductor L. The energy storage power supply 102 includes an energy storage capacitor Cap. The second state control circuit 50 includes a first sampling circuit 51, a second sampling circuit 52, and a signal modulation circuit 53.
[0064] The power factor correction circuit 611 has its input coupled to the power supply 101, and its output connected to the DC bus 612. Simultaneously, it serves as the input to the voltage conversion circuit 613. The positive output terminal DC+ and the negative output terminal DC- of the voltage conversion circuit 613 are coupled to the first and second terminals of the load operating circuit 103, also referred to as the load operating circuit Rd. The second terminal of the first switching transistor S1 is coupled to the positive terminal Bus+ of the DC bus 612, and the first terminal of the first switching transistor S1 is coupled to the second terminal... The second terminal of the switching transistor S2 and the first terminal of the energy storage inductor L are coupled to the first terminal of the energy storage capacitor Cap. The first terminal of the second switching transistor S2 is coupled to the negative terminal Bus- of the DC bus 612 and the second terminal of the energy storage capacitor Cap. The first sampling circuit 51 is coupled to the DC bus 612 and the signal modulation circuit 53. The second sampling circuit 52 is coupled to the energy storage inductor L, the energy storage capacitor Cap, and the signal modulation circuit 53. The signal modulation circuit 53 is coupled to the control terminal of the first switching transistor S1 and the control terminal of the second switching transistor S2.
[0065] In some embodiments, the power supply 101 may be a single-phase AC power supply or a three-phase AC power supply, and may be any reasonable power supply such as AC grid, photovoltaic AC power supply, independent generator power supply, wind power AC power supply, etc. This application does not limit it.
[0066] In some embodiments, the voltage conversion circuit 613 may be one or more of any reasonable functional circuits such as a DC chopper circuit, a rectifier circuit, or an inverter circuit, and this application does not limit it.
[0067] In some embodiments, the energy storage capacitor Cap may be a supercapacitor or a lithium battery, and this application does not limit it.
[0068] In some embodiments, the first switch S1 and the second switch S2 may be a MOSFET (Metal-Oxide-Semiconductor-Field Effect-Transistor), a transistor, a thin-film transistor, a field-effect transistor, or any other reasonable switch, and this application does not limit them.
[0069] Understandably, the first sampling circuit 51 is used to sample and acquire the bus voltage Ubus between the positive terminal Bus+ and the negative terminal Bus- of the DC bus 612 in real time, and send the bus voltage Ubus to the signal modulation circuit 53; the second sampling circuit 52 samples and acquires the energy storage current IL on the energy storage inductor L and the energy storage voltage Ucap on the energy storage capacitor Cap in real time, and sends the energy storage current IL and the energy storage voltage Ucap to the signal modulation circuit 53.
[0070] The signal modulation circuit 53 is initialized to standby mode so that when it starts energy storage compensation, it needs to determine whether the bus voltage Ubus has completed soft start. After determining that the bus voltage Ubus has completed soft start, the state machine is switched from standby mode to soft start mode.
[0071] Specifically, the signal modulation circuit 53 detects whether the currently received bus voltage Ubus is within the first threshold range to determine whether the bus voltage Ubus has completed a soft start.
[0072] If the bus voltage Ubus is within the first threshold range, then S44 is executed; if the bus voltage Ubus is not within the first threshold range, then S43 is executed.
[0073] S43: Enter standby blocking state.
[0074] If the bus voltage Ubus is detected to be outside the first threshold range, i.e., it is determined that the bus voltage Ubus has not yet completed the soft start, the signal modulation circuit 53 remains in the standby blocking state, i.e., it does not perform the modulation generation and transmission of the corresponding drive control signal.
[0075] S44: Use a preset monotonic function to adjust and increase the given target value of the slope.
[0076] S45: Perform a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target value of the current.
[0077] S46: Perform proportional-integral calculation on the second error value between the first target current value and the energy storage current to obtain the current regulation output value.
[0078] S47: The drive control signal is generated by modulating the output value using current regulation.
[0079] S48: Send the drive control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
[0080] Among them, S44, S45, S46, S47 and S48 and Figure 1 S12, S13, S14, S15 and S16 are the same. Please refer to S12, S13, S14, S15 and S16 and their related textual descriptions for details. They will not be repeated here.
[0081] Furthermore, in some embodiments, the above-mentioned S44 may further include: performing calculations on the given target value U*cap-Ramp of the slope using a preset monotonic function in each sampling period; The formula for calculating the pre-defined monotonic function is as follows: ; Where n is a positive integer, Given a target value for the ramp in the nth sampling period, , To set the adjustment step size, This is the target value for energy storage voltage.
[0082] In some embodiments, the sampling period may be equal to or greater than the switching period of the drive control signal; this application does not limit this.
[0083] In some embodiments, the adjustment step size is set. Specifically, the sampling period can be 0.5-1.5 volts per sampling period, and preferably 1 volt per sampling period. This application does not limit this to any particular value.
[0084] Understandably, the signal modulation circuit 53 specifically receives the bus voltage Ubus sent by the first sampling circuit 51 and the energy storage voltage Ucap on the energy storage capacitor Cap sent by the second sampling circuit 52, so as to obtain the ramp target value U*cap-Ramp, the first current target value I*L1, the current adjustment output value, and the drive control signal in sequence through the above S42-S48, so as to use the drive control signal to realize the state control of the second energy storage compensation circuit 62.
[0085] Please see Figure 7 and Figure 8 ,in, Figure 7This is a flowchart illustrating the third embodiment of the status control method of this application. Figure 8 This is a flowchart illustrating the third embodiment of the state control method of this application. The state control method of this embodiment is... Figure 4 A detailed implementation flowchart of the state control method is shown, which specifically includes the following steps: S71: Obtain the characteristic electrical parameters of the power supply regulation circuit.
[0086] S72: Detect whether the bus voltage is within the first threshold range.
[0087] S73: Enter standby blocking state.
[0088] S74: Use a preset monotonic function to adjust and increase the given target value of the slope.
[0089] S75: Perform a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target value of the current.
[0090] Among them, S71, S72, S73, S74 and S75 and Figure 4 S41, S42, S43, S44 and S45 are the same. Please refer to the textual descriptions of S41, S42, S43, S44 and S45 for details. They will not be repeated here.
[0091] S76: Detect whether the given target value of the ramp is less than the target value of the energy storage voltage.
[0092] Understandably, when the soft-start phase of energy storage compensation in signal modulation circuit 53 ends, that is, when the ramp given target value U*cap-Ramp has been increased to a target value that the energy storage voltage Ucap needs to be adjusted to, the energy storage compensation control in the operation phase needs to be entered.
[0093] Specifically, the signal modulation circuit 53 detects whether the given target value of the ramp, U*cap-Ramp, is less than the target value of the energy storage voltage, U*cap, in order to determine whether the soft start of the energy storage voltage, Ucap, has been completed.
[0094] If the given target value of the ramp, U*cap-Ramp, is less than the target value of the energy storage voltage, U*cap, then S712 is executed; if the given target value of the ramp, U*cap-Ramp, is not less than the target value of the energy storage voltage, U*cap, then S77 is executed.
[0095] S77: The target value of the bus voltage limiter is obtained by using the target value of the bus voltage and the bias adjustment value.
[0096] Understandably, in order to ensure that the feedback control of the bus voltage Ubus does not deviate from the specific threshold range, a target value for the bus voltage Ubus is set, which serves as the target value for the adjustment of the bus voltage Ubus, and a corresponding bias adjustment value is set to limit its adjustment range.
[0097] Specifically, the signal modulation circuit 53 uses a preset operation function or rule program to process the target value of the bus voltage Ubus and the bias adjustment value to obtain the target value of the bus limiting voltage.
[0098] Specifically, the target value of the bus voltage limit can be equal to the target value of the bus voltage Ubus plus or minus the bias adjustment value. This bias adjustment value can be a fixed value or a dynamic variable, such as energy storage capacity compensation, temperature compensation, aging compensation, load prediction, etc., to adapt to different operating conditions, such as cold start and heavy load sudden change, and avoid steady-state deviation of pure proportional integral control.
[0099] S78: Perform proportional-integral calculation on the third error value between the target value of the bus limiting voltage and the bus voltage to obtain the second regulation output value.
[0100] The third error value is obtained by subtracting the target value of the bus limiting voltage from the currently sampled bus voltage Ubus. The third error value is then subjected to proportional-integral operation by fitting the third proportional-integral coefficient set according to the power supply demand and simulation experimental data through the voltage outer loop to obtain the second regulated output value. Alternatively, the output value obtained by proportional-integral operation can be limited to a specific range to prevent the feedback control from exceeding the safety range of the energy storage device to obtain the second regulated output value.
[0101] S79: Perform proportional-integral calculation on the fourth error value between the target value of the energy storage voltage and the energy storage voltage to obtain the third regulation output value.
[0102] The signal modulation circuit 53 is also used to fit and set the target value U*cap of the energy storage voltage according to the feedback control requirements of the energy storage voltage Ucap, so as to subtract the energy storage voltage Ucap from the target value U*cap to obtain the fourth error value, and to perform proportional-integral operation on the fourth error value through the energy storage voltage loop inside it according to the feedback control requirements of the energy storage voltage Ucap to obtain the third adjustment output value.
[0103] It is worth noting that the fourth proportional-integral coefficient can be the same as or different from the third proportional-integral coefficient; and when the fourth proportional-integral coefficient is different from the third proportional-integral coefficient, the response rate of the energy storage voltage loop is less than that of the voltage outer loop. That is, in each signal cycle of the compensation control signal, there is a target value of the energy storage current IL output by the voltage outer loop. However, the energy storage regulation output value output by the energy storage voltage loop will be obtained every 2, 3, or 5 signal cycles, etc., to match the target value of the energy storage current IL in the corresponding cycle, and used for feedback control of the energy storage current IL. This application does not limit this.
[0104] In addition, to avoid the charging and discharging regulation of the second energy storage compensation circuit 62 affecting the stability of the bus voltage Ubus, the response rate of the energy storage voltage loop usually needs to be smaller than the response rate of the outer voltage loop. Specifically, the difference between the target value of the energy storage current IL and the energy storage voltage Ucap can be calculated once every set time interval or a set number of signal cycles by the program, so as to ensure that the response rate of the energy storage voltage loop is relatively smaller.
[0105] S710: Subtract the third adjustment output value from the second adjustment output value to obtain the second current target value.
[0106] Subtracting the third regulation output value from the second regulation output value yields the second current target value I*L2, which is the target value for feedback regulation of the energy storage current IL during the operation phase.
[0107] S711: Perform proportional-integral calculation on the fifth error value between the second current target value and the energy storage current to obtain the current regulation output value.
[0108] The fifth error value is obtained by subtracting the energy storage current IL from the second current target value I*L2. The fifth error value is then proportionally integrated using the second proportional-integral coefficient, which is fitted based on the power supply requirements and simulation experimental data, to obtain the current regulation output value.
[0109] S712: Perform proportional-integral calculation on the second error value between the first target current value and the energy storage current to obtain the current regulation output value.
[0110] S713: The drive control signal is generated by modulating the output value using current regulation.
[0111] S714: Sends the drive control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
[0112] Among them, S712, S713 and S714 and Figure 4S46, S47 and S48 are the same. Please refer to the textual descriptions of S46, S47 and S48 for details. They will not be repeated here.
[0113] Furthermore, in some embodiments, prior to S76 above, the method may specifically include: obtaining the target value of the energy storage voltage U*cap using the target value of the bus voltage Ubus, the set load power, and the maximum load power.
[0114] Understandably, before adjusting the energy storage compensation to the operational stage, it is necessary to obtain the target energy storage voltage value U*cap by performing simulation experiments or function calculations and fitting based on the target value of the bus voltage Ubus, the set load power, and the maximum load power.
[0115] Furthermore, in some embodiments, before S76 above, it may specifically include: using a preset adjustment function to calculate the target value of the bus voltage Ubus, the set load power, and the maximum load power to obtain the target value of the energy storage voltage U*cap; The calculation formula for the preset adjustment function is as follows: ; in, The target value for energy storage voltage. The target value for bus voltage. The first adjustment coefficient, To set the load power, Where k is the maximum load power, k is the second adjustment coefficient, and the first adjustment coefficient is... It is a positive number less than 1.
[0116] Understandably, given that the maximum allowable voltage of the energy storage capacitor Cap is defined as Ucap-max, and considering the characteristics of the second energy storage compensation circuit 62, the energy storage voltage Ucap ≤ bus voltage Ubus, in order for the energy storage capacitor Cap to simultaneously absorb energy from the bus and release energy to the bus, the energy storage voltage Ucap should be higher when the load circuit 103 is under light load, and lower when the load circuit 103 is under heavy load. That is, the energy storage voltage Ucap is inversely proportional to the load power. Considering limitations such as dead zone and minimum duty cycle, the maximum value of the target energy storage voltage U*cap should be slightly less than the target bus voltage U*bus. In one embodiment, U*cap = 0.5 when unloaded. U*bus, which is the formula for calculating the target energy storage voltage U*cap, is as follows: ; In some embodiments, the first adjustment coefficient Specifically, it can be 0.85-0.97, and preferably 0.95; the second adjustment coefficient k is a positive number with the dimension of voltage, and the second adjustment coefficient k can be 180V (volts)-220V, and preferably 200V. This application does not limit it in this respect.
[0117] Please see Figure 9 and Figure 10 ,in, Figure 9 This is a flowchart illustrating the fourth embodiment of the status control method of this application. Figure 10 yes Figure 9 A flowchart illustrating an embodiment of the signal processing in the state control method. The state control method of this embodiment... Figure 7 A detailed implementation flowchart of the state control method is shown, which specifically includes the following steps: S81: Obtain the characteristic electrical parameters of the power supply regulation circuit.
[0118] S82: Detect whether the bus voltage is within the first threshold range.
[0119] S83: Enter standby blocking state.
[0120] S84: Use a preset monotonic function to adjust and increase the given target value of the slope.
[0121] S85: Perform a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target value of the current.
[0122] S86: Detect whether the given target value of the ramp is less than the target value of the energy storage voltage.
[0123] Among them, S81, S82, S83, S84, S85 and S86 and Figure 7 S71, S72, S73, S74, S75 and S76 are the same. For details, please refer to the textual descriptions of S71, S72, S73, S74, S75 and S76 and their related texts. They will not be repeated here.
[0124] S87: The upper limit voltage target value of the bus is obtained by superimposing the target value of the bus voltage with the bias adjustment value.
[0125] Specifically, the first sampling circuit 51 samples and acquires the bus voltage Ubus between the positive terminal Bus+ and the negative terminal Bus- of the DC bus 612 in real time, and sends the bus voltage Ubus to the signal modulation circuit 53; the second sampling circuit 52 samples and acquires the energy storage current IL on the energy storage inductor L in real time, and sends the energy storage current IL to the signal modulation circuit 53; the signal modulation circuit 53 fits and sets the target value U*bus and the upper bias adjustment value ΔUup of the bus voltage according to the feedback control requirements of the bus voltage Ubus, so as to superimpose the target value U*bus of the bus voltage and the upper bias adjustment value ΔUup to obtain the target value Ubus-up of the upper limit voltage of the bus.
[0126] It is worth noting that the target value of the bus voltage U*bus is also the feedback control target of the drive control circuit corresponding to the power factor correction circuit 611. That is, the drive control circuit is used to dynamically adjust the switching state of the power factor correction circuit 611 according to the bus voltage Ubus obtained by real-time sampling and the target value of the bus voltage U*bus, so that the bus voltage Ubus gradually approaches the target value of the bus voltage U*bus.
[0127] In some embodiments, the up-bias adjustment value ΔUup is less than the maximum allowable up-bias amplitude of the bus voltage Ubus, specifically it can be 5V (volts) to 15V, preferably 10V, but this application does not limit it.
[0128] S88: Subtract the lower bias adjustment value from the target value of the bus voltage to obtain the target value of the lower limit voltage of the bus.
[0129] The signal modulation circuit 53 fits and sets the lower bias adjustment value ΔUdn according to the feedback control requirements, and subtracts the lower bias adjustment value ΔUdn from the target value of bus voltage U*bus to obtain the target value of bus lower limit voltage Ubus-dn.
[0130] In some embodiments, the down bias adjustment value ΔUdn is less than the maximum allowable down bias amplitude of the bus voltage Ubus, specifically it can be 5V~15V, preferably 10V, but this application does not limit it.
[0131] S89: Perform a proportional-integral calculation on the bus upper limit voltage error value between the target value of the bus upper limit voltage and the bus voltage to obtain the upper limit regulation output value.
[0132] The signal modulation circuit 53 subtracts the currently sampled bus voltage Ubus from the target value of the upper limit voltage Ubus-up to obtain the error value of the upper limit voltage, which is used as the input for the proportional-integral control of the upper limit voltage loop.
[0133] Furthermore, the upper limit voltage error value of the bus is obtained by proportional integration using the fifth proportional-integral coefficient set by the upper limit voltage loop. This upper limit adjustment output value is in the dimension of current and is used as an alternative to the target value of the energy storage current IL.
[0134] S810: Limit the output value of the upper limit adjustment to the first threshold range to obtain the target value of the upper limit adjustment.
[0135] The current upper limit adjustment output value is subjected to a limiting process to adjust the upper limit adjustment output value to the first threshold range to obtain the upper limit adjustment target value.
[0136] The upper limit of the first threshold range is 0, and the lower limit is the maximum charging current of the second energy storage compensation circuit 62.
[0137] In some embodiments, the maximum charging current may be -25A (Amperes) to -15A, preferably -20A, but this application does not limit it.
[0138] S811: Perform proportional-integral calculations on the bus lower limit voltage error value between the target value of the bus lower limit voltage and the bus voltage to obtain the lower limit adjustment output value.
[0139] The signal modulation circuit 53 subtracts the currently sampled bus voltage Ubus from the target value of the bus lower limit voltage Ubus-dn to obtain the bus lower limit voltage error value, which is used as the input for the proportional-integral control of the bus lower limit voltage loop.
[0140] Furthermore, the lower limit adjustment output value is obtained by performing proportional-integral calculation on the lower limit voltage error value using the sixth proportional-integral coefficient set by the lower limit voltage loop. This lower limit adjustment output value is in the dimension of current and is used as an alternative to the target value of the energy storage current IL.
[0141] S812: Adjust the lower limit adjustment output value to the range of the second threshold to obtain the lower limit adjustment target value.
[0142] The signal modulation circuit 53 performs amplitude limiting processing on the currently obtained lower limit adjustment output value to limit and adjust the lower limit adjustment output value to the second threshold range to obtain the lower limit adjustment target value.
[0143] The upper limit of the second threshold range is the maximum discharge current of the second energy storage compensation circuit 62, and the lower limit is 0.
[0144] In some embodiments, the maximum discharge current may be 15A (Amperes) to 25A, preferably 20A, but this application does not limit it.
[0145] S813: Add the upper limit adjustment target value to the lower limit adjustment target value to obtain the second adjustment output value.
[0146] The upper limit adjustment target value and the lower limit adjustment target value are processed by a preset rule program or logical operation function to select one of the outputs as the second adjustment output value, or the upper limit adjustment target value is added to the lower limit adjustment target value to obtain the second adjustment output value.
[0147] S814: Perform proportional-integral calculation on the fourth error value between the target value of the energy storage voltage and the energy storage voltage to obtain the third regulation output value.
[0148] S815: Subtract the third adjustment output value from the second adjustment output value to obtain the second current target value.
[0149] S816: Perform proportional-integral calculation on the fifth error value between the second current target value and the energy storage current to obtain the current regulation output value.
[0150] S817: Perform proportional-integral calculation on the second error value between the first target current value and the energy storage current to obtain the current regulation output value.
[0151] S818: The drive control signal is generated by modulating the output value using current regulation.
[0152] S819: Sends the drive control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
[0153] Among them, S814, S815, S816, S817, S818 and S819 and Figure 7 The same applies to S79, S710, S711, S712, S713 and S714. For details, please refer to the textual descriptions of S79, S710, S711, S712, S713 and S714 and their related texts, which will not be repeated here.
[0154] The above scheme achieves control of both the bus voltage Ubus and the energy storage voltage Ucap by subtracting the calculation results of the outer voltage loop (including the upper and lower bus voltage loops) from the calculation results of the energy storage voltage loop, and then using the inner current loop for regulation and control. The calculation results of the outer voltage loop can be understood as the target value of the discharge current of the energy storage capacitor Cap, and the calculation results of the energy storage voltage loop can be understood as the target value of the charging current of the energy storage capacitor Cap. When the energy storage capacitor Cap discharges, the energy storage current IL is positive, and IL is the same as the discharge current of the energy storage capacitor Cap. Therefore, it is necessary to uniformly calculate the target value of the energy storage current IL based on the target value of the discharge current of the energy storage capacitor Cap (by multiplying the calculation result of the energy storage voltage loop by -1 and superimposing it with the target value of the energy storage current IL), which is the compensation adjustment target value I*L. Then, subtracting the energy storage current IL from the compensation adjustment target value I*L yields the error value of the energy storage current IL, which is used as the input to the inner current loop. The calculation results of the inner current loop are pulse-width modulated to obtain the compensation control signal for the voltage conversion circuit 613.
[0155] Please see Figure 11 , Figure 11 This is a flowchart illustrating the fifth embodiment of the state control method of this application. The state control method of this embodiment is... Figure 7 A detailed implementation flowchart of the state control method is shown, which specifically includes the following steps: S91: Obtain the characteristic electrical parameters of the power supply regulation circuit.
[0156] S92: Detect whether the bus voltage is within the first threshold range.
[0157] S93: Enter standby blocking state.
[0158] S94: Use a preset monotonic function to adjust and increase the given target value of the slope.
[0159] S95: Perform a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target value of the current.
[0160] S96: Detect whether the given target value of the ramp is less than the target value of the energy storage voltage.
[0161] S97: The target value of the bus voltage limiter is obtained by using the target value of the bus voltage and the bias adjustment value.
[0162] S98: Perform proportional-integral calculation on the third error value between the target value of the bus limiting voltage and the bus voltage to obtain the second regulation output value.
[0163] S99: Perform proportional-integral calculation on the fourth error value between the target value of the energy storage voltage and the energy storage voltage to obtain the third regulation output value.
[0164] S910: Subtract the third adjustment output value from the second adjustment output value to obtain the second current target value.
[0165] S911: Perform proportional-integral calculation on the fifth error value between the second current target value and the energy storage current to obtain the current regulation output value.
[0166] Among them, S91, S92, S93, S94, S95, S96, S97, S98, S99, S910 and S911 and Figure 7 S71, S72, S73, S74, S75, S76, S77, S78, S79, S710, and S711 are the same. For details, please refer to the textual descriptions of S71, S72, S73, S74, S75, S76, S77, S78, S79, S710, and S711 and their related texts. They will not be repeated here.
[0167] S912: Detects whether the input voltage is lower than the set threshold voltage.
[0168] Understandably, during the operation phase of energy storage compensation, it is also necessary to detect whether the power input of the power supply 101 has experienced a power outage in order to determine whether to enter the power outage retention phase.
[0169] Specifically, the characteristic electrical parameter also includes the input voltage Uac of the first power switch circuit 31. The signal modulation circuit 53 detects whether the input voltage Uac is lower than a set threshold voltage to determine whether to enter the power-down retention phase.
[0170] If the input voltage Uac is lower than the set threshold voltage, S913 is executed, which means entering the power-down retention stage. If the input voltage Uac is not lower than the set threshold voltage, S97 is executed, which means maintaining the operation stage.
[0171] It is worth noting that the power supply 101 can be either a single-phase AC power supply or a three-phase AC power supply. When it is a single-phase AC power supply, it enters the power-down retention stage when the single-phase input voltage is detected to be lower than the single-phase threshold voltage. When it is a three-phase AC power supply, it enters the power-down retention stage when the input voltage of each phase is detected to be lower than the set threshold voltage; otherwise, it remains in the operation stage.
[0172] S913: Subtract the bus voltage from the target bus voltage value to obtain the sixth error value.
[0173] When the input voltage Uac is determined to be lower than the set threshold voltage, the power-down retention phase is entered, and the target value of the bus voltage Ubus is subtracted from the currently sampled bus voltage Ubus to obtain the sixth error value.
[0174] S914: Perform proportional-integral calculation on the sixth error value to obtain the third current target value.
[0175] The sixth error value is proportionally integrated by fitting the seventh proportional-integral coefficient obtained by the voltage outer loop inside the device based on the power supply demand and simulation experimental data, so as to obtain the third current target value I*L3, that is, the energy storage current IL is adjusted to a target value close to the power outage holding stage, and then the bus voltage Ubus is stabilized by the state control of the power outage holding stage.
[0176] It is worth noting that when the energy storage current IL is defined as a negative value in the energy storage and discharge state, after performing proportional integral calculation on the sixth error value, further limiting and inversion calculations are required to obtain the third current target value I*L3. That is, after the proportional integral calculations of the first current target value I*L1 and the third current target value I*L3, either one can be selected for inversion calculation.
[0177] S915: Perform proportional-integral calculation on the seventh error value between the third current target value and the energy storage current to obtain the current regulation output value.
[0178] The seventh error value is obtained by subtracting the energy storage current IL from the third current target value I*L3. The second error value is then proportionally integrated using the second proportional-integral coefficient, which is fitted based on the power supply requirements and simulation experimental data, to obtain the current regulation output value.
[0179] S916: Perform proportional-integral calculation on the second error value between the first target current value and the energy storage current to obtain the current regulation output value.
[0180] S917: The drive control signal is generated by modulating the output value using current regulation.
[0181] S918: Sends the drive control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
[0182] Among them, S916, S917 and S918 and Figure 7 The same applies to S712, S713, and S714. Please refer to the textual descriptions of S712, S713, and S714 for details, which will not be repeated here.
[0183] Please see Figure 12 and Figure 13 ,in, Figure 12 This is a flowchart illustrating the sixth embodiment of the status control method of this application. Figure 13 yes Figure 12 A flowchart illustrating an embodiment of the signal processing in the state control method. The state control method of this embodiment... Figure 11A detailed implementation flowchart of the state control method is shown, which specifically includes the following steps: S101: Obtain the characteristic electrical parameters of the power supply regulation circuit.
[0184] S102: Detect whether the bus voltage is within the first threshold range.
[0185] S103: Enter standby blocking state.
[0186] S104: Use a preset monotonic function to adjust and increase the given target value of the slope.
[0187] S105: Perform a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target value of the current.
[0188] S106: Detect whether the given target value of the ramp is less than the target value of the energy storage voltage.
[0189] S107: Obtain the target value of the bus limiting voltage using the target value of the bus voltage and the bias adjustment value.
[0190] S108: Perform proportional-integral calculation on the third error value between the target value of the bus limiting voltage and the bus voltage to obtain the second regulation output value.
[0191] S109: Perform proportional-integral calculation on the fourth error value between the target value of the energy storage voltage and the energy storage voltage to obtain the third regulation output value.
[0192] S1010: Subtract the third adjustment output value from the second adjustment output value to obtain the second current target value.
[0193] S1011: Perform proportional-integral calculation on the fifth error value between the second current target value and the energy storage current to obtain the current regulation output value.
[0194] S1012: Detect whether the input voltage is lower than the set threshold voltage.
[0195] S1013: Subtract the bus voltage from the target bus voltage value to obtain the sixth error value.
[0196] S1014: Perform proportional-integral calculation on the sixth error value to obtain the third current target value.
[0197] S1015: Perform proportional-integral calculation on the seventh error value between the third current target value and the energy storage current to obtain the current regulation output value.
[0198] S1016: Perform proportional-integral calculation on the second error value between the first current target value and the energy storage current to obtain the current regulation output value.
[0199] S1017: The drive control signal is generated by modulating the output value using current regulation.
[0200] Among them, S101, S102, S103, S104, S105, S106, S107, S108, S109, S1010, S1011, S1012, S1013, S1014, S1015, S1016 and S1017 and Figure 11 The terms S91, S92, S93, S94, S95, S96, S97, S98, S99, S910, S911, S912, S913, S914, S915, S916, and S917 are the same. For details, please refer to the textual descriptions of S91, S92, S93, S94, S95, S96, S97, S98, S99, S910, S911, S912, S913, S914, S915, S916, and S917 and their related texts. They will not be repeated here.
[0201] S1018: Detect whether the bus voltage is within the first set threshold range.
[0202] Understandably, fault condition detection is required during the soft start phase, operation phase, and power failure retention phase of energy storage compensation, so that if a fault condition occurs at any phase, the system must enter a standby blocking state.
[0203] Specifically, the signal modulation circuit 53 detects whether the bus voltage Ubus is within a first set threshold range to determine whether a bus overvoltage or bus undervoltage fault condition has occurred.
[0204] If the bus voltage Ubus is within the first set threshold range, then S1019 is executed; if the bus voltage Ubus is not within the first set threshold range, then S103 is executed.
[0205] S1019: Detect whether the energy storage voltage is within the second set threshold range.
[0206] Furthermore, it is detected whether the energy storage voltage Ucap is within the second set threshold range to determine whether an energy storage undervoltage fault state has occurred.
[0207] If the energy storage voltage Ucap is within the second set threshold range, then S1020 is executed; if the energy storage voltage Ucap is not within the second set threshold range, then S103 is executed.
[0208] S1020: Detects whether the energy storage current is within the third set threshold range.
[0209] Furthermore, it detects whether the energy storage current IL is within the third set threshold range to determine whether an energy storage overcurrent fault condition has occurred.
[0210] If the energy storage current IL is within the third set threshold range, then S1021 is executed; if the energy storage current IL is not within the third set threshold range, then S103 is executed.
[0211] It is worth noting that the second state control circuit 50 can also detect faults by detecting whether the power device is overheating and / or whether a fault status signal sent by the host computer is received, or by any reasonable means. When a fault status is determined to occur, S103 is executed. The fault detection, i.e., the above-mentioned S1018-S1020 and other fault detection steps, can also occur between any two adjacent steps after S101 and before S1021. This application does not limit this.
[0212] Please continue reading. Figure 13 , Figure 13 yes Figure 12 A flowchart illustrating an embodiment of signal processing in a state control method.
[0213] Understandably, the signal modulation circuit 53 is initialized to a standby state. In the standby state, when the second energy storage compensation circuit 62 is fault-free (including bus overvoltage, bus undervoltage, capacitor undervoltage, inductor overcurrent, power device overtemperature, etc.) and the bus voltage Ubus soft start is completed, the state machine switches from standby to soft start state.
[0214] In the soft-start state, when the second energy storage compensation circuit 62 is fault-free and the energy storage voltage Ucap soft-start is completed (the ramp target value U*cap-Ramp is equal to the energy storage voltage target value Ucap*, indicating that the energy storage voltage Ucap soft-start is completed), the state machine switches from soft-start to running state. When the second energy storage compensation circuit 62 fails, the state machine switches from soft-start to standby state.
[0215] In operation, when the second energy storage compensation circuit 62 is fault-free and the input voltage Uac is de-energized, the state machine switches from operation to power-off hold state. When the second energy storage compensation circuit 62 malfunctions, the state machine switches from operation to standby state.
[0216] In the power-down holding state, when the second energy storage compensation circuit 62 is fault-free and the input voltage Uac is not powered down, the state machine switches from power-down holding to running state. When the second energy storage compensation circuit 62 malfunctions, the state machine switches from power-down holding to standby state.
[0217] S1021: Send the drive control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
[0218] Among them, S916, S917 and S918 and Figure 7The same applies to S712, S713, and S714. Please refer to the textual descriptions of S712, S713, and S714 for details, which will not be repeated here.
[0219] This application also provides an electronic device, please refer to... Figure 14 , Figure 14 This is a schematic diagram of the structure of an embodiment of the electronic device of this application. In this embodiment, the electronic device 110 includes a housing 1101 and a third state control circuit 1102 connected to the housing 1101.
[0220] It should be noted that the third state control circuit 1102 described in this embodiment is either the first state control circuit 20 or the second state control circuit 50 described in any of the above embodiments. Please refer to [link / reference] for details. Figures 1-13 The relevant textual content will not be elaborated upon here.
[0221] The beneficial effects of this application are as follows: Unlike the prior art, the present application obtains the energy storage voltage and energy storage current in the energy storage compensation circuit, and gradually increases the given target value of the ramp using a preset monotonic function. Then, it performs proportional integral calculation on the first error value between the given target value of the ramp and the energy storage voltage to obtain the first current target value, and performs proportional integral calculation on the second error value between the first current target value and the energy storage current to obtain the current regulation output value. The current regulation output value is used to modulate the generated drive control signal to adjust the discharge state of the energy storage compensation circuit. This effectively suppresses the fluctuations that may occur during the initial stage of energy storage power supply compensation, so as to realize the soft start charging and discharging of the energy storage voltage. This fully utilizes the compensation function of the energy storage power supply and the energy storage compensation circuit to accurately compensate the bus power under load dynamics, avoids bus voltage overshoot or drop under impact power, and can use the energy storage compensation circuit to absorb bus energy during charging or release energy to the bus during discharging to achieve the function of smoothing bus voltage fluctuations. This effectively controls the bus voltage to recover from overshoot or drop to normal, and the control logic is simple and easy to implement in engineering.
[0222] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A state control method, applied to the state control of a power supply regulation circuit, characterized in that, The state control method includes: Obtain the characteristic electrical parameters of the power conditioning circuit; wherein the power conditioning circuit includes an energy storage compensation circuit, and the characteristic electrical parameters include the energy storage voltage and energy storage current in the energy storage compensation circuit; The method involves adjusting the target value of the ramp using a preset monotonic function. The step of adjusting the target value of the ramp using the preset monotonic function includes: performing calculations on the target value of the ramp using the preset monotonic function in each sampling period; wherein the calculation formula of the preset monotonic function is: ; Where n is a positive integer, A target value is given for the ramp in the nth sampling period. , To set the adjustment step size, The target value for energy storage voltage; The first current target value is obtained by performing a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage; The current regulation output value is obtained by performing a proportional-integral calculation on the second error value between the first current target value and the energy storage current; The drive control signal is generated by modulating the output value of the current regulation. The drive control signal is sent to the energy storage compensation circuit to trigger the energy storage compensation circuit to change its charging and discharging state.
2. The state control method according to claim 1, characterized in that, The step of performing a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target current value includes: The first error value is obtained by subtracting the energy storage voltage from the given target value of the slope. The first adjusted output value is obtained by performing a proportional-integral operation on the first error value. The first target current value is obtained by limiting and inverting the first regulated output value.
3. The state control method according to claim 1, characterized in that, The power regulation circuit further includes a power switching circuit coupled to the energy storage compensation circuit. The characteristic electrical parameter also includes the bus voltage in the power switching circuit. Before the step of gradually adjusting and increasing the given target value of the ramp using a preset monotonic function, the circuit further includes: Detect whether the bus voltage is within the first threshold range; If the bus voltage is not within the first threshold range, it enters a standby waveform blocking state; If the bus voltage is within the first threshold range, the step of adjusting the given target value of the ramp using a preset monotonic function is executed.
4. The state control method according to claim 3, characterized in that, After the step of performing a proportional-integral calculation on the first error value between the given target value of the slope and the energy storage voltage to obtain the first target current value, and before the step of performing a proportional-integral calculation on the second error value between the first target current value and the energy storage current to obtain the current regulation output value, the method further includes: Detect whether the given target value of the slope is less than the target value of the energy storage voltage; If the given target value of the ramp is less than the target value of the energy storage voltage, the step of performing proportional-integral calculation on the second error value between the first target value of the current and the energy storage current to obtain the current regulation output value is executed. If the given target value of the ramp is not less than the target value of the energy storage voltage, the target value of the bus limiting voltage is obtained by using the target value of the bus voltage and the bias adjustment value. The second adjustable output value is obtained by performing a proportional-integral calculation on the third error value between the target value of the bus limiting voltage and the bus voltage; A third regulated output value is obtained by performing a proportional-integral calculation on the fourth error value between the target value of the energy storage voltage and the energy storage voltage. Subtracting the third adjustment output value from the second adjustment output value yields the second current target value; The current regulation output value is obtained by performing a proportional-integral calculation on the fifth error value between the second current target value and the energy storage current.
5. The state control method according to claim 4, characterized in that, The step of obtaining the target value of the bus limiting voltage using the target value of the bus voltage and the bias adjustment value includes: The upper limit voltage target value of the bus is obtained by superimposing the bias adjustment value on the target value of the bus voltage; Subtract the lower bias adjustment value from the target value of the bus voltage to obtain the target value of the lower limit voltage of the bus; The step of performing a proportional-integral calculation on the third error value between the target value of the bus limiting voltage and the bus voltage to obtain the second regulated output value includes: The upper limit voltage adjustment output value is obtained by performing a proportional-integral calculation on the upper limit voltage error value between the target value of the upper limit voltage of the bus and the bus voltage. The upper limit adjustment output value is limited and adjusted to a first threshold range to obtain the upper limit adjustment target value; wherein, the upper limit of the first threshold range is 0, and its lower limit is the maximum charging current of the energy storage compensation circuit. The lower limit adjustment output value is obtained by performing a proportional-integral calculation on the bus lower limit voltage error value between the target value of the bus lower limit voltage and the bus voltage. The lower limit adjustment output value is limited and adjusted to the range of the second threshold to obtain the lower limit adjustment target value; wherein, the upper limit of the second threshold range is the maximum discharge current of the energy storage compensation circuit, and its lower limit is 0; The second adjustment output value is obtained by adding the upper limit adjustment target value to the lower limit adjustment target value.
6. The state control method according to claim 4, characterized in that, Before the step of detecting whether the given target value of the slope is less than the target value of the energy storage voltage, the method further includes: The target value of the energy storage voltage is obtained using the target value of the bus voltage, the set load power, and the maximum load power.
7. The state control method according to claim 6, characterized in that, The step of obtaining the target value of the energy storage voltage using the target value of the bus voltage, the set load power, and the maximum load power includes: The target value of the energy storage voltage is obtained by performing calculations on the target value of the bus voltage, the set load power, and the maximum load power using a preset adjustment function. The calculation formula for the preset adjustment function is as follows: ; in, The target value of the energy storage voltage. The target value for the bus voltage. The first adjustment coefficient, Set the load power. The maximum load power is given by k, which is the second adjustment coefficient, and the first adjustment coefficient is given by k. It is a positive number less than 1.
8. The state control method according to claim 4, characterized in that, The characteristic electrical parameters also include the input voltage of the power switching circuit. After the step of subtracting the third adjusted output value from the second adjusted output value to obtain the second current target value, and before the step of performing a proportional-integral calculation on the fifth error value between the second current target value and the energy storage current to obtain the current adjusted output value, the method further includes: Detect whether the input voltage is lower than a set threshold voltage; If the input voltage is lower than the set threshold voltage, the sixth error value is obtained by subtracting the bus voltage from the target bus voltage value. The third current target value is obtained by performing a proportional-integral operation on the sixth error value; The current regulation output value is obtained by performing a proportional-integral calculation on the seventh error value between the third current target value and the energy storage current.
9. The state control method according to any one of claims 1-8, characterized in that, The power regulation circuit further includes a power switching circuit coupled to the energy storage compensation circuit. The characteristic electrical parameter also includes the bus voltage in the power switching circuit. The state control method further includes: Detect whether the bus voltage is within a first set threshold range; If the bus voltage is not within the first set threshold range, the system enters a wave blocking shutdown state. If the bus voltage is within the first preset threshold range, detect whether the energy storage voltage is within the second preset threshold range; If the energy storage voltage is not within the second set threshold range, the system enters a wave blocking shutdown state. If the energy storage voltage is within the second preset threshold range, detect whether the energy storage current is within the third preset threshold range; If the energy storage current is not within the range of the third set threshold, the system enters a wave blocking shutdown state.
10. A state control circuit, characterized in that, The state control circuit is used to couple with the power regulation circuit; The state control circuit uses the state control method as described in any one of claims 1-9 to implement state control of the power supply regulation circuit.
11. An electronic device, characterized in that, The electronic device includes a housing and a status control circuit connected to the housing; The state control circuit is the state control circuit as described in claim 10.
Citation Information
Patent Citations
Charge control method and circuit applied to resonant conversion circuit, and electronic equipment
CN121012351A
Voltage compensation method, voltage compensation circuit and electronic equipment
CN121996013A