Grid-connected converter control system and method based on double-machine parallel connection
Through the grid-connected converter control system based on dual-machine parallel connection, CNN network and reinforcement learning algorithm are used for wind speed prediction and control strategy optimization, which solves the problems of insufficient response speed and stability in traditional control methods and realizes the control of power grid frequency fluctuations. Reduced system impact and fewer failures.
Patent Information
- Application Number
- CN202410724407.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-10-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional grid-connected converter control method is difficult to meet the system response speed and stability requirements. Especially when the grid frequency fluctuates greatly or the operating status of the wind turbine changes, it cannot achieve fast and smooth switching, and has poor stability and anti-interference capabilities. Poor, increases the possibility of failure.
A grid-connected converter control system based on dual-machine parallel connection is adopted, including wind speed prediction module, frequency monitoring module, network following control module, network construction control module, parallel control module, cache management module, data communication module, fault diagnosis module, strategy The optimization module and monitoring interaction platform use CNN networks and reinforcement learning algorithms to predict wind speed and optimize control strategies, achieve seamless switching and backup, and improve system response speed and stability.
It reduces the impact of power grid frequency fluctuations on the system, improves response speed and flexibility, enhances system stability and anti-interference capabilities, adapts to different environmental conditions and changes in working conditions, and reduces the possibility of faults.
Smart Images

Figure CN118748432A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid system control, and in particular to a control system and method for a grid-connected converter based on dual parallel machines. Background Art
[0002] As global greenhouse gas emissions and environmental pollution become increasingly serious, the development and utilization of clean energy has become particularly urgent. Among renewable energy sources, wind energy resources are abundant and widely distributed, so wind power has become one of the areas that has received widespread attention and investment. However, unlike traditional fossil energy, wind energy is volatile and unstable, which poses challenges to the reliability and stability of wind power. Traditional grid-connected converter control methods often fail to meet the requirements for system response speed and stability, especially when the grid frequency fluctuates greatly or the operating status of wind turbines changes. Therefore, it is crucial to develop a control system that can achieve fast and smooth switching.
[0003] The existing grid-connected converter control systems and methods are greatly affected by grid frequency fluctuations, and the pressure and load of the grid are large, which reduces the response speed and flexibility of the system and cannot achieve smooth and fast switching between grid-following type and grid-building type; in addition, the existing grid-connected converter control systems and methods have poor stability and anti-interference capabilities, cannot adapt to different environmental conditions and changes in working conditions, and increase the possibility of failure. For this reason, we propose a grid-connected converter control system and method based on dual-machine parallel connection. Summary of the invention
[0004] The purpose of the present invention is to solve the defects in the prior art and to propose a control system and method for a grid-connected converter based on dual parallel machines.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A grid-connected converter control system based on dual parallel machines, comprising a wind speed prediction module, a frequency monitoring module, a grid-following control module, a grid-building control module, a parallel control module, a cache management module, a data communication module, a fault diagnosis module, a strategy optimization module and a monitoring interaction platform;
[0007] The wind speed prediction module is used to collect wind speed information and make future wind speed predictions;
[0008] The frequency monitoring module is used to monitor the fluctuation of the power grid frequency in real time;
[0009] The grid-connected control module is used to execute the grid-connected control strategy and coordinate its power output according to the wind speed prediction and frequency monitoring results;
[0010] The network construction control module is used to switch to the network construction mode and optimize the control parameters in real time when the power grid frequency fluctuates or is unstable;
[0011] The parallel control module is used to build a dual-machine parallel control architecture and achieve seamless switching and backup;
[0012] The cache management module is used to store and manage various power grid data in the system;
[0013] The data communication module is used for data communication with the power grid monitoring center to transmit status information and control instructions of the wind turbine generator set;
[0014] The fault diagnosis module is used to monitor the system operation status and perform fault diagnosis in real time;
[0015] The strategy optimization module is used to optimize the grid connection control and network construction control strategies;
[0016] The monitoring interaction platform is used by operation and maintenance personnel to monitor the system operating status, configuration parameters, and perform operations and adjustments.
[0017] As a further solution of the present invention, the specific steps of future wind speed prediction by the wind speed prediction module are as follows:
[0018] Step 1: Collect historical wind speed data and meteorological data from meteorological stations and remote sensing equipment, clean the collected data, process missing values and outliers, remove noise or abnormal fluctuations, ensure that the data is more complete and accurate, extract features from historical wind speed data, including moving average, maximum and minimum values, and generate time features, divide the historical wind speed data into training sets and test sets in chronological order, and use the sliding window method to generate a fixed-length time series as model input;
[0019] Step 2: The training set is passed into the CNN network as input data, and convolution operations are performed with each group of input data through the convolution layer of the CNN network to generate multiple groups of feature maps. Each group of feature maps is then processed through the ReLU activation function, and the activated feature maps are downsampled to reduce the feature map dimension;
[0020] Step 3: Calculate the attention weight of each time step through the Attention layer, generate a new feature vector based on the weighted sum, and capture the time characteristics and change rules of wind speed data through the subsequent WSAM layer based on the obtained local feature map and global feature vector to improve the accuracy of prediction and the generalization ability of the model. Normalize all time step scores through the softmax function to obtain the corresponding attention weight, and perform weighted summation on the local feature map based on the obtained attention weight to generate a new feature vector.
[0021] Step 4: Process the pooled feature map into a one-dimensional vector, then multiply the feature vector by the weight matrix to generate an attention-weighted feature vector, input the feature vector into the fully connected layer, and generate the final wind speed prediction value through the fully connected layer and ReLU activation function. At the same time, the mean square error is used as the loss function to calculate the loss value between the model output and the true label;
[0022] Step 5: Starting from the output layer, perform back propagation according to the chain rule, calculate the gradient of each parameter in the network according to the loss value, and then update the parameters in the network through the stochastic gradient descent method. Repeat the training of the CNN network until the predicted number of training times is met. Use the test set to verify the trained CNN network to prevent overfitting and evaluate the performance and accuracy of the CNN network.
[0023] Step 6: Use the test set to verify the trained CNN network, evaluate the performance and accuracy of the model, use the mean square error and mean absolute error indicators, collect new wind speed data, and process it through the convolution layer, pooling layer, WSAM layer and fully connected layer of the CNN network. Then, output the prediction results through the CNN network output layer, output the prediction results in a format that can be used by the system, and transmit them to the monitoring interaction platform for operation and maintenance personnel to view.
[0024] As a further solution of the present invention, the wind speed data and meteorological data described in step one can be collected not only from meteorological stations and remote sensing equipment, but also from satellite data, buoys and ocean observation systems, meteorological radars, drones, aircraft detection, ground meteorological station networks and historical meteorological databases.
[0025] As a further solution of the present invention, the specific calculation formula of the attention weight in step 3 is as follows:
[0026] e t =f(W local ·h t +W global ·h global +b)
[0027] In the formula, e t represents the score of the tth time step; W local and W global Represents the weight matrices of local features and global features respectively; h t Represents the feature vector of the tth time step in the local feature map; h global represents the global feature vector; b represents the bias term; f represents the activation function;
[0028] The specific calculation formula of the attention weight in step 3 is as follows:
[0029]
[0030] In the formula, a t represents the attention weight of the tth time step; T represents the total number of time steps;
[0031] The specific calculation formula for the weighted summation in step 3 is as follows:
[0032]
[0033] In the formula, h attention Represents the feature vector after attention weighting.
[0034] As a further solution of the present invention, the specific steps of optimizing the control parameters of the networking control module are as follows:
[0035] Step 1: The frequency monitoring module monitors the grid frequency in real time. When the frequency fluctuates or is unstable, the switching conditions between the grid-following mode and the grid-building mode are triggered. The parallel control module triggers the start of the converter grid-building mode. The grid-building control module performs initial settings on the control parameters that need to be optimized in the grid-building mode and uses them as the initial solution. At the same time, the initial temperature, termination temperature and annealing rate are set.
[0036] Step 2: Use reinforcement learning environment design and strategy optimization to generate the initial population, define the current control parameter state of the wind turbine and the adjustment action of the control parameter, and each action corresponds to a different control parameter adjustment. In addition, define the reward function, calculate the comprehensive reward based on the results of multi-objective optimization, and use the deep Q learning algorithm to evaluate the value of the current state and action;
[0037] Step 3: After storing the past states, actions, rewards, and next states, use the experience replay mechanism to train the Q network to improve training stability. At each time step, select the optimal action based on the current state and adjust the control parameters. Through repeated training, continuously optimize the control parameter selection strategy;
[0038] Step 4: Randomly perturb the current solution to generate a new candidate solution, use the wind speed attention mechanism to extract the time series characteristics and periodic characteristics of the real-time data, calculate the frequency deviation of the wind turbine in response to the grid frequency fluctuation of the current solution and the candidate solution, and combine the prior knowledge and relationship information in the knowledge graph to guide the multi-objective optimization process, provide constraints and optimization directions, and find the best balance between power generation efficiency, operating costs and environmental impact through multi-objective optimization, optimize the wind turbine control parameters, and calculate the comprehensive deviation;
[0039] Step 5: If the comprehensive deviation of the candidate solution is less than the comprehensive deviation of the current solution, the candidate solution is unconditionally accepted and the current solution is replaced by the candidate solution. If the comprehensive deviation of the candidate solution is greater than the comprehensive deviation of the current solution, the acceptance probability of the worse solution is calculated based on the Metropolis criterion, and the worse solution is selected based on the calculated acceptance probability.
[0040] Step 6: Use the reinforcement learning algorithm to dynamically adjust the parameters and strategies of the annealing algorithm, optimize the acceptance and adjustment process of the current solution, reduce the temperature according to the annealing rate, repeat the steps of generating candidate solutions and accepting candidate solutions, until the current temperature drops to the termination temperature or meets the stop condition, stop the iteration, and use the optimized control parameters as the output of the control strategy in the network construction mode. At the same time, adjust the grid frequency and wind turbine power according to the control strategy, and use the comprehensive strategy of reinforcement learning and multi-objective optimization to output the optimal control parameters that balance different objectives.
[0041] As a further solution of the present invention, the specific evaluation formula of the state and action value in step 2 is as follows:
[0042] R=ω 1 f 1 (x)-ω 2 f 2 (x)-ω 3 f 3 (x)
[0043] Q(s,a)=R+γmaxQ(s′,a′)
[0044] In the formula, R represents the comprehensive reward; ω 1 ,ω 2 With ω 3 Represent the weights of power generation efficiency, operating cost and environmental impact respectively; f 1 (x), f 1 (x) and f 1 (x) represents the corresponding objective function; s and s′ represent the current state and the next state respectively; a and a′ represent the current action and the next action respectively; γ represents the discount factor;
[0045] The specific constraint formula for the switching conditions between the network following type and the network building type described in step 1 is as follows:
[0046] |f acutual -f target |>Δf threshold
[0047] In the formula, f acutual represents the actual grid frequency; f target Represents the target grid frequency; Δf threshold represents the frequency fluctuation threshold;
[0048] The specific formula for adjusting the grid frequency in step 5 is as follows:
[0049]
[0050] Where P gen,i represents the output power of the i-th wind turbine; P load,i represents the i-th grid load; K represents the frequency regulation coefficient, which reflects the impact of the change in wind turbine output power on the grid frequency;
[0051] The specific calculation formula for wind turbine power regulation in step 5 is as follows:
[0052] P gen,i =P tatget,i +ΔP i
[0053] ΔP i =K freq ×(f actual -f target )
[0054] Where P tatget,i represents the target output power of the i-th wind turbine; ΔP i Represents the power that the wind turbine needs to adjust according to the change of grid frequency; K freq It represents the frequency regulation coefficient, which reflects the impact of grid frequency changes on the output power of wind turbines.
[0055] A control method for a grid-connected converter based on dual parallel machines, the specific steps of the control method are as follows:
[0056] S1. Real-time monitoring and identification of wind power grid-connected system status: Real-time monitoring of wind power grid-connected system status and classification and identification of system status;
[0057] S2. Analyze and evaluate frequency fluctuations and stability: Conduct in-depth analysis and evaluation of the monitored grid frequency fluctuations and wind turbine stability, and determine whether the switching strategy in the control method needs to be triggered based on the analysis results;
[0058] S3. Dynamically adjust and optimize the control strategy: Analyze system operation data and real-time feedback information, collect operation data from wind turbines and power grid systems according to the changes in grid frequency and system performance indicators, and build digital twin models of wind turbines and power grid systems using the collected real-time and historical data through a combination of physical modeling and data-driven modeling. Use the digital twin model and sensor network to monitor the system's operating status and the execution of the control strategy in real time, and optimize and adjust the control strategy of the current system status based on the prediction results and real-time feedback information of the digital twin model;
[0059] S4. Fault diagnosis of wind power grid-connected system: real-time monitoring of the system's operating status. The fault diagnosis module interacts with other modules to identify possible faults or abnormal conditions and provide corresponding fault handling suggestions.
[0060] S5. Control strategy implementation and switching: When the grid frequency is stable and the wind turbine is operating stably, the grid-following control strategy is adopted. When it is monitored that the grid frequency fluctuation exceeds the threshold or the wind turbine is operating abnormally, the grid-forming control strategy is triggered and a smooth switching method is adopted to gradually adjust the output power of the wind turbine.
[0061] S6. Evaluate and optimize system performance: Conduct periodic performance evaluation and optimization of control methods, and adjust control parameters and strategies based on actual operating conditions and feedback information.
[0062] As a further solution of the present invention, the specific steps of system performance evaluation optimization described in S6 are as follows:
[0063] Step ①: Obtain the grid-connected converter operation data and its fault diagnosis data, and collect the characteristic information in each group of data through feature engineering, and initialize a group of immune populations based on each group of characteristic information, including an antibody set and a memory cell set;
[0064] Step ②: Based on the immune cloning principle, clone the antibody set in the immune population to produce cloned antibodies, generate multiple sets of copies, and perform mutation operations on the cloned antibodies through random perturbations;
[0065] Step ③: After cloning and mutation, calculate the system response speed of the antibody set generated by cloning and mutation, evaluate the quality of cloned antibodies and mutant antibodies based on the calculated system response speed, and determine their fitness values;
[0066] Step ④: Based on the fitness value, a specified number of excellent antibodies are selected from the antibody set and the memory cell set as the next generation immune population through a competitive selection strategy, and the excellent antibodies are added to the memory cell set to update the content of the memory cells;
[0067] Step ⑤: When the preset iteration time is reached, stop cell selection, and output the antibody set with the fastest system response speed as the optimal solution for system parameters, and update the parameter information of the grid-connected converter control system according to the output results.
[0068] As a further solution of the present invention, the specific calculation formula of the immune clone in step ① is as follows:
[0069]
[0070] In the formula, Ci represents the number of clones of the i-th antibody; N represents the cloning factor; f(A i ) represents antibody A i The fitness value of ; n represents the total number of antibodies.
[0071] Compared with the prior art, the present invention has the following beneficial effects:
[0072] 1. The present invention monitors the grid frequency in real time through the frequency monitoring module. When the frequency fluctuates or is unstable, the switching conditions between the grid-following type and the grid-forming type are triggered. The parallel control module triggers the start of the converter grid-forming mode, and the control parameters that need to be optimized in the grid-forming mode are initially set. At the same time, it is used as the initial solution, and the initial temperature, termination temperature and annealing rate are set. The current solution is randomly disturbed to generate a new candidate solution, and the frequency deviation of the wind turbine in the current solution and the candidate solution in response to the grid frequency fluctuation is calculated respectively. If the frequency deviation of the candidate solution is less than the frequency deviation of the current solution, the candidate solution is accepted and the current solution is replaced by the candidate solution. If If the frequency deviation of the candidate solution is greater than the frequency deviation of the current solution, the Metropolis criterion is used to accept the worse solution, and then the temperature is lowered according to the annealing rate. The steps of generating candidate solutions and accepting candidate solutions are repeated until the current temperature is reduced to the termination temperature. The iteration is stopped and the optimized control parameters are used as the output of the control strategy in the network construction mode. At the same time, the grid frequency and wind turbine power are adjusted according to the control strategy, which can reduce the impact of grid frequency fluctuations on the system, reduce the pressure and load of the grid, improve the response speed and flexibility of the entire system, and realize smooth and fast switching between the grid-following type and the grid construction type.
[0073] 2. Compared with the previous control methods, the present invention obtains the operation data of the grid-connected converter and its fault diagnosis data, collects the characteristic information in each group of data, initializes a group of immune groups according to the characteristic information of each group, clones the antibody set in the immune group according to the immune cloning principle, generates cloned antibodies, mutates the cloned antibodies through random perturbations, calculates the system response speed of the antibody set generated by the clones and mutations after cloning and mutation, evaluates the quality of the cloned antibodies and the mutant antibodies according to the calculated system response speed, selects a specified number of excellent antibodies from the antibody set and the memory cell set as the next generation immune group through a competitive selection strategy, adds the excellent antibodies to the memory cell set, updates the content of the memory cells, stops cell selection when the preset iteration time is reached, and outputs the antibody set with the fastest system response speed as the optimal solution of the system parameters, updates the parameter information of the grid-connected converter control system according to the output results, can improve the stability and anti-interference ability of the system, can adapt to different environmental conditions and working condition changes, reduce the possibility of failure, and reduce the maintenance and operation costs of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0075] Figure 1 A system block diagram of a grid-connected converter control system based on dual parallel machines proposed by the present invention;
[0076] Figure 2 The present invention provides a flow chart of a control method for a grid-connected converter based on dual parallel machines. DETAILED DESCRIPTION
[0077] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0078] Example 1
[0079] Reference Figure 1 A grid-connected converter control system based on dual-machine parallel connection includes a wind speed prediction module, a frequency monitoring module, a grid-following control module, a grid-building control module, a parallel control module, a cache management module, a data communication module, a fault diagnosis module, a strategy optimization module and a monitoring interaction platform.
[0080] The wind speed prediction module is used to collect wind speed information and make future wind speed predictions.
[0081] Specifically, historical wind speed data and meteorological data are collected from meteorological stations and remote sensing equipment, the collected data are cleaned, missing values and outliers are processed, noise or abnormal fluctuations are removed to ensure that the data is more complete and accurate, features are extracted from the historical wind speed data, including moving average, maximum and minimum values, and time features are generated, the historical wind speed data are divided into training set and test set in chronological order, a sliding window method is used to generate a time series of fixed length as the model input, the training set is passed into the CNN network as input data, the convolution operation is performed with each group of input data through the convolution layer of the CNN network to generate multiple groups of feature maps, and then each group of feature maps is processed through the ReLU activation function, and the activated feature maps are downsampled to reduce the dimension of the feature maps, the attention weight of each time step is calculated through the Attention layer, and a new feature vector is generated according to the weighted summation, based on the obtained local feature map and global feature vector, the subsequent WSAM layer is used to capture the time characteristics and change law of the wind speed data, improve the accuracy of the prediction and the generalization ability of the model, and all time step scores are normalized through the softmax function to obtain the corresponding attention weight, and the attention weight is obtained. The local feature map is weighted and summed to generate a new feature vector. The pooled feature map is processed into a one-dimensional vector, and then the feature vector is multiplied by the weight matrix to generate an attention-weighted feature vector. The feature vector is input into the fully connected layer, and the final wind speed prediction value is generated through the fully connected layer and the ReLU activation function. At the same time, the mean square error is used as the loss function to calculate the loss value between the model output and the true label. Starting from the output layer, back propagation is performed according to the chain rule. The gradient of each parameter in the network is calculated according to the loss value, and then the parameters in the network are updated by the stochastic gradient descent method. The CNN network is repeatedly trained. Stop after the prediction training times are met, use the test set to verify the trained CNN network to prevent overfitting, evaluate the performance and accuracy of the CNN network, use the test set to verify the trained CNN network, evaluate the performance and accuracy of the model, use the mean square error and mean absolute error indicators, collect new wind speed data, and process it through the convolution layer, pooling layer, WSAM layer and fully connected layer of the CNN network, output the prediction results through the CNN network output layer, and output the prediction results in a format that can be used by the system, and transmit them to the monitoring interaction platform for operation and maintenance personnel to view.
[0082] It should be further explained that in addition to being collected from meteorological stations and remote sensing equipment, wind speed data and meteorological data can also be collected from satellite data, buoys and ocean observation systems, meteorological radars, drones, aircraft detection, ground meteorological station networks, and historical meteorological databases.
[0083] In this embodiment, the specific calculation formula of attention weight is as follows:
[0084] et =f(W local ·h t +W global ·h global +b)
[0085] In the formula, e t represents the score of the tth time step; W local and W global Represents the weight matrices of local features and global features respectively; h t Represents the feature vector of the tth time step in the local feature map; h global represents the global feature vector; b represents the bias term; f represents the activation function;
[0086] The specific calculation formula of attention weight is as follows:
[0087]
[0088] In the formula, a t represents the attention weight of the tth time step; T represents the total number of time steps;
[0089] The specific calculation formula of weighted summation is as follows:
[0090]
[0091] In the formula, h attention Represents the feature vector after attention weighting.
[0092] The frequency monitoring module is used to monitor the fluctuation of the grid frequency in real time; the grid-following control module is used to execute the grid-connected control strategy and coordinate its power output according to the wind speed prediction and frequency monitoring results; the grid-building control module is used to switch to the grid-building mode and optimize the control parameters in real time when the grid frequency fluctuates or is unstable.
[0093] Specifically, the frequency monitoring module monitors the grid frequency in real time. When the frequency fluctuates or is unstable, the switching conditions between the grid-following type and the grid-building type are triggered. The parallel control module triggers the start of the converter grid-building mode. The grid-building control module initially sets the control parameters that need to be optimized in the grid-building mode and uses them as the initial solution. At the same time, the initial temperature, the termination temperature and the annealing rate are set. The reinforcement learning environment design and strategy optimization are used to generate the initial population, define the current control parameter state of the wind turbine and the adjustment action of the control parameters, and each action corresponds to a different control parameter adjustment. In addition, a reward function is defined, and the comprehensive reward is calculated based on the results of multi-objective optimization. The deep Q learning algorithm is used to evaluate the value of the current state and action. After storing the past state, action, reward and next state, the experience replay mechanism is used to train the Q network to improve the training stability. At each time step, the optimal action is selected according to the current state, and the control parameters are adjusted. Through repeated training, the selection strategy of the control parameters is continuously optimized, and the current solution is randomly perturbed to generate a new candidate solution. The wind speed attention mechanism is used to extract the time series characteristics and periodic characteristics of the real-time data, and the wind speed difference between the current solution and the candidate solution is calculated respectively. The frequency deviation of the generator group in response to the grid frequency fluctuation is combined with the prior knowledge and relationship information in the knowledge graph to guide the multi-objective optimization process, provide constraints and optimization directions, and find the best balance between power generation efficiency, operating cost and environmental impact through multi-objective optimization. The control parameters of the wind turbine are optimized and the comprehensive deviation is calculated. If the comprehensive deviation of the candidate solution is less than the comprehensive deviation of the current solution, the candidate solution is unconditionally accepted and the current solution is replaced by the candidate solution. If the comprehensive deviation of the candidate solution is greater than the comprehensive deviation of the current solution, the acceptance probability of the worse solution is calculated based on the Metropolis criterion, and the worse solution is selected based on the calculated acceptance probability. The parameters and strategies of the annealing algorithm are dynamically adjusted using the reinforcement learning algorithm to optimize the acceptance and adjustment process of the current solution. The temperature is reduced according to the annealing rate, and the steps of generating candidate solutions and accepting candidate solutions are repeated until the current temperature is reduced to the termination temperature or the stop condition is met. The iteration is stopped, and the optimized control parameters are used as the output of the control strategy in the network construction mode. At the same time, the grid frequency and wind turbine power are adjusted according to the control strategy. The comprehensive strategy of reinforcement learning and multi-objective optimization is used to output the optimal control parameters that balance different objectives.
[0094] It should be further explained that the specific evaluation formulas for state and action value are as follows:
[0095] R=ω 1 f 1 (x)-ω 2 f 2 (x)-ω 3 f 3 (x)
[0096] Q(s,a)=R+γmaxQ(s′,a′)
[0097] In the formula, R represents the comprehensive reward; ω 1 ,ω 2 With ω 3 Represent the weights of power generation efficiency, operating cost and environmental impact respectively; f 1 (x), f 1 (x) and f 1 (x) represents the corresponding objective function; s and s′ represent the current state and the next state respectively; a and a′ represent the current action and the next action respectively; γ represents the discount factor
[0098] The specific constraint formulas for switching between the network-following type and the network-building type are as follows:
[0099] |f acutual -f target |>Δf threshold
[0100] In the formula, f acutual represents the actual grid frequency; f target Represents the target grid frequency; Δf threshold represents the frequency fluctuation threshold;
[0101] The specific formula for grid frequency regulation is as follows:
[0102]
[0103] Where P gen,i represents the output power of the i-th wind turbine; P load,i represents the i-th grid load; K represents the frequency regulation coefficient, which reflects the impact of the change in wind turbine output power on the grid frequency;
[0104] The specific calculation formula for wind turbine power regulation is as follows:
[0105] P gen,i =P tatget,i +ΔP i
[0106] ΔP i =K freq ×(f actual -f target )
[0107] Where P tatget,i represents the target output power of the i-th wind turbine; ΔP i Represents the power that the wind turbine needs to adjust according to the change of grid frequency; K freq It represents the frequency regulation coefficient, which reflects the impact of grid frequency changes on the output power of wind turbines.
[0108] The parallel control module is used to build a dual-machine parallel control architecture and realize seamless switching and backup; the cache management module is used to store and manage various power grid data in the system.
[0109] The data communication module is used for data communication with the power grid monitoring center to transmit the status information and control instructions of the wind turbine set; the fault diagnosis module is used to monitor the system operation status and perform fault diagnosis in real time; the strategy optimization module is used to optimize the grid-connected control and network construction control strategies; the monitoring interaction platform is used by operation and maintenance personnel to monitor the system operation status, configuration parameters, and perform operations and adjustments.
[0110] Example 2
[0111] Reference Figure 2 , a control method for a grid-connected converter based on dual parallel machines, the specific steps of the control method are as follows:
[0112] Real-time monitoring and identification of wind power grid-connected system status: Real-time monitoring of wind power grid-connected system status, and classification and identification of system status.
[0113] Analyze and evaluate frequency fluctuations and stability: Conduct in-depth analysis and evaluation of the monitored grid frequency fluctuations and wind turbine stability, and determine whether it is necessary to trigger the switching strategy in the control method based on the analysis results.
[0114] Dynamically adjust and optimize the control strategy: Analyze system operation data and real-time feedback information, collect operation data from wind turbines and power grid systems based on changes in grid frequency and system performance indicators, and build digital twin models of wind turbines and power grid systems using the collected real-time and historical data through a combination of physical modeling and data-driven modeling. Use the digital twin model and sensor network to monitor the system's operating status and the execution of the control strategy in real time, and optimize and adjust the control strategy of the current system status based on the prediction results and real-time feedback information of the digital twin model;
[0115] Fault diagnosis of wind power grid-connected systems: Real-time monitoring of the system's operating status. The fault diagnosis module interacts with data from other modules to identify possible faults or abnormal conditions and provide corresponding fault handling suggestions.
[0116] Implementation and switching of control strategies: When the grid frequency is stable and the wind turbine is operating stably, a grid-following control strategy is adopted. When it is monitored that the grid frequency fluctuation exceeds the threshold or the wind turbine has abnormal operation, the grid-forming control strategy is triggered and a smooth switching method is used to gradually adjust the output power of the wind turbine.
[0117] Evaluate and optimize system performance: Perform periodic performance evaluation and optimization of control methods, and adjust control parameters and strategies based on actual operating conditions and feedback information.
[0118] Specifically, the operation data of the grid-connected converter and its fault diagnosis data are obtained, and the characteristic information in each group of data is collected through feature engineering. A group of immune groups, including an antibody set and a memory cell set, is initialized according to the characteristic information of each group. According to the immune cloning principle, the antibody set in the immune group is cloned to generate cloned antibodies to generate multiple sets of copies. The cloned antibodies are mutated by random perturbations. After cloning and mutation, the system response speed of the antibody set generated by the clones and mutations is calculated. The quality of the cloned antibodies and the mutated antibodies is evaluated according to the calculated system response speed, and their fitness values are determined. Based on the fitness values, a specified number of excellent antibodies are selected from the antibody set and the memory cell set through a competitive selection strategy as the next generation of immune groups, the excellent antibodies are added to the memory cell set, and the content of the memory cells is updated. When the preset iteration time is reached, the cell selection is stopped, and the antibody set with the fastest system response speed is output as the optimal solution for the system parameters, and the parameter information of the grid-connected converter control system is updated according to the output results.
[0119] It should be further explained that the specific calculation formula of immune clone is as follows:
[0120]
[0121] In the formula, C i represents the number of clones of the i-th antibody; N represents the cloning factor; f(A i ) represents antibody A i The fitness value of ; n represents the total number of antibodies.
Claims
1. A grid-connected converter control system based on dual parallel machines, characterized in that: It includes wind speed prediction module, frequency monitoring module, network following control module, network building control module, parallel control module, cache management module, data communication module, fault diagnosis module, strategy optimization module and monitoring interaction platform; The wind speed prediction module is used to collect wind speed information and make future wind speed predictions; The frequency monitoring module is used to monitor the fluctuation of the power grid frequency in real time; The grid-connected control module is used to execute the grid-connected control strategy and coordinate its power output according to the wind speed prediction and frequency monitoring results; The network construction control module is used to switch to the network construction mode and optimize the control parameters in real time when the power grid frequency fluctuates or is unstable; The parallel control module is used to build a dual-machine parallel control architecture and achieve seamless switching and backup; The cache management module is used to store and manage various power grid data in the system; The data communication module is used for data communication with the power grid monitoring center to transmit status information and control instructions of the wind turbine generator set; The fault diagnosis module is used to monitor the system operation status and perform fault diagnosis in real time; The strategy optimization module is used to optimize the grid connection control and network construction control strategies; The monitoring interaction platform is used by operation and maintenance personnel to monitor the system operating status, configuration parameters, and perform operations and adjustments.
2. A grid-connected converter control system based on dual parallel machines according to claim 1, characterized in that: The specific steps of future wind speed prediction by the wind speed prediction module are as follows: Step 1: Collect historical wind speed data and meteorological data from meteorological stations and remote sensing equipment, clean the collected data, process missing values and outliers, remove noise or abnormal fluctuations, ensure that the data is more complete and accurate, extract features from historical wind speed data, including moving average, maximum and minimum values, and generate time features, divide the historical wind speed data into training sets and test sets in chronological order, and use the sliding window method to generate a fixed-length time series as model input; Step 2: The training set is passed into the CNN network as input data, and convolution operations are performed with each group of input data through the convolution layer of the CNN network to generate multiple groups of feature maps. Each group of feature maps is then processed through the ReLU activation function, and the activated feature maps are downsampled to reduce the feature map dimension; Step 3: Calculate the attention weight of each time step through the Attention layer, generate a new feature vector based on the weighted sum, and capture the time characteristics and change rules of wind speed data through the subsequent WSAM layer based on the obtained local feature map and global feature vector to improve the accuracy of prediction and the generalization ability of the model. Normalize all time step scores through the softmax function to obtain the corresponding attention weight, and perform weighted summation on the local feature map based on the obtained attention weight to generate a new feature vector. Step 4: Process the pooled feature map into a one-dimensional vector, then multiply the feature vector by the weight matrix to generate an attention-weighted feature vector, input the feature vector into the fully connected layer, and generate the final wind speed prediction value through the fully connected layer and ReLU activation function. At the same time, the mean square error is used as the loss function to calculate the loss value between the model output and the true label; Step 5: Starting from the output layer, perform back propagation according to the chain rule, calculate the gradient of each parameter in the network according to the loss value, and then update the parameters in the network through the stochastic gradient descent method. Repeat the training of the CNN network until the predicted number of training times is met. Use the test set to verify the trained CNN network to prevent overfitting and evaluate the performance and accuracy of the CNN network. Step 6: Use the test set to verify the trained CNN network, evaluate the performance and accuracy of the model, use the mean square error and mean absolute error indicators, collect new wind speed data, and process it through the convolution layer, pooling layer, WSAM layer and fully connected layer of the CNN network. Then, output the prediction results through the CNN network output layer, output the prediction results in a format that can be used by the system, and transmit them to the monitoring interaction platform for operation and maintenance personnel to view.
3. A grid-connected converter control system based on dual parallel machines according to claim 2, characterized in that: The specific calculation formula of the attention weight in step 3 is as follows: e t =f(W local ·h t +W global ·h global +b) In the formula, e t represents the score of the tth time step; W local and W global Represents the weight matrices of local features and global features respectively; h t Represents the feature vector of the tth time step in the local feature map; h global represents the global feature vector; b represents the bias term; f represents the activation function; The specific calculation formula of the attention weight in step 3 is as follows: In the formula, a t represents the attention weight of the tth time step; T represents the total number of time steps; The specific calculation formula for the weighted summation in step 3 is as follows: In the formula, h attention Represents the feature vector after attention weighting.
4. A grid-connected converter control system based on dual parallel machines according to claim 2, characterized in that: The specific steps of optimizing the control parameters of the networking control module are as follows: Step 1: The frequency monitoring module monitors the grid frequency in real time. When the frequency fluctuates or is unstable, the switching conditions between the grid-following mode and the grid-building mode are triggered. The parallel control module triggers the start of the converter grid-building mode. The grid-building control module performs initial settings on the control parameters that need to be optimized in the grid-building mode and uses them as the initial solution. At the same time, the initial temperature, termination temperature and annealing rate are set. Step 2: Use reinforcement learning environment design and strategy optimization to generate the initial population, define the current control parameter state of the wind turbine and the adjustment action of the control parameter, and each action corresponds to a different control parameter adjustment. In addition, define the reward function, calculate the comprehensive reward based on the results of multi-objective optimization, and use the deep Q learning algorithm to evaluate the value of the current state and action; Step 3: After storing the past states, actions, rewards, and next states, use the experience replay mechanism to train the Q network to improve training stability. At each time step, select the optimal action based on the current state and adjust the control parameters. Through repeated training, continuously optimize the control parameter selection strategy; Step 4: Randomly perturb the current solution to generate a new candidate solution, use the wind speed attention mechanism to extract the time series characteristics and periodic characteristics of the real-time data, calculate the frequency deviation of the wind turbine in response to the grid frequency fluctuation of the current solution and the candidate solution, and combine the prior knowledge and relationship information in the knowledge graph to guide the multi-objective optimization process, provide constraints and optimization directions, and find the best balance between power generation efficiency, operating costs and environmental impact through multi-objective optimization, optimize the wind turbine control parameters, and calculate the comprehensive deviation; Step 5: If the comprehensive deviation of the candidate solution is less than the comprehensive deviation of the current solution, the candidate solution is unconditionally accepted and the current solution is replaced by the candidate solution. If the comprehensive deviation of the candidate solution is greater than the comprehensive deviation of the current solution, the acceptance probability of the worse solution is calculated based on the Metropolis criterion, and the worse solution is selected based on the calculated acceptance probability. Step 6: Use the reinforcement learning algorithm to dynamically adjust the parameters and strategies of the annealing algorithm, optimize the acceptance and adjustment process of the current solution, reduce the temperature according to the annealing rate, repeat the steps of generating candidate solutions and accepting candidate solutions, until the current temperature drops to the termination temperature or meets the stop condition, stop the iteration, and use the optimized control parameters as the output of the control strategy in the network construction mode. At the same time, adjust the grid frequency and wind turbine power according to the control strategy, and use the comprehensive strategy of reinforcement learning and multi-objective optimization to output the optimal control parameters that balance different objectives.
5. A grid-connected converter control system based on dual parallel machines according to claim 3, characterized in that: The specific evaluation formula for the state and action value described in step 2 is as follows: R=ω1f1(x)-ω2f2(x)-ω3f3(x) Q(s,a)=R+γmaxQ(s′,a′) Where R represents the comprehensive reward; ω1, ω2 and ω3 represent the weights of power generation efficiency, operating cost and environmental impact respectively; f1(x), f1(x) and f1(x) represent the corresponding objective functions respectively; s and s′ represent the current state and the next state respectively; a and a′ represent the current action and the next action respectively; γ represents the discount factor; The specific constraint formula for the switching conditions between the network following type and the network building type described in step 1 is as follows: |f acutual -f target |>Δf threshold In the formula, f acutual represents the actual grid frequency; f target Represents the target grid frequency; Δf threshold represents the frequency fluctuation threshold; The specific formula for adjusting the grid frequency in step 5 is as follows: Where P gen,i represents the output power of the i-th wind turbine; P load,i represents the i-th grid load; K represents the frequency regulation coefficient, which reflects the impact of the change in wind turbine output power on the grid frequency; The specific calculation formula for wind turbine power regulation in step 5 is as follows: P gen,i =P tatget,i +ΔP i ΔP i =K freq ×(f actual -f target ) Where P tatget,i represents the target output power of the i-th wind turbine; ΔP i Represents the power that the wind turbine needs to adjust according to the change of grid frequency; K freq It represents the frequency regulation coefficient, which reflects the impact of grid frequency changes on the output power of wind turbines.
6. A control method for a grid-connected converter based on dual parallel machines, characterized in that: The specific steps of the control method are as follows: S1. Real-time monitoring and identification of wind power grid-connected system status: Real-time monitoring of wind power grid-connected system status and classification and identification of system status; S2. Analyze and evaluate frequency fluctuations and stability: Conduct in-depth analysis and evaluation of the monitored grid frequency fluctuations and wind turbine stability, and determine whether the switching strategy in the control method needs to be triggered based on the analysis results; S3. Dynamically adjust and optimize the control strategy: Analyze system operation data and real-time feedback information, collect operation data from wind turbines and power grid systems according to the changes in grid frequency and system performance indicators, and build digital twin models of wind turbines and power grid systems using the collected real-time and historical data through a combination of physical modeling and data-driven modeling. Use the digital twin model and sensor network to monitor the system's operating status and the execution of the control strategy in real time, and optimize and adjust the control strategy of the current system status based on the prediction results and real-time feedback information of the digital twin model; S4. Fault diagnosis of wind power grid-connected system: real-time monitoring of the system's operating status. The fault diagnosis module interacts with other modules to identify possible faults or abnormal conditions and provide corresponding fault handling suggestions. S5. Control strategy implementation and switching: When the grid frequency is stable and the wind turbine is operating stably, the grid-following control strategy is adopted. When it is monitored that the grid frequency fluctuation exceeds the threshold or the wind turbine is operating abnormally, the grid-forming control strategy is triggered and a smooth switching method is adopted to gradually adjust the output power of the wind turbine. S6. Evaluate and optimize system performance: Conduct periodic performance evaluation and optimization of control methods, and adjust control parameters and strategies based on actual operating conditions and feedback information.
7. A control method for a grid-connected converter based on dual parallel connection according to claim 6, characterized in that: The specific steps of system performance evaluation and optimization described in S6 are as follows: Step ①: Obtain the grid-connected converter operation data and its fault diagnosis data, and collect the characteristic information in each group of data through feature engineering, and initialize a group of immune populations based on each group of characteristic information, including an antibody set and a memory cell set; Step ②: Based on the immune cloning principle, clone the antibody set in the immune population to produce cloned antibodies, generate multiple sets of copies, and perform mutation operations on the cloned antibodies through random perturbations; Step ③: After cloning and mutation, calculate the system response speed of the antibody set generated by cloning and mutation, evaluate the quality of cloned antibodies and mutant antibodies based on the calculated system response speed, and determine their fitness values; Step ④: Based on the fitness value, a specified number of excellent antibodies are selected from the antibody set and the memory cell set as the next generation immune population through a competitive selection strategy, and the excellent antibodies are added to the memory cell set to update the content of the memory cells; Step ⑤: When the preset iteration time is reached, stop cell selection, and output the antibody set with the fastest system response speed as the optimal solution for system parameters, and update the parameter information of the grid-connected converter control system according to the output results.
8. A control method for a grid-connected converter based on dual parallel connection according to claim 7, characterized in that: The specific calculation formula of the immune clone in step ① is as follows: In the formula, C i represents the number of clones of the i-th antibody; N represents the cloning factor; f(A i ) represents antibody A i The fitness value of ; n represents the total number of antibodies.
Citation Information
Cited By
Method and system for detecting energy storage converter
CN119044657A
A detection method and system for energy storage converter
CN119044657B
Power regulation method and system for parallel modules of flexible equipment
CN119179368A
Grid-connected and off-grid switching control system of grid-forming type energy storage converter
CN119742852A
Data acquisition system and method suitable for mining equipment
CN119814494A
