Grid-connected control method and device based on electrochemical energy storage, computer equipment and storage medium
Through the grid-connected control method of electrochemical energy storage system, photovoltaic units, reversible solid oxide fuel cells and energy storage inverters are used to solve the problem of grid-connected electrochemical energy storage and power grid, and the stability and reliability of the power grid are improved. , has promoted the application of clean energy.
Patent Information
- Application Number
- CN202411200536.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-03
AI Technical Summary
Existing electrochemical energy storage technologies are difficult to quickly connect to the grid, resulting in low efficiency in grid regulation and renewable energy utilization.
Using grid-connected control method based on electrochemical energy storage, the output current and voltage of the energy storage inverter are obtained through photovoltaic units, reversible solid oxide fuel cells, hydrogen storage tanks and energy storage inverters, and the output active and non-existent are calculated. The power is used to generate the initial reference voltage, and the final reference voltage is formed through virtual impedance adjustment, and finally input to the voltage and current dual-loop control model to generate the driving signal of the energy storage inverter.
Improve the energy utilization efficiency of the system, realize step-by-step adjustment of active, frequency, voltage and current, reduce overall errors, enable the system to quickly reach steady state, meet grid connection requirements, improve the stability and reliability of the power grid, and support large-scale Grid-connected application of large-scale renewable energy.
Smart Images

Figure CN119070381A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power systems, and in particular to a grid-connected control method, device, computer equipment and storage medium based on electrochemical energy storage. Background Art
[0002] Energy storage is an ideal technology that can assist in achieving the balance of supply and demand in the power grid on a large time scale, effectively saving the total cost of electricity production. It can also be combined with renewable energy power generation technology to support global decarbonization, further improve the level of carbon reduction in the electrical system, and thus promote the development of new energy power supply. Electrochemical energy storage is the fastest growing energy storage technology in recent years. It has the characteristics of fast response speed, short construction period, flexible layout, emergency backup and voltage support, etc. There is an urgent need for a solution that can quickly connect electrochemical energy storage to the power grid. Summary of the invention
[0003] The purpose of this application is to solve at least one of the above-mentioned technical defects, and in particular to provide a solution that can quickly connect electrochemical energy storage to the power grid.
[0004] In the first aspect, the present application provides a grid-connected control method based on electrochemical energy storage, wherein the electrochemical energy storage system includes a photovoltaic unit, a reversible solid oxide fuel cell, a hydrogen storage tank, a boost unit and an energy storage inverter. When the reversible solid oxide fuel cell operates in an electrolysis mode, the reversible solid oxide fuel cell converts the electrical energy generated by the photovoltaic unit into hydrogen stored in the hydrogen storage tank. When the reversible solid oxide fuel cell operates in a power generation mode, the reversible solid oxide fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity, and transmits the generated electrical energy to the power grid through the boost unit and the energy storage inverter. The grid-connected control method includes:
[0005] When the reversible solid oxide fuel cell operates in a power generation mode, obtaining an output current and an output voltage of the energy storage inverter;
[0006] The output active power and output reactive power are obtained according to the output current and the output voltage;
[0007] Obtaining a first reference voltage according to the output active power and the output reactive power;
[0008] Obtaining a second reference voltage according to the first reference voltage, the output current and a preset virtual impedance parameter;
[0009] The direct-axis component and the quadrature-axis component of the second reference voltage are input into the voltage-current dual-loop control model to obtain a driving signal for the energy storage inverter.
[0010] In one embodiment, the grid-connected control method based on electrochemical energy storage further includes:
[0011] Obtain the average monthly photovoltaic utilization hours and energy demand for each month in the local preset cycle;
[0012] According to the monthly photovoltaic utilization hours and the rated power generation capacity of the photovoltaic unit, the monthly photovoltaic power generation of the corresponding month is obtained;
[0013] According to the average energy demand and the weighted coefficient, the monthly weighted energy demand of users in the corresponding month is obtained;
[0014] The capacity of the reversible solid oxide fuel cell is configured as the maximum value of each photovoltaic monthly power generation and the user's monthly weighted energy demand.
[0015] In one embodiment, obtaining a first reference voltage according to the output active power and the output reactive power includes:
[0016] Inputting the output active power into a power-frequency controller to obtain frequency information of a first reference voltage;
[0017] The output reactive power is input into the voltage regulating controller to obtain the amplitude information of the first reference voltage.
[0018] In one embodiment, obtaining the direct-axis component of the second reference voltage according to the direct-axis component of the first reference voltage, the direct-axis component of the output current and the preset virtual impedance parameter includes:
[0019] Multiplying the direct-axis component of the output current and the preset virtual impedance parameter to obtain the direct-axis component of the virtual voltage drop;
[0020] The direct-axis component of the second reference voltage is obtained by subtracting the direct-axis component of the virtual voltage drop from the direct-axis component of the first reference voltage.
[0021] In one embodiment, the direct-axis component and the quadrature-axis component of the second reference voltage are input into a voltage-current dual-loop control model to obtain a drive signal of the energy storage inverter, including:
[0022] Inputting the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage outer loop control to obtain the direct-axis component and the quadrature-axis component of the reference current;
[0023] Inputting the direct-axis component and quadrature-axis component of the reference current into the current inner loop control to obtain the direct-axis component and quadrature-axis component of the control voltage;
[0024] The direct-axis component and the quadrature-axis component of the control voltage are input into the modulation unit to obtain the driving signal of the energy storage inverter.
[0025] In one embodiment, the direct-axis component and the quadrature-axis component of the second reference voltage are input into the voltage outer loop control to obtain the direct-axis component and the quadrature-axis component of the reference current, including:
[0026] According to the direct-axis component of the second reference voltage and the first expression, the direct-axis component of the reference current is obtained; the first expression is:
[0027]
[0028] in, is the direct axis component of the reference current, is the first proportionality constant, is the first integration constant, is the direct axis component of the second reference voltage, is the direct axis component of the grid side voltage, is the direct axis component of the grid-side current, is the capacitive reactance of the filter capacitor between the energy storage inverter and the grid, is the quadrature-axis component of the grid-side voltage;
[0029] According to the quadrature-axis component of the second reference voltage and the second expression, the quadrature-axis component of the reference current is obtained; the second expression is:
[0030]
[0031] in, is the quadrature-axis component of the reference current, is the second proportionality constant, is the second integration constant, is the quadrature-axis component of the second reference voltage, is the direct axis component of the grid-side current.
[0032] In one embodiment, the direct-axis component and the quadrature-axis component of the reference current are input into the current inner loop control to obtain the direct-axis component and the quadrature-axis component of the control voltage, including:
[0033] According to the direct-axis component of the reference current and the third expression, the direct-axis component of the control voltage is obtained; the third expression is:
[0034]
[0035] in, is the direct axis component of the control voltage, is the third proportional constant, is the third integration constant, is the direct axis component of the output current, is the quadrature axis component of the output current, wL is the inductive reactance of the equivalent inductance between the energy storage inverter and the grid;
[0036] According to the quadrature-axis component of the reference current and the fourth expression, the quadrature-axis component of the control voltage is obtained; the fourth expression is:
[0037]
[0038] in, is the quadrature-axis component of the control voltage, is the fourth proportional constant, is the fourth integration constant.
[0039] In the second aspect, the present application provides a grid-connected control device based on electrochemical energy storage, the electrochemical energy storage system includes a photovoltaic unit, a reversible solid oxide fuel cell, a hydrogen storage tank, a boost unit and an energy storage inverter. When the reversible solid oxide fuel cell works in the electrolysis mode, the reversible solid oxide fuel cell converts the electrical energy generated by the photovoltaic unit into hydrogen and stores it in the hydrogen storage tank. When the reversible solid oxide fuel cell works in the power generation mode, the reversible solid oxide fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity, and transmits the generated electricity to the power grid through the boost unit and the energy storage inverter. The grid-connected control device includes:
[0040] A data acquisition module, used to acquire the output current and output voltage of the energy storage inverter when the reversible solid oxide fuel cell operates in a power generation mode;
[0041] A power calculation module is used to obtain output active power and output reactive power according to output current and output voltage;
[0042] A first reference voltage determination module, used for obtaining a first reference voltage according to output active power and output reactive power;
[0043] A second reference voltage determination module, used to obtain a second reference voltage according to the first reference voltage, the output current and a preset virtual impedance parameter;
[0044] The driving module is used to input the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage-current dual-loop control model to obtain a driving signal for the energy storage inverter.
[0045] In a third aspect, the present application provides a computer device comprising one or more processors and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the steps of the grid-connected control method based on electrochemical energy storage in any of the above-mentioned embodiments are executed.
[0046] In a fourth aspect, the present application provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the grid-connected control method based on electrochemical energy storage in any of the above-mentioned embodiments.
[0047] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0048] The grid-connected control method in the present application is directed to an electrochemical energy storage system comprising a photovoltaic unit, a reversible solid oxide fuel cell, a hydrogen storage tank, a boost unit and an energy storage inverter. The entire control process begins with obtaining the output current and voltage of the energy storage inverter, and then calculating the output active and reactive power. Based on these power values, the system generates an initial first reference voltage, and then forms a final second reference voltage through virtual impedance adjustment. The second reference voltage is then input into the voltage-current dual-loop control model, and finally generates a drive signal for the energy storage inverter. It improves the energy utilization efficiency of the system by being able to effectively manage the storage and release of electrical energy. By simulating the characteristics of a synchronous generator, active power, frequency, voltage, and current are adjusted in steps, the overall error is reduced, and the system is quickly brought to a steady state, meeting the grid connection requirements, so that it can better participate in grid regulation. In general, this control method provides strong support for the large-scale grid-connected application of renewable energy, helps to improve the stability and reliability of the power grid, and promotes the widespread application of clean energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0050] Figure 1 This is an application scenario diagram of an electrochemical energy storage system in one embodiment of the present application;
[0051] Figure 2 A schematic flow chart of a grid-connected control method based on electrochemical energy storage in one embodiment of the present application;
[0052] Figure 3 A schematic diagram of a process for configuring the capacity of a reversible solid oxide fuel cell in one embodiment of the present application;
[0053] Figure 4 A schematic diagram of a process for obtaining a driving signal of an energy storage inverter in one embodiment of the present application;
[0054] Figure 5 An internal structural diagram of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0056] This application provides a grid-connected control method based on electrochemical energy storage. The method is applied to electrochemical energy storage systems. Figure 1 The electrochemical energy storage system includes a photovoltaic unit, a reversible solid oxide fuel cell (RSOC), a hydrogen storage tank, a boost unit and an energy storage inverter. The photovoltaic unit is electrically connected to the reversible solid oxide fuel cell, and the electrical energy generated by the photovoltaic unit is transmitted to the reversible solid oxide fuel cell. The reversible solid oxide fuel cell and the hydrogen storage tank are connected by a pipeline, which can carry out bidirectional transmission of hydrogen. When the reversible solid oxide fuel cell works in the electrolysis mode, it can use the electrical energy generated by the photovoltaic unit to electrolyze water, and the hydrogen generated by the electrolysis of water can be transported to the hydrogen storage tank for storage, which is equivalent to converting the electrical energy generated by the photovoltaic unit into chemical energy in hydrogen and storing it.
[0057] The reversible solid oxide fuel cell is also connected to the AC bus through a boost unit and a power storage inverter (PCS). The AC bus is connected to the power grid or load to achieve the exchange of electrical energy. When the reversible solid oxide fuel cell works in the power generation mode, the reversible solid oxide fuel cell will consume the hydrogen in the hydrogen storage tank to generate electricity and produce low-voltage direct current. The boost unit can boost the low-voltage direct current and convert it into high-voltage direct current. The energy storage inverter converts the high-voltage direct current into high-voltage alternating current that meets the voltage and frequency requirements of the power grid to supply it to the power grid or load. The high and low voltage here are relative concepts, which show the difference between the voltage of the electrical signal generated by the reversible solid oxide fuel cell and the subsequent processed voltage. To this end, it is necessary to control the working process of the energy storage inverter so that the electrical signal entering the AC bus can meet the needs of the power grid more quickly. Please refer to Figure 2 The grid-connected control method includes steps S202 to S210.
[0058] S202, when the reversible solid oxide fuel cell operates in a power generation mode, obtaining an output current and an output voltage of the energy storage inverter.
[0059] It can be understood that when the electrochemical energy storage system is connected to the grid, that is, when the reversible solid oxide fuel cell works in the power generation mode, the electric energy generated by the reversible solid oxide fuel cell needs to be converted into electric energy that does not affect the power grid and meets the needs of the power grid. Output current and output voltage are basic parameters that describe the output characteristics of the inverter, and are usually measured at the output end of the energy storage inverter through current transformers and voltage transformers. These measured values not only reflect the working status of the energy storage inverter, but also indirectly reflect the operation of the entire energy storage system. Accurate current and voltage measurement are crucial for subsequent power calculations, control strategy implementation, and grid-connected quality assurance. In practical applications, high-precision digital sensors or analog-to-digital converters can be used to obtain these data, and digital signal processing technology can be used to filter out possible noise interference to ensure the accuracy and reliability of the measurement data.
[0060] S204, obtaining output active power and output reactive power according to the output current and the output voltage.
[0061] It can be understood that the output active power and output reactive power are obtained according to the output current and the output voltage. This step involves power calculation and is a key link in grid-connected control. Active power and reactive power are two important parameters that describe the energy transfer characteristics in AC circuits. Active power represents the energy actually consumed or transmitted by the load, while reactive power is related to the energy exchange of the inductor and capacitor elements in the system. Although it does not directly consume energy, it will affect the power factor and system efficiency. In addition, the voltage of the AC bus can be regarded as constant (amplitude, frequency, etc.). When the energy storage inverter needs to be grid-connected with the constant voltage, the active power output by the inverter is mainly determined by the phase difference between the output voltage and the constant voltage, and the phase difference is determined by the output frequency. The output reactive power is mainly determined by the amplitude of the output voltage. The output voltage and output current detected in step S202 include amplitude information, as well as phase, frequency and other information. The output active power and output reactive power can be obtained respectively according to the real part and imaginary part of the complex power obtained by multiplying the output voltage and the output current.
[0062] Based on this, multiple inverters are generally operated in parallel in energy storage inverters. When the inverters are operated in parallel, the inverter with higher active power output will reduce its output frequency according to the above characteristics. This frequency reduction leads to a decrease in its active power output. On the contrary, the inverter with lower active power output will increase its output frequency according to the above characteristics, thereby increasing its active power output. This process continues until the output frequency of all parallel inverters reaches a new equilibrium point. Through this mechanism, the system achieves frequency stability and reasonable distribution of load power. The same principle also applies to the analysis of the relationship between the inverter output voltage amplitude and reactive power. Based on this, it is necessary to first obtain the active and reactive power output by the energy storage inverter in order to facilitate the control of the energy storage inverter, so as to output electrical signals with appropriate amplitude, frequency, etc.
[0063] S206, obtaining a first reference voltage according to the output active power and the output reactive power.
[0064] It can be understood that the above control idea is called the droop control of the inverter, which is to make the inverter simulate the process of primary frequency modulation of the synchronous generator set. The first reference voltage refers to an ideal voltage reference value that has not been adjusted by the virtual impedance. In the traditional droop control, by controlling the energy storage inverter, it is hoped that the energy storage inverter can output an electrical signal of the first reference voltage.
[0065] Specifically, a power-frequency controller and a voltage regulator controller can be set separately. The power-frequency controller contains the mapping relationship between frequency and active power. By inputting the output active power into the power-frequency controller, the corresponding frequency information can be obtained, and the frequency information is the frequency information of the first reference voltage. The voltage regulator controller contains the mapping relationship between voltage amplitude and reactive power. By inputting the output reactive power into the voltage regulator controller, the corresponding amplitude information can be obtained, and the amplitude information is the amplitude information of the first reference voltage.
[0066] S208, obtaining a second reference voltage according to the first reference voltage, the output current and a preset virtual impedance parameter.
[0067] It can be understood that, since electrochemical energy storage is a micro power source, it is different from traditional power sources such as power plants, and its connection methods with the AC bus are different, which leads to great differences in line impedance. However, the traditional droop control method has requirements on the size and properties of the line impedance, and electrochemical energy storage cannot meet this requirement, which makes it difficult to decouple the active power and reactive power, and the power distribution cannot be carried out according to the ideal droop curve. Therefore, it is necessary to introduce virtual impedance. By introducing a virtual impedance link on the basis of conventional droop control, we can adjust the nature and value of the inverter output impedance. This improvement makes the equivalent output impedance of the inverter control system inductive, and at the same time greatly increases the output impedance, making it far higher than the line impedance. Such an adjustment ensures that the equivalent output impedance meets the requirement of proportional power distribution. Based on this, the output current is multiplied by the preset virtual impedance parameter in this embodiment to obtain the voltage drop corresponding to the virtual impedance, and the voltage drop is subtracted from the first reference voltage to obtain the second reference voltage.
[0068] S210, inputting the direct-axis component and the quadrature-axis component of the second reference voltage into a voltage-current dual-loop control model to obtain a driving signal for the energy storage inverter.
[0069] It can be understood that the direct-axis component and quadrature-axis component of the second reference voltage are input into the voltage-current dual-loop control model to obtain the drive signal of the energy storage inverter. This step is the last link of the entire control process and directly determines the output characteristics of the inverter. Voltage-current dual-loop control is a commonly used high-performance control strategy, which includes current inner-loop control and voltage outer-loop control. The voltage outer-loop control compares the second reference voltage (including direct-axis and quadrature-axis components) with the actual grid-side voltage to generate a current reference value. The current inner-loop control compares the current reference value with the grid-side current, and the modulation unit (SPWM, SVPWM, etc.) converts it into a modulation wave signal to generate the final control signal.
[0070] The grid-connected control method based on electrochemical energy storage in this embodiment is for an electrochemical energy storage system including a photovoltaic unit, a reversible solid oxide fuel cell, a hydrogen storage tank, a boost unit and an energy storage inverter. The entire control process begins with obtaining the output current and voltage of the energy storage inverter, and then calculating the output active and reactive power. Based on these power values, the system generates an initial first reference voltage, and then forms a final second reference voltage through virtual impedance adjustment. The second reference voltage is then input into the voltage and current dual-loop control model, and finally generates a drive signal for the energy storage inverter. It improves the energy utilization efficiency of the system by being able to effectively manage the storage and release of electrical energy. By simulating the characteristics of a synchronous generator, active power, frequency, voltage, and current are adjusted in steps, the overall error is reduced, and the system is quickly brought to a steady state, meeting the grid connection requirements, so that it can better participate in grid regulation. In general, this control method provides strong support for the large-scale grid-connected application of renewable energy, helps to improve the stability and reliability of the power grid, and promotes the widespread application of clean energy.
[0071] In one of the embodiments, how to reasonably configure battery capacity in an electrochemical energy storage system has always been a research problem. In previous integrated energy system planning studies, the system's renewable energy output and load demand forecasts and simulations are often conducted from a short-term (hour, day) perspective. However, since the planning objectives are generally long-term (such as annual equivalent investment operating costs, annual carbon emissions, etc.), there are many and complex uncertainties in predicting short-term (hour, day) renewable energy output and load demand from a long-term (month, year) perspective, and there are large prediction errors. At the same time, due to the influence of geographical, environmental, seasonal and other factors, renewable energy generation has significant uncertainty, and it is difficult for us to predict changes in timing and amplitude during power generation. However, from a long-term perspective, the prediction accuracy of annual or monthly power generation of renewable energy is better than the prediction of its short-term power generation. Therefore, this article determines the capacity of reversible solid oxide fuel cells based on long time scales. Please refer to Figure 3 The grid-connected control method based on electrochemical energy storage also includes steps S302 to S308.
[0072] S302, obtaining the local average monthly photovoltaic utilization hours and energy demand in each month within a preset period.
[0073] It is understandable that the monthly photovoltaic utilization hours is an important indicator to measure the abundance of solar energy resources in a specific area. It indicates the equivalent operating time that can be achieved if the photovoltaic system operates continuously at rated power within a month. This value is affected by many factors, including geographical location, seasonal changes, weather conditions, etc. Usually, these data can be obtained through long-term meteorological observations or professional solar resource assessment tools. The preset cycle is usually an integer year, generally one or two years, so that the impact of seasonal changes can be fully considered. The average energy demand reflects the energy consumption of users in each month. This value may vary due to factors such as season, user type (such as residential, commercial or industrial users), and economic activities.
[0074] S304, obtaining the monthly photovoltaic power generation of the corresponding month according to the monthly photovoltaic utilization hours and the rated power generation capacity of the photovoltaic unit.
[0075] It is understood that the rated power generation capacity refers to the output power of the photovoltaic system under standard test conditions. This value is usually provided by the photovoltaic module manufacturer. For each month in the preset cycle, the product of the rated power generation capacity and the monthly photovoltaic utilization hours can be used to obtain the photovoltaic monthly power generation for that month.
[0076] S306, obtaining the monthly weighted energy demand of the user in the corresponding month according to the average energy demand value and the weighting coefficient.
[0077] It can be understood that the monthly weighted energy demand of users is a corrected value obtained by considering certain specific factors based on the average energy demand. The introduction of weighting coefficients can more accurately reflect the actual demand situation and contribute to the precise design of the system. The weighting coefficient may take into account a variety of factors, such as seasonal demand changes (such as increased cooling demand in summer), economic factors (such as electricity price fluctuations), user behavior patterns, energy policies, etc., and is generally between 0.8-1.2. For each month in the preset period, the product between the average energy demand and the weighting coefficient can be used to obtain the monthly weighted energy demand of users in that month.
[0078] S308, configuring the capacity of the reversible solid oxide fuel cell to be the maximum value of each photovoltaic monthly power generation and the user's monthly weighted energy demand.
[0079] It can be understood that in order to meet the maximum capacity demand and reduce the real-time prediction error, the capacity of the reversible solid oxide fuel cell can be configured according to the indicators obtained under two long time scales: the monthly photovoltaic power generation and the monthly weighted energy demand of the user. Specifically, the idea of this step is to ensure that the reversible solid oxide fuel cell can meet the maximum demand of any month in the preset cycle, whether it is from the surplus of photovoltaic power generation or the energy demand of the user. If the monthly photovoltaic power generation of a certain month is greater than the monthly weighted energy demand of the user, then the reversible solid oxide fuel cell needs to have sufficient capacity to store the excess electricity (in the form of hydrogen); conversely, if the monthly weighted energy demand of the user is greater than the monthly photovoltaic power generation, the reversible solid oxide fuel cell needs to have sufficient capacity to supplement the insufficient electricity. This configuration method ensures that the system can maximize the use of renewable energy when there is a surplus of power generation, and can provide sufficient backup power when there is insufficient power generation.
[0080] In one embodiment, the direct-axis component and the quadrature-axis component of the second reference voltage are input into the voltage-current dual-loop control model to obtain the drive signal of the energy storage inverter. Figure 4 , including steps S402 to S406.
[0081] S402, inputting the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage outer loop control to obtain the direct-axis component and the quadrature-axis component of the reference current.
[0082] It can be understood that this step is the voltage outer loop part of the voltage and current dual-loop control, and is a key link to ensure the stability of the inverter output voltage. The second reference voltage is the ideal output voltage after virtual impedance adjustment, which contains two components: the direct axis and the quadrature axis. In the dq coordinate system, the direct axis component is usually related to active power, while the quadrature axis component is related to reactive power. The main task of the voltage outer loop control is to compare the ideal reference voltage with the actual grid-side voltage, and generate the corresponding reference current through the control algorithm. This control method can effectively suppress voltage fluctuations and improve the steady-state accuracy of the system.
[0083] Specifically, considering the existence of line impedance and filter capacitors between the energy storage inverter and the AC bus, the output voltage and current of the energy storage inverter are different from the actual voltage and current of the AC bus. In order to better connect to the grid, the current and voltage on the grid side will be used as a reference in the voltage and current dual-loop control model.
[0084] According to the direct axis component of the second reference voltage and the first expression, the direct axis component of the reference current is obtained. The first expression is:
[0085]
[0086] in, is the direct axis component of the reference current, is the first proportionality constant, is the first integration constant, is the direct axis component of the second reference voltage, is the direct axis component of the grid side voltage, is the direct axis component of the grid-side current, is the capacitive reactance of the filter capacitor between the energy storage inverter and the grid, is the quadrature component of the grid-side voltage. In the first expression, The first part corresponds to the PI control part, which is used to adjust the voltage error. is the feedforward compensation term, and - It is the decoupling term that decouples the quadrature axis and the direct axis.
[0087] According to the quadrature-axis component of the second reference voltage and the second expression, the quadrature-axis component of the reference current is obtained. The second expression is:
[0088]
[0089] in, is the quadrature-axis component of the reference current, is the second proportionality constant, is the second integration constant, is the quadrature-axis component of the second reference voltage, is the direct axis component of the grid-side current. In the second expression, The part is the part corresponding to the second PI control and is used to adjust the voltage error. is the feedforward compensation term, and is the decoupling term that decouples the quadrature axis and the direct axis. The first and second expressions can effectively separate the control of the direct axis and the quadrature axis in the voltage outer loop control and improve the dynamic response performance of the system. The parameters of PI control need to be adjusted according to the system characteristics to obtain the best control effect.
[0090] S404, inputting the direct-axis component and the quadrature-axis component of the reference current into the current inner loop control to obtain the direct-axis component and the quadrature-axis component of the control voltage.
[0091] It can be understood that this step is the current inner loop part of the voltage and current dual-loop control, and is the core link that directly determines the output characteristics of the inverter. The reference current is the ideal current value generated by the voltage outer loop control, which contains two components: the direct axis and the quadrature axis. The main task of the current inner loop control is to compare this ideal reference current with the actual grid-side current, and generate the final control voltage through the control algorithm. The response speed of the current inner loop control is usually faster than that of the voltage outer loop, in order to ensure that the entire system can quickly track the reference value and suppress current fluctuations. The output of the current inner loop control directly determines the switching state of the inverter, and therefore has a decisive influence on the waveform quality, phase accuracy and other characteristics of the output voltage.
[0092] Specifically, the direct axis component of the control voltage is obtained according to the direct axis component of the reference current and the third expression. The third expression is:
[0093]
[0094] in, is the direct axis component of the control voltage, is the third proportional constant, is the third integration constant, is the direct axis component of the output current, is the quadrature component of the output current, and wL is the inductive reactance of the equivalent inductance between the energy storage inverter and the grid. The equivalent inductance is related to the length, material, and specifications of the line between the energy storage inverter and the grid. In the third expression, This is the part corresponding to the third PI control and is used to adjust the current error. is the feedforward compensation term, and It is the decoupling term that decouples the quadrature axis and the direct axis.
[0095] According to the quadrature axis component of the reference current and the fourth expression, the quadrature axis component of the control voltage is obtained. The fourth expression is:
[0096]
[0097] in, is the quadrature-axis component of the control voltage, is the fourth proportional constant, is the fourth integral constant. In the fourth expression, This is the part corresponding to the fourth PI control and is used to adjust the current error. is the feedforward compensation term, and is the decoupling term that decouples the quadrature axis and the direct axis. The third and fourth expressions can effectively separate the control of the direct axis and the quadrature axis in the current inner loop control and improve the dynamic response performance of the system. The parameters of PI control need to be adjusted according to the system characteristics to obtain the best control effect.
[0098] S406, inputting the direct-axis component and the quadrature-axis component of the control voltage into a modulation unit to obtain a driving signal for the energy storage inverter.
[0099] It can be understood that step S402 and step S404 control the current and voltage in steps, and decouple the quadrature axis and the direct axis. This multi-link control method can reduce the overall error and enable the system to quickly reach a steady state to meet the grid connection requirements. The direct axis component and the quadrature axis component of the control voltage are input into the modulation unit to obtain the drive signal of the energy storage inverter. This step is a key link in converting the output of the control algorithm into an actual hardware control signal. The direct axis and quadrature axis components of the control voltage are represented in the dq rotating coordinate system and need to be converted into signals in the three-phase stationary coordinate system through coordinate transformation. This process usually includes inverse Park transformation and inverse Clarke transformation. The converted three-phase signal is input into the modulation unit as a modulation wave. The commonly used modulation technology is SPWM (sinusoidal pulse width modulation), which compares the sinusoidal modulation wave with the triangular carrier to generate a PWM signal, thereby driving the switching state of each switching unit in the energy storage inverter.
[0100] The present application provides a grid-connected control device based on electrochemical energy storage. The electrochemical energy storage system includes a photovoltaic unit, a reversible solid oxide fuel cell, a hydrogen storage tank, a boost unit and an energy storage inverter. When the reversible solid oxide fuel cell works in an electrolysis mode, the reversible solid oxide fuel cell converts the electrical energy generated by the photovoltaic unit into hydrogen and stores it in the hydrogen storage tank. When the reversible solid oxide fuel cell works in a power generation mode, the reversible solid oxide fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity, and transmits the generated electrical energy to the power grid through the boost unit and the energy storage inverter. The grid-connected control device includes a data acquisition module, a power calculation module, a first reference voltage determination module, a second reference voltage determination module and a drive module.
[0101] The data acquisition module is used to obtain the output current and output voltage of the energy storage inverter when the reversible solid oxide fuel cell operates in the power generation mode; the power calculation module is used to obtain the output active power and output reactive power according to the output current and output voltage; the first reference voltage determination module is used to obtain the first reference voltage according to the output active power and output reactive power; the second reference voltage determination module is used to obtain the second reference voltage according to the first reference voltage, the output current and the preset virtual impedance parameters; the driving module is used to input the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage-current dual-loop control model to obtain the driving signal of the energy storage inverter.
[0102] For the specific definition of the grid-connected control device based on electrochemical energy storage, please refer to the definition of the grid-connected control method based on electrochemical energy storage mentioned above, which will not be repeated here. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0103] The present application provides a computer device, including one or more processors and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the one or more processors, the steps of the grid-connected control method based on electrochemical energy storage in any of the above embodiments are executed.
[0104] Indicatively, if Figure 5 As shown, Figure 5 A schematic diagram of the internal structure of a computer device provided in an embodiment of the present application. Figure 5 The computer device 500 includes a processing component 502, which further includes one or more processors, and a memory resource represented by a memory 501, for storing instructions executable by the processing component 502, such as an application. The application stored in the memory 501 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 502 is configured to execute instructions to perform the steps of the grid-connected control method based on electrochemical energy storage in any of the above embodiments.
[0105] The computer device 500 may further include a power supply component 503 configured to perform power management of the computer device 500 , a wired or wireless network interface 504 configured to connect the computer device 500 to a network, and an input / output (I / O) interface 505 .
[0106] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0107] The present application provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the grid-connected control method based on electrochemical energy storage in any of the above-mentioned embodiments.
[0108] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0109] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A grid-connected control method based on electrochemical energy storage, characterized in that: The electrochemical energy storage system includes a photovoltaic unit, a reversible solid oxide fuel cell, a hydrogen storage tank, a boost unit and an energy storage inverter. When the reversible solid oxide fuel cell works in an electrolysis mode, the reversible solid oxide fuel cell converts the electrical energy generated by the photovoltaic unit into hydrogen and stores it in the hydrogen storage tank. When the reversible solid oxide fuel cell works in a power generation mode, the reversible solid oxide fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity, and transmits the generated electrical energy to the power grid through the boost unit and the energy storage inverter. The grid-connected control method includes: When the reversible solid oxide fuel cell operates in a power generation mode, obtaining an output current and an output voltage of the energy storage inverter; Obtaining output active power and output reactive power according to the output current and the output voltage; Obtaining a first reference voltage according to the output active power and the output reactive power; Obtaining a second reference voltage according to the first reference voltage, the output current and a preset virtual impedance parameter; The direct-axis component and the quadrature-axis component of the second reference voltage are input into a voltage-current dual-loop control model to obtain a driving signal for the energy storage inverter.
2. The grid-connected control method based on electrochemical energy storage according to claim 1, characterized in that: Also includes: Obtain the average monthly photovoltaic utilization hours and energy demand for each month in the local preset cycle; According to the monthly photovoltaic utilization hours and the rated power generation capacity of the photovoltaic unit, the monthly photovoltaic power generation of the corresponding month is obtained; According to the energy demand average value and the weighting coefficient, the monthly weighted energy demand of the user in the corresponding month is obtained; The capacity of the reversible solid oxide fuel cell is configured to be the maximum value of each of the monthly photovoltaic power generation and the monthly weighted energy demand of the user.
3. The grid-connected control method based on electrochemical energy storage according to claim 1, characterized in that: The step of obtaining a first reference voltage according to the output active power and the output reactive power comprises: Inputting the output active power into a power frequency controller to obtain frequency information of the first reference voltage; The output reactive power is input into a voltage regulating controller to obtain amplitude information of the first reference voltage.
4. The grid-connected control method based on electrochemical energy storage according to claim 1, characterized in that: The step of obtaining a second reference voltage according to the first reference voltage, the output current and a preset virtual impedance parameter includes: Multiplying the output current by the preset virtual impedance parameter to obtain a voltage drop corresponding to the virtual impedance; A second reference voltage is obtained by subtracting a voltage drop corresponding to the virtual impedance from the first reference voltage.
5. The grid-connected control method based on electrochemical energy storage according to claim 1, characterized in that: The step of inputting the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage-current dual-loop control model to obtain the driving signal of the energy storage inverter comprises: Inputting the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage outer loop control to obtain the direct-axis component and the quadrature-axis component of the reference current; Inputting the direct-axis component and the quadrature-axis component of the reference current into the current inner loop control to obtain the direct-axis component and the quadrature-axis component of the control voltage; The direct-axis component and the quadrature-axis component of the control voltage are input into a modulation unit to obtain a driving signal for the energy storage inverter.
6. The grid-connected control method based on electrochemical energy storage according to claim 5, characterized in that: The step of inputting the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage outer loop control to obtain the direct-axis component and the quadrature-axis component of the reference current comprises: The direct-axis component of the reference current is obtained according to the direct-axis component of the second reference voltage and a first expression; the first expression is: in, is the direct axis component of the reference current, is the first proportionality constant, is the first integration constant, is the direct-axis component of the second reference voltage, is the direct axis component of the grid side voltage, is the direct axis component of the grid-side current, is the capacitive reactance of the filter capacitor between the energy storage inverter and the grid, is the quadrature-axis component of the grid-side voltage; The quadrature-axis component of the reference current is obtained according to the quadrature-axis component of the second reference voltage and a second expression; the second expression is: in, is the quadrature-axis component of the reference current, is the second proportionality constant, is the second integration constant, is the quadrature-axis component of the second reference voltage, is the direct axis component of the grid-side current.
7. The grid-connected control method based on electrochemical energy storage according to claim 5, characterized in that: The step of inputting the direct-axis component and the quadrature-axis component of the reference current into the current inner loop control to obtain the direct-axis component and the quadrature-axis component of the control voltage comprises: The direct-axis component of the control voltage is obtained according to the direct-axis component of the reference current and the third expression; the third expression is: in, is the direct axis component of the control voltage, is the third proportional constant, is the third integration constant, is the direct axis component of the output current, is the quadrature-axis component of the output current, wL is the inductive reactance of the equivalent inductance between the energy storage inverter and the power grid; The quadrature-axis component of the control voltage is obtained according to the quadrature-axis component of the reference current and a fourth expression; the fourth expression is: in, is the quadrature-axis component of the control voltage, is the fourth proportional constant, is the fourth integration constant.
8. A grid-connected control device based on electrochemical energy storage, characterized in that: The electrochemical energy storage system includes a photovoltaic unit, a reversible solid oxide fuel cell, a hydrogen storage tank, a boost unit and an energy storage inverter. When the reversible solid oxide fuel cell works in the electrolysis mode, the reversible solid oxide fuel cell converts the electrical energy generated by the photovoltaic unit into hydrogen and stores it in the hydrogen storage tank. When the reversible solid oxide fuel cell works in the power generation mode, the reversible solid oxide fuel cell consumes the hydrogen in the hydrogen storage tank to generate electricity, and transmits the generated electrical energy to the power grid through the boost unit and the energy storage inverter. The grid-connected control device includes: A data acquisition module, used to acquire the output current and output voltage of the energy storage inverter when the reversible solid oxide fuel cell operates in a power generation mode; A power calculation module, used for obtaining output active power and output reactive power according to the output current and the output voltage; A first reference voltage determination module, configured to obtain a first reference voltage according to the output active power and the output reactive power; A second reference voltage determination module, used to obtain a second reference voltage according to the first reference voltage, the output current and a preset virtual impedance parameter; The driving module is used to input the direct-axis component and the quadrature-axis component of the second reference voltage into the voltage-current dual-loop control model to obtain the driving signal of the energy storage inverter.
9. A computer device, characterized in that: It includes one or more processors and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the one or more processors, the steps of the grid-connected control method based on electrochemical energy storage are performed as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the grid-connected control method based on electrochemical energy storage as described in any one of claims 1-7.
