You are on page 1of 13

IEEE TRANSACTIONS ON SMART GRID, VOL. 9, NO.

3, MAY 2018 1835

Quickest Fault Detection in Photovoltaic Systems


Leian Chen, Shang Li, and Xiaodong Wang, Fellow, IEEE

Abstract—Photovoltaic (PV) systems play an important role frequently updated input (local irradiance and temperature)
in contemporary electricity production as a ubiquitous renew- which is supposed to be synchronized with the instant local
able energy source. However, the performance of a PV system climate. The concept of remote monitoring is introduced which
is susceptible to unexpected faults that occur inside its various
components. In this paper, we propose a quickest fault detection replaces frequent local environmental measurement by climate
algorithm for PV systems under the sequential change detec- data from satellites [4], [5]. Though it reduces the local labor
tion framework. In particular, multiple meters are employed cost, the detection performance can degrade. Furthermore, the
to measure different output signals of the PV system. The model-based method needs to constantly adjust the model due
time correlation of the faulty signal and the signal correlation to the aging of the PV arrays. Overall, this approach is expen-
among different meters are exploited by a vector AR model in
modeling the post-change signal. In order to tackle the diffi- sive and labor-intensive which makes it less attractive for wide
culty that no prior knowledge about the fault is available, we adoption by the ever-growing deployment of PV systems.
develop a change detection algorithm based on the generalized An alternative approach to the model-based fault detection
local likelihood ratio test. Extensive simulation results demon- is the statistical methods where statistical properties of the var-
strate that the proposed method achieves high adaptivity and ious signals of PV arrays are exploited to perform detections.
fast detection in dealing with various types of faults in PV
systems. An ad-hoc method is proposed in [6] where given a series
of online samples, the PV string’s current deviation ratio is
Index Terms—Photovoltaic (PV) array, fault detection, autore- calculated and tracked over time to identify the occurrence
gressive model, generalized local likelihood, quickest detection.
of faults. And in [7], analysis of variance (ANOVA) and the
Kruskal-Wallis test are applied based on the measurements
I. I NTRODUCTION at the inverter. However, the method is specific to the fault
UE TO the rapid deployment of renewable energy plants,
D such as the photovoltaic (PV) systems, especially the
large-scale grid-connected PV systems for the generation
detection among PV strings or sub-arrays.
Recently, machine learning techniques have been applied
to the fault detection in PV systems. Typical algorithms
of electricity, the development of effective and economical such as feed-forward neural networks and support vector
techniques to ensure their long-lasting reliable performance machines are employed in [8] and [9]. In [10], a fault detection
becomes of paramount importance. Typical faults in a PV method based on extension theory with neural networks is pro-
system include the irradiance change, ground faults, line-line posed. However, the main problem with the machine learning
faults, arc faults and so on. The occurrence of faults can approach is the difficulty of obtaining a comprehensive set of
result in energy loss, system shutdown or even safety con- training data under both faulty and non-faulty conditions, since
cerns. Therefore, efficient online monitoring and quick fault in real systems the type and feature of the fault are unknown
detection/diagonosis become an essential component of the PV a priori. A graph-based semi-supervised learning algorithm is
system performance control. proposed in [11] to detect faults with small amount of labeled
data and sufficiently large number of unlabeled data to train
A. Fault Detection in PV Systems the model.
Most fault detection methods in the literature rely on the
prediction reported by a system model which acts as ref-
B. Contributions
erence data for comparison during the online monitoring
process [1]–[3]. This method typically generates an expected In this paper, we cast the PV fault detection problem
I-V curve for a specific PV system by a well-defined model, as a sequential change detection problem with unknown
and then it is compared with the measured operating cur- post-change distributions, and develop an efficient quickest
rent and voltage in real time. The model usually requires a detection algorithm to detect the fault. In contrast to other
existing detection methods for PV systems which require the
Manuscript received February 26, 2016; revised March 8, 2016, prior knowledge to train the system model or complicated
May 13, 2016, and July 9, 2016; accepted August 8, 2016. Date of publi-
cation August 17, 2016; date of current version April 19, 2018. This work configurations with multiple sensor readings from different
was supported in part by the U.S. National Science Foundation under Grant locations, our proposed approach does not need extensive field
CIF1064575, and in part by the U.S. Office of Naval Research under Grant works or additional equipments for model validation, but only
N000141410667. Paper no. TSG-00253-2016.
The authors are with the Department of Electrical Engineering, Columbia needs to monitor the commonly measured signals (power, volt-
University, New York, NY 10027 USA (e-mail: chen.leian@columbia.edu; age, etc.) of the PV array. We exploit both the time correlation
shang@ee.columbia.edu; wangx@ee.columbia.edu). of fault signals and the correlation among multiple simulta-
Color versions of one or more of the figures in this paper are available
online at http://ieeexplore.ieee.org. neously measured signals (e.g., voltage, current, power), by
Digital Object Identifier 10.1109/TSG.2016.2601082 applying a vector autoregressive (AR) model to describe the
1949-3053 c 2016 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
1836 IEEE TRANSACTIONS ON SMART GRID, VOL. 9, NO. 3, MAY 2018

faulty signal. Such a model manifests the fact that the burst
change due to faults can exert similar or even the same impact
on various components of the system at the same time.
A major challenge is that no prediction or prior knowledge
is available to help model the faulty signal. To that end, we
propose a sequential fault detection scheme based on the gen-
eralized local likelihood ratio (GLLR) test, which does not
need any prior knowledge on the change direction or ampli-
tude of the signals, in contrast to classical detection algorithms
Fig. 1. A grid-connected PV system.
such as the cumulative sum control chart (CUSUM) or the
sequential probability ratio test (SPRT) used in [12].
Extensive simulation results demonstrate that our proposed
algorithm outperforms the existing methods in detecting faults
in PV systems with less delay and higher adaptivity.
The remainder of this paper is organized as follows.
Section II gives an overview of the PV system and typical
faults of interest. In Section III, we develop our proposed
sequential fault detection algorithm based on the vector AR
model and the GLLR test. In Section IV, we apply the pro-
posed method in a simulated PV system and compare its
performance with some existing methods. Finally, Section V
concludes the paper. The Appendix contains some detailed
mathematical derivations.

II. OVERVIEW OF PV S YSTEMS


PV systems transform the energy from sunlight to gener-
ate electricity via an electronic process in semiconductors. As
illustrated in Fig. 1, a typical PV system for residential or Fig. 2. Typical faults in a PV array.
industrial electricity supply usually consists of the PV array
which generates electricity directly from sun irradiance, and
other follow-up components which are often referred to as 1) Shading: The PV system is extremely sensitive to the
“balance of component” (BOC). amount of sunlight it effectively receives and a serious fault
can occur when the surface of PV modules are blocked from
A. Components in PV Systems the sunlight. Even a single blocked cell or module will result
The PV array is composed of numerous PV cells which are in an obvious fluctuation in the output power and voltage. If
encapsulated into PV modules. The modules are first serially the neighboring unaffected cells in the same string can still
connected to accumulate the desired output voltage and then provide enough voltage, the current going through the shaded
connected in parallel to obtain more current. An m × n PV portion will break down the junctions inside and the power will
array is formed by m parallel strings of n serially-connected be absorbed and turned into heat. The conventional method to
PV modules. detect the failure by shading is based on tracking the perfor-
To utilize the electricity collected from PV arrays, the BOC mance of the maximum power point (MPP) in a running PV
transform and store the energy into the form which can be system [13]–[15].
directly delivered for daily applications. The BOC basically 2) Ground Fault: Ground fault is an unexpected connec-
include the mounting structures to fix and direct PV mod- tion between the circuits and the ground. The current will
ules towards the sun, the DC-AC converters (also known leak through the shortcut to the ground and results in low-
as inverters) for applications requiring AC, the batteries for ered output power and voltage. In the PV system, it is usually
energy storage, and a charger regulator for smooth operation caused by the damage to the protective insulation of normally
of the PV system. current-carrying conductors [16]. The U.S. National Electrical
Code (NEC) requires the installation of ground-fault detection
and interruption (GFDI) devices to protect the PV systems
B. Typical Faults in PV Systems with voltage more than 50V. Even with GFDI devices, the
In an ideal PV array, the total output power is the sum of ground fault can remain undetected when the input irradi-
individual module powers. However, in a real system, the per- ance is not strong enough or the ground fault current is below
formance is vulnerable to environmental changes or hardware the triggering threshold of GFDI devices [17]. In [18], the
failures and it always deviates from the predicted level. As spread spectrum time domain reflectometry (SSTDR) method
shown in Fig. 2, we next introduce four typical faults in a PV is applied to detect ground faults, which no longer relies on
arrary. the amplitude of fault current even with a noisy signal.

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
CHEN et al.: QUICKEST FAULT DETECTION IN PHOTOVOLTAIC SYSTEMS 1837

3) Line-Line Fault: A line-line fault is an unexpected short faulty signal and noise. Suppose that K DC output parame-
circuiting between two points of different potentials among PV ters are measured for the PV system monitoring, then we can
modules or arrays. Therefore, the electrical imbalance among obtain a post-processing signal yt ∈ RK that consists of the
PV arrays will result in overcurrent into the faulty string. Fig. 2 noise and possibly the disturbance signal. Specifically, before
shows both the intra-string and cross-string line-line faults. As the fault occurs at t = t0 , the post-processing signal consists
a conventional scheme to protect the system from line-line of the measurement noise ν t only, which is modeled as a white
faults, the overcurrent protection devices in the code of NEC Gaussian process, i.e.,
can only isolate the faulty circuits with large current under
yt = ν t ∼ N (0, Rν ), t < t0 , (1)
high illumination [19].
4) DC Arc Fault: The DC arc fault is triggered by a high where Rν is the K × K covariance matrix of the noise ν t ,
power discharge among different conductors. In the PV sys- which is positive-semidefinite and therefore can be written as
tem, it can act in either a series or parallel way. Series arcs Rν = VV T with V ∈ RK×K .
can often take place within a module, at the wired connection The post-processing signal after the fault occurs consists of
between modules or at the junction box. Parallel arcs occur the disturbance signal and the measurement noise, i.e.,
as two parallel conductors with different voltages are placed
close to each other. In addition to its negative effects on the yt = xt + ν t , t ≥ t0 , (2)
system efficiency, the arc faults lead to safety concerns by where xt ∈ RK is the disturbance signal caused by the faults.
starting a fire. Since the DC arc faults behave in a transient Different from the measurement noise ν t that is uncorrelated
way, it cannot be fully modeled as a change in the array. To in time, the faulty signal xt is correlated in time [24], which
detect such faults, existing methods are based on the spectrum is the basis for the proposed fault detection scheme in this
analysis of the voltage or current waveforms [20], [21]. On paper. In particular, we use an autoregressive (AR) model
the hardware side, arc fault circuit interrupters (AFCIs) which to characterize the statistical property of the faulty signal xt .
are installed on individual strings provide protections from arc The AR model has been employed to characterize the dis-
faults and advanced methods to improve its performance are turbance [25], [26] and inter-area oscillations [27] in power
studied in [22] and [23]. grid systems, the gear tooth fault signals in mechanical sys-
In this paper, we focus on the detection of faults due to tems [28], speech signals [29], etc. Specifically, the faulty
irradiance change (shading), line-line faults and ground faults signal in the PV system is modeled as
in a grid-connected PV system by monitoring the mean power p  
and mean voltage at the output of PV arrays (i.e., DC side). xt = μ̃ + Aj xt−j − μ̃ + ωt (3)
j=1
The basic idea is to monitor the statistical properties of the
observed signals over time and detect the change due to the where p denotes the order of the AR model, μ̃ ∈ RK is the
occurrence of faults in a quickest way. mean vector, ωt ∈ RK is the innovation noise vector, and Aj ∈
RK×K , j = 1, . . . p, are the matrix coefficients. Substituting (3)
into (2), we have
III. S EQUENTIAL FAULT D ETECTION p
yt = μ + Aj yt−j + ut , t ≥ t0 (4)
In this section, we first formulate the problem of sequential j=1
fault detection in the PV array based on the vector autore- p  p 
where μ  μ̃ − j=1 Aj μ̃ and ut  ν t − j=1 Aj ν t−j + ωt
gressive (AR) model. Then a quickest fault detection method p
∼ N (0, Ru ) with Ru = Rν + j=1 Aj Rν ATj + Rω reflecting the
based on the generalized local likelihood ratio (GLLR) test
impacts of both the disturbance signal and the measurement
is presented. We assume that the statistical properties of the
noise. Since Ru is positive-semidefinite, we can write Ru =
measurement signal (voltage, current or power) under normal
UUT with U ∈ RK×K .
conditions, i.e., before the fault occurs, are known (or avail-
The cross-validation method [30] is employed to justify the
able from empirical data) while properties of the signal after
validity of the above AR modeling of the disturbance signal.
the change are totally unknown.
The details are given in Section III where we observe that
the normalized root-mean-squared error (NRMSE) varies from
A. Vector AR Modelling of Faults 2% to 12% for different orders p, which demonstrates the
Before the fault occurs at some unknown time t = t0 , the high effectiveness of the AR model in characterizing the faulty
signal observed at the output of PV arrays consists of the signals in PV systems.
nominal (desired) DC output as shown in Fig. 2, which is
supposed to be a constant, and the measurement noise. After B. Sequential Change Detection Formulation
t0 , the DC output is corrupted by both the faulty signal and As given in (1) and (4), the statistical models for signals
noise. before and after the fault occurrence are the basis to formu-
Under the normal operating conditions, the DC outputs of late a change detection problem which aims at the quickest
a PV system, such as voltage, current and power, are all reaction to the sudden change [31], [32]. The basic strategy
constants that are known by design. Then we can subtract is to utilize the sequential measurements to achieve high time
these constant signals from the corresponding measurements resolution, and thus minimize the detection delay subject to
to obtain the post-processing signals that only comprise the the constraint on the false alarm period. At each time instant k,

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
1838 IEEE TRANSACTIONS ON SMART GRID, VOL. 9, NO. 3, MAY 2018

the detector takes the current measurement yk ∈ RK , and com- The detection procedure in (9)-(10) is equivalent to the
putes a decision statistic gk , based on which it decides whether CUSUM test where the decision statistics gk can be computed
or not to declare a change. The stopping time T is the instant recursively as [31]
that a change is first declared. The optimal decision rule is
obtained by finding the minimum expected delay after the gk = (gk−1 + sk )+ , (12)
change occurs at t = t0 , given that the false alarm period
does not exceed γ , i.e., where sk is defined in (11).
In contrast to (9) where all the measurements from the
infT supt0 Et0 {T − t0 |T ≥ t0 }, s.t. E∞ {T} ≥ γ , (5) beginning are stored and needed in computing the statistic
gk at each instant k, (12) implies that the detector will dis-
where (x)+  max{x, 0}, Et0 {·} denotes the expected delay
card all previous measurements and restart the calculation of
given the change occurs at t = t0 , and E∞ {·} corresponds
gk whenever gk ≤ 0. Thus, (12) can be rewritten as [31]
to the expectation when no change ever occurs. This statis-
tical framework is particularly useful for promptly detecting
Nk = Nk−1 {gk−1 > 0} + 1,
anomaly occurrence in a wide spectrum of applications. For 
+
instance, in [33] and [34], it is applied to detect and isolate gk = Sk−N
k
k +1
, (13)
the power system transmission line outages by drawing on
the generalized likelihood ratio test. In [35], this framework is where Nk is the number of measurements at time t = k since
applied to detect the false data injection attacks in smart grid. the last reset at time t = k − Nk , and {.} is the indicator
For the signal models in (1) and (4), we have the following function.
parameters before and after the change at t = t0 :
 T 2 2
θ 0  0, 0, . . . 0, vec(V)T ∈ RK+K p+K , t < t0 , C. Generalized Local Likelihood Ratio Test
 T 2 2 Though powerful, the classic approach of CUSUM cannot
θ 1  μT , vec(A)T , vec(U)T ∈ RK+K p+K , t ≥ t0 (6)
be directly applied to detect faults in PV systems since the
where A = [A1 , A2 , . . . , Ap ]. patterns of all possible faults in an integrated system cannot
Denoting Y kj  [yj , yj+1 , . . . , yk ], then we have the follow- be characterized and thus the parameters of the post-change
ing conditional joint probability density functions: distribution are not available to implement the CUSUM test.

An alternative method is the weighted CUSUM [31] which

fθ yt Y t−1
1 does not require the exact post-change parameters but requires
⎧ 

⎪ a prior distribution on the unknown parameters as a weighting


⎨ √ K1 exp − 12 ε Tt,θ 0 R−1
ν ε t,θ 0 , θ = θ0
(2π) (det Rν ) 
function to average the decision statistic. However, there is no
= (7)

⎩ √ K1 exp − 12 ε Tt,θ 1 R−1 well-justified prior distribution for PV faults, and moreover the
u t,θ 1 , θ = θ 1
ε
(2π ) (det Ru ) computational complexity due to high-dimensional integration
p
with εt,θ 0  yt , and ε t,θ 1  yt − μ − Aj yt−j . (8) is usually too high for real-time applications.
j=1
Here we adopt an adaptive approach based on the gener-
The occurrence of the faults can be detected via the follow- alized likelihood ratio test, where the post-change parameters
ing sequential change detection procedure [31] which is the θ 1 in (13) is replaced by its maximum likelihood estimate
optimal solution to (5) when the post-change parameter θ 1 is 
+
available: gk = supθ 1 Sk−N
k . (14)
k +1
gk = max Sjk , (9)
1≤j≤k Thus the key to obtaining the detection rule is to obtain gk
T = inf{k : gk ≥ h}, (10) based on the calculation of Sjk . In what follows, we present an
approximation to Sjk based on the local assumption, θ 1 → θ 0 ,
where h is a threshold, and


and the second-order expansion of Sjk .
j−1 i−1
fθ 1 Y kj Y 1 k fθ 1 yi Y i−p The basic idea of local detection is to approximate the deci-
Sjk  ln 
= ln 
sion statistic by linearly expanding around the pre-change
j−1 i−1
fθ 0 Y kj Y 1 i=j fθ 0 yi Y i−p parameter. Specifically, assuming the parameter change is
 k   small and denoting δ  θ 1 − θ 0 , we use the second-order
1 det(Rν ) 1 T −1 1 T −1
= ln + ε R εi,θ 0 − ε i,θ 1 Ru ε i,θ 1 . expansion of the conditional log-likelihood ratio in (11):
2 det(Ru ) 2 i,θ 0 ν 2
i=j   
si Sjk ≈ S̄jk
⎛ ⎞ ⎛ ⎞
(11)
 
i
k
∂s 1
k
∂ 2s
i
= δT ⎝ ⎠ + δT ⎝ ⎠δ
Given a pre-determined false alarm period γ , the threshold ∂θ 1 2 ∂θ ∂θ
1 1
T
is set by h ≈ ln γ [31]. In our case of fault detection, the i=j θ 1 =θ 0

i=j
⎞ θ 1 =θ 0
stopping time T is the first time that gk exceeds the thresh-  k − j + 1 T ⎝
k k
Wi ⎠
old, indicating the occurrence of the fault and terminating the = δT zi − δ δ, (15)
detection process. 2 k−j+1
i=j i=j

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
CHEN et al.: QUICKEST FAULT DETECTION IN PHOTOVOLTAIC SYSTEMS 1839

∂si
|θ =θ 0 and W i  − ∂ si T |θ 1 =θ 0 . Note that
2
where zi  ∂θ guideline to properly choose the parameters for a specific
1 1 ∂θ 1 ∂θ 1
Eθ 0 {W i } is actually the Fisher information of the parameter algorithm which is b in our case. The two distributions before
θ 0 , i.e., I(θ 0 ) = Eθ 0 {W i } = E{− ∂ ln fTθ |
2
}. and after the occurrence of a fault is detectable if and only if
∂θ ∂θ θ=θ 0 Eθ 0 {φk } < 0 < Eθ 1 {φk }, where φk is the kth sample statistic,
The explicit expressions of zi and W i are given in the 
Appendix. Note that since (15) is a quadratic function of which implies the statistic of N samples, S1N  N φ
k=1 k , shifts
(θ 1 − θ 0 ), the optimization problem can be analytically solved in different directions before and after the fault occurrence.
by replacing Sk−N k in (14) with its second-order approxima- With the specific model in this paper, where S1N cannot be
k +1 expressed by the sum of individual sample statistics, the corre-
θ 1 Sk−Nk +1 ≈ supθ 1 −θ 0 S̄k−Nk +1 . Based
k
tion S̄k−N , i.e., sup k k
k +1 sponding quantity is defined as Eθ {φk }  limN→∞ N1 Eθ {S1N }.
on the local assumption θ 0 ≈ θ 1 , as k − j + 1 → ∞,
With (19), we have

k   1  N
Wi Eθ φ̃k  lim Eθ S̃1
→ Eθ {W i } ≈ Eθ 0 {W i }. (16)
k−j+1 N→∞ N
 N 
i=j   b2
b  
From the Appendix, we have Eθ 0 {W i } in (17), shown at the = lim Eθ  z̃i  − , θ = θ 0 , θ 1 . (20)
N→∞ N   2
bottom of the page, with ⊗ denoting the Kronecker product. i=1
The commutation matrix K ∈ RK ×K is defined such that
2 2
We choose b such that Eθ 0 {φ̃k } < 0 < Eθ 1 {φ̃k }. Note that the
Kvec(X) = vec(X ) for any matrix X ∈ RK×K , and NK =
T
signal before the fault occurrence only contains the Gaussian
2 (IK 2 + K).
1
white noise, and it can be shown that for any positive value
We now assume that the parameter θ 0 before change is of b we have
known and that the parameter θ 1 after change is on the surface   
Eθ 0 φ̃k = −b2 2 < 0. (21)
of an ellipsoid centered at θ 0 , i.e.,

θ 0, t < t0 After the fault occurrence,
 ! we need to have ! 0 < b <
θ (t) = (18) limN→∞ N2 Eθ 1  N z̃  such that Eθ1 φ̃ k > 0.
θ : (θ −θ 0 )T I(θ 0 )(θ − θ 0 ) = b2 , t ≥ t0 i=1 i
2) Delay Minimization: The bounds of b above ensure the
where b > 0 is small. Based on the local assumption and detectability of the GLLR algorithm. Furthermore, we can find
large sample size, and decomposing I(θ 0 ) = BT B, (15) is a proper value of b which is aimed to minimize the detection
approximated as delay. In the asymptotic regime of large false alarm period γ ,
the expected delay Eθ 1 {T} can be approximated as [31]:
S̃jk  sup S̄jk
δT I (θ 0 )δ=b2 ln γ ln γ
Eθ 1 {T} ≈  =   .
 N  b2
T Eθ 1 φ̃k N Eθ 1  i=1 z̃i  −
k b
k−j+1 T limN→∞
≈ sup δ zi − 2 δ I(θ 0 )δ
2
δ T I (θ 0 )δ=b2 i=j (22)
T
k
k−j+1 2 It implies whenEθ 1 {φ̃k } attains its maximum, i.e., b =
= sup θ̃ z̃i − 2 b
T i=j limN→∞ N1 Eθ 1 { N i=1 z̃i }, which is within the bounds dis-
θ̃ θ̃ =b2
  cussed above, the expected detection delay
   is minimized. In
k  k−j+1 2 practice, we can evaluate limN→∞ N1 Eθ 1 { N i=1 z̃i } for a sys-
= b z̃i  − 2 b , (19)
i=j  tem of interest based on its specific signal properties to give
a guideline for the choice of b.
where θ̃ = Bδ, z̃i = (BT )−1 zi and the last equality follows
from |xT y| ≤ x · y . Note that z̃i involves only the observed IV. S IMULATION R ESULTS
signals and the covariance of the measurement noise Rν which
In this section, we apply the proposed algorithm to a
can be obtained under the normal operating condition.
simulated PV system to detect typical faults introduced in
Given the approximate decision statistics in (19), the detec-
Section II. The experiments are carried out for both the single-
tion rule of the proposed GLLR method is summarized by the
meter case (K = 1) and the multi-meter case (K = 2, 3). To
pseudo code in Algorithm 1.
demonstrate the effectiveness of the proposed algorithm, we
also compare its delay performance with that of existing meth-
D. Discussions ods, including the weighted CUSUM in [36], the SPRT in [12],
1) Statistical Detectability: The detectability of the sequen- the deviation test in [6], the support vector machine method,
tial change detection method introduced in [31] provides a and the semi-supervised learning method [11].

⎡ ⎤
R−1
ν 0 0
⎢ 0 Ip ⊗ Rν ⊗ R−1 0 ⎥
⎢ ν %    & ⎥
I(θ 0 ) = Eθ 0 {W i } = ⎢ T ⎥, (17)
⎣ −K V −1 ⊗ V −1 − IK ⊗ R−1 ν ⎦
0 0    
+4 V T ⊗ IK NK R−1 −1
ν V ⊗ Rν

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
1840 IEEE TRANSACTIONS ON SMART GRID, VOL. 9, NO. 3, MAY 2018

Algorithm 1 The Proposed Sequential Fault Detection Algorithm


1: Initialization: k ← 0, N ← 1, γ ← 0, S̃k−N+1 k ← 0. Set the parameters h and b. Obtain the covari-
ance
⎡ −1 of the measurement noise Rν = VV T
under the ⎤ operating condition. Calculate B, such that B B =
normal T
Rν 0 0
⎢ 0 I ⊗ R ⊗ R−1
0 ⎥
⎢ p ν ν %   −1 & ⎥
⎢ −1 T −1 ⎥.
⎣ −K V ⊗ V − IK ⊗ Rν ⎦
0 0    
+4 V T ⊗ IK NK R−1 ν V ⊗ Rν
−1

2: k
while S̃k−N+1 < h do
3: if S̃k−N+1 ≤ 0 then
k

4: Discard previous decision statistics. Reset: N ← 1, γ ← 0.


5: else
6: N ←N+1
7: end if ⎡ −1

  Rν
yk

 −1 ⎢ −1 ⎥
8: k ← k + 1. Take the next measurement yk . Obtain z̃k = BT ⎢ vec Y k−1
k−p ⊗ Rν yk ⎥.
⎣   

−1 T −1 −1
vec − V + Rν yk yk Rν V
T

9: γ ← γ + z̃k
10: k
Compute S̃k−N+1 ≈ b γ − N2 b2 .
11: end while
12: Trigger the fault alarm.

Fig. 3. The simulation system for faults induced by irradiance fluctuation, line-line faults, and ground faults.

A. Data Acquisition and AR Model Validation commonly monitored at the output of the MPPT controller,
In our experiments, we simulated different types of fault and three tracked parameters, i.e., mean power, mean voltage
occurrences in a grid-connected PV system constructed in and duty cycle, are displayed and recorded over time.
Matlab by applying the toolbox SimPowerSystems. As shown As we observed from the readings when the simulation sys-
in Fig. 3, the irradiance and temperature can be adjusted on the tem was under normal condition, the outputs did not exactly
input side, and inside the two dashed boxes are the optional stick to the theoretical value but fluctuated around it (e.g.,
circuits for simulating ground faults and line-line faults respec- readings of the mean power varied from 99.8kW to 100.8kW
tively. The remaining part of Fig. 3 includes the common while it was supposed to be 100kW). Hence the measurement
essential components to simulate a normal PV system. It con- noise was considered to be included at the output and no arti-
sists of two 100-kW PV panel arrays (each with 5 × 66 PV ficial noise was added. The covariance of the measurement
modules) as the input, a DC-DC boost converter, a three-phase noise Rν was calculated for each detection process based on
three-level voltage source converter (VSC), and a 25-kV grid the data under normal condition. The practical importance of
as the output. The maximum power point tracking (MPPT) this strategy lies in the fact that there are no justified ways to
controller using the “Incremental Conductance and Integral predict the measurement noise in various PV systems exposing
Regulator” technique is implemented. Considering the appli- to changeable conditions.
cation in a real large-scale PV system, we choose to utilize To evaluate the performance of the AR model in character-
the key indicators for the performance of PV arrays which are izing faulty signals, we employed the cross-validation method

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
CHEN et al.: QUICKEST FAULT DETECTION IN PHOTOVOLTAIC SYSTEMS 1841

TABLE I
NRMSE V ERSUS AR O RDER p The conventional SPRT method [12] is based on the sequen-
tial hypothesis test where the amplitudes of the signal before
and after the fault are empirically predetermined, and the
lower/upper thresholds (A/B) of the likelihood ratio are deter-
mined by the given false/miss alarm probabilities (α/β). In
particular, the null hypothesis H0 represents the normal state
where the post-processing signal has zero mean and variance
σ 2 , and two alternative hypothesis, H1 and H2 , denote two
possible faulty outcomes where the mean is shifted by +M
or −M. Given a sequence of n measurements, (y1 , y2 , . . . yn ),
the sequential log-likelihood ratio is calculated as

n
p(yi |Hk )  fk (yi )
n
and compared the model predicted output with the actual SPRT k = ln = ln , k = 1, 2 (23)
output. The normalized root mean squared error (NRMSE) p(yi |H0 ) f0 (yi )
i=1 i=1
performance with different AR orders is presented in Table I
which demonstrates the high suitability of the AR model in where the probability density function fk is usually assumed
our application. We also observed that the differences among to take the Gaussian form tomodel the electrical distur-
detection performances with p = 1, 2, 3, 4 and 5 in terms bance, yielding SPRT1 = σM2 ni=1 (yi − M2 ), and SPRT2 =
M n
i=1 (−yi − 2 ). The upper and lower thresholds to decide
M
of the average delays are very small, which implies that the σ2
order of the AR model in the proposed algorithm does not whether the null hypothesis is accepted or not are given as
β
have a significant impact. This can be explained by the fact A = ln( 1−α ) and B = ln( 1−β α ).
that in Algorithm 1, only the second element of z̃k in Line 8 In our simulations, the above SPRT method is carried out
is affected by the order p. at each time n with the thresholds A = 0 and B = m [31]:
Throughout the experiments, the sampling frequency fs = (1) H0 is accepted if SPRT k ≤ A. No alarm is triggered
104 Hz and a fifth-order AR model is applied for the GLLR and the algorithm is restarted by discarding the previous
detector (p = 5) with the parameter b = 0.5. As for the out- measurements.
put data fed to implement our detection algorithm, we only (2) H1 or H2 is accepted if SPRT k ≥ B. The alarm is
used the steady output after t = 0.5s which was considered triggered and the algorithm is restarted.
as normal operation after the simulation system completed its (3) Further measurements are taken if neither threshold is
initialization. For the simulation in the multi-meter case, we reached until a decision can be made.
utilized the mean power, the mean voltage, and the duty circle We are only interested in the delay associated with the
tracked at the output of a PV array. decision of fault occurrence (H1 or H2 ) while the decision
In our experiments, the first three types of faults introduced of normal operation (H0 ) is not of interest. In the compari-
in Section II were simulated to examine the performance of the son results below, the amplitude shift of the signal is set as
proposed algorithm while arc fault was not included due to the M = 0.04.
difficulty in modeling it. For each type of fault, we first illus- To apply the deviation test method [6] in a sequential
way, at time t, we first obtain the reference amplitude Vref t
trate the effectiveness of our scheme by showing its decision
statistics. Then, the average delays (measured by the number (considered as under normal operation) by calculating the
of samples) with varying false alarm periods are presented as maximum amplitude from L previous samples, i.e., Vref t =
a performance comparison with other existing methods.1 max{Vt−L , Vt−L+1 , . . . , Vt−1 }, where L is a window size. Then
the current sample’s amplitude Vt is compared with Vref t , and

the decision on fault occurrence is made if |Vt − Vref |/Vref


t t >
B. Existing Methods for Comparison
d, where d is the predetermined threshold which corresponds
For the weighted CUSUM with a decision threshold g, the to the sensitivity of the deviation test. If the deviation does
weighted log-likelihood ratio sk , which involves integrating not exceed the threshold d, the window will move forward by
out the parameter θ , cannot be expressed in closed-form. To L to get the new reference amplitude and the deviation test is
that end, we employ Monte Carlo method to numerically eval- repeated until the decision on fault occurrence can be made.
uate it. The Gaussian weighting function is adopted in our In our simulation, the average delays are calculated for both
simulation as in [36]. L = 50 and L = 200.
1 In this work, the number of samples are used as the proxy metric for Note that for comparisons of the delay performance among
the decision latency on the account of the following assumptions. First, the the methods above, the thresholds, i.e., h (GLLR), g (weighted
sampling interval Ts (i.e., period of time between two sampling instants) is CUSUM), m (SPRT) and d (deviation test) were adjusted to
assumed to be uniform. Therefore, given the number of samples N, the real obtain the same false alarm period.
time decision latency can be readily computed as N × Ts . In the numerical
comparison, it is assumed that all the methods are implemented based on the To compare with the machine leaning method, we imple-
same sampling interval, such that the number of samples can be used as a ment the two-class support vector machine (SVM) with a
meaningful decision latency metric. Second, the algorithm running time at Gaussian radial basis function kernel, and the semi-supervised
each sampling interval is neglected for all the mentioned methods. This is a
reasonable assumption by noting that our proposed scheme admits closed-form learning approach in [11]. In specific, in the off-line phase,
implementation, and the data processing is almost immediate. the machine learning model is trained by the data from the

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
1842 IEEE TRANSACTIONS ON SMART GRID, VOL. 9, NO. 3, MAY 2018

Fig. 5. Average detection delay for detecting faults due to irradiance


fluctuation.

Fig. 4(a) shows the behaviors of the mean power and the
mean voltage when the radiance begins to fluctuate at t = 1s
with the environment temperature 25◦ C. As the input irra-
diance linearly decreases, the mean power drops down in a
similar way while the mean voltage does not exhibit a dra-
matic decrease immediately until t ≈ 1.05s and an abrupt
change occurs at t ≈ 1.1s. The duty cycle begins to decrease
gently at t = 1s and remains steady after t ≈ 1.5s.
In Fig. 4(b), the decision statistics of various methods are
shown. For the single-meter case, the comparison between
the proposed GLLR algorithm and the weighted CUSUM is
presented when only the mean voltage is tracked. The GLLR
algorithm exhibits a quick response to the linear change with
short latency while the weighted CUSUM algorithm does not
show an obvious reaction until t = 1.4s. For the multi-meter
case, the method based on independent meters (where the
signals observed by different meters are characterized by indi-
vidual scalar AR models and the local statistics are aggregated
Fig. 4. Detection of faults due to irradiance fluctuation. to produce the total statistics) displays a better performance
than the single-meter case with an increase before t = 1.2s.
The proposed algorithm based on the vector AR model out-
simulated normal output signals and the faulty signals which performs the others with a sharper response at t = 1.1s. The
all include three attributes, i.e., the power, the voltage, and the results above imply that the proposed algorithm demonstrates
duty cycle. In the on-line phase, the measurements with three its prompt response to the output change.
attributes are sampled consecutively and fed into the model Then we evaluate the average delay performance of differ-
in sequence. The trained model will make a decision between ent methods as a function of the false alarm period (in terms
normal and fault on each sample. The fault alarm will be trig- of the number of samples). The delay was the average of 1000
gered as soon as the classifier first identifies a sample as a simulations. Fig. 5 shows the average delay performance for
faulty signal. The parameter c which controls the tolerance detecting the fault due to irradiance fluctuations. Given a spe-
to the misclassification for SVM, and the parameter α which cific false alarm period, the proposed correlated method has
controls the solution rule in the kernel function for the semi- the shortest average delays in general and the differences are
supervised learning are tuned to satisfy the target false alarm more obvious with larger false alarm periods. By employing
periods. multiple meters, the average delay is reduced. Overall, the
deviation test is the least efficient method and its performance
largely depends the window size.
C. Faults Due to the Irradiance Fluctuation
To simulate the irradiance fluctuation, we adjusted the input
parameter of the PV array by reducing the solar irradiance D. Line-Line Faults
from 1000 W/m2 to 250 W/m2 at t = 1s and remaining steady For the line-line fault and the ground fault below, we
for 0.9s. assumed standard test conditions (STC) of 1000 W/m2 solar

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
CHEN et al.: QUICKEST FAULT DETECTION IN PHOTOVOLTAIC SYSTEMS 1843

Fig. 7. Average detection delay for detecting line-line faults.

multi-meter cases, the decision statistics of the correlated


method exhibit an instant reaction to the abrupt disturbance. In
contrast, the behaviors of other three methods show a smaller
amount of increase in the decision statistics, which suggests
that the correlated GLLR algorithm is more sensitive to the
faults and makes prompt decisions.
The average detection delay performance for detecting the
line-line fault is shown in Fig. 7. Similarly, the correlated
GLLR method exhibits less detection delays. As the number
of meters increases, the average delay is further reduced.

E. Ground Faults
The ground fault occurred as the breaker was closed and the
output of PV panels was connected to the ground at t = 1s.
The breaker resistance and the snubber resistance were set as
Fig. 6. Detection of line-line faults. Ron = 10−4 and Rs = 1012 . The output behavior is shown
in Fig. 8(a), where both the mean power and the mean voltage
drop to zero at t = 1s and keep steady while the duty cycle
irradiance and 25◦ C PV module temperature. Since the line- increases to 1 at t = 1s. What differs from the previous two
line fault occurs when two points with different potentials are types of faults is that the outputs after the fault occurred do
connected with low resistance, in the PV panel, it can be the not change in a transient way or instantly return to normal,
connection between two PV modules in the same string or a which allows for sufficient time for the change detection.
cross connection among different strings/arrays. Here we con- As we can see in Fig. 8(b), in response to the abrupt output
sider the case that an accidental connection occurs between drop at instant t = 1s, both the single-meter GLLR algorithm
two PV arrays. In Fig. 3, we introduced a timed-breaker to and the weighted CUSUM reacts promptly at t = 1s while the
simulate the line-line fault such that the positive output of GLLR method exhibits a larger slope, indicating its quicker
the PV array above was accidentally connected to the nega- response to the change. In the multi-meter case, the correlated
tive output of the PV array below. The fault occurred when GLLR method still outperforms the other methods in general.
the breaker was closed at t = 1s with a breaker resistance Fig. 9 shows the average delay performance for detecting
Ron = 1 and a snubber resistance Rs = ∞. the ground fault. The proposed correlated GLLR method out-
Fig. 6(a) shows the system output. The fault results in a performs the other algorithms with less delays given the same
steep fall for both the mean power and the mean voltage false alarm period.
which immediately return to the normal level after t = 1s with Based on the results above, the advantage of the pro-
small fluctuations while the duty cycle gradually decreases and posed method lies in its high adaptivity, quick response
remains steady after t ≈ 1.2s. and stable performance to detect different types of faults.
As shown in Fig. 6(b), the single-meter GLLR method cap- In contrast, the SPRT and the deviation test require prior
tures the transient change in the mean power with a peak after knowledge to determine the model parameters which is not
t = 1s. However, the weighted CUSUM method does not always available in practice for various PV systems, and their
show a large peak in the decision statistics, which implies it is performance can vary wildly with different parameters and
not sensitive enough to capture the fault occurrence. For the various faults. Considering the unpredictable conditions in a

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
1844 IEEE TRANSACTIONS ON SMART GRID, VOL. 9, NO. 3, MAY 2018

online meters and exploits the correlation among them to


enhance the detection performance. The framework is based
on the vector AR modeling of the unknown faulty sig-
nals, and a generalized local likelihood ratio approach to
handle the unknown parameters. The performance of the
proposed detection method is simulated to detect typical
faults in PV systems and compared with several exist-
ing methods. The results on decision statistics and average
delays demonstrate its superior performance in making quick
detection decisions upon different faults. Furthermore, its
high adaptivity makes it suitable to be adopted in real PV
systems.

A PPENDIX
This section contains the derivations of zi and W i in (15).

A. Derivation of the First-Order Derivatives


i−1
Recall that A = [A1 , A2 , . . . , Ap ] and Y i−p =
[yi−p , yi−p+1 , . . . , yi−1 ]. Using (11) and (8), we write the part
of si that is a function of θ 1 as
1 1
si,θ 1  − ln[det(Ru )] − ε Ti,θ 1 R−1
u ε i,θ 1
2  2  
  p T  p 
1
= − yi − μ − Aj yi−j R−1 u y i − μ − A j y i−j
2
j=1 j=1
1% 
&T % 
&
= − yi − μ − Avec Y i−1 i−p R−1
u yi − μ − Avec Y i−p
i−1
2
1
= − ln[det(Ru )]
2
 * 
T + T
1
Fig. 8. Detection of ground faults. − y − μ − vec Y i−p ⊗ IK vec(A) R−1
i−1
2 i u
 * 
T + 
i−1
× yi − μ − vec Y i−p ⊗ IK vec(A) , (24)

where (24) follows from the fact that for matrices A ∈ Rk×l
and B ∈ Rl×m ,
 
vec(AB) = BT ⊗ Ik vec(A). (25)

Hence we have

∂si ∂si,θ 1
zi = =
∂θ 1 θ 1 =θ 0 ∂θ 1 θ 1 =θ 0
 T
∂si ∂si ∂si
= , , . (26)
∂μ ∂vec(A) ∂vec(U) θ 1 =θ 0
The three partial derivatives in (26) are computed as follows.
 *  + T
∂si 1
T
Fig. 9. Average detection delay for detecting ground faults.
= − ∂ yi − μ − vec Y i−1 ⊗ I K vec(A) R−1
u
∂μ 2 i−p
 * 
T + , -
real system, the proposed algorithm provides a solution with × yi − μ − vec Y i−1
i−p ⊗ IK vec(A) ∂μ
desired performance and wide applicability. ⎧  * 
T +  ⎫T

⎪ ∂ yi − μ − vec Y i−p ⊗ IK vec(A) ⎪
i−1 ⎪
(41) 1⎨ T −1

V. C ONCLUSION = − 2εi,θ 1 Ru
2⎪
⎪ ∂μT ⎪

⎩ ⎭
We have proposed a quickest detection approach to detect-
ing unknown faults in PV systems that makes use of multiple = R−1
u ε i,θ 1 . (27)

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
CHEN et al.: QUICKEST FAULT DETECTION IN PHOTOVOLTAIC SYSTEMS 1845

 *  + T   T


T
∂si 1 ∂s2i ∂vec − U−1 + R−1 −1
u ε i,θ 1 ε i,θ 1 Ru U
T
= − ∂ yi − μ − vec Y i−1 ⊗ IK vec(A) R−1
u =
∂vec(A) 2 i−p
 *  + , ∂vec(U)∂vec(U)T ∂vec(U)T

T   −1 
× yi − μ − vec Y i−1 ⊗ IK vec(A) ∂vec(A) (42) ∂Kvec U
i−p = −
⎧  *  +  ⎫T ∂vec(U)T

T   

⎪ ∂ yi − μ − vec Y i−1 ⊗ ⎪
⎪  
T 

1 ⎨ i−p I K vec(A) ⎬ (46)
= −K − U−1 ⊗ U−1
(41)
= − 2 × ε Ti,θ 1 R−1 
2⎪⎪
u
∂vec(A)T ⎪
⎪ −1

⎩ ⎭ % & ∂vec UUT U


 *  +T + IK ⊗ R−1 u ε i,θ 1 ε i,θ 1
T

T ∂vec(U) T
= εTi,θ 1 R−1 vec Y i−1
⊗ I K   
u i−p  

 

(42)
%  T −1 & ∂vec(U)  T  ∂vec UUT −1
= vec Y i−1 −1 = IK ⊗ UU + U ⊗ IK
i−p ⊗ IK Ru ε i,θ 1 %  T −1 &
∂vec(U)T ∂vec(U)T
 

(47)
= IK ⊗ UU
−1
= vec Y i−1i−p ⊗ Ru εi,θ 1 . (28)   % −1  −1 &
   + UT ⊗ IK −2NK UUT U ⊗ UUT
∂si ∂ − 12 log det UUT  −1

= % & ∂vec UUT


∂vec(U) ∂vec(U)
   + UT R−1u ε i,θ 1 ε i,θ 1 ⊗ IK
T
. (33)

T ∂vec(U)T
(45)
= − 12 ×2vec U−1   
 % & % −1  −1 &
 −1 (47)
= −2NK UUT U ⊗ UUT
∂ − 12 εTi,θ 1 UUT εi,θ 1
+
∂vec(U)
  
%  −1 &
 
(40) ∂vec UUT ∂ εTi,θ UUT εi,θ 1
= − 2 × ∂vec(U) ·
1 1   Hence we have
∂vec UUT
(43)   T  %   T −1  −1
&
= − 2 2 U ⊗ IK NK vec − UU
1
εi,θ 1 εTi,θ 1 UUT
  %   −1  −1
& ⎧ ⎫
(44)
⎨  ,
= − 12 2 UT ⊗ IK vec −2 · 12 UUT

εi,θ 1 εTi,θ 1 UUT ∂s2i ⎬
−1
−1  −1
Eθ 0 − = E = R−1
(25)
= vec UUT εi,θ 1 εTi,θ 1 UUT
R ν , (34)
U ⎩ ∂μ∂μT ⎭ u
θ 1 =θ 0
θ 1 =θ 0
(29) ⎧ ⎫
⎨ ∂s2i ⎬

Given (27)-(29), zi is locally approximated as Eθ 0 −
⎩ ∂vec(A)∂vec(A)T ⎭
⎡ ⎤ θ 1 =θ 0
−1  
  Ru
ε i,θ 1


T
⎢ ⎥

zi = ⎣ vec Y i−1
⊗ R −1
ε i,θ ⎥
i−1
= E vec Y i−p i−1
vec Y i−p ⊗ R−1 u
  
i−p u 1

⎦ θ =θ
−1 T −1 T −1   1 0
vec − U + Ru εi,θ 1 ε i,θ 1 Ru U
θ 1 =θ 0 

T
⎡ ⎤ i−1
−1
i−1
= E vec Y i−p vec Y i−p ⊗ R−1ν
  R y
ν
i
θ 1 =θ 0
⎢ i−1 −1 ⎥
=⎣⎢ vec Y ⊗ R yi ⎥. = Ip ⊗ Rν ⊗ R−1
  
i−p ν

⎦ (30)
⎧ ν , ⎫
(35)
−1 T −1 −1
vec − V + Rν yi yi Rν V
T
⎨ ⎬
∂s2i
Eθ 0 −
⎩ ∂vec(U)∂vec(U)T ⎭
B. Derivation of the Second-Order Derivatives θ 1 =θ 0
 
T 
,
Based on (30), we calculate the second-order derivative = Eθ 0 −K U−1 ⊗ U−1
in (17). First, the diagonal blocks are derived as follows.  

 * 
T +  − Eθ 0 IK ⊗ R−1 ε ε T
R −1
u i,θ 1 i,θ 1 u
∂R−1 y − μ − vec Y i−1
⊗ I K vec(A)  
% 
&
∂ 2 si u i i−p
= = −R−1
u . + Eθ 0 2 U ⊗ Ru ε i,θ 1 εTi,θ 1 NK R−1
T −1
u U ⊗ R −1
u
∂μ∂μT ∂μT  % &% 
&
 

(31) + Eθ 0 2 U Ru εi,θ 1 ε i,θ 1 ⊗ IK NK Ru U ⊗ R−1


T −1 T −1
u
∂ vec Y i−1 −1
i−p ⊗ Ru εi,θ 1 
T 
 
∂s2i ! −1

= = −K V −1 ⊗ V −1 − IK ⊗ R−1 ν Eθ 0 yi yi Rν
T
∂vec(A)∂vec(A)T ∂vec(A)T
 


−1 !
%  −1
&
= ∂ vec Y i−1
i−p ⊗ Ru + 2 V T ⊗ R−1ν Eθ 0 yi yi
T
NK Rν V ⊗ R−1 ν
 * 
T + ,- % ! &% 
&
× yi − μ − vec Y i−1 i−p ⊗ IK vec(A) ∂vec(A)T + 2 V T R−1
ν Eθ 0 yi yi ⊗ IK N K Rν V ⊗ Rν
T −1 −1

T 

 

* 
T +
−1 −1
= − vec Y i−1
i−p ⊗ R−1
u vec Y i−1
i−p ⊗ I K = −K V ⊗ V − IK ⊗ R−1 ν


T   % 
&
= −vec Y i−1 i−1
i−p vec Y i−p ⊗ R−1
u . (32) + 4 V T ⊗ IK NK R−1 ν V ⊗ Rν
−1
. (36)

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
1846 IEEE TRANSACTIONS ON SMART GRID, VOL. 9, NO. 3, MAY 2018

Next, following the product rule in (42), we obtain the cross vector function of y and y is a vector function of x. Then
partial derivatives and their expectations as: ∂z ∂y ∂z
= . (40)
  ,  
T , ∂x ∂x ∂y
∂ 2 si
Eθ 0 = E −Ru vec Y i−p ⊗ IK
−1 i−1
2) Product Rules for Vector Differentiation: Suppose β ∈
∂μ∂vec(A) T
θ 1 =θ 0
⎡ ⎤ Rm , a(β) ∈ Rn , c(β) ∈ Rp and A ∈ Rn×p does not depend on
β. Then [37]
⎢  
T
 ⎥  

−1 ⎢ i−1

= −Rν ⎢E vec Y i−p ⊗ IK ⎥
⎥ = 0, (37) ∂ a(β)T Ac(β) ∂a(β) ∂c(β)
⎣ θ 1 =θ 0 ⎦ = c(β)T AT + a(β)T A . (41)
   ∂β T
∂β T
∂β T
0
 , Suppose β ∈ Rm , A(β) ∈ Rn×p , D(β) ∈ Rq×r and C ∈
∂ 2 si Rp×q does not depend on β. Then [37],
Eθ 0
∂vec(U)∂μT
⎧ ⎡ 
∂vec(A(β)CD(β)) ∂vec(D(β))
⎨%
&  ∂vec ε T = (Ir ⊗ A(β)C)
 i.θ 1 ∂β T
∂β T
=E UT R−1 ⊗ R−1 ⎣ IK ⊗ ε i.θ 1
⎩ u u
∂μT   ∂vec(A(β))
+ D(β)T CT ⊗ In . (42)

⎤⎫ ∂β T
  ∂vec ε ⎬
+ ε i.θ 1 ⊗ IK
i.θ 1
⎦ θ 1 =θ 0 Applying the product rule, for an (n × r) matrix X, we
∂μT ⎭ have [38]
⎡⎛ ⎞  

∂vec XXT  
%
&⎢ ! ∂vec ε Ti,θ 1 = 2 X T ⊗ In N n , (43)
= V T R−1 ⊗ R−1 ⎢⎜ ⎟ ∂vec(X)
ν ν ⎣⎝IK ⊗ E ε i.θ 1 ⎠
   ∂μT
0
   where Nn ∈ Rn ×n is associated with the commutation matrix
2 2

constant
K n ∈ Rn ×n as Nn = 12 (In2 + K n ). For a square matrix X ∈
2 2
⎛ ⎞ ⎤
  Rn×n [38],
⎜ ! ⎟ ∂vec ε i.θ 1 ⎥
⎥ θ =θ = 0 , * +
+ ⎝E ε i.θ 1 ⊗IK ⎠ ⎦ 1 
   ∂μ T 1 0
Nn vec(X) = vec X+X T
.
0
   2
(44)
constant
(38) 3) Derivatives of a Logarithmic Determinant: If det(XXT )
 ,  T
∂ 2s i is positive so that ln det XX exists, then [38]
Eθ 0
∂vec(U)∂vec(A)T   
 ∂ ln det XXT −1

%
& = 2vec XXT X . (45)
= E − UT R−1 u ⊗ R−1
u
∂vec(X)
3*

T + ∂vecAT 
4) Derivatives of an Inverse Matrix: For a nonsingular
 matrix X ∈ RK×K [37],
i−1
× IK ⊗ ε i.θ 1 vec Y i−p  
∂vec(A)T ∂vec X−1 
T
* 
T +4 = −X−1 ⊗ X−1 . (46)
∂vec(X)
i−1
+ ε i.θ 1 vec Y i−p ⊗ IK

θ 1 =θ 0 Based on the rules (40), (43) and (46), for a K × K matrix U,
⎡⎛ ⎞
we have
%
&⎢⎜  
T ,⎟  −1

T −1 −1 ⎢⎜ i−1 ⎟ ∂vec UUT %   T −1 &


= − V Rν ⊗ Rν ⎢⎜IK ⊗ E ε i.θ 1 vec Y i−p ⎟ T −1
⎣⎝ ⎠ = −2N K UU U ⊗ UU . (47)
   ∂vec(U)T
0
⎛ ⎞⎤
 T ⎜  R EFERENCES
∂vec A 
T , ⎟⎥
⎜ ⎟⎥
× i−1
+ ⎜E ε i.θ 1 vec Y i−p ⊗ IK ⎟⎥ = 0. [1] A. Chouder and S. Silvestre, “Automatic supervision and fault detec-
∂vec(A) T ⎝ ⎠⎦ θ =θ tion of PV systems based on power losses analysis,” Energy Convers.
   1 0 Manag., vol. 51, no. 10, pp. 1929–1937, 2010.
0 [2] S. K. Firth, K. J. Lomas, and S. J. Rees, “A simple model of PV system
(39) performance and its use in fault detection,” Solar Energy, vol. 84, no. 4,
pp. 624–635, 2010.
[3] S. Silvestre, A. Chouder, and E. Karatepe, “Automatic fault detection
Thus, using (34)-(39), we obtain Eθ {W i } in (19). in grid connected PV systems,” Solar Energy, vol. 94, pp. 119–127,
Aug. 2013.
[4] A. Drews et al., “Monitoring and remote failure detection of grid-
connected PV systems based on satellite observations,” Solar Energy,
C. Formulas for Matrix Differentiation vol. 81, no. 4, pp. 548–564, 2007.
[5] M. Tadj, K. Benmouiza, A. Cheknane, and S. Silvestre, “Improving the
1) Chain Rule for Vector Differentiation: Let x, y, and z be performance of PV systems by faults detection using GISTEL approach,”
n × 1, r × 1, and m × 1 vectors, respectively. Suppose z is a Energy Convers. Manag., vol. 80, pp. 298–304, Apr. 2014.

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.
CHEN et al.: QUICKEST FAULT DETECTION IN PHOTOVOLTAIC SYSTEMS 1847

[6] H. Zhiqiang and G. Li, “Research and implementation of microcomputer [28] H. Endo and R. B. Randall, “Enhancement of autoregressive model
online fault detection of solar array,” in Proc. 4th Int. Conf. Comput. based gear tooth fault detection technique by the use of minimum
Sci. Educ. (ICCSE), Nanning, China, Jul. 2009, pp. 1052–1055. entropy deconvolution filter,” Mech. Syst. Signal Process., vol. 21, no. 2,
[7] S. Vergura, G. Acciani, V. Amoruso, and G. Patrono, “Inferential pp. 906–919, 2007.
statistics for monitoring and fault forecasting of PV plants,” in Proc. [29] R. Andre-Obrecht, “A new statistical approach for the automatic seg-
IEEE Int. Symp. Ind. Electron. (ISIE), Cambridge, U.K., Jun. 2008, mentation of continuous speech signals,” IEEE Trans. Acoust., Speech,
pp. 2414–2419. Signal Process., vol. 36, no. 1, pp. 29–40, Jan. 1988.
[8] S. Syafaruddin, E. Karatepe, and T. Hiyama, “Controlling of artificial [30] T. Hastie, R. Tibshirani, and J. H. Friedman, The Elements of Statistical
neural network for fault diagnosis of photovoltaic array,” in Proc. 16th Learning: Data Mining, Inference, and Prediction. New York, NY, USA:
Int. Conf. Intell. Syst. Appl. Power Syst. (ISAP), Hersonissos, Greece, Springer-Verlag, 2001.
Sep. 2011, pp. 1–6. [31] M. Basseville and I. V. Nikiforov, Detection of Abrupt Changes: Theory
[9] H.-C. Chang, S.-C. Lin, C.-C. Kuo, and H.-P. Yu, “Cloud monitor- and Application. Upper Saddle River, NJ, USA: Prentice-Hall, 1993.
ing for solar plants with support vector machine based fault detection [32] H. V. Poor and O. Hadjiliadis, Quickest Detection. Cambridge, U.K.:
system,” Math. Problems Eng., vol. 2014, 2014, Art. no. 564517, Cambridge Univ. Press, 2008.
doi: 10.1155/2014/564517. [33] T. Banerjee, Y. C. Chen, A. D. Dominguez-Garcia, and V. V. Veeravalli,
[10] M.-H. Wang, K.-H. Chao, P.-Y. Chen, and C.-T. Chen, “An intelligent “Power system line outage detection and identification—A quickest
fault detection method of a photovoltaic module array using wireless change detection approach,” in Proc. IEEE Int. Conf. Acoust. Speech
sensor networks,” Int. J. Distrib. Sensor Netw., vol. 10, no. 5, 2014, Signal Process. (ICASSP), Florence, Italy, May 2014, pp. 3450–3454.
Art. no. 540147. [34] Y. C. Chen, T. Banerjee, A. D. Domínguez-García, and V. V. Veeravalli,
[11] Y. Zhao, R. Ball, J. Mosesian, J.-F. de Palma, and B. Lehman, “Graph- “Quickest line outage detection and identification,” IEEE Trans. Power
based semi-supervised learning for fault detection and classification in Syst., vol. 31, no. 1, pp. 749–758, Jan. 2016.
solar photovoltaic arrays,” IEEE Trans. Power Electron., vol. 30, no. 5, [35] S. Li, Y. Yilmaz, and X. Wang, “Quickest detection of false data injection
pp. 2848–2858, May 2015. attack in wide-area smart grids,” IEEE Trans. Smart Grid, vol. 6, no. 6,
[12] M. Davarifar, A. Rabhi, A. Hajjaji, and Z. Daneshifar, “Real-time diag- pp. 2725–2735, Nov. 2015.
nosis of PV system by using the sequential probability ratio test (SPRT),” [36] X. He, M.-O. Pun, C.-C. J. Kuo, and Y. Zhao, “A change-point detection
in Proc. 16th Int. Power Electron. Motion Control Conf. Expo. (PEMC), approach to power quality monitoring in smart grids,” in Proc. IEEE Int.
Antalya, Turkey, Sep. 2014, pp. 508–513. Conf. Commun. Workshops (ICC), Cape Town, South Africa, May 2010,
[13] E. Koutroulis and F. Blaabjerg, “A new technique for tracking the pp. 1–5.
global maximum power point of PV arrays operating under partial- [37] H. Lütkepohl, New Introduction to Multiple Time Series Analysis.
shading conditions,” IEEE J. Photovolt., vol. 2, no. 2, pp. 184–190, Heidelberg, Germany: Springer, 2007.
Apr. 2012. [38] D. A. Turkington, Matrix Calculus and Zero-One Matrices. Cambridge,
[14] M. Seyedmahmoudian et al., “Simulation and hardware implementation U.K.: Cambridge Univ. Press, 2005.
of new maximum power point tracking technique for partially shaded
PV system using hybrid DEPSO method,” IEEE Trans. Sustain. Energy, Leian Chen received the B.E. degree in commu-
vol. 6, no. 3, pp. 850–862, Jul. 2015. nication engineering from Fudan University, China,
[15] N. A. Ahmed and M. Miyatake, “A novel maximum power point in 2013, and the M.S. degree in electrical engineer-
tracking for photovoltaic applications under partially shaded insolation ing from Columbia University, New York, in 2015,
conditions,” Elect. Power Syst. Res., vol. 78, no. 5, pp. 777–784, 2008. where she is currently pursuing the Ph.D. degree in
[16] J. P. Dunlop, Photovoltaic Systems, 2nd ed. Orland Park, IL, USA: electrical engineering. Her current research interests
Amer. Tech., 2010. broadly fall into statistical signal processing, and
[17] B. Brooks, “The ground-fault protection BLIND SPOT: A safety concern stochastic control with applications in sensor net-
for larger photovoltaic systems in the United States,” A Solar ABCs works and smart grids.
White Paper, Jan. 2012.
[18] M. K. Alam, F. Khan, J. Johnson, and J. Flicker, “PV ground-fault detec-
tion using spread spectrum time domain reflectometry (SSTDR),” in
Proc. IEEE Energy Convers. Congr. Expo. (ECCE), Denver, CO, USA, Shang Li received the B.Sc. degree in electronics
Sep. 2013, pp. 1015–1020. from Peking University, China, in 2010, and the
[19] Y. Zhao, J.-F. de Palma, J. Mosesian, R. Lyons, and B. Lehman, “Line– M.Phil. degree in electronic and computer engineer-
line fault analysis and protection challenges in solar photovoltaic arrays,” ing from the Hong Kong University of Science and
IEEE Trans. Ind. Electron., vol. 60, no. 9, pp. 3784–3795, Sep. 2013. Technology, Hong Kong, in 2012. He is currently
[20] X. Yao, L. Herrera, S. Ji, K. Zou, and J. Wang, “Characteristic study pursuing the Ph.D. degree in electrical engineering
and time-domain discrete- wavelet-transform based hybrid detection of with Columbia University, New York. His current
series DC arc faults,” IEEE Trans. Power Electron., vol. 29, no. 6, research interests broadly fall into statistical sig-
pp. 3103–3115, Jun. 2014. nal processing, online inference over networks, and
[21] C. Strobl and P. Meckler, “Arc faults in photovoltaic systems,” in Proc. online decision-making with applications in social
56th IEEE Holm Conf. Elect. Contacts (HOLM), Charleston, SC, USA, networks and smart grids.
Oct. 2010, pp. 1–7.
[22] K. J. Lippert and T. A. Domitrovich, “AFCIs—From a standards per- Xiaodong Wang (S’98–M’98–SM’04–F’08)
spective,” in Proc. IEEE IAS Elect. Safety Workshop (ESW), Dallas, TX, received the Ph.D. degree in electrical engineering
USA, Mar. 2013, pp. 57–61. from Princeton University. He is a Professor of
[23] J. Johnson et al., “Photovoltaic DC arc fault detector testing at electrical engineering with Columbia University,
Sandia National Laboratories,” in Proc. IEEE 37th Photovolt. Spec. New York. His research interests fall in the
Conf. (PVSC), Seattle, WA, USA, Jun. 2011, pp. 003614–003619. general areas of computing, signal processing, and
[24] I. Y. H. Gu, M. H. J. Bollen, and E. Styvaktakis, “The use of time- communications. He has published extensively in
varying AR models for the characterization of voltage disturbances,” in the above areas. He has authored a book entitled
Proc. IEEE Power Eng. Soc. Winter Meeting, vol. 4. Singapore, 2000, “Wireless Communication Systems: Advanced
pp. 2943–2948. Techniques for Signal Reception” (Prentice Hall,
[25] S. Li and X. Wang, “Cooperative change detection for voltage quality 2003).
monitoring in smart grids,” IEEE Trans. Inf. Forensics Security, vol. 11, He is an ISI Highly-Cited Author. His current research interests include
no. 1, pp. 86–99, Jan. 2016. wireless communications, statistical signal processing, and genomic signal
[26] S. Li and X. Wang, “Monitoring disturbances in smart grids using dis- processing. He was a recipient of the 1999 NSF CAREER Award, the
tributed sequential change detection,” in Proc. IEEE 5th Int. Workshop 2001 IEEE Communications Society and Information Theory Society
Comput. Adv. Multi Sensor Adapt. Process. (CAMSAP), Dec. 2013, Joint Paper Award, and the 2011 IEEE Communication Society Award for
pp. 432–435. Outstanding Paper on New Communication Topics. He has served as an
[27] D. Sidorov, D. Panasetsky, and V. Šmádi, “Non-stationary autoregressive Associate Editor for the IEEE T RANSACTIONS ON C OMMUNICATIONS,
model for on-line detection of inter-area oscillations in power sys- the IEEE T RANSACTIONS ON W IRELESS C OMMUNICATIONS, the IEEE
tems,” in Proc. IEEE PES Innov. Smart Grid Technol. Conf. Europe T RANSACTIONS ON S IGNAL P ROCESSING, and the IEEE T RANSACTIONS
(ISGT Europe), Gothenburg, Sweden, Oct. 2010, pp. 1–5. ON I NFORMATION T HEORY .

Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO ESPIRITO SANTO. Downloaded on September 03,2021 at 19:36:53 UTC from IEEE Xplore. Restrictions apply.

You might also like