Next Article in Journal
A Compact C-Band Bandpass Filter with an Adjustable Dual-Band Suitable for Satellite Communication Systems
Previous Article in Journal
Non Invasive Skin Hydration Level Detection Using Machine Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Tree Search Fuzzy NARX Neural Network Fault Detection Technique for PV Systems with IoT Support

Department of Computer Engineering, An-Najah National University, P.O. Box 7, Nablus, Palestine
*
Author to whom correspondence should be addressed.
Electronics 2020, 9(7), 1087; https://doi.org/10.3390/electronics9071087
Submission received: 28 May 2020 / Revised: 23 June 2020 / Accepted: 25 June 2020 / Published: 3 July 2020
(This article belongs to the Section Power Electronics)

Abstract

:
The photovoltaic (PV) panel’s output energy depends on many factors. As they are becoming the leading alternative energy source, it is essential to get the best out of them. Although the main factor for maximizing energy production is proportional to the amount of solar radiation reaching the photovoltaic panel surface, other factors, such as temperature and shading, influence them negatively. Moreover, being installed in a dynamic and frequently harsh environment causes a set of reasons for faults, defects, and irregular operations. Any irregular operation should be recognized and classified into faults that need attention and, therefore, maintenance or as being a regular operation due to changes in some surrounding factors, such as temperature or solar radiation. Besides, in case of faults, it would be helpful to identify the source and the cause of the problem. Hence, this study presented a novel methodology that modeled a PV system in a tree-like hierarchy, which allowed the use of a fuzzy nonlinear autoregressive network with exogenous inputs (NARX) to detect and classify faults in a PV system with customizable granularity. Moreover, the used methodology enabled the identification of the exact source of fault(s) in a fully automated way. The study was done on a string of eight PV panels; however, the paper discussed using the algorithm on a more extensive PV system. The used fuzzy NARX algorithm in this study was able to classify the faults that appeared in up to five out of the eight PV panels and to identify the faulty PV panels with high accuracy. The used hardware could be controlled and monitored through a Wi-Fi connection, which added support for Internet of Things applications.

1. Introduction

Photovoltaic (PV) panels are nowadays commonly and widely used to generate clean energy. Their main objective is to convert solar radiation emitted by the sun and received on the PV panel’s surface into electricity. The amount of power generated by a PV panel is proportional to the total amount of solar radiation received on the PV panel’s surface. This is typically denoted by the global horizontal irradiance (GHI), which is the PV panel’s surface collective solar radiation directly obtained from the sun or indirectly received through diffusion or reflection. So, any factor that causes to lower the GHI will negatively affect the generation of energy from a PV panel [1]. Such factors include year season, the density of air molecules, water vapor, clouds, dust, air pollution, raindrops, snow, and shadow from near objects.
Internally, a PV panel consists of many smaller units called solar cells. Several solar cells are connected in series to form a PV panel. These units are the primary converters of solar radiation into energy [2]. Although their production of power is proportional to the amount of total received radiation, the increase in temperature reduces their performance [3]. On the other hand, because these cells are connected in series, a shadow on one or more cells could result in making the cells under shadow to act as current limiting cells driving in reverse bias. So, the cells under shadow would dissipate power instead of producing it [4]. The dissipation of energy will make the temperature of these cells rise to a level that may defect the cells and, in rare cases, causing a hazardous fire. This phenomenon is called the hot spot effect [5] and can be minimized by the use of bypass diodes. However, it is common and causes many problems, such as melting in solder wires, back panel burns, and cracks in the PV panel surface.
Nevertheless, many different reasons may render a PV panel in operational or faulty when it comes to a harsh environment. In any case, a defective PV panel will degrade the performance of power production in a PV system that consists of many PV panels. Hence, timely identification of faulty PV panels is essential for fast maintenance [6].
In general, faults or degradation in the PV panel’s performance can be due to cell cracks [7,8,9], potentially induced degradation [10], corrosion failures [11], electrical or mechanical interconnection failures [11], accumulation of dust or soiling [12,13], hot-spots [14,15], or partial shadows [16]. However, the performance of a PV panel changes due to the variable surrounding environment, which makes it vital to differentiate regular shifts in power production from abnormal change due to faults. Moreover, it is imperative to identify the source and the cause of a failure in a PV system.
Hence, in recent years, different techniques have been reported regarding the classification and diagnosis of PV string faults [17,18,19,20,21,22]. Among them, Silvestre et al. [23] proposed an algorithm for fault detection in a grid-connected PV system based on the computational voltage and current values. The authors in [24,25,26] presented fault detection techniques based on the comparison of measured and simulated values produced by analyzing the losses of the direct current (DC) side of the grid-connected PV system. Moreover, Chine et al. [27] presented a fault technique based on the ratio of the alternating current (AC) and DC side of the PV string. The proposed method can detect faults, such as maximum power point tracker, faulty DC/AC inverter, and defective panels in a PV string. Dhimish et al. [28] proposed a mathematical analysis method for detecting damaged conditions in the DC/AC inverter units. Kim et al. [29] developed a hot-spot detection method in a PV string using AC parameters characterization. Cheng et al. [30] developed a PV fault detection algorithm based on analyzing the functional relationship of the PV parameters according to data fusion. However, they focused only on heat spot phenomena and ignored other relevant factors. Dhimish et al. [31] presented a statistical analysis method for detecting cracks and their impact on the PV output power. However, all of the earlier mentioned methods have used conventional approaches for the detection and diagnosis of fault in the PV string.
Nevertheless, the usefulness of these techniques depends significantly on the accuracy of the models, which can be difficult in volatile weather conditions. Moreover, some of these techniques can be implemented on integrated circuits, and that requires complicated and costly hardware [32]. Adding to that, some of these techniques require the PV system to be turned off, and this will have a decisive impact on the efficiency of the system.
Besides the conventional methods, intelligence-based algorithms have shown over the last decade their usefulness to model, control, predict, and forecast many aspects related to the PV system [33,34,35,36,37,38,39]. Dhimish et al. [40] proposed a fuzzy logic fault technique that differentiates partial shading faults in PV array from short-circuit faults. Chowdhury et al. [41] and Wang et al. [42] used a Fibonacci search technique and swarmed intelligent algorithm for PV array fault diagnosis. Zhao et al. [43] proposed a PV array fault diagnosis method based on fuzzy C-mean and fuzzy membership algorithm. In refs. [44,45,46], the authors have used a Mamdani fuzzy logic classification to accurately detect several faults in the PV system, such as short circuit and partial shading in PV string. Zhao et al. [47] presented a decision tree algorithm for examining two different types of fault using an over-current protection device. However, this method relies on the measured fault sample data to be completely practical. Gu et al. [48] presented a novel cloud-nonlinear autoregressive with exogenous input (NARX) model to predict AE index one hour ahead. The cloud-NARX model provides AE index forecasting results, with a correlation coefficient of 0.87 on the data of the whole year 2015. Ul-Haq et al. [49] presented an extensive investigation for the classification of various types of PV faults, including module mismatch fault, open circuit, short circuit, and multiple faults under partial shading using the scaled conjugate gradient (SCG) algorithm. A technique based on artificial neural networks and an analog ensemble is available from Cervone et al. [50], which is used to provide 72 h parametric and nonparametric power predictions produced by PV plants using input from a numerical weather forecast model and astronomical measurement variables. Chine et al. [51] proposed a multi-layer perceptron neural network (MLPNN) that detected faults in the DC side of PV systems, which included faulty PV panels and defective bypass diodes in a PV string. Gul et al. [52] used a probabilistic neural network (PNN) to classify different PV faults with 85% precision. The authors in [40,53,54] used an MLPNN to identify faults related to short circuits and partial shading in a PV array. However, the difficulty of this technique is obtaining fault samples and training the fault model.
From the previous research, we could find that various studies have been conducted on PV fault detection; however, most of the techniques cannot find the location of the faulty panels in the string. Moreover, they lack flexibility and adequate methodology for expansion. Hence, the main contribution of this paper was to present a novel technique that allowed the exact identification of the faulty PV panel(s) in a PV system. This was done through a technique that modeled the PV system in a hierarchical tree-like structure and employed a fuzzy NARX fault detection algorithm. The used technique could be monitored and controlled over a Wi-Fi connection, which added support for Internet of Things (IoT) applications. The introduced tree-like model was flexible and could be customized to model large PV systems efficiently.

2. System Architecture

The methodology used in this work relayed on an algorithm implemented on an embedded system. This embedded system was added to the PV system to enable fault detection and identification. The embedded system consisted of the Internet of Things breaker connector (IoTBC) system and a fault diagnosis system with sensors (FDSS). The availability of the IoTBC system enabled the PV system to be logically represented as a tree. For instance, Figure 1 shows a PV system consisting of eight PV panels that are connected in series as one string. The PV string was connected to the FDSS system and also to an electrical load through a controller/inverter system. The IoTBC and the FDSS worked in collaboration with each other over a Wi-Fi connection to carry out what we called a tree search fuzzy NARX neural network fault detection technique. Both IoTBC and the FDSS systems supported connecting to the internet through a Wi-Fi connection. The internet connection allowed the system to support by being monitored and controlled by a remote device, such as a smart handheld device or a computer, and hence, the support of the Internet of Things (IoT).
The used IoTBC, in this example, had a granularity level of one PV panel. It means that the IoTBC could eliminate any number between 1 and 7 of PV panels using just one breaker unit. This enabled the fault diagnosis algorithm to detect faults that might occur in any single PV panel in the system. If IoTBC had a granularity of two PV panels, then IoTBC could only eliminate 2, 4, or 6 PV panels using one breaker unit. Hence, the fault detection algorithm could only detect faults that might occur in any group of two PV panels.
During the regular system operation, as seen in Figure 1, there was no active breaker unit. Figure 1 also shows, as an example, the difference between the U3 breaker unit being inactive and being active. When the U3 was active, the leftmost five PV panels were eliminated from the system.
For each PV system, an additional two DC-DC solid-state relays (SSR) were needed, denoted by SSR1 and SSR2 in Figure 1. These were very important to eliminate DC arcs phenomenon in breaker units during the transition state of any breaker unit. The transition state of a breaker unit was the state during which the unit was being inactive and becoming active or being active and becoming inactive. Without these two SSR units, a breaker unit might be damaged due to the DC arcs phenomenon. It was essential to switch off both SSR1 and SSR2 before any attempt to activate or deactivate any breaker unit. After activating or deactivating a breaker unit, either SSR2 was switched on, or both SSR1 and SSR2 were switched on, respectively.
For the PV string and the IoTBC system shown in Figure 1, the tree fault search representation could be viewed, as shown in Figure 2.
The inner nodes of the tree represented the breaker units between PV panels, whereas tree leaves represented PV panels.
When the root node or any one of the inner nodes was activated, only the right side (branch) of that node was operational, and the left side (branch) of that node was temporarily eliminated or disconnected. This could be compared to the searching process in tree-like data structures.
When in operational mode, all relays were in their normal close state, meaning the PV system was operating as if there were no breaker units, and all PV panels were contributing to the process of power generation. In the meantime, the fault diagnosis system with sensors (FDSS) was concurrently working and analyzing any possible change in the PV system energy production. The FDSS was working in real-time and with full awareness of any change in the PV system and its surrounding environment. Using the current sensor (Isens) and a voltage sensor (Vsens), the FDSS could read information about the PV system energy production. Using a pyranometer and temperature sensor, the FDSS could get information about the PV system’s related properties of the surrounding environment. Figure 3 shows an illustration of the FDSS.
The FDSS consisted of some sensors, such as the pyranometer sensor for the solar irradiation measurement, the temperature sensor, the voltage sensors, and the current sensor from each PV string. The core of the FDSS system was an embedded system with a fuzzy NARX fault detection algorithm. This embedded system was equipped with the ATmega2560 low-cost microcontroller and the ESP8266 Wi-Fi IC. The ESP8266 Wi-Fi IC enabled the embedded system to support IoT applications and to control more than one IoTBC through Wi-Fi connection or over the internet.
The IoTBC was designed, taking into consideration the cost, the power consumption, and the expandability of the system.
The ESP-01 module was used to allow connecting to the internet using Wi-Fi. The ESP-01 had many preferable features, such as its low power consumption, its ability to enter power saving mode without its integrated antenna, its Wi-Fi range, its physical area small size, and its support for the different Wi-Fi versions.
The limitation for the ESP-01 was that it had only four general input/output interface pins to control external peripherals. This, however, was not a problem for expandability since these four pins were more than enough to control as many breaker units as needed. This could be done with the help of shift registers. Figure 4 shows the circuit diagram, which allows one ESP-01 to control as many breaker units as required by the ability to introduce more and more shift registers. For the PV system in Figure 1, we only needed to connect seven breaker units (relays) and two SSR units. This is shown in the circuit diagram in Figure 4 by the top shift register.
The FDSS controlled the IoTBC. When the FDSS detected a fault, it issued a series of commands to identify the faulty PV panel. The algorithm of fault detection and the communication between FDSS and IoTBC has been discussed in the methodology section.
It is worth mentioning that the granularity level of the IoTBC system could be adjusted as a trade-off between cost and the precision of fault location detection. It indicated that the fault location was to be found on a single PV panel or on a group of PV panels. For instance, Figure 5 shows an example where the granularity level was set to a group of two PV panels. Here, the breaker units were chosen to be between two PV panels. In this scenario, the fault could be identified and classified to the level of one group. However, the FDSS system would not tell in which PV panel inside the group was the fault. In other words, the larger the granularity level of the IoT system, the fewer the number of breakers needed in the system, hence, the less the cost of the fault detection system.
In case the IoTBC system was connected to more than one string, corresponding breaker units in the different PV strings must operate together. For example, in Figure 5, if unit U3 was to be activated, U4 must also be activated at the same time as U3. U2 and U5 must be activated or deactivated with each other. Besides, U1 and U6 must be activated or deactivated together.

3. Methodology

The PV system tree search fuzzy NARX fault detection algorithm could be logically divided into three separate operations. The first operation was to diagnose the PV system for a possible fault. The second operation was to classify the fault type in case there was one. The last operation, in case there was a fault, was to identify the source of the fault. The flow chart in Figure 6 shows an overview of the system’s three operations in general.
The FDSS system did the first operation. It continuously reads current from each string current sensors (denoted by Isens in Figure 3). The FDSS also collected the PV system voltage and the ambient area temperature and solar radiation. With these reading and the help of the fuzzy NARX neural network, the FDSS system could determine if any of the PV strings had a faulty status. The fuzzy NARX neural network, discussed in the subsequent section, could predict the correct operation of a PV string under a set of surrounding conditions. Then, by classifying the difference between the expected process and the actual outcome of a PV string, the fuzzy NARX could identify if there was a fault in the PV string. In case there was a fault, the fuzzy NARX could determine if this fault was critical or not. A critical fault is a fault that hinders the operation of the PV system to a large extent. The definition of a critical fault varies depending on the PV system under consideration. For instance, in a single string PV system, like the one shown in Figure 1, an open circuit fault in any PV panel was considered critical as this would render the whole PV system inoperational. In case the fault was critical, the FDSS sent a notification to the system administrator, and the process of identifying the source of fault commenced. If the fault was not critical, the identification process could be scheduled for later, for example, in the early morning. The flow chart shown in Figure 6 was implemented using an embedded system, which was added to the PV panels, as described in Section 2. In general, any embedded system would have a specific sequence of operations that would be performed over and over as long as the system is operational. In our case study, the diagnosis process could be scheduled to run regularly, and the duration between each run could be customized. The fault source identification process is discussed in the next section.

3.1. The Fuzzy NARX Fault Detection

The developed fault classification algorithm (FCA) is presented in Figure 7. As shown, the FCA went through three stages. In the first stage, the FCA tried to classify if there was a fault in the string or not, by measuring the value of the PR (power ratio) using the NARX network. In the second stage, the FCA would classify the type of fault and whether it was minor, moderate, or significant faults by using the Sugeno fuzzy logic. Furthermore, in the final stage, the FCA would work in parallel with the tree fault search to allocate the faulty panels. We have discussed in more detail throughout this section how to calculate (PR) and specify its regions.
In this work, as illustrated in Figure 7, the NARX network model was used to estimate the values of the optimum operating current (Ip) and voltage (Vp). NARX and NARMAX models [55,56,57] could be considered a neural network with recurrent dynamic behavior that had been effectively used for time series problem estimation. The main difference between multi-layer perceptrons and NARX was that NARX allowed a weighted feedback connection between layers of neurons. This feedback allowed the NARX models to consider lagged (past period) values of variables, which made them suitable for time series analysis.
The NARX network behavior, in compliance with the time series forecast, could be mathematically modeled by the following equation:
y ( t ) = f ( y ( t 1 ) , y ( t 2 ) , , y ( t n y ) , x ( t 1 ) , x ( t 2 ) , , x ( t n x ) )
where f(.) is the mapping function of the network, y(t) is the output of the NARX at time t, (y(t−1), y(t−2), ..., y(tny)) are the NARX past output values, (x(t−1), x(t−2), ..., x(tnx)) are the NARX exterior data, ny is the number of output delay, and nx is the number of input delays. Figure 8 shows the detailed structure of the proposed NARX network.
As shown in Figure 8, in the input layer, the network model used two-time series inputs that represented its previous outputs at the time (t−1). In addition, it used four inputs with exterior data at a time (t−1). These were the solar radiation, panel temperature, the short circuit current (SCC), and the open-circuit voltage (OCV). In the hidden layer, it had five nodes with a hyperbolic tangent sigmoid transfer activation function [58], while in the output layer, it had two nodes with a linear activation function.
Only one lagging value, (t−1), was considered as an input to the neural network. The decision of not taking other lagging values, such as (t−2) and (t−3), was because they were not with significant added value for the system under study, with all concerns considered. This decision was reached after several trials were performed to determine the neural network configuration, as discussed in our previous work [36]. There were two essential concerns that affected this decision—simplicity and accuracy. The simpler the structure of the neural network, the more feasible to be implemented on an embedded system. Hence, the decision was made to considering only one lagging value, which gave a relatively simple neural network structure with excellent accuracy.
After implementing the network model, a training set of 5880 cases was obtained from three different PV panels before conducting network training using the Levenberg Marquardt algorithm [59], namely: Sharp’s-NUS0E3E, Astronergy-CHSM6610P, and Lorentz mono-crystalline. This dataset covered the various temperatures and solar radiation conditions that would typically take place. The panel’s electrical characteristics are shown in Table 1. The OCV and SCC parameters were used as a reference parameter to select between the three PV panels. More detail regarding the NARX network validation could be found in the author’s previous work [36].
Once the NARX model was implemented and trained, it was used then to measure the voltage (VR) and power ratio (PR), which would be used later as input linguistic variables for the fuzzy rule-based classification system. The VR and PR were given as in Equations (2) and (3):
V R = V p V s
P R = P p P s
where Vp and Pp are the maximum theoretical (predicated) output voltage and power, the PV system should have produced, respectively. Vs and Ps are the measured output voltage and power from the PV system, respectively.
The maximum power point tracking (MPPT) conversion error rate used in this paper was 98.2%, which had been validated in the author’s previous work [36,46]. Therefore, the power ratios were calculated at about ±2% error tolerance of the theoretical power, which presented the maximum error condition for the examined PV system. Hence, the minimum and maximum voltage and power ratios were expressed by the following formulas:
V R M I N = V p V r
V R M A X = V p V r × M P P T   conversion   error   rate
P R M I N = P p P r
P R M A X = P p P r   ×   M P P T   conversion   error   rate  
where Vr and Pr are the measured output voltage and power from the PV panels. Hence, in the normal operation mode region of the examined PV system (8 "Astronergy-CHSM6610P" PV panels; for more information see Section 4.3) at standard test condition (STC), the values of the PR could be calculated using Equations (8) and (9):
P R M I N = P p P r = 1800 1800 = 1
P R M A X = P p P r × M P P T   conversion   error   rate = 1800 1800   ×   0.982   1.02
The STC for these solar panels was solar irradiance = 1000 W/m2, and panel temperature = 25 °C.
In this work, as shown in Table 2, twenty-three different PV faults were investigated and categorized into three Sugeno fuzzy models (minor, moderate, and major).
In the case of faulty shaded panels, the user must remove the shading first before the tree search algorithm, and the FCA would be able to allocate faulty panels in the string if faulty shading panels had been classified in the string (e.g., FL7, FL8... etc.). Moreover, in the partial shading condition, the radiation level was assumed to affect all PV panels belonging to the string equally.
The minimum and maximum voltage and power ratios for each fuzzy classification regions are shown in Table 3, which were calculated using Equations (4)–(7).
As shown in Table 3, three partial shading levels had been studied in this work, which were low (10–40%), medium (41–65%), and high (66–95%).
After identifying the input variables VR and PR regions, the fuzzy sets and the membership functions for the three Sugeno fuzzy models are shown in Figure 9, Figure 10 and Figure 11.
After selecting the linguistic variable and identifying the region of the fuzzy set, the fuzzy rules were required to be set. The initial rule sets for the three fuzzy models are illustrated in Table 4. The presented Sugeno fuzzy models were utilizing the product as an intersection method and the weighted average as a defuzzification method. Moreover, as shown in Table 4, the rules had been weighted during the tuning process, in order to select a single winner rule in the classification phase.
Using the Matlab Fuzzy Logic Toolbox, a satisfactory level of performance was reached. The tuning process started from a faulty PV panel only and progressively modifying the fuzzy system to detect all possible faults that might occur in the PV according to the fault types listed in Table 2. The tuning process involved:
Review the fuzzy sets
Revise shapes of the fuzzy sets
Review the existing rules
Adjust the rule execution weights

3.2. The Fault Source Identification Process

The search for the PV panel or panels causing the fault was based on a tree search algorithm. Once the FDSS system realized that a fault existed, it could identify the source of the fault with the help of the IoTBC system.
The algorithm used to identify the source of the fault is shown in Algorithm 1.
Algorithm 1: The PV tree fault search (PTFS) algorithm.
Electronics 09 01087 i001
The PV tree fault search (PTFS) algorithm resided in the FDSS system. It communicated with the IoTBC system based on the results obtained by the fuzzy NARX fault detection and classification method. To understand how the algorithm works, let us consider the PV system shown in Figure 1. This system had one PV string with a granularity level of one PV panel. The tree representation for this PV system is repeated in Figure 12. Let us assume that P2, highlighted in Figure 12, is the faulty PV panel.
During regular operation, all breaker units (U1–U7) are inactive. Assume, for some reason, P2 is now faulty. The FDSS detects a fault in the PV string and classifies the fault as discussed in the fuzzy NARX fault detection section. Now, let us assume that FDSS is required to identify the source of the fault. The FDSS system runs a procedure, as illustrated in Algorithm 1. First, there is only one string, and it is known to be faulty. The PTFS now executes at line 2-a, as shown in Algorithm 1. The PTFS sends a command to the IoTBC to eliminate half of the PV panels. In our case, PTFS commands the IoTBC to activate the U4 breaker, as shown in Figure 12. This activation removes the PV panels P1 to P4, and now the system operates using the remaining panels shown on the Circle C1 in Figure 12. It should be noted that the elimination process is only done temporarily for a short amount of time to find the faulty PV panel and is done using the IoTBC system, as discussed in Section 2.
The FDSS tests the system again for possible fault, line 2-b in Algorithm 1. According to our initial assumption, the system will not be faulty.
However, if, P7 is also faulty, the PTFS will command the IoTBC to activate U2 in order to eliminate half of the remaining PV panels. In our case, the remaining would be indicated by circle C2 in Figure 12.
The elimination process will continue until we reach a subset of PV panels with no-fault, or there is no further elimination that could be performed.
In case no further elimination is possible, and the system status is faulty, the PTFS returns the PV panel as faulty PV panel, line 2-c-i in Algorithm 1.
On the other hand, if the algorithm reaches a subset of PV panels that has no faults, then the fault is in the eliminated PV panels.
To find that faulty PV panel, the PTFS repeatedly issues the proper commands to add a single leaf to the non-faulty subset of PV panels from the eliminated PV panels, line 3-a in Algorithm 1.
In our example, this process is indicated by circles C3, C4, and C5 in Figure 12. Each time a new leaf is added to the non-faulty subset, the PTFS calls the FDSS system to test for a possible fault, line 3-b in Algorithm 1. If a fault exists, then the PTFS has found the faulty leaf, and that would be the last added one.
Following these steps, the PTFS can identify the faulty PV panel in log(n) steps, where n is the number of leaves in a single string.

4. Results

This section presents the results of the developed fault detection algorithm. Real-time measure parameters had been used as input for the developed system. Furthermore, this section investigates the developed algorithm using its actual implementation on a low-cost microcontroller.

4.1. Meteorological Data

Real-time data consisting of solar radiation and panel temperature were gathered during the period from Feb 2018 to Dec 2019. The equipment used to collect the dataset consisted of a WE300 solar radiation sensor (±1% precision) and a WE710 temperature sensor (±0.25 °C precision) to measure the PV panel body temperature. Although the sensors used were accurate, the captured data were occasionally unreliable or noisy. This was primarily due to the sensor fault or noise ratio in connections. Consequently, to overcome the noise in the data obtained, a moving average filter [36,60] was used, see Figure 13.
As illustrated in Figure 13, the meteorological data were collected on an hourly based manner. The abnormality in data due to an unfunctional or broken device/sensor was ignored. This dataset had been used to train and test the proposed NARX network. As shown in Figure 8, the network had four exterior data input, among them solar radiation and panel temperature, while the other two inputs were used to select between the PV panels. This dataset had been collected for three different PV panels, see Table 1.
Moreover, the targeted output voltage (Vp) and current (Ip) were collected by running a Matlab code that analyzed the validated Simulink PV model output characteristics. More detail regarding the proposed PV model and its validation could be seen in our previous work [3,61,62].

4.2. Implementing the Algorithm on a Low-Cost Microcontroller

The algorithm, shown in Algorithm 1, was implemented on the ATmega2560 microcontroller running at a frequency of 16 MHz. This was low-cost with an 8-bit AVR architecture microcontroller. The Fuzzy NARX algorithm was implemented with the parameters obtained from the Matlab training and simulation. Table 5 shows some experimental test cases for fuzzy classification along with the microcontroller running time required to get such classifications. In Table 5, PR and VR are the calculated power ratio and voltage ratio, respectively. Both VR and PR were calculated using the measured PV system voltage and current values using Equations (2) and (3), respectively. The hardware implementation was able to classify each of the shown scenarios into the correct mode and region, shown in Table 5, in running time given by the diagnosis time column.
After the fuzzy classifications, the NARX was used to help to identify the source of fault(s), see Figure 8. Table 6 shows some test cases for running the NARX implementation on the used microcontroller. Each row in the table was a test scenario. The first four columns represented the inputs to the NARX, which were the measured solar radiation, the measured temperature, the PV panel open-circuit voltage, and the PV panel short-circuit current. The other columns showed a comparison between the Matlab simulation and the hardware implementation of the NARX prediction of each PV panel current and voltage for each scenario. The tracking time column presented the running time required by the microcontroller to calculate the PV current and voltage for each scenario.

4.3. Evaluation of the Proposed Fault Detection Algorithm

The proposed fault detection algorithm performance was tested by conducting several experiments. Table 7 shows eight hours of experimental scenarios applied to the PV string shown in Figure 14. Each scenario lasted for 20 min and contained different conditions. Readings were taken 5 min after installation.
Faulty sample measurements were collected at a rate of 1 Hz over a 1 min period. As shown in Table 7, the power ratio during the normal operational mode was between (1–1.02); hence, as shown in Figure 7, it was not involved in the assessment process of the fuzzy logic. Figure 15 shows the faulty samples versus the output membership function for each fuzzy logic type (minor, moderate, and major). For instance, in cases (1–3), the fuzzy logic system identified that there were no faulty panels, only partial shading. Hence, after removing the shading, the PV system returned to its normal operating condition.
On the other hand, in cases (5–9), the fuzzy logic system illustrated that there were only faulty panels. For example, the case (7) showed that there were three faulty panels (1,3,5). Faulty panels were identified using the tree search algorithm discussed in Algorithm 1. The algorithm used the IoTBC to disconnect and test PV panels in groups to identify the faulty PV panels. Although the faulty PV panel(s) identification process could be faster, the fact that the sensed measured values need to be averaged made this process take about three to four minutes for the used case. However, the identification process was better and faster than the manual fault search. Once faulty PV panels were identified, and the maintenance was carried out, the PV system returned to its reasonable operating condition.
Moreover, in other test cases, the fuzzy logic system showed that there were both faulty panels and partial shading faults. Hence, to solve that, we removed the shading first, and then the search tree algorithm correctly identified the locations of the faulty panels. In conclusion, as shown in Figure 15, all examined faulty conditions were accurately detected.

5. Conclusions

This paper proposed a novel and small implementable fault diagnosis method, which allowed the exact identification of the faulty PV panel(s) in a PV string. This was done through a technique that modeled the PV string in a hierarchical tree-like structure and employed a fuzzy NARX fault detection algorithm. The NARX neural network predicted the maximum output power of a PV string under a set of real-time sensed surrounding conditions with an accuracy of 98.2%. The predicted power was used then by the fuzzy diagnosis algorithm to identify the type of fault in a PV string. The proposed technique was monitored and controlled over a Wi-Fi connection, which added support for Internet of Things applications.
Moreover, the proposed algorithm was implemented on a low-cost embedded system. The algorithm was able to categorize faults into minor, moderate, and major faults. Besides, the algorithm could identify 23 different PV string faults, with an average time of about 10 ms for each identification case. Three partial shading levels had been taken into consideration, by designing the model, which were low (10–40%), medium (41–65%), and high (66–95%). The presented fault diagnosis algorithm was flexible and could be customized to model large PV systems efficiently.

Author Contributions

Conceptualization, E.N. and S.S.; Data curation, E.N. and S.S.; Formal analysis, E.N. and S.S.; Funding acquisition, E.N. and S.S.; Investigation, E.N. and S.S.; Methodology, E.N. and S.S.; Project administration, S.S.; Resources, E.N. and S.S.; Software, E.N. and S.S.; Supervision, S.S.; Validation, E.N. and S.S.; Visualization, E.N. and S.S.; Writing—original draft, E.N. and S.S.; Writing—review and editing, E.N. and S.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

We acknowledge the support of An-Najah National University.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript
ACAlternating current
AVRAlf and Vegard’s RISC
DCDirect current
FCAFault classification algorithm
FDSSFault diagnosis system with sensors
FHFault high
FLFault low
FMFault moderate
GHIGlobal horizontal irradiance
ICurrent
IoTInternet of Things
IoTBCInternet of Things breaker connector
IsensCurrent sensors
MLPNNMulti-layer perceptron neural network
MPPTMaximum power point tracking
NARX networkNonlinear autoregressive network with exogenous inputs
OCVOpen-circuit voltage
PNNProbabilistic neural network
PTFSPV tree fault search
PVPhotovoltaic
SCCShort circuit current
SCGScaled conjugate gradient
STCStandard test condition
VVoltage
VsensVoltage sensors

References

  1. Gray, J.L. The Physics of the Solar Cell. In Handbook of Photovoltaic Science and Engineering; Luque, A., Hegedus, S., Eds.; John Wiley and Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  2. Walker, G. Evaluating MPPT converter topologies using a MATLAB PV model. J. Electr. Electron. Eng. 2001, 21, 49–56. [Google Scholar]
  3. Natsheh, E.M.; Albarbar, A. Photovoltaic model with MPP tracker for standalone/grid connected applications. In Proceedings of the IET Conference on Renewable Power Generation, Edinburgh, UK, 6–8 September 2011; pp. 1–6. [Google Scholar]
  4. Patel, H.; Agarwal, V. MATLAB-Based Modelling to Study the Effects of Partial Shading on PV Array Characteristics. IEEE Trans. Energy Convers. 2008, 23, 302–310. [Google Scholar] [CrossRef]
  5. Daliento, S.; Di Napoli, F.; Guerriero, P.; d’Alessandro, V. A modified bypass circuit for improved hot spot reliability of solar panels subject to partial shading. Sol. Energy 2016, 134, 211–218. [Google Scholar] [CrossRef]
  6. Rajput, P.; Malvoni, M.; Kumar, N.M.; Sastry, O.S.; Tiwarie, G.N. Risk priority number forunderstanding the severity of photovoltaic failure modes and their impacts on performance degradation. Case Stud. Therm. Eng. 2019, 16, 100563. [Google Scholar] [CrossRef]
  7. Köntges, M.; Kunze, I.; Kajari-Schröder, S.; Breitenmoser, X.; Bjørneklett, B. Quantifying the risk of power loss in PV modules due to micro cracks. In Proceedings of the 25th European Photovoltaic Solar Energy Conference, Valencia, Spain, 6–10 September 2010; pp. 3745–3752. [Google Scholar]
  8. Kajari-Schršder, S.; Kunze, I.; Kšntges, M. Criticality of cracks in PV modules. Energy Procedia 2012, 27, 658–663. [Google Scholar] [CrossRef] [Green Version]
  9. Morlier, A.; Haase, F.; Köntges, M. Impact of cracks in multicrystalline silicon solar cells on PV module power: A simulation study based on field data. IEEE J. Photovolt 2015, 5, 1735–1741. [Google Scholar] [CrossRef]
  10. Hoffmann, S.; Koehl, M. Effect of humidity and temperature on the potential-induced degradation. Prog. Photovolt. Res. Appl. 2014, 22, 173–179. [Google Scholar] [CrossRef]
  11. Cristaldi, L.; Faifer, M.; Lazzaroni, M.; Khalil, M.M.A.F.; Catelani, M.; Ciani, L. Diagnostic architecture: A procedure based on the analysis of the failure causes applied to photovoltaic plants. Measurement 2015, 67, 99–107. [Google Scholar] [CrossRef]
  12. Caron, J.R.; Littmann, B. Direct monitoring of energy lost due to soiling on first solar modules in California. IEEE J. Photovolt. 2013, 3, 336–340. [Google Scholar] [CrossRef]
  13. Cova, P.; Delmonte, N.; Lazzaroni, M. Photovoltaic plant maintainability optimization and degradation detection: Modelling and characterization. Microelectron. Reliab. 2018, 88, 1077–1082. [Google Scholar] [CrossRef]
  14. Kim, K.A.; Krein, P.T. Hot spotting and second breakdown effects on reverse IV characteristics for mono-crystalline Si photovoltaics. In Proceedings of the 2013 IEEE Energy Conversion Congress and Exposition, Denver, CO, USA, 15–19 September 2013; pp. 1007–1014. [Google Scholar]
  15. García, M.; Marroyo, L.; Lorenzo, E.; Marcos, J.; Pérez, M. Observed degradation in photovoltaic plants affected by hot-spots. Prog. Photovolt. Res. Appl. 2014, 22, 1292–1301. [Google Scholar] [CrossRef] [Green Version]
  16. Mäki, A.; Valkealahti, S. Power losses in long string and parallel-connected short strings of series-connected silicon-based photovoltaic modules due to partial shading conditions. IEEE Trans. Energy Convers. 2012, 27, 173–183. [Google Scholar] [CrossRef]
  17. Takashima, T.; Yamaguchi, J.; Ishida, M. Fault detection by signal response in PV module strings. In Proceedings of the IEEE Photovoltaic Specialists Conference, San Diego, CA, USA, 11–16 May 2008. [Google Scholar]
  18. Takashima, T.; Yamaguchi, J.; Otani, K.; Oozeki, T.; Kato, K.; Ishida, M. Experimental studies of fault location in PV module strings. Sol. Energy Mater. Sol. Cells 2009, 93, 1079–1082. [Google Scholar] [CrossRef]
  19. Wang, Y.; Li, Z.; Wu, C. Four parameter on-line fault diagnosis method for PV modules. Proc. CSEE 2014, 34, 2078–2087. [Google Scholar]
  20. Chouder, A.; Silvestre, S. Automatic supervision and fault detection of PV systems based on power losses analysis. Energy Convers. Manag. 2010, 51, 1929–1937. [Google Scholar] [CrossRef]
  21. Kang, B.K.; Kim, S.T.; Bae, S.H.; Park, J.W. Diagnosis of output power lowering in a PV array by using the Kalman-filter algorithm. IEEE Trans. Energy Convers. 2012, 27, 885–894. [Google Scholar] [CrossRef]
  22. Wang, P.; Zheng, S. Fault analysis of photovoltaic array based on infrared image. Acta Energiae Solaris Sinica 2010, 31, 197–202. [Google Scholar]
  23. Silvestre, S.; da Silva, M.A.; Chouder, A.; Guasch, D.; Karatepe, E. New procedure for fault detection in grid connected PV systems based on the evaluation of current and voltage indicators. Energy Convers. Manag. 2014, 86, 241–249. [Google Scholar] [CrossRef]
  24. Dhimish, M.; Holmes, V. Fault detection algorithm for grid-connected photovoltaic plants. Sol. Energy 2016, 137, 236–245. [Google Scholar] [CrossRef]
  25. Silvestre, S.; Chouder, A.; Karatepe, E. Automatic fault detection in grid connected PV systems. Sol. Energy 2013, 94, 119–127. [Google Scholar] [CrossRef]
  26. Dhimish, M.; Holmes, V.; Mehrdadi, B.; DalesT, M. Simultaneous fault detection algorithm for grid-connected photovoltaic plants. IET Renew. Power Gener. 2017, 11, 1565–1575. [Google Scholar] [CrossRef]
  27. Chine, W.; Mellit, A.; Pavan, A.M.; Kalogirou, S.A. Fault detection method for grid-connected photovoltaic plants. Renew. Energy 2014, 66, 99–110. [Google Scholar] [CrossRef]
  28. Dhimish, M.; Holmes, V.; Dales, M. Parallel fault detection algorithm for grid connected photovoltaic plants. Renew. Energy 2017, 113, 94–111. [Google Scholar] [CrossRef]
  29. Kim, K.A.; Seo, G.S.; Cho, B.H.; Krein, P.T. Photovoltaic hot-spot detection for solar panel substrings using ac parameter characterization. IEEE Trans. Power Electron. 2016, 31, 1121–1130. [Google Scholar] [CrossRef]
  30. Cheng, Z.; Zhong, D.; Li, B.; Liu, Y. Research on fault detection of PV array based on data fusion and fuzzy mathematics. In Proceedings of the Asia-Pacific Power and Energy Engineering Conference, Wuhan, China, 25–28 March 2011; pp. 1–4. [Google Scholar]
  31. Dhimish, M.; Holmes, V.; Mehrdadi, B.; Dales, M. The impact of cracks on photovoltaic power performance. J. Sci. Adv. Mater. Devices 2017, 2, 199–209. [Google Scholar] [CrossRef]
  32. Mellitab, A.; Tinac, G.M.; Kalogiroud, S.A. Fault detection and diagnosis methods for photovoltaic systems: A review. Renew. Sustain. Energy Rev. 2018, 91, 1–17. [Google Scholar] [CrossRef]
  33. Mellit, A.; Pavan, A.M. A 24-h forecast of solar irradiance using artificial neural network: Application for performance prediction of a grid-connected PV plant at Trieste, Italy. Sol. Energy 2010, 84, 807–821. [Google Scholar] [CrossRef]
  34. Mellit, A.; Kalogirou, S.A. Artificial intelligence techniques for photovoltaic applications: A review. Prog. Energy Combust. Sci. 2008, 34, 574–632. [Google Scholar] [CrossRef]
  35. Natsheh, E.; Natsheh, A.R.; Albarbar, A.H. Intelligent controller for managing power flow within standalone hybrid power systems. IET Sci. Meas. Technol. 2013, 7, 191–200. [Google Scholar] [CrossRef]
  36. Natsheh, E.; Samara, S. Toward Better PV Panel’s Output Power Prediction; a Module Based on Nonlinear Autoregressive Neural Network with Exogenous Inputs. Appl. Sci. 2019, 9, 3670. [Google Scholar] [CrossRef] [Green Version]
  37. Yona, A.; Senjyu, T.; Funabshi, T.; Sekine, H. Application of neural network to 24-h-ahead generating power forecasting for PV system. IEEE Trans. Power Energy 2008, 128, 33–39. [Google Scholar] [CrossRef]
  38. Natsheh, E.; Natsheh, A.; Khatib, T. Intelligent Controller for Tracking the MPP of a PV System under Partial Shaded Conditions. Appl. Sol. Energy 2019, 55, 282–290. [Google Scholar] [CrossRef]
  39. Mandal, P.; Madhira, S.T.S.; Ul haque, A.; Meng, J.; Pineda, R.L. Forecasting Power Output of Solar Photovoltaic System Using Wavelet Transform and Artificial Intelligence Techniques. Procedia Comput. Sci. 2012, 12, 332–337. [Google Scholar] [CrossRef] [Green Version]
  40. Dhimish, M.; Holmes, V.; Mehrdadi, B.; Dales, M. Comparing Mamdani Sugeno fuzzy logic and RBF ANN network for PV fault detection. Renew. Energy 2018, 117, 257–274. [Google Scholar] [CrossRef] [Green Version]
  41. Chowdhury, S.R.; Saha, H. Maximum power point tracking of partially shaded solar PV arrays. Sol. Energy Mater. Sol. Cells 2010, 94, 1441–1447. [Google Scholar] [CrossRef]
  42. Wang, X.; Wang, S.; Du, H.; Wang, P. Fault Diagnosis of Chemical Industry Process Based on FRS and SVM. Control Decis. 2015, 30, 353–356. [Google Scholar]
  43. Zhao, Q.; Shao, S.; Lu, L.; Liu, X.; Zhu, Y.H. A New PV Array Fault Diagnosis Method Using Fuzzy C-Mean Clustering and Fuzzy Membership Algorithm. Energies 2018, 11, 238. [Google Scholar] [CrossRef] [Green Version]
  44. Dhimish, M.; Holmes, V.; Mehrdadi, B.; Dales, M. Diagnostic method for photovoltaic systems based on six layer detection algorithm. Electr. Power Syst. Res. 2017, 151, 26–39. [Google Scholar] [CrossRef]
  45. Dhimish, M.; Holmes, V.; Mehrdadi, B.; Dales, M. Multi-layer photovoltaic fault detection algorithm. IET 2017, 2, 244–252. [Google Scholar] [CrossRef]
  46. Samara, S.; Natsheh, E. Intelligent PV Panels Fault Diagnosis Method Based on NARX Network and Linguistic Fuzzy Rule-Based Systems. Sustainability 2020, 12, 2011. [Google Scholar] [CrossRef] [Green Version]
  47. Zhao, Y.; Yang, L.; Lehman, B.; de Palma, J.F.; Mosesian, J.; Lyons, R. Decision tree-based fault detection and classification in solar PV arrays. In Proceedings of the 27th Annual IEEE Applied Power Electronics Conference and Exposition, Orlando, FL, USA, 5–9 February 2012; pp. 93–99. [Google Scholar]
  48. Gu, Y.; Wei, H.L.; Boynton, R.J.; Walker, S.N.; Balikhin, M.A. System identification and data-driven forecasting of AE index and prediction uncertainty analysis using a new cloud-NARX model. J. Geophys. Res. Space Phys. 2019, 124, 248–263. [Google Scholar] [CrossRef] [Green Version]
  49. Ul-Haq, A.; Sindi, H.F.; Gul, S.; Jalal, M. Modeling and Fault Categorization in Thin-Film and Crystalline PV Arrays Through Multilayer Neural Network Algorithm. IEEE Access 2020, 8, 102235–102255. [Google Scholar] [CrossRef]
  50. Cervone, G.; Clemente-Harding, L.; Alessandrini, S.; Monache, L.D. Short-term photovoltaic power forecasting using Artificial Neural Networks and an Analog Ensemble. Renew. Energy 2017, 108, 274–286. [Google Scholar] [CrossRef] [Green Version]
  51. Chine, W.; Mellit, A.; Lughi, V.; Malek, A.; Sulligoi, G.; Pavan, A.M. A novel fault diagnosis technique for photovoltaic systems based on artificial neural networks. Renew. Energy 2016, 90, 501–512. [Google Scholar] [CrossRef]
  52. Gul, S.; Ul Haq, A.; Jalal, M.; Anjum, A.; Khalil, I.U. A unified approach for analysis of faults in different configurations of PV arrays and its impact on power grid. Energies 2020, 13, 156. [Google Scholar] [CrossRef] [Green Version]
  53. Li, Z.; Wang, Y.; Zhou, D.; Wu, C. An Intelligent Method for Fault Diagnosis in Photovoltaic Array. In System Simulation and Scientific Computing; Springer: Berlin/Heidelberg, Germany, 2012; pp. 10–16. [Google Scholar]
  54. Wang, Y.; Wu, C.; Fu, L.; Zhou, D.; Li, Z. Fault diagnosis of PV array based on BP neural network. Power Syst. Prot. Control 2013, 41, 108–114. [Google Scholar]
  55. Boussaada, Z.; Curea, O.; Remaci, A.; Camblong, H.; Bellaaj, N.M. A Nonlinear Autoregressive Exogenous (NARX) Neural Network Model for the Prediction of the Daily Direct Solar Radiation. Energies 2018, 11, 620. [Google Scholar] [CrossRef] [Green Version]
  56. Billings, S.A.; Wei, H.L. NARMAX model as a sparse, interpretable and transparent machine learning approach for big medical and healthcare data analysis. In Proceedings of the IEEE 21st International Conference on High Performance Computing and Communications; IEEE 17th International Conference on Smart City; IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Zhangjiajie, China, 10–12 August 2019; pp. 2743–2750. [Google Scholar]
  57. Solares, J.R.A.; Wei, H.L.; Billings, S.A. A novel logistic-NARX model as a classifier for dynamic binary classification. Neural Comput. Appl. 2019, 31, 11–25. [Google Scholar] [CrossRef]
  58. Negnevitsky, M. Artificial Intelligence: A Guide to Intelligent Systems; Addison Wesley: Essex, UK, 2004. [Google Scholar]
  59. Cömert, Z.; Kocamaz, A.F. A study of artificial neural network training algorithms for classification of cardiotocography signals. J. Sci. Technol. 2017, 7, 93–103. [Google Scholar] [CrossRef]
  60. Smith, S.W. Digital Signal Processing: A Practical Guide for Engineers and Scientists; Spectrum Inc.: San Diego, CA, USA, 2002. [Google Scholar]
  61. Natsheh, E.M.; Natsheh, A.R.; Albarbar, A.H. An automated tool for solar power systems. Appl. Sol. Energy 2014, 50, 221–227. [Google Scholar] [CrossRef]
  62. Samara, S.; Natsheh, E. Modeling the output power of heterogeneous photovoltaic panel’s based on artificial neural networks using low cost microcontrollers. Heliyon 2018, 4, 1–18. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Single string with eight photovoltaic (PV) panels, Internet of Things breaker connector (IoTBC) with a granularity level of one PV panel, and fault diagnosis system with sensors (FDSS).
Figure 1. Single string with eight photovoltaic (PV) panels, Internet of Things breaker connector (IoTBC) with a granularity level of one PV panel, and fault diagnosis system with sensors (FDSS).
Electronics 09 01087 g001
Figure 2. Tree search representation of the PV string in Figure 1.
Figure 2. Tree search representation of the PV string in Figure 1.
Electronics 09 01087 g002
Figure 3. Fault diagnosis system with sensors (FDSS) connected to more than one PV string.
Figure 3. Fault diagnosis system with sensors (FDSS) connected to more than one PV string.
Electronics 09 01087 g003
Figure 4. IoTBC circuit diagram. The circuit shows how IoTBC utilized the ESP-01 module and how it could be connected to control as many breaker units (relays) as required.
Figure 4. IoTBC circuit diagram. The circuit shows how IoTBC utilized the ESP-01 module and how it could be connected to control as many breaker units (relays) as required.
Electronics 09 01087 g004
Figure 5. Two strings of eight PV panels each and an IoTBC system with a granularity level of two PV panels.
Figure 5. Two strings of eight PV panels each and an IoTBC system with a granularity level of two PV panels.
Electronics 09 01087 g005
Figure 6. Flow chart showing the general operations in the tree search fuzzy NARX fault detection technique.
Figure 6. Flow chart showing the general operations in the tree search fuzzy NARX fault detection technique.
Electronics 09 01087 g006
Figure 7. The proposed fault detection algorithm: (a) stage 1, (b) stage 2, (c) stage 3.
Figure 7. The proposed fault detection algorithm: (a) stage 1, (b) stage 2, (c) stage 3.
Electronics 09 01087 g007aElectronics 09 01087 g007b
Figure 8. The developed NARX network. (a) The architecture network topology and (b) mathematical model. G is solar radiation; Tc is panel temperature; SCC is short circuit current; OCV is open-circuit voltage; bH is the bias for hidden layer; bO is the bias for output layer; x(t−1) is NARX exterior data at time t−1; y(t−1) is NARX past output values.
Figure 8. The developed NARX network. (a) The architecture network topology and (b) mathematical model. G is solar radiation; Tc is panel temperature; SCC is short circuit current; OCV is open-circuit voltage; bH is the bias for hidden layer; bO is the bias for output layer; x(t−1) is NARX exterior data at time t−1; y(t−1) is NARX past output values.
Electronics 09 01087 g008
Figure 9. Membership functions of the minor fault model: (a) power rate, (b) voltage rate.
Figure 9. Membership functions of the minor fault model: (a) power rate, (b) voltage rate.
Electronics 09 01087 g009
Figure 10. Membership functions of the moderate fault model: (a) power rate, (b) voltage rate.
Figure 10. Membership functions of the moderate fault model: (a) power rate, (b) voltage rate.
Electronics 09 01087 g010aElectronics 09 01087 g010b
Figure 11. Membership functions of the major fault model: (a) power rate, (b) voltage rate.
Figure 11. Membership functions of the major fault model: (a) power rate, (b) voltage rate.
Electronics 09 01087 g011
Figure 12. An example scenario for the tree search fault detection.
Figure 12. An example scenario for the tree search fault detection.
Electronics 09 01087 g012
Figure 13. Average hourly solar radiation and temperature distributions throughout March 2019 with moving average filter.
Figure 13. Average hourly solar radiation and temperature distributions throughout March 2019 with moving average filter.
Electronics 09 01087 g013
Figure 14. The experimental setup of a PV (Astronergy-CHSM6610P) system.
Figure 14. The experimental setup of a PV (Astronergy-CHSM6610P) system.
Electronics 09 01087 g014
Figure 15. The Sugeno fuzzy logic system output results (a) from 8:00 to 10:20, (b) from 10:40–13:20, (c) from 13:40–16:20.
Figure 15. The Sugeno fuzzy logic system output results (a) from 8:00 to 10:20, (b) from 10:40–13:20, (c) from 13:40–16:20.
Electronics 09 01087 g015aElectronics 09 01087 g015b
Table 1. The manufacturer specifications of the photovoltaic (PV) panels.
Table 1. The manufacturer specifications of the photovoltaic (PV) panels.
Astronergy-
CHSM6610P
Lorentz Mono-crystallineSharp’s-
NUS0E3E
Maximum power (Pm)225 W95 W180 W
Voltage at Pm (Vamp)29.76 V17.2 V23.7 V
Current at Pm (Iamp)7.55 A5.5 A7.6 A
Open circuit voltage (Voc)36.88 V20.6 V30 V
Short circuit current (Isc)8.27 A6.2 A8.37 A
Table 2. PV string fault classification.
Table 2. PV string fault classification.
Fault #SymbolModeFault Scenario
1FL1MinorOne faulty panel
2FL2MinorTwo faulty panels
3FL3MinorThree faulty panels
4FL4MinorFour faulty panels
5FL5MinorFive faulty panels
6FL6MinorLow shading
7FM1ModerateMedium shading
8FH1MajorHigh shading
9FL7MinorOne faulty panel + low shading
10FL8MinorTwo faulty panels + low shading
11FL9MinorThree faulty panels + low shading
12FM2ModerateFour faulty panels + low shading
13FM3ModerateFive faulty panels + low shading
14FM4ModerateOne faulty panel + med shading
15FM5ModerateTwo faulty panels + med shading
16FM6ModerateThree faulty panels + med shading
17FM7ModerateFour faulty panels + med shading
18FM8ModerateFive faulty panels + med shading
19FH2MajorOne faulty panel + high shading
20FH3MajorTwo faulty panels + high shading
21FH4MajorThree faulty panels + high shading
22FH5MajorFour faulty panels + high shading
23FH6MajorFive faulty panels + high shading
FL is Fault low, FM is Fault moderate; FH is Fault high.
Table 3. Fuzzy logic input regions.
Table 3. Fuzzy logic input regions.
SymbolFuzzy Classification RegionPartial Shading %Min VR (V)Max VR (V)Min PR (W)Max PR (W)
FL11-1.14441.14291.141.1638
FL221.33511.35961.33341.3578
FL331.60211.63151.60001.6294
FL442.00272.03942.00002.0367
FL552.67022.71922.66672.7156
FL66Low0.99871.01491.11211.7257
FL791.14141.15981.27101.9722
FL8101.33161.48291.35312.3010
FL9111.59801.77941.62382.7611
FM17Medium0.99041.09671.72013.1203
FM2121.99032.05852.2763.4603
FM3132.64932.75142.95314.6142
FM4141.18021.35071.95073.5663
FM515Low1.32111.38992.28744.1601
FM616Medium1.57041.71092.74535.1124
FM717Low1.95542.11013.46.343
FM818Medium2.62132.96564.55098.567
FH18High1.00121.20563.012450.425
FH2191.19021.40453.607658.0092
FH3201.39041.60914.201267.2024
FH4211.59012.49025.055181.0214
FH5222.50653.30236.3074101.085
FH6233.29055.50118.4091135.056
Table 4. Fuzzy logic rules.
Table 4. Fuzzy logic rules.
Mode#Rules
Minor1If PR is 1 and VR is 2, then the fault is 1 (1)
2If PR is 2 and VR is 3, then the fault is 2 (0.01)
3If PR is 2 and VR is 4, then the fault is 3 (0.01)
4If PR is 4 and VR is 5, then the fault is 4 (1)
5If PR is 5 and VR is 6, then the fault is 5 (1)
6If PR is 2 and VR is 1, then the fault is 6 (1)
7If PR is 3 and VR is 2, then the fault is 9 (1)
8If PR is 4 and VR is 3, then the fault is 10 (1)
9If PR is 5 and VR is 4, then the fault is 11 (1)
Moderate1If PR is 1 and VR is 1, then the fault is 7 (1)
2If PR is 1 and VR is 5, then the fault is 12 (1)
3If PR is 2 and VR is 6, then the fault is 13 (1)
4If PR is 1 and VR is 2, then the fault is 14 (1)
5If PR is 2 and VR is 3, then the fault is 15 (1)
6If PR is 3 and VR is 4, then the fault is 16 (1)
7If PR is 4 and VR is 5, then the fault is 17 (0.01)
8If PR is 5 and VR is 6, then the fault is 18 (1)
Major1If PR is 1 and VR is 1, then the fault is 8 (1)
2If PR is 2 and VR is 2, then the fault is 19 (1)
3If PR is 3 and VR is 3, then the fault is 20 (1)
4If PR is 4 and VR is 4, then the fault is 21 (1)
5If PR is 5 and VR is 5, then the fault is 22 (1)
6If PR is 6 and VR is 6, then the fault is 23 (1)
Table 5. Fuzzy classification test cases from the hardware implementation.
Table 5. Fuzzy classification test cases from the hardware implementation.
#PRVRFault ModeFuzzy Classification RegionDiagnosis Time in ms
11.82.0Minor44.02
21.41.1Minor94.03
35.32.7Moderate181.93
42.41.0Moderate73.04
51164.5Major231.82
680.63.0Major222.01
Table 6. Execution time and accuracy results from NARX network hardware implementation.
Table 6. Execution time and accuracy results from NARX network hardware implementation.
InputSimulationHardware
Implementation
#Solar
Radiation
(W/m2)
Temperature
(°C)
Open-
Circuit
Voltage
(V)
Short-
Circuit
Current
(A)
IVIVTracking
Time
(ms)
12001036.888.271.3531.261.3631.287.85
25002036.888.273.6730.403.6830.417.74
33501536.888.272.5330.942.5430.957.86
460025308.374.4923.634.4923.647.89
540020308.372.8524.112.8524.117.58
680030308.376.2322.696.2322.698.02
I is current; V is Voltage.
Table 7. Experimental fault test cases.
Table 7. Experimental fault test cases.
Test CaseStart TimeEnd TimeSolar RadiationTempFaulty Panel #Partial ShadingPRVR
18:008:1918012-25%1.481.02
28:208:3919012-50%2.611.08
38:408:5923012-75%7.621.17
49:009:1927013Normal Mode1.011.01
59:209:39220132-1.161.16
69:409:59220132,4-1.301.30
710:0010:19230141,3,5-1.601.60
810:2010:39240141,2,3,5-2.032.03
910:4010:59290141,3,4,6,8-2.712.71
1011:0011:1931015Normal Mode1.011.01
1111:2011:3940015325%1.611.17
1211:4011:59480151,325%1.861.37
1312:0012:19530161,2,338%2.761.65
1412:2012:39560161,2,3,438%3.442.04
1512:4012:59620161,2,3,4,538%4.552.74
1613:0013:1968016250%2.471.17
1713:2013:39630162,550%2.901.37
1813:4013:59590161,3,563%5.011.69
1914:0014:19580161,5,7,863%6.262.10
2014:2014:39590161,3,5,6,863%8.362.82
2114:4014:5953016Normal Mode1.011.01
2215:0015:1950016175%6.131.25
2315:2015:39470161,375%7.251.46
2415:4015:59400161,5,688%33.282.42
2516:0016:19320172,3,5,688%49.013.26
2616:2016:39290171,3,5,7,888%72.205.38

Share and Cite

MDPI and ACS Style

Natsheh, E.; Samara, S. Tree Search Fuzzy NARX Neural Network Fault Detection Technique for PV Systems with IoT Support. Electronics 2020, 9, 1087. https://doi.org/10.3390/electronics9071087

AMA Style

Natsheh E, Samara S. Tree Search Fuzzy NARX Neural Network Fault Detection Technique for PV Systems with IoT Support. Electronics. 2020; 9(7):1087. https://doi.org/10.3390/electronics9071087

Chicago/Turabian Style

Natsheh, Emad, and Sufyan Samara. 2020. "Tree Search Fuzzy NARX Neural Network Fault Detection Technique for PV Systems with IoT Support" Electronics 9, no. 7: 1087. https://doi.org/10.3390/electronics9071087

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop