CN-121996013-A - Voltage compensation method, voltage compensation circuit and electronic equipment
Abstract
The application discloses a voltage compensation method, a voltage compensation circuit and electronic equipment, wherein the voltage compensation method comprises the steps of obtaining bus voltage in a power switch circuit and energy storage current in an energy storage compensation circuit; the bus limiting voltage error value is obtained by subtracting the bus voltage from the bus voltage target value and the bias adjustment value, the stored energy current target value is obtained by performing proportional integral operation and limiting treatment on the bus limiting voltage error value and subtracting the stored energy current from the bus limiting voltage error value, the current adjustment output value is obtained by performing proportional integral operation on the stored energy current error value, the compensation control signal is obtained by using the current adjustment output value, and the compensation control signal is used for triggering the stored energy compensation circuit to change the charging and discharging states of the stored energy compensation circuit, so that the bus voltage compensation is adjusted to a set threshold range. Through the mode, the voltage compensation method can effectively stabilize the bus voltage within the set threshold range, and the control logic is simple.
Inventors
- GUO JIANXIN
- LIU XIAOGANG
Assignees
- 西安麦格米特电气有限公司
- 湖南麦格米特电气技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260408
Claims (10)
- 1. A voltage compensation method applied to voltage compensation of a power supply regulating circuit, the power supply regulating circuit comprising a power switching circuit and a tank compensation circuit coupled, the voltage compensation method comprising: Acquiring bus voltage in the power switch circuit and energy storage current in the energy storage compensation circuit; utilizing the bus voltage target value and the bias adjustment value to obtain a bus limiting voltage target value; Subtracting the bus voltage from the bus limiting voltage target value to obtain a bus limiting voltage error value; Proportional integral operation and amplitude limiting processing are carried out on the bus amplitude limiting voltage error value to obtain an energy storage current target value; Subtracting the energy storage current from the energy storage current target value to obtain an energy storage current error value; Performing proportional integral operation on the energy storage current error value to obtain a current regulation output value; Obtaining a compensation control signal by utilizing the current regulation output value; And sending the compensation control signal to the energy storage compensation circuit to trigger the energy storage compensation circuit to change the charging and discharging states of the energy storage compensation circuit, so that the bus voltage compensation is regulated to a set threshold range.
- 2. The method of claim 1, wherein the step of utilizing the bus voltage target value and the bias adjustment value comprises: superposing the bus voltage target value with an upward bias adjustment value to obtain a bus upper limit voltage target value; The step of subtracting the bus voltage from the bus limited voltage target value to obtain a bus limited voltage error value includes: subtracting the bus voltage from the bus upper limit voltage target value to obtain a bus upper limit voltage error value; the step of performing proportional integral operation and amplitude limiting processing on the bus amplitude limiting voltage error value to obtain an energy storage current target value comprises the following steps of: Proportional integral operation is carried out on the bus upper limit voltage error value to obtain an upper limit regulation output value; limiting and adjusting the upper limit adjusting output value to a first threshold range to obtain an upper limit adjusting target value, wherein the upper limit value of the first threshold range is 0, and the lower limit value of the first threshold range is the maximum charging current of the energy storage compensation circuit; And obtaining the energy storage current target value by utilizing the upper limit regulation target value.
- 3. The method of voltage compensation according to claim 2, wherein the step of utilizing the bus voltage target value and the bias adjustment value further comprises: Subtracting the lower deviation adjustment value from the bus voltage target value to obtain a bus lower limit voltage target value; The step of subtracting the bus voltage from the bus limited voltage target value to obtain a bus limited voltage error value further comprises: subtracting the bus voltage from the bus lower limit voltage target value to obtain a bus lower limit voltage error value; The step of performing proportional integral operation and amplitude limiting processing on the bus amplitude limiting voltage error value to obtain an energy storage current target value further comprises the following steps: proportional integral operation is carried out on the bus lower limit voltage error value to obtain a lower limit regulation output value; Limiting and adjusting the lower limit adjusting output value to a second threshold range to obtain a lower limit adjusting target value, wherein the upper limit value of the second threshold range is the maximum discharge current of the energy storage compensation circuit, and the lower limit value of the second threshold range is 0; And obtaining the energy storage current target value by utilizing the upper limit adjustment target value and the lower limit adjustment target value.
- 4. A voltage compensation method according to claim 3 wherein said step of deriving said stored-energy current target value using said upper-limit adjustment target value and said lower-limit adjustment target value comprises: detecting whether the bus voltage is greater than the bus upper limit voltage target value; and if the bus voltage is larger than the bus upper limit voltage target value, selecting and outputting the upper limit adjustment target value as the energy storage current target value.
- 5. The voltage compensation method of claim 4, the voltage compensation method is characterized by further comprising the following steps: if the bus voltage is not greater than the bus upper limit voltage target value, detecting whether the bus voltage is less than the bus lower limit voltage target value; If the bus voltage is smaller than the bus lower limit voltage target value, selecting and outputting the lower limit adjustment target value as the energy storage current target value; and if the bus voltage is not smaller than the bus lower limit voltage target value, selecting and outputting the last energy storage current target value as the energy storage current target value.
- 6. The method according to any one of claims 1 to 5, wherein after the step of performing a proportional-integral operation and a clipping process on the bus clipping voltage error value to obtain an energy storage current target value, the step of subtracting the energy storage current from the energy storage current target value to obtain an energy storage current error value further comprises: Acquiring energy storage voltage in the energy storage compensation circuit; Subtracting the energy storage voltage from the energy storage voltage target value to obtain an energy storage voltage error value; performing proportional integral operation on the energy storage voltage error value to obtain an energy storage regulation output value; Limiting and adjusting the energy storage adjusting output value to a third threshold range to obtain an energy storage adjusting target value, wherein the upper limit value of the third threshold range is smaller than the maximum discharge current of the energy storage compensation circuit, and the lower limit value of the third threshold range is larger than the maximum charge current of the energy storage compensation circuit; The step of subtracting the stored energy current from the stored energy current target value to obtain an stored energy current error value comprises the following steps: Subtracting the energy storage regulation output value from the energy storage current target value to compensate the regulation target value; and subtracting the energy storage current from the compensation regulation target value to obtain the energy storage current error value.
- 7. The method of claim 6, wherein subtracting the stored energy adjustment output value from the stored energy current target value comprises: subtracting the energy storage regulation output value from the energy storage current target value every interval set time length or the set number of signal periods of the compensation control signal to obtain the compensation regulation target value.
- 8. The method of claim 6, wherein prior to the step of subtracting the stored voltage from the stored voltage target value to obtain a stored voltage error value, further comprising: and multiplying the bus voltage target value by a set adjustment coefficient to obtain the energy storage voltage target value.
- 9. A voltage compensation circuit, wherein the voltage compensation circuit is configured to be coupled to a power supply regulation circuit; wherein the voltage compensation circuit implements voltage compensation for the power supply regulation circuit using the voltage compensation method as claimed in any one of claims 1 to 8.
- 10. An electronic device, characterized in that the electronic device comprises a housing and a voltage compensation circuit connected to the housing; wherein the voltage compensation circuit is the voltage compensation circuit of claim 9.
Description
Voltage compensation method, voltage compensation circuit and electronic equipment Technical Field The present application relates to the field of circuit technologies, and in particular, to a voltage compensation method, a voltage compensation circuit, and an electronic device. Background In recent years, with the development of industrial technology and information technology, impact loads frequently occur in application scenes such as industrial production, information processing and the like, such as electric welding machines, laser cutters, AI (ARTIFICIAL INTELLIGENCE ) servers and the like, when the electric loads are impact loads according to energy conservation, impact power is provided by a power supply bus, and the impact power causes a bus voltage to drop or overshoot to occur greatly, so that the stable operation of a power supply is seriously affected. However, in the related art, the capacity of the bus capacitor is generally increased to improve the capability of suppressing the bus voltage fluctuation in hardware, but this cannot effectively solve the problem of the bus voltage overshoot, but only suppress the amplitude of the overshoot, and after the overshoot occurs, the energy cannot be fed back to the power supply by the power supply bus, and the bus voltage cannot be controlled to return to normal from the overshoot. Disclosure of Invention The application mainly solves the technical problem of providing a voltage compensation method, a voltage compensation circuit and electronic equipment, which can solve the problem that the stable control of bus voltage under impact power in the related art cannot effectively solve the problem of bus voltage overshoot and cannot control the bus voltage to recover from the overshoot to be normal. The technical scheme includes that the voltage compensation method is applied to voltage compensation of a power supply regulating circuit, the power supply regulating circuit comprises a power switch circuit and an energy storage compensating circuit which are coupled, the voltage compensation method comprises the steps of obtaining bus voltage in the power switch circuit and energy storage current in the energy storage compensating circuit, obtaining a bus limiting voltage target value through a bus voltage target value and a bias regulating value, subtracting the bus limiting voltage from the bus limiting voltage target value to obtain a bus limiting voltage error value, performing proportional integral operation and limiting processing on the bus limiting voltage error value to obtain an energy storage current target value, subtracting the energy storage current from the energy storage current target value to obtain an energy storage current error value, performing proportional integral operation on the energy storage current error value to obtain a current regulating output value, obtaining a compensation control signal through the current regulating output value, and sending the compensation control signal to the energy storage compensating circuit to trigger the energy storage compensating circuit to change a charging and discharging state of the energy storage compensating circuit, so that the bus voltage is regulated to a set threshold range. The method comprises the steps of obtaining a bus limiting voltage target value by utilizing a bus voltage target value and a bias regulating value, wherein the bus limiting voltage target value is obtained by superposing an upper bias regulating value on the bus voltage target value, the bus limiting voltage error value is obtained by subtracting the bus voltage from the bus limiting voltage target value, the energy storage current target value is obtained by carrying out proportional integral operation and limiting treatment on the bus limiting voltage error value, the upper limit regulating output value is obtained by carrying out proportional integral operation on the bus limiting voltage error value, the upper limit regulating output value is limited and regulated to a first threshold range to obtain the upper limit regulating target value, the upper limit of the first threshold range is 0, the lower limit of the first threshold range is the maximum charging current of an energy storage compensation circuit, and the energy storage current target value is obtained by utilizing the upper limit regulating target value. The method comprises the steps of obtaining a bus limiting voltage target value by utilizing a bus voltage target value and a bias regulating value, obtaining a bus lower limit voltage target value by subtracting a lower bias regulating value from the bus voltage target value, obtaining a bus limiting voltage error value by subtracting the bus voltage from the bus limiting voltage target value, obtaining a bus lower limit voltage error value by subtracting the bus voltage from the bus lower limit voltage target value, obtaining an energy storage current target value by carrying out proportional