A wind farm lightning monitoring and early warning method, device, equipment, medium and product

By generating thunderstorm cloud images from multi-source data and extracting features, and setting multi-level warning thresholds, the problem of warning lag in wind farm lightning monitoring systems has been solved, enabling accurate warning and active protection for wind turbine units, and improving safety and protection effectiveness during thunderstorms.

CN123142402APending Publication Date: 2026-11-20HUBEI HUADIAN WUXUE NEW ENERGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611304708.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The existing lightning monitoring system for wind farms lacks an active defense linkage mechanism, resulting in delayed early warning response and insufficient protection effectiveness. Furthermore, the fixed alarm threshold is prone to false alarms or missed alarms under different meteorological conditions, making it impossible to achieve timely and accurate early warning and active protection.

Method used

By acquiring multi-source heterogeneous data, generating thunderstorm cloud maps, performing feature extraction and risk probability assessment, setting multi-level early warning thresholds, generating and executing control commands, the system can achieve graded and quantitative assessment of lightning strike risks and proactive intervention.

Benefits of technology

It improves the operational safety and protection effectiveness of wind turbines during thunderstorms, overcomes the limitations of single sensing methods, and achieves accurate early warning and proactive defense against lightning risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123142402A_ABST
    Figure CN123142402A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of wind farm operation and maintenance control, and discloses a wind farm lightning monitoring and early warning method, device, equipment, medium and product. The present application realizes accurate association of macro weather and wind turbine position by generating thunderstorm cloud maps from multi-source heterogeneous data, extracts data feature sets based on the thunderstorm cloud maps, predicts lightning risk probability values from the data feature sets, determines early warning decision thresholds in combination with environmental state data, generates and executes control instructions through early warning signals, forms a complete closed loop from perception, fusion, quantitative evaluation, determination to active defense, solves the problems of single perception means, false alarms or missed reports caused by fixed thresholds, and lack of active defense linkage mechanism in the prior art, and improves the operation safety and protection effectiveness of wind turbines in thunderstorm weather.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wind farm operation and maintenance control technology, specifically to a method, device, equipment, medium, and product for monitoring and early warning of lightning in wind farms. Background Technology

[0002] Currently, wind farms mainly rely on meteorological radar echo data or ground-based atmospheric electric field meters to monitor lightning activity. The data collected by the equipment is usually transmitted back to a remote server for processing. The system internally sets a fixed electric field strength or radar reflectivity value as an alarm threshold, and an alarm is issued when the monitored value exceeds the threshold.

[0003] However, existing solutions suffer from several drawbacks in actual operation, including limited sensing methods, fixed judgment criteria, high latency in centralized data processing, and a lack of proactive defense and linkage mechanisms. Due to the lack of real-time sensing of the wind turbine's own operating status, such as blade speed, vibration amplitude, and local micro-environment electromagnetic changes, radar-scanned cloud information cannot accurately pinpoint the specific location of each wind turbine. Fixed alarm thresholds may be overly sensitive in clear, dry weather, leading to frequent false alarms, while in complex weather conditions with high humidity and temperature, they may be slow to react, missing genuine lightning strike precursors. The process from on-site data collection to cloud processing and return to the site involves a long network transmission link, often taking more than a few seconds. Since thunderstorms typically have only a window of tens of seconds between formation and impact on the wind turbine, by the time alarm information arrives, there is no time for on-site equipment operation, and maintenance personnel can only confirm the damage afterward, making timely and accurate early warning and proactive protection difficult. Summary of the Invention

[0004] This invention provides a method, device, equipment, medium, and product for monitoring and early warning of lightning in wind farms, in order to solve the problem of delayed early warning response and insufficient protection effectiveness caused by the lack of active control and defense actions of wind turbines.

[0005] In a first aspect, the present invention provides a method for monitoring and early warning of lightning strikes in wind farms, comprising: Acquire multi-source heterogeneous data and environmental status data in the wind farm environment, and generate thunderstorm cloud maps based on the multi-source heterogeneous data; Feature extraction was performed based on thunderstorm cloud images to obtain a data feature set; The probability value of lightning strike risk is obtained based on the data feature set, and the warning judgment threshold is determined based on the environmental status data. By comparing the probability value of lightning strike risk with the warning judgment threshold, a warning signal is obtained, and control commands are generated and executed based on the warning signal.

[0006] This embodiment provides a method for monitoring and warning of lightning in wind farms. By collecting multi-source heterogeneous data and processing it to generate thunderstorm cloud maps, it overcomes the limitation that single meteorological data cannot accurately reflect the local thunderstorm risk of wind turbines, and achieves collaborative perception of macro-meteorological information and micro-wind turbine status. By combining thunderstorm cloud maps for feature extraction and predicting the probability value of lightning strike risk based on the data feature set, it achieves quantitative assessment of lightning risk and provides reliable data support for graded early warning. By obtaining the environmental state to obtain the early warning judgment threshold and comparing it with the probability value of lightning strike risk to obtain the early warning signal, the generation of the early warning signal is adjusted according to environmental changes, solving the problem that fixed thresholds are prone to false alarms or missed alarms under complex meteorological conditions. It transforms the traditional post-event alarm mode into proactive intervention before lightning strikes occur, improving the operational safety and protection effectiveness of wind turbines in thunderstorm weather.

[0007] As a preferred embodiment of the wind farm lightning monitoring and early warning method of the present invention, generating a thunderstorm cloud map based on multi-source heterogeneous data includes: Time synchronization processing is performed on multi-source heterogeneous data to generate a synchronized data sequence, which includes wind turbine operating status, meteorological data, and current data. A thunderstorm cloud map is generated based on the synchronized data sequence.

[0008] The beneficial effects of this preferred technical solution are as follows: By performing time synchronization processing on multi-source heterogeneous data to generate a synchronized data sequence, the current data, meteorological data, and wind turbine operating status, which originally had different sampling frequencies and different time bases, are aligned in the time dimension, providing a data foundation for the subsequent generation of thunderstorm cloud maps; the generation of thunderstorm cloud maps based on the synchronized data sequence accurately correlates macro-meteorological radar data with the local spatial location of wind turbines, overcoming the limitation that single meteorological data cannot reflect the real thunderstorm risk of a single wind turbine, realizing a scale leap from macro-meteorological monitoring to micro-wind turbine perception, and improving the spatial resolution and relevance of thunderstorm cloud maps.

[0009] As a preferred embodiment of the wind farm lightning monitoring and early warning method of the present invention, the synchronized data sequence includes wind turbine operating status, meteorological data, and current data; based on the synchronized data sequence, a thunderstorm cloud map is generated, including: The spatial orientation information of the wind turbines is determined based on the wind turbine operating status in the synchronous data sequence; Based on spatial orientation information, meteorological data in the synchronous data sequence are mapped to the spatial coordinate system of the wind farm to generate thunderstorm cloud maps.

[0010] The beneficial effects of this preferred technical solution are as follows: by determining the spatial orientation information of the wind turbine based on its operating status, and mapping meteorological data to the wind farm spatial coordinate system based on the spatial orientation information to generate a thunderstorm cloud map, the precise correlation between macro-meteorological radar data and the spatial location of a single wind turbine is achieved. This enables the thunderstorm cloud map to accurately reflect the local meteorological situation at the location of each wind turbine, overcoming the deficiency in traditional solutions where macro-meteorological data cannot be accurately mapped to the location of a single wind turbine, improving the spatial resolution of the thunderstorm cloud map, and enhancing the pertinence and reliability of lightning warnings.

[0011] As a preferred embodiment of the wind farm lightning monitoring and early warning method of the present invention, feature extraction is performed based on thunderstorm cloud images to obtain a data feature set, including: Preprocess the current data in the synchronous data sequence to obtain the processed data; Thunderstorm features are extracted from thunderstorm cloud images, and key parameters of lightning impact are extracted based on the processed data and thunderstorm features. A data feature set was constructed based on key parameters of lightning impact.

[0012] The beneficial effects of this preferred technical solution are as follows: by preprocessing the current data to eliminate noise interference in the original signal, and by combining the thunderstorm features extracted from the thunderstorm cloud map to jointly extract key parameters of lightning impact, the current data and thunderstorm feature information are integrated at the feature level, and the constructed data feature set provides a multi-dimensional and high-information data foundation for subsequent lightning strike risk probability prediction.

[0013] As a preferred embodiment of the wind farm lightning monitoring and early warning method of the present invention, the method for obtaining the lightning strike risk probability value based on the data feature set includes: Filter and discriminate feature sets from the data feature set; The discriminant feature set is input into the prediction model to obtain the probability value of lightning strike risk.

[0014] The beneficial effects of this preferred technical solution are as follows: by screening the discriminative feature set from the data feature set, redundant and irrelevant features are removed, and the key features with the highest correlation to lightning strike events are retained, thereby improving the input quality and inference efficiency of the subsequent prediction model; by inputting the screened discriminative feature set into the prediction model, a quantitative mapping from data features to lightning strike risk probability values ​​is realized, so that the assessment results of lightning strike risk are presented intuitively in the form of probability values, thereby improving the accuracy and reliability of the prediction.

[0015] In a preferred embodiment of the wind farm lightning monitoring and early warning method of the present invention, the early warning judgment threshold includes a first early warning threshold, a second early warning threshold, and a third early warning threshold, wherein the first early warning threshold is less than the second early warning threshold, and the second early warning threshold is less than the third early warning threshold; by comparing the lightning strike risk probability value with the early warning judgment threshold, an early warning signal is obtained, including: The probability value of lightning strike risk is compared with the first warning threshold, the second warning threshold, and the third warning threshold; When the probability value of lightning strike risk is less than the first warning threshold, it is determined to be a state without warning; When the probability value of lightning strike risk is greater than or equal to the first warning threshold and less than the second warning threshold, a first-level warning signal is obtained; When the probability value of lightning strike risk is greater than or equal to the second warning threshold and less than the third warning threshold, a second-level warning signal is obtained; When the probability value of lightning strike risk is greater than or equal to the third warning threshold, a third-level warning signal is obtained; The first-level warning signal, the second-level warning signal, and the third-level warning signal are used as warning signals.

[0016] The beneficial effects of this preferred technical solution are as follows: by setting a first warning threshold, a second warning threshold, and a third warning threshold, the lightning strike risk is divided into four levels: no warning state, first-level warning signal, second-level warning signal, and third-level warning signal. This achieves a graded and quantitative assessment of lightning strike risk, overcoming the binary judgment defect of the single-threshold scheme of "either reporting or safe". The step-by-step comparison enables the warning signal to accurately reflect the risk status of different urgency levels, providing a refined judgment basis for the graded response of subsequent control commands, and avoiding false alarms or missed alarms caused by a single threshold.

[0017] Secondly, the present invention provides a lightning monitoring and early warning device for wind farms, the device comprising: The data acquisition module is used to acquire multi-source heterogeneous data and environmental status data in the wind farm environment; The thunderstorm cloud map generation module is used to generate thunderstorm cloud maps based on multi-source heterogeneous data. The feature extraction module is used to extract features based on thunderstorm cloud images to obtain a data feature set; The risk prediction module is used to obtain the probability value of lightning strike risk based on the data feature set; The early warning generation module is used to determine the early warning judgment threshold based on environmental status data, compare the lightning strike risk probability value with the early warning judgment threshold, and obtain the early warning signal. The instruction execution module is used to generate and execute control instructions based on the warning signal.

[0018] Thirdly, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform a wind farm lightning monitoring and early warning method according to the first aspect or any corresponding embodiment described above.

[0019] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute a wind farm lightning monitoring and early warning method according to the first aspect or any corresponding embodiment described above.

[0020] Fifthly, the present invention provides a computer program product, including computer instructions, which are used to cause a computer to execute a wind farm lightning monitoring and early warning method according to the first aspect or any corresponding embodiment described above. Attached Figure Description

[0021] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0022] Figure 1 This is a schematic diagram of a wind farm lightning monitoring and early warning system according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the first step of a method for monitoring and warning of lightning in a wind farm according to an embodiment of the present invention; Figure 3 This is a second flowchart illustrating a method for monitoring and warning of lightning in a wind farm according to an embodiment of the present invention. Figure 4 This is a schematic diagram of the third process of a wind farm lightning monitoring and early warning method according to an embodiment of the present invention; Figure 5 This is a structural block diagram of a wind farm lightning monitoring and early warning device according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.

[0025] As an optional application scenario of this invention, such as Figure 1 As shown in the figure, the wind farm lightning monitoring and early warning method provided by this embodiment of the invention can be applied to wind farm lightning safety protection scenarios. This application scenario may include at least one wind farm-side monitoring device and at least one remote server. Figure 1 The system is illustrated in the example, which includes a data acquisition processor 101, an edge computing gateway 102, and a server 103, wherein the data acquisition processor 101 and the edge computing gateway 102 are connected to the server 103 via a network 110.

[0026] The data acquisition processor 101 can be an embedded industrial controller, a programmable logic controller, or a dedicated data acquisition terminal, deployed inside the wind turbine towers or at the tower base of the wind farm; the edge computing gateway 102 can be an industrial-grade edge computing device, deployed at the wind farm's booster station or control center. The server 103 can be a standalone physical server, a server cluster, or a cloud server. The network 110 can be a wired network or a wireless network, including but not limited to industrial Ethernet, fiber optic ring networks, and combinations thereof.

[0027] In some embodiments, the data acquisition processor 101 integrates a data acquisition module for acquiring multi-source heterogeneous data and environmental status data in the wind farm environment. The data acquisition module includes: an atmospheric electric field sensor array embedded inside the wind turbine blades for acquiring current waveform data; an electromagnetic pulse sensor installed on the top of the wind turbine tower for capturing broadband electromagnetic radiation signals generated by lightning; a weather radar data interface for accessing reflectivity and wind speed vector data from an X-band weather radar; and a wind turbine monitoring and data acquisition system data acquisition interface for real-time acquisition of wind turbine yaw angle, blade speed, and vibration frequency as wind turbine operating status data.

[0028] Edge computing gateway 102 is communicatively connected to data acquisition processor 101 and is used to synchronously process and spatially map multi-source heterogeneous data to generate thunderstorm cloud maps and extract features based on thunderstorm cloud maps to obtain data feature sets. Server 103 is communicatively connected to edge computing gateway 102 and is used to obtain lightning strike risk probability values ​​based on data feature sets, determine early warning judgment thresholds based on environmental status data, obtain early warning signals by comparing lightning strike risk probability values ​​with early warning judgment thresholds, and generate and execute control commands based on early warning signals.

[0029] It should be noted that, Figure 1This is merely an example of an application scenario and does not limit the scope of protection of this invention. In a wind farm, the data acquisition processors of each wind turbine can operate independently, or a single edge computing gateway can manage the data from multiple wind turbines.

[0030] According to an embodiment of the present invention, a method for monitoring and early warning of lightning in wind farms is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0031] This embodiment provides a method for monitoring and warning of lightning strikes in wind farms, which can be used in the aforementioned wind farm lightning safety protection scenario. Figure 2 This is a flowchart of a wind farm lightning monitoring and early warning method according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps: Step S201: Obtain multi-source heterogeneous data and environmental status data in the wind farm environment, and generate a thunderstorm cloud map based on the multi-source heterogeneous data.

[0032] Among them, multi-source heterogeneous data refers to the data set from different types of sensors in the wind farm environment, including but not limited to current data, meteorological data, and wind turbine operating status; current data refers to the current waveform signal collected by the atmospheric electric field sensor embedded in the wind turbine blade; meteorological data refers to the X-band meteorological radar echo signal obtained through the meteorological radar data interface; wind turbine operating status refers to the wind turbine operating parameters such as wind turbine yaw angle, blade speed, and vibration frequency obtained in real time through the wind turbine monitoring and data acquisition system; environmental status data refers to the meteorological environmental parameters around the wind farm, such as ambient temperature and humidity and historical lightning strike density.

[0033] Specifically, by using atmospheric electric field sensors installed inside the wind turbine blades, electromagnetic pulse sensors at the top of the wind turbine tower, weather radar data interfaces, and a wind turbine monitoring and data acquisition system, current waveform data, weather radar echo data, and wind turbine operating parameters are collected in real time. At the same time, ambient temperature and humidity and historical lightning strike density are obtained through weather stations. Asynchronous multi-source data with different sampling frequencies are processed for time synchronization to maintain alignment in the time dimension. And according to the wind turbine yaw angle, the weather radar data is mapped to the spatial location of each wind turbine to generate a high-resolution thunderstorm cloud map covering the entire wind farm.

[0034] Step S202: Extract features based on thunderstorm cloud images to obtain a data feature set.

[0035] Among them, thunderstorm cloud map refers to the spatial distribution map formed by mapping meteorological radar data to the wind farm spatial coordinate system, which can reflect the distribution and evolution of thunderstorm cloud clusters in the wind farm area; data feature set refers to the multi-dimensional feature set extracted from thunderstorm cloud map and synchronous data sequence to characterize lightning strike risk.

[0036] Specifically, the current data in the synchronous data sequence is preprocessed to remove high-frequency noise from the original signal, resulting in processed data that reflects the true electromagnetic response of lightning. At the same time, lightning features are extracted from the lightning cloud map. Based on the processed data and lightning features, the spatial distribution information of the wind turbine is fused to extract current steepness, charge quantity, specific energy, and radar reflectivity factor gradient as key parameters of lightning impact. The key parameters of lightning impact are combined into a data feature set, which serves as the input for the subsequent risk prediction model.

[0037] Step S203: Obtain the probability value of lightning strike risk based on the data feature set, and determine the warning judgment threshold based on the environmental status data.

[0038] Among them, the lightning strike risk probability value refers to a quantitative value that characterizes the possibility of a wind farm being struck by lightning within a preset time window in the future. The value ranges from 0 to 1. The higher the lightning strike risk probability value, the higher the lightning strike risk, providing a quantifiable basis for tiered early warning. The early warning judgment threshold is a boundary value used to compare with the lightning strike risk probability value to determine the early warning level. It divides continuous lightning strike risk probability values ​​into different early warning level intervals.

[0039] Specifically, the core discriminant feature set with the highest correlation to lightning strike events is selected from the data feature set, including but not limited to the rate of change of atmospheric electric field intensity, the deviation of wind turbine blade vibration frequency from the normal operating condition threshold, and the sudden increase in meteorological radar reflectivity. The core discriminant feature set is input into a pre-trained extreme gradient boosting tree model, which is trained based on historical lightning strike event data. The extreme gradient boosting tree model can establish a nonlinear mapping relationship between the core discriminant features and the lightning strike risk, and output the probability value of the current wind turbine being struck by lightning in the future within a preset time window.

[0040] In determining the early warning threshold, the current ambient temperature and humidity and historical lightning strike density are input into the reinforcement learning model. The reinforcement learning model uses the state space composed of ambient temperature and humidity and historical lightning strike density as the observation input, and the adjustment step size of the early warning threshold as the action space. It is iteratively optimized through a reward function. The reward function negatively penalizes the exponential growth of the false alarm rate and the absolute deviation between the early warning time and the actual lightning strike time. This allows the reinforcement learning model to output an early warning threshold that is adapted to the current environmental conditions during training, avoiding frequent false alarms due to an excessively low early warning threshold and missed alarms due to an excessively high early warning threshold, thus achieving a balance between early warning accuracy and early warning lead time.

[0041] Step S204: Compare the lightning strike risk probability value with the early warning judgment threshold to obtain the early warning signal, and generate and execute control commands based on the early warning signal.

[0042] Among them, the early warning signal refers to the graded alarm information generated based on the comparison between the lightning strike risk probability value and the early warning judgment threshold, which represents the urgency of the current lightning strike risk and provides a basis for the selection of subsequent control commands; the control command refers to the operation command used to drive the wind turbine to perform active defense actions, change the wind turbine's operating status before a lightning strike occurs to reduce the probability of being struck by lightning.

[0043] Specifically, the warning judgment thresholds include a first warning threshold, a second warning threshold, and a third warning threshold, with the three levels of warning judgment thresholds increasing sequentially. The probability value of lightning strike risk is compared with each of the three warning judgment thresholds: when the probability value of lightning strike risk is less than the first warning threshold, it is determined to be a no-warning state, and no control action is triggered; when the probability value of lightning strike risk is greater than or equal to the first warning threshold and less than the second warning threshold, a first-level warning signal is output, indicating only entry into high-frequency monitoring mode, without triggering wind turbine action; when the probability value of lightning strike risk is greater than or equal to the second warning threshold and less than the third warning threshold, a second-level warning signal is output; when the probability value of lightning strike risk is greater than or equal to the third warning threshold, a third-level warning signal is output. The second-level and third-level warning signals trigger the generation of active defense control commands. The control commands include, but are not limited to, yaw commands that drive the yaw system to rotate the wind turbine against the wind direction, pitch commands that adjust the pitch angle to reduce the lightning strike cross section, and isolation commands that isolate sensitive circuits and switch to backup power. The control commands are sent to the wind turbine control system, and the actuators complete the corresponding actions.

[0044] This embodiment provides a method for monitoring and warning of lightning in wind farms. It generates thunderstorm cloud maps by acquiring multi-source heterogeneous data, accurately linking macro-meteorological data with the spatial location of wind turbines to overcome the blind spots of a single data source. Based on the thunderstorm cloud maps, feature extraction is performed to obtain a data feature set, and the probability value of lightning strike risk is predicted, achieving a quantitative assessment of lightning strike risk. A warning threshold is determined according to environmental conditions, allowing the threshold to be adjusted with environmental changes, avoiding the problem of false alarms or missed alarms under complex meteorological conditions with fixed thresholds. Through a three-level warning threshold system combined with control commands such as warning signal triggering, the wind turbine attitude is proactively changed and sensitive circuits are protected before a lightning strike occurs. This transforms the traditional post-event alarm mode into proactive intervention before a lightning strike, achieving a complete closed loop from multi-source perception and risk prediction to proactive defense, improving the operational safety and protection effectiveness of wind turbines during thunderstorms.

[0045] This embodiment provides a method for monitoring and warning of lightning strikes in wind farms, which can be used in the aforementioned wind farm lightning safety protection scenario. Figure 3 This is a flowchart of a wind farm lightning monitoring and early warning method according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps: Step S301: Obtain multi-source heterogeneous data and environmental status data in the wind farm environment, and generate a thunderstorm cloud map based on the multi-source heterogeneous data.

[0046] Step S3011: Perform time synchronization processing on the multi-source heterogeneous data to generate a synchronized data sequence, which includes wind turbine operating status, meteorological data, and current data.

[0047] Specifically, the sampling frequencies of multi-source heterogeneous data differ. For example, the sampling frequency of the atmospheric electric field sensor is 10kHz, the update cycle of the meteorological radar data is 5 minutes, and the sampling frequency of the wind turbine monitoring and data acquisition system data is 50Hz, resulting in sampling frequency differences and timestamp offsets. This embodiment uses the Kalman filter algorithm to perform state estimation and noise suppression on multi-source heterogeneous data. Meteorological radar data from the multi-source heterogeneous data is used as low-frequency observations, and current waveform data is used as high-frequency state update values ​​to construct a state-space model of the Kalman filter. The state-space model includes two parts: state equations and observation equations. The state equations describe the physical evolution of the system at adjacent time points through a state transition matrix, i.e., the transition relationship of the system state from the previous time point to the current time point. The observation equations map the true state of the system to the measured values ​​of each sensor through an observation matrix. The recursive calculation of the Kalman filter is performed through the state-space model, and in the prediction stage, the state is estimated based on the state at the previous time point. The algorithm uses the state equation and state transition matrix to make a priori estimation of the state at the current moment, obtaining a priori estimate. In the update phase, the priori estimate is corrected using the current high-frequency sensor observations, i.e., current data. The priori estimate and the observations are weighted and fused using Kalman gain to obtain the posterior state estimate at the current moment. Through continuous recursion in the prediction and update phases, the Kalman filter algorithm outputs a set of synchronous data points that have undergone noise suppression and optimal state estimation for each sampling moment. For time points where low-frequency data sources such as weather radar data are missing, the Kalman filter algorithm makes optimal estimations of the state data at these missing moments based on the state equation and the updated state estimates to fill the data gaps. The Kalman filter algorithm filters the current data point by point, updates the wind turbine operating parameters point by point, and interpolates the meteorological data between two observations, outputting a set of initial data sequences indexed by standard timestamps and containing information from all data sources. Since the timestamps of each data point in the initial data sequence output by the Kalman filter are still not evenly spaced, and the timestamps of data points from different data sources cannot be perfectly aligned, this embodiment, based on the smoothing process of the Kalman filter, uses the Lagrange interpolation algorithm for interpolation registration of the discrete timestamps with non-equal intervals in the initial data sequence. The Lagrange interpolation algorithm selects multiple sample data points near the target standard time node, constructs a Lagrange base polynomial, and calculates the precise values ​​of each physical quantity corresponding to the target standard time node based on the timestamps and physical quantity values ​​of each known data point. The Lagrange interpolation algorithm performs interpolation calculations sequentially for each standard time node, uniformly registering the data from all data sources to the same set of standard timestamps. The multi-source heterogeneous data is processed by the Kalman filter algorithm to obtain the initial data sequence, and the initial data sequence is registered by the Lagrange interpolation algorithm to obtain the synchronized data sequence. The time synchronization error between the multi-source data in the synchronized data sequence is controlled within 2 milliseconds. The synchronized data sequence includes wind turbine operating status, meteorological data, and current data.

[0048] Step S3012: Determine the spatial orientation information of the wind turbines based on the wind turbine operating status in the synchronous data sequence; map the meteorological data in the synchronous data sequence to the spatial coordinate system of the wind farm based on the spatial orientation information to generate a thunderstorm cloud map.

[0049] Specifically, wind turbine operating status data is extracted from the synchronous data sequence. This data includes, but is not limited to, wind turbine yaw angle and nacelle orientation data. The yaw angle refers to the horizontal rotation angle of the wind turbine nacelle relative to the vertical axis of the tower, representing the angle between the current orientation of the nacelle and true north. The nacelle orientation data refers to the orientation information of the nacelle in the wind farm plane. The spatial orientation information of the wind turbine at the current moment is determined based on the yaw angle, that is, the orientation of the swept surface of the wind turbine blades in three-dimensional space is determined. For example, taking a single wind turbine as an example, when the current yaw angle of the wind turbine is displayed as a counterclockwise rotation of 15°, the orientation of the swept surface of the wind turbine blades is determined, that is, the normal direction of the swept surface of the blades is deflected counterclockwise by 15° relative to true north. A local three-dimensional polar coordinate system is established with the wind turbine tower base as the origin. The polar axis of the local three-dimensional polar coordinate system is determined by the wind turbine yaw angle. The polar angle represents the azimuth angle, and the polar radius represents the horizontal distance from the wind turbine tower base. Meteorological data, including radar reflectivity factors and wind speed vector information, is extracted from a synchronous data sequence. An inverse distance weighted interpolation algorithm is used to map the meteorological data to the spatial coordinate system of the wind farm. The algorithm assigns weights based on spatial distance for interpolation estimation, assigning higher weights to known sampling points closer to the unknown point, with the weight value inversely proportional to the power of the distance from the unknown point to the known sampling point. For any spatial location in the wind farm's spatial coordinate system, the algorithm searches for nearby known radar sampling points centered on that location, calculates weight coefficients based on the distance between each known radar sampling point and the target location, and performs a weighted average of the radar reflectivity factor values ​​of all known radar sampling points to obtain the interpolation result at that location. Through interpolation calculations, macroscopic meteorological data is mapped to the local spatial coordinates of each wind turbine in the wind farm, generating a high-resolution thunderstorm cloud map covering the entire wind farm area, with each wind turbine tower base as a reference point.

[0050] Step S302: Extract features based on thunderstorm cloud images to obtain a data feature set.

[0051] Specifically, step S302 above includes: Step S3021: Preprocess the current data in the synchronization data sequence to obtain processed data.

[0052] Specifically, current data is extracted from the synchronous data sequence. This current data refers to the current waveform signal collected by an atmospheric electric field sensor embedded inside the wind turbine blades at a sampling frequency of 10kHz. This includes, but is not limited to, the original waveform data. The original waveform data contains power frequency electromagnetic interference generated during normal wind turbine operation, low-frequency noise caused by tower vibration, and spike noise generated by the switching of power electronic devices. These noise components overlap with the current waveform generated by lightning in the frequency spectrum. In this embodiment, a digital filtering algorithm can be used to preprocess the original waveform data. A bandpass filter is used to filter out power frequency interference and high-frequency noise, retaining the dominant frequency component of the lightning current waveform. The dominant frequency component typically... The preprocessing focuses on the frequency band from 1kHz to 100kHz and uses wavelet denoising algorithm to perform soft thresholding on the filtered current signal to remove white noise components. For example, taking the current waveform data before a lightning strike, the original waveform data has about 0.5 mA of white noise superimposed on it. After wavelet thresholding denoising, the signal-to-noise ratio is improved from 18 dB to 36 dB. The preprocessing also includes baseline drift correction, that is, using polynomial fitting method to estimate the baseline offset of the current waveform and subtract it from the original signal to ensure that the current waveform data is based on the zero line. The processed data obtained after preprocessing is the pure current waveform data after removing noise interference and returning the baseline to zero.

[0053] Step S3022: Extract thunderstorm features from thunderstorm cloud images; extract key lightning impact parameters based on processed data and thunderstorm features; construct a data feature set based on key lightning impact parameters.

[0054] Specifically, thunderstorm features are extracted from the generated thunderstorm cloud images. Thunderstorm features refer to the spatial distribution characteristics that can characterize the intensity and evolution of thunderstorm clouds, including but not limited to the stepwise increase in radar reflectivity factor. The stepwise increase in radar reflectivity factor refers to the change in radar reflectivity factor at the same spatial location in the thunderstorm cloud image within adjacent time windows. When the change exceeds a preset threshold, it indicates that the thunderstorm cloud is developing rapidly at that location. For example, taking a certain thunderstorm process as an example, within a 6-minute time window, the radar reflectivity factor at a certain spatial location in the thunderstorm cloud image increases from 35 dBZ to 50 dBZ, with a stepwise increase of 15 dBZ. This indicates that the thunderstorm cloud at that spatial location is developing rapidly and has a high probability of lightning activity. Here, dBZ is the decibel reflectivity factor, which reflects the density and size of precipitation particles such as raindrops, ice crystals, and hail within the radar detection range. Key parameters of lightning strikes are extracted from the processed data. These parameters include, but are not limited to, current steepness, charge quantity, and specific energy. Current steepness refers to the maximum rate of change of the current waveform at its rising edge, characterizing the severity of the lightning current impact. It is calculated by dividing the current change between adjacent sampling points by the time interval and taking the maximum value among all calculations. Charge quantity refers to the cumulative amount of lightning current over time, characterizing the total charge transfer of the lightning current. It is calculated by cumulatively adding the processed current waveform point by point in the time domain, i.e., integrating the area enclosed by the current-time curve and the time axis. Specific energy refers to the energy released by the lightning current per unit resistance, characterizing the intensity of the lightning current's thermal effect. It is calculated by squaring the processed current waveform in the time domain and then cumulatively adding the squares, i.e., integrating the area enclosed by the current-time curve and the time axis. For example, in a specific lightning strike event, the calculated current steepness is 2.5 kA / µs, the charge quantity is 8.6 coulombs, and the specific energy is 1.2 × 10⁻⁶. 6 Joules per ohm, and the radar reflectivity factor extracted from the thunderstorm cloud image increases by 15 dBZ, forming a set of key parameters for lightning impact. The current steepness, charge, and specific energy extracted at the same time are combined with the radar reflectivity factor gradient increase extracted from the thunderstorm cloud image to construct a data feature set.

[0055] Step S303: Obtain the probability value of lightning strike risk based on the data feature set, and determine the warning judgment threshold based on the environmental status data.

[0056] Specifically, step S303 above includes: Step S3031: Select a discrimination feature set from the data feature set; input the discrimination feature set into the prediction model to obtain the probability value of lightning strike risk.

[0057] Specifically, the data feature set contains feature parameters in multiple dimensions. Some features have weak correlation with lightning strikes or contain redundant information. Therefore, this embodiment uses a feature importance assessment method to screen and discriminate feature sets from the data feature set. The discriminant feature set refers to the core feature set with the strongest correlation to the occurrence of lightning strikes, including but not limited to the rate of change of atmospheric electric field intensity, the deviation of wind turbine blade vibration frequency from the normal operating condition threshold, and the sudden increase in meteorological radar reflectivity. The rate of change of atmospheric electric field intensity refers to the short-time first-order derivative of atmospheric electric field intensity within a sliding time window, characterizing the drastic change of electric field during the formation of thunderstorm clouds. The deviation of wind turbine blade vibration frequency from the normal operating condition threshold refers to the percentage deviation of the center frequency of the wind turbine blade vibration spectrum from the normal operating condition baseline, characterizing the electromagnetic / aerodynamic effects on the wind turbine structure when lightning strikes. The sudden increase in meteorological radar reflectivity refers to the step change in radar reflectivity factor at the same spatial location within adjacent radar scanning cycles, characterizing the rapid change in precipitation particle concentration or size in convective clouds. Taking data from 30 seconds before a lightning strike as an example, the atmospheric electric field intensity change rate is 0.8 kV / m² / s, the blade vibration frequency deviation is 12.5%, and the meteorological radar reflectivity spike is 18 dBZ. These three factors constitute a set of discriminative feature vectors. The selected discriminative feature set is input into the prediction model. In this embodiment, the prediction model can adopt an extreme gradient boosting tree model such as the XGBoost model. The Boosting model, or Extreme Gradient Boosting Tree model, determines the optimal hyperparameter combination through Bayesian optimization. Bayesian optimization constructs a Gaussian process regression alternative model based on the generalization error of the historical validation set. By maximizing the expected value of the acquisition function, the optimal hyperparameter combination of XGBoost is established in the parameter space, including maximum tree depth, learning rate, and subsampling ratio. The XGBoost model uses residual fitting of multiple decision trees for regression prediction. After the discriminant feature vector is input into the XGBoost model, each decision tree independently outputs the prediction result. The final prediction value is obtained by weighted summation of the prediction results of each decision tree. After forward propagation calculation by the XGBoost model, the probability value of lightning strike risk of the current wind turbine within the future preset window period is output.

[0058] Step S3032: Determine the warning judgment threshold based on environmental status data.

[0059] Specifically, environmental state data includes, but is not limited to, ambient temperature and humidity, and historical lightning strike density. Ambient temperature refers to the air temperature within the wind farm area; ambient humidity refers to the relative humidity within the wind farm area; historical lightning strike density refers to the number of historical lightning events per unit area within a statistical period, such as the past three years. Ambient temperature and humidity affect the ionization characteristics of air and the electrification intensity of thunderstorm clouds; the probability of lightning strikes is usually higher under high temperature and high humidity conditions. Historical lightning strike density reflects the geographical and climatic characteristics of the wind farm area and the baseline level of lightning risk. In this embodiment, a reinforcement learning model can be used to determine the early warning threshold. The environmental state space composed of ambient temperature and humidity and historical lightning strike density is used as the observation state input of the reinforcement learning agent. The adjustment step size of the early warning threshold is used as the action space, and iterative optimization is performed through interaction with the historical lightning event database. During training, after the reinforcement learning model outputs an early warning threshold each time, it performs early warning judgments on samples in the historical lightning event database based on the early warning threshold, calculating two evaluation indicators: false alarm rate and early warning lead time. The reinforcement learning model receives reward feedback, which is negative and consists of two penalties: the first penalty is the false alarm rate multiplied by an amplification factor and then exponentially increased; as the false alarm rate increases, the penalty increases exponentially, and the higher the false alarm rate, the heavier the penalty. The second penalty is the absolute deviation between the warning trigger time and the actual lightning strike time; the larger the deviation, the earlier or later the warning is issued, and the heavier the penalty. The two penalties are added together to obtain the total negative reward value.

[0060] The reinforcement learning model aims to maximize cumulative reward and continuously adjusts its output strategy for setting the warning threshold during training. If the warning threshold is set too low, the false alarm rate increases, leading to a sharp increase in the first exponential penalty. If the warning threshold is set too high, the warning trigger time is delayed, increasing the deviation from the actual lightning strike time and thus increasing the second penalty. It may also result in missed warnings due to late warnings. After iterative optimization, the warning threshold output by the reinforcement learning model can adapt to current meteorological conditions and geographical climate characteristics. For example, in high-temperature and high-humidity environments, where air ionization is high and the probability of lightning strikes increases, the reinforcement learning model appropriately lowers the warning threshold based on historical feedback to improve warning sensitivity. In low-temperature and dry environments, the warning threshold is appropriately raised to avoid false alarms triggered by environmental noise.

[0061] Step S304: Compare the lightning strike risk probability value with the early warning judgment threshold to obtain an early warning signal, and generate and execute control commands based on the early warning signal.

[0062] Specifically, step S304 above includes: Step S3041: Compare the lightning strike risk probability value with the first warning threshold, the second warning threshold, and the third warning threshold; when the lightning strike risk probability value is less than the first warning threshold, it is determined to be a no-warning state.

[0063] Specifically, the warning thresholds include a first warning threshold, a second warning threshold, and a third warning threshold, which increase sequentially. That is, the first warning threshold is less than the second warning threshold, and the second warning threshold is less than the third warning threshold. In this embodiment, the first warning threshold can be set to 0.6, the second warning threshold to 0.75, and the third warning threshold to 0.85. The obtained lightning strike risk probability value is compared with the three warning thresholds sequentially. When the lightning strike risk probability value is less than the first warning threshold, i.e., less than 0.6, it indicates that the key characteristics of the current thunderstorm cloud, such as the rate of change of electric field intensity and the sudden increase in radar reflectivity, have not reached the conditions for triggering a warning, and the lightning strike risk is at a low level, which is judged as a no-warning state. In the no-warning state, no alarm action is triggered, and only the normal data collection and monitoring operation mode is maintained.

[0064] Step S3042: When the probability value of lightning strike risk is greater than or equal to the first warning threshold and less than the second warning threshold, a first-level warning signal is obtained; when the probability value of lightning strike risk is greater than or equal to the second warning threshold and less than the third warning threshold, a second-level warning signal is obtained.

[0065] Specifically, when the lightning strike risk probability value is greater than or equal to the first warning threshold and less than the second warning threshold, i.e., greater than or equal to 0.6 and less than 0.75, it indicates that the thunderstorm cloud is approaching the wind farm area, the lightning strike risk is at a moderate level, and the first-level warning signal is output. For example, taking actual monitoring data as an example, the atmospheric electric field intensity change rate is 0.55kV / m² / s, the radar reflectivity increment is 12dBZ, and the lightning strike risk probability value calculated by the prediction model is 0.68. The lightning strike risk probability value falls into the first-level warning range, the first-level warning signal is output, and the system enters the high-frequency data recording mode. The monitoring system increases the frequency of data acquisition and feature extraction to the highest level, but does not trigger wind turbine control actions.

[0066] When the lightning strike risk probability value is greater than or equal to the second warning threshold and less than the third warning threshold, i.e., greater than or equal to 0.75 and less than 0.85, it indicates that the thunderstorm cloud has approached the wind farm area and the lightning strike risk is at a high level, so a second-level warning signal is output. Taking another actual monitoring data as an example, the atmospheric electric field intensity change rate is 0.9kV / m² / s, the radar reflectivity increment is 22dBZ, and the lightning strike risk probability value calculated by the prediction model is 0.78. The lightning strike risk probability value falls into the second-level warning range, so a second-level warning signal is output, the active defense standby state is entered, the control command set is generated and sent to the wind turbine control system for execution.

[0067] Step S3043: When the probability value of lightning strike risk is greater than or equal to the third warning threshold, a third-level warning signal is obtained; the first-level warning signal, the second-level warning signal, and the third-level warning signal are used as warning signals.

[0068] Specifically, when the lightning strike risk probability value is greater than or equal to the third warning threshold, i.e., greater than or equal to 0.85, it indicates that the thunderstorm cloud has covered the wind farm area, and the lightning strike risk is at an extremely high level, so a third-level warning signal is output. For example, taking the monitoring data before the actual lightning strike event as an example, the atmospheric electric field intensity change rate reaches 1.5kV / m² / s, and the radar reflectivity sudden increase is 35dBZ. The lightning strike risk probability value calculated by the prediction model is 0.92, which is greater than the third warning threshold of 0.85. Therefore, a third-level warning signal is immediately output, and the highest level of active defense response is executed.

[0069] The first, second, and third level warning signals are collectively output as warning signals to the command execution module. When the warning signal is at the first level, only the data acquisition frequency is increased, without triggering the wind turbine to operate. When the warning signal is at the second or third level, the generation and execution of active defense control commands are triggered. Specifically, this may include generating a yaw command to drive the wind turbine yaw system to rotate the wind turbine against the wind direction by a preset angle, such as ±15°, thereby changing the overall spatial configuration of the wind turbine to deviate from the most likely lightning strike path of the lightning leader discharge; generating a pitch command to adjust the wind turbine's pitch angle from the current angle to the target angle, such as adjusting the pitch angle from 0° to 5°, thereby reducing the effective cross-sectional area of ​​the blades facing the thunderstorm cloud by reducing the aerodynamic lift of the blades; and generating an isolation command to control the solid-state relay inside the pitch controller to cut off the mains power supply circuit and switch the pitch system and core sensors to backup supercapacitors or uninterruptible power supplies to form an electromagnetic physical isolation barrier.

[0070] Control command sets can be issued to the wind turbine control system for execution via OPC UA over TSN, i.e., OPC Unified Architecture over Time-Sensitive Networking. The OPC UA over TSN architecture supports the IEEE 802.1Qbv time-triggered communication mechanism. Through global clock synchronization and gating access list planning, it allocates the highest priority dedicated transmission time slots for warning commands, blocks interference from regular background traffic, and ensures that the end-to-end data transmission latency is consistently below 200 microseconds.

[0071] This embodiment provides a method for monitoring and warning of lightning in wind farms. It eliminates sampling frequency differences and timestamp offsets between multi-source heterogeneous data through time synchronization processing, providing a unified time reference for spatial mapping. Meteorological data is mapped to the spatial location of wind turbines to generate thunderstorm cloud maps, achieving precise correlation between macro-meteorological information and the location of individual wind turbines. A data feature set is constructed to achieve feature fusion of key parameters of multi-dimensional lightning impact. A lightning strike risk probability value is output to achieve quantitative assessment of lightning strike risk. An early warning judgment threshold is obtained based on environmental state data, solving the problem of false alarms or missed alarms caused by fixed thresholds. Control commands are triggered by a three-level early warning signal to proactively change the wind turbine attitude and isolate sensitive circuits before a lightning strike occurs, forming a complete closed loop from perception, fusion, quantitative assessment, judgment to proactive defense, improving the operational safety and protection effectiveness of wind turbine units under thunderstorm weather.

[0072] As one or more specific application embodiments of the present invention, the lightning monitoring and early warning method for wind farms provided by the present invention will be further described in detail, such as... Figure 4 As shown, it includes the following steps: 1. Multi-source data time synchronization and spatial mapping: The atmospheric electric field sensor in the wind farm has a sampling frequency of 10kHz, the meteorological radar data update cycle is 5 minutes, and the wind turbine monitoring and data acquisition system has a data sampling frequency of 50Hz, resulting in sampling frequency differences and timestamp offsets. This embodiment uses a Kalman filter algorithm with meteorological radar data as low-frequency observations and current waveform data as high-frequency state update values ​​for state estimation and noise suppression. In the prediction stage, the state at the current moment is estimated a priori based on the state estimate of the previous moment. In the update stage, the priori estimate is corrected using the high-frequency observations of the current moment to obtain the posterior state estimate. For time points where low-frequency data sources are missing, optimal estimation is performed based on the state equation and the updated state estimate to fill the data gaps. Based on Kalman filter smoothing, a Lagrange interpolation algorithm is used to interpolate and register discrete points with non-equal interval timestamps, uniformly registering all data sources to the same set of standard timestamps, controlling the time synchronization error within 2 milliseconds, and generating a synchronized data sequence.

[0073] The wind turbine yaw angle is extracted from the synchronous data sequence to determine the wind turbine spatial orientation information, and a local three-dimensional polar coordinate system with the wind turbine tower base as the origin is established. The meteorological data is mapped to the wind farm spatial coordinate system by using the inverse distance weighted interpolation algorithm to generate thunderstorm cloud images.

[0074] 2. Feature extraction and data feature set construction based on thunderstorm cloud images: A bandpass filter was used to filter out power frequency interference and high-frequency noise in the current waveform, retaining the main frequency components in the 1kHz to 100kHz frequency band. A wavelet denoising algorithm was used for soft thresholding to remove white noise. After baseline drift correction, the processed data was obtained. Current steepness, charge quantity and specific energy were extracted from the processed data as key parameters of lightning impact. The radar reflectivity factor gradient increase was extracted from the thunderstorm cloud map as a thunderstorm feature, and the data feature set was constructed by combining them.

[0075] 3. Calculation of lightning strike risk probability and determination of early warning threshold: The discriminant feature set is selected from the data feature set, including but not limited to the rate of change of atmospheric electric field intensity, the deviation of wind turbine blade vibration frequency from the normal operating condition threshold, and the sudden increase in weather radar reflectivity; the discriminant feature set is input into the prediction model, such as the Bayesian optimized XGBoost model, and the output is the probability value of lightning strike risk.

[0076] The ambient temperature and humidity and historical lightning strike density are input into the reinforcement learning model. The adjustment step size of the warning judgment threshold is used as the action space. Through interactive iterative optimization with the historical lightning event database, the reward function negatively penalizes the exponential growth of the false alarm rate and negatively penalizes the absolute deviation between the warning time and the actual lightning strike time, and outputs a warning judgment threshold adapted to the current environmental conditions.

[0077] 4. Execution of tiered early warning and proactive defense commands: The early warning thresholds include a first, second, and third warning threshold. The probability of a lightning strike is compared sequentially to these three thresholds: if the probability is less than the first threshold, there is no warning; if it is greater than or equal to the first threshold but less than the second threshold, a first-level warning signal is output, only increasing the data acquisition frequency; if it is greater than or equal to the second threshold but less than the third threshold, a second-level warning signal is output; and if it is greater than or equal to the third threshold, a third-level warning signal is output. When the warning signal is at the second or third level, a set of control commands is generated and issued, such as a yaw command to rotate the turbine ±15° against the wind direction, a pitch command to adjust the pitch angle from 0° to 5°, and an isolation command to switch sensitive circuits to backup power. Control commands can be issued via an OPC UA over TSN architecture, with an end-to-end transmission latency of less than 200 microseconds.

[0078] This embodiment provides a lightning monitoring and early warning method for wind farms. It effectively solves the timestamp offset problem caused by sampling frequency differences in multi-source heterogeneous data through time synchronization processing combining Kalman filtering and Lagrange interpolation. It maps meteorological radar data to the spatial location of wind turbines to generate thunderstorm cloud maps, achieving precise correlation between macro-meteorological information and the location of individual wind turbines. By extracting current steepness, charge quantity, and specific energy from current waveforms and combining them with thunderstorm cloud maps to construct a data feature set, it achieves feature fusion of key parameters of multi-dimensional lightning impact. The output of lightning strike risk probability values ​​enables quantitative assessment of lightning strike risk. Dynamic output of early warning judgment thresholds solves the problem of false alarms or missed alarms caused by fixed thresholds. Through a three-level early warning signal triggering yaw, pitch, and isolation control commands, it proactively changes the wind turbine attitude and isolates sensitive circuits before a lightning strike occurs, forming a complete closed loop from perception, fusion, quantitative assessment, adaptive judgment to proactive defense, improving the operational safety and protection effectiveness of wind turbine units under thunderstorm weather.

[0079] This embodiment also provides a wind farm lightning monitoring and early warning device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0080] This embodiment provides a lightning monitoring and early warning device for wind farms, such as... Figure 5 As shown, it includes: Data acquisition module 501 is used to acquire multi-source heterogeneous data and environmental status data in the wind farm environment; Thunderstorm cloud map generation module 502 is used to generate thunderstorm cloud maps based on multi-source heterogeneous data; Feature extraction module 503 is used to extract features based on thunderstorm cloud images to obtain a data feature set; Risk prediction module 504 is used to obtain the probability value of lightning strike risk based on the data feature set; The early warning generation module 505 is used to determine the early warning judgment threshold based on environmental status data, compare the lightning strike risk probability value with the early warning judgment threshold, and obtain an early warning signal. The instruction execution module 506 is used to generate and execute control instructions based on the warning signal.

[0081] The wind farm lightning monitoring and early warning device provided in this embodiment of the invention can execute the wind farm lightning monitoring and early warning method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method. Further functional descriptions of the above modules and units are the same as in the corresponding embodiments described above, and will not be repeated here.

[0082] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.

[0083] The following is a detailed reference. Figure 6 This diagram illustrates a suitable structural design for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 601, which can perform various appropriate actions and processes based on a program stored in read-only memory (ROM) 602 or a program loaded from memory 608 into random access memory (RAM) 603. RAM 603 also stores various programs and data required for the operation of the electronic device. The processor 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0084] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0085] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a memory 608, or installed from a ROM 602. When the computer program is executed by the processor 601, it performs the functions defined in the wind farm lightning monitoring and early warning method of the embodiments of the present invention.

[0086] Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present invention.

[0087] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, it implements the wind farm lightning monitoring and early warning method shown in the above embodiments.

[0088] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0089] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for monitoring and early warning of lightning in wind farms, characterized in that, The method includes: Acquire multi-source heterogeneous data and environmental status data in the wind farm environment, and generate thunderstorm cloud maps based on the multi-source heterogeneous data; Based on the thunderstorm cloud map, feature extraction is performed to obtain a data feature set; The probability value of lightning strike risk is obtained based on the data feature set, and the warning judgment threshold is determined based on the environmental state data. By comparing the lightning strike risk probability value with the warning judgment threshold, a warning signal is obtained, and a control command is generated and executed based on the warning signal.

2. The method according to claim 1, characterized in that, The step of generating a thunderstorm cloud map based on the multi-source heterogeneous data includes: The multi-source heterogeneous data is subjected to time synchronization processing to generate a synchronization data sequence, which includes wind turbine operating status, meteorological data, and current data. A thunderstorm cloud map is generated based on the synchronized data sequence.

3. The method according to claim 2, characterized in that, The step of generating a thunderstorm cloud map based on the synchronized data sequence includes: Based on the wind turbine operating status in the synchronized data sequence, determine the spatial orientation information of the wind turbine; Based on the spatial orientation information, the meteorological data in the synchronous data sequence is mapped to the spatial coordinate system of the wind farm to generate a thunderstorm cloud map.

4. The method according to claim 2, characterized in that, Based on the thunderstorm cloud image, feature extraction is performed to obtain a data feature set, including: The current data in the synchronization data sequence is preprocessed to obtain processed data; Thunderstorm features are extracted from the thunderstorm cloud image, and key parameters of lightning impact are extracted based on the processed data and the thunderstorm features. A data feature set is constructed based on the key parameters of the lightning impact.

5. The method according to claim 1, characterized in that, The step of obtaining the lightning strike risk probability value based on the data feature set includes: Filter and discriminate feature sets from the data feature set; The discriminative feature set is input into the prediction model to obtain the probability value of lightning strike risk.

6. The method according to claim 1, characterized in that, The warning threshold includes a first warning threshold, a second warning threshold, and a third warning threshold, wherein the first warning threshold is less than the second warning threshold, and the second warning threshold is less than the third warning threshold. The step of comparing the lightning strike risk probability value with the early warning determination threshold to obtain an early warning signal includes: The lightning strike risk probability value is compared with the first warning threshold, the second warning threshold, and the third warning threshold; When the probability value of lightning strike risk is less than the first warning threshold, it is determined to be a state without warning; When the probability value of lightning strike risk is greater than or equal to the first warning threshold and less than the second warning threshold, a first-level warning signal is obtained; When the probability value of lightning strike risk is greater than or equal to the second warning threshold and less than the third warning threshold, a second-level warning signal is obtained; When the lightning strike risk probability value is greater than or equal to the third warning threshold, a third-level warning signal is obtained; The first-level warning signal, the second-level warning signal, and the third-level warning signal are used as warning signals.

7. A lightning monitoring and early warning device for wind farms, characterized in that, The device includes: The data acquisition module is used to acquire multi-source heterogeneous data and environmental status data in the wind farm environment; A thunderstorm cloud map generation module is used to generate thunderstorm cloud maps based on the multi-source heterogeneous data; The feature extraction module is used to extract features based on the thunderstorm cloud image to obtain a data feature set; The risk prediction module is used to obtain the probability value of lightning strike risk based on the data feature set; The early warning generation module is used to determine an early warning judgment threshold based on the environmental state data, compare the lightning strike risk probability value with the early warning judgment threshold, and obtain an early warning signal. The instruction execution module is used to generate and execute control instructions based on the warning signal.

8. An electronic device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the steps of the lightning monitoring and early warning method for a wind farm as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the steps of the wind farm lightning monitoring and early warning method according to any one of claims 1 to 6.

10. A computer program product, characterized in that, The method includes computer instructions for causing a computer to perform the steps of a wind farm lightning monitoring and early warning method according to any one of claims 1 to 6.