A method for detecting lightning faults of offshore wind turbines

Through the Gaussian regression process model and the infinite-dimensional Kalman filter smoothing method, the problem of low accuracy and low efficiency of lightning fault detection in offshore wind farms is solved, higher-precision lightning fault identification and monitoring is achieved, and computational complexity and maintenance are reduced. cost.

CN117189509BActive Publication Date: 2024-10-15STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311151217.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-06
Publication Date
2024-10-15
Estimated Expiration
2043-09-06

AI Technical Summary

Technical Problem

Lightning fault detection in offshore wind farms has problems such as inaccurate judgment and low efficiency, which results in high maintenance costs and affected power generation efficiency.

Method used

Using the Gaussian regression process model combined with the infinite-dimensional Kalman filter smoothing method, through the preprocessing of large offshore wind farm data sets and the optimization of training samples, a higher-precision wind turbine power curve can be obtained, the lightning strike fault occurrence point can be identified, and the computational complexity can be reduced. Improve monitoring accuracy.

Benefits of technology

It achieves higher-precision lightning fault detection, reduces computational complexity, improves the accuracy and efficiency of lightning fault monitoring in offshore wind farms, and reduces maintenance costs and outage losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117189509B_ABST
    Figure CN117189509B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for detecting lightning faults of offshore wind turbines, the method comprising: S1, obtaining a pre-processed actual offshore wind farm big data set; S2, inputting the offshore wind farm big data set into a trained Gaussian regression process model for lightning fault detection to obtain a wind turbine power curve; S3, obtaining a lightning fault occurrence point based on the wind turbine power curve in S2. Compared with the prior art, the present invention has the advantages of accurate lightning fault detection and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of lightning fault detection, and in particular to a method for detecting lightning faults of offshore wind turbines. Background Art

[0002] With the rapid development of the wind power industry, a large number of offshore and onshore wind farms have been built, which has gradually attracted attention to the safe operation of wind turbines. Among the many factors that affect the safe operation of wind farms, lightning strikes are one of the factors that seriously threaten the safety of offshore and onshore wind farms. After lightning strikes the wind turbine, the lightning current will cause serious damage to the wind turbine blades and other structures. The density of offshore wind farms is greater than that of onshore wind farms, and the height of individual wind turbines is higher, making them more susceptible to upward lightning strikes.

[0003] In addition, offshore wind farm units are difficult to transport, require high installation work, and are expensive to maintain. Compared with onshore wind farms, the cost per kilowatt is even 80% higher. Moving wind turbines to the sea and lowering the height of thunderclouds in winter will increase the risk of upward lightning strikes. Lightning strikes on wind turbines will cause damage to wind turbine system equipment and devices, which will incur high maintenance costs, including labor costs, lifting costs, and replacement costs. The maintenance process will also cause the unit to shut down, seriously affecting the power generation efficiency of the wind farm. With the continuous increase in the size of offshore and onshore wind turbines, the cost of repairing damaged equipment has become more and more expensive, and the maintenance process has become increasingly complex, resulting in high economic losses, such as maintenance costs, labor costs, and downtime losses. At present, there are problems such as inaccurate judgment and low efficiency in lightning fault warnings in offshore wind farms. Summary of the invention

[0004] The purpose of the present invention is to provide a method for detecting lightning strike faults of offshore wind turbines in order to overcome the defects of the above-mentioned prior art.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] A method for detecting lightning faults of offshore wind turbines, characterized in that the method comprises:

[0007] S1. Obtain a preprocessed actual large offshore wind farm data set and use the data set as a training sample;

[0008] S2, input the training samples into the trained lightning fault detection model to obtain the wind turbine power curve;

[0009] S3. Obtain the occurrence point of the lightning fault based on the wind turbine power curve; wherein, the training process of the lightning fault detection model is: obtain training samples, calculate the mean function and covariance function of the power curve f(x) to be fitted, add noise thereto, correct the covariance function, use the average wind speed at the hub height, air density, operating variables wind turbine rotor speed and pitch angle as input variables for curve fitting, use infinite dimensional Kalman filter smoothing method for Gaussian regression, obtain an initial fitting curve, compare the initial fitting curve with the reference power curve of the training sample, and optimize the confidence interval of the estimated prediction function of the lightning fault detection model based on the comparison result.

[0010] Furthermore, the modified covariance function is:

[0011]

[0012] Among them, k SE is the modified covariance function, x, x′ are two data points of the training sample, and l are hyperparameters, represents the signal variance, l represents the length scale, σ n 2 is the standard deviation and δ is the Kronecker data.

[0013] Furthermore, the infinite dimensional Kalman filter smoothing method is used for Gaussian regression, and the Gaussian regression process is transformed into:

[0014] f(x,t)~GP(0,C(x,t;x′,t′))

[0015] y k =H k f(x,t k )+ε k

[0016] Where C represents the modified covariance function k=1,…,T, f(x,t) represents the output, x represents the input, x′ represents the new input, t represents the time variable, t′ represents the new input time variable, y k represents the value of an unknown scalar-valued function with input of dimension , ε k Vector representing the Gaussian measurement noise.

[0017] Furthermore, in the transformed Gaussian regression process, the spatial dimension is allowed to act as an additional vector element index, resulting in an infinite-dimensional state space model:

[0018]

[0019] y k =H k f(c,t k)+ε k

[0020] Among them, A, L, H are given matrices, and w(t) represents the white noise processing vector;

[0021] Based on the above infinite-dimensional state space model, Gaussian regression is performed. Through linear time reasoning, infinite-dimensional Kalman filter and RTS smoothing, the cubic complexity of Gaussian process regression in time step is reduced to linear time complexity.

[0022] Furthermore, the preprocessing process of the training samples is specifically as follows:

[0023] Abnormal data is filtered out from the wind farm data of the training samples, and the air density in the wind speed relationship in the training samples is corrected. A reference power curve is obtained based on the corrected wind speed, and the reference power curve is used as the preprocessed training sample. The corrected wind speed represents the average wind speed at the hub height.

[0024] Furthermore, the relationship between the reference power and the corrected wind speed is:

[0025] P=0.5ρAC p (λ,β)v 3

[0026] Where P is the reference power, ρ is the corrected air density, A is the swept area, C p is the power coefficient of the fan, λ is the tip speed ratio, β is the blade pitch angle, and v is the corrected wind speed;

[0027] The corrected wind speed is:

[0028]

[0029] Among them, V M is the wind speed before correction, and ρ is the air density after correction.

[0030] Furthermore, the corrected air density is:

[0031]

[0032] Where ρ is the corrected air density, T is the temperature, and B is the atmospheric pressure.

[0033] Furthermore, the filtered abnormal data include: missing values, negative power values, timestamp mismatches, negative power values, and data points where the wind speed exceeds a threshold.

[0034] Furthermore, the specific steps of obtaining the lightning fault occurrence point based on the wind turbine power curve of S2 are as follows:

[0035] Based on the point-by-point probability calculation, the optimized confidence interval is used to evaluate the incoming S2 wind turbine power curve data points to identify the lightning fault occurrence point.

[0036] Furthermore, the offshore wind farm big data set includes recorded timestamps, wind speed, rotor speed, pitch angle, output power, ambient temperature and atmospheric pressure data.

[0037] Compared with the prior art, the present invention has the following advantages:

[0038] (1) The present invention proposes a Gaussian Process (GP) model for lightning fault detection, which obtains a power curve with higher accuracy than the existing power curve constructed by introducing air density, turbulence intensity and wind direction, and can more accurately distinguish lightning faults.

[0039] (2) The present invention proposes a method for converting the spatiotemporal Gaussian regression process problem into an infinite-dimensional state space model. By using a computationally efficient infinite-dimensional Kalman filter and smoothing method, or a more general Bayesian filter and smoothing method, the cubic complexity of the Gaussian process regression problem in the time step problem is reduced to a linear time complexity, thereby solving the computational difficulties of the GP algorithm in processing large data sets and the limitations of complex data sets, and further improving the accuracy of lightning fault monitoring in offshore wind farms. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0042] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] Embodiment 1:

[0044] The present invention proposes a method for detecting lightning strike faults in offshore wind turbines. First, the data recorded from the offshore wind farm data acquisition (SCADA) system is collected and processed, misleading data is filtered out, and these operating variables are compared and studied to determine whether the parameters will improve the early fault detection capability. Secondly, a Gaussian regression process (GP) model for lightning strike fault detection is proposed based on monitoring and SCADA data, and a power curve with higher accuracy is obtained compared to the existing power curve constructed by introducing air density, turbulence intensity and wind direction, which can more accurately distinguish lightning strike faults. Finally, a method of converting the spatiotemporal Gaussian regression process problem into an infinite-dimensional state space model is proposed to solve the computational difficulties of the GP algorithm in processing large data sets and the limitations from complex data sets. The flow chart of the method is shown as follows. Figure 1 As shown, the method comprises the following steps:

[0045] S1. Obtaining a pre-processed actual offshore wind farm big data set;

[0046] S2, inputting the offshore wind farm big data set into the trained Gaussian regression process model for lightning fault detection to obtain the wind turbine power curve;

[0047] S3, obtaining the lightning fault occurrence point based on the wind turbine power curve in S2;

[0048] Among them, the training process of the Gaussian regression process model for lightning fault detection is specifically as follows:

[0049] The preprocessed training samples are obtained, and the mean function and covariance function of the power curve f(x) to be fitted are calculated based on the preprocessed training samples, and noise is added thereto to correct the covariance function. On the basis of the average wind speed and air density at the hub height as input, the operating variables wind turbine rotor speed and pitch angle are added as input variables for curve fitting, and Gaussian regression is performed using an infinite dimensional Kalman filter smoothing method to obtain an initial fitting curve. The initial fitting curve is compared with the reference power curve of the training sample, and the confidence interval of the estimated prediction function of the Gaussian regression process model is optimized based on the comparison result.

[0050] The training samples are calibrated based on the IEC standard and preprocessed. The specific preprocessing process is as follows: the timestamp, wind speed, rotor speed, pitch angle, output power, ambient temperature, atmospheric pressure and other data recorded by the offshore wind farm SCADA system are collected and processed, and missing values, negative power samples and other misleading data out of range are filtered out. The data are corrected for air density according to the relevant formula in IEC standard 61400-12-1, and an offshore wind farm data set including air density, turbulence intensity, etc. is constructed to improve the accuracy of subsequent model calculation results and the effectiveness of condition monitoring.

[0051] The filtered data specifically includes: filtering out samples with missing values ​​or negative power values ​​and data points with a maximum wind speed exceeding 25 m / s, when the wind turbine stops working. In addition, data sampling during frequent starts or stops during low wind speeds may have different variations, and criteria such as timestamp mismatch, negative power values, out-of-range values, and turbine reduction are used to filter out misleading data similar to those described in.

[0052] The relationship between the output power of the generator and the wind speed is roughly a cubic relationship, according to the following formula:

[0053] P=0.5ρAC p (λ,β)v 3 (1)

[0054] Where ρ is the air density (kg / m3), A is the swept area (m2), Cp is the power coefficient of the WT, and v is the wind speed at hub height (m / sec). The tip speed ratio (TSR) λ is a dimensionless variable that depends on the rotor speed and wind speed, while Cp is a function of the pitch angle and TSR.

[0055] The specific steps for air density correction are:

[0056] According to formula (1), the WT power output at a given wind speed depends on the air density. For WTs with variable pitch regulation, according to IEC standard 61400-12-1, the following formula is used to calculate the air density correction:

[0057]

[0058]

[0059] Where VC is the corrected measured wind speed, V M is the uncorrected measured wind speed in m / sec, and the corrected air density is calculated by (2), where B is the atmospheric pressure in mbar, and T is the temperature in Kelvin. The power curve after air density correction and preprocessing will be used to construct the reference power curve model based on the GP algorithm.

[0060] During the training process of S2, the GP model of the reference power curve is constructed using the squared exponential covariance function. The GP regression is defined as a mean function, m(x): = E[f(x)] and a covariance function, K(x, x1): = E[(f(x)-m(x)))(f(x1)-m(x1))] For given values ​​x, x1, if f(x) is a GP distribution function, the relationship between these two functions can be expressed as:

[0061] f(x)~GP(m(x),K(x,x′))(4)

[0062] For simplicity of representation, the mean function m(x) is usually constructed to be zero. The covariance function K(x, x') quantifies the joint variability of random variables and is used to measure the distance or similarity between given data points (x, x'). The squared exponential function is mathematically represented as:

[0063]

[0064] To compensate for the effect of measurement noise, a noise term is added to the squared exponential, so (5) is modified as follows:

[0065]

[0066] Where σf2 and l are hyperparameters, where σf2 represents the signal variance and l (length scale) describes how fast the covariance decreases with the distance between points. The uncertainty of the model is quantified by the standard deviation of the noise fluctuations σn2, and δ is the Kronecker data.

[0067] Assume that A = {(xi, yi), i = 1, ..., N} of N observations is the training data set, X is the input vector of dimension D, y is the scalar output, and the A × n matrix is ​​the input data set. The target output is y, so A = (X, y). The relationship between the input value and the target value of GP can be expressed as:

[0068] yi=f(xi)+ε i (7)

[0069] In order to solve the two shortcomings of GP: the computational difficulty of processing large data sets (cubic inversion problem) and the restrictive modeling assumptions of complex data sets, the present invention discusses the connection between Gaussian process regression and Kalman filtering, and proposes a method for converting the spatiotemporal Gaussian process regression problem into an infinite-dimensional state space model, and uses an infinite-dimensional Kalman filtering smoothing method for Gaussian regression. Using this form of model, the spatiotemporal Gaussian process regression becomes:

[0070] f(x,t)~GP(0,k(x,t;x′,t′))(8)

[0071] y k =H k f(x,t k )+ε k (9)

[0072] By augmenting the state with a sufficient number of time derivatives, it is possible to force almost any covariance function for a given state component of the state-space model. This idea can be used to build a hybrid model where the temporal correlation in the above model is represented as a stochastic differential equation type model, and the spatial correlation is injected into the model by appropriately choosing the matrices in the model. The spatial dimension acts as an additional vector element index, and this becomes an infinite-dimensional state-space model:

[0073]

[0074] y k =H k f(x,t k )+ε k (11)

[0075] where the state f(t,x) at time t consists of the entire function x — f(t,x) and an appropriate number of its time derivatives. The model is now an infinite-dimensional Markov type model, allowing linear-time reasoning with infinite-dimensional Kalman filters and RTS smoothing, reducing the cubic complexity of Gaussian process regression to linear time complexity in the time step.

[0076] In the state-space model formulation, a field is considered to propagate forward in time, while in the covariance-based formulation, only the covariance between the space-time points of the "frozen" field is calculated. Nonstationary processes can be constructed by changing the stationary operator or covariance function in the state-space model to a nonstationary operator or covariance function, embedding the stationary model in a nonstationary partial differential equation, or appropriately changing the coordinate system of the input space.

[0077] Equation 7 is used to define the basis function for modeling data, where x is the value from the training dataset and is the variance Gaussian white noise, that is The prior y becomes:

[0078] E|y|=E|f+ε|=0 (12)

[0079]

[0080] The prior distribution contains important information about the uncertain parameters, and since GP regression is based on Bayesian analysis, the prior distribution is used together with the probability distribution of the new input data to generate the posterior distribution, which will be used for future reasoning and any decision involving uncertain parameters. In order to predict the output f, for a given new input x*, the distribution can be defined as follows:

[0081]

[0082] Among them, k(X, X*)=k(X*, X)T=[k(x1, X*]), k(x2, X*),…, k(xn, X*)], and for simplicity, it is represented by k*.

[0083] Then, according to the joint Gaussian distribution, the estimate of the target value is given by:

[0084]

[0085]

[0086] The obtained posterior variance (Var[f*]) is inversely proportional to the distance between the test and training data points, while the estimate of the mean is a linear combination of the outputs y, where the linear weights are defined as Equations (15) and (16) estimate the mean and variance of the model for a given set of data points.

[0087] The optimal values ​​of the hyperparameters will be identified by maximizing the GP model accuracy, so the hyperparameters are tuned using Bayesian optimization techniques, where the optimization attempts to minimize the cross-validation loss or error of the GP regression by changing the parameters. The GP model estimates confidence intervals (CI) of the prediction function (reflecting the uncertainty of the model), and these confidence intervals are useful in uncertainty quantification. The results are calculated using (16) as follows:

[0088] CIn=μn±2σn(17)

[0089] GP uncertainty uses a probabilistic description of the model inputs that can be used to derive probability distributions of model outputs and system performance metrics. GP is a multivariate model where the covariance matrix K gives the variance of each variable along the leading diagonal, and the off-diagonal elements measure the correlation between different variables using the following relationship:

[0090]

[0091] Where K is n×n in size, n is the number of input data points considered, and it must be symmetric and semi-positive definite, i.e. Kij=Kji. n is the number of inputs to the GP regression model, which is used to combine the number of input variables, where x is the wind speed and the operating parameters, rotor speed and blade pitch angle, thereby depicting the estimated measured power curve, improving the accuracy of the original power curve. The curve of rotor speed versus wind speed is called the rotor speed curve, which is monotonically increasing with respect to wind speed. At the optimal rotor speed, the turbine extracts maximum power, while the pitch angle limits the power of the generator at rated power output by reducing the blade inclination angle. Both variables affect the operating behavior of the wind turbine, so they are called operating variables. The two operating variables of the wind turbine rotor speed and pitch angle are used as input variables, and the GP power curve model is trained and verified using the data obtained in step 1, and a power curve with higher accuracy is obtained compared with the existing power curve constructed by introducing air density, turbulence intensity and wind direction.

[0092] The present invention establishes a large offshore wind farm data set based on IEC standard correction. The timestamp, wind speed, rotor speed, pitch angle, output power, ambient temperature, atmospheric pressure and other data recorded from the offshore wind farm SCADA system are collected and processed, and the missing values, negative power samples and other misleading data out of range are filtered out. The data are corrected for air density according to the relevant formulas in IEC standard 61400-12-1, and an offshore wind farm data set including air density, turbulence intensity, etc. is constructed to improve the accuracy of subsequent model calculation results and the effectiveness of state monitoring. Secondly, a Gaussian regression process (Gaussian Process, GP) model for lightning fault detection is proposed. Based on the offshore wind farm data set, the GP model of the reference power curve is constructed using the square exponential covariance function, and a noise term is added therein to compensate for the influence of measurement noise. The two operating variables of wind turbine rotor speed and pitch angle are taken as input variables, and the data obtained in step 1 are used to train and verify the GP power curve model, and a power curve with higher accuracy is obtained compared with the existing power curve constructed by introducing air density, turbulence intensity and wind direction, which can more accurately distinguish lightning faults. Finally, a method of converting the spatiotemporal Gaussian regression process problem into an infinite-dimensional state space model is proposed. By using the computationally efficient infinite-dimensional Kalman filtering and smoothing method, or the more general Bayesian filtering and smoothing method, the cubic complexity of the Gaussian process regression in the time step problem is reduced to a linear time complexity, thereby solving the computational difficulties of the GP algorithm in processing large data sets and the limitations from complex data sets, and further improving the accuracy of lightning fault monitoring in offshore wind farms.

[0093] Embodiment 2:

[0094] The present invention also proposes an offshore wind turbine lightning fault detection device corresponding to embodiment 2. At the hardware level, the offshore wind turbine lightning fault detection device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to implement the above Figure 1 Of course, in addition to the software implementation, the present invention does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0095] For the improvement of a technology, it can be clearly distinguished whether it is a hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or a software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0096] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0097] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0098] For the convenience of description, the above device is described as being divided into various units according to their functions. Of course, when implementing the present invention, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0099] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0100] Embodiment 3:

[0101] The present invention also proposes a computer-readable storage medium corresponding to embodiment 1, on which a program is stored, and the program can implement the offshore wind turbine lightning fault detection method of embodiment 1. Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be a computer-readable instruction, a data structure, a module of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carriers.

[0102] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A method for detecting lightning faults of offshore wind turbines, characterized in that: Methods include: S1. Obtain a preprocessed actual large offshore wind farm data set and use the data set as a training sample; S2, input the training samples into the trained lightning fault detection model to obtain the wind turbine power curve; S3. Obtain the occurrence point of the lightning fault based on the wind turbine power curve; wherein, the training process of the lightning fault detection model is: obtain training samples, calculate the mean function and covariance function of the power curve f(x) to be fitted, add noise thereto, correct the covariance function, use the average wind speed at the hub height, air density, operating variables wind turbine rotor speed and pitch angle as input variables for curve fitting, use infinite dimensional Kalman filter smoothing method for Gaussian regression, obtain an initial fitting curve, compare the initial fitting curve with the reference power curve of the training sample, and optimize the confidence interval of the estimated prediction function of the lightning fault detection model based on the comparison result.

2. The offshore wind turbine lightning fault detection method according to claim 1, characterized in that: The corrected covariance function is: Among them, k SE is the modified covariance function, x, x′ are two data points of the training sample, and l are hyperparameters, represents the signal variance, l represents the length scale, σ n 2 is the standard deviation and δ is the Kronecker data.

3. The offshore wind turbine lightning fault detection method according to claim 1, characterized in that: The infinite dimensional Kalman filter smoothing method is used for Gaussian regression, and the Gaussian regression process is transformed into: f(x,t)~GP(0,C(x,t;x′,t′)) y k =H k f(x,t k )+ε k Where C represents the modified covariance function k=1,…,T, f(x,t) represents the output, x represents the input, x′ represents the new input, t represents the time variable, t′ represents the new input time variable, y k represents the value of an unknown scalar-valued function with input of dimension , ε k Vector representing the Gaussian measurement noise.

4. The offshore wind turbine lightning fault detection method according to claim 3 is characterized in that: In the transformed Gaussian regression process, the spatial dimension is used as an additional vector element index to obtain an infinite-dimensional state space model: y k =H k f(x,t k )+ε k Among them, A, L, H are given matrices, and w(t) represents the white noise processing vector; Based on the above infinite-dimensional state space model, Gaussian regression is performed. Through linear time reasoning, infinite-dimensional Kalman filter and RTS smoothing, the cubic complexity of Gaussian process regression in time step is reduced to linear time complexity.

5. The offshore wind turbine lightning fault detection method according to claim 1, characterized in that: The specific preprocessing process of training samples is as follows: Abnormal data is filtered out from the wind farm data of the training samples, and the air density in the wind speed relationship in the training samples is corrected. A reference power curve is obtained based on the corrected wind speed, and the reference power curve is used as the preprocessed training sample. The corrected wind speed represents the average wind speed at the hub height.

6. The offshore wind turbine lightning fault detection method according to claim 5, characterized in that: The relationship between the reference power and the corrected wind speed is: P=0.5ρAC p (l,b)v 3 Where P is the reference power, ρ is the corrected air density, A is the swept area, C p is the power coefficient of the fan, λ is the tip speed ratio, β is the blade pitch angle, and v is the corrected wind speed; The corrected wind speed is: Among them, V M is the wind speed before correction, and ρ is the air density after correction.

7. The offshore wind turbine lightning fault detection method according to claim 6, characterized in that: The corrected air density is: Where ρ is the corrected air density, T is the temperature, and B is the atmospheric pressure.

8. The offshore wind turbine lightning fault detection method according to claim 5, characterized in that: The filtered abnormal data include: missing values, negative power values, timestamp mismatch, negative power values, and data points with wind speed exceeding the threshold.

9. The offshore wind turbine lightning fault detection method according to claim 1, characterized in that: The specific steps for obtaining the lightning fault occurrence point based on the wind turbine power curve of S2 are as follows: Based on the point-by-point probability calculation, the optimized confidence interval is used to evaluate the incoming S2 wind turbine power curve data points to identify the lightning fault occurrence point.

10. The offshore wind turbine lightning fault detection method according to claim 1, characterized in that: The offshore wind farm big data set includes recorded timestamps, wind speed, rotor speed, pitch angle, output power, ambient temperature and atmospheric pressure data.