An online early warning method for photovoltaic combiner boxes based on AI algorithm and edge computing

The photovoltaic combiner box online early warning method based on AI algorithm and edge computing solves the problem of poor timeliness of photovoltaic combiner box fault diagnosis, realizes real-time fault prediction and early warning, and improves the operation and maintenance efficiency and power utilization of the photovoltaic power generation system.

CN118194243BActive Publication Date: 2024-10-01BEIJING ZHIMENG XINTONG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410322557.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2024-10-01
Estimated Expiration
2044-03-20

AI Technical Summary

Technical Problem

The timeliness of fault diagnosis of photovoltaic combiner boxes in photovoltaic power generation systems is poor, making it difficult to detect faults in time and easily causing power loss.

Method used

An online early warning method for photovoltaic combiner boxes based on AI algorithms and edge computing is used to obtain normal state detection data and historical fault event data, extract multi-dimensional state feature values, establish a fault event prediction model, and periodically extract features from real-time detection data. , an early warning message is triggered when it is determined that the probability value is greater than or equal to the preset threshold.

Benefits of technology

It improves the timeliness of fault diagnosis, reduces power loss, and realizes distributed fault prediction and online early warning, allowing operation and maintenance personnel to take measures in advance to prevent faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118194243B_ABST
    Figure CN118194243B_ABST
Patent Text Reader

Abstract

The present invention discloses an online early warning method for a photovoltaic combiner box based on an AI algorithm and edge computing, and relates to the technical field of photovoltaic power generation. The method is to first sort out a plurality of positive and negative samples for training a fault event occurrence prediction model after obtaining a plurality of normal state detection data and a plurality of previous state detection data corresponding to a plurality of historical fault events, and then apply these samples to train a fault event occurrence prediction model with a confidence value of 1 as the probability value of a fault event occurring at the end of the next cycle, and then periodically perform feature extraction processing on the real-time detection data related to the photovoltaic combiner box to obtain a multi-dimensional real-time state characteristic value, and finally import the multi-dimensional real-time state characteristic value into the fault event occurrence prediction model, output the probability value of the fault event occurring at the end of the next cycle, and trigger the sending of a warning message to the online host computer when the probability value is determined to be greater than or equal to a preset threshold.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of photovoltaic power generation, and specifically relates to an online early warning method for a photovoltaic combiner box based on AI algorithm and edge computing. Background Art

[0002] The photovoltaic combiner box is a kind of convergence equipment in the photovoltaic power generation system. Its main components include the box, fuse, busbar, molded case switch, voltage and current detection device, temperature sensor, lightning arrester and edge computing equipment for local control and external communication. It is generally located between the photovoltaic string and the inverter. Its main functions are convergence, monitoring and protection. Although the function of the combiner box is relatively simple, its failure rate in the photovoltaic power generation system is not low. Problems such as fuse blowing, fire or communication failure are also common problems in photovoltaic power stations. As an important primary equipment in the photovoltaic power generation system, its status is directly related to the power generation of the photovoltaic power station.

[0003] At present, in large-scale ground photovoltaic power stations, combiner boxes are widely used and distributed in every corner of the power station. The diagnosis of combiner boxes in current photovoltaic power stations mainly relies on monitoring system alarms and manual on-site inspections, which has the problem of poor timeliness of fault diagnosis. For the current situation of photovoltaic power stations lacking or with few people on duty, the amount of information in the monitoring system is very large, and it is very difficult to pay attention to each combiner box, which often makes it difficult to find faults in time after they occur, which can easily cause a large amount of power loss. Therefore, how to predict faults locally in photovoltaic combiner boxes and conduct online warnings is an urgent problem to be solved in current photovoltaic power stations. Summary of the invention

[0004] The purpose of the present invention is to provide a photovoltaic combiner box online early warning method, device, computer equipment, computer readable storage medium and computer program product based on AI algorithm and edge computing, so as to solve the problem that the existing photovoltaic combiner box monitoring system is difficult to pay attention to the fault condition of each combiner box, which leads to poor timeliness of fault diagnosis and easy to cause a large amount of power loss.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] In the first aspect, a photovoltaic combiner box online early warning method based on AI algorithm and edge computing is provided, which is executed by an edge computing device located in the photovoltaic combiner box, including:

[0007] Acquire multiple copies of normal state detection data and multiple copies of previous state detection data corresponding to multiple historical fault events, wherein the normal state detection data refers to detection data collected at the start time of a K-hour historical period without a fault event and related to the photovoltaic combiner box, K represents a positive integer, and the previous state detection data refers to detection data collected at a certain time before the corresponding event occurs and related to the photovoltaic combiner box, and the certain time is equal to the time when the corresponding event occurs minus a cycle length;

[0008] For each piece of normal state detection data in the multiple pieces of normal state detection data, extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and use a value of 0 as a corresponding model output item, to obtain a corresponding negative sample that includes the model input item and the model output item;

[0009] For each of the plurality of pieces of previous state detection data, extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and use a value of 1 as a corresponding model output item, to obtain a corresponding positive sample that includes the model input item and the model output item;

[0010] Applying the plurality of negative samples and the plurality of positive samples, calibrating and validating the AI ​​algorithm model based on the machine learning algorithm, and obtaining a fault event occurrence prediction model, wherein the confidence of the fault event occurrence prediction model with an output value of 1 is used as a probability value of the fault event occurring at the end of the next cycle;

[0011] Periodically perform feature extraction processing on real-time detection data related to the photovoltaic combiner box to obtain multi-dimensional real-time state feature values;

[0012] Importing the multi-dimensional real-time state feature value into the fault event occurrence prediction model, and outputting a probability value of the fault event occurring at the end of the next cycle;

[0013] When it is determined that the probability value is greater than or equal to a preset threshold, a warning message is triggered to be sent to an online host computer.

[0014] Based on the above invention content, an online early warning scheme for a photovoltaic combiner box based on a machine learning algorithm for predicting the occurrence of a fault event is provided, that is, after obtaining a plurality of normal state detection data and a plurality of previous state detection data corresponding to a plurality of historical fault events, a plurality of positive samples and a plurality of negative samples for training a fault event occurrence prediction model are first sorted out, and then these samples are applied to calibrate and verify the modeling of an AI algorithm model based on a machine learning algorithm, and a confidence value with an output value of 1 is obtained, which can be used as a fault event occurrence prediction model as a probability value of a fault event occurring at the end of the next cycle, and then the real-time detection data related to the photovoltaic combiner box is periodically subjected to feature extraction processing to obtain a multi-dimensional real-time state feature value, and finally the multi-dimensional real-time state feature value is imported into the fault event occurrence prediction model, and the probability value of the fault event occurring at the end of the next cycle is output, and when it is determined that the probability value is greater than or equal to a preset threshold, a warning message is triggered to be sent to an online host computer, so that fault prediction and online warning can be performed locally in the photovoltaic combiner box in a distributed manner, so that operation and maintenance personnel can take corresponding intervention measures in advance to prevent the occurrence of fault events, thereby improving the timeliness of fault diagnosis and avoiding a large amount of power loss, which is convenient for practical application and promotion.

[0015] In one possible design, the detection data contains photovoltaic combiner box detection data, inverter related data connected to the photovoltaic combiner box, and meteorological data, wherein the photovoltaic combiner box detection data contains string current data, string voltage data and / or combiner box internal temperature data, the inverter related data connected to the photovoltaic combiner box contains branch current data and / or branch voltage data, and the meteorological data contains meteorological station irradiance data and / or ambient temperature data.

[0016] In a possible design, the multi-dimensional state characteristic value includes a string current value, a string voltage value, an internal temperature value of a combiner box, a current value of each branch, a voltage value of each branch, an irradiance value of a weather station and / or an ambient temperature value.

[0017] In a possible design, a plurality of the negative samples and a plurality of the positive samples are used to perform calibration and verification modeling on an AI algorithm model based on a machine learning algorithm to obtain a fault event occurrence prediction model, including:

[0018] According to the model input items and model output items in each sample, the Pearson correlation coefficient test method is used to calculate the Pearson correlation coefficient of each pair of characteristic indicators in the multiple characteristic indicators, wherein the each sample refers to each of the negative samples / the positive samples, and the multiple characteristic indicators correspond to the multidimensional state characteristic values ​​one by one;

[0019] If the Pearson correlation coefficient of a pair of characteristic indicators exceeds a preset threshold, the state characteristic value corresponding to any one characteristic indicator in the pair of characteristic indicators is removed from the model input items of each sample to obtain a new model input item for each sample;

[0020] By applying the samples, the AI ​​algorithm model based on the machine learning algorithm is calibrated and verified to obtain a fault event occurrence prediction model, wherein the confidence of the fault event occurrence prediction model with an output value of 1 is used as the probability value of the fault event occurring at the end of the next cycle.

[0021] In one possible design, the machine learning algorithm adopts a linear regression algorithm based on the Python sklearn library.

[0022] In a possible design, when there are multiple types of fault events, the method further includes:

[0023] For each type of fault, the corresponding fault event occurrence prediction model is obtained by calibrating and verifying the modeling;

[0024] For each of the fault types, the multi-dimensional real-time state feature value is imported into the corresponding fault event occurrence prediction model, and the probability value of the corresponding fault event occurring at the end of the next cycle is output;

[0025] For each of the fault types, if it is determined that the probability value of the corresponding fault event occurring at the end of the next cycle is greater than or equal to the corresponding preset threshold, a warning message carrying the corresponding fault type is sent to the online host computer.

[0026] In the second aspect, an online early warning device for a photovoltaic combiner box based on an AI algorithm and edge computing is provided, which is arranged in an edge computing device located in the photovoltaic combiner box, and includes a data acquisition module, a negative sample extraction module, a positive sample extraction module, a model training module, a feature value extraction module, a model application module and an early warning trigger module;

[0027] The data acquisition module is used to acquire multiple normal state detection data and multiple previous state detection data corresponding to multiple historical fault events, wherein the normal state detection data refers to the detection data collected at the start time of the K-hour historical period without fault events and related to the photovoltaic combiner box, K represents a positive integer, and the previous state detection data refers to the detection data collected at a certain time before the corresponding event occurs and related to the photovoltaic combiner box, and the certain time is equal to the time when the corresponding event occurs minus a cycle length;

[0028] The negative sample extraction module is communicatively connected to the data acquisition module, and is used to extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and use a value of 0 as a corresponding model output item for each normal state detection data in the multiple normal state detection data, to obtain a corresponding negative sample that includes the model input item and the model output item;

[0029] The positive sample extraction module is communicatively connected to the data acquisition module, and is used to extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and a value 1 as a corresponding model output item for each of the multiple previous state detection data, to obtain a corresponding positive sample containing the model input item and the model output item;

[0030] The model training module is respectively connected to the negative sample extraction module and the positive sample extraction module in communication, and is used to apply a plurality of the negative samples and a plurality of the positive samples to perform calibration verification modeling on the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, wherein the confidence of the fault event occurrence prediction model with an output value of 1 is used as a probability value of a fault event occurring at the end of the next cycle;

[0031] The feature value extraction module is used to periodically perform feature extraction processing on real-time detection data related to the photovoltaic combiner box to obtain multi-dimensional real-time state feature values;

[0032] The model application module is respectively connected to the model training module and the feature value extraction module for communication, and is used to import the multi-dimensional real-time state feature value into the fault event occurrence prediction model, and output a probability value of the fault event occurring at the end of the next cycle;

[0033] The early warning trigger module is communicatively connected to the model application module, and is used to trigger the sending of an early warning message to an online host computer when it is determined that the probability value is greater than or equal to a preset threshold.

[0034] In a third aspect, the present invention provides a computer device comprising a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the photovoltaic combiner box online early warning method as described in the first aspect or any possible design of the first aspect.

[0035] In a fourth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon, which, when executed on a computer, executes the photovoltaic combiner box online early warning method as described in the first aspect or any possible design of the first aspect.

[0036] In a fifth aspect, the present invention provides a computer program product, including a computer program or instructions, which, when executed by a computer, implements the photovoltaic combiner box online warning method as described in the first aspect or any possible design of the first aspect.

[0037] Beneficial effects of the above scheme:

[0038] (1) The present invention creatively provides an online early warning scheme for a photovoltaic combiner box based on a machine learning algorithm for predicting the occurrence of a fault event. That is, after obtaining a plurality of normal state detection data and a plurality of previous state detection data corresponding to a plurality of historical fault events, a plurality of positive samples and a plurality of negative samples for training a fault event prediction model are first obtained. Then, these samples are used to calibrate and verify the modeling of an AI algorithm model based on a machine learning algorithm. The confidence value obtained in the output value is 1 and can be used as a fault event prediction model for the probability value of the occurrence of a fault event at the end of the next cycle. Then, the real-time detection data related to the photovoltaic combiner box is periodically subjected to feature extraction processing to obtain a multi-dimensional real-time state feature value. Finally, the multi-dimensional real-time state feature value is imported into the fault event prediction model, and the probability value of the occurrence of a fault event at the end of the next cycle is output. When the probability value is determined to be greater than or equal to a preset threshold, a warning message is triggered to be sent to an online host computer. In this way, fault prediction and online warning can be performed locally in the photovoltaic combiner box in a distributed manner, so that operation and maintenance personnel can take corresponding intervention measures in advance to prevent the occurrence of fault events, thereby improving the timeliness of fault diagnosis and avoiding a large amount of power loss, which is convenient for practical application and promotion. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 A schematic flow chart of an online early warning method for a photovoltaic combiner box based on AI algorithm and edge computing provided in an embodiment of the present application.

[0041] Figure 2 A schematic diagram of the structure of an online early warning device for a photovoltaic combiner box based on AI algorithm and edge computing provided in an embodiment of the present application.

[0042] Figure 3 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.

[0044] It should be understood that although the terms first and second, etc. may be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another object. For example, a first object can be referred to as a second object, and similarly, a second object can be referred to as a first object without departing from the scope of the exemplary embodiments of the present invention.

[0045] It should be understood that the term "and / or" that may appear in this document is merely a description of the association relationship between associated objects, indicating that there may be three relationships. For example, A and / or B can indicate three situations: A exists alone, B exists alone, or A and B exist at the same time. For another example, A, B and / or C can indicate the existence of any one of A, B and C or any combination of them. The term " / and" that may appear in this document describes another type of association object relationship, indicating that there may be two relationships. For example, A / and B can indicate two situations: A exists alone or A and B exist at the same time. In addition, the character " / " that may appear in this document generally indicates that the previous and next associated objects are in an "or" relationship.

[0046] Example:

[0047] like Figure 1 As shown, the photovoltaic combiner box online warning method based on AI algorithm and edge computing provided in the first aspect of this embodiment can be executed by, but not limited to, an edge computing device with certain computing resources and located in the photovoltaic combiner box. Figure 1 As shown, the photovoltaic combiner box online early warning method may include but is not limited to the following steps S1 to S7.

[0048] S1. Obtain multiple normal status detection data and multiple previous status detection data corresponding to multiple historical fault events, wherein the normal status detection data refers to the detection data collected at the starting time of the K-hour historical period without fault events and related to the photovoltaic combiner box, K represents a positive integer, and the previous status detection data refers to the detection data collected at a determined time before the corresponding event occurs and related to the photovoltaic combiner box, and the determined time is equal to the time when the corresponding event occurs minus a cycle length.

[0049] In the step S1, specifically, the detection data includes but is not limited to the detection data of the photovoltaic combiner box, the inverter-related data connected to the photovoltaic combiner box, and the meteorological data, wherein the detection data of the photovoltaic combiner box includes but is not limited to the string current data, the string voltage data and / or the internal temperature data of the combiner box, etc., the inverter-related data connected to the photovoltaic combiner box includes but is not limited to the current data of each branch and / or the voltage data of each branch, etc., and the meteorological data includes but is not limited to the irradiance data of the meteorological station and / or the ambient temperature data, etc., and the aforementioned detection data can be collected and obtained by existing technical means. The cycle time can be, but is not limited to, 1 hour. For example, if no fault event occurs within 10 hours from 8:00 to 18:00 (that is, K takes a value of 10), the real-time detection data collected at 8:00 can be used as a copy of the normal state detection data; and if a fault event occurs at 19:00, the real-time detection data collected at 18:00 (that is, the determined time, the cycle time is 1 hour) can be used as a copy of the previous state detection data.

[0050] S2. For each piece of normal state detection data in the multiple pieces of normal state detection data, extract a multidimensional state feature value from the corresponding data as the corresponding model input item, and use the value 0 as the corresponding model output item to obtain a corresponding negative sample that contains the model input item and the model output item.

[0051] In the step S2, specifically, the multi-dimensional state characteristic values ​​include but are not limited to string current value, string voltage value, internal temperature value of the junction box, current value of each branch, voltage value of each branch, irradiance value of the meteorological station and / or ambient temperature value, etc.

[0052] S3. For each of the multiple pieces of previous state detection data, extract a multidimensional state feature value from the corresponding data as the corresponding model input item, and take the value 1 as the corresponding model output item, to obtain a corresponding positive sample that contains the model input item and the model output item.

[0053] In the step S3, the multidimensional state characteristic values ​​in the model input items of the positive samples and the multidimensional state characteristic values ​​in the model input items of the negative samples are multiple characteristic values ​​under the same multiple characteristic indicators, for example, string current values, string voltage values, internal temperature values ​​of the junction box, current values ​​of each branch, voltage values ​​of each branch, irradiance value of the meteorological station and ambient temperature value, etc.

[0054] S4. Apply multiple negative samples and multiple positive samples to calibrate and verify the AI ​​(Artificial Intelligence) algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, wherein the confidence level of the fault event occurrence prediction model with an output value of 1 is used as the probability value of the fault event occurring at the end of the next cycle.

[0055] In step S4, the machine learning algorithm is a core algorithm of artificial intelligence that specifically studies how computers simulate or implement human learning behavior to acquire new knowledge or skills, reorganize existing knowledge structures to continuously improve their own performance, and is the fundamental way to make computers intelligent; specifically, the machine learning algorithm preferably uses a linear regression algorithm based on the Python sklearn library to quickly and accurately find the rules in the data. The specific process of the calibration verification modeling includes the calibration process and the verification process of the model, that is, first by comparing the model simulation results with the measured data, and then adjusting the model parameters according to the comparison results, so that the simulation results are consistent with the actual process, so the fault event occurrence prediction model can be obtained through the conventional calibration verification modeling method. Preferably, in the calibration verification modeling process of the AI ​​algorithm model, the model parameters are tuned by a Bayesian optimization algorithm based on a tree structure. In addition, the AI ​​algorithm model can also be implemented by, but not limited to, machine learning algorithms such as support vector machines, K nearest neighbor methods, stochastic gradient descent methods, multilayer perceptrons, decision trees, back propagation neural networks, or radial basis function networks.

[0056] In step S4, considering that robustness is one of the important factors affecting the quality of the model, it is necessary to perform a multicollinearity test on multiple characteristic indicators corresponding to the multidimensional state characteristic values, and check whether there are highly correlated indicator pairs between indicators such as string current, string voltage, internal temperature of the junction box, current of each branch, voltage of each branch, irradiance of the weather station and / or ambient temperature, and then eliminate the indicator values. Preferably, multiple negative samples and multiple positive samples are used to calibrate and verify the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event prediction model, including but not limited to the following steps S41 to S43.

[0057] S41. Based on the model input items and model output items in each sample, the Pearson correlation coefficient test method is used to calculate the Pearson correlation coefficient of each pair of feature indicators in multiple feature indicators, wherein the each sample refers to each of the negative samples / the positive samples, and the multiple feature indicators correspond one-to-one to the multidimensional state feature values.

[0058] In the step S41, specifically, the multiple characteristic indicators include but are not limited to string current, string voltage, internal temperature of the junction box, current of each branch, voltage of each branch, irradiance of the weather station and / or ambient temperature, etc. The Pearson correlation coefficient test method is the most widely used correlation degree statistic. The closer the absolute value of the correlation coefficient r is to 1, the stronger the correlation between the two variables is, and there is a very strong correlation between them. Therefore, the specific calculation formula of the correlation coefficient r can be referred to, and the Pearson correlation coefficient of each pair of characteristic indicators in the multiple characteristic indicators can be obtained by conventional calculation.

[0059] S42. If the Pearson correlation coefficient of a pair of feature indicators exceeds a preset threshold, the state feature value corresponding to any one of the pair of feature indicators is removed from the model input items of each sample to obtain a new model input item for each sample.

[0060] In step S42, the preset threshold value may range from 0.70 to 0.89. For example, if the Pearson correlation coefficient between the weather station irradiance and the ambient temperature exceeds the preset threshold value, the weather station irradiance value or the ambient temperature value may be removed from the model input items of each sample.

[0061] S43. Apply the various samples to calibrate and verify the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, wherein the confidence level of the fault event occurrence prediction model with an output value of 1 is used as the probability value of the fault event occurring at the end of the next cycle.

[0062] S5. Periodically perform feature extraction processing on the real-time detection data related to the photovoltaic combiner box to obtain multi-dimensional real-time state feature values.

[0063] In step S5, the multidimensional real-time state characteristic value and the multidimensional state characteristic value in the model input item of the positive sample or the multidimensional state characteristic value in the model input item of the negative sample also need to be multiple characteristic values ​​under the same multiple characteristic indicators, for example, string current value, string voltage value, internal temperature value of the junction box, current value of each branch, voltage value of each branch, irradiance value of the weather station and ambient temperature value, etc.

[0064] S6. Import the multi-dimensional real-time status feature value into the fault event occurrence prediction model, and output the probability value of the fault event occurring at the end of the next cycle.

[0065] S7. When it is determined that the probability value is greater than or equal to a preset threshold (for example, the preset value is 62.8%), a trigger is sent to an online host computer.

[0066] In step S7, the host computer may be, but is not limited to, a server located in a photovoltaic power generation monitoring center, so as to provide fault prediction and warning to operation and maintenance personnel, so that the operation and maintenance personnel can take corresponding intervention measures in advance to prevent the occurrence of fault events.

[0067] Therefore, based on the photovoltaic combiner box online early warning method described in the aforementioned steps S1 to S7, an online early warning scheme for photovoltaic combiner boxes based on a machine learning algorithm for predicting the occurrence of fault events is provided, that is, after obtaining multiple normal state detection data and multiple previous state detection data corresponding to multiple historical fault events, multiple positive samples and multiple negative samples for training a fault event occurrence prediction model are first sorted out, and then these samples are used to calibrate and verify the AI ​​algorithm model based on the machine learning algorithm, and the confidence level with an output value of 1 can be used as the fault event occurrence prediction model as the probability value of the fault event occurring at the end of the next cycle. The model is then periodically subjected to feature extraction and processing on the real-time detection data related to the photovoltaic combiner box to obtain multi-dimensional real-time state feature values. Finally, the multi-dimensional real-time state feature values ​​are imported into the fault event occurrence prediction model, and the probability value of a fault event occurring at the end of the next cycle is output. When the probability value is determined to be greater than or equal to a preset threshold, an early warning message is triggered to be sent to the online host computer. In this way, fault prediction can be carried out locally in the photovoltaic combiner box in a distributed manner and online early warning can be carried out, so that the operation and maintenance personnel can take corresponding intervention measures in advance to prevent the occurrence of fault events, thereby improving the timeliness of fault diagnosis and avoiding a large amount of power loss, which is convenient for practical application and promotion.

[0068] Based on the technical solution of the first aspect mentioned above, this embodiment further provides a possible design for enriching the content of the warning message. That is, when there are multiple types of fault events, the method further includes but is not limited to the following steps S100 to S300.

[0069] S100. For each fault type, calibrate and verify the modeling to obtain the corresponding fault event occurrence prediction model.

[0070] In the step S100, for each of the fault types, the modeling can be calibrated and verified by referring to the aforementioned steps S3 to S4 to obtain the corresponding fault event occurrence prediction model.

[0071] S200. For each fault type, the multi-dimensional real-time status characteristic value is imported into the corresponding fault event occurrence prediction model, and the probability value of the corresponding fault event occurring at the end of the next cycle is outputted.

[0072] S300. For each fault type, if it is determined that the probability value of the corresponding fault event occurring at the end of the next cycle is greater than or equal to the corresponding preset threshold, a warning message carrying the corresponding fault type is sent to the online host computer.

[0073] Therefore, based on the aforementioned possible design one, the content of the warning message can be enriched so that the operation and maintenance personnel can further prepare for corresponding intervention measures in advance.

[0074] like Figure 2 As shown, the second aspect of this embodiment provides a virtual device for implementing the online early warning method of the photovoltaic combiner box described in the first aspect or possible design one, which is arranged in an edge computing device located in the photovoltaic combiner box, and includes a data acquisition module, a negative sample extraction module, a positive sample extraction module, a model training module, a feature value extraction module, a model application module and an early warning trigger module;

[0075] The data acquisition module is used to acquire multiple normal state detection data and multiple previous state detection data corresponding to multiple historical fault events, wherein the normal state detection data refers to the detection data collected at the start time of the K-hour historical period without fault events and related to the photovoltaic combiner box, K represents a positive integer, and the previous state detection data refers to the detection data collected at a certain time before the corresponding event occurs and related to the photovoltaic combiner box, and the certain time is equal to the time when the corresponding event occurs minus a cycle length;

[0076] The negative sample extraction module is communicatively connected to the data acquisition module, and is used to extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and use a value of 0 as a corresponding model output item for each normal state detection data in the multiple normal state detection data, to obtain a corresponding negative sample that includes the model input item and the model output item;

[0077] The positive sample extraction module is communicatively connected to the data acquisition module, and is used to extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and a value 1 as a corresponding model output item for each of the multiple previous state detection data, to obtain a corresponding positive sample containing the model input item and the model output item;

[0078] The model training module is respectively connected to the negative sample extraction module and the positive sample extraction module in communication, and is used to apply a plurality of the negative samples and a plurality of the positive samples to perform calibration verification modeling on the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, wherein the confidence of the fault event occurrence prediction model with an output value of 1 is used as a probability value of a fault event occurring at the end of the next cycle;

[0079] The feature value extraction module is used to periodically perform feature extraction processing on real-time detection data related to the photovoltaic combiner box to obtain multi-dimensional real-time state feature values;

[0080] The model application module is respectively connected to the model training module and the feature value extraction module for communication, and is used to import the multi-dimensional real-time state feature value into the fault event occurrence prediction model, and output a probability value of the fault event occurring at the end of the next cycle;

[0081] The early warning trigger module is communicatively connected to the model application module, and is used to trigger the sending of an early warning message to an online host computer when it is determined that the probability value is greater than or equal to a preset threshold.

[0082] The working process, working details and technical effects of the aforementioned device provided in the second aspect of this embodiment can be referred to the online early warning method for photovoltaic combiner box described in the first aspect or possible design one, and will not be repeated here.

[0083] like Figure 3 As shown, the third aspect of this embodiment provides a computer device for executing the photovoltaic combiner box online warning method as described in the first aspect or possible design one, including a memory, a processor and a transceiver that are sequentially connected in communication, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the photovoltaic combiner box online warning method as described in the first aspect or possible design one. For example, the memory may include, but is not limited to, a random access memory (Random-Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), a flash memory (Flash Memory), a first-in-first-out memory (First Input First Output, FIFO) and / or a first-in-last-out memory (First Input Last Output, FILO), etc.; the processor may include, but is not limited to, a microprocessor of the STM32F105 series. In addition, the computer device may also include, but is not limited to, a power module, a display screen and other necessary components.

[0084] The working process, working details and technical effects of the aforementioned computer device provided in the third aspect of this embodiment can be referred to the online early warning method for photovoltaic combiner box described in the first aspect or possible design one, and will not be repeated here.

[0085] In a fourth aspect of this embodiment, there is provided a computer-readable storage medium storing instructions including the photovoltaic combiner box online early warning method as described in the first aspect or possible design 1, that is, the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the photovoltaic combiner box online early warning method as described in the first aspect or possible design 1 is executed. Wherein, the computer-readable storage medium refers to a carrier for storing data, which may include but is not limited to computer-readable storage media such as floppy disks, optical disks, hard disks, flash memories, USB flash drives and / or memory sticks, and the computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices.

[0086] The working process, working details and technical effects of the aforementioned computer-readable storage medium provided in the fourth aspect of this embodiment can be referred to the online early warning method for photovoltaic combiner box as described in the first aspect or possible design one, and will not be repeated here.

[0087] In a fifth aspect of the present embodiment, a computer program product is provided, including a computer program or an instruction, wherein when the computer program or the instruction is executed by a computer, the photovoltaic combiner box online early warning method as described in the first aspect or possible design 1 is implemented. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device.

[0088] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An online early warning method for photovoltaic combiner boxes based on AI algorithm and edge computing, characterized in that: Executed by edge computing devices located in the PV combiner box, including: Acquire multiple copies of normal state detection data and multiple copies of previous state detection data corresponding to multiple historical fault events, wherein the normal state detection data refers to detection data collected at the start time of a K-hour historical period without a fault event and related to the photovoltaic combiner box, K represents a positive integer, the previous state detection data refers to detection data collected at a certain time before the corresponding event occurs and related to the photovoltaic combiner box, the detection data contains photovoltaic combiner box detection data, inverter-related data connected to the photovoltaic combiner box, and meteorological data, the photovoltaic combiner box detection data contains string current data, string voltage data and / or combiner box internal temperature data, the inverter-related data connected to the photovoltaic combiner box contains each branch current data and / or each branch voltage data, the meteorological data contains meteorological station irradiance data and / or ambient temperature data, and the certain time is equal to the corresponding event occurrence time minus a cycle length; For each piece of normal state detection data in the multiple pieces of normal state detection data, extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and use a value of 0 as a corresponding model output item, to obtain a corresponding negative sample that includes the model input item and the model output item; For each of the multiple pieces of previous state detection data, extract a multidimensional state characteristic value from the corresponding data as a corresponding model input item, and use a value of 1 as a corresponding model output item to obtain a corresponding positive sample containing the model input item and the model output item, wherein the multidimensional state characteristic value includes a string current value, a string voltage value, an internal temperature value of a combiner box, current values ​​of each branch, voltage values ​​of each branch, an irradiance value of a meteorological station, and / or an ambient temperature value; Applying multiple negative samples and multiple positive samples, calibrating and verifying the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, specifically including: according to the model input items and model output items in each sample, using the Pearson correlation coefficient test method to calculate the Pearson correlation coefficient of each pair of feature indicators in multiple feature indicators, wherein each sample refers to each negative sample / positive sample, and the multiple feature indicators correspond to the multidimensional state feature values ​​one by one; if the Pearson correlation coefficient of a pair of feature indicators exceeds a preset threshold, then in the model input items of each sample, the state feature value corresponding to any one of the feature indicators in the pair of feature indicators is eliminated to obtain a new model input item for each sample; applying each sample, calibrating and verifying the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, wherein the confidence of the fault event occurrence prediction model with an output value of 1 is used as the probability value of the fault event occurring at the end of the next cycle; Periodically perform feature extraction processing on real-time detection data related to the photovoltaic combiner box to obtain multi-dimensional real-time state feature values; Importing the multi-dimensional real-time state feature value into the fault event occurrence prediction model, and outputting a probability value of the fault event occurring at the end of the next cycle; When it is determined that the probability value is greater than or equal to a preset threshold, a warning message is triggered to be sent to an online host computer.

2. The photovoltaic combiner box online early warning method according to claim 1 is characterized in that: The machine learning algorithm adopts a linear regression algorithm based on the Python sklearn library.

3. The photovoltaic combiner box online early warning method according to claim 1 is characterized in that: When there are multiple types of fault events, the method further includes: For each type of fault, the corresponding fault event occurrence prediction model is obtained by calibrating and verifying the modeling; For each of the fault types, the multi-dimensional real-time state feature value is imported into the corresponding fault event occurrence prediction model, and the probability value of the corresponding fault event occurring at the end of the next cycle is output; For each of the fault types, if it is determined that the probability value of the corresponding fault event occurring at the end of the next cycle is greater than or equal to the corresponding preset threshold, a warning message carrying the corresponding fault type is sent to the online host computer.

4. An online early warning device for photovoltaic combiner boxes based on AI algorithm and edge computing, characterized in that: The edge computing device is arranged in the photovoltaic combiner box, and includes a data acquisition module, a negative sample extraction module, a positive sample extraction module, a model training module, a feature value extraction module, a model application module and an early warning trigger module; The data acquisition module is used to acquire multiple copies of normal state detection data and multiple copies of previous state detection data corresponding to multiple historical fault events one by one, wherein the normal state detection data refers to detection data collected at the start time of the K-hour historical period without fault events and related to the photovoltaic combiner box, K represents a positive integer, the previous state detection data refers to detection data collected at a certain time before the corresponding event occurs and related to the photovoltaic combiner box, the detection data contains photovoltaic combiner box detection data, inverter related data connected to the photovoltaic combiner box and meteorological data, the photovoltaic combiner box detection data contains string current data, string voltage data and / or combiner box internal temperature data, the inverter related data connected to the photovoltaic combiner box contains each branch current data and / or each branch voltage data, the meteorological data contains meteorological station irradiance data and / or ambient temperature data, and the certain time is equal to the corresponding event occurrence time minus a cycle length; The negative sample extraction module is communicatively connected to the data acquisition module, and is used to extract a multidimensional state feature value from the corresponding data as a corresponding model input item, and use a value of 0 as a corresponding model output item for each normal state detection data in the multiple normal state detection data, to obtain a corresponding negative sample that includes the model input item and the model output item; The positive sample extraction module is communicatively connected to the data acquisition module, and is used for extracting a multidimensional state characteristic value from the corresponding data as a corresponding model input item, and taking a value 1 as a corresponding model output item for each of the multiple previous state detection data, to obtain a corresponding positive sample containing the model input item and the model output item, wherein the multidimensional state characteristic value includes a string current value, a string voltage value, an internal temperature value of a combiner box, current values ​​of each branch, voltage values ​​of each branch, irradiance value of a meteorological station and / or an ambient temperature value; The model training module is respectively connected to the negative sample extraction module and the positive sample extraction module in communication, and is used to apply the multiple negative samples and the multiple positive samples to calibrate and verify the modeling of the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, specifically including: according to the model input items and model output items in each sample, using the Pearson correlation coefficient test method to calculate the Pearson correlation coefficient of each pair of feature indicators in the multiple feature indicators, wherein the each sample refers to each negative sample / the positive sample, and the multiple feature indicators correspond to the multidimensional state feature values ​​one by one; if the Pearson correlation coefficient of a pair of feature indicators exceeds a preset threshold, then the state feature value corresponding to any one of the feature indicators in the pair of feature indicators is eliminated from the model input items of each sample to obtain a new model input item of each sample; applying the each sample to calibrate and verify the modeling of the AI ​​algorithm model based on the machine learning algorithm to obtain a fault event occurrence prediction model, wherein the confidence of the fault event occurrence prediction model with an output value of 1 is used as the probability value of the fault event occurring at the end of the next cycle; The feature value extraction module is used to periodically perform feature extraction processing on real-time detection data related to the photovoltaic combiner box to obtain multi-dimensional real-time state feature values; The model application module is respectively connected to the model training module and the feature value extraction module for communication, and is used to import the multi-dimensional real-time state feature value into the fault event occurrence prediction model, and output a probability value of the fault event occurring at the end of the next cycle; The early warning trigger module is communicatively connected to the model application module, and is used to trigger the sending of an early warning message to an online host computer when it is determined that the probability value is greater than or equal to a preset threshold.

5. A computer device, characterized in that: It includes a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store a computer program, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the photovoltaic combiner box online early warning method as described in any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on the computer, the photovoltaic combiner box online early warning method as described in any one of claims 1 to 3 is executed.

7. A computer program product comprising a computer program or instructions, characterized in that When the computer program or the instruction is executed by a computer, the photovoltaic combiner box online early warning method according to any one of claims 1 to 3 is implemented.