Flywheel energy storage array control method and system applied to wind turbine generator set

Through the combination of sliding mode observer and ant colony algorithm, efficient coordination and dynamic balance of flywheel energy storage arrays are achieved, and the problems of high-frequency vibration error, load current changes and poor disturbance are solved, and the system efficiency and stability are improved. .

CN114172176BActive Publication Date: 2024-11-01ELECTRIC POWER RES INST OF EAST INNER MONGOLIA ELECTRIC POWER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111398180.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2024-11-01
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

The existing flywheel energy storage array control methods have high frequency jitter errors, severe load current changes, resulting in high capacitance design costs, poor system disturbance resistance, and failure to effectively suppress frequency fluctuations and efficiency problems caused by load disturbances.

Method used

The sliding mode observer algorithm is used for motor-side sensorless control, combined with the two-layer coordination control strategy of the ant colony algorithm, and through the load current feed-forward decoupling control strategy and virtual inertia assisted control, efficient coordination and dynamic balance of flywheel energy storage arrays are achieved. .

Benefits of technology

It reduces system cost and weight, reduces capacitance voltage fluctuations, improves system efficiency and disturbance resistance, effectively suppresses frequency fluctuations caused by load disturbances, and ensures the safe and stable operation of the flywheel array.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114172176B_ABST
    Figure CN114172176B_ABST
Patent Text Reader

Abstract

The present invention provides a flywheel energy storage array control method and system for wind turbine generator sets, comprising: using a sliding mode observer algorithm to obtain the rotor position of a flywheel single motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function; adding a load current feedforward component to the output of a rectifier voltage outer loop, and compensating the rectifier output current before an error occurs in a bus voltage when the motor state suddenly changes; calculating the charge and discharge power of each flywheel single unit based on the total charge and discharge power of the flywheel array and the operating state of each flywheel single unit, and controlling the charge and discharge of each flywheel single unit; accurately estimating the rotor position and speed of the motor, reducing the fluctuation of the capacitor voltage, ensuring the optimal efficiency and safe and stable operation of the flywheel array, and solving the problem that the traditional droop control strategy uses a fixed unit to adjust the power value, and the fixed unit adjustment power causes insufficient flexibility in dealing with long-term and frequently changing load fluctuations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The technical field of the present disclosure relates to the technical field related to flywheel energy storage, and in particular to a flywheel energy storage array control method and system applied to a wind turbine generator set. Background Art

[0002] As a purely physical energy storage technology, flywheel energy storage has many advantages such as high energy storage density, high conversion efficiency, large instantaneous power, fast response speed, long service life, environmental protection and pollution-free, and is not restricted by geographical environment. It has incomparable advantages in peak and frequency regulation of power grid, improving the power grid's ability to accept renewable energy, improving the safety and stability level of power grid and the economic efficiency of operation.

[0003] The inventors of the present disclosure have found that the existing flywheel energy storage array control method has the following problems:

[0004] 1. The sliding mode control in the prior art is accompanied by high-frequency jitter in the sliding mode. The general rotor position estimation easily causes the error of high-frequency jitter to be amplified, resulting in a large angle estimation error problem;

[0005] 2. The inverter adopts independent control, and the rectifier side and the inverter side cannot be coordinated, resulting in a large difference in the instantaneous energy passing through the rectifier side and the inverter side. Especially in the flywheel energy storage system, the frequent acceleration and braking of the motor causes drastic changes in the load current, and the DC bus voltage fluctuates greatly, which increases the design cost of the intermediate capacitor. The introduction of large capacitors will increase the voltage regulation time constant, affecting the dynamic fast performance of the system. At the same time, any effective information on the inverter side is not fully utilized. Only the load current is included as interference in the control of the voltage loop, and the overall anti-disturbance performance of the system is poor;

[0006] 3. Common cooperative control strategies in flywheel arrays include equal power distribution, equal torque distribution and equal time length distribution strategies. However, these control strategies do not take into account the efficiency of the system during operation and the consistency of each flywheel monomer;

[0007] 4. When the load disturbance just occurs, the frequency deviation is very small, and the flywheel output power is very different from the load disturbance power. It is impossible to smooth out the frequency fluctuation caused by the load disturbance, which easily leads to the continuous deterioration of the initial frequency. Summary of the invention

[0008] In order to solve the above problems, the present disclosure proposes a flywheel energy storage array control method and system applied to a wind turbine generator set. The present disclosure designs a wind-storage combined frequency modulation system and control strategy based on a megawatt-class flywheel energy storage array.

[0009] In a first aspect, the present disclosure provides a flywheel energy storage array control method applied to a wind turbine generator set, comprising:

[0010] In the motor-side converter control strategy, a sliding mode observer algorithm is used to obtain the rotor position of the flywheel motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function;

[0011] In the grid-side converter control strategy, the load current feedforward component is added to the output of the rectifier voltage outer loop, and the rectifier output current is compensated before the bus voltage error occurs when the motor state suddenly changes;

[0012] In the flywheel array control strategy, the charge and discharge power of each flywheel monomer is calculated based on the total charge and discharge power of the flywheel array and the operating status of each flywheel monomer, and the charge and discharge of each flywheel monomer is controlled;

[0013] In the droop control strategy, virtual inertia control is used as an auxiliary control of virtual droop control;

[0014] The above-mentioned motor-side converter control strategy, grid-side converter control strategy, flywheel array control strategy and droop control are adopted to realize the control of the flywheel energy storage array in the wind turbine generator set.

[0015] Furthermore, the sliding mode observer algorithm is an improved sliding mode observer algorithm in a direct-axis-quadrature-axis synchronous rotating coordinate system based on phase-locked loop technology;

[0016] The phase angle estimation error is defined and adjusted to zero so that the estimated value of the rotor position converges to the actual value of the rotor position.

[0017] Furthermore, in the grid-side converter control strategy, the feedforward amount is added to the given current inner loop of the grid-side converter, and the load disturbance is compensated by the PI controller of the current loop, so that the grid-side converter can predict the change of the motor-side load in advance, adjust the grid-side power and the motor-side power to balance, and avoid energy exchange through the DC-side capacitor.

[0018] Furthermore, the storable energy of each flywheel unit is taken into consideration, the relationship between array energy balance and efficiency optimization is taken into account, and the charging and discharging power of each unit is allocated. The storable energy of the unit is positively correlated with the allocated power.

[0019] Furthermore, the grid-side converter control strategy adopts a flywheel array double-layer coordinated control strategy based on an ant colony algorithm; the number of ants in each group corresponds to the number of flywheel monomers.

[0020] Furthermore, in the droop control strategy, virtual inertia control is used as an auxiliary control of virtual droop control, and a joint primary frequency modulation control strategy is designed.

[0021] Furthermore, the joint primary frequency regulation control strategy is:

[0022]

[0023] Where ΔP is the total power of the energy storage system, K DR is the droop control coefficient, f is the measured value of the power grid frequency, and f ref is the grid frequency reference value, K IR is the virtual inertia control coefficient.

[0024] In a second aspect, the present disclosure further provides a flywheel energy storage array control system applied to a wind turbine generator set, including a flywheel unit motor side control module, a flywheel unit grid side control module, a flywheel array control module and a droop control module;

[0025] The flywheel motor-side control module is configured to: in the motor-side converter control strategy, use a sliding mode observer algorithm to obtain the rotor position of the flywheel motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function;

[0026] The flywheel unit grid-side control module is configured to: in the grid-side converter control strategy, add the load current feedforward component to the output of the rectifier voltage outer loop, and compensate the rectifier output current before the bus voltage has an error when the motor state suddenly changes;

[0027] The flywheel array control module is configured to: in the flywheel array control strategy, calculate the charge and discharge power of each flywheel monomer according to the total charge and discharge power of the flywheel array and the operating state of each flywheel monomer, and control the charge and discharge of each flywheel monomer;

[0028] The droop control module is configured to: in the droop control strategy, use the virtual inertia control as an auxiliary control of the virtual droop control;

[0029] The above-mentioned motor-side converter control strategy, grid-side converter control strategy, flywheel array control strategy and droop control are adopted to realize the control of the flywheel energy storage array in the wind turbine generator set.

[0030] In a third aspect, the present disclosure further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the flywheel energy storage array control method applied to a wind turbine generator set described in the first aspect are implemented.

[0031] In a fourth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the flywheel energy storage array control method applied to a wind turbine generator set as described in the first aspect.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] 1. We have designed a sensorless control technology for the flywheel motor side converter, using a sliding mode observer algorithm, based on fundamental voltage and current signals and phase-locked loop technology, to accurately estimate the rotor position and speed of the motor, reducing the cost and weight of the system;

[0034] 2. We have designed an inverse dynamic feedforward decoupling control strategy for the AC grid-side converter, adding the load current feedforward component to the output of the rectifier voltage outer loop, so as to achieve the compensation control of the rectifier output current before the bus voltage error occurs when the motor state changes suddenly, reduce the fluctuation of the capacitor voltage, and save the design cost of the DC capacitor;

[0035] 3. We have designed a two-layer coordinated control strategy for flywheel arrays based on ant colony algorithm, which fully considers the storable energy of each flywheel monomer, takes into account the relationship between array energy balance and efficiency optimization, and ensures the optimal efficiency and safe and stable operation of the flywheel array;

[0036] 4. Our company has designed a joint primary frequency regulation control strategy, using virtual inertia control as an auxiliary control for virtual droop control, which solves the problem that the traditional droop control strategy uses a fixed unit to adjust the power value to cope with long-term and frequently changing load fluctuations, and the fixed unit adjustment power causes insufficient flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.

[0038] Figure 1 This is a structural diagram of the wind-storage combined system of Example 1 of the present disclosure;

[0039] Figure 2 This is a schematic diagram of the structure of a flywheel energy storage system according to Embodiment 1 of the present disclosure;

[0040] Figure 3 The flywheel energy storage dual PWM converter topology structure of Embodiment 1 of the present disclosure;

[0041] Figure 4 This is a structural diagram of an AC busbar parallel flywheel energy storage array according to Embodiment 1 of the present disclosure;

[0042] Figure 5 The control strategy structure of the motor side converter of Embodiment 1 of the present disclosure;

[0043] Figure 6 The inner loop current decoupling control structure of Embodiment 1 of the present disclosure;

[0044] Figure 7The grid-side converter control strategy structure of Embodiment 1 of the present disclosure;

[0045] Figure 8 The inner loop current decoupling control structure of Embodiment 1 of the present disclosure;

[0046] Fig. 9 This is a schematic diagram of the sliding mode motion of Example 1 of the present disclosure;

[0047] Fig.10 This is a control block diagram of a dq coordinate system sliding mode observer based on a phase-locked loop technology according to Embodiment 1 of the present disclosure;

[0048] Fig.11 This is a block diagram of the inverse dynamic feedforward control principle of Embodiment 1 of the present disclosure;

[0049] Fig.12 It is a two-layer control system structure of embodiment 1 of the present disclosure;

[0050] Fig.13 This is a flow chart of the ant colony algorithm of Embodiment 1 of the present disclosure;

[0051] Among them, 1. bearing, 2. motor, 3. vacuum chamber, 4. flywheel, 5. AC / DC converter, 6. controller. DETAILED DESCRIPTION

[0052] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0053] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0054] Embodiment 1:

[0055] like Figure 1 As shown, the present disclosure provides a flywheel energy storage array control method applied to a wind turbine generator set, and the specific implementation method is as follows:

[0056] In this embodiment, the mathematical model and control strategy of megawatt-class flywheel monomer under different working conditions, the disturbance-free switching control strategy of flywheel monomer charging and discharging conditions, and the sensorless control strategy of flywheel motor are mainly studied.

[0057] The wind-storage combined system structure in this embodiment is as follows Figure 1 As shown, it is composed of a doubly-fed wind turbine grid-connected system and a flywheel energy storage system in parallel.

[0058] In this embodiment, the flywheel energy storage system structure is as follows: Figure 2As shown; the flywheel energy storage system is mainly composed of a flywheel rotor, a flywheel motor, a controller and a power electronic conversion device. The flywheel motor and the rotor are supported by bearings and sealed in a vacuum chamber. The permanent magnet synchronous motor uses permanent magnets to generate an air gap magnetic field, does not require an excitation coil, and does not rely on the stator current excitation component. Therefore, it has the advantages of simple structure, small size and light weight. At the same time, the permanent magnet synchronous motor has a wide speed regulation range and high power density, and can run at a high speed for a long time. Therefore, in this embodiment, a permanent magnet synchronous motor with a simple structure and high efficiency is selected as the flywheel motor. The power electronic conversion device is the medium connecting the power supply system and the motor. The flywheel energy storage system can store electrical energy and output electrical energy. Therefore, the power electronic conversion device must have the function of bidirectional power flow, and the output power should be adjusted by the controller during discharge to meet the load demand. In this embodiment, a dual voltage source PWM converter in the form of AC-DC-AC with the same back-to-back topology as the wind turbine is selected as the power electronic conversion device in the flywheel energy storage battery charging mode.

[0059] Considering that the application scenario of the flywheel energy storage system is to cooperate with the wind farm to generate electricity, the flywheel energy storage system using the AC bus parallel connection method can be completely independent of the wind power generation system. Therefore, in this embodiment, the flywheel energy storage array adopts an AC bus parallel connection structure, such as Figure 4 shown.

[0060] In this embodiment, the flywheel energy storage system relies on a high-speed rotating flywheel rotor to store energy. The energy stored when the flywheel rotates can be expressed as:

[0061]

[0062]

[0063] Where E is the energy of the energy storage system, J is the moment of inertia of the flywheel rotor, ω is the angular velocity of the flywheel, and r i is the radius of each part of the flywheel from the center of rotation, m i is the mass component of the flywheel corresponding to different radii. From equations (1) and (2), it can be seen that the energy storage capacity of the flywheel energy storage system is related to the mass, radius and angular velocity of the flywheel. Increasing the mass of the flywheel rim and increasing the speed of the flywheel can increase the energy storage capacity of the flywheel energy storage system. During the operation of the flywheel energy storage system, a minimum power requirement is generally maintained, so the minimum speed of the flywheel must be limited. In the entire speed range, the energy that can be used by the flywheel energy storage system is expressed as:

[0064]

[0065] In the formula, ω max is the maximum speed of the flywheel rotor, ω minis the minimum speed of the flywheel rotor; the influence of the flywheel rotor on the energy storage lies in the size of its rotational inertia, so the rotational inertia of the flywheel rotor can be superimposed on the rotational inertia of the flywheel motor for overall analysis.

[0066] In this embodiment, the stator structure of the permanent magnet synchronous motor is the same as that of the general induction motor, both of which are three-phase symmetrical winding structures, and the magnetic circuit structure of its rotor is the main difference from other types of motors. In order to better analyze and control it here, in this embodiment, a synchronous rotating coordinate system dq is selected, the magnetic pole axis in the motor is called the direct axis (also called the longitudinal axis, d axis), and the line that differs from the direct axis by 90 degrees in electrical angle is called the horizontal axis (also called the quadrature axis, q axis); the mathematical model below, its stator voltage equation can be expressed as:

[0067]

[0068] In the formula, u d 、u q is the dq axis component of the stator voltage, i d 、i q is the dq axis component of the stator current, R is the stator resistance, ψ d , q is the dq axis component of the stator flux, ω e is the rotor electrical angular velocity. The stator flux equation is:

[0069]

[0070] Where, L d , L q is the dq axis component of the stator inductance, ψ f represents the permanent magnet flux. Substituting equation (5) into equation (4), the stator voltage equation is:

[0071]

[0072] When only the fundamental magnetic motive force of the motor stator is considered, the electromagnetic torque T e , we can use the equal amount mode, in the rotating coordinate system:

[0073]

[0074] Formula (7) shows that the electromagnetic torque consists of two parts: one is the electromagnetic torque generated between the motor stator current and the permanent magnet magnetic field; the other is the reluctance torque caused by the salient pole effect. The inductance of the convex-mounted permanent magnet synchronous motor is the same as that of the direct-axis inductance. Therefore, the electromagnetic torque of the convex-mounted PMSM is only related to the quadrature-axis current. For non-convex-mounted permanent magnet synchronous motors, in the process of controlling and adjusting such motors, the reluctance torque can play a role in increasing the output torque or expanding the adjustment range of the motor.

[0075] From the perspective of mechanical motion, the electromagnetic torque of the motor needs to provide energy to three parts: one is the load, the second is the acceleration and deceleration of the motor, and the third is the consumption of friction damping. Therefore, the mechanical equation of the permanent magnet synchronous motor is:

[0076]

[0077] Where J is the motor’s moment of inertia, T L is the load torque, B is the damping coefficient, ω m is the mechanical angular velocity. In addition, there are several important relationships involved in simulation modeling:

[0078]

[0079] Where n p is the number of motor pole pairs, N r is the motor speed, θ e The electrical angle.

[0080] In this embodiment, according to Figure 3 Topological structure, using the basic circuit laws (Kirchhoff's voltage and current laws), it can be obtained that in the three-phase stationary symmetrical coordinate system (a, b, c), the three-phase voltage source PWM switching function model is:

[0081]

[0082] In the formula, v dc is the DC voltage, i k is the three-phase current of the power grid, e k is the three-phase voltage of the power grid, s k is a binary logic switch function, i L is the DC side load current. From the coordinate transformation theory, it is not difficult to obtain the mathematical model under the synchronous rotating coordinate system dq:

[0083]

[0084] In the formula, i d 、i q is the dq axis component of the three-phase current, e d 、e q is the dq axis component of the three-phase voltage, u d 、u q is the dq-axis component of the three-phase PWM AC side voltage, and ω is the angular frequency.

[0085] Usually, the flywheel energy storage system is divided into three states when working: charging state, discharging state and holding state. In the charging state, the external power source drives the motor / generator through the power electronic equipment, and the motor / generator works as a motor to drive the flywheel rotor to accelerate. When the rotor speed reaches the maximum working speed that its own material and structure can withstand, the power electronic equipment stops driving the motor and charging is completed.

[0086] In the discharge state, the motor / generator works as a generator, and the high-speed rotating flywheel rotor drives the generator to generate electricity, and then the power electronic equipment converts the mechanical energy into qualified electrical energy, and the discharge is completed.

[0087] When in the holding state, the flywheel energy storage system is in the energy holding stage. It has neither forward nor reverse energy flow, and the system runs in an idle state with minimal loss.

[0088] The difference between the charging state and the discharging state is that the energy inflow and outflow are in opposite directions, which leads to the increase and decrease of the motor speed, but there is no difference in the control strategy design of the flywheel energy storage system. By adopting a suitable control strategy to coordinate the control of the converters on the motor side and the grid side, the bidirectional flow of energy can be controlled to meet the normal operation and frequency regulation capability requirements of the wind storage system.

[0089] Vector control is one of the most commonly used control methods for permanent magnet synchronous motors. Its main idea is to use coordinate transformation to convert a three-phase AC motor into a DC motor based on the magnetic field equivalence principle. In this way, the stator current excitation component and the torque component of the AC permanent magnet synchronous motor can be decoupled, thereby obtaining high-performance motor speed control. The basic principle is to decompose the stator current vector of the AC motor into independent torque current components and excitation current components in a two-phase rotating coordinate system, and then use coordinate transformation to direct the excitation current to the direction of the rotor permanent magnet flux, and then control the amplitude and direction of the two independent components respectively.

[0090] The vector control methods of permanent magnet synchronous motors can be divided into many types, among which the more commonly used ones are: maximum torque / current ratio vector control, maximum power factor vector control, i d =0 vector control, constant flux vector control, weak flux vector control, etc. Each control method has its own characteristics and is suitable for control requirements under different working conditions. d =0 control is that the rotor flux and the stator current torque components are decoupled and independent of each other. The output torque of the motor is proportional to the amplitude of the stator current. The permanent magnet synchronous motor is equivalent to a separately excited DC motor, which is simple to control. For the surface mounted permanent magnet synchronous motor, it is the maximum torque current ratio control, which can achieve the optimal control of the motor torque and current. Therefore, in this embodiment, select i d =0 vector control strategy.

[0091] The motor-side converter controls the system output power by directly affecting the speed and torque of the generator, and vector control ultimately comes down to the control of the stator current. Therefore, the control of the motor-side converter adopts a dual closed-loop control strategy, with the outer loop being a speed or power closed loop according to the needs of the charge and discharge mode, and the inner loop being a current closed loop. The speed / frequency reference value is subtracted from the actual value detected to obtain the expected command value, and then the torque current reference value is obtained through the speed PI regulator. At the same time, the excitation current reference value is given as 0. The detected motor stator three-phase current is converted into dq axis current after coordinate transformation, and then the dq axis voltage reference value is obtained through the decoupling module and the current PI regulator, and then the stationary α-β axis voltage reference value is obtained through the coordinate inverse transformation. Finally, the control signal of the voltage-type PWM inverter is obtained through the SVPWM module to control the motor operation. In order to solve the dynamic coupling problem of the dq axis voltage of the permanent magnet synchronous motor stator, in this embodiment, a current feedforward decoupling method is adopted, and the mutual feedback value compensation current of the dq axis current is calculated at the input end of the voltage controller. The compensated current realizes the compensation of the voltage coupling after passing through the voltage controller, and can realize complete voltage decoupling control. The PI regulator is combined with the feedforward decoupling method, and the dq axis voltage equation can be obtained as follows:

[0092]

[0093] In the formula, K pd , K pq is the proportional gain of the PI controller, K id , K iq is the integral gain of the PI controller. d =0The structure of the vector control system is as follows Figure 5 As shown, the current decoupling strategy is as follows Figure 6 shown.

[0094] The grid-side converter connects the DC link of the converter to the grid, and is responsible for converting DC power into stable industrial frequency AC power. It is necessary to keep the DC bus voltage stable and realize the decoupling control of grid-connected active power and reactive power. In this embodiment, the basic control strategy adopted is vector control based on grid voltage orientation, and is implemented by a dual closed-loop control strategy of DC bus voltage outer loop and current inner loop. The grid voltage vector is oriented on the d-axis, and the outer loop DC bus voltage controller obtains the reference signal of the d-axis current based on the deviation between the reference voltage and the actual voltage, and then controls the DC bus voltage through the inner loop current control. The inner loop current controller obtains the reference signal of the dq axis voltage based on the deviation between the current reference signal and the actual current, and then realizes the real-time following of the current through the grid-side converter. According to formula (11), it can be seen that due to the mutual coupling of the dq axis variables, it causes certain difficulties to the controller design. To this end, in this embodiment, a feedforward decoupling control strategy is adopted, and the equation obtained in combination with the PI controller is as follows:

[0095]

[0096] Obviously, based on the feedforward control algorithm, the three-phase PWM current inner loop is completely decoupled. In this embodiment, when the grid voltage oriented control is used, all voltage vectors are set to fall on the d-axis, and the q-axis voltage component is zero, then:

[0097]

[0098] It can be seen from equation (14) that when the grid voltage remains constant, the active power and reactive power of the grid-side converter are proportional to the dq axis current respectively. By controlling the dq axis current, the decoupling control of active power and reactive power can be achieved. The structure of the grid voltage oriented vector control system of the grid-side converter is as follows: Figure 7 As shown, the current decoupling strategy is as follows Figure 8 shown.

[0099] During simulation research, the motor speed and rotor position can be measured directly, but in industrial applications, the rotor position and speed detection requires the use of mechanical position sensors such as photoelectric encoders or rotary transformers, but the price of high-performance position sensors is relatively high, which increases the cost, size and weight of the system; on the other hand, in engineering practice, position sensors are not suitable for all occasions. For example, in systems with volume requirements or working under harsh conditions such as vibration, rain and snow, position sensors may not be reliable. The cost of current sensors is not as expensive as position sensors, and current sensors must be used in motor closed-loop control systems to obtain feedback current values. Therefore, by collecting electrical signals and using certain control algorithms to estimate the rotor position and speed, the position sensorless control technology has become a research hotspot and future development trend of permanent magnet synchronous motor control systems. In this embodiment, the permanent magnet synchronous motor position sensorless control technology is applied in the motor side converter control strategy, and the rotor position estimation method based on the phase-locked loop in the sliding mode observer algorithm is adopted.

[0100] Sliding mode control is a control strategy for variable structure control systems. Its biggest feature is the discontinuity of control, which is a switching characteristic in which the system structure changes according to a certain function rule. This characteristic of sliding mode variable structure will force the system to perform a sliding mode motion, that is, to follow the prescribed state trajectory under a specific condition to perform small amplitude and high frequency up and down motion, which is the so-called "sliding mode", so that the motion state of the system is finally consistent with the predetermined sliding mode. This sliding mode can be designed and has nothing to do with the system parameters and disturbances, and has good robustness. Definition of a nonlinear system in general:

[0101]

[0102] Where x∈R n , u∈R m Define the sliding surface function as the state and control variables of the system respectively:

[0103] s(x,t), s∈R m (16)

[0104] s(x,t) is also called the switching function, and the controller function is solved:

[0105]

[0106] Among them, u i + (x,t)≠u i - (x,t), such that:

[0107] (1) The sliding mode exists;

[0108] (2) Satisfy the reachability condition. All moving points outside the sliding mode switching surface s(x, t) = 0 will reach the sliding mode surface within a finite time, that is,

[0109] (3) Ensure the stability of sliding motion.

[0110] Usually the motion mode of the sliding mode control system consists of two parts, such as Fig. 9 The first part is the approaching mode, where the running trajectory is outside the sliding mode switching surface, or crosses the switching surface a finite number of times; the second part is the sliding mode, where the control system is near the sliding mode switching surface and moves toward the equilibrium point along the switching surface.

[0111] The sliding mode observer is designed based on the error between the given current and the feedback current, and the error is used to reconstruct the back electromotive force of the motor and estimate the rotor speed. Currently, the design of most traditional sliding mode observer algorithms is based on the mathematical model of the three-phase stationary coordinate system, which is not convenient for connection with the control system in this embodiment. In addition, the sliding mode control is accompanied by high-frequency jitter in the sliding mode. The general rotor position estimation easily leads to the error of high-frequency jitter being amplified, resulting in a large angle estimation error. Therefore, in this embodiment, an improved sliding mode observer algorithm based on the phase-locked loop technology in the dq synchronous rotating coordinate system is designed.

[0112] First rewrite the dynamic system equation of the motor stator current:

[0113]

[0114] In the formula, E d 、E q is the back electromotive force in the dq coordinate system. To obtain the back electromotive force in the above formula, the sliding mode observer can be designed as:

[0115]

[0116] In the formula, is the stator current observation value in the dq coordinate system, k is the sliding mode gain, V d 、V q is the control input of the observer. Subtracting equation (19) from equation (18), the state equation of the current error system is:

[0117]

[0118] In the formula, is the current observation error in the dq coordinate system, and the current observation error equation can be rewritten into a vector form:

[0119]

[0120] In the formula, V=[V d V q ] T , E=[E d E q ] T ,

[0121] The sliding surface function is defined as:

[0122]

[0123] The sliding mode observer enters the sliding mode when the following conditions are met:

[0124]

[0125] When the sliding mode gain is large enough, inequality (23) holds true and the system enters the sliding mode, and we have

[0126]

[0127] Substituting formula (21) into formula (24), we can get

[0128]

[0129] It can be seen from formula (25) that the back electromotive force contains discontinuous high-frequency signals. After the switching control quantity is processed by a low-pass filter, the equivalent control quantity is obtained:

[0130]

[0131] In the actual operation of the motor, due to the influence of many factors (such as temperature and load), the magnetic flux of the permanent magnet is not a constant value. Therefore, the estimated rotor position and speed will deviate from the actual value, thus affecting the dynamic performance of the entire system. In order to obtain better dynamic performance, in this embodiment, the phase-locked loop technology is used. It is an adaptive closed-loop system with excellent real-time tracking and estimation of actual rotor position information. Even under conditions such as unbalanced voltage phase angle and large harmonics, it has good tracking performance. Define the phase angle estimation error in The estimated phase angle of the phase-locked loop output is obtained by properly adjusting If V is zero, the estimated value of the rotor position can converge to the actual value of the rotor position. According to the d-axis orientation method of the synchronous rotating coordinate system, V dref =V d =0, the control block diagram can be constructed as follows:

[0132] In order to minimize the chattering phenomenon of the sliding mode observer and improve the dynamic performance of the observer, in this embodiment, the observer algorithm is improved, and the hyperbolic tangent function h(s) in the quasi-sliding mode dynamics is used to replace the sign function sgn(s), and its expression is:

[0133]

[0134] The hyperbolic tangent function has the characteristics of smoothness and continuity, which can significantly improve the control performance of the general sliding mode observer algorithm.

[0135] In the actual working process, the charging condition and the discharging condition of the flywheel energy storage system cannot exist independently, and the flywheel energy storage system needs to be guided and controlled by its control system. In addition to executing the corresponding control strategy in the charging and discharging conditions, the control system must also control the switching of the charging / discharging conditions according to the energy demand on the DC side and the energy reserve status of the flywheel energy storage link itself. In this embodiment, the flywheel energy storage system is intended to be used in a wind power generation system. Since wind power generation has a strong randomness, the flywheel system will frequently switch between different conditions.

[0136] Most of the current dual PWM inverters have independent control on both sides. When designing the control of the rectifier part, the inverter part is treated as an unknown, time-varying DC load. When designing the control of the inverter part, the rectifier part is treated as a DC constant voltage source. This independent control method is simple in design, easy to debug, and has low hardware requirements. However, if the inverter adopts independent control, the rectifier side and the inverter side cannot be coordinated, resulting in a large difference in the instantaneous energy passing through the rectifier side and the inverter side. Especially in the flywheel energy storage system in this embodiment, the frequent acceleration and braking of the motor causes the load current to change drastically, and the DC bus voltage fluctuates greatly, which increases the design cost of the intermediate capacitor, and the introduction of a large capacitor will increase the voltage regulation time constant, affecting the dynamic fast performance of the system. At the same time, any effective information on the inverter side is not fully utilized. Only in the control of the voltage loop is the load current included as interference, and the overall anti-disturbance performance of the system is poor.

[0137] In view of the above problems, in this embodiment, an adaptive inverse dynamic feedforward control method is designed to effectively combine the grid-side converter and the motor-side converter to achieve coordinated control of the converters on both sides. The principle of this inverse dynamic feedforward control is to add the load current feedforward component to the output of the rectifier voltage outer loop, so as to achieve advance compensation control of the rectifier output current before the bus voltage error occurs when the motor state suddenly changes, reduce the fluctuation of the capacitor voltage, reduce the pressure of the voltage outer loop on the one hand, and enable a large amount of energy to be fed back to the grid without passing through the capacitor on the other hand. According to formula (11), the power input from the grid-side converter to the DC side can be expressed as:

[0138]

[0139] In the formula, e 1d is the voltage component on the grid side, i 1d is the grid-side current component. The output power of the motor-side converter can be expressed as:

[0140]

[0141] In the formula, e 2d 、e 2q is the voltage component on the motor side, i 2d 、i 2q is the current component on the motor side. The power of the DC capacitor can be expressed as:

[0142]

[0143] The power accumulated on the capacitor can be regarded as the deviation of the output power of the grid-side and motor-side converters, that is:

[0144]

[0145] It can be calculated that:

[0146]

[0147] The purpose of feedforward control is to minimize the DC bus voltage fluctuation, so the feedforward component can be constructed as follows:

[0148]

[0149] In the formula, K P , K I is the proportional integral coefficient of the DC voltage outer loop control of the grid-side converter. In this embodiment, the constructed feedforward control principle block diagram is as follows Fig.11 shown.

[0150] In this embodiment, the designed inverse dynamic feedforward control method adds the feedforward amount to the given current inner loop of the grid-side converter, and compensates for the load disturbance through the PI controller of the current loop, so that the grid-side converter can predict the changes in the motor-side load in advance, and adjust the grid-side power and the motor-side power to balance each other in time, avoiding more energy from being exchanged through the DC-side capacitor, thereby effectively reducing the fluctuation of the DC-side voltage.

[0151] The control of the flywheel energy storage system array is essentially about how to reasonably allocate the input and output power of each flywheel energy storage unit. At present, the control methods of the flywheel energy storage system array are roughly divided into a unit-by-unit control method and a multi-unit collaborative control method. The multi-unit collaborative control method is that multiple flywheel units maintain the same operating mode and operate in parallel. Although the system loss is relatively large when using the collaborative control method, the switching of the flywheel energy storage system is relatively smooth, which is conducive to the safe and stable operation of the flywheel array system.

[0152] At present, common coordinated control strategies in flywheel arrays include equal power distribution, equal torque distribution and equal time length distribution strategies. However, these control strategies do not take into account the efficiency issues during system operation and the consistency issues of each flywheel monomer. Since the charging and discharging currents, friction coefficients and motor and flywheel parameters cannot be completely consistent, the rate at which the flywheel speed increases from a certain speed to the rated speed, or the rate at which the rated speed decreases to a certain speed is not uniform. Long-term operation of the system will cause the speed difference between monomers to continue to increase, affecting the overall efficiency of the system and even causing safety hazards. Based on the above issues, in this embodiment, a coordinated control strategy for a flywheel array based on an ant colony algorithm is designed. The overall architecture of this control strategy is a two-layer hierarchical control. The upper controller is the general control unit, which is responsible for collecting the deviation between the frequency or power calculation of the wind storage system grid connection point and the target value, and obtaining the total charge and discharge power of the flywheel array. At the same time, the upper controller is responsible for collecting the operating status of each flywheel unit, generating the charge and discharge power of each flywheel unit according to the designed control algorithm, and transmitting it to the lower controller; the lower controller is composed of the controllers of all flywheel units, which is responsible for receiving the commands issued by the upper controller and controlling the charge and discharge of the flywheel units they are responsible for. The control system structure is as follows: Fig.12 shown.

[0153] In this embodiment, the designed flywheel array coordinated control strategy follows the "to the best of one's ability" principle, fully considers the storable energy of each flywheel monomer, takes into account the relationship between array energy balance and efficiency optimization, allocates the charging and discharging power of each monomer, and the storable energy of the monomer is positively correlated with the allocated power. Since the flywheel energy storage in this embodiment is incorporated into the system through back-to-back dual PWM converters, the topology and control strategies of different working modes do not change, only the direction of energy flow is opposite, so the following only takes the charging mode as an example to illustrate the control strategy.

[0154] According to formula (3), the storable charging energy of the i-th flywheel monomer can be expressed as:

[0155]

[0156] In the formula, ω iis the current speed of the flywheel rotor. In a sampling period, it is assumed that the output power of wind power generation remains unchanged, so the charging power of the flywheel energy storage array remains unchanged. The constrained optimization model of the charging mode in a sampling period can be defined as:

[0157]

[0158] Where P loss is the total loss of the flywheel array, P loss_i is the flywheel monomer loss, P is the total charging power of the flywheel array, and P i is the charging power allocated to each flywheel unit, and T is the sampling time. This optimization problem is a high-order, nonlinear optimization problem. The conventional numerical solution process is very complicated. The ant colony algorithm is an intelligent search algorithm. Compared with other artificial intelligence algorithms, it has two characteristics: diversity and positive feedback. Diversity ensures that the algorithm will not fall into the local optimal solution problem during the optimization process, resulting in an infinite loop of the algorithm. Positive feedback ensures that the algorithm can save the best information when solving the optimization problem. Diversity is like creativity, and positive feedback is learning ability. The combination of the two makes the ant colony algorithm have good robustness, parallelism and self-organization.

[0159] When using the ant colony algorithm to solve the path planning problem, the problem is usually equivalent to a graph G = (C, L), where the node set C is given by the flywheel monomer and its position in the problem description, and the edge set L is the complete electrical connection between the flywheel monomer and the AC bus. The process of the AC bus charging each flywheel monomer can be described as the process of ants crawling from the nest to the foraging site guided by pheromones and local heuristic information. In the algorithm, ants transfer according to the following transfer probabilities:

[0160]

[0161] In the formula, p i is the probability of an ant moving from the nest to position i, L i is the distance from the nest to position i, and the desired objective function, τ i The pheromone that moves the nest to position i, tabu k For the taboo table, To control the weight parameters of the pheromone strength and distance between the nest and the node, in this embodiment, the flywheel single node with a lower current speed should be given a higher weight. After each ant completes a search, the pheromone strength is updated according to the following formula:

[0162] τ i (k+1)=ρτ i (k)+Δτ i (36)

[0163] In the formula, τ i (k) is the pheromone left by the kth ant on the transfer path, Δτ i is the pheromone increment, and ρ is the local information volatility coefficient of the original pheromone. When a group of ants completes the optimization, the pheromone intensity is updated according to the following formula:

[0164] τ i =ρ G τ i +k best τ i best (37)

[0165] In the formula, τ i best is the pheromone left by ants on the optimal search path, k best is the pheromone amplification coefficient left by ants on the optimal search path, ρ G is the global information volatility coefficient of the original pheromone.

[0166] In the process of solving problems using the ant colony algorithm, each ant's search path can be regarded as a feasible solution, and N ants can form a population. However, in this embodiment, the population needs to be grouped according to the number of monomers in the flywheel array. Here, it is assumed that there are M flywheel monomers, and the number of ants in each group is defined as M. At the beginning of the algorithm, each ant randomly generates a search direction according to the set weight, and then evaluates each path based on the objective function and leaves pheromones. Then, the pheromones on each path are modified using formula (36), and the modified pheromones are substituted into formula (35) to solve the transfer probability between two points. The next time the ant searches, it will choose the path with a large transfer probability. When all M ants have completed the above process, the ant colony has completed an inner loop and calculated the objective function value. Next, the ant colony starts a new loop to repeat the above process and compare the optimal objective function solutions obtained in each loop until the set number of iterations is completed. The ant colony algorithm process designed in this embodiment Fig.13 shown.

[0167] The flywheel energy storage system assists the frequency regulation of the power generation system, mainly by utilizing the fast response characteristics of the flywheel energy storage device to replace the generator set in responding to the frequency regulation demand. When the grid frequency drops beyond the limit, the flywheel energy storage is called in the generating state, which is equivalent to a generator, and quickly makes up for the insufficient active power supply of the grid; when the grid frequency rises beyond the limit, the flywheel energy storage is called in the charging state, which is equivalent to a motor, and quickly consumes the excess active power in the grid to achieve a rapid balance of the active power of the grid. At present, the research on the control method of energy storage participating in the primary frequency regulation of the grid is mainly divided into two methods: one is the droop control method that imitates the droop characteristics of the unit, and the other is the virtual inertia control method that suppresses the deterioration of the initial frequency.

[0168] Under the droop control method, the energy storage output is proportional to the system frequency deviation, as follows:

[0169] ΔP=K DR (ff ref ) (38)

[0170] Where ΔP is the total power of the energy storage system, K DR is the droop control coefficient, f is the measured value of the power grid frequency, and f ref is the grid frequency reference value. In practical applications, droop control requires that the flywheel output power is proportional to the frequency deviation. When the load disturbance just occurs, the frequency deviation is very small, and the flywheel output power is very different from the load disturbance power, which cannot smooth the frequency fluctuation caused by the load disturbance. In a weak synchronous support system with a high proportion of new energy, it is easy to cause the initial frequency to continue to deteriorate. Virtual inertia control can solve the initial frequency deterioration problem of virtual droop control to improve the transient response characteristics of primary frequency regulation. In this method, once the frequency change rate exceeds the dead zone, the energy storage begins to simulate the virtual inertia response of the traditional generator startup according to the frequency change rate, reducing the amplitude of the transient frequency difference, as shown below:

[0171]

[0172] In the formula, K IR is the virtual inertia control coefficient. The virtual inertia control is proposed to solve the initial frequency deterioration problem of virtual droop control and to improve the transient response characteristics of primary frequency modulation. However, according to formula (39), it is difficult to determine the regulation dead zone when this method is used alone. Therefore, in this embodiment, virtual inertia control is used as an auxiliary control of virtual droop control, and a joint primary frequency modulation control strategy is designed as shown below:

[0173]

[0174] This control strategy solves the problem that the traditional droop control strategy uses a fixed unit to adjust the power value to cope with long-term and frequently changing load fluctuations, and the fixed unit power adjustment causes insufficient flexibility.

[0175] Embodiment 2:

[0176] This embodiment provides a flywheel energy storage array control system applied to a wind turbine generator set, including a flywheel unit motor side control module, a flywheel unit grid side control module, a flywheel array control module and a droop control module;

[0177] The flywheel motor-side control module is configured to: in the motor-side converter control strategy, use a sliding mode observer algorithm to obtain the rotor position of the flywheel motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function;

[0178] The flywheel unit grid-side control module is configured to: in the grid-side converter control strategy, add the load current feedforward component to the output of the rectifier voltage outer loop, and compensate the rectifier output current before the bus voltage has an error when the motor state suddenly changes;

[0179] The flywheel array control module is configured to: in the flywheel array control strategy, calculate the charge and discharge power of each flywheel monomer according to the total charge and discharge power of the flywheel array and the operating state of each flywheel monomer, and control the charge and discharge of each flywheel monomer;

[0180] The droop control module is configured to: in the droop control strategy, use the virtual inertia control as an auxiliary control of the virtual droop control;

[0181] The above-mentioned motor-side converter control strategy, grid-side converter control strategy, flywheel array control strategy and droop control are adopted to realize the control of the flywheel energy storage array in the wind turbine generator set.

[0182] Implementation:3:

[0183] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the flywheel energy storage array control method applied to a wind turbine generator set described in Example 1 are implemented.

[0184] Embodiment 4:

[0185] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the flywheel energy storage array control method applied to a wind turbine generator set described in Embodiment 1 are implemented.

[0186] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.

Claims

1. A flywheel energy storage array control method for a wind turbine generator set, It is characterized in that include: In the motor-side converter control strategy, a sliding mode observer algorithm is used to obtain the rotor position of the flywheel motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function; The sliding mode observer algorithm is an improved sliding mode observer algorithm in a direct-axis-quadrature-axis synchronous rotating coordinate system based on phase-locked loop technology; Define the phase angle estimation error, adjust the phase angle estimation error to zero, make the estimated value of the rotor position converge to the actual value of the rotor position, and accurately estimate the rotor position and speed of the motor; In the grid-side converter control strategy, an adaptive inverse dynamic feedforward control method is designed to effectively combine the grid-side converter and the motor-side converter to achieve coordinated control of the converters on both sides; the inverse dynamic feedforward control adds the load current feedforward component to the output of the rectifier voltage outer loop, and compensates the rectifier output current before the bus voltage error occurs when the motor state suddenly changes; The grid-side converter control strategy adopts a flywheel array double-layer coordinated control strategy based on an ant colony algorithm; the number of ants in each group corresponds to the number of flywheel monomers; In the flywheel array control strategy, the charge and discharge power of each flywheel monomer is calculated based on the total charge and discharge power of the flywheel array and the operating status of each flywheel monomer, and the charge and discharge of each flywheel monomer is controlled; In the droop control strategy, virtual inertia control is used as an auxiliary control of virtual droop control; the droop control strategy uses virtual inertia control as an auxiliary control of virtual droop control, and designs a joint primary frequency modulation control strategy; The joint primary frequency regulation control strategy is: Where ΔP is the total power of the energy storage system, K DR is the droop control coefficient, f is the measured value of the power grid frequency, and f ref is the grid frequency reference value, K IR is the virtual inertia control coefficient; the above-mentioned motor-side converter control strategy, grid-side converter control strategy, flywheel array control strategy and droop control are adopted to realize the control of the flywheel energy storage array in the wind turbine generator set.

2. A flywheel energy storage array control method for a wind turbine generator set as claimed in claim 1, It is characterized in that In the grid-side converter control strategy, the feedforward is added to the given current inner loop of the grid-side converter, and the load disturbance is compensated by the PI controller of the current loop, so that the grid-side converter can predict the change of the motor-side load in advance, adjust the grid-side power to balance the motor-side power, and avoid energy exchange through the DC-side capacitor.

3. A flywheel energy storage array control method for a wind turbine generator set as claimed in claim 1, It is characterized in that Considering the storable energy of each flywheel unit, taking into account the relationship between array energy balance and efficiency optimization, the charging and discharging power of each unit is allocated, and the storable energy of the unit is positively correlated with the allocated power.

4. A flywheel energy storage array control system for a wind turbine generator set. It is characterized in that It includes a flywheel unit motor side control module, a flywheel unit grid side control module, a flywheel array control module and a droop control module; The flywheel motor-side control module is configured to: in the motor-side converter control strategy, use a sliding mode observer algorithm to obtain the rotor position of the flywheel motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function; The sliding mode observer algorithm is an improved sliding mode observer algorithm in a direct-axis-quadrature-axis synchronous rotating coordinate system based on phase-locked loop technology; Define the phase angle estimation error, adjust the phase angle estimation error to zero, make the estimated value of the rotor position converge to the actual value of the rotor position, and accurately estimate the rotor position and speed of the motor; The flywheel unit grid-side control module is configured as follows: in the grid-side converter control strategy, an adaptive inverse dynamic feedforward control method is designed to effectively combine the grid-side converter and the motor-side converter to achieve coordinated control of the converters on both sides; the inverse dynamic feedforward control adds the load current feedforward component to the output of the rectifier voltage outer loop, and compensates the rectifier output current before the bus voltage has an error when the motor state suddenly changes; The grid-side converter control strategy adopts a flywheel array double-layer coordinated control strategy based on an ant colony algorithm; the number of ants in each group corresponds to the number of flywheel monomers; The flywheel array control module is configured to: in the flywheel array control strategy, calculate the charge and discharge power of each flywheel monomer according to the total charge and discharge power of the flywheel array and the operating state of each flywheel monomer, and control the charge and discharge of each flywheel monomer; The droop control module is configured to: in the droop control strategy, use virtual inertia control as an auxiliary control of virtual droop control; the droop control strategy uses virtual inertia control as an auxiliary control of virtual droop control, and designs a joint primary frequency modulation control strategy; The joint primary frequency regulation control strategy is: Where ΔP is the total power of the energy storage system, K DR is the droop control coefficient, f is the measured value of the power grid frequency, and f ref is the grid frequency reference value, K IR is the virtual inertia control coefficient; The above-mentioned motor-side converter control strategy, grid-side converter control strategy, flywheel array control strategy and droop control are adopted to realize the control of the flywheel energy storage array in the wind turbine generator set.

5. A flywheel energy storage array control system for a wind turbine generator set as claimed in claim 4, It is characterized in that In the grid-side converter control strategy, the feedforward is added to the given current inner loop of the grid-side converter, and the load disturbance is compensated by the PI controller of the current loop, so that the grid-side converter can predict the change of the motor-side load in advance, adjust the grid-side power to balance the motor-side power, and avoid energy exchange through the DC-side capacitor.

6. A flywheel energy storage array control method for a wind turbine generator set as claimed in claim 4, It is characterized in that Considering the storable energy of each flywheel unit, taking into account the relationship between array energy balance and efficiency optimization, the charging and discharging power of each unit is allocated, and the storable energy of the unit is positively correlated with the allocated power.

7. An electronic device, It is characterized in that The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the program: In the motor-side converter control strategy, a sliding mode observer algorithm is used to obtain the rotor position of the flywheel motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function; The sliding mode observer algorithm is an improved sliding mode observer algorithm in a direct-axis-quadrature-axis synchronous rotating coordinate system based on phase-locked loop technology; Define the phase angle estimation error, adjust the phase angle estimation error to zero, make the estimated value of the rotor position converge to the actual value of the rotor position, and accurately estimate the rotor position and speed of the motor; In the grid-side converter control strategy, an adaptive inverse dynamic feedforward control method is designed to effectively combine the grid-side converter and the motor-side converter to achieve coordinated control of the converters on both sides; the inverse dynamic feedforward control adds the load current feedforward component to the output of the rectifier voltage outer loop, and compensates the rectifier output current before the bus voltage error occurs when the motor state suddenly changes; The grid-side converter control strategy adopts a flywheel array double-layer coordinated control strategy based on an ant colony algorithm; the number of ants in each group corresponds to the number of flywheel monomers; In the flywheel array control strategy, the charge and discharge power of each flywheel monomer is calculated based on the total charge and discharge power of the flywheel array and the operating status of each flywheel monomer, and the charge and discharge of each flywheel monomer is controlled; In the droop control strategy, virtual inertia control is used as an auxiliary control of virtual droop control; the droop control strategy uses virtual inertia control as an auxiliary control of virtual droop control, and designs a joint primary frequency modulation control strategy; The joint primary frequency regulation control strategy is: Where ΔP is the total power of the energy storage system, K DR is the droop control coefficient, f is the measured value of the power grid frequency, and f ref is the grid frequency reference value, K IR is the virtual inertia control coefficient; the above-mentioned motor-side converter control strategy, grid-side converter control strategy, flywheel array control strategy and droop control are adopted to realize the control of the flywheel energy storage array in the wind turbine generator set.

8. An electronic device as claimed in claim 7, It is characterized in that In the grid-side converter control strategy, the feedforward is added to the given current inner loop of the grid-side converter, and the load disturbance is compensated by the PI controller of the current loop, so that the grid-side converter can predict the change of the motor-side load in advance, adjust the grid-side power to balance the motor-side power, and avoid energy exchange through the DC-side capacitor.

9. An electronic device as claimed in claim 7, It is characterized in that Considering the storable energy of each flywheel unit, taking into account the relationship between array energy balance and efficiency optimization, the charging and discharging power of each unit is allocated, and the storable energy of the unit is positively correlated with the allocated power.

10. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the program is executed by a processor, the following steps are implemented: In the motor-side converter control strategy, a sliding mode observer algorithm is used to obtain the rotor position of the flywheel motor; wherein the observer algorithm uses a hyperbolic tangent function instead of a sign function; The sliding mode observer algorithm is an improved sliding mode observer algorithm in a direct-axis-quadrature-axis synchronous rotating coordinate system based on phase-locked loop technology; Define the phase angle estimation error, adjust the phase angle estimation error to zero, make the estimated value of the rotor position converge to the actual value of the rotor position, and accurately estimate the rotor position and speed of the motor; In the grid-side converter control strategy, an adaptive inverse dynamic feedforward control method is designed to effectively combine the grid-side converter and the motor-side converter to achieve coordinated control of the converters on both sides; the inverse dynamic feedforward control adds the load current feedforward component to the output of the rectifier voltage outer loop, and compensates the rectifier output current before the bus voltage error occurs when the motor state suddenly changes; The grid-side converter control strategy adopts a flywheel array double-layer coordinated control strategy based on an ant colony algorithm; the number of ants in each group corresponds to the number of flywheel monomers; In the flywheel array control strategy, the charge and discharge power of each flywheel monomer is calculated based on the total charge and discharge power of the flywheel array and the operating status of each flywheel monomer, and the charge and discharge of each flywheel monomer is controlled; In the droop control strategy, virtual inertia control is used as an auxiliary control of virtual droop control; the droop control strategy uses virtual inertia control as an auxiliary control of virtual droop control, and designs a joint primary frequency modulation control strategy; The joint primary frequency regulation control strategy is: Where ΔP is the total power of the energy storage system, K DR is the droop control coefficient, f is the measured value of the power grid frequency, and f ref is the grid frequency reference value, K IR is the virtual inertia control coefficient; the above-mentioned motor-side converter control strategy, grid-side converter control strategy, flywheel array control strategy and droop control are adopted to realize the control of the flywheel energy storage array in the wind turbine generator set.

11. A computer-readable storage medium as claimed in claim 10, It is characterized in that In the grid-side converter control strategy, the feedforward is added to the given current inner loop of the grid-side converter, and the load disturbance is compensated by the PI controller of the current loop, so that the grid-side converter can predict the change of the motor-side load in advance, adjust the grid-side power to balance the motor-side power, and avoid energy exchange through the DC-side capacitor.

12. A computer-readable storage medium as claimed in claim 10, It is characterized in that Considering the storable energy of each flywheel unit, taking into account the relationship between array energy balance and efficiency optimization, the charging and discharging power of each unit is allocated, and the storable energy of the unit is positively correlated with the allocated power.