Photovoltaic cluster in-situ fault detection method, device and equipment and storage medium
By establishing mathematical models and simulation models of photovoltaic panels, training convolutional neural networks, and combining with on-site feeder automation equipment, the problem of accuracy of fault detection of photovoltaic power generation systems in harsh environments has been solved, and the accuracy and real-time performance of fault detection have been improved. .
Patent Information
- Application Number
- CN202410956479.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-01
AI Technical Summary
Photovoltaic power generation systems frequently fail in harsh environments, and existing detection methods cannot accurately detect faults, resulting in a decrease in power generation efficiency.
By establishing a mathematical model of photovoltaic panels, a simulation model is built to simulate various types of faults, obtain characteristic parameters, train a convolutional neural network, build a fault detection model, and use local feeder automation equipment to collect parameters in real time for fault detection.
It improves the accuracy and real-time performance of photovoltaic fault detection, solves the problem of accurate modeling of the system, and achieves accurate detection of photovoltaic cluster faults.
Smart Images

Figure CN118740045A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fault detection, and in particular to a photovoltaic cluster local fault detection method, device, equipment and storage medium. Background Art
[0002] In recent years, the photovoltaic industry has developed rapidly, but photovoltaic power stations are often installed in areas with relatively harsh environments. Various environmental reasons lead to frequent failures, which reduces the power generation efficiency of photovoltaic power generation systems. Therefore, the maintenance and fault detection of photovoltaic power generation systems are particularly important. Since photovoltaic equipment is easily corroded and damaged in outdoor environments, it leads to frequent failures. Simple detection equipment cannot accurately detect the occurrence of failures. Summary of the invention
[0003] The present application provides a photovoltaic cluster local fault detection method, device, equipment and storage medium for improving the photovoltaic cluster fault detection accuracy.
[0004] In view of this, the first aspect of the present application provides a photovoltaic cluster local fault detection method, comprising:
[0005] Establish a mathematical model of photovoltaic panels, build a photovoltaic power generation system, and obtain a simulation model of the photovoltaic cluster;
[0006] Simulating various types of faults of the photovoltaic cluster through the simulation model to obtain photovoltaic characteristic parameters of various types of faults;
[0007] Using the photovoltaic characteristic parameters as input data and the corresponding fault types as training targets to train a convolutional neural network to obtain a photovoltaic fault detection model;
[0008] The photovoltaic parameters of the photovoltaic cluster are collected in real time using local feeder automation equipment, and the photovoltaic parameters are input into the photovoltaic fault detection model for fault detection to obtain the fault detection result of the photovoltaic cluster.
[0009] Optionally, the convolutional neural network is a BP neural network, and the BP neural network is trained with the photovoltaic characteristic parameters as input data and the corresponding fault type as a training target to obtain a photovoltaic fault detection model, including:
[0010] S1, set the learning rate, maximum number of iterations and error accuracy;
[0011] S2, initialize the weights and thresholds of each layer of the BP neural network;
[0012] S3, inputting the photovoltaic characteristic parameters as input data into the BP neural network, so that the BP neural network calculates the input and output of the hidden layer, and the input and output of the output layer according to the input data and the weights and thresholds obtained by initialization;
[0013] S4. Calculate the global error according to the output of the output layer and the actual fault type of the input data, and determine whether the global error is less than the error accuracy, or whether the current number of iterations is greater than the maximum number of iterations. If so, determine whether the BP neural network has converged, and use the converged BP neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and threshold of the BP neural network based on the global error, and return to step S3.
[0014] Optionally, the convolutional neural network is an LSTM neural network, and the photovoltaic characteristic parameters are used as input data, and the corresponding fault type is used as a training target to train the LSTM neural network to obtain a photovoltaic fault detection model, including:
[0015] S1. Set the expected loss value and the maximum number of iterations;
[0016] S2, initialize the weights and biases of the LSTM neural network;
[0017] S3, inputting the photovoltaic characteristic parameters as input data into the LSTM neural network, so that the LSTM neural network calculates the output of each gate according to the input data and the weights and biases obtained by initialization, and calculates the loss value;
[0018] S4. Determine whether the loss value is less than the expected loss value, or whether the current number of iterations is greater than the maximum number of iterations. If so, determine whether the LSTM neural network has converged, and use the converged LSTM neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and bias of the LSTM neural network based on the loss value, and return to step S3.
[0019] Optionally, the method further includes:
[0020] The particle swarm algorithm is used to optimize the parameters of the LSTM neural network.
[0021] Optionally, the photovoltaic parameters include feeder current, feeder voltage, feeder temperature, feeder humidity and / or feeder vibration.
[0022] Optionally, before inputting the photovoltaic parameters into the photovoltaic fault detection model for fault detection, the method further includes:
[0023] The photovoltaic parameters are preprocessed.
[0024] The second aspect of the present application further provides a photovoltaic cluster local fault detection device, comprising:
[0025] A model building unit is used to establish a mathematical model of photovoltaic panels, build a photovoltaic power generation system, and obtain a simulation model of a photovoltaic cluster;
[0026] A simulation unit, used to simulate various types of faults of the photovoltaic cluster through the simulation model to obtain photovoltaic characteristic parameters of various types of faults;
[0027] A training unit, used to train a convolutional neural network using the photovoltaic characteristic parameters as input data and the corresponding fault types as training targets to obtain a photovoltaic fault detection model;
[0028] The fault detection unit is used to collect photovoltaic parameters of the photovoltaic cluster in real time using local feeder automation equipment, input the photovoltaic parameters into the photovoltaic fault detection model for fault detection, and obtain a fault detection result of the photovoltaic cluster.
[0029] Optionally, the photovoltaic parameters include feeder current, feeder voltage, feeder temperature, feeder humidity and / or feeder vibration.
[0030] A third aspect of the present application provides an electronic device, the device comprising a processor and a memory;
[0031] The memory is used to store program code and transmit the program code to the processor;
[0032] The processor is used to execute any one of the photovoltaic cluster local fault detection methods of the first aspect according to the instructions in the program code.
[0033] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and when the program codes are executed by a processor, the photovoltaic cluster local fault detection method according to any one of the first aspects is implemented.
[0034] It can be seen from the above technical solutions that this application has the following advantages:
[0035] The present application constructs a simulation model of a photovoltaic cluster to simulate various types of faults of the photovoltaic cluster, obtains photovoltaic characteristic parameters of various types of faults, obtains a photovoltaic fault detection model through training a neural network through the photovoltaic characteristic parameters, uses local feeder automation equipment to collect photovoltaic parameters of the photovoltaic cluster in real time, performs fault detection on the photovoltaic parameters through the photovoltaic fault detection model, introduces intelligent algorithms into the fault detection link of the photovoltaic power generation system, and local fault detection of photovoltaic clusters based on deep learning solves the problem that the system needs precise modeling to realize fault detection to a certain extent. It uses advanced intelligent algorithms to calculate and analyze the characteristic parameters of the controlled objects, which helps to improve the accuracy of photovoltaic fault detection. At the same time, the use of advanced local feeder automation equipment, in coordination with each other, can accurately realize local fault detection of photovoltaic clusters to a large extent, thereby improving the real-time performance of photovoltaic fault detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A schematic flow chart of a photovoltaic cluster local fault detection method provided in an embodiment of the present application;
[0038] Figure 2 A schematic diagram of a BP neural network training process provided in an embodiment of the present application;
[0039] Figure 3 A schematic diagram of an LSTM neural network training process provided in an embodiment of the present application;
[0040] Figure 4 A schematic structural diagram of a photovoltaic cluster local fault detection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] In recent years, the photovoltaic industry has developed rapidly, but photovoltaic power stations are often installed in areas with relatively harsh environments. Various environmental reasons lead to frequent failures of various types, which reduces the power generation efficiency of photovoltaic power generation systems. Therefore, the maintenance and fault detection of photovoltaic power generation systems are particularly important. The traditional fault detection methods are mainly divided into equipment detection methods and mathematical modeling methods. The infrared image detection method in the equipment detection method has a high cost and poor real-time performance when introduced into the image processing field. There are few practical application scenarios, which is not conducive to large-scale implementation. Although the mathematical modeling method saves a lot of costs, in the real environment, there are too many disturbances that affect the input and output of the photovoltaic power generation system. Under certain conditions, it is difficult to complete the accurate modeling of the system. At this time, the simulation data obtained may be quite different from the actual data, and it is impossible to make an accurate and effective comparison, which has certain limitations. The detection method designed in this application introduces intelligent algorithms into the fault detection link of the photovoltaic power generation system. The on-site fault detection of photovoltaic clusters based on deep learning has, to a certain extent, solved the problem that the system needs precise modeling to realize fault detection. It uses advanced intelligent algorithms to calculate and analyze the characteristic parameters of the controlled object, accurately detects photovoltaic faults, and uses the inverter communication adapter to change the output voltage or current parameters of the power supply to adapt to the system power supply requirements. At the same time, it adopts advanced on-site feeder automation equipment to work together to accurately realize on-site fault detection of photovoltaic clusters to a large extent.
[0043] For easier understanding, please refer to Figure 1 The embodiment of the present application provides a photovoltaic cluster local fault detection method, which specifically includes:
[0044] Step 110: Establish a mathematical model of photovoltaic panels, build a photovoltaic power generation system, and obtain a simulation model of the photovoltaic cluster.
[0045] A mathematical model of photovoltaic panels is established, and then a photovoltaic power generation system is built through the Simulink tool to obtain a simulation model of the photovoltaic cluster. Building a simulation model through the Simulink tool belongs to the prior art, and its specific process will not be repeated here.
[0046] Step 120: Simulate various types of faults of the photovoltaic cluster through a simulation model to obtain photovoltaic characteristic parameters of various types of faults.
[0047] By studying typical photovoltaic faults that are prone to occur in photovoltaic clusters, the photovoltaic characteristic parameters when the fault occurs are extracted. Photovoltaic faults include shadow shading faults, photovoltaic hot spot faults, dust accumulation faults, etc. Various types of faults are simulated through simulation models, and then the photovoltaic characteristic parameters of various types of faults are obtained, including current, voltage, temperature, humidity, etc.
[0048] Step 130: train a convolutional neural network using photovoltaic characteristic parameters as input data and corresponding fault types as training targets to obtain a photovoltaic fault detection model.
[0049] In one embodiment, a photovoltaic fault detection model is obtained by training a BP neural network using photovoltaic characteristic parameters as input data and corresponding fault types as training targets.
[0050] Assume an m-layer neural network, and add sample X (i.e. photovoltaic characteristic parameters) to the input layer; let the sum of the inputs of the i-th neuron in the k-th layer be expressed as , the output is ; The weight coefficient from the jth neuron in the k-1th layer to the ith neuron in the kth layer is , the excitation function of each neuron is f, take , the relationship between the variables can be expressed by the following mathematical formula:
[0051]
[0052]
[0053] Back propagation is to transmit the error signal back along the original forward propagation path, and modify the weight coefficients of each neuron in each hidden layer in the hope that the error signal tends to be minimized.
[0054] BP neural network mainly includes x (input layer neurons), h (hidden layer neurons), y (output layer neurons), w il (the connection weight between the input layer and the hidden layer), b l (hidden layer threshold), w ol (connection weight between hidden layer and output layer), b o (output layer threshold) and other vectors.
[0055] The input and output of the hidden layer neurons are defined as follows:
[0056]
[0057]
[0058] Where f(x) is a unipolar function:
[0059]
[0060] The input and output of the output layer neurons are defined as follows:
[0061]
[0062]
[0063] The global error is used to evaluate the performance of the BP neural network. The output of the kth sample in the oth neuron of the output layer is set to y ko , the actual fault type of the kth sample is d ko , and its performance evaluation indicators are as follows:
[0064]
[0065] Please refer to Figure 2 , the training process of BP neural network can be:
[0066] S11, set the learning rate, maximum number of iterations and error accuracy;
[0067] S12, initializing the weights and thresholds of each layer of the BP neural network;
[0068] S13, inputting the photovoltaic characteristic parameters as input data into the BP neural network, so that the BP neural network calculates the input and output of the hidden layer, and the input and output of the output layer according to the input data and the weights and thresholds obtained by initialization;
[0069] S14. Calculate the global error according to the output of the output layer and the actual fault type of the input data, and determine whether the global error is less than the error accuracy, or whether the current number of iterations is greater than the maximum number of iterations. If so, determine that the BP neural network has converged, and use the converged BP neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and threshold of the BP neural network based on the global error, and return to step S13.
[0070] By training the BP neural network, the optimal network parameters (weights and thresholds) are obtained, and the optimal network parameters are loaded into the BP neural network to obtain the final fault detection model.
[0071] In another embodiment, a photovoltaic fault detection model is obtained by training an LSTM neural network using photovoltaic characteristic parameters as input data and corresponding fault types as training targets.
[0072] The input layer of the LSTM neural network propagates along the network forward, which includes, (Forgotten Gate), (Input Gate), (Current state unit), (Current input status unit), (Output Gate), (output state at the current moment) six vectors, and the vector calculation formula is:
[0073] f t = σ ( W f ⋅ [ h t − 1 , x t ] + b f )
[0074] i t = σ ( W i ⋅ [ h t − 1 , x t ] + b i )
[0075] o t = σ ( W o ⋅ [ h t − 1 , x t ] + b o )
[0076] c ~ t = tanh( W c ⋅ [ h t − 1 , x t ] + b c )
[0077]
[0078]
[0079] In the formula, is the sigmoid excitation function; , , , They are the forget gate weight, input gate weight, current input state unit weight and output gate weight respectively; , They are the output at the previous moment and the input at the current moment respectively; , , , They are forget gate bias, input gate bias, current input state unit bias and output gate bias respectively.
[0080] Please refer to Figure 3 , the training process of LSTM neural network can be:
[0081] S21, set the expected loss value and the maximum number of iterations;
[0082] S22, initialize the weights and biases of the LSTM neural network;
[0083] S23, inputting the photovoltaic characteristic parameters as input data into the LSTM neural network, so that the LSTM neural network calculates the output of each gate according to the input data and the weights and biases obtained by initialization, and calculates the loss value;
[0084] S24. Determine whether the loss value is less than the expected loss value, or whether the current number of iterations is greater than the maximum number of iterations. If so, determine whether the LSTM neural network has converged, and use the converged LSTM neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and bias of the LSTM neural network based on the loss value, and return to step S23.
[0085] It should be noted that the particle swarm optimization algorithm can be used to optimize the parameters of the LSTM neural network to improve the model recognition accuracy. By training the LSTM neural network, the optimal network parameters (weights and biases) are obtained, and the optimal network parameters are loaded into the LSTM neural network to obtain the final fault detection model.
[0086] Step 140: Use local feeder automation equipment to collect photovoltaic parameters of the photovoltaic cluster in real time, input the photovoltaic parameters into a photovoltaic fault detection model to perform fault detection, and obtain a fault detection result of the photovoltaic cluster.
[0087] Before inputting the photovoltaic parameters into the photovoltaic fault detection model for fault detection, the collected photovoltaic parameters of the photovoltaic cluster may be preprocessed, such as data normalization, data cleaning, etc.
[0088] Since there are many photovoltaic inverters in the photovoltaic cluster and they also regulate the important balance of the system in the photovoltaic array system, the inverter communication adapter is used to change the output voltage or current parameters of the power supply to adapt to the system power demand. The variable DC voltage generated by the photovoltaic solar panel can be converted into high-frequency AC power by the inverter and fed back to the transmission system or used for off-grid power grid.
[0089] At the same time, local feeder automation equipment is used. Feeder automation is to use computers, communications, information and other automation means to remotely monitor and control the line, or to realize automatic fault isolation function. The principle of local feeder automation is to collect sensor data first. The sensor transmits data to the computer control unit through real-time monitoring of photovoltaic parameters such as current, voltage, temperature, humidity, vibration, etc. of the feeder. Then the data is processed and analyzed. The computer control unit processes and analyzes the photovoltaic parameters collected by the sensor, and classifies, identifies and predicts the photovoltaic parameters through the photovoltaic fault detection model constructed above. In this process, the computer control unit will analyze the operation status of the feeder in real time and generate an alarm. Finally, after receiving the signal from the computer control unit, the actuator completes the function control according to the control signal to realize the fault detection and processing of the feeder, ensure the safe and stable operation of the system, realize the real-time detection of line faults, realize the rapid detection and isolation of faults on site, and restore the power supply to the non-fault area. This automation technology improves the reliability of power supply and shortens the power outage time in the non-fault area. Through the mutual cooperation of each process, the real-time detection of faults of the photovoltaic cluster is realized, thereby realizing the local fault detection of the photovoltaic cluster.
[0090] The present application constructs a simulation model of a photovoltaic cluster to simulate various types of faults of the photovoltaic cluster, obtains photovoltaic characteristic parameters of various types of faults, obtains a photovoltaic fault detection model through training a neural network through the photovoltaic characteristic parameters, uses local feeder automation equipment to collect photovoltaic parameters of the photovoltaic cluster in real time, performs fault detection on the photovoltaic parameters through the photovoltaic fault detection model, introduces intelligent algorithms into the fault detection link of the photovoltaic power generation system, and local fault detection of photovoltaic clusters based on deep learning solves the problem that the system needs precise modeling to realize fault detection to a certain extent. It uses advanced intelligent algorithms to calculate and analyze the characteristic parameters of the controlled objects, which helps to improve the accuracy of photovoltaic fault detection. At the same time, the use of advanced local feeder automation equipment, in coordination with each other, can accurately realize local fault detection of photovoltaic clusters to a large extent, thereby improving the real-time performance of photovoltaic fault detection.
[0091] The above is an embodiment of a photovoltaic cluster local fault detection method provided by the present application, and the following is an embodiment of a photovoltaic cluster local fault detection device provided by the present application.
[0092] Please refer to Figure 4 , a photovoltaic cluster local fault detection device provided in an embodiment of the present application includes:
[0093] A model building unit is used to establish a mathematical model of photovoltaic panels, build a photovoltaic power generation system, and obtain a simulation model of a photovoltaic cluster;
[0094] A simulation unit, used to simulate various types of faults of the photovoltaic cluster through the simulation model to obtain photovoltaic characteristic parameters of various types of faults;
[0095] A training unit, used to train a convolutional neural network using the photovoltaic characteristic parameters as input data and the corresponding fault types as training targets to obtain a photovoltaic fault detection model;
[0096] The fault detection unit is used to collect photovoltaic parameters of the photovoltaic cluster in real time using local feeder automation equipment, input the photovoltaic parameters into the photovoltaic fault detection model for fault detection, and obtain a fault detection result of the photovoltaic cluster.
[0097] As a further improvement, the training unit is specifically used to perform:
[0098] S11, set the learning rate, maximum number of iterations and error accuracy;
[0099] S12, initializing the weights and thresholds of each layer of the BP neural network;
[0100] S13, inputting the photovoltaic characteristic parameters as input data into the BP neural network, so that the BP neural network calculates the input and output of the hidden layer, and the input and output of the output layer according to the input data and the weights and thresholds obtained by initialization;
[0101] S14, calculate the global error according to the output of the output layer and the actual fault type of the input data, and judge whether the global error is less than the error precision, or whether the current number of iterations is greater than the maximum number of iterations. If so, judge whether the BP neural network converges, and use the converged BP neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and threshold of the BP neural network based on the global error, and return to step S13;
[0102] or,
[0103] S21, set the expected loss value and the maximum number of iterations;
[0104] S22, initialize the weights and biases of the LSTM neural network;
[0105] S23, inputting the photovoltaic characteristic parameters as input data into the LSTM neural network, so that the LSTM neural network calculates the output of each gate according to the input data and the weights and biases obtained by initialization, and calculates the loss value;
[0106] S24. Determine whether the loss value is less than the expected loss value, or whether the current number of iterations is greater than the maximum number of iterations. If so, determine whether the LSTM neural network has converged, and use the converged LSTM neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and bias of the LSTM neural network based on the loss value, and return to step S23.
[0107] As a further improvement, the photovoltaic parameters include feeder current, feeder voltage, feeder temperature, feeder humidity and / or feeder vibration.
[0108] The present application constructs a simulation model of a photovoltaic cluster to simulate various types of faults of the photovoltaic cluster, obtains photovoltaic characteristic parameters of various types of faults, obtains a photovoltaic fault detection model through training a neural network through the photovoltaic characteristic parameters, uses local feeder automation equipment to collect photovoltaic parameters of the photovoltaic cluster in real time, performs fault detection on the photovoltaic parameters through the photovoltaic fault detection model, introduces intelligent algorithms into the fault detection link of the photovoltaic power generation system, and local fault detection of photovoltaic clusters based on deep learning solves the problem that the system needs precise modeling to realize fault detection to a certain extent. It uses advanced intelligent algorithms to calculate and analyze the characteristic parameters of the controlled objects, which helps to improve the accuracy of photovoltaic fault detection. At the same time, the use of advanced local feeder automation equipment, in coordination with each other, can accurately realize local fault detection of photovoltaic clusters to a large extent, thereby improving the real-time performance of photovoltaic fault detection.
[0109] The embodiment of the present application also provides an electronic device, the device comprising a processor and a memory;
[0110] The memory is used to store program code and transmit the program code to the processor;
[0111] The processor is used to execute the photovoltaic cluster local fault detection method described in the above method embodiment according to the instructions in the program code.
[0112] The embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the photovoltaic cluster local fault detection method in the aforementioned method embodiment is implemented.
[0113] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0114] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0115] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0116] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions for executing all or part of the steps of the method described in each embodiment of the present application through a computer device (which can be a personal computer, server, or network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[0120] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A photovoltaic cluster local fault detection method, It is characterized in that include: Establish a mathematical model of photovoltaic panels, build a photovoltaic power generation system, and obtain a simulation model of the photovoltaic cluster; Simulating various types of faults of the photovoltaic cluster through the simulation model to obtain photovoltaic characteristic parameters of various types of faults; The photovoltaic characteristic parameters are used as input data, and the corresponding fault types are used as training targets to train a convolutional neural network to obtain a photovoltaic fault detection model; The photovoltaic parameters of the photovoltaic cluster are collected in real time using local feeder automation equipment, and the photovoltaic parameters are input into the photovoltaic fault detection model for fault detection to obtain the fault detection result of the photovoltaic cluster.
2. The photovoltaic cluster local fault detection method according to claim 1, It is characterized in that The convolutional neural network is a BP neural network, which uses the photovoltaic characteristic parameters as input data and the corresponding fault type as a training target to train the BP neural network, thereby obtaining a photovoltaic fault detection model, including: S1, set the learning rate, maximum number of iterations and error accuracy; S2, initialize the weights and thresholds of each layer of the BP neural network; S3, inputting the photovoltaic characteristic parameters as input data into the BP neural network, so that the BP neural network calculates the input and output of the hidden layer, and the input and output of the output layer according to the input data and the weights and thresholds obtained by initialization; S4. Calculate the global error according to the output of the output layer and the actual fault type of the input data, and determine whether the global error is less than the error accuracy, or whether the current number of iterations is greater than the maximum number of iterations. If so, determine whether the BP neural network has converged, and use the converged BP neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and threshold of the BP neural network based on the global error, and return to step S3.
3. The photovoltaic cluster local fault detection method according to claim 1, It is characterized in that The convolutional neural network is an LSTM neural network. The photovoltaic characteristic parameters are used as input data, and the corresponding fault type is used as a training target to train the LSTM neural network to obtain a photovoltaic fault detection model, including: S1. Set the expected loss value and the maximum number of iterations; S2, initialize the weights and biases of the LSTM neural network; S3, inputting the photovoltaic characteristic parameters as input data into the LSTM neural network, so that the LSTM neural network calculates the output of each gate according to the input data and the weights and biases obtained by initialization, and calculates the loss value; S4. Determine whether the loss value is less than the expected loss value, or whether the current number of iterations is greater than the maximum number of iterations. If so, determine whether the LSTM neural network has converged, and use the converged LSTM neural network as a photovoltaic fault detection model. If not, enter the next round of iteration, update the weight and bias of the LSTM neural network based on the loss value, and return to step S3.
4. The photovoltaic cluster local fault detection method according to claim 3, It is characterized in that The method further comprises: The particle swarm algorithm is used to optimize the parameters of the LSTM neural network.
5. The photovoltaic cluster local fault detection method according to claim 1, It is characterized in that The photovoltaic parameters include feeder current, feeder voltage, feeder temperature, feeder humidity and / or feeder vibration.
6. The photovoltaic cluster local fault detection method according to claim 1, It is characterized in that Before inputting the photovoltaic parameters into the photovoltaic fault detection model for fault detection, the method further includes: The photovoltaic parameters are preprocessed.
7. A photovoltaic cluster local fault detection device, It is characterized in that include: The model building unit is used to establish a mathematical model of photovoltaic panels, build a photovoltaic power generation system, and obtain a simulation model of the photovoltaic cluster; A simulation unit, used to simulate various types of faults of the photovoltaic cluster through the simulation model to obtain photovoltaic characteristic parameters of various types of faults; A training unit, used to train a convolutional neural network using the photovoltaic characteristic parameters as input data and the corresponding fault types as training targets to obtain a photovoltaic fault detection model; The fault detection unit is used to collect photovoltaic parameters of the photovoltaic cluster in real time using local feeder automation equipment, input the photovoltaic parameters into the photovoltaic fault detection model for fault detection, and obtain a fault detection result of the photovoltaic cluster.
8. The photovoltaic cluster local fault detection device according to claim 7, It is characterized in that The photovoltaic parameters include feeder current, feeder voltage, feeder temperature, feeder humidity and / or feeder vibration.
9. An electronic device, It is characterized in that The device comprises a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the photovoltaic cluster local fault detection method according to any one of claims 1 to 6 according to the instructions in the program code.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store program codes, and when the program codes are executed by a processor, the photovoltaic cluster local fault detection method according to any one of claims 1 to 6 is implemented.
