A photovoltaic fault diagnosis method and system based on multi-modal adaptive weighting

By employing a multimodal adaptive weighted photovoltaic fault diagnosis method, which utilizes a dynamic weight predictor and a feature extraction network, the problem of misjudgment in photovoltaic fault diagnosis under complex environments is solved, and high-precision fault diagnosis is achieved.

CN122173886BActive Publication Date: 2026-11-27QINGYUAN ELECTRICITY DESIGN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610153796.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-02-03
Publication Date
2026-11-27
Estimated Expiration
2046-02-03

AI Technical Summary

Technical Problem

Existing photovoltaic fault diagnosis methods are difficult to adapt to the complex and ever-changing photovoltaic operating environment and are prone to misjudgment.

Method used

A multimodal adaptive weighted photovoltaic fault diagnosis method is adopted. By acquiring historical operating data of photovoltaic equipment, unsupervised clustering and feature extraction are performed, and a dynamic weight predictor is used for fault diagnosis. The feature extraction network is dynamically adjusted to adapt to different operating conditions.

Benefits of technology

It improves the accuracy of photovoltaic fault diagnosis and the generalization ability of the model, and can maintain high diagnostic accuracy under different operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122173886B_ABST
    Figure CN122173886B_ABST
Patent Text Reader

Abstract

The application provides a photovoltaic fault diagnosis method and system based on multi-modal adaptive weighting, relating to the technical field of fault diagnosis, comprising: obtaining historical operation data of photovoltaic equipment for splicing to obtain first features, clustering the first features to obtain multiple working condition clusters and corresponding order degrees; calling different feature extraction networks according to the order degrees to obtain second features; taking the Shapley values of the fault labels in the clusters to the second features as training targets to train a dynamic weight predictor; obtaining data to be analyzed, extracting first features from the data to be analyzed and finding corresponding working condition clusters, and outputting second feature weights using the corresponding dynamic weight predictor; inputting the second features of the data to be analyzed and the corresponding weights into a pre-constructed fault prediction model to obtain a fault diagnosis result. The application significantly improves the accuracy, efficiency and robustness of fault diagnosis by fusing multi-modal data, adaptive feature extraction and dynamic weight adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fault diagnosis technology, and more specifically, to a photovoltaic fault diagnosis method and system based on multimodal adaptive weighting. Background Technology

[0002] With the acceleration of the global energy transition, the installed capacity of photovoltaic power generation continues to grow rapidly. However, photovoltaic power plants are typically deployed in vast and harsh environments (such as strong ultraviolet radiation, high and low temperatures, dust storms, and salt spray), and have an operating cycle of over 25 years, making failures inevitable. Current fault diagnosis methods include power and efficiency analysis, V-curve analysis, and some intelligent learning analysis methods, but these existing methods are difficult to adapt to the complex and ever-changing photovoltaic operating environment and are prone to misjudgment. Summary of the Invention

[0003] The purpose of this invention is to provide a photovoltaic fault diagnosis method and system based on multimodal adaptive weighting, so as to improve the above-mentioned problems. To achieve the above objective, the technical solution adopted by this invention is as follows:

[0004] Firstly, this application provides a photovoltaic fault diagnosis method based on multimodal adaptive weighting, comprising:

[0005] Historical operating data of photovoltaic equipment is obtained, and historical operating data with the same timestamp are spliced ​​together to obtain a first feature. An unsupervised clustering algorithm is used to cluster the first feature to obtain multiple operating condition clusters. The historical operating data includes fault labels.

[0006] The data density and boundary contour of each working condition cluster are identified, and the order degree corresponding to the working condition cluster is obtained based on the identification results.

[0007] Different feature extraction networks are invoked based on the order of the operating condition cluster to extract features from the original operating data other than the fault label, thus obtaining the second feature;

[0008] Using the Shapley value of the fault label within the cluster as the training target, the corresponding dynamic weight predictor is trained.

[0009] Acquire the data to be analyzed, extract the first feature based on the data to be analyzed and find the corresponding working condition cluster, and use the corresponding dynamic weight predictor to output the weight of the second feature;

[0010] The second feature of the data to be analyzed and its corresponding weight are input into the pre-built fault prediction model to obtain the fault diagnosis result.

[0011] Secondly, this application also provides a photovoltaic fault diagnosis system based on multimodal adaptive weighting, comprising:

[0012] The first module is used to acquire historical operating data of photovoltaic equipment, splice historical operating data with the same timestamp to obtain a first feature, and use an unsupervised clustering algorithm to cluster the first feature to obtain multiple operating condition clusters. The historical operating data includes fault labels.

[0013] The second module is used to identify the data density and boundary contour of each working condition cluster, and to obtain the order degree corresponding to the working condition cluster based on the identification results.

[0014] The third module is used to call different feature extraction networks according to the order of the operating condition cluster to extract features from the original operating data other than the fault label, and obtain the second feature.

[0015] The fourth module is used to train the corresponding dynamic weight predictor by using the Shapley value of the fault label within the cluster as the training target.

[0016] The fifth module is used to acquire the data to be analyzed, extract the first feature based on the data to be analyzed and find the corresponding working condition cluster, and output the weight of the second feature using the corresponding dynamic weight predictor.

[0017] The sixth module is used to input the second feature of the data to be analyzed and its corresponding weight into the pre-built fault prediction model to obtain the fault diagnosis result.

[0018] The beneficial effects of this invention are as follows:

[0019] This application categorizes historical data according to operating conditions and calls different feature extraction networks based on the order of the operating condition clusters, enabling the extraction of the most representative features for different operating conditions. This adaptive feature extraction method can better adapt to the complex and ever-changing photovoltaic operating environment, further improving the accuracy of fault diagnosis. By training a dynamic weight predictor, the weights can be dynamically adjusted according to the features of the data to be analyzed, allowing the model to better adapt to new data distributions. This dynamic adjustment mechanism further enhances the model's generalization ability, enabling it to maintain high diagnostic accuracy under different operating conditions.

[0020] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing embodiments of the invention. Attached Figure Description

[0021] Figure 1 This is a schematic diagram of a photovoltaic fault diagnosis method based on multimodal adaptive weighting in an embodiment.

[0022] Figure 2 This is a structural diagram of a photovoltaic fault diagnosis device based on multimodal adaptive weighting, as shown in the embodiment.

[0023] Symbol explanation: 800 - Photovoltaic fault diagnosis equipment based on multimodal adaptive weighting; 801 - Processor; 802 - Memory; 803 - Multimedia component; 804 - I / O interface; 805 - Communication component. Detailed Implementation

[0024] 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, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. 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 claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0025] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0026] Example 1:

[0027] See Figure 1 This embodiment provides a photovoltaic fault diagnosis method based on multimodal adaptive weighting, including steps S100, S200, S300, S400, S500 and S600.

[0028] S100. Obtain historical operating data of photovoltaic equipment, splice historical operating data with the same timestamp to obtain a first feature, and use an unsupervised clustering algorithm to cluster the first feature to obtain multiple operating condition clusters. The historical operating data includes fault labels.

[0029] For devices with the same timestamp, i.e., those within the same time period (e.g., 5 minutes), the runtime sequence data and environmental time sequence data are retrieved. The environmental time sequence data includes irradiance, temperature, etc., while the runtime sequence data includes string DC voltage, current, inverter AC output power, and combiner box branch current, etc.

[0030] First, outlier handling, missing value filling, and standardization are performed on these monitored data. Then, time series analysis is conducted to extract time series features, such as power fluctuations and current trend slopes. The operating data values ​​and time series features of each device are spliced ​​together to obtain device features. Then, the device features of each device are spliced ​​together to obtain the first feature, which is the operating feature of the entire photovoltaic power generation system during this period.

[0031] An improved DBSCAN algorithm is used to aggregate the first feature. Compared with the traditional K-means algorithm, it can automatically identify operating condition clusters of arbitrary shapes, which is conducive to discovering new operating conditions that have not been noticed before. The historical operating data also includes fault labels, that is, whether a fault occurred during the time period and the specific fault information.

[0032] Based on the clustering results and combined with the operating principles of photovoltaic equipment, the physical meaning of each operating condition cluster can be analyzed. For example, if the average irradiance within a cluster is >800W / ㎡, the average power is close to the rated power, and the proportion of fault tags is <0.5%, it can be classified as a "high irradiance normal operating condition cluster"; if the average irradiance within a cluster is 200-500W / ㎡, the standard deviation of power fluctuation is >10%, and the proportion of "module microcracks" in the fault tags is >30%, it can be classified as a "medium irradiance module fault operating condition cluster".

[0033] The contribution of various operating data to fault identification may differ under different operating conditions. Therefore, it is necessary to adjust the weight of each operating feature under different operating conditions to improve the accuracy of fault identification.

[0034] Preferably, in this step, when dividing the work condition clusters, to avoid mixing and clustering data under different weather conditions and to improve the specificity of the work condition clusters, partitioning is also performed based on weather stability, including:

[0035] Irradiance time-series data were acquired, and a sliding window was used to traverse the irradiance time-series data to obtain multiple continuous windows; a fixed 10-minute sliding window was used, with a window step size of one minute;

[0036] For each continuous window, the mean values ​​of irradiance fluctuation amplitude and irradiance change rate are calculated and weighted to obtain the weather instability index;

[0037] The irradiance fluctuation range is the difference between the maximum and minimum irradiance. The mean irradiance change rate is calculated by taking the average of the change rates of adjacent irradiance data points.

[0038] The weather instability index UK is obtained by weighted fusion of the irradiance fluctuation amplitude and the irradiance change rate.

[0039] The data is divided into stable, transitional, and unstable zones based on the weather instability index.

[0040] An order threshold can be set based on historical data. For example, the value corresponding to a cumulative distribution probability of 20% for Uk can be taken as the stability threshold U1, and the value corresponding to a cumulative distribution probability of 80% for Uk can be taken as the instability threshold U2. When Uk is less than or equal to U1, the corresponding time period belongs to the stable region; when Uk is greater than U1 and less than U2, the corresponding time period belongs to the transition region; when Uk is greater than U2, the corresponding time period belongs to the unstable region; and consecutive time periods belonging to the same region are merged.

[0041] The historical operating data of the three districts were clustered to obtain the operating condition clusters for each district.

[0042] Historical data were extracted from the three regions respectively, and different clustering algorithms were used for the data in different regions. For the stable region, the K-means algorithm based on the elbow rule was used. The elbow rule selects the number of clusters by observing the change in the inertia of the sum of squares within each cluster as the number of clusters increases. When the number of clusters increases to a certain extent, the rate of decrease of the inertia of squares within each cluster slows down significantly, forming an "elbow".

[0043] For the transition region, an improved DBSCAN algorithm is used to determine the clustering neighborhood radius and MinPts through the k-distance curve;

[0044] For unstable regions, density peak clustering is used, which does not require pre-setting the number of clusters and automatically identifies diverse operating conditions under drastic fluctuations in irradiance.

[0045] Before clustering, this application uses Uniform Manifold Approximation and Projection (UMAP) to map the first feature into a low-dimensional space, including:

[0046] S110. Use the nearest neighbor search algorithm to calculate the distance between each first feature and other first features, and obtain a preset number of nearest neighbor features corresponding to each first feature;

[0047] S120. Construct a neighborhood graph based on the nearest neighbor features of each first feature, and map the neighborhood graph to a low-dimensional space using the UMAP algorithm.

[0048] For example, the current first feature is connected to its five nearest neighbor features to construct a neighborhood graph of the first feature. UMAP assigns a probability value (membership strength) to each nearest neighbor feature to describe the degree of association between the nearest neighbor and the center point. Therefore, the neighborhood graph is a weighted graph that captures the local neighborhood relationships of the data.

[0049] The UMAP algorithm first randomly places all data points in a low-dimensional space, and then moves the points in the space according to the neighbor graph, with the goal of making the graph in the low-dimensional space as similar as possible to the graph in the high-dimensional space.

[0050] S130. Map the first feature to a corresponding high-dimensional space based on its dimension, and calculate the distance correlation (Pearson correlation coefficient) of data points of the same working condition in the high-dimensional space and the low-dimensional space. Adjust the UMAP algorithm parameters based on the distance correlation to update and obtain a new low-dimensional space mapping result. Repeat the update until the distance correlation is greater than the preset correlation threshold.

[0051] The parameter settings of the UMAP algorithm will affect its mapping effect. Therefore, this step may require adjusting the parameters multiple times until the data structure in the low-dimensional space is sufficiently similar to the original data structure in the high-dimensional space to avoid mapping distortion.

[0052] S200. Identify the data density and boundary contour of each working condition cluster, and obtain the order degree corresponding to the working condition cluster based on the identification results.

[0053] S210. Calculate the point density of a local region in the space of each cluster to obtain cluster density information;

[0054] Specifically, for each point in the cluster, the average distance to its five nearest points is calculated to obtain the neighbor distance value of each point. Finally, the neighbor distance values ​​of each point in the cluster are averaged to obtain the cluster density. At the same time, the difference between the maximum and minimum neighbor distance values ​​within the cluster is calculated to obtain the uniformity.

[0055] S220. Extract the boundary contour of each cluster, calculate the α-shape of the boundary contour, and obtain the irregularity of the cluster.

[0056] An α-shape is a point-set-based geometric structure where the complexity of the generated shape is controlled by the parameter α. A smaller α results in a more complex shape with more detail, while a larger α results in a simpler shape, possibly a convex hull. By generating α-shapes for each cluster given an α value, calculating the perimeter-to-area ratio of the α-shape, and simultaneously counting the number of edges on the α-shape's boundary contour, the irregularity is calculated by weighting these two metrics.

[0057] S230. Calculate the order of clusters for each operating condition by combining cluster density and cluster irregularity.

[0058] The reliability of a cluster and the consistency of its members are determined by considering cluster density, uniformity, and irregularity. Clusters with high order are considered to have more reliable data patterns, allowing for the extraction of more detailed and sensitive features to capture subtle anomalies and fault modes under that operating condition. Clusters with low order, however, require ignoring detailed features to avoid interference.

[0059] S300: Based on the order of the operating condition cluster, call different feature extraction networks to extract features from the original operating data other than the fault label, and obtain the second feature;

[0060] S310. Classify the clusters according to their order degree to obtain high-order clusters and low-order clusters;

[0061] For clusters with high order, their data patterns can be considered more reliable, and more detailed and sensitive features can be extracted to capture subtle anomalies and failure modes under this operating condition.

[0062] For clusters with low order, their data patterns can be considered less reliable, and the data variations within them may be noisy. Therefore, we should extract macroscopic features that are robust to noise and describe the overall distribution and trends, while ignoring details.

[0063] S320. Extract the mean, variance, skewness, kurtosis and waveform information from the original operating data of the high-order cluster to obtain the first time-domain features;

[0064] S330. Divide the original operating data of the high-order cluster into at least 10 frequency bands, statistically obtain the energy information of each frequency band, calculate the spectral centroid and spectral variance, and extract the first frequency domain features.

[0065] S340. The original running data of the high-order cluster is processed by continuous wavelet transform to obtain a time-frequency map, from which texture features are extracted.

[0066] The features of data belonging to high-order clusters are extracted through the above steps S320-S340;

[0067] S350. For the raw running data of low-order clusters, robust statistics are performed by calculating the median and interquartile range, and the values ​​of multiple preset percentiles are extracted, along with trend and order features, to obtain the second time-domain features.

[0068] S360. Divide the original operating data of the low-order cluster into 3-5 frequency bands and obtain the energy information of each frequency band.

[0069] S370. Use EEMD to decompose the original running data of the low-order cluster, obtain multiple intrinsic mode functions (IMFs), calculate the energy entropy value of each IMF, and select the target IMF based on the energy entropy value.

[0070] IMFs are the components obtained after EEMD decomposition. Each IMF represents the characteristics of a signal within a specific frequency range. Energy entropy is an indicator that measures the complexity and information content of a signal. Its importance in the signal can be evaluated by energy entropy. The smaller the energy entropy, the richer its information content. Therefore, the top 5 IMFs with the smallest energy entropy are selected as the main features of the signal.

[0071] S370. By fusing energy information from each frequency band with the target intrinsic mode function, the second frequency domain feature is obtained.

[0072] The features of data belonging to low-order clusters are extracted through the above steps S350-S370;

[0073] S400. Using the Shapley value of the fault label within the cluster as the training target, the corresponding dynamic weight predictor is trained.

[0074] The Shapley value is used to explain the contribution of each feature to the model output. The Shapley value of each feature is calculated using the SHAP library and used for the target value calibration of the subsequent dynamic weight predictor.

[0075] Multilayer perceptron (MLP) is selected as the weight predictor, and its loss function is designed as follows:

[0076]

[0077] in, The true Shapley value of feature x. To predict the weight values, Here, is the regularization coefficient, j is the sample index, k is the total number of samples, and Loss is the total loss value.

[0078] S500: Obtain the data to be analyzed, extract the first feature based on the data to be analyzed and find the corresponding working condition cluster, and use the corresponding dynamic weight predictor to output the weight of the second feature.

[0079] First, the cluster center is calculated for each operating condition cluster. Then, the first feature of the operating data to be analyzed is mapped into the space. Based on the distance to the cluster center, the cluster closest to it is found, and the dynamic weight predictor corresponding to that cluster is retrieved.

[0080] Input the running data to be analyzed into the dynamic weight predictor, and output the second feature weight;

[0081] S600. Input the second feature of the data to be analyzed and its corresponding weight into the pre-built fault prediction model to obtain the fault diagnosis result.

[0082] The corresponding feature extraction network is selected based on the order of the cluster, and the running data to be analyzed is processed to obtain the second feature. The second feature and its corresponding weight are then input into a pre-built fault prediction model, such as a long short-term memory neural network, to obtain the fault diagnosis result.

[0083] Example 2:

[0084] This embodiment provides a photovoltaic fault diagnosis system based on multimodal adaptive weighting, including:

[0085] The first module is used to acquire historical operating data of photovoltaic equipment, splice historical operating data with the same timestamp to obtain a first feature, and use an unsupervised clustering algorithm to cluster the first feature to obtain multiple operating condition clusters. The historical operating data includes fault labels.

[0086] The second module is used to identify the data density and boundary contour of each working condition cluster, and to obtain the order degree corresponding to the working condition cluster based on the identification results.

[0087] The third module is used to call different feature extraction networks according to the order of the operating condition cluster to extract features from the original operating data other than the fault label, and obtain the second feature.

[0088] The fourth module is used to train the corresponding dynamic weight predictor by using the Shapley value of the fault label within the cluster as the training target.

[0089] The fifth module is used to acquire the data to be analyzed, extract the first feature based on the data to be analyzed and find the corresponding working condition cluster, and output the weight of the second feature using the corresponding dynamic weight predictor.

[0090] The sixth module is used to input the second feature of the data to be analyzed and its corresponding weight into the pre-built fault prediction model to obtain the fault diagnosis result.

[0091] As an optional implementation, the third module includes:

[0092] The classification unit is used to classify the working condition clusters according to their degree of order, resulting in high-order clusters and low-order clusters;

[0093] The first extraction unit is used to extract the mean, variance, skewness, kurtosis and waveform information from the original running data of the high-order clusters to obtain the first time-domain features;

[0094] The second extraction unit is used to divide the original operating data of the high-order cluster into at least 10 frequency bands, statistically obtain the energy information of each frequency band, calculate the spectral centroid and spectral variance, and extract the first frequency domain features.

[0095] The third extraction unit is used to process the original running data of the high-order cluster using continuous wavelet transform to obtain a time-frequency map, from which texture features are extracted.

[0096] As an optional implementation, the third module includes:

[0097] The fourth extraction unit is used to perform robust statistics on the raw running data of low-order clusters by calculating the median and interquartile range, and extract the values ​​of multiple preset percentiles and extract trend and order features to obtain the second time-domain features.

[0098] The fifth extraction unit is used to divide the original operating data of the low-order cluster into 3-5 frequency bands and statistically obtain the energy information of each frequency band;

[0099] The sixth extraction unit is used to decompose the raw running data of the low-order cluster using EEMD, obtain multiple intrinsic mode functions, calculate the energy entropy value of each intrinsic mode function, and filter the target intrinsic mode functions based on the energy entropy value.

[0100] The seventh extraction unit is used to fuse energy information from each frequency band and the target intrinsic mode function to obtain the second frequency domain feature.

[0101] As an optional implementation, the first module includes:

[0102] The acquisition unit is used to acquire irradiance time-series data. It uses a sliding window to traverse the irradiance time-series data to obtain multiple continuous windows.

[0103] The calculation unit is used to calculate the mean of the irradiance fluctuation amplitude and the irradiance change rate for each continuous window, and then weighted and fused them to obtain the weather instability index.

[0104] The segmentation unit is used to divide the time period according to the weather instability index, dividing the data into stable areas, transition areas, and unstable areas.

[0105] Clustering units are used to cluster the historical operating data of the three zones respectively, resulting in operating condition clusters for the three zones.

[0106] Example 3:

[0107] Corresponding to the above method embodiments, this embodiment also provides a photovoltaic fault diagnosis device based on multimodal adaptive weighting. The photovoltaic fault diagnosis device based on multimodal adaptive weighting described below can be referred to in correspondence with the photovoltaic fault diagnosis method based on multimodal adaptive weighting described above.

[0108] Figure 2 This is a block diagram illustrating a photovoltaic fault diagnosis device 800 based on multimodal adaptive weighting, according to an exemplary embodiment. Figure 2As shown, the photovoltaic fault diagnosis device 800 based on multimodal adaptive weighting includes a processor 801 and a memory 802. The photovoltaic fault diagnosis device 800 may also include one or more of the following: a multimedia component 803, an input / output (I / O) interface 804, and a communication component 805. The processor 801 controls the overall operation of the photovoltaic fault diagnosis device 800 to complete all or part of the steps in the aforementioned photovoltaic fault diagnosis method based on multimodal adaptive weighting. The memory 802 stores various types of data to support the operation of the photovoltaic fault diagnosis device 800. This data may include, for example, commands for any application or method operating on the photovoltaic fault diagnosis device 800, and application-related data such as contact data, sent and received messages, images, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0109] Multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals.

[0110] The received audio signal can be further stored in memory 802 or transmitted via communication component 805. The audio component also includes at least one speaker for outputting audio signals. I / O interface 804 provides an interface between processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons can be virtual or physical. Communication component 805 is used for wired or wireless communication between the multimodal adaptive weighted photovoltaic fault diagnosis device 800 and other devices. Wireless communication includes Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination thereof; therefore, the corresponding communication component 805 may include a Wi-Fi module, a Bluetooth module, or an NFC module.

[0111] Example 4:

[0112] Corresponding to the above embodiment of the photovoltaic fault diagnosis method based on multimodal adaptive weighting, this embodiment also provides a readable storage medium. The readable storage medium described below can be referred to in relation to the photovoltaic fault diagnosis method based on multimodal adaptive weighting described above.

[0113] A readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described embodiment of the photovoltaic fault diagnosis method based on multimodal adaptive weighting.

[0114] Specifically, the readable storage medium can be a USB flash drive, external hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, or any other readable storage medium capable of storing program code.

[0115] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0116] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A photovoltaic fault diagnosis method based on multimodal adaptive weighting, characterized in that, include: Historical operating data of photovoltaic equipment is obtained, and historical operating data with the same timestamp are spliced ​​together to obtain a first feature. An unsupervised clustering algorithm is used to cluster the first feature to obtain multiple operating condition clusters. The historical operating data includes fault labels. The data density and boundary contour of each operating condition cluster are identified, and the order degree corresponding to the operating condition cluster is obtained based on the identification results; including: For each cluster, the point density of a local region in its space is calculated to obtain cluster density information; Extract the boundary contour of each cluster, calculate the α-shape of the boundary contour, and obtain the irregularity of the cluster; The order of clusters under each working condition is calculated by combining cluster density and cluster irregularity. Different feature extraction networks are invoked based on the order of the operating condition cluster to extract features from the original operating data other than the fault label, thus obtaining the second feature; Using the Shapley value of the fault label within the cluster as the training target, the corresponding dynamic weight predictor is trained. Acquire the data to be analyzed, extract the first feature based on the data to be analyzed and find the corresponding working condition cluster, and use the corresponding dynamic weight predictor to output the weight of the second feature. The second feature of the data to be analyzed and its corresponding weight are input into the pre-built fault prediction model to obtain the fault diagnosis result.

2. The photovoltaic fault diagnosis method based on multimodal adaptive weighting according to claim 1, characterized in that, Based on the order of the operating condition cluster, different feature extraction networks are invoked to extract features from the raw operating data excluding fault labels, resulting in the second feature, which includes: Based on the degree of order of the working condition clusters, they are classified into high-order clusters and low-order clusters; For the raw operational data of high-order clusters, the mean, variance, skewness, kurtosis and waveform information are extracted to obtain the first time-domain features; The original operating data of the high-order cluster is divided into at least 10 frequency bands. The energy information of each frequency band is statistically obtained, and the spectral centroid and spectral variance are calculated to extract the first frequency domain features. The original running data of the high-order cluster is processed by continuous wavelet transform to obtain a time-frequency map, from which texture features are extracted.

3. The photovoltaic fault diagnosis method based on multimodal adaptive weighting according to claim 2, characterized in that, Based on the order of the operating condition cluster, different feature extraction networks are invoked to extract features from the raw operating data excluding fault labels, resulting in the second feature, which includes: For the raw operating data of low-order clusters, robust statistics are performed by calculating the median and interquartile range, and the values ​​of multiple preset percentiles are extracted to extract trend and order features, thus obtaining the second time-domain features; The raw operational data of the low-order clusters were divided into 3-5 frequency bands, and the energy information of each frequency band was statistically obtained. The original running data of the low-order cluster is decomposed using EEMD to obtain multiple intrinsic mode functions. The energy entropy value of each intrinsic mode function is calculated, and the target intrinsic mode function is obtained by filtering based on the energy entropy value. By fusing energy information from each frequency band with the target intrinsic mode function, the second frequency domain feature is obtained.

4. The photovoltaic fault diagnosis method based on multimodal adaptive weighting according to claim 1, characterized in that, An unsupervised clustering algorithm is used to cluster the fused features, forming multiple working condition clusters, including: Irradiance time-series data is obtained, and multiple continuous windows are obtained by traversing the irradiance time-series data using a sliding window. For each continuous window, the mean values ​​of irradiance fluctuation amplitude and irradiance change rate are calculated and then weighted and fused to obtain the weather instability index; The data is divided into stable, transitional, and unstable zones based on the weather instability index. The historical operating data of the three districts were clustered to obtain the operating condition clusters for each district.

5. The photovoltaic fault diagnosis method based on multimodal adaptive weighting according to claim 1, characterized in that, The first feature is clustered using an unsupervised clustering algorithm, including: The nearest neighbor search algorithm is used to calculate the distance between each first feature and other first features to obtain a preset number of nearest neighbor features corresponding to each first feature; Based on the nearest neighbor features of each first feature, a neighborhood graph is constructed, and the neighborhood graph is mapped to a low-dimensional space using the UMAP algorithm; Map the first feature to a corresponding high-dimensional space based on its dimension, calculate the distance correlation between data points of the same working condition in the high-dimensional space and the low-dimensional space, adjust the UMAP algorithm parameters based on the distance correlation, update and obtain a new low-dimensional space mapping result, and repeat the update until the distance correlation is greater than the preset correlation threshold.

6. A photovoltaic fault diagnosis system based on multimodal adaptive weighting, characterized in that, include: The first module is used to acquire historical operating data of photovoltaic equipment, splice historical operating data with the same timestamp to obtain a first feature, and use an unsupervised clustering algorithm to cluster the first feature to obtain multiple operating condition clusters. The historical operating data includes fault labels. The second module is used to identify the data density and boundary contour of each working condition cluster, and obtain the order degree corresponding to the working condition cluster based on the identification results. This includes: calculating the point density of the local region in the space of each cluster to obtain the cluster density information; extracting the boundary contour of each cluster, calculating the α-shape of the boundary contour to obtain the irregularity of the cluster; and combining the cluster density and the irregularity of the cluster to calculate the order degree of each working condition cluster. The third module is used to call different feature extraction networks according to the order of the operating condition cluster to extract features from the original operating data other than the fault label, and obtain the second feature. The fourth module is used to train the corresponding dynamic weight predictor by using the Shapley value of the fault label within the cluster as the training target. The fifth module is used to acquire the data to be analyzed, extract the first feature based on the data to be analyzed and find the corresponding working condition cluster, and output the weight of the second feature using the corresponding dynamic weight predictor. The sixth module is used to input the second feature of the data to be analyzed and its corresponding weight into the pre-built fault prediction model to obtain the fault diagnosis result.

7. The photovoltaic fault diagnosis system based on multimodal adaptive weighting according to claim 6, characterized in that, The third module includes: The classification unit is used to classify the working condition clusters according to their order degree, resulting in high-order clusters and low-order clusters; The first extraction unit is used to extract the mean, variance, skewness, kurtosis and waveform information from the original running data of the high-order clusters to obtain the first time-domain features; The second extraction unit is used to divide the original operating data of the high-order cluster into at least 10 frequency bands, statistically obtain the energy information of each frequency band, calculate the spectral centroid and spectral variance, and extract the first frequency domain features. The third extraction unit is used to process the original running data of the high-order cluster using continuous wavelet transform to obtain a time-frequency map, from which texture features are extracted.

8. The photovoltaic fault diagnosis system based on multimodal adaptive weighting according to claim 7, characterized in that, The third module includes: The fourth extraction unit is used to perform robust statistics on the raw running data of low-order clusters by calculating the median and interquartile range, and extract the values ​​of multiple preset percentiles and extract trend and order features to obtain the second time-domain features. The fifth extraction unit is used to divide the original operating data of the low-order cluster into 3-5 frequency bands and statistically obtain the energy information of each frequency band; The sixth extraction unit is used to decompose the raw running data of the low-order cluster using EEMD, obtain multiple intrinsic mode functions, calculate the energy entropy value of each intrinsic mode function, and filter the target intrinsic mode functions based on the energy entropy value. The seventh extraction unit is used to fuse energy information from each frequency band and the target intrinsic mode function to obtain the second frequency domain feature.

9. The photovoltaic fault diagnosis system based on multimodal adaptive weighting according to claim 6, characterized in that, The first module includes: The acquisition unit is used to acquire irradiance time-series data. It uses a sliding window to traverse the irradiance time-series data to obtain multiple continuous windows. The calculation unit is used to calculate the mean of the irradiance fluctuation amplitude and the irradiance change rate for each continuous window, and then weighted and fused them to obtain the weather instability index. The segmentation unit is used to divide the time period according to the weather instability index, dividing the data into stable areas, transition areas, and unstable areas. Clustering units are used to cluster the historical operating data of the three zones respectively, resulting in operating condition clusters for the three zones.

Citation Information

Patent Citations

  • Fault diagnosis method based on multi-mode cross-sensor Transform

    CN120086679A

  • Intelligent fault diagnosis and early warning method for electrical automatic composting process system

    CN120850107A