Model sinking-based photovoltaic array dust deposition monitoring method and system
By deploying the GRU model and cloud K-means model in the photovoltaic array inverter, combined with differential encoding, the problem of data transmission cost and label sample acquisition in photovoltaic array dust monitoring is solved, and low-cost, low-complexity monitoring and Accurate judgment.
Patent Information
- Application Number
- CN202410708436.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-17
AI Technical Summary
Existing photovoltaic array dust accumulation monitoring solutions suffer from high traffic costs caused by high-frequency data transmission and difficulty in model training due to the lack of labeled samples. It is especially difficult to effectively monitor and analyze distributed photovoltaic systems.
By sinking the trained GRU artificial intelligence model from the cloud to the internal processing chip of the inverter, combined with the improved differential coding and semi-supervised K-means model, data compression and feature extraction are achieved, the communication frequency and speed are reduced, and the data is processed in the cloud Determine the dust accumulation status.
It realizes low-cost, low-operation complexity distributed photovoltaic array monitoring, reduces monitoring costs, avoids the need for high-speed and high-frequency data transmission channels, and accurately determines dust accumulation status through semi-supervised learning.
Smart Images

Figure CN118659738A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of distributed photoremediation operation and maintenance, and in particular to a photovoltaic array dust accumulation monitoring method and system based on model sinking. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] In recent years, distributed photovoltaic power generation has shown explosive growth, and the power generation efficiency of photovoltaic arrays has received increasing attention.
[0004] Since distributed photovoltaic systems are usually owned by different owners and are relatively small in scale, they lack reasonable cleaning and operation and maintenance. This inevitably causes many photovoltaic arrays that are exposed to the outdoors for a long time to be affected by dust for a long time. Dust accumulation causes the irradiance of the photovoltaic array to be significantly reduced, and it cannot generate electricity as planned, affecting the owner's income. According to surveys, dust accumulation can reduce power generation efficiency by more than 20%, or even as high as 80%. Timely and effective cleaning can significantly improve the power generation efficiency of photovoltaic arrays and increase the owner's income.
[0005] The existing photovoltaic array dust accumulation monitoring methods can be roughly divided into the following three categories: the first is to directly weigh the photovoltaic array and determine the degree of dust accumulation by weight changes, but this requires the installation of precise weighing instruments in the early stages of construction; the second is to use various photographic and video equipment to image the photovoltaic array and determine the degree of dust accumulation through image processing and analysis, but this requires the purchase of imaging equipment or even drones; the third is a data-driven photovoltaic array dust accumulation monitoring solution, which analyzes the degree of dust accumulation in the photovoltaic array by analyzing the photovoltaic array operation data.
[0006] Although the third option is considered to be economically feasible, there are still the following difficulties in actual operation: First, the photovoltaic array data needs to be uploaded to the cloud at high frequency and high speed for analysis and processing in order to effectively monitor its dust accumulation level, which generates a lot of traffic costs; second, the artificial intelligence model that data analysis relies on requires a large number of labeled samples for training, but it is difficult to obtain labeled samples, especially for distributed photovoltaic arrays belonging to different owners. Summary of the invention
[0007] The purpose of the present invention is to overcome the defects of the prior art and provide a photovoltaic array dust accumulation monitoring method and system based on model sinking. Based on the original data-driven photovoltaic array dust accumulation monitoring scheme, this method transfers the trained gated recurrent unit (GRU) artificial intelligence model from the cloud to the edge through model sinking, and realizes feature extraction through the processing chip integrated inside the inverter, thereby reducing the communication frequency and speed and saving traffic costs.
[0008] The purpose of the present invention is achieved in one aspect as follows: A photovoltaic array dust accumulation monitoring method based on model sinking comprises:
[0009] 1) Obtaining the output data of the photovoltaic array at the edge of the distributed photovoltaic system;
[0010] 2) Screening the data obtained in step 1) and extracting valid data;
[0011] 3) Using improved differential coding to compress and encode the sampled data;
[0012] 4) Upload the compressed data and train the artificial intelligence model for data compression and the model for photovoltaic array dust accumulation monitoring in the cloud;
[0013] 5) Loading the trained artificial intelligence model for data compression into a controller of an inverter electrically connected to the photovoltaic array;
[0014] 6) The inverter controller runs an AI model for data compression and uploads the compressed data to the cloud;
[0015] 7) The cloud uses a semi-supervised K-Means model to analyze data and determine whether the photovoltaic array needs to be cleaned;
[0016] 8) Notify the owner of the PV array that needs cleaning.
[0017] As a further limitation of the present invention, the edge end of the distributed photovoltaic system in step 1) is an inverter directly connected to the distributed photovoltaic array; the edge end of the distributed photovoltaic system is communicatively connected to the cloud processor; and the photovoltaic array output data includes the output current and output voltage of the photovoltaic array.
[0018] As a further limitation of the present invention, the step 2) specifically includes: after obtaining the photovoltaic array output data, screening the data to eliminate invalid data due to the edge end not being in a normal operating state or due to the edge end not tracking the maximum power of the distributed photovoltaic array;
[0019] Eliminate invalid data due to the edge end not being in normal operation; the sampling data when the inverter is in fault or standby state is invalid and is filtered out;
[0020] Invalid data caused by the inverter not operating at the maximum power point is screened out; when the maximum fluctuation range of the voltage within a certain period exceeds the threshold, the sampled data is invalid and is screened out.
[0021] As a further limitation of the present invention, the step 3) specifically includes: using improved differential coding to perform data noise reduction and compression coding, and the data storage format is [difference from the previous value, duration]; data noise reduction selects an appropriate threshold to represent the data in the same interval with a value; and the data after noise reduction is differentially re-encoded in the format of [difference from the previous value, duration].
[0022] As a further limitation of the present invention, the step 4) specifically includes: labeling the uploaded data, dividing the data into labeled data and unlabeled data; dividing the labeled data into "clean" and "dirty"; determining that the photovoltaic array is clean for a period of time after cleaning, and calibrating the "clean" label for the data collected during this period of time; determining that the photovoltaic array is dirty for a period of time before cleaning, and calibrating the "dirty" label for the data collected during this period of time;
[0023] A model consisting of GRU and K-means was built and trained, and the K-means model was updated using new data before and after each cleaning. The GRU model was deployed on the inverter for data compression, and the K-means model was deployed on the cloud for dust accumulation status monitoring.
[0024] As a further limitation of the present invention, the construction and training of the model composed of GRU and K-means specifically includes: the input data of the GRU model is the compressed and re-encoded labeled data uploaded by the inverter to the cloud, the GRU output is the eigenvalue of a certain dimension, and each GRU model corresponds to the photovoltaic array one by one; the input of the K-means model is the output of multiple GRU models, and the output of the K-means model is the dust accumulation status monitoring result; the goal of the model training process is to make the eigenvalues with the same label closer to the correct cluster center in the K space; wherein the distance from the cluster center and the eigenvalue to the cluster center is expressed as
[0025] Among them, C i,p Represents the cluster center C of the pth category p The i-th dimension coordinate value, N represents the number of data with all labels p, k i,p,n Indicates the value of the nth data with label p in the i-th dimension, D q,p,n It represents the distance between the nth data in the pth category and the qth classification center, and I represents the data dimension of the feature value;
[0026] The end conditions of model training include: the distance of all labeled data feature values to the correct cluster center in K space is less than the distance to all wrong cluster centers, that is, D p,p,n <D q,p,n q≠p, where D p,p,n and Dq,p,n Indicates the distance from the nth data with label p to the cluster centers with labels p and q; or the maximum number of iterations is reached.
[0027] As a further limitation of the present invention, the training process of the K-means model is:
[0028] a) Choose the number of categories according to the actual situation.
[0029] b) Classify the labeled data according to the labels and calculate the cluster center;
[0030] c) Calculate the distance to each cluster center with labeled data;
[0031] d) When all labeled data satisfy the condition that the distance from the labeled data feature value to the correct cluster center in K space is less than the distance to all wrong cluster centers, or when the maximum number of iterations is reached, the training is exited, otherwise the GRU model is updated and b)-d) are re-executed;
[0032] e) Add unlabeled data to K space and continue to update the model;
[0033] f) Calculate the distance between each unlabeled data and each cluster center;
[0034] g) Classify the unlabeled data into the class with the closest cluster center;
[0035] h) Recalculate the cluster center;
[0036] i) Repeat f)-h) until the cluster center no longer changes.
[0037] As a further limitation of the present invention, the K-means model is updated using the new data before and after each cleaning, and the updating criterion is:
[0038]
[0039] Among them C p,t-1 and C p,t represents the cluster center of the data labeled p this time and last time, k p,t,n Indicates the nth labeled data classified as p in this time, N t is the number of all labeled data classified as p this time; α is the update factor. The larger the α, the closer the cluster center is to the latest sampling data, and the smaller the α, the closer the cluster center is to the historical data.
[0040] As a further limitation of the present invention, the cloud is a server, a data center, a personal computer, or a controller integrated in a certain inverter.
[0041] Another aspect of the purpose of the present invention is achieved as follows: a photovoltaic array dust accumulation monitoring system based on model sinking includes an effective data acquisition module, a data compression module, a feature extraction module, a data upload module, a dust accumulation degree judgment module and a report notification module;
[0042] The effective data acquisition module is used to acquire the output data of the photovoltaic array at the edge of the distributed photovoltaic system and filter out the effective data;
[0043] The data compression module is used to achieve improved differential coding;
[0044] The feature extraction module is used to extract the characteristic values of the distributed photovoltaic array for dust accumulation monitoring through the GRU model;
[0045] The data upload module is used to upload the characteristic values to the cloud wirelessly;
[0046] The dust accumulation degree judgment module is used to judge whether the photovoltaic array needs to be cleaned based on the uploaded data through the semi-supervised K-means classification model;
[0047] The report notification module is used to submit a report notification to the corresponding owner when the photovoltaic array needs to be cleaned.
[0048] The present invention adopts the above technical solution, and compared with the prior art, the beneficial effects are as follows: the present invention realizes effective monitoring of distributed photovoltaic arrays with low cost and low operation complexity through local data processing and semi-supervised learning; the method has no requirements on the material, topological structure, and service life of the photovoltaic array and is universal.
[0049] The present invention does not require any additional equipment, but only adds an intelligent algorithm to the original distributed photovoltaic system to realize distributed photovoltaic dust accumulation monitoring, which greatly reduces the monitoring cost. Different from the existing methods for distributed photovoltaic array dust accumulation monitoring based on data-driven and artificial intelligence methods, this method does not require a high-speed, high-frequency data transmission channel. At the same time, it does not require a large amount of labeled data to train the model, reducing the complexity of the operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a flow chart of the present invention.
[0051] Figure 2 This is a schematic diagram of the improved differential encoding of the present invention.
[0052] Figure 3 Schematic diagram of the GRU and K-means model of the present invention.
[0053] Figure 4 It is a schematic diagram of the semi-supervised learning K-means training process of the present invention.
[0054] Figure 5 It is a system structure block diagram of the present invention. DETAILED DESCRIPTION
[0055] like Figure 1 A photovoltaic array dust accumulation monitoring method based on model sinking is shown. In this embodiment, three groups of photovoltaic arrays are used as an example to illustrate the method. In actual applications, the number of photovoltaic arrays is set according to the situation.
[0056] S01: The inverter electrically connected to the photovoltaic array directly collects the output voltage and output current values of the photovoltaic array; a single-phase / three-phase single-stage / double-stage inverter is electrically connected to the output end of the distributed photovoltaic array to collect the output voltage and output current values of the distributed photovoltaic array at a certain sampling frequency (5kHz-50kHz);
[0057] S02: Screening the acquired data, the criterion for valid data is that the inverter is in normal operation (not standby or shutdown) and is not operating at the maximum power point;
[0058] The acquired data is screened, including: (1) filtering out invalid data caused by abnormal operation of the inverter;
[0059] When the inverter cannot be connected to the grid for power generation due to insufficient output power of the photovoltaic array or faults on the AC or DC side (AC or DC undervoltage or grid-connected frequency exceeding the limit, etc.), the photovoltaic array voltage and current collected by the inverter do not have the performance to characterize the operating characteristics of the photovoltaic array. This part of the data is invalid data caused by the non-operating state of the inverter and should be screened out.
[0060] (2) Eliminate invalid data caused by the inverter not operating at the maximum power point;
[0061] Only when the PV array is operating at the maximum power point under the current external environment, can the output voltage and current characterize the operating characteristics of the PV array. Therefore, the data is invalid when the PV array is operating at a non-maximum power point. The biggest reason for the PV array to operate at a non-maximum power point is that when the external environment changes, the inverter needs to track the maximum power point of the PV array. This process takes time, and the data during this process is invalid. By setting the maximum fluctuation range of the voltage within a certain period of time, invalid data caused by the inverter not operating at the maximum power point can be screened out.
[0062] When using the perturbation observation method as the inverter maximum power tracking strategy, the effective data should satisfy the following formula within a certain period of time:
[0063] V peak_peak ≤3·V pert (1)
[0064] Where Vpeak_peak Indicates the difference between the maximum and minimum voltage in a certain period of time, V pert It is the step size of each voltage adjustment in the disturbance observation method. Other embodiments may determine whether the maximum power point is tracked by other methods.
[0065] S03: De-noise and re-encode the sampled data through an improved differential coding algorithm to achieve data compression;
[0066] like Figure 2 , using improved differential coding for data noise reduction and compression coding, including:
[0067] (1) Select an appropriate threshold value to represent the data in the same range with one value. For example, if the data within ±5V can represent the same state, then the data of 230±5V can be uniformly represented by 230V.
[0068] (2) Save the data in the format of [value, duration]. For example, if the data represented as 230V lasted for 15 seconds in the previous step, the saved format is [230,15].
[0069] (3) Differential encoding re-encodes the data and converts the saved format to [difference from the previous value, duration]. For example, if the previous stored data of 230V in the previous step is 220V, then [230,15] will be saved as [10,15].
[0070] S04: Upload the compressed data to the cloud; upload the compressed and re-encoded data to the cloud by wired or wireless means.
[0071] S05: Divide the labeled data and unlabeled data according to the time distance from the distributed photovoltaic array cleaning time node, where the labeled data is further divided into two states: "clean" and "dirty"; label the uploaded data. The rules are as follows:
[0072] (1) Determine that the PV array is clean for a period of time after cleaning, and label the data collected during this period as "clean". The selection of the time period should be related to the local climate environment. It is generally believed that the first 10% of the average cleaning cycle is "clean".
[0073] (2) Determine that the PV array is dirty for a period of time before cleaning, and label the data collected during this period as "dirty". The selection of the time period should be related to the local climate environment. It is generally believed that the last 10% of the average cleaning cycle is "dirty".
[0074] (3) Data in other time periods are classified as unlabeled data;
[0075] S06: Use the acquired data as a training set to train the GRU model and the semi-supervised K-means classification model;
[0076] like Figure 3 , build and train a model consisting of GRU and K-means, including:
[0077] (1) The input data of the GRU model is the compressed and re-encoded labeled data uploaded by the inverter to the cloud. The output of GRU is the feature value of a certain dimension. Each GRU model corresponds to a photovoltaic array one by one.
[0078] (2) The input of the K-means model is the output of multiple GRU models;
[0079] (3) The goal of the training process is to make the feature values with the same label closer to the correct cluster center in K space. The cluster center can be obtained by the following formula:
[0080]
[0081] Where C i,p Represents the cluster center C of the pth category p The i-th dimension coordinate value, N represents the number of data with all labels p, k i,p,n Indicates the value of the nth data with label p in the i-th dimension coordinate;
[0082] The distance of the eigenvalue from each cluster center in K space can be obtained by the following formula:
[0083]
[0084] Where D q,p,n It represents the distance between the nth data in the pth category and the qth classification center, and I represents the data dimension of the feature value.
[0085] The condition for the end of model training is that for any p, n, q, the distance between the data labeled p and the cluster center of all data labeled p is less than the cluster center of the data labeled q (q≠p), that is, formula (4), or the maximum number of iterations is reached.
[0086] D p,p,n <D q,p,n q≠p(4)
[0087] (4) The training process of the semi-supervised K-means model is as follows Figure 4 As shown, specifically:
[0088] 1. Select the number of categories according to actual conditions;
[0089] 2. The labeled data is classified according to the labels and the cluster center is calculated according to formula (2);
[0090] 3. The distance from the labeled data to each cluster center is calculated according to formula (3);
[0091] 4. When all labeled data satisfy formula (4) or the maximum number of iterations is reached, exit the training. Otherwise, update the GRU model and re-execute 2-4.
[0092] (5) Add unlabeled data to K space, specifically:
[0093] 1. Calculate the distance between each unlabeled data and each cluster center;
[0094] 2. Classify the unlabeled data into the class with the closest cluster center;
[0095] 3. Recalculate the cluster center according to formula (2);
[0096] Repeat 1-3 until the cluster center no longer changes.
[0097] Considering that this model will be applied to the dust accumulation monitoring of photovoltaic arrays throughout their life cycle, and the operating characteristics of photovoltaic arrays may change with aging, failures, etc., the following formula is used to improve the adaptive update capability of the model:
[0098]
[0099] Among them C p,t-1 and C p,t represents the cluster center of the data labeled p this time and last time, k p,t,n Indicates the nth labeled data classified as p in this time, N t is the number of all labeled data classified as p this time. α is the update factor. The larger the α, the closer the cluster center is to the latest sampled data. The smaller the α, the closer the cluster center is to the historical data. In this example, α is set to 0.7.
[0100] S07: Deploy the trained GRU model in the controller inside the inverter; deploy the trained semi-supervised K-means classification model in the cloud;
[0101] Deploy the GRU model trained in the previous step in the controller inside the inverter, and deploy the trained K-means model in the cloud. The cloud does not specify a specific entity, which may be a server, data center, personal computer, or a controller integrated in a certain inverter.
[0102] S08: The data uploaded by the subsequent three groups of inverters will be classified by the trained K-means model; if it is detected that the PV array needs to be cleaned, the owner of the PV array will be notified; the subsequent data will be uploaded to the cloud after compression and re-encoding and GRU feature extraction, and classified by K-means in the cloud. If it is detected that a PV array needs to be cleaned, its owner will be notified.
[0103] like Figure 5 As shown, a photovoltaic array dust accumulation monitoring system based on model sinking includes an effective data acquisition module, a data compression module, a feature extraction module, a data upload module, a dust accumulation degree judgment module and a report notification module;
[0104] The effective data acquisition module is used to acquire the output data of the photovoltaic array at the edge of the distributed photovoltaic system and filter out the effective data;
[0105] The data compression module is used to achieve improved differential coding;
[0106] The feature extraction module is used to extract the characteristic values of the distributed photovoltaic array for dust accumulation monitoring through the GRU model;
[0107] The data upload module is used to upload the characteristic values to the cloud wirelessly;
[0108] The dust accumulation degree judgment module is used to judge whether the photovoltaic array needs to be cleaned based on the uploaded data through the semi-supervised K-means classification model;
[0109] The report notification module is used to submit a report notification to the corresponding owner when the photovoltaic array needs to be cleaned.
[0110] A computer-readable storage medium having a program stored thereon, which is implemented when the program is executed by a processor;
[0111] An electronic device comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in a photovoltaic array dust accumulation monitoring method based on model sinking as described in an embodiment of the present invention are implemented.
[0112] Based on the original data-driven photovoltaic array dust accumulation monitoring solution, the present invention transfers the trained gated recurrent unit (GRU) artificial intelligence model from the cloud to the edge through the model sinking method, and realizes feature extraction through the processing chip integrated inside the inverter, thereby reducing the communication frequency and speed and saving traffic costs. In order to expand the amount of data that can be stored on the edge, the present invention proposes an improved differential encoding method to compress the sampled data. At the same time, in order to solve the problem that a large amount of labeled data is difficult to obtain, a semi-supervised learning K-means model is deployed in the cloud, and only a small amount of labeled data is used to accurately judge the dust accumulation status of distributed photovoltaic arrays.
[0113] The present invention is not limited to the above-mentioned embodiments. On the basis of the technical solution disclosed in the present invention, technicians in this field can make some substitutions and deformations to some technical features therein according to the disclosed technical content without creative labor, and these substitutions and deformations are all within the protection scope of the present invention.
Claims
1. A photovoltaic array dust accumulation monitoring method based on model sinking, characterized in that: include: 1) Obtaining the output data of the photovoltaic array at the edge of the distributed photovoltaic system; 2) Screening the data obtained in step 1) and extracting valid data; 3) Using improved differential coding to compress and encode the sampled data; 4) Upload the compressed data and train the artificial intelligence model for data compression and the model for photovoltaic array dust accumulation monitoring in the cloud; 5) Loading the trained artificial intelligence model for data compression into a controller of an inverter electrically connected to the photovoltaic array; 6) The inverter controller runs an AI model for data compression and uploads the compressed data to the cloud; 7) The cloud analyzes data through a semi-supervised K-Means model to determine whether the photovoltaic array needs to be cleaned; 8) Notify the owner of the PV array that needs cleaning.
2. A photovoltaic array dust accumulation monitoring method based on model sinking according to claim 1, characterized in that: The edge end of the distributed photovoltaic system in step 1) is an inverter directly connected to the distributed photovoltaic array; the edge end of the distributed photovoltaic system is communicatively connected to the cloud processor; the photovoltaic array output data includes the output current and output voltage of the photovoltaic array.
3. A photovoltaic array dust accumulation monitoring method based on model sinking according to claim 1, characterized in that: The step 2) specifically includes: after obtaining the photovoltaic array output data, screening the data to remove invalid data due to the edge end not being in a normal operating state or due to the edge end not tracking the maximum power of the distributed photovoltaic array; Eliminate invalid data due to the edge end not being in normal operation; the sampling data when the inverter is in fault or standby state is invalid and is filtered out; Invalid data caused by the inverter not operating at the maximum power point is screened out; when the maximum fluctuation range of the voltage within a certain period exceeds the threshold, the sampled data is invalid and is screened out.
4. A photovoltaic array dust accumulation monitoring method based on model sinking according to claim 1, characterized in that: The step 3) specifically includes: using improved differential coding to perform data noise reduction and compression coding, and the data is saved in a format of [difference from the previous value, duration]; data noise reduction selects a suitable threshold value to represent data in the same interval with a single value; and differentially re-encoding the data after noise reduction processing in a format of [difference from the previous value, duration].
5. The photovoltaic array dust accumulation monitoring method based on model sinking according to claim 1 is characterized in that: The step 4) specifically includes: labeling the uploaded data, dividing the data into labeled data and unlabeled data; dividing the labeled data into "clean" and "dirty"; determining that the photovoltaic array is clean for a period of time after cleaning, and calibrating the "clean" label for the data collected during this period of time; determining that the photovoltaic array is dirty for a period of time before cleaning, and calibrating the "dirty" label for the data collected during this period of time; A model consisting of GRU and K-means was built and trained, and the K-means model was updated using new data before and after each cleaning. The GRU model was deployed on the inverter for data compression, and the K-means model was deployed on the cloud for dust accumulation status monitoring.
6. A photovoltaic array dust accumulation monitoring method based on model sinking according to claim 5, characterized in that: The construction and training of the model composed of GRU and K-means specifically includes: the input data of the GRU model is the compressed and re-encoded labeled data uploaded by the inverter to the cloud, the output of the GRU is the eigenvalue of a certain dimension, and each GRU model corresponds to the photovoltaic array one by one; the input of the K-means model is the output of multiple GRU models, and the output of the K-means model is the dust accumulation status monitoring result; the goal of the model training process is to make the eigenvalues with the same label closer to the correct cluster center in the K space; the distance from the cluster center and the eigenvalue to the cluster center is expressed as Among them, C i,p Represents the cluster center C of the pth category p The i-th dimension coordinate value, N represents the number of data with all labels p, k i,p,n Indicates the value of the nth data with label p in the i-th dimension, D q,p,n It represents the distance between the nth data in the pth category and the qth classification center, and I represents the data dimension of the feature value; The end conditions of model training include: the distance of all labeled data feature values to the correct cluster center in K space is less than the distance to all wrong cluster centers, that is, D p,p,n <D q,p,n q≠p, where D p,p,n and D q,p,n Indicates the distance from the nth data with label p to the cluster centers with labels p and q; or the maximum number of iterations is reached.
7. A photovoltaic array dust accumulation monitoring method based on model sinking according to claim 6, characterized in that: The training process of the K-means model is: a) Choose the number of categories according to the actual situation. b) Classify the labeled data according to the labels and calculate the cluster center; c) Calculate the distance from the labeled data to each cluster center; d) When all labeled data satisfy the condition that the distance from the characteristic value of the labeled data to the correct cluster center in K space is less than the distance to all wrong cluster centers, or when the maximum number of iterations is reached, the training is exited, otherwise the GRU model is updated and b)-d) are executed again; e) Add unlabeled data to K space and continue to update the model; f) Calculate the distance between each unlabeled data and each cluster center; g) Classify the unlabeled data into the class with the closest cluster center; h) Recalculate the cluster center; i) Repeat f)-h) until the cluster center no longer changes.
8. The photovoltaic array dust accumulation monitoring method based on model sinking according to claim 5 is characterized in that: The K-means model is updated using new data before and after each cleaning, and the update criteria are: Among them C p,t-1 and C p,t represents the cluster center of the data labeled p this time and last time, k p,t,n Indicates that there is the nth labeled data classified as p in this time, N t is the number of all labeled data classified as p this time; α is the update factor. The larger the α, the closer the cluster center is to the latest sampling data, and the smaller the α, the closer the cluster center is to the historical data.
9. The photovoltaic array dust accumulation monitoring method based on model sinking according to claim 1 is characterized in that: The cloud is a server, a data center, a personal computer, or a controller integrated inside a certain inverter.
10. A photovoltaic array dust accumulation monitoring system based on model sinking, characterized in that: It includes effective data acquisition module, data compression module, feature extraction module, data upload module, dust accumulation degree judgment module and report notification module; The effective data acquisition module is used to acquire the output data of the photovoltaic array at the edge of the distributed photovoltaic system and filter out the effective data; The data compression module is used to achieve improved differential coding; The feature extraction module is used to extract the characteristic values of the distributed photovoltaic array for dust accumulation monitoring through the GRU model; The data upload module is used to upload the characteristic values to the cloud wirelessly; The dust accumulation degree judgment module is used to judge whether the photovoltaic array needs to be cleaned based on the uploaded data through the semi-supervised K-means classification model; The report notification module is used to submit a report notification to the corresponding owner when the photovoltaic array needs to be cleaned.
