Power quick response control method of inertia flywheel system, variable flow controller and system
By introducing an inertial flywheel system into the power grid and using the particle swarm algorithm to optimize the output torque of the electromagnetic coupler, the problem of power grid frequency instability caused by new energy access is solved and the power response speed and stability of the power grid are improved.
Patent Information
- Application Number
- CN202410894445.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-29
AI Technical Summary
With the integration of renewable energy into the power system, the reduction in inertia of traditional synchronous generators leads to a decrease in grid frequency stability and the lack of effective inertia compensation measures.
The power rapid response control method of the inertia flywheel system is used to optimize the output torque of the electromagnetic coupler through the particle swarm algorithm and the state equation of the synchronous motor, and control the synchronous motor to perform power response to improve the stability and reliability of the power grid.
It effectively improves the power response speed of synchronous motors, suppresses power oscillation, enhances the frequency stability and inertia compensation capabilities of the power grid, and solves the problems of inertia loss and frequency instability caused by the access of new energy sources.
Smart Images

Figure CN118868178A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy storage technology, and in particular to a power rapid response control method, a current converter controller and a system for an inertial flywheel system. Background Art
[0002] With the rapid development and large-scale access to renewable energy (such as wind and solar energy), the energy structure of the power system is undergoing revolutionary changes. Traditional fossil fuel-based power generation is gradually being replaced by clean new energy, which provides great opportunities for reducing carbon emissions and addressing climate change. However, one of the challenges that comes with it is the impact of a large number of new energy accesses on the inertia of the power system.
[0003] In traditional power systems, the inertia of generators (usually measured by the rotational inertia of the units) provides an important stability mechanism. Inertia can help the power system cope with load changes and emergencies and maintain the frequency stability of the power system. However, with the large-scale access to new energy sources, the number and inertia of traditional synchronous generators may decrease due to the characteristics of these energy sources (such as the intermittent and uncontrollable nature of wind and solar energy), resulting in a reduction in the inertia of the power system.
[0004] In order to solve the challenges of power grid inertia loss and frequency stability caused by the access of new energy, researchers and engineers are exploring the use of inertia compensation devices such as inertia flywheels. An inertia flywheel is a mechanical device with a large amount of inertia that can store a large amount of energy by rotating the flywheel at high speed. By connecting the inertia flywheel to the power grid, additional inertia support can be provided when the power generation of new energy fluctuates, thereby stabilizing the frequency of the power grid. In addition, the inertia flywheel also has the ability to output active and reactive power, which can provide additional power support or reactive power compensation when the power grid needs it, further improving the stability and reliability of the power grid. Therefore, the introduction of inertia compensation devices such as inertia flywheels into the power grid is regarded as an effective means to solve the problems of inertia loss and decreased frequency stability caused by the access of new energy, but the inertia flywheel is still in the theoretical stage and its control method has not yet been studied. Summary of the invention
[0005] The present application provides a power rapid response control method, a current converter controller and a system for an inertia flywheel system to solve the problems of inertia loss and frequency stability degradation caused by the access of new energy to the power grid.
[0006] The first aspect of the present application provides a power rapid response control method for an inertial flywheel system, comprising the following steps: obtaining the current operating parameters of the power grid at the current moment; calculating the state quantity of the inertial flywheel system and the initial value of the output power according to the current operating parameters; optimizing the output torque of the electromagnetic coupler of the future inertial flywheel system according to the initial value, target power, particle swarm algorithm and the state equation of the synchronous motor, and controlling the synchronous motor to perform power response based on the optimized output torque.
[0007] Optionally, the output torque of the electromagnetic coupler of the future inertial flywheel system is optimized according to the initial value, target power, particle swarm algorithm and the state equation of the synchronous motor, including: initializing the optimization parameters of the particle swarm algorithm and randomly generating a particle swarm; assigning particles to the optimization parameters in the third-order transfer function, and calculating the output torque of the electromagnetic coupler at each moment within the target moment according to the target power, wherein the output torque of the electromagnetic coupler is equal to the input torque of the synchronous motor; substituting the initial value of the state quantity of the synchronous motor at the current moment and the input torque of the synchronous motor into the state equation of the synchronous motor, calculating the state quantity and output power of the synchronous motor at the next moment, and iteratively calculating the output power of the synchronous motor at each moment within the target moment; calculating the fitness according to the output power of the synchronous motor at each moment, and updating the particle swarm; judging whether the number of iterations has been reached, if not, performing the next iteration, if reached, stopping the iteration and outputting the optimization parameters after the final optimization; determining the reference value of the output torque of the electromagnetic coupler according to the optimization parameters after the final optimization, and optimizing the output torque of the electromagnetic coupler of the inertial flywheel system according to the reference value.
[0008] Alternatively, the formula for the third order transfer function is:
[0009]
[0010] Where h(s) is the transfer function between power and torque, a 1 、a 2 、a 3 、b 1 、b 2 、b 3 is the optimization parameter to be optimized, and s is the Laplace operator.
[0011] Optionally, the state equation of the synchronous motor includes:
[0012] The q-axis flux equation of the synchronous motor in the dq coordinate system is:
[0013]
[0014] The q-axis voltage equation of the synchronous motor is:
[0015]
[0016] The d-axis flux equation of the synchronous motor is:
[0017]
[0018] The voltage equation of the synchronous motor d-axis is:
[0019]
[0020] The rotor motion equation of a synchronous motor is:
[0021]
[0022] Among them, ψ q is the magnetic flux on the stator q axis, x q is the q-axis synchronous reactance, i q is the current on the stator q axis, i Q is the current on the q-axis of the damping winding, ψ Q is the flux linkage on the q-axis of the damping winding, u q is the voltage on the q axis, p is the differential operator, ω is the speed of the synchronous motor, ψ d is the flux on the stator d axis, r a is the stator resistance, u Q is the potential on the q axis of the damping winding, x Q is the q-axis damping winding reactance, r Q is the q-axis resistance of the damping winding, x d is the d-axis synchronous reactance, i d is the current on the d-axis, x ad is the d-axis armature reaction reactance, x aq is the q-axis armature reaction reactance, i D is the current on the d-axis of the damping winding, ψ f is the excitation flux, x f is the magnetizing reactance, i f is the excitation current, ψ D is the flux linkage on the d-axis of the damping winding, x D is the d-axis damping winding reactance, u d is the voltage on the d-axis, ψ d is the flux on the stator d axis, u f is the magnetizing potential, r f is the excitation resistance, u D is the potential on the d-axis of the damping winding, r D is the d-axis resistance of the damping winding, i D is the current on the d-axis of the damping winding, δ is the power angle, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, T e is the electromagnetic torque.
[0023] Optionally, the calculation formulas for reactance parameters and resistance parameters in the state equation of the synchronous motor are:
[0024]
[0025] Among them, x l is the stator leakage reactance, x d is the d-axis synchronous reactance, x q is the q-axis synchronous reactance, x′ d is the d-axis transient reactance, x″ d is the d-axis transient reactance, x″ q is the q-axis subtransient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open circuit time constant, T″ q0 is the q-axis subtransient open-circuit time constant.
[0026] Optionally, calculating the fitness according to the output power of the synchronous motor at each moment includes: calculating the power deviation value according to the target power and the output power; calculating the fitness according to the power deviation value, wherein,
[0027] The calculation function of fitness is:
[0028]
[0029] Among them, t 0 is the current moment, t 0 +T is the final time of iterative calculation based on the state equation of the synchronous motor, T is the target time, ΔP(t) is the deviation between the target power and the output power at time t, and f is the fitness.
[0030] A second aspect of the present application provides a converter controller, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a power rapid response control method for an inertial flywheel system as described in the above embodiment.
[0031] The third aspect of the present application provides an inertial flywheel system, including: a flywheel rotor and a synchronous motor; an electromagnetic coupler, wherein the electromagnetic coupler includes an outer rotor and an inner rotor, the flywheel rotor and the inner rotor of the electromagnetic coupler are connected together through a mechanical shaft, the outer rotor of the electromagnetic coupler and the rotor of the synchronous motor are connected together through a mechanical shaft, the rotor speed of the synchronous motor is maintained at the industrial frequency speed, and the stator winding is connected to the power grid; the inverter controller of the above embodiment.
[0032] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program or instruction is stored. The computer program or instruction is executed by a processor to implement a power rapid response control method for an inertial flywheel system as described in the above embodiment.
[0033] The fifth aspect of the present application provides a computer program, including a computer program or instructions. When the computer program or instructions are executed, the power rapid response control method of the inertial flywheel system as described in the above embodiment is implemented.
[0034] Therefore, this application includes the following beneficial effects:
[0035] The embodiment of the present application can optimize the output torque of the electromagnetic coupler of the inertial flywheel system based on the particle swarm algorithm and the state equation of the synchronous motor, and further control the synchronous motor to perform power response based on the optimized output torque, thereby improving the power response speed of the synchronous motor, suppressing the power oscillation process of the synchronous motor, and thus improving the stability and reliability of the power grid. Thus, technical problems such as the loss of inertia and the decrease in frequency stability caused by the access of new energy to the power grid are solved.
[0036] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0038] Figure 1 It is a flow chart of a power rapid response control method of an inertia flywheel system provided according to an embodiment of the present application;
[0039] Figure 2 A flow chart of particle swarm optimization of electromagnetic coupler output torque parameters according to an embodiment of the present application;
[0040] Figure 3 It is a structural schematic diagram of a current converter controller provided according to an embodiment of the present application;
[0041] Figure 4 A schematic diagram of an inertia flywheel system provided according to an embodiment of the present application;
[0042] Figure 5 A schematic diagram of an inertia flywheel system provided according to an embodiment of the present application;
[0043] Figure 6 A block diagram of a power rapid response control method provided according to an embodiment of the present application;
[0044] Figure 7 A comparison diagram of the power waveform diagram provided according to an embodiment of the present application and the power waveform diagram with direct addition of step torque. DETAILED DESCRIPTION
[0045] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0046] The following describes the power rapid response control method, converter controller and system of the inertial flywheel system of the embodiment of the present application with reference to the accompanying drawings. In view of the challenges brought by the access of new energy to the power grid inertia loss and frequency stability mentioned in the above background technology, the present application provides a power rapid response control method for an inertial flywheel system, in which the output torque of the electromagnetic coupler of the inertial flywheel system can be optimized based on the particle swarm algorithm and the state equation of the synchronous motor, and the synchronous motor can be further controlled to perform power response based on the optimized output torque, thereby improving the power response speed of the synchronous motor and suppressing the power oscillation process of the synchronous motor. As a result, the problems of the inertia loss and decreased frequency stability of the power grid caused by the access of new energy are solved.
[0047] Specifically, Figure 1 A schematic flow chart of a method for rapid power response control of an inertial flywheel system provided in an embodiment of the present application.
[0048] like Figure 1 As shown, the power rapid response control method of the inertia flywheel system includes the following steps:
[0049] In step S101, the current operating parameters of the power grid at the current moment are obtained.
[0050] Among them, the operating parameters of the power grid may include voltage, current, power, frequency, load, etc.
[0051] In step S102, the state quantity of the inertia flywheel system and the initial value of the output power are calculated according to the current operating parameters.
[0052] It is understandable that the embodiment of the present application can calculate the state quantity of the inertia flywheel system and the initial value of the output power according to the operating parameters at the current moment, that is, according to the current situation of the power grid.
[0053] In step S103, the output torque of the electromagnetic coupler of the future inertia flywheel system is optimized according to the initial value, the target power, the particle swarm algorithm and the state equation of the synchronous motor, and the synchronous motor is controlled to perform power response based on the optimized output torque.
[0054] It can be understood that the embodiments of the present application can optimize the output torque of the electromagnetic coupler of the future inertia flywheel system according to the initial value, target power, particle swarm algorithm and the state equation of the synchronous motor, and further control the synchronous motor to perform power response based on the optimized output torque, thereby improving the power response speed of the motor and suppressing the power oscillation process of the synchronous motor.
[0055] In an embodiment of the present application, the output torque of the electromagnetic coupler of the inertial future flywheel system is optimized according to the initial value, target power, particle swarm algorithm and the state equation of the synchronous motor, including: initializing the optimization parameters of the particle swarm algorithm and randomly generating a particle swarm; assigning particles to the optimization parameters in the third-order transfer function, and calculating the output torque of the electromagnetic coupler at each moment within the target moment according to the target power, wherein the output torque of the electromagnetic coupler is equal to the input torque of the synchronous motor; substituting the initial value of the state quantity of the synchronous motor at the current moment and the input torque of the synchronous motor into the state equation of the synchronous motor, calculating the state quantity and output power of the synchronous motor at the next moment, and iteratively calculating the output power of the synchronous motor at each moment within the target moment; calculating the fitness according to the output power of the synchronous motor at each moment, and updating the particle swarm; judging whether the number of iterations has been reached, if not, performing the next iteration, if reached, stopping the iteration and outputting the optimization parameters after the final optimization; determining the reference value of the output torque of the electromagnetic coupler according to the optimization parameters after the final optimization, and optimizing the output torque of the electromagnetic coupler of the inertial flywheel system according to the reference value.
[0056] It can be understood that the embodiment of the present application can optimize the output torque of the electromagnetic coupler of the future inertia flywheel system according to the initial value of the inertia flywheel system, the target power, the particle swarm algorithm and the state equation of the synchronous motor. The specific steps are as follows:
[0057] Initialize the optimization parameters of the initialization particle swarm algorithm and randomly generate a particle swarm;
[0058] The particles are assigned to the optimization parameters in the third-order transfer function, and the output torque of the electromagnetic coupler at each time within the target time is calculated according to the target power;
[0059] Substitute the initial value of the state quantity of the synchronous motor at the current moment and the input torque of the synchronous motor into the state equation of the synchronous motor, calculate the state quantity and output power of the synchronous motor at the next moment, and iteratively calculate the output power of the synchronous motor at each moment within the target moment;
[0060] Calculate the fitness according to the output power of the synchronous motor at each moment and update the particle swarm;
[0061] Determine whether the number of iterations has been reached. If not, proceed to the next iteration. If reached, stop the iteration and output the final optimized parameters.
[0062] The reference value of the output torque of the electromagnetic coupler is determined according to the optimization parameters after the final optimization, and the output torque of the electromagnetic coupler of the inertia flywheel system is optimized according to the reference value.
[0063] In the embodiment of the present application, the formula of the third-order transfer function is:
[0064]
[0065] Where h(s) is the transfer function between power and torque, a 1 、a 2 、a 3 、b 1 、b 2 、b 3 is the optimization parameter to be optimized, and s is the Laplace operator.
[0066] In the embodiment of the present application, the state equation of the synchronous motor includes:
[0067] The q-axis flux equation of the synchronous motor in the dq coordinate system is:
[0068]
[0069] The q-axis voltage equation of the synchronous motor is:
[0070]
[0071] The d-axis flux equation of the synchronous motor is:
[0072]
[0073] The voltage equation of the synchronous motor d-axis is:
[0074]
[0075] The rotor motion equation of a synchronous motor is:
[0076]
[0077] Among them, ψ q is the magnetic flux on the stator q axis, x q is the q-axis synchronous reactance, i q is the current on the stator q axis, i Q is the current on the q-axis of the damping winding, ψ Q is the flux linkage on the q-axis of the damping winding, u q is the voltage on the q axis, p is the differential operator, ω is the speed of the synchronous motor, ψ d is the flux on the stator d axis, r a is the stator resistance, u Qis the potential on the q axis of the damping winding, x Q is the q-axis damping winding reactance, r Q is the q-axis resistance of the damping winding, x d is the d-axis synchronous reactance, i d is the current on the d-axis, x ad is the d-axis armature reaction reactance, x aq is the q-axis armature reaction reactance, i D is the current on the d-axis of the damping winding, ψ f is the excitation flux, x f is the magnetizing reactance, i f is the excitation current, ψ D is the flux linkage on the d-axis of the damping winding, x D is the d-axis damping winding reactance, u d is the voltage on the d-axis, ψ d is the flux on the stator d axis, u f is the magnetizing potential, r f is the excitation resistance, u D is the potential on the d-axis of the damping winding, r D is the d-axis resistance of the damping winding, i D is the current on the d-axis of the damping winding, δ is the power angle, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, T e is the electromagnetic torque.
[0078] In the embodiment of the present application, the calculation formulas for the reactance parameters and the resistance parameters in the state equation of the synchronous motor are as follows:
[0079]
[0080] Among them, x l is the stator leakage reactance, x d is the d-axis synchronous reactance, x q is the q-axis synchronous reactance, x′ d is the d-axis transient reactance, x″ d is the d-axis transient reactance, x″ q is the q-axis subtransient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open circuit time constant, T″ q0 is the q-axis subtransient open-circuit time constant.
[0081] In an embodiment of the present application, the fitness is calculated according to the output power of the synchronous motor at each moment, including: calculating the power deviation value according to the target power and the output power; and calculating the fitness according to the power deviation value.
[0082] Among them, the calculation function of fitness is:
[0083]
[0084] Among them, t 0 is the current moment, t 0 +T is the final time of iterative calculation based on the state equation of the synchronous motor, T is the target time, ΔP(t) is the deviation between the target power and the output power at time t, and f is the fitness.
[0085] It can be understood that the embodiment of the present application can calculate the power deviation value based on the target power of the synchronous motor and the output power calculated based on the state equation of the synchronous motor, and further calculate the fitness based on the power deviation value.
[0086] Specifically, the specific process of particle swarm optimization of the electromagnetic coupler output torque parameters in the embodiment of the present application is as follows: Figure 2 shown.
[0087] The particle swarm algorithm is similar to the genetic algorithm. It is an optimization algorithm based on iteration. The system initializes a set of random solutions and uses an iterative method to find the best solution. In the control strategy of this application, the parameter optimized by the particle swarm algorithm is a third-order transfer function. The input is the target output power of the synchronous motor, and the output is the reference value of the coupler output torque. For the convenience of calculation, both the input and output are in per-unit value. The transfer function used by the torque control strategy is as follows:
[0088]
[0089] Among them, a 1 , a 2 , a 3 , b 1 , b 2 , b 3 is the optimization parameter to be optimized, h(s) is the transfer function between power and torque, and s is the Laplace operator.
[0090] The specific process of the particle swarm algorithm is: first, initialize the optimization parameters to be optimized and randomly generate a particle swarm; then, the output power of the synchronous motor at each moment can be calculated through the state equation of the synchronous motor above; calculate the fitness according to the power deviation, and update the optimal solution; determine whether the number of iterations has been reached, if not, proceed to the next iteration, if reached, stop the iteration and output the final optimized parameters.
[0091] According to the power rapid response control method of the inertial flywheel system proposed in the embodiment of the present application, the output torque of the electromagnetic coupler of the inertial flywheel system can be optimized based on the particle swarm algorithm and the state equation of the synchronous motor, and the synchronous motor can be further controlled to perform power response based on the optimized output torque, thereby improving the power response speed of the synchronous motor, suppressing the power oscillation process of the synchronous motor, and thus improving the stability and reliability of the power grid.
[0092] Figure 3 The schematic diagram of the structure of the current conversion controller 50 provided in the embodiment of the present application. The current conversion controller 50 may include:
[0093] A memory 301 , a processor 302 , and a computer program stored in the memory 301 and executable on the processor 302 .
[0094] When the processor 302 executes the program, the power rapid response control method of the inertia flywheel system provided in the above embodiment is implemented.
[0095] Furthermore, the current conversion controller 50 further includes:
[0096] The communication interface 303 is used for communication between the memory 301 and the processor 302 .
[0097] The memory 301 is used to store computer programs that can be run on the processor 302 .
[0098] The memory 301 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0099] If the memory 301, the processor 302 and the communication interface 303 are implemented independently, the communication interface 303, the memory 301 and the processor 302 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0100] Optionally, in a specific implementation, if the memory 301, the processor 302 and the communication interface 303 are integrated on a chip, the memory 301, the processor 302 and the communication interface 303 can communicate with each other through an internal interface.
[0101] The processor 302 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0102] An embodiment of the present application also provides an inertia flywheel system.
[0103] like Figure 4 As shown, the inertia flywheel system 20 includes: a flywheel rotor 10 , an electromagnetic coupler 30 , a synchronous motor 40 and a variable current controller 50 .
[0104] Among them, the electromagnetic coupler 30 includes an outer rotor and an inner rotor, the flywheel rotor 10 and the electromagnetic coupler 30 inner rotor are connected together through a mechanical shaft, the electromagnetic coupler 30 outer rotor and the synchronous motor 40 rotor are connected together through a mechanical shaft, the rotor speed of the synchronous motor 40 is maintained at the industrial frequency speed, and the stator winding is connected to the power grid.
[0105] It can be understood that in the inertia flywheel system 20 of the embodiment of the present application, the inner rotor of the flywheel rotor 10 and the electromagnetic coupler 30 are connected together through a mechanical shaft, and the outer rotor of the electromagnetic coupler 30 is connected to the rotor of the synchronous motor 40 through a mechanical shaft. The electromagnetic coupler 30 can realize the transmission of torque and inertia between the flywheel rotor 10 and the synchronous motor 40. The rotor speed of the synchronous motor 40 is maintained at the industrial frequency speed, and the stator winding is connected to the power grid. When the external frequency rises or falls, the inverter controller 50 is used to control the torque output by the flywheel rotor 10 to the synchronous motor 30 according to the power rapid response control method of the above-mentioned inertia flywheel system, thereby improving the power response speed of the synchronous motor and suppressing the power oscillation process of the synchronous motor.
[0106] Specifically, the basic structure of the novel inertia flywheel of the present application is as follows: Figure 5 As shown, it includes: a flywheel rotor 10 (referred to as a flywheel in the figure), an electromagnetic coupler 30, a synchronous motor 40, and a current converter controller 50.
[0107] The electromagnetic coupler 30 includes an outer rotor and an inner rotor. The flywheel rotor 10 and the inner rotor of the electromagnetic coupler 30 are connected together through a mechanical shaft 21 (also called a transmission shaft). The outer rotor of the electromagnetic coupler 30 and the rotor of the synchronous motor 40 are connected together through a mechanical shaft 22. The electromagnetic coupler 30 can realize the transmission of torque and inertia between the flywheel and the synchronous motor. The rotor of the synchronous motor 40 is maintained at the industrial frequency speed, and the stator end is directly connected to the power grid 60. The power grid 60 can supply power to the electromagnetic coupler 30 through the inverter controller 50. The electromagnetic coupler 30 is controlled by the inverter controller 50, so that the electromagnetic coupler 30 can realize the transmission of torque and inertia between the flywheel rotor 10 and the synchronous motor.
[0108] When the external frequency rises or falls, the converter controller 50 controls the torque output by the flywheel rotor 10 to the synchronous motor 40. The grid side of the converter controller 50 adopts the control strategy of the DC bus voltage outer loop and the current inner loop to maintain the DC bus voltage constant. The machine side of the converter controller 50 adopts the control strategy of the speed outer loop and the current inner loop. The electromagnetic coupler 30 uses vector control to control the torque output to the synchronous motor 10. The reference value of the d-axis current in the current inner loop is 0, and the reference value of the q-axis current is the output value of the torque outer loop.
[0109] Since the torque corresponding to the rated power is directly input to the synchronous motor, the synchronous motor will enter a long transient stability process and the system response time is long. In order to achieve the fastest response speed of the system, this application proposes a torque control strategy to enable the synchronous motor to quickly achieve stable combination. Figure 5 To illustrate the power fast response control method of the present application, such as Figure 6 As shown, the motor is modeled through its eighth-order state equation, and then the particle swarm algorithm is used to iteratively find the optimal torque input waveform, so as to improve the power response speed of the motor and suppress the power oscillation process of the motor.
[0110] The torque setting value is calculated as follows, that is, the state equation of the synchronous motor:
[0111] The q-axis flux equation of the synchronous motor in the dq coordinate system is:
[0112]
[0113] The q-axis voltage equation of the synchronous motor is:
[0114]
[0115] The d-axis flux equation of the synchronous motor is:
[0116]
[0117] The voltage equation of the synchronous motor d-axis is:
[0118]
[0119] The rotor motion equation of a synchronous motor is:
[0120]
[0121] If the x of the synchronous motor is known l , x d , x q , x d ', x d ”,x q ” and T' d0 , T” d0 , T” q0 Parameters, the reactance parameter x required in the Parker equation can be gradually obtained ad , x aq , x f , x D , x Q And the resistance parameter r f , r D , r Q , the calculation formula is as follows:
[0122]
[0123] The particle swarm algorithm is similar to the genetic algorithm. It is an optimization algorithm based on iteration. The inertia flywheel system initializes a set of random solutions and uses an iterative method to find the best solution. The parameter optimized by the particle swarm algorithm is a third-order transfer function. The input is the target power of the synchronous motor, and the output is the reference value of the output torque of the electromagnetic coupler. For the convenience of calculation, both the input and output are in per-unit value. The transfer function used by the torque control strategy is as follows:
[0124]
[0125] Among them, a 1 , a 2 , a 3 , b 1 , b 2 , b 3 is the optimization parameter to be optimized, h(s) is the transfer function between power and torque, and s is the Laplace operator. The output power of the synchronous motor at each moment can be calculated through the state equation of the synchronous motor above, and the optimal parameters are updated according to the power deviation, and the next iteration is performed to find the optimal solution. The process of finding the optimal solution by the particle swarm algorithm has been described in the above embodiment, such as Figure 2 As shown, no further description is given here.
[0126] Figure 7The power waveform of the inertia flywheel system using the power fast response control strategy of the inertia flywheel system of the present application and the power waveform of the direct addition of step torque. At 1s, the system receives a charge or discharge instruction, and the system begins to emit or absorb active power. Figure 7 It can be seen that if no control strategy is added and the step torque is directly added, the system active power will oscillate, there will be a large overshoot and the response speed will be slow. After adding the control strategy, the system will basically have no oscillation after reaching the specified power, the overshoot is very small, and the response speed is significantly improved. Therefore, the control strategy proposed in this application can significantly improve the response speed of the system active power.
[0127] The particle swarm algorithm-based inertia flywheel power rapid response control strategy of the present application solves the problem of slow response time caused by the transient process of the synchronous motor of the inertia flywheel, thereby providing a more reliable method for controlling the operation of the inertia flywheel.
[0128] An embodiment of the present application also provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the above-mentioned power rapid response control method of the inertial flywheel system is implemented.
[0129] The embodiment of the present application also provides a computer program product, including a computer program or instructions, which, when executed, implements the above-mentioned power rapid response control method for the inertial flywheel system.
[0130] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0131] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0132] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0133] It should be understood that the various parts of the present application can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, the steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0134] A person of ordinary skill in the art may understand that all or part of the steps carried by the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the above-mentioned program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0135] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A power rapid response control method for an inertia flywheel system, characterized in that: The following steps are involved: Get the current operating parameters of the power grid at the current moment; Calculating the state quantity of the inertia flywheel system and the initial value of the output power at the current moment according to the current operating parameters; The output torque of the electromagnetic coupler of the inertia flywheel system is optimized in the future according to the initial value, the target power, the particle swarm algorithm and the state equation of the synchronous motor, and the synchronous motor is controlled to perform power response based on the optimized output torque.
2. The power rapid response control method of the inertia flywheel system according to claim 1, characterized in that: The method of optimizing the output torque of the electromagnetic coupler of the inertia flywheel system in the future according to the initial value, the target power, the particle swarm algorithm and the state equation of the synchronous motor includes: Initialize the optimization parameters of the particle swarm algorithm and randomly generate a particle swarm; Assigning particles to optimization parameters in a third-order transfer function, and calculating the output torque of the electromagnetic coupler at each time within a target time according to the target power, wherein the output torque of the electromagnetic coupler is equal to the input torque of the synchronous motor; Substituting the initial value of the state quantity of the synchronous motor at the current moment and the input torque of the synchronous motor into the state equation of the synchronous motor, calculating the state quantity and output power of the synchronous motor at the next moment, and iteratively calculating the output power of the synchronous motor at each moment within the target moment; Calculate the fitness according to the output power of the synchronous motor at each moment, and update the particle swarm; Determine whether the number of iterations has been reached. If not, proceed to the next iteration. If reached, stop the iteration and output the final optimized parameters. A reference value of the output torque of the electromagnetic coupler is determined according to the finally optimized optimization parameters, and the output torque of the electromagnetic coupler of the inertia flywheel system is optimized according to the reference value.
3. The power rapid response control method of the inertia flywheel system according to claim 2, characterized in that: The formula for the third order transfer function is: Among them, h(s) is the transfer function between power and torque, a1, a2, a3, b1, b2, b3 are the optimization parameters that need to be optimized, and s is the Laplace operator.
4. The power rapid response control method of the inertia flywheel system according to claim 1, characterized in that: The state equation of the synchronous motor includes: The q-axis flux equation of the synchronous motor in the dq coordinate system is: The q-axis voltage equation of the synchronous motor is: The d-axis flux equation of the synchronous motor is: The voltage equation of the synchronous motor d-axis is: The rotor motion equation of a synchronous motor is: Among them, ψ q is the magnetic flux on the stator q axis, x q is the q-axis synchronous reactance, i q is the current on the stator q axis, i Q is the current on the q-axis of the damping winding, ψ Q is the flux linkage on the q-axis of the damping winding, u q is the voltage on the q axis, p is the differential operator, ω is the speed of the synchronous motor, ψ d is the flux on the stator d axis, r a is the stator resistance, u Q is the potential on the q axis of the damping winding, x Q is the q-axis damping winding reactance, r Q is the q-axis resistance of the damping winding, x d is the d-axis synchronous reactance, i d is the current on the d-axis, x ad is the d-axis armature reaction reactance, x aq is the q-axis armature reaction reactance, i D is the current on the d-axis of the damping winding, ψ f is the excitation flux, x f is the magnetizing reactance, i f is the excitation current, ψ D is the flux linkage on the d-axis of the damping winding, x D is the d-axis damping winding reactance, u d is the voltage on the d-axis, ψ d is the flux on the stator d axis, u f is the magnetizing potential, r f is the excitation resistance, u D is the potential on the d-axis of the damping winding, r D is the d-axis resistance of the damping winding, i D is the current on the d-axis of the damping winding, δ is the power angle, H is the inertia constant of the synchronous motor, T m is the mechanical input torque of the motor, T e is the electromagnetic torque.
5. According to the power rapid response control method of the inertia flywheel system of claim 4, the calculation formula of the reactance parameter and the resistance parameter in the state equation of the synchronous motor is: in, x l is the stator leakage reactance, x d is the d-axis synchronous reactance, x q is the q-axis synchronous reactance, x′ d is the d-axis transient reactance, x″ d is the d-axis transient reactance, x″ q is the q-axis subtransient reactance, T′ d0 is the d-axis transient open circuit time constant, T″ d0 is the d-axis subtransient open circuit time constant, T″ q0 is the q-axis subtransient open-circuit time constant.
6. The power rapid response control method of the inertia flywheel system according to claim 2, characterized in that: The calculating the fitness according to the output power of the synchronous motor at each moment comprises: Calculating a power deviation value according to the target power and the output power; The fitness is calculated according to the power deviation value, wherein, The calculation function of the fitness is: Among them, t0 is the current time, t0+T is the final time calculated iteratively according to the state equation of the synchronous motor, T is the target time, ΔP(t) is the deviation between the target power and the output power at time t, and f is the fitness.
7. A current controller, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power rapid response control method for the inertial flywheel system according to any one of claims 1 to 6.
8. An inertia flywheel system, characterized in that: include: Flywheel rotors and synchronous motors; An electromagnetic coupler, wherein the electromagnetic coupler comprises an outer rotor and an inner rotor, the flywheel rotor is connected to the inner rotor of the electromagnetic coupler via a mechanical shaft, the outer rotor of the electromagnetic coupler is connected to the rotor of the synchronous motor via a mechanical shaft, the rotor speed of the synchronous motor is maintained at the industrial frequency speed, and the stator winding is connected to the power grid; The current converter as claimed in claim 7.
9. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed, the power rapid response control method of the inertia flywheel system according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed, the power rapid response control method of the inertia flywheel system according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Inertia flywheel control method and system based on reinforcement learning
CN119596767A
