Control method, device and equipment for grid connection of wind driven generator and medium

By using a digital twin model for real-time dynamic control of wind turbines, the problem of misjudgment of synchronization windows caused by fixed thresholds in existing wind turbine grid-connection control methods is solved, enabling a fast and safe grid connection process and reducing fatigue of mechanical components.

CN121886598APending Publication Date: 2026-04-17CGN DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CGN DIGITAL TECH CO LTD
Filing Date
2025-12-29
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing wind turbine grid connection control methods rely on fixed thresholds, which cannot comprehensively respond to real-time wind speed fluctuations and grid disturbances, resulting in frequent missed optimal synchronization windows, prolonged grid connection time, and increased mechanical fatigue.

Method used

A digital twin model is used for millisecond-level pre-simulation to obtain wind conditions and grid status parameters in real time, dynamically optimize control parameters, and achieve rapid grid connection of wind turbines by matching the simulation of the digital twin model with the actual status parameters.

Benefits of technology

It significantly reduces the misjudgment of synchronization windows caused by dynamic factors, avoids repeated retries for grid connection, shortens grid connection preparation time, reduces fatigue accumulation of mechanical components, and ensures the safety of the grid connection process and the stability of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121886598A_ABST
    Figure CN121886598A_ABST
Patent Text Reader

Abstract

The invention provides a control method, device and equipment for grid connection of a wind driven generator and a medium. The control method comprises the following steps: acquiring real-time wind conditions and real-time state parameters of a power grid; inputting the real-time wind condition into a digital twinborn model of the wind driven generator, and obtaining control parameters of each control device of the wind driven generator in the digital twinborn model when the simulation state parameters of the simulation power supply output by the digital twinborn model and the real-time state parameters meet preset simulation conditions; corresponding control equipment in the wind driven generator is controlled according to the control parameters, and real-time power supply parameters of a power supply output by the wind driven generator are collected in real time under the real-time wind condition; and when the real-time power supply parameter and the real-time state parameter meet a preset grid connection condition, combining the wind driven generator into a power grid. According to the control method, device and equipment for grid connection of the wind driven generator and the medium, the technical problem that rapid grid connection is difficult to achieve through an existing grid connection method is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wind power generation, and more particularly to a control method, device, equipment, and medium for grid connection of a wind turbine. Background Technology

[0002] As wind power penetration increases, grid-connected control of wind turbine generators is gradually evolving from direct grid connection to converter-based grid-following control. Currently widely used grid-connected control methods typically rely on fixed threshold criteria for voltage, frequency, and phase to control the closing timing of the grid-connected contactor. While these methods can generally meet synchronization requirements under steady-state grid conditions, their judgment logic is statically set and does not incorporate real-time coupling analysis of the wind turbine's operating state and the dynamic characteristics of the power grid.

[0003] Existing grid connection methods rely solely on fixed thresholds, failing to comprehensively address dynamic factors such as real-time wind speed fluctuations and grid disturbance trends. This leads to frequent missed optimal synchronization windows and repeated retries. This not only prolongs grid connection time but also subjects the transmission chain to unnecessary mechanical fatigue accumulation, ultimately affecting the service life of critical components such as gearboxes and bearings. Therefore, improvements are needed. Summary of the Invention

[0004] This invention provides a control method, device, equipment, and medium for grid connection of wind turbines, in order to solve the technical problem that existing grid connection methods are difficult to achieve rapid grid connection.

[0005] This invention provides a control method for grid connection of a wind turbine, comprising: Obtain real-time wind conditions and real-time status parameters of the power grid; The real-time wind conditions are input into the digital twin model of the wind turbine, and when the simulated state parameters of the simulated power supply output by the digital twin model meet the preset simulation conditions with the real-time state parameters, the control parameters of each control device of the wind turbine in the digital twin model are obtained. The control equipment in the wind turbine is controlled according to the control parameters, and the real-time power supply parameters of the power supply output by the wind turbine are collected in real time under the real-time wind conditions. When the real-time power supply parameters and the real-time status parameters meet the preset grid connection conditions, the wind turbine is connected to the power grid.

[0006] In one embodiment of the present invention, the step of inputting the real-time wind conditions into the digital twin model of the wind turbine, and obtaining the control parameters of each control device of the wind turbine in the digital twin model when the simulated state parameters of the simulated power supply output by the digital twin model and the real-time state parameters meet preset simulation conditions, includes: The real-time wind conditions are input into the digital twin model of the wind turbine to obtain the simulated state parameters of the simulated power supply output by the digital twin model; the digital twin model outputs the corresponding simulated state parameters of the simulated power supply based on the real-time wind conditions and the control parameters of each control device within it. When the simulated state parameters and the real-time state parameters meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained.

[0007] In one embodiment of the present invention, the real-time state parameters include real-time voltage, real-time frequency, and real-time phase, and the analog state parameters include analog voltage, analog frequency, and analog phase. When the simulated state parameters and the real-time state parameters meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained, including: The difference between the real-time voltage and the analog voltage is calculated to obtain the first voltage difference, and the ratio of the first voltage difference to the real-time voltage or the analog voltage is calculated to obtain the first voltage deviation; The first frequency difference is obtained by calculating the difference between the real-time frequency and the analog frequency; The first phase difference is obtained by calculating the difference between the real-time phase and the simulated phase; The first voltage deviation, the first frequency difference, and the first phase difference are compared with preset simulation conditions. When the first voltage deviation, the first frequency difference, and the first phase difference all meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained.

[0008] In one embodiment of the present invention, comparing the first voltage deviation, the first frequency difference, and the first phase difference with preset simulation conditions further includes: When at least one of the first voltage deviation, the first frequency difference, and the first phase difference does not meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are adjusted until the simulated state parameters of the simulated power supply output by the digital twin model based on the real-time wind conditions and the adjusted control parameters meet the preset simulation conditions, and the adjusted control parameters of each control device of the wind turbine in the digital twin model are obtained.

[0009] In one embodiment of the present invention, the real-time power supply parameters include power supply voltage, power supply frequency, and power supply phase; The step of merging the wind turbine into the power grid when the real-time power supply parameters and the real-time status parameters meet the preset grid connection conditions includes: The difference between the real-time voltage and the supply voltage of the real-time state parameter is calculated to obtain the second voltage difference, and the ratio of the second voltage difference to the real-time voltage or the supply voltage is calculated to obtain the second voltage deviation. The second frequency difference is obtained by calculating the difference between the real-time frequency of the real-time status parameter and the power supply frequency; The second phase difference is obtained by calculating the difference between the real-time phase and the power supply phase of the real-time state parameter; The second voltage deviation, the second frequency difference, and the second phase difference are compared with preset grid connection conditions: when the second voltage deviation, the second frequency difference, and the second phase difference all meet the preset grid connection conditions, the wind turbine is connected to the power grid.

[0010] In one embodiment of the present invention, comparing the second voltage deviation, the second frequency difference, and the second phase difference with preset grid connection conditions further includes: If at least one of the second voltage deviation, the second frequency difference, and the second phase difference does not meet the preset grid connection conditions, the control parameters of each control device in the wind turbine are adjusted until the real-time power supply parameters of the power supply output by the wind turbine according to the real-time wind conditions and the adjusted control parameters meet the preset grid connection conditions, and then the wind turbine is connected to the grid.

[0011] In one embodiment of the present invention, the control method further includes: Monitor the operating status of the power grid, and when the operating status is abnormal, obtain the abnormal status parameters of the power grid and the current wind conditions; the abnormal status parameters include abnormal voltage and / or abnormal frequency; Adjust the control parameters of each control device in the wind turbine generator, and compare the adjusted real-time power supply parameters with the abnormal state parameters based on the current wind conditions and the adjusted control parameters, until the comparison passes, and then maintain the adjusted control parameters of each control device in the wind turbine generator.

[0012] The present invention also provides a control device for grid connection of a wind turbine generator, comprising: The parameter acquisition module is used to acquire real-time wind conditions and real-time status parameters of the power grid. The model simulation module is used to input the real-time wind conditions into the digital twin model of the wind turbine, and when the simulated state parameters of the simulated power supply output by the digital twin model meet the real-time state parameters, the control parameters of each control device of the wind turbine in the digital twin model are obtained. The equipment control module is used to control the corresponding control equipment in the wind turbine according to the control parameters, and to collect the real-time power supply parameters of the power supply output by the wind turbine under the real-time wind conditions. The grid connection judgment module is used to connect the wind turbine to the power grid when the real-time power supply parameters and the real-time status parameters meet the preset grid connection conditions.

[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the control method for grid connection of the wind turbine generator.

[0014] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the control method for grid connection of the wind turbine generator.

[0015] The beneficial effects of this invention are as follows: By introducing a digital twin model for millisecond-level pre-simulation, control parameters can be dynamically optimized based on real-time wind conditions and grid status, overcoming the shortcomings of traditional methods that rely on static criteria with fixed thresholds. This allows the grid connection determination logic to comprehensively consider the wind turbine's own state, such as wind speed fluctuations, and the dynamic characteristics of the grid, significantly reducing misjudgments of the synchronization window caused by dynamic factors and avoiding repeated retries for grid connection. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0017] In the attached diagram: Figure 1 A flowchart illustrating a control method for grid connection of a wind turbine generator according to an embodiment of the present invention; Figure 2 This is a schematic diagram of a control device for grid connection of a wind turbine generator according to an embodiment of the present invention; Figure 3 This is a schematic diagram of an electronic device provided according to an embodiment of the present invention. Detailed Implementation

[0018] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0019] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. The drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0020] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.

[0021] This invention discloses a control method for grid connection of wind turbines, applicable to onshore or offshore wind farms under complex grid conditions such as weak grids, high proportion of renewable energy integration, and frequent voltage fluctuations. This control method overcomes the problems of traditional grid connection technologies, such as reliance on phase-locked loops, large grid connection impact, and poor adaptability to grid disturbances. It enables a smooth, rapid, and proactively supportive grid connection process, ensuring the safety of wind turbine grid connection and the stability of grid operation.

[0022] Please see Figure 1 In some embodiments, the control method includes the following steps: S10, acquiring real-time wind conditions and real-time state parameters of the power grid, including real-time voltage, real-time frequency, and real-time phase.

[0023] In some embodiments, wind speed / direction sensors deployed in the nacelle or hub of a wind turbine can continuously measure the real-time wind conditions of the current environment, including wind speed and wind direction.

[0024] In some embodiments, real-time status parameters of the power grid can be synchronously collected through sensing devices such as voltage transformers (PTs) and current transformers (CTs) installed at the grid connection point of the wind turbine (i.e., the connection point between the turbine output and the power grid). These real-time status parameters include the real-time voltage, real-time frequency, and real-time phase of the power grid. These parameters characterize the operating state of the power grid at the current moment.

[0025] In some embodiments, the central controller of the wind turbine generator can receive and process signals from wind speed / direction sensors and sensing devices, filter, calibrate and calculate these raw data to obtain accurate and stable real-time wind conditions (wind speed, wind direction) and real-time grid status parameters (real-time voltage, real-time frequency, real-time phase).

[0026] Please see Figure 1 In some embodiments, the control method further includes the following steps: S20, inputting real-time wind conditions into the digital twin model of the wind turbine, and when the simulated state parameters of the simulated power supply output by the digital twin model meet the preset simulation conditions, obtaining the control parameters of each control device of the wind turbine in the digital twin model.

[0027] In some embodiments, S20 includes the following steps: S21, inputting real-time wind conditions into the digital twin model of the wind turbine to obtain the analog state parameters of the analog power supply output by the digital twin model; the digital twin model outputs the corresponding analog state parameters of the analog power supply based on the real-time wind conditions and the control parameters of each control device within it.

[0028] In some embodiments, the digital twin model of a wind turbine is a high-fidelity dynamic simulation model running within a controller. The digital twin model contains a precise mathematical mapping of the wind turbine generator set (including the rotor, drive train, generator, converter, etc.) and grid-connected control logic. The controller can input the obtained real-time wind conditions as an input variable into this digital twin model. Based on its internally preset initial or currently set control parameters for each control device of the wind turbine, combined with the input real-time wind conditions, the digital twin model performs millisecond-level real-time simulation in a virtual environment.

[0029] In some embodiments, the operation of the digital twin model dynamically simulates the response process of various control devices of the wind turbine under real-time wind conditions and given control parameters. Its final output is the simulated state parameters of the simulated power supply. This simulated power supply corresponds to the output of the virtual generator and converter in the digital twin model, and its simulated state parameters include simulated voltage, simulated frequency, and simulated phase. This simulation process is equivalent to performing a predictive simulation of the unit's power generation state under specific wind conditions in virtual space before actual grid connection operation.

[0030] In some embodiments, S20 further includes the following step: S22, when the simulated state parameters and the real-time state parameters meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained, and the simulated state parameters include simulated voltage, simulated frequency, and simulated phase.

[0031] In some embodiments, S22 includes the following steps: calculating the difference between the real-time voltage and the analog voltage to obtain a first voltage difference, and calculating the ratio of the first voltage difference to the real-time voltage or the analog voltage to obtain a first voltage deviation.

[0032] In some embodiments, after the digital twin model runs and outputs simulated state parameters, it is necessary to evaluate whether these simulated state parameters meet the conditions for synchronization with the power grid. To this end, a comparison of voltage parameters is first performed. The controller reads the real-time voltage of the power grid and simultaneously reads the simulated voltage of the simulated power supply output by the digital twin model. The two voltage values ​​are subtracted to obtain a first voltage difference. Subsequently, the controller can calculate the ratio of the first voltage difference to the real-time voltage or the simulated voltage to obtain a first voltage deviation. The first voltage deviation is a dimensionless relative value that more objectively reflects the degree of deviation in voltage amplitude, avoiding the influence of different voltage levels on the difference, and serves as an indicator for determining whether the voltage is synchronized.

[0033] In some embodiments, S22 further includes the step of calculating the difference between the real-time frequency and the analog frequency to obtain a first frequency difference.

[0034] In some embodiments, after comparing voltage parameters, a comparison of frequency parameters is required. The controller reads the real-time frequency of the power grid and simultaneously reads the analog frequency of the analog power source output by the digital twin model. The two frequency values ​​are subtracted to obtain a first frequency difference. The first frequency difference quantitatively reflects the degree of deviation in the rate of periodic change between the analog frequency of the AC power output predicted by the digital twin model of the wind turbine and the actual frequency of the power grid under the currently set control parameters.

[0035] In some embodiments, S22 further includes the step of calculating the difference between the real-time phase and the simulated phase to obtain a first phase difference.

[0036] In some embodiments, after comparing the frequency parameters, a comparison of the phase parameters is also required. The controller reads the real-time phase of the power grid and simultaneously reads the simulated phase of the analog power supply output by the digital twin model. The two phase values ​​are subtracted (the period interval needs to be considered) to obtain the first phase difference. The first phase difference quantitatively reflects the instantaneous angular offset between the simulated phase of the voltage waveform predicted by the digital twin model of the wind turbine and the real-time phase of the voltage waveform of the power grid under the currently set control parameters.

[0037] In some embodiments, S22 further includes the following steps: comparing the first voltage deviation, the first frequency difference, and the first phase difference with preset simulation conditions: when the first voltage deviation, the first frequency difference, and the first phase difference all meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained; the preset simulation conditions are expressed as the first voltage deviation being less than the first voltage threshold, the first frequency difference being less than the first frequency threshold, and the first phase difference being less than the first phase threshold.

[0038] In some embodiments, after calculating the first voltage deviation, the first frequency difference, and the first phase difference, the controller compares them respectively with preset simulation conditions. The preset simulation conditions are designed to ensure that the simulation results sufficiently approximate the grid conditions. Specifically, the preset simulation conditions require that the first voltage deviation be less than a first voltage threshold (e.g., the first voltage threshold is 0.5%), the first frequency difference be less than a first frequency threshold (e.g., the first frequency threshold is 0.01Hz), and the first phase difference be less than a first phase threshold (e.g., the first phase threshold is 1°).

[0039] In some embodiments, the controller synchronously determines whether the first voltage deviation is less than a first voltage threshold, whether the first frequency difference is less than a first frequency threshold, and whether the first phase difference is less than a first phase threshold. Only when all three determinations are true, is the simulated state parameters of the digital twin model considered to meet the preset simulation conditions with the real-time state parameters of the power grid.

[0040] In some embodiments, when preset simulation conditions are met, the set of control parameters currently used by the digital twin model that produces the simulation results that meet these conditions (e.g., converter power reference values, PI parameters of the voltage and current loops, inertia constants and damping coefficients of the virtual synchronous machine algorithm, etc.) is considered optimally effective. The controller extracts this set of parameters from the digital twin model and uses it as the control parameters for each control device of the wind turbine generator, preparing it for subsequent control of each control device.

[0041] In some embodiments, S22 further includes the following steps: when at least one of the first voltage deviation, the first frequency difference, and the first phase difference does not meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are adjusted until the simulated state parameters and real-time state parameters of the simulated power supply output by the digital twin model according to the real-time wind conditions and the adjusted control parameters meet the preset simulation conditions, thereby obtaining the adjusted control parameters of each control device of the wind turbine in the digital twin model.

[0042] In some embodiments, if any one or more of the first voltage deviation, first frequency difference, and first phase difference are found to be greater than or equal to their corresponding thresholds (i.e., the preset simulation conditions are not met), it indicates that the control parameters used in the current digital twin model are insufficient to enable the virtual machine group output to achieve a good synchronous prediction state with the power grid. At this time, the controller initiates a parameter optimization iterative process.

[0043] In some embodiments, firstly, the controller adjusts the control parameters of each control device of the wind turbine generator set within the digital twin model according to a predetermined algorithm (such as gradient descent, model predictive control, etc.) based on the direction and magnitude of the deviation (e.g., increasing the voltage reference value if the voltage is too low, adjusting the active power setting if the frequency is too high). After adjustment, the controller re-inputs the same real-time wind conditions into the digital twin model with updated control parameters, runs the simulation again, and outputs a new set of simulated state parameters.

[0044] In some embodiments, the new first voltage deviation, first frequency difference, and first phase difference are then repeatedly calculated and compared with the preset simulation conditions. This cyclical process of "adjusting parameters + resimulating + comparing and judging" will continue until the first voltage deviation, first frequency difference, and first phase difference calculated from the simulation state parameters of a certain simulation output and the real-time state parameters all meet the preset simulation conditions.

[0045] In some embodiments, when the above loop terminates, the adjusted set of control parameters that last successfully satisfied the simulation conditions will be ultimately determined as the adjusted control parameters for each control device of the wind turbine in the digital twin model. This process ensures that the final control parameters are optimized parameters that have been verified in the virtual environment and enable the unit to output an electrical state highly matched to the power grid under given wind conditions.

[0046] Please see Figure 1 In some embodiments, the control method further includes the following steps: S30, controlling the corresponding control device in the wind turbine generator according to the control parameters, and collecting the real-time power supply parameters of the power supply output by the wind turbine generator in real time under real-time wind conditions; the real-time power supply parameters include power supply voltage, power supply frequency, and power supply phase.

[0047] In some embodiments, after the digital twin model determines the optimized control parameters, the controller immediately distributes and applies these control parameters (e.g., the reference voltage, reference frequency, inertia constant, damping coefficient, and corresponding power loop and voltage loop controller parameters of the virtual synchronous generator algorithm) to various control devices of the actual wind turbine, such as the converter, which is the core actuator.

[0048] In some embodiments, the controller then switches the converter to a grid-based control mode. In grid-based control mode, the converter no longer passively tracks the grid voltage phase, but actively runs a virtual synchronous generator algorithm to simulate the electromagnetic and mechanical characteristics of a synchronous generator and autonomously establish an independent and stable three-phase AC voltage source.

[0049] In some embodiments, driven by the current real-time wind conditions, the wind turbine begins to rotate and converts mechanical energy into electrical energy through a converter controlled according to new parameters, actually outputting a power supply. Simultaneously, the controller continuously collects the electrical parameters of the power supply in real time, i.e., real-time power supply parameters. These real-time power supply parameters include the supply voltage, supply frequency, and supply phase, characterizing the state of the AC power actually generated by the wind turbine under the current control parameters and real-time wind conditions.

[0050] Please see Figure 1 In some embodiments, the control method further includes the following step: S40, when the real-time power supply parameters and real-time status parameters meet preset grid connection conditions, the wind turbine is connected to the power grid. The preset grid connection conditions are expressed as a second voltage deviation being less than a second voltage threshold, a second frequency difference being less than a second frequency threshold, and a second phase difference being less than a second phase threshold.

[0051] In some embodiments, S40 includes the following steps: calculating the difference between the real-time voltage of the real-time state parameter and the supply voltage to obtain a second voltage difference, and calculating the ratio of the second voltage difference to the real-time voltage or the supply voltage to obtain a second voltage deviation.

[0052] In some embodiments, voltage parameters need to be compared first. The controller reads the real-time voltage of the power grid and the actual output voltage of the wind turbine, subtracts the real-time voltage of the power grid from the output voltage to obtain the second voltage difference. Subsequently, the controller calculates the ratio of the second voltage difference to the real-time voltage of the power grid (or the output voltage) to obtain the second voltage deviation. The second voltage deviation is a dimensionless relative value that can more objectively reflect the degree of deviation of the voltage amplitude, avoiding the influence of different voltage levels on the difference, and is an indicator for judging whether the voltage is synchronized.

[0053] In some embodiments, S40 further includes the step of calculating the difference between the real-time frequency of the real-time state parameter and the power supply frequency to obtain a second frequency difference.

[0054] In some embodiments, after comparing voltage parameters, frequency parameters need to be compared. The controller reads the real-time frequency of the power grid and the actual power supply frequency output by the wind turbine, subtracts these two frequency values ​​to obtain a second frequency difference. The second frequency difference directly reflects the instantaneous deviation of the AC frequency output by the wind turbine from the grid frequency in terms of the rate of periodic change.

[0055] In some embodiments, S40 further includes the step of calculating the difference between the real-time phase of the real-time state parameter and the power supply phase to obtain a second phase difference.

[0056] In some embodiments, a phase parameter comparison is performed last. The controller reads the real-time phase of the power grid and the actual power supply phase output by the wind turbine, subtracts these two phase values ​​(considering the period interval), and obtains the second phase difference. The second phase difference reflects the instantaneous angular offset between the voltage waveform output by the wind turbine and the voltage waveform of the power grid.

[0057] In some embodiments, S40 further includes the following steps: comparing the second voltage deviation, the second frequency difference, and the second phase difference with preset grid connection conditions: when the second voltage deviation, the second frequency difference, and the second phase difference all meet the preset grid connection conditions, the wind turbine is connected to the grid.

[0058] In some embodiments, after calculating the second voltage deviation, the second frequency difference, and the second phase difference, the controller compares them respectively with preset grid connection conditions. The preset grid connection conditions are the final conditions set for actual physical grid connection operation, specifically requiring that the second voltage deviation is less than a second voltage threshold (e.g., the second voltage threshold is 0.2%), the second frequency difference is less than a second frequency threshold (e.g., the second frequency threshold is 0.002Hz), and the second phase difference is less than a second phase threshold (e.g., the second phase threshold is 0.2°).

[0059] In some embodiments, the controller sequentially determines whether the second voltage deviation is less than a second voltage threshold, whether the second frequency difference is less than a second frequency threshold, and whether the second phase difference is less than a second phase threshold. Only when all three determinations are true at the same time is it considered that the real-time power supply parameters actually output by the wind turbine have achieved highly accurate synchronization with the real-time status parameters of the power grid, thus meeting the preset grid connection conditions.

[0060] In some embodiments, once the preset grid connection conditions are met, the controller immediately controls the grid connection contactor or circuit breaker to close, and the power supply output by the wind turbine is officially connected to the grid, completing the grid connection operation. Since the voltage, frequency, and phase have been synchronized with slight difference before grid connection, the inrush current at the moment of closing is effectively suppressed (e.g., it can be controlled within 1.2 times the rated current), achieving smooth, "zero-impact" soft grid connection.

[0061] In some embodiments, S40 further includes the following steps: when at least one of the second voltage deviation, the second frequency difference, and the second phase difference does not meet the preset grid connection conditions, the control parameters of each control device in the wind turbine are adjusted until the real-time power supply parameters and real-time status parameters of the power supply output by the wind turbine meet the preset grid connection conditions based on the real-time wind conditions and the adjusted control parameters, and then the wind turbine is connected to the grid.

[0062] In some embodiments, if any one or more of the second voltage deviation, second frequency difference, and second phase difference are found to be greater than or equal to their corresponding thresholds (i.e., the preset grid connection conditions are not met), it indicates that under the current control parameters, the actual output of the generator and the grid have not yet achieved precise synchronization.

[0063] In some embodiments, the controller does not control the closing of the grid-connected contactor or circuit breaker, but instead initiates a closed-loop regulation process for the control equipment. The controller (or its internal edge AI algorithm) generates control parameter adjustment commands based on the specific values ​​and directions of the second voltage deviation, second frequency difference, and second phase difference. For example, if the voltage is too low, the reference voltage setpoint of the virtual synchronous generator algorithm is slightly increased; if the frequency is too high, the virtual mechanical torque or damping coefficient is finely adjusted. These adjustment commands are sent in real time to control equipment such as the converter of the wind turbine.

[0064] In some embodiments, the control device operates according to new control parameters, and the actual output (real-time power supply parameters) of the wind turbine changes accordingly. The controller continuously monitors the changed real-time power supply parameters and repeatedly calculates the new second voltage deviation, second frequency difference, and second phase difference, and compares them again with the preset grid connection conditions. This closed-loop adjustment process of "monitoring deviation + adjusting parameters + re-comparing" continues.

[0065] In some embodiments, a sliding window synchronization strategy can be adopted to achieve efficient synchronization. For example, within a fixed 0.2-second time window, the voltage deviation is prioritized in stages, followed by the frequency difference, and finally the phase difference is adjusted. When the calculated second voltage deviation, second frequency difference, and second phase difference all meet the preset grid connection conditions within a certain control cycle, the controller immediately terminates the adjustment cycle and triggers the grid connection contactor to close, completing the grid connection.

[0066] In some embodiments, the control method further includes the following steps: S50, monitoring the working status of the power grid, and when the working status is abnormal, acquiring the abnormal status parameters of the power grid and the current wind conditions; the abnormal status parameters include abnormal voltage and / or abnormal frequency.

[0067] In some embodiments, after a wind turbine is successfully connected to the grid, the controller continuously monitors the grid's operating status to ensure that the wind turbine can cope with grid disturbances and support grid stability. The monitoring of the operating status primarily focuses on the grid's voltage and frequency. The controller acquires the grid's voltage and frequency in real time through sensors at the grid connection point.

[0068] In some embodiments, a voltage fault (abnormal state) is determined when the voltage of the power grid is detected to drop to a certain percentage range of the rated voltage (e.g., between 20% and 80% of the rated voltage). A frequency fault (abnormal state) is determined when the frequency of the power grid is detected to deviate from a standard value (e.g., 50Hz ± 0.5Hz).

[0069] In some embodiments, once any one or two of the above-mentioned abnormal states are detected, the controller immediately records the abnormal state parameters of the power grid at that time, including abnormal voltage and / or abnormal frequency. At the same time, the controller also synchronously acquires the current wind speed and current wind direction to provide environmental input for subsequent control decisions under abnormal operating conditions.

[0070] In some embodiments, the control method further includes the following steps: S60, adjusting the control parameters of each control device in the wind turbine generator, and comparing the output adjusted real-time power supply parameters with the abnormal state parameters based on the current wind conditions and the adjusted control parameters, until the comparison passes, and maintaining the adjusted control parameters of each control device in the wind turbine generator.

[0071] In some embodiments, when an abnormal state of the power grid is detected, the controller takes immediate action to maintain grid-connected operation (low voltage ride-through) or provide support (frequency support).

[0072] In some embodiments, when the voltage drops, the controller may switch the converter control mode to the grid-type control-dominated mode within 20ms and activate the current limiting algorithm. At the same time, if an energy storage unit is configured, it controls the controller to replenish energy to the energy storage unit to stabilize the DC bus voltage.

[0073] In some embodiments, when the frequency is abnormal, the controller switches to the grid-type control-dominated mode and dynamically adjusts control parameters such as virtual inertia and damping coefficient in the virtual synchronous generator algorithm to simulate the frequency regulation characteristics of a synchronous generator.

[0074] In some embodiments, the adjusted control parameters are applied to control devices such as converters, and the wind turbine operates according to the current wind conditions and this new set of control parameters optimized for abnormal conditions, outputting an adjusted real-time power supply parameter.

[0075] In some embodiments, the controller's objective is no longer to track normal grid parameters, but rather to keep the wind turbines from disconnecting from the grid and provide support as much as possible under abnormal conditions. Therefore, the controller compares the adjusted real-time power supply parameters (such as voltage and frequency) output by the wind turbines with the abnormal state parameters of the grid (such as abnormal voltage and abnormal frequency) to determine whether they meet the operating requirements under abnormal conditions (e.g., whether the voltage is within the allowable range and whether the output active power helps to suppress frequency changes).

[0076] In some embodiments, the controller continues to fine-tune the control parameters based on the comparison results, so that the wind turbine output can better adapt to abnormal grid conditions. This adjustment process continues until the wind turbine's operating state meets the stability and support requirements under abnormal conditions (e.g., maintaining grid connection during voltage dips and outputting support power that matches the frequency deviation).

[0077] In some embodiments, once the comparison passes, the controller will maintain the current set of adjusted control parameters, enabling the wind turbine to operate stably in this support mode for abnormal grid conditions. When the grid condition is subsequently monitored to return to normal (e.g., the voltage recovers to more than 85% of the rated value and remains stable for more than 50ms, or the frequency recovers to 50Hz±0.2Hz and remains stable for more than 100ms), the controller will gradually switch the control parameters and mode back to the normal "grid connection + grid connection" hybrid operation mode.

[0078] As can be seen, the above scheme, by introducing a digital twin model for millisecond-level pre-simulation, can dynamically optimize control parameters based on real-time wind conditions and grid status. This overcomes the shortcomings of traditional methods that rely on static criteria with fixed thresholds, enabling the grid connection decision logic to comprehensively consider the turbine's own state, such as wind speed fluctuations, and the dynamic characteristics of the grid. This significantly reduces misjudgments of the synchronization window caused by dynamic factors and avoids repeated retries for grid connection. This method shortens the grid connection preparation time. By achieving accurate and rapid initial synchronization, it effectively reduces the impact and mechanical stress cycle experienced by the transmission chain during grid connection, thereby helping to reduce fatigue accumulation in key mechanical components and having a positive effect on improving the service life of components such as gearboxes and bearings. At the same time, the control based on pre-simulated optimized parameters lays the foundation for having voltage and frequency support capabilities immediately upon grid connection.

[0079] Please see Figure 2 The present invention also discloses a control device for grid connection of a wind turbine generator, and the above-mentioned control method can be applied to the control device. The control device may include a parameter acquisition module 100, a model simulation module 200, an equipment control module 300, and a grid connection judgment module 400.

[0080] In some embodiments, the parameter acquisition module 100 is used to acquire real-time wind conditions and real-time status parameters of the power grid.

[0081] In some embodiments, the model simulation module 200 is used to input real-time wind conditions into the digital twin model of the wind turbine, and when the simulated state parameters of the simulated power supply output by the digital twin model meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained.

[0082] In some embodiments, the device control module 300 is used to control the corresponding control device in the wind turbine generator according to the control parameters, and to collect the real-time power supply parameters of the power supply output by the wind turbine generator in real time under real-time wind conditions.

[0083] In some embodiments, the grid connection determination module 400 is used to connect the wind turbine to the power grid when the real-time power supply parameters and real-time status parameters meet the preset grid connection conditions.

[0084] For specific limitations regarding the control device, please refer to the limitations of the control method above, which will not be repeated here. Each module in the aforementioned control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the memory in the electronic device, or stored in software form in the memory of the electronic device, so that the memory can call and execute the operations corresponding to each module.

[0085] Please see Figure 3 In some embodiments, electronic device 500 may include memory 510, processor 520 and bus, and may also include computer programs stored in memory 510 and executable on processor 520, such as programs for a control method for grid connection of a wind turbine.

[0086] In some embodiments, the memory 510 includes at least one type of readable storage medium, including flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 510 can be an internal storage unit of the electronic device 500, such as the portable hard drive of the electronic device 500. In other embodiments, the memory 510 can also be an external storage device of the electronic device 500, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic device 500. Furthermore, the memory 510 can include both internal storage units and external storage devices of the electronic device 500. The memory 510 can be used not only to store application software and various types of data installed on the electronic device 500, such as the code for the grid connection control method of a wind turbine, but also to temporarily store data that has been output or will be output.

[0087] In some embodiments, the processor 520 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits packaged with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 520 is the control unit of the electronic device 500, connecting various components of the electronic device 500 through various interfaces and lines. It executes programs or modules stored in the memory 510 (e.g., programs for wind turbine grid connection control methods) and calls data stored in the memory 510 to perform various functions of the electronic device 500 and process data.

[0088] In some embodiments, the processor 520 executes the operating system of the electronic device 500 and various installed application programs. The processor 520 executes the application programs to implement the steps in the above-described control method for grid connection of the wind turbine.

[0089] In some embodiments, the computer program may be divided into one or more modules, one or more of which are stored in the memory 510 and executed by the processor 520 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the electronic device 500. For example, the computer program may be divided into a parameter acquisition module 100, a model simulation module 200, a device control module 300, a grid connection determination module 400, etc.

[0090] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.

Claims

1. A control method of grid connection of a wind power generator, characterized by, include: Obtain real-time wind conditions and real-time status parameters of the power grid; The real-time wind conditions are input into the digital twin model of the wind turbine, and when the simulated state parameters of the simulated power supply output by the digital twin model meet the preset simulation conditions with the real-time state parameters, the control parameters of each control device of the wind turbine in the digital twin model are obtained. The control equipment in the wind turbine is controlled according to the control parameters, and the real-time power supply parameters of the power supply output by the wind turbine are collected in real time under the real-time wind conditions. When the real-time power supply parameters and the real-time status parameters meet the preset grid connection conditions, the wind turbine is connected to the power grid.

2. The control method of grid connection of a wind power generator according to claim 1, characterized in that, The process involves inputting the real-time wind conditions into the digital twin model of the wind turbine, and when the simulated state parameters of the simulated power supply output by the digital twin model meet preset simulation conditions, obtaining the control parameters of each control device of the wind turbine in the digital twin model, including: The real-time wind conditions are input into the digital twin model of the wind turbine to obtain the simulated state parameters of the simulated power supply output by the digital twin model; the digital twin model outputs the corresponding simulated state parameters of the simulated power supply based on the real-time wind conditions and the control parameters of each control device within it. When the simulated state parameters and the real-time state parameters meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained.

3. The control method of grid connection of a wind power generator according to claim 2, characterized in that, The real-time status parameters include real-time voltage, real-time frequency, and real-time phase; the analog status parameters include analog voltage, analog frequency, and analog phase. When the simulated state parameters and the real-time state parameters meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained, including: The difference between the real-time voltage and the analog voltage is calculated to obtain the first voltage difference, and the ratio of the first voltage difference to the real-time voltage or the analog voltage is calculated to obtain the first voltage deviation; The first frequency difference is obtained by calculating the difference between the real-time frequency and the analog frequency; The first phase difference is obtained by calculating the difference between the real-time phase and the simulated phase; The first voltage deviation, the first frequency difference, and the first phase difference are compared with preset simulation conditions. When the first voltage deviation, the first frequency difference, and the first phase difference all meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are obtained.

4. The control method of grid connection of a wind power generator according to claim 3, characterized in that, The step of comparing the first voltage deviation, the first frequency difference, and the first phase difference with preset simulation conditions further includes: When at least one of the first voltage deviation, the first frequency difference, and the first phase difference does not meet the preset simulation conditions, the control parameters of each control device of the wind turbine in the digital twin model are adjusted until the simulated state parameters of the simulated power supply output by the digital twin model based on the real-time wind conditions and the adjusted control parameters meet the preset simulation conditions, and the adjusted control parameters of each control device of the wind turbine in the digital twin model are obtained.

5. The control method of grid connection of a wind power generator according to claim 1, characterized in that, The real-time power supply parameters include power supply voltage, power supply frequency, and power supply phase; The step of merging the wind turbine into the power grid when the real-time power supply parameters and the real-time status parameters meet the preset grid connection conditions includes: The difference between the real-time voltage and the supply voltage of the real-time state parameter is calculated to obtain the second voltage difference, and the ratio of the second voltage difference to the real-time voltage or the supply voltage is calculated to obtain the second voltage deviation. The second frequency difference is obtained by calculating the difference between the real-time frequency of the real-time status parameter and the power supply frequency; The second phase difference is obtained by calculating the difference between the real-time phase and the power supply phase of the real-time state parameter; The second voltage deviation, the second frequency difference, and the second phase difference are compared with preset grid connection conditions: when the second voltage deviation, the second frequency difference, and the second phase difference all meet the preset grid connection conditions, the wind turbine is connected to the power grid.

6. The control method of grid connection of a wind power generator according to claim 5, characterized in that, The step of comparing the second voltage deviation, the second frequency difference, and the second phase difference with preset grid connection conditions further includes: If at least one of the second voltage deviation, the second frequency difference, and the second phase difference does not meet the preset grid connection conditions, the control parameters of each control device in the wind turbine are adjusted until the real-time power supply parameters of the power supply output by the wind turbine according to the real-time wind conditions and the adjusted control parameters meet the preset grid connection conditions, and then the wind turbine is connected to the grid.

7. The control method for grid connection of a wind turbine generator according to claim 1, characterized in that, The control method further includes: The system monitors the operating status of the power grid and, when the operating status is abnormal, acquires the abnormal status parameters of the power grid and the current wind conditions; the abnormal status parameters include abnormal voltage and / or abnormal frequency. The control parameters of each control device in the wind turbine are adjusted, and the adjusted real-time power supply parameters are compared with the abnormal state parameters based on the current wind conditions and the adjusted control parameters. The adjusted control parameters of each control device in the wind turbine are maintained until the comparison passes.

8. A control device for grid connection of a wind turbine generator, characterized in that, include: The parameter acquisition module is used to acquire real-time wind conditions and real-time status parameters of the power grid. The model simulation module is used to input the real-time wind conditions into the digital twin model of the wind turbine, and when the simulated state parameters of the simulated power supply output by the digital twin model meet the real-time state parameters, the control parameters of each control device of the wind turbine in the digital twin model are obtained. The equipment control module is used to control the corresponding control equipment in the wind turbine according to the control parameters, and to collect the real-time power supply parameters of the power supply output by the wind turbine under the real-time wind conditions. The grid connection judgment module is used to connect the wind turbine to the power grid when the real-time power supply parameters and the real-time status parameters meet the preset grid connection conditions.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the control method for grid connection of the wind turbine as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the control method for grid connection of wind turbines as described in any one of claims 1 to 7.