Photovoltaic system DC side arc fault detection system and detection method
By using GAN-based detection methods in photovoltaic systems, processing current signals and combining iterative training of generators and discriminators, the problem of low DC fault arc detection accuracy in the existing technology is solved, achieving high accuracy and low errors. High-precision arc detection ensures the safe operation of the photovoltaic system.
Patent Information
- Application Number
- CN201910707391.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-01
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2039-08-01
AI Technical Summary
Existing DC fault arc detection devices for photovoltaic systems have low accuracy and high false detection rate, and are easily affected by changes in light and temperature, resulting in inaccurate detection.
A photovoltaic system DC side arc fault detection system based on generative adversarial network (GAN) is used to collect and process current signals, use windowed Fourier transform and digital signal processor to extract feature vectors, and combine the generator and discriminator for iteration training to achieve accurate detection and classification of DC fault arcs.
It improves the detection accuracy, reduces the false detection rate, is not affected by installation conditions and environmental interference, and can promptly identify and block DC fault arcs to ensure the safe operation of the photovoltaic system.
Smart Images

Figure CN110417351B
Abstract
Description
Technical Field
[0001] The present invention relates to a photovoltaic DC fault arc detection technology, and in particular to a photovoltaic system DC side arc fault detection system and detection method based on a generative adversarial network (GAN). Background Art
[0002] Photovoltaic power generation systems, as a green and environmentally friendly new energy product, have been rapidly developed and widely used around the world in recent years. As large "solar fields" consisting of a large number of solar panels continue to evolve into more and more smaller residential and commercial installations, there is an increasing need to establish safety measures to avoid catastrophic events related to high voltages, which are usually caused by fault arcs. When a line or electrical connector fails, high-voltage DC lines may produce arcs, which can make the device energized, which may cause electric shock to people who touch the device, or even cause fires and extensive property losses.
[0003] Arc is a gas ionization discharge phenomenon. When the gap between two points in a high-voltage DC system is acted upon by an external electric field, electrons move toward the anode and positive ions move toward the cathode. If the energy of the positive ions can cause the cathode to ionize new electrons, an arc is formed. The types of fault arcs can be divided into three categories according to the way they are generated: series arcs, parallel arcs, and ground arcs. Arc types are also divided into DC arcs and AC arcs. Because the current in a DC arc does not cross a zero point, it cannot extinguish itself after it is generated and continues to burn. Compared with an AC arc, it is more likely to cause accidents such as fires. A ground arc usually refers to an arc short-circuit fault generated between a phase line and the ground, a grounded metal, or an equipment casing. A short-circuit protection device can be used to deal with it. A parallel arc usually occurs between phase lines, mostly due to conductor insulation damage. Since the loop current usually increases significantly when a parallel arc occurs, an arc fault circuit breaker can effectively eliminate parallel arc faults. As for series arc and parallel arc, series fault is more difficult to detect because the characteristics of DC arc current are similar to load current reduction characteristics, and traditional arc fault circuit breakers cannot accurately operate to cut off the series arc circuit.
[0004] The methods currently used to detect DC fault arcs in photovoltaic systems can be mainly divided into the following three types:
[0005] (1) Detection methods based on the physical characteristics of arcs: There are mainly physical methods such as vision and thermal changes. The visual and thermal change methods detect arcs by observing the photovoltaic array from a top-down angle and observing the color changes of the detector. Since this method requires the use of a thermal imager or other equipment at the front end of the array, it needs to be installed near the point where the fault arc occurs in actual applications, and the cost is high and uneconomical, so it is not suitable for the actual application of photovoltaic systems.
[0006] (2) Detection method based on arc mathematical model: At present, arc models are mainly divided into two categories. One is the physical mathematical model, which takes into account the influence of practical factors such as turbulence, non-equilibrium thermodynamic effects, radiation, etc., resulting in complex system solution conditions. It takes a long time to solve the model after it is established. Therefore, it is difficult to be widely used in actual engineering. The other is the black box model, which only considers the relationship between the arc and external related parameters in the model. Through reasonable simplification and scientific abstraction, it can simply and directly reflect the relationship between the arc and the actual circuit topology and working conditions, and occupies a major position in actual analysis.
[0007] (3) Detection method based on the time-frequency characteristics of voltage and current signals: Detect arcs based on the current and voltage changes when an arc is generated in the line. Since the amplitude of the DC serial arc fault current waveform is generally smaller than the current amplitude during normal operation; the waveform becomes steeper during a certain period of time, that is, the di / dt changes too much at a certain moment; and there are high-frequency noise components in the voltage and current waveforms of the arc fault; there is an instantaneous voltage drop after the fault arc is generated, etc., the arc fault characteristics, if the arc detection circuit detects that the current and voltage in the circuit meet all or a certain number of the above characteristics, it is considered that an arc fault has occurred in the circuit.
[0008] The detection method based on the change of current and voltage waveforms is simple and has less restrictions on the detection position. It only needs to install an arc detection device on the inverter to accurately detect the fault arc, which has become the current mainstream method. However, this method also has great shortcomings. Since the photovoltaic system is affected by light and temperature changes, the amplitude of the output current and voltage is unstable, which can easily cause the detector to misjudge. Summary of the invention
[0009] The present invention aims to solve the problems that the traditional fault arc detection device on the DC side of the photovoltaic system is easily interfered, has low accuracy and high false detection rate. A photovoltaic system DC side arc fault detection system and detection method are proposed. Through DC fault arc pre-judgment and GAN classification judgment, the occurrence of DC fault arc can be accurately detected during the operation of the photovoltaic system, so as to block the DC fault arc in time and ensure the safe operation of the photovoltaic system.
[0010] The technical solution of the present invention is: a photovoltaic system DC side arc fault detection system, the photovoltaic array outputs DC current, multiple DC branches are connected in parallel in a junction box, and the total DC current is input into the inverter. The inverter converts DC power into AC power and transmits it to the power grid. The sampling inductor is connected in series on the line from the junction box to the inverter, the capacitor is connected in series with the primary side winding of the current transformer and then connected in parallel to the two ends of the sampling inductor, the secondary side winding of the current transformer collects the characteristic AC signal of the DC side arc and sends it to the filter amplifier circuit, the output processed current signal of the filter amplifier circuit is sent to the digital signal processor for judgment, and the output judgment result is sent out through the communication module.
[0011] The detection method of the photovoltaic system DC side arc fault detection system specifically comprises the following steps:
[0012] 1) Collect and process the current signal on the DC side of the photovoltaic system. Specifically, the signal acquisition module is located between the combiner box and the inverter on the DC side of the photovoltaic system. The collected real-time current signal is passed through a hardware filtering and amplifying circuit to retain the current signal of 40kHz-100kHz, and is converted into the frequency domain using a windowed Fourier transform.
[0013] The digital signal processor receives the current signal after the filter amplifier circuit outputs the processed signal, first converts the current signal through analog-to-digital conversion, then performs windowed Fourier transform analysis on the sampled digital quantity, collects 1024 data as a set of sequences; performs Gaussian window function weighted processing on the data sequence with a total of 1024; uses fast Fourier transform to perform spectrum transformation on the weighted data window sequence, takes the first 513 frequency points of the converted data, removes the first frequency point, and obtains the current signal spectrum with 512 frequency points constituting the characteristic vector as a set of current data;
[0014] 2) Pre-judgment of DC fault arc on the current data processed in step 1): After the collected N groups of current data, i = 1, 2, ..., N, are transformed into the frequency domain by windowing Fourier transform, each group of data in the frequency domain is represented by I fft , calculate the mean u and standard deviation d at each frequency point and the reference value A, where j is the frequency point, j = 1, 2, ..., 512, A=99.73%(u+3d), the amplitude of each frequency point is considered to obey the normal distribution. When it is less than the reference value A at this frequency point, there is a 99.73% probability that the value of this frequency point is generated during normal operation. The number of values exceeding the A value at the frequency point S is counted. When S is greater than 15% of the sampling number of this frequency point, it is pre-judged as a DC fault arc, and the judgment vector is recorded as 1, and the GAN model training is started. If it does not exceed the value, the judgment vector is recorded as 0, and the next frequency point judgment is performed;
[0015] 3) Train the GAN model and use the trained discriminator to determine whether the current data obtained by the above steps is DC fault arc current data:
[0016] The current signal spectrum after pre-judgment in step 2) is normalized to the range of [0,1] and used as the input of the GAN model.
[0017] First, a generative adversarial network model is established, which includes two parts: a generator G, which is a neural network. The input data is a data signal z' of a part of the DC fault arc corresponding feature vector after normalization and random noise p(z). G fits and generates the distribution of current data when the DC fault arc occurs in order to deceive the discriminator D. G outputs a set of current frequency feature information G(z); a discriminator D, which is a neural network. The input data of D is the current frequency information G(z) generated under the DC fault arc condition and the data signal x of the feature vector corresponding to all DC fault arcs after normalization. The authenticity is judged and the output is a scalar probability value between 0 and 1, which represents the probability that the discriminator input sample is true. That is, the closer the output value is to 1, the more confident the discriminator is that the input sample is true, and the closer the output value is to 0, the more confident the discriminator is that the input sample is false. In the judgment process, D(G(z))=0, D(x)=1 as much as possible.
[0018] Then, the generator and the discriminator are updated and iterated against each other until a Nash equilibrium is reached. At this time, the extreme value is 0.5. At this time, the generator G can fit the distribution of real data, and the discriminator D has difficulty in judging whether the input comes from real samples or data generated by the generator. The current information of the fault arc generated by the generator G is used as a sample to expand the pattern recognition sample set of the discriminator.
[0019] Use the trained discriminator D to determine whether a fault arc occurs on the DC side of the photovoltaic system;
[0020] 4) If it is determined that a DC fault arc occurs, the alarm mechanism is activated, an alarm signal is sent to the administrator through the communication module, and corresponding protection actions are taken at the same time.
[0021] The beneficial effects of the present invention are as follows: the photovoltaic system DC side arc fault detection system and detection method of the present invention reduce the false detection rate, improve the detection accuracy, are not limited by installation conditions, and are not easily disturbed. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a schematic diagram of the structure of a fault arc detection device on the DC side of a photovoltaic system according to the present invention;
[0023] Figure 2 This is a structural block diagram of a filter amplifier circuit in a photovoltaic system DC fault arc current information acquisition module according to the present invention;
[0024] Figure 3 The present invention is a flow chart of a method for detecting arc faults on the DC side of a photovoltaic system based on a generative adversarial network. DETAILED DESCRIPTION
[0025] like Figure 1 This is a schematic diagram of the structure of the fault arc detection device on the DC side of the photovoltaic system of the present invention. The photovoltaic array 101 outputs DC current, and multiple DC branches are connected in parallel in the junction box 102. The total DC current is input into the inverter 103, and the inverter converts DC power into AC power and transmits it to the power grid 104. Considering the cost, it is not appropriate to collect current from each branch for analysis, so the current after converging is collected. Since when an arc occurs on the DC side, it has almost no effect on the effective value and average value of the DC component of the current in the line, the data collection method designed in the system analyzes and processes the AC component in the collection loop. The sampling inductor 105 is connected in series on the line from the combiner box to the inverter 103. The capacitor 106 is connected in series with the primary winding of the current transformer 107 and then connected in parallel at both ends of the sampling inductor 105. The capacitor 106 passes AC and blocks DC. On the one hand, the capacitor 106 can pass the characteristic AC signal of the arc to the current transformer 107, and on the other hand, it blocks the passage of a large DC current in the line, which can protect the current transformer from working within a safe current range. The current transformer 107 is connected behind the capacitor 106 to collect the AC component in the line. The inductor 105 is connected in parallel to one side of the capacitor 106 and the current transformer 107. The AC component signal of the photovoltaic system current is collected in real time through the current transformer 107, and the collected signal is input into the filter amplifier circuit 108 to filter and amplify the current signal, and only the current signal of a specific frequency band is retained (here, the 40kHz-100kHz frequency band signal is retained to reduce the influence of the inverter switching frequency in the photovoltaic system. Because within this frequency domain, the current with an arc fault below 100kHz has more harmonics and the overall amplitude is higher than normal, and the current signal above 40kHz can avoid the interference of inverter noise), the processed current signal output by the filter amplifier circuit 108 is sent to the digital signal processor 109 for judgment, and the output judgment result is sent out through the communication module 110.
[0026] Figure 2The present invention is a block diagram of the filter amplification circuit structure in the photovoltaic system DC fault arc current information acquisition module. The secondary winding of the current transformer 107 is connected to the voltage follower 111. The voltage follower 111 is used to isolate the current signal and improve the impedance characteristics. The output of the voltage follower 111 first passes through the active high-pass filter 112 to perform high-pass filtering on the current signal to filter out the unnecessary low-frequency band part of the signal. Then it passes through the active low-pass filter 113 to perform low-pass filtering on the current signal to filter out the unnecessary high-frequency band part of the signal. The active high-pass filter 112 and the active low-pass filter 113 together form a bandpass filter to retain the specific frequency band required in the current signal. The filtered signal is sent to the operational amplifier 114 to amplify the signal appropriately.
[0027] Figure 3 The present invention is a flow chart of the fault arc detection method of the DC side of the photovoltaic system based on the generative adversarial network. The current transformer 105 collects the current signal (S1), and the current signal is filtered and amplified (S2) by the filter amplifier circuit 106, and only the current signal of the specific frequency band is retained. The output processed current signal of the filter amplifier circuit 106 is connected to the analog-to-digital conversion pin of the digital signal processor 107 (when the analog-to-digital conversion accuracy needs to be improved, a high-precision analog-to-digital conversion chip can be expanded, and the analog-to-digital conversion result is connected to the digital I / O pin of the digital signal processor). The digital signal processor 107 samples the current signal through the analog-to-digital conversion function. In order to ensure equal time interval sampling, the digital signal processor 107 uses a timer to trigger ADC sampling. The program keeps querying the ADC conversion completion flag bit, and after the conversion is completed once, the data is saved in the RAM, and the conversion completion flag bit is cleared and the next cycle is continued until the sampling completes the specified length of points. Then the digital signal processor 107 performs a windowed Fourier transform analysis on the sampled digital quantity (S3), wherein the DSP timer is set to trigger the data acquisition module every 4μs, that is, the current in the circuit is sampled at a sampling frequency of 250kHz, and a total of 1024 data are collected as a set of sequences; the data sequence with a total of 1024 is weighted by a Gaussian window function; the weighted data window sequence is transformed into a spectrum using FFT (fast Fourier transform), and the first half of the converted data, i.e., a total of 513 frequency points, is taken. In order to reduce the influence of the DC component, the first frequency point is removed, and at this time, a current signal spectrum with 512 frequency points constituting a feature vector is obtained as a set of current data, which is used as the input for the next step of pre-judgment and recognition.
[0028] Then, the 512 frequency point current signal modulus values obtained by the windowed FFT analysis are pre-judged and identified (S4), and a comparison method is selected: specifically, the N groups of current data collected are transformed into the frequency domain by the windowed Fourier transform, and the data in each group of frequency domain is represented as I fft , calculate the mean u and standard deviation d at each frequency point ( j is the frequency point, a total of 512 frequency points (j = 1, 2...512), ) and the reference value A of this frequency point = 99.73% (u+3d). The amplitude of each frequency point can be considered to obey the normal distribution. When it is less than the reference value A at this frequency point, there is a 99.73% probability that the value of this frequency point is generated during normal operation. The number S of values exceeding the A value at the frequency point is counted. When S is greater than 15% of the sampling number of this frequency point (that is, more than 15% of the 512 frequency points are abnormal values), it is pre-judged as a DC fault arc, and the judgment vector is recorded as 1 to enter the GAN model training. If it does not exceed the value, the judgment vector is recorded as 0 to proceed to the next frequency point judgment.
[0029] Then, the pre-judged current signal spectrum is normalized, and the data is normalized to between [0,1], which is used as the discriminator judgment input. The GAN that makes the judgment is trained (S5). The specific training steps are as follows: First, a generative adversarial network is established. The generative adversarial network consists of two parts, a generator G, and the generator consists of a three-layer neural network, namely, an input layer, a hidden layer, and an output layer. The two nodes of the input layer are the DC fault arc frequency feature information z' collected in the experiment (that is, the current signal collected in the experiment is processed by the amplitude distribution characteristics of each frequency point after the windowed Fourier, and the DC fault arc corresponding data information is normalized after pre-judgment; the difference from the real sample set D is the number of data sets. The z' input to the generator G is part of the real sample set data. Its function is to give the input layer a part of the data with labels that are different from random noise, so as to improve the learning efficiency and the direction of data updating. For example, the real data set is 5000 groups, and z' is 500 groups. Specifically The number accounts for a small proportion and is adjusted according to the training effect of the neural network) and random noise p(z), the hidden layer is 5 nodes, the activation function is the sigmoid function, the output layer is 1 node, and a set of current frequency feature information G(z) is output (the current frequency feature information here is the feature of the generated DC fault arc, which is a set of one-dimensional vectors of length 512). G tries to fit and generate the distribution of current data when a DC fault arc occurs in order to deceive the discriminator; a discriminator D is also composed of a three-layer neural network, namely, an input layer, a hidden layer and an output layer. The input data of the discriminator are: the current frequency information G(z) of the generated DC fault arc and the real sample set information x (that is, the corresponding data information of all DC fault arcs after normalization after pre-judgment). The authenticity judgment is performed and the output is a scalar probability value between 0 and 1, which represents the probability that the discriminator input sample is true (that is, the closer the output value is to 1, the more the discriminator is sure that the input sample is true, and the closer the output value is to 0, the more the discriminator is sure that the input sample is false). In the process of discrimination, D(G(z))=0, D(x)=1 should be made as much as possible; the generator G and the discriminator D are trained alternately, and the back propagation algorithm is used to update the parameters of the model. The generator and the discriminator are updated iteratively in a confrontational manner (the objective function of GAN is a maximum minimization function problem, that is, the objective function V(G,D), (E x~Pdata(x) It refers to the mathematical expectation of the distribution of current data when an arc occurs in real situations, E x~PG(z)It refers to the mathematical expectation of the distribution of the current data with arc generated by the generator). Here, according to the loss function of the discriminant model and the generative model, the back propagation algorithm is used to update the parameters of the two models, and the confrontation is achieved in the iterative process until a Nash equilibrium is reached. At this time, the extreme value is 0.5. At this time, the generator G can fit the distribution of the real data. The discriminator D is difficult to judge whether the input data comes from the real sample or the generator data. The current information of the fault arc generated by the generator is used as a sample to expand the pattern recognition sample of the discriminator to improve generalization. The trained discriminator D is used to judge whether a fault arc occurs on the DC side of the photovoltaic system (S6, S7). The main evaluation parameters include the number, frequency, and duration of the arc at the current signal frequency point, and then judge whether a fault arc occurs on the DC side of the photovoltaic system.
[0030] If it is determined that a DC fault arc occurs in the system (S8), an alarm should be sounded through the communication module 108, and the corresponding tripping device connected to the DC side of the photovoltaic system will be started immediately to disconnect the connection between the bus branch and the AC power grid, so that the photovoltaic system is in an independent power-off state, thereby protecting the safe operation of the photovoltaic system and avoiding further damage to the power grid caused by the photovoltaic power generation grid-connected fault arc.
[0031] This embodiment uses a digital signal processor to analyze the characteristics of the DC arc detection circuit signal, and combines pre-judgment and generative adversarial neural networks to perform pattern recognition and classification, thereby determining whether a faulty DC arc has occurred on the DC side of the photovoltaic system. A fault arc judgment model is established based on the number, frequency, and duration of arc occurrences to comprehensively determine whether a fault has occurred on the DC side of the photovoltaic system, thereby improving the generalization of fault arc detection. If a fault occurs, an alarm is issued and the corresponding connected tripping device can be activated to put the fault circuit in a power-off state, thereby achieving the purpose of ensuring the safe operation of the photovoltaic power generation system and avoiding damage to the power grid caused by grid connection.
[0032] The above embodiments are only used to illustrate the present invention rather than to limit it. Any person skilled in the art should understand that the present invention can be modified, deformed or replaced by equivalents without departing from the spirit and scope of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A detection method for a DC side arc fault detection system of a photovoltaic system, wherein a photovoltaic array outputs a DC current, and after multiple DC branches are connected in parallel in a junction box, the total DC current is input into an inverter, and the inverter converts the DC power into AC power and transmits it to the power grid. A sampling inductor is connected in series on the line from the junction box to the inverter, and a capacitor is connected in series with the primary winding of a current transformer and then connected in parallel to both ends of the sampling inductor. The secondary winding of the current transformer collects the characteristic AC signal of the DC side arc and sends it to a filter amplifier circuit. The processed current signal of the output of the filter amplifier circuit is sent to a digital signal processor for judgment, and the output judgment result is sent out through a communication module, wherein the method is characterized in that: The specific steps include: 1) Collect and process the current signal on the DC side of the photovoltaic system. Specifically, the signal acquisition module is located between the combiner box and the inverter on the DC side of the photovoltaic system. The collected real-time current signal is retained by the hardware filtering and amplification circuit to retain the current signal of 40kHz-100kHz, and converted to the frequency domain by using the windowed Fourier transform; The digital signal processor receives the current signal after the filter amplifier circuit outputs the processed signal, first converts the current signal through analog-to-digital conversion, then performs windowed Fourier transform analysis on the sampled digital quantity, collects 1024 data as a set of sequences; performs Gaussian window function weighted processing on the data sequence with a total of 1024; uses fast Fourier transform to perform spectrum transformation on the weighted data window sequence, takes the first 513 frequency points of the converted data, removes the first frequency point, and obtains the current signal spectrum with 512 frequency points constituting the characteristic vector as a set of current data; 2) Pre-judgment of DC fault arc on the current data processed in step 1): After the collected N groups of current data, i = 1, 2, ..., N, are transformed into the frequency domain by windowing Fourier transform, each group of data in the frequency domain is represented as I fft , calculate the mean u and standard deviation d at each frequency point and the reference value A, where j is the frequency point, j = 1, 2, ..., 512, A=99.73%(u+3d), the amplitude of each frequency point is considered to obey the normal distribution. When it is less than the reference value A at this frequency point, there is a 99.73% probability that the value of this frequency point is generated during normal operation. The number of values exceeding the A value at the frequency point S is counted. When S is greater than 15% of the sampling number of this frequency point, it is pre-judged as a DC fault arc, and the judgment vector is recorded as 1, and the GAN model training is started. If it does not exceed the value, the judgment vector is recorded as 0, and the next frequency point judgment is performed; 3) Train the GAN model and use the trained discriminator to determine whether the current data obtained by the above steps is DC fault arc current data: The current signal spectrum after pre-judgment in step 2) is normalized to the range of [0,1] and used as the input of the GAN model. First, a generative adversarial network model is established, which includes two parts: a generator G, which is a neural network. The input data is a data signal z' of a part of the DC fault arc corresponding to the characteristic vector after normalization and random noise p(z). G fits and generates the distribution of current data when the DC fault arc occurs in order to deceive the discriminator D. G outputs a set of current frequency feature information G(z); a discriminator D, which is a neural network. The input data of D is the current frequency information G(z) generated under the DC fault arc condition and the data signal x of the characteristic vector corresponding to all DC fault arcs after normalization. The authenticity is judged and the output is a scalar probability value between 0 and 1, which represents the probability that the discriminator input sample is true. That is, the closer the output value is to 1, the more confident the discriminator is that the input sample is true, and the closer the output value is to 0, the more confident the discriminator is that the input sample is false. In the judgment process, D(G(z))=0, D(x)=1 as much as possible. Then, the generator and the discriminator are updated and iterated against each other until a Nash equilibrium is reached. At this time, the extreme value is 0.
5. At this time, the generator G can fit the distribution of real data, and the discriminator D has difficulty in judging whether the input comes from real samples or data generated by the generator. The current information of the fault arc generated by the generator G is used as a sample to expand the pattern recognition sample set of the discriminator. Use the trained discriminator D to determine whether a fault arc occurs on the DC side of the photovoltaic system; 4) If it is determined that a DC fault arc occurs, the alarm mechanism is activated, an alarm signal is sent to the administrator through the communication module, and corresponding protection actions are taken at the same time.
Citation Information
Patent Citations
Photovoltaic system DC side arc fault detection system
CN210111945U
