Micro-grid frequency modulation control method and device, storage medium and equipment

By using state space models, sagging controllers and neural fuzzy controllers in the microgrid to adjust the charging and discharging behavior of electric vehicles, the problem of inaccurate microgrid frequency adjustment is solved, and the stability of system frequency and energy efficiency are improved.

CN119010095AInactive Publication Date: 2024-11-22GAC AION NEW ENERGY AUTOMOBILE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411496862.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The frequency adjustment of the existing microgrid control methods is not accurate enough, which can easily lead to frequency fluctuations and affect system stability.

Method used

The frequency regulation control method based on the microgrid state space model is adopted, combined with the sag controller and the neural fuzzy controller, and by calculating the system frequency deviation and power change, the charging and discharging behavior of electric vehicles is intelligently adjusted to ensure the stability of the microgrid frequency.

Benefits of technology

Accurate adjustment and stable control of the frequency of microgrid system is achieved, energy utilization efficiency is improved, dependence on traditional energy is reduced, and operating costs and environmental impact is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010095A_ABST
    Figure CN119010095A_ABST
Patent Text Reader

Abstract

The invention provides a micro-grid frequency modulation control method and device, a storage medium and equipment, and the method comprises the steps: building a micro-grid state space model to describe the state change of all subsystems in a micro-grid and the influence of the state change on the system frequency deviation, and providing the information of the overall operation state of a micro-grid system through the micro-grid state space model, the droop controller adjusts the charging and discharging behaviors of the electric vehicle according to the information so as to maintain the stability of the system frequency, and after the droop controller carries out control by adjusting the charging and discharging behaviors of the electric vehicle, if the system frequency deviation is still higher than the frequency deviation upper limit value, the droop controller is started. And if yes, calculating more appropriate charging and discharging power of the electric vehicle through the neural fuzzy controller, thereby more accurately controlling the charging and discharging behaviors of the electric vehicle. In this way, frequency control of the micro-grid is completed by integrating the state space model, the droop control technology and the neural fuzzy control mechanism, and accurate adjustment and stable control of the frequency of the micro-grid system are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of microgrid technology, and in particular to a microgrid frequency modulation control method, device, storage medium and equipment. Background Art

[0002] Energy storage system is an important component in Micro-Grid (MG) because it is an intelligent way to overcome potential power imbalance challenges and can respond immediately under load change conditions. With the emergence of electric vehicles, the concept of vehicle to grid (V2G) has been developed, and electric vehicle batteries are used to narrow the power generation gap when renewable energy does not reach the expected output. Therefore, electric vehicles are regarded as mobile energy storage systems with the ability to provide auxiliary services for microgrids. However, the frequency regulation of existing microgrid control methods is not precise enough, which easily leads to frequency fluctuations and affects system stability. Summary of the invention

[0003] The purpose of this application is to provide a microgrid frequency regulation control method, device, storage medium and equipment, aiming to solve the problem that the frequency regulation of the microgrid control method in the related art is not accurate enough, which easily leads to frequency fluctuations and affects the stability of the system.

[0004] In a first aspect, the present application provides a microgrid frequency regulation control method, which is applied to electric vehicles, and includes: calculating the system frequency deviation of the currently connected microgrid based on a microgrid state space model; the microgrid state space model characterizes the dynamic characteristics of the microgrid through the power changes of each subsystem of the microgrid and the system frequency deviation; controlling the charging and discharging behavior of the electric vehicle through a droop controller according to the relationship between the system frequency deviation and a preset frequency deviation upper limit value and a frequency deviation lower limit value; after the droop controller controls the charging and discharging behavior of the electric vehicle, if the system frequency deviation is higher than the preset frequency deviation upper limit value, calculating the charging and discharging power value based on the system frequency deviation and the allowable charging and discharging amount through a neural fuzzy controller, and controlling the charging and discharging of the electric vehicle based on the charging and discharging power value.

[0005] In the above implementation process, a microgrid state space model is established to describe the state changes of all subsystems in the microgrid and their impact on the system frequency deviation. The microgrid state space model provides information on the overall operating status of the microgrid system, and the droop controller adjusts the charging and discharging behavior of the electric vehicle based on this information to maintain the stability of the system frequency. After the droop controller has adjusted the charging and discharging behavior of the electric vehicle for control, if the system frequency deviation is still higher than the upper limit of the frequency deviation, the neuro-fuzzy controller calculates a more appropriate charging and discharging power of the electric vehicle, thereby more accurately controlling the charging and discharging behavior of the electric vehicle. In this way, the frequency control of the microgrid is completed by integrating the state space model, droop control technology and neuro-fuzzy control mechanism, and the precise regulation and stable control of the frequency of the microgrid system is achieved.

[0006] Furthermore, in some examples, the subsystems of the microgrid include a reheat steam turbine power generation system, a wind power generation system, a photovoltaic power generation system, an electric vehicle and the load of the microgrid; the power changes of the reheat steam turbine power generation system, the wind power generation system and the photovoltaic power generation system are calculated based on the reheat steam turbine power generation system model, the wind power generation system model and the photovoltaic power generation system model, respectively; the reheat steam turbine power generation system model is used to describe the operating characteristics of the reheat steam turbine power generation system; the wind power generation system model is used to describe the operating characteristics of the wind power generation system; and the photovoltaic power generation system model is used to describe the operating characteristics of the photovoltaic power generation system.

[0007] In the above implementation process, corresponding mathematical models are established for several power generation devices in the microgrid to simulate and analyze their operating characteristics, so as to calculate their respective output powers and obtain the required output power change, which lays a good foundation for the subsequent precise adjustment of the frequency of the microgrid system.

[0008] Further, in some examples, the microgrid state space model is expressed as the following formula:

[0009] In the formula, is the output power variation of the reheat steam turbine power generation system; is the output power variation of the wind power generation system; is the output power change of the photovoltaic power generation system; is the output power change of the electric vehicle; is the power demand change of the load of the microgrid; is the system frequency deviation; is the inertia of the microgrid.

[0010] In the above implementation process, a representation method of the microgrid state space model is provided. Through the above formula, the current system frequency deviation can be quickly calculated.

[0011] Further, in some examples, the reheat steam turbine power generation system model calculates the output power of the reheat steam turbine power generation system based on the following formula:

[0012] In the formula, is the output power of the reheat steam turbine power generation system; is a control input for the reheat steam turbine power generation system; is the speed regulation coefficient of the reheat steam turbine power generation system; is the speed regulation time constant; is the reheater time constant; is the time constant of the reheat steam turbine power generation system; is the reheater gain of the reheat steam turbine power generation system; is the complex frequency variable in Laplace transform, used to represent dynamic changes in the time domain; The wind power generation system model calculates the output power of the wind power generation system based on the following formula:

[0013] In the formula, is the output power of the wind power generation system; The working efficiency of the wind power generation system; is the blade tip speed ratio; is the blade pitch angle; is the air density; is the actual wind speed; is the cut-in wind speed; is the rated wind speed; The photovoltaic power generation system model calculates the output power of the photovoltaic power generation system based on the following formula:

[0014] In the formula, is the output power of the photovoltaic power generation system; is the power generation efficiency of the photovoltaic panels of the photovoltaic power generation system; is the equivalent number of plates; is the effective area of ​​the photovoltaic panel; is the solar irradiance irradiated on the photovoltaic panel within a certain period of time.

[0015] In the above implementation process, a representation method of each of the reheat turbine power generation system model, the wind power generation system model and the photovoltaic power generation system model is provided. Through the above formulas, the controller can accurately obtain the output power change of each power generation unit in the microgrid. Since the characteristics and dynamic responses of different energy sources are comprehensively considered, the stability and reliability of the microgrid system frequency can be effectively improved.

[0016] Further, in some examples, the charging and discharging behavior of the electric vehicle is controlled according to the relationship between the system frequency deviation and the preset frequency deviation upper limit value and the frequency deviation lower limit value, including: when the system frequency deviation is between the preset frequency deviation upper limit value and the frequency deviation lower limit value, controlling the battery of the electric vehicle to perform normal functions; when the system frequency deviation is less than the preset frequency deviation lower limit value, activating the discharge state of the electric vehicle, and if the initial state of charge of the battery of the electric vehicle is greater than or equal to the target state of charge, setting the electric vehicle to discharge, otherwise disconnecting the battery; when the system frequency deviation is greater than the preset frequency deviation upper limit value, activating the charging state of the electric vehicle, and if the target state of charge is greater than or equal to the initial state of charge and less than or equal to the final state of charge of the battery, setting the electric vehicle to charge, otherwise disconnecting the battery.

[0017] In the above implementation process, a specific method is provided for the droop controller to control the charging and discharging behavior of the electric vehicle according to the system frequency deviation. Through intelligent charging and discharging regulation, the energy reserve of the electric vehicle can be utilized to the maximum extent, thereby effectively improving the energy utilization efficiency.

[0018] Furthermore, in some examples, it also includes: The charging and discharging power response speed of the electric vehicle is adjusted according to the droop control coefficient by a droop controller; the droop control coefficient is expressed as the following formula:

[0019] In the formula, is the droop control coefficient; is the initial state of charge; is the final state of charge; is the exponential speed parameter.

[0020] In the above implementation process, a droop control coefficient is set inside the droop controller, which maintains the stability of the system frequency by adjusting the charging and discharging power response speed of the electric vehicle, and adds an exponential speed parameter of the charge ratio to increase the speed at which the energy storage unit charge state reaches the expected value.

[0021] Furthermore, in some examples, it also includes: The droop control coefficient is optimized using a genetic algorithm; the fitness function of the genetic algorithm is expressed as the following formula:

[0022]

[0023] In the formula, is the fitness function; is the population size; is the reference frequency deviation; For the Individuals of a population; A function for calculating the system frequency deviation with respect to the droop control coefficient.

[0024] In the above implementation process, a genetic algorithm is used to solve the optimal droop control coefficient of the droop controller. By calculating the fitness function, the performance of each individual is evaluated, and the optimal parameters are applied to the droop controller, thereby effectively improving the frequency stability of the microgrid system.

[0025] In a second aspect, a microgrid frequency regulation control device provided in the present application is applied to electric vehicles, comprising: a deviation calculation module, which is used to calculate the system frequency deviation of the currently connected microgrid based on a microgrid state space model; the microgrid state space model characterizes the dynamic characteristics of the microgrid through the power changes of each subsystem of the microgrid and the system frequency deviation; a behavior control module, which is used to control the charging and discharging behavior of the electric vehicle through a droop controller according to the relationship between the system frequency deviation and a preset frequency deviation upper limit value and a preset frequency deviation lower limit value; a power control module, which is used to calculate the charging and discharging power value based on the system frequency deviation and the allowable charging and discharging amount through a neural fuzzy controller after the droop controller controls the charging and discharging behavior of the electric vehicle, if the system frequency deviation is higher than the preset frequency deviation upper limit value, and control the charging and discharging of the electric vehicle based on the charging and discharging power value.

[0026] In a third aspect, the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.

[0027] In a fourth aspect, the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.

[0028] In a fifth aspect, the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.

[0029] Other features and advantages disclosed in the present application will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology disclosed in the present application.

[0030] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 A flow chart of a microgrid frequency regulation control method provided in an embodiment of the present application; Figure 2 A schematic diagram of the overall architecture of an electric vehicle integrated independent microgrid intelligent frequency regulation control solution based on adaptive droop control provided in an embodiment of the present application; Figure 3 A block diagram of a microgrid frequency regulation control device provided in an embodiment of the present application; Figure 4 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0034] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0035] As described in the background technology, the microgrid control method in the related art has the problem that the frequency regulation is not accurate enough, which easily leads to frequency fluctuation and affects the stability of the system. Based on this, the embodiment of the present application provides a microgrid frequency regulation control solution to solve the above problem.

[0036] Next, the embodiments of the present application are introduced: like Figure 1 As shown, Figure 1 This is a flow chart of a microgrid frequency control method provided by an embodiment of the present application. The method is applied to electric vehicles. When the electric vehicle is connected to the microgrid, the controller of the electric vehicle can implement the control method of the present application to reasonably adjust the power of the electric vehicle, thereby improving the frequency stability of the microgrid system.

[0037] The method comprises: Step 101: Calculate the system frequency deviation of the currently connected microgrid based on the microgrid state space model; the microgrid state space model characterizes the dynamic characteristics of the microgrid through the power changes of each subsystem of the microgrid and the system frequency deviation; The state space model is a dynamic time domain model that uses implicit time as an independent variable. It is used to describe and analyze the behavior of dynamic systems. By explicitly modeling the potential states in the time series, it can capture complex dynamic structures. In this embodiment, a microgrid state space model is established to describe all subsystems of the microgrid, that is, the state changes of each power generation unit and energy storage system and their impact on the system frequency deviation, so that the dynamic behavior of the entire microgrid can be analyzed and adjusted.

[0038] In some embodiments, the subsystems of the microgrid mentioned in this step include a reheat steam turbine power generation system, a wind power generation system, a photovoltaic power generation system, an electric vehicle, and the load of the microgrid. That is to say, the independent microgrid structure is composed of a reheat steam turbine power generation system, a wind power generation system, a photovoltaic power generation system, an electric vehicle, and the load of the microgrid, wherein the reheat steam turbine power generation system provides the main power, and other renewable energy sources are introduced to utilize the maximum output power. The intermittent nature of renewable energy power supply leads to power fluctuations, which in turn produces frequency deviations. To offset these effects, electric vehicles are included in an independent microgrid environment, and are used as a supplement to the energy storage system based on the charging and discharging functions of the batteries of electric vehicles. The load of the microgrid mainly refers to the power demand of non-vehicle electrical equipment in the microgrid. In this way, by integrating electric vehicles as energy storage units, the installation cost of additional energy storage equipment can be avoided, and the overall efficiency and sustainability of the system can be improved. In implementation, the power changes of the reheat steam turbine power generation system, the wind power generation system and the photovoltaic power generation system can be calculated based on the reheat steam turbine power generation system model, the wind power generation system model and the photovoltaic power generation system model respectively; the reheat steam turbine power generation system model is used to describe the operating characteristics of the reheat steam turbine power generation system; the wind power generation system model is used to describe the operating characteristics of the wind power generation system; the photovoltaic power generation system model is used to describe the operating characteristics of the photovoltaic power generation system. In other words, for several power generation devices of the microgrid, corresponding mathematical models are established to simulate and analyze their operating characteristics, so as to calculate their respective output powers, and then obtain the required output power changes, which lays a good foundation for the subsequent precise adjustment of the frequency of the microgrid system.

[0039] Further, in some embodiments, the microgrid state space model is expressed as the following formula:

[0040] In the formula, is the output power variation of the reheat steam turbine power generation system; is the output power variation of the wind power generation system; is the output power change of the photovoltaic power generation system; is the output power change of the electric vehicle; is the power demand change of the load of the microgrid; is the system frequency deviation; is the inertia of the microgrid. The inertia here refers to the ability of the microgrid system to maintain a stable frequency when the load suddenly increases or decreases, that is, it reflects the resistance to frequency changes in the microgrid, which can be a time coefficient in seconds. This formula reflects the interaction between all subsystems of the microgrid and describes their dynamic characteristics through state variables such as system frequency deviation and power change. Therefore, after the controller of the electric vehicle obtains the power change of each power generation unit, energy storage system and load in the microgrid, it substitutes it into the above formula to quickly calculate the current system frequency deviation.

[0041] Also, in some embodiments, the reheat steam turbine power generation system model may calculate the output power of the reheat steam turbine power generation system based on the following formula:

[0042] In the formula, is the output power of the reheat steam turbine power generation system; is a control input for the reheat steam turbine power generation system; is the speed regulation coefficient of the reheat steam turbine power generation system; is the speed regulation time constant; is the reheater time constant; is the time constant of the reheat steam turbine power generation system; is the reheater gain of the reheat steam turbine power generation system; is the complex frequency variable in Laplace transform, used to represent dynamic changes in the time domain; The wind power generation system model calculates the output power of the wind power generation system based on the following formula:

[0043] In the formula, is the output power of the wind power generation system; The working efficiency of the wind power generation system; is the blade tip speed ratio; is the blade pitch angle; is the air density; is the actual wind speed; is the cut-in wind speed; is the rated wind speed; The photovoltaic power generation system model calculates the output power of the photovoltaic power generation system based on the following formula:

[0044] In the formula, is the output power of the photovoltaic power generation system; is the power generation efficiency of the photovoltaic panels of the photovoltaic power generation system; is the equivalent number of plates; is the effective area of ​​the photovoltaic panel; is the solar irradiance irradiated on the photovoltaic panel within a certain period of time.

[0045] Through the above formulas, the controller can accurately obtain the output power change of each power generation unit in the microgrid. By comprehensively considering the characteristics and dynamic responses of different energy sources, the precise regulation and stable control of the frequency of the microgrid system is achieved.

[0046] Step 102: Controlling the charging and discharging behavior of the electric vehicle according to the relationship between the system frequency deviation and a preset frequency deviation upper limit and frequency deviation lower limit through a droop controller; In this embodiment, a droop controller is designed. The droop controller here can be considered as a controller based on droop characteristics. The microgrid state space model provides information about the overall operating status of the system, and the droop controller adjusts the charging and discharging behavior of the electric vehicle based on this information to maintain the stability of the system frequency. When implementing, set the system frequency deviation The upper and lower limits of the frequency deviation and frequency deviation lower limit , to avoid the system repeatedly switching between charging and discharging states.

[0047] Specifically, in some embodiments, the control of the charging and discharging behavior of the electric vehicle according to the relationship between the system frequency deviation and the preset frequency deviation upper limit value and the frequency deviation lower limit value mentioned in this step may include: when the system frequency deviation is between the preset frequency deviation upper limit value and the frequency deviation lower limit value, controlling the battery of the electric vehicle to perform normal functions; when the system frequency deviation is less than the preset frequency deviation lower limit value, activating the discharge state of the electric vehicle, and if the initial state of charge of the battery of the electric vehicle is greater than or equal to the target state of charge, setting the electric vehicle to discharge, otherwise disconnecting the battery; when the system frequency deviation is greater than the preset frequency deviation upper limit value, activating the charging state of the electric vehicle, and if the target state of charge is greater than or equal to the initial state of charge and less than or equal to the final state of charge of the battery, setting the electric vehicle to charge, otherwise disconnecting the battery. That is, the droop controller executes the following control strategy: when When the battery performs normal functions; when When the discharge state of the electric vehicle is activated, if , the electric vehicle is set to discharge, otherwise the battery is disconnected, where is the initial state of charge of the battery of the electric vehicle, is the target state of charge; when When the charging state of the electric vehicle is activated, if , the electric vehicle is set to charge, otherwise the battery is disconnected, where is the final state of charge of the battery of the electric vehicle. The final state of charge can be determined based on the ratio of the electric vehicle's mileage to its maximum mileage. According to the initial state of charge , Charging current , Total charging time and the average capacity of the battery It is estimated that In this way, through intelligent charging and discharging regulation, the controller can maximize the use of the energy reserves of electric vehicles, thereby effectively improving energy utilization efficiency.

[0048] In some embodiments, the method further includes: adjusting the charging and discharging power response speed of the electric vehicle according to a droop control coefficient through a droop controller; the droop control coefficient is expressed as the following formula:

[0049] In the formula, is the droop control coefficient; is an exponential speed parameter. That is to say, the droop control coefficient is set, which is mainly used to adjust the charging and discharging behavior of the electric vehicle inside the droop controller. It maintains the stability of the system frequency by adjusting the charging and discharging power response speed of the electric vehicle, and adds the exponential speed parameter of the charge ratio to increase the speed at which the energy storage unit charge state reaches the expected value.

[0050] Furthermore, in some embodiments, the method further comprises: optimizing the droop control coefficient using a genetic algorithm; the fitness function of the genetic algorithm is expressed as the following formula:

[0051]

[0052] In the formula, is the fitness function; is the population size; is the reference frequency deviation; For the Individuals of a population; is a function for calculating the system frequency deviation with respect to the droop control coefficient. That is, a genetic algorithm is used to solve the optimal droop control coefficient of the droop controller, and the performance of each individual is evaluated by calculating the fitness function, and the optimal parameters are applied to the droop controller, thereby effectively improving the frequency stability of the microgrid system.

[0053] Step 103: After the droop controller controls the charging and discharging behavior of the electric vehicle, if the system frequency deviation is higher than a preset frequency deviation upper limit, a charge and discharge power value is calculated according to the system frequency deviation and the allowable charge and discharge amount through a neural fuzzy controller, and the electric vehicle is controlled to charge and discharge based on the charge and discharge power value.

[0054] In this embodiment, when the droop controller has controlled the charging and discharging behavior of the electric vehicle and the system frequency deviation is still higher than the upper limit, the neuro-fuzzy controller intervenes. At this time, the neuro-fuzzy controller will further refine the adjustment and calculate a more appropriate charging and discharging power of the electric vehicle, so as to control the charging and discharging behavior of the electric vehicle in a more precise manner, help the system frequency return to the rated value, and thus achieve precise control of the frequency of the independent microgrid.

[0055] Specifically, during implementation, the neuro-fuzzy controller mentioned in this step can be a dual-output single-output model controller, with the system frequency deviation and the allowable charge and discharge amount as model inputs and the charge and discharge power value as model output.

[0056] In the embodiment of the present application, a microgrid state space model is established to describe the state changes of all subsystems in the microgrid and their impact on the system frequency deviation. The microgrid state space model provides information on the overall operating state of the microgrid system, and the droop controller adjusts the charging and discharging behavior of the electric vehicle based on this information to maintain the stability of the system frequency. After the droop controller has adjusted the charging and discharging behavior of the electric vehicle for control, if the system frequency deviation is still higher than the upper limit of the frequency deviation, a more appropriate charging and discharging power of the electric vehicle is calculated by the neuro-fuzzy controller, thereby more accurately controlling the charging and discharging behavior of the electric vehicle. In this way, the frequency control of the microgrid is completed by integrating the state space model, droop control technology and neuro-fuzzy control mechanism, and the precise regulation and stable control of the frequency of the microgrid system is achieved.

[0057] In order to explain the solution of this application in more detail, a specific embodiment is introduced below: This embodiment provides an electric vehicle integrated independent microgrid intelligent frequency control solution based on adaptive droop control. The overall architecture of this embodiment is as follows Figure 2 As shown, the program includes the following parts: S201, design of state space model of independent microgrid; Specifically, Figure 2 As shown in Figure 1, the independent microgrid structure includes a reheat steam turbine system, a wind power generation system, a photovoltaic power generation system, the load of the microgrid, and electric vehicles. In order to achieve independent microgrid frequency regulation integrating renewable energy and electric vehicles, the state space model of the independent microgrid is designed as follows:

[0058] in, is the inertia of the microgrid; is the system frequency deviation; , , and They represent the output power changes of the reheat steam turbine system, wind power generation system, photovoltaic power generation system and electric vehicle respectively; Represents the power demand change of all non-vehicle electrical equipment in the microgrid, that is, the load; According to the above formula, the related systems involved in the system frequency regulation are briefly designed, including: Reheat turbine system design: RTS (Reheat Turbine System) can adjust its output power according to the change of load demand. The RTS model can be used to calculate , the first-order transfer function of the RTS model is as follows:

[0059] in, Indicates the output power of RTS; Represents the control input of RTS; Indicates the speed adjustment coefficient of RTS; , and They represent the speed regulation time constant, reheater time constant and RTS time constant respectively; is the reheater gain of RTS, which participates in the frequency control of the microgrid; is the complex frequency variable in Laplace transform, used to represent dynamic changes in the time domain; Wind power generation system design: A wind power generation system is a device that converts wind energy into electrical energy. In a microgrid, a wind power generation system is usually used as one of the renewable energy power supply devices to provide clean and sustainable electricity for the microgrid. Output power of a wind power generation system It can be calculated based on the following formula:

[0060] in, Indicates the working efficiency of the wind power generation system; Indicates the air density; Indicates the rated power of the fan; represents the wind speed. Further, The value of blade tip speed ratio and blade pitch angle Influence, combined with the time-varying wind speed, the output power of the wind power generation system The calculation formula can be expressed as:

[0061] in, is the actual wind speed; , Respectively represent the rated wind speed and cut-in wind speed; Photovoltaic power generation system design: Photovoltaic power generation system is the preferred resource among renewable energy sources. Its output is affected by solar radiation and therefore changes with the day, night and seasons. Microgrids need to adjust the energy supply and demand balance according to the matching degree between the output power of the photovoltaic power generation system and the load demand to ensure the stable operation of the microgrid system. The output power of the photovoltaic power generation system within a certain period of time It can be calculated based on the following formula:

[0062] in, Indicates the power generation efficiency of the photovoltaic panels of the photovoltaic power generation system; Indicates the determined number of equivalent plates; Represents the effective area of ​​the photovoltaic panel; It indicates the solar irradiance that hits the photovoltaic panel within a certain period of time; The above RTS, wind power generation system and photovoltaic power generation system provide electric energy for the microgrid system. The AC load and DC load on the power consumption side are connected to the AC bus through the power conversion device, and the electric vehicle is supplemented with electric energy through the DC charging pile. S202. Design of charging and discharging model for electric vehicles in microgrid frequency regulation; Specifically, the charging and discharging model here is used to control the charging and discharging behavior of electric vehicles according to the target parameters, which include the system frequency deviation provided by the independent microgrid state model and electric vehicle charging load Etc.; Among them, the charging power of electric vehicles It can be calculated based on the following formula:

[0063] in, Indicates the state of charge of the electric vehicle battery; Indicates the rated capacity of a single battery in an electric vehicle; Charging efficiency for electric vehicles; Indicates the charging time of an electric vehicle; Electric vehicle charging load Determined by the number of electric vehicles and the charging power, it can be expressed as:

[0064] in, for Moment Car No. The charging power of the subsample; is the number of samplings; represents the total number of electric vehicles connected to the microgrid; Frequency droop control means that in a microgrid, when the load increases, the generator reduces its output frequency to increase the output power of the generator. This control strategy is mainly used to adjust the frequency in the microgrid to ensure that the power system in the microgrid can maintain a stable frequency. In this embodiment, the charging and discharging model includes a droop controller, which receives information about frequency changes, initial charging state, and current charging state of the battery, and sends a signal to the battery of the electric vehicle in combination with the power condition of the microgrid to control its charging and discharging behavior; Among them, set the system frequency deviation Upper limit and lower limit To avoid the system from switching repeatedly between charging and discharging states, the droop controller implements the following control strategy: When the battery performs normal functions; when When the discharge state of the electric vehicle is activated, if , the electric vehicle is set to discharge, otherwise the battery is disconnected; when When the charging state of the electric vehicle is activated, if , then the electric vehicle is set to charge, otherwise the battery is disconnected; In the above control strategy, is the initial state of charge of the battery of the electric vehicle, which depends on the mileage of the electric vehicle With maximum mileage The ratio of ; is the target state of charge; is the final state of charge of the battery, which can be calculated based on the initial state of charge , Charging current , Total charging time and the average capacity of the battery It is estimated that ; Charging Current according to When the capacity of the energy storage units is the same, the greater the current difference between the energy storage units, the greater the charge difference. At the same time, the charging current and droop control coefficient In order to increase the speed at which the energy storage unit charge state reaches the expected speed, an exponential speed parameter of the charge ratio is added. , then the droop control coefficient can be expressed as:

[0065] In addition, when the droop controller has been controlling by adjusting the charging and discharging behavior, if the system frequency deviation is still higher than its upper limit, the droop controller sends a signal to the neuro-fuzzy controller to reduce the RTS speed to restore the frequency to the rated value; S203, neuro-fuzzy controller design; Specifically, in the present embodiment, the electric vehicle intelligent charging and discharging system includes an SOC calculation unit, a neural fuzzy controller and a virtual synchronous machine system. When the electric vehicle is at a charging station, the charging pile receives the SOC, rated capacity and other related information from the battery pack of the electric vehicle and transmits them to the SOC calculation unit. The SOC calculation unit calculates the energy to be charged and discharged, and calculates the charging and discharging power of the electric vehicle through the neural fuzzy controller in combination with the system frequency deviation. The calculation result is output to the virtual synchronous machine system to control the charging and discharging of the electric vehicle. When implemented, the allowable charge and discharge capacity of electric vehicles / Calculated based on the following formula:

[0066] in, Indicates the power demand value of electric vehicles; Indicates the allowable discharge amount; , , Respectively represent the terminal voltage, rated capacity and current power of the electric vehicle battery pack; , Respectively represent the maximum allowable state of charge and the minimum allowable state of charge of the battery pack; the allowable range of battery power is ; The system frequency deviation and allowable charge and discharge capacity / As the input of the neuro-fuzzy controller, the charging and discharging power output by the neuro-fuzzy controller is obtained / ; Among them, the neuro-fuzzy controller has five layers of networks, and its rules are:

[0067]

[0068] in, , is a fuzzy set; , , is the adaptive parameter; In the neuro-fuzzy controller, the first layer is the membership layer, which calculates the fuzzy language of the input data mapping fuzzy set according to the membership function, which can be expressed as:

[0069]

[0070]

[0071] in, and represents the membership function, that is , right , The degree of mapping; The second layer is the rule layer, which calculates the fitness of each input to each rule, corresponding to the output and weight of each rule, which can be expressed as:

[0072] The third layer is the normalization layer, which summarizes the output calculations of the upper layer, which can be expressed as:

[0073] The fourth layer is the calculation layer, which calculates the output of each rule, which can be expressed as:

[0074] The fifth layer is the defuzzification layer, which can be expressed as:

[0075] After the neural fuzzy controller is established, the model output can be gradually made close to the expected output through parameter adjustment optimization. In addition, the input rule language of the neural fuzzy controller can include: System frequency deviation Fuzzy Language: Domain Interval , fuzzy subset ,in Indicates that the system frequency deviation is less than the rated frequency, that is ; Indicates that the system frequency deviation is close to the rated frequency, that is ; Indicates that the system frequency deviation is greater than the rated frequency. ; Charging power Fuzzy Language: Domain Interval , fuzzy subset ,in It means that the battery needs very little charging power, that is, the SOC is close to the upper limit value; It means that the battery needs less charging power, that is, the SOC is in a high state; Indicates that the battery requires a medium amount of charge, that is, the SOC is in a medium state; It means that the battery needs to be charged with a large amount of electricity, that is, the SOC is in a low state; It means that the battery needs to be charged very much, that is, the SOC is close to the lower limit; Discharge energy Fuzzy Language: Domain Interval , fuzzy subset , meaning and charging energy The fuzzy language is the same; Correlate the output of the neuro-fuzzy controller to obtain the final charging and discharging power of the electric vehicle :

[0076] Among them, when When , the electric vehicle is in the discharge state; when When , the electric vehicle is in charging state; S204, using a genetic algorithm to solve an optimal droop control coefficient; Specifically, in order to obtain good performance results from the controller, a genetic algorithm is introduced to enable the system to accurately find the optimal droop control coefficient of the droop controller; when implementing, the fitness function of the genetic algorithm is first set for:

[0077]

[0078] in, is the reference frequency deviation; is the population size, which can be 50; For the Individuals of a population; is a function for calculating the system frequency deviation with respect to the droop control coefficient; Afterwards, the droop control coefficients that need to be optimized in the droop control are encoded into the genotype of the genetic algorithm; the performance of each individual is evaluated by calculating the fitness function; according to the fitness function, individuals with higher fitness are selected as parents, and new individuals are generated through crossover and mutation operations to update the population; the selection, crossover and mutation operations are repeated, and when the termination condition is reached, the individual with the best fitness, that is, the best parameter setting, is selected and applied to the droop control system to improve the frequency stability of the microgrid system; S205, implementation of frequency regulation of electric vehicle integrated independent microgrid; Specifically, an integrated independent microgrid in electric vehicles is designed, and the system frequency is reasonably limited by a neuro-fuzzy controller and a droop controller, wherein the reheat turbine system provides the main power. In order to utilize the maximum output power, other renewable energy sources are introduced. Considering that their intermittent nature will cause power fluctuations and thus frequency deviations, therefore, to offset these effects, electric vehicles are included in the independent microgrid environment, and according to the charging and discharging functions of the batteries of electric vehicles, this is used as a supplement to the energy storage system.

[0079] The scheme of this embodiment has at least the following advantages: First, by integrating electric vehicles and adaptive droop control technology, accurate control of the frequency of independent microgrids is achieved, effectively coping with the stability and reliability challenges brought by frequency fluctuations; Second, through adaptive control strategies and intelligent adjustment mechanisms, the energy reserves of renewable energy and electric vehicles are utilized to the greatest extent, the utilization efficiency of clean energy is improved, and the dependence on traditional fossil fuels such as coal is reduced; Third, the frequency adaptive controller can monitor and adjust the frequency of the microgrid in real time to ensure that the power grid operates in a safe and stable working state, while ensuring the power supply quality and the user's power experience; Fourth, through intelligent frequency control strategies, human intervention and energy waste are reduced, the operating cost of the microgrid is reduced, and at the same time, the adverse impact on the environment is reduced, and sustainable development is promoted.

[0080] Corresponding to the embodiments of the aforementioned method, the present application also provides embodiments of a microgrid frequency regulation control device and a terminal used therein: like Figure 3 As shown, Figure 3 : is a block diagram of a microgrid frequency regulation control device provided in an embodiment of the present application, the device is applied to an electric vehicle, and includes: The deviation calculation module 31 is used to calculate the system frequency deviation of the currently connected microgrid based on the microgrid state space model; the microgrid state space model characterizes the dynamic characteristics of the microgrid through the power change of each subsystem of the microgrid and the system frequency deviation; A behavior control module 32, configured to control the charging and discharging behavior of the electric vehicle through a droop controller according to the relationship between the system frequency deviation and a preset frequency deviation upper limit value and a frequency deviation lower limit value; The power control module 33 is used to calculate the charging and discharging power value according to the system frequency deviation and the allowable charging and discharging amount through the neural fuzzy controller after the droop controller controls the charging and discharging behavior of the electric vehicle, if the system frequency deviation is higher than the preset frequency deviation upper limit, and control the charging and discharging of the electric vehicle based on the charging and discharging power value.

[0081] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.

[0082] This application also provides an electronic device, see Figure 4 , Figure 4 A block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 410, a communication interface 420, a memory 430, and at least one communication bus 440. The communication bus 440 is used to realize direct connection and communication between these components. The communication interface 420 of the electronic device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 410 may be an integrated circuit chip with signal processing capabilities.

[0083] The processor 410 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 410 can also be any conventional processor, etc.

[0084] The memory 430 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory 430 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 410, the electronic device may execute the above-mentioned Figure 1 The method embodiment involves various steps.

[0085] Optionally, the electronic device may further include a storage controller and an input / output unit.

[0086] The memory 430, storage controller, processor 410, peripheral interface, input and output unit components are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 440. The processor 410 is used to execute executable modules stored in the memory 430, such as software function modules or computer programs included in the electronic device.

[0087] The input and output unit is used to provide users with the task creation and to create a start optional time period or preset execution time for the task to realize the interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.

[0088] Understandably, Figure 4 The structure shown is for illustration only, and the electronic device may also include Figure 4 More or fewer components as shown, or with Figure 4 Different configurations shown. Figure 4 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0089] An embodiment of the present application further provides a storage medium having instructions stored thereon. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described here.

[0090] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the method embodiment.

[0091] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0092] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0093] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0094] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0095] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0096] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A microgrid frequency control method, characterized in that: Applications in electric vehicles, including: Based on a microgrid state space model, a system frequency deviation of a currently connected microgrid is calculated; the microgrid state space model characterizes the dynamic characteristics of the microgrid through the power variation of each subsystem of the microgrid and the system frequency deviation; By means of a droop controller, the charging and discharging behavior of the electric vehicle is controlled according to the relationship between the system frequency deviation and a preset frequency deviation upper limit value and a preset frequency deviation lower limit value; After the droop controller controls the charging and discharging behavior of the electric vehicle, if the system frequency deviation is higher than a preset frequency deviation upper limit, a neuro-fuzzy controller is used to calculate a charging and discharging power value based on the system frequency deviation and the allowable charging and discharging amount, and the electric vehicle is controlled to charge and discharge based on the charging and discharging power value.

2. The method according to claim 1, characterized in that The subsystems of the microgrid include a reheat steam turbine power generation system, a wind power generation system, a photovoltaic power generation system, an electric vehicle, and a load of the microgrid; The power changes of the reheat steam turbine power generation system, the wind power generation system and the photovoltaic power generation system are calculated based on the reheat steam turbine power generation system model, the wind power generation system model and the photovoltaic power generation system model, respectively; the reheat steam turbine power generation system model is used to describe the operating characteristics of the reheat steam turbine power generation system; the wind power generation system model is used to describe the operating characteristics of the wind power generation system; the photovoltaic power generation system model is used to describe the operating characteristics of the photovoltaic power generation system.

3. The method according to claim 2, characterized in that The microgrid state space model is expressed as the following formula: In the formula, is the output power variation of the reheat steam turbine power generation system; is the output power variation of the wind power generation system; is the output power change of the photovoltaic power generation system; is the output power change of the electric vehicle; is the power demand change of the load of the microgrid; is the system frequency deviation; is the inertia of the microgrid.

4. The method according to claim 3, characterized in that The reheat steam turbine power generation system model calculates the output power of the reheat steam turbine power generation system based on the following formula: In the formula, is the output power of the reheat steam turbine power generation system; is a control input for the reheat steam turbine power generation system; is the speed regulation coefficient of the reheat steam turbine power generation system; is the speed regulation time constant; is the reheater time constant; is the time constant of the reheat steam turbine power generation system; is the reheater gain of the reheat steam turbine power generation system; is the complex frequency variable in Laplace transform, used to represent dynamic changes in the time domain; The wind power generation system model calculates the output power of the wind power generation system based on the following formula: In the formula, is the output power of the wind power generation system; The working efficiency of the wind power generation system; is the blade tip speed ratio; is the blade pitch angle; is the air density; is the actual wind speed; is the cut-in wind speed; is the rated wind speed; The photovoltaic power generation system model calculates the output power of the photovoltaic power generation system based on the following formula: In the formula, is the output power of the photovoltaic power generation system; is the power generation efficiency of the photovoltaic panels of the photovoltaic power generation system; is the equivalent number of plates; is the effective area of ​​the photovoltaic panel; is the solar irradiance irradiated on the photovoltaic panel within a certain period of time.

5. The method according to claim 1, characterized in that The controlling of the charging and discharging behavior of the electric vehicle according to the relationship between the system frequency deviation and the preset frequency deviation upper limit value and frequency deviation lower limit value comprises: When the system frequency deviation is between a preset frequency deviation upper limit value and a preset frequency deviation lower limit value, controlling the battery of the electric vehicle to perform normal functions; When the system frequency deviation is less than a preset frequency deviation lower limit, the discharge state of the electric vehicle is activated, and if the initial state of charge of the battery of the electric vehicle is greater than or equal to the target state of charge, the electric vehicle is set to discharge, otherwise the battery is disconnected; When the system frequency deviation is greater than a preset frequency deviation upper limit, the charging state of the electric vehicle is activated. If the target state of charge is greater than or equal to the initial state of charge and less than or equal to the final state of charge of the battery, the electric vehicle is set to charge, otherwise the battery is disconnected.

6. The method according to claim 5, characterized in that Also includes: The charging and discharging power response speed of the electric vehicle is adjusted according to the droop control coefficient by a droop controller; the droop control coefficient is expressed as the following formula: In the formula, is the droop control coefficient; is the initial state of charge; is the final state of charge; is the exponential speed parameter.

7. The method according to claim 6, characterized in that Also includes: The droop control coefficient is optimized using a genetic algorithm; the fitness function of the genetic algorithm is expressed as the following formula: In the formula, is the fitness function; is the population size; is the reference frequency deviation; For the Individuals of a population; A function for calculating the system frequency deviation with respect to the droop control coefficient.

8. A microgrid frequency control device, characterized in that: Applications in electric vehicles, including: A deviation calculation module is used to calculate the system frequency deviation of the currently connected microgrid based on the microgrid state space model; the microgrid state space model characterizes the dynamic characteristics of the microgrid through the power changes of each subsystem of the microgrid and the system frequency deviation; A behavior control module, used to control the charging and discharging behavior of the electric vehicle through a droop controller according to the relationship between the system frequency deviation and a preset frequency deviation upper limit value and a frequency deviation lower limit value; The power control module is used to calculate the charge and discharge power value according to the system frequency deviation and the allowable charge and discharge amount through a neural fuzzy controller after the droop controller controls the charge and discharge behavior of the electric vehicle, if the system frequency deviation is higher than a preset frequency deviation upper limit, and control the charge and discharge of the electric vehicle based on the charge and discharge power value.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Electric vehicle charging and discharging control method and system, computer equipment and storage medium

    CN114069651A

  • Micro-grid wind-storage-load layered collaborative frequency modulation control method

    CN116231734A

  • Method for electric vehicle to participate in micro-grid frequency control

    CN116979555A

  • Power control system

    JP2013169068A