Keywords

1 Introduction

The rapid progress in the distributed power generation sector has led to the establishment of microgrids, which in turn has accelerated the feasibility of power supply to locally spaced loads by distributed means. These microgrids are formed by clustering a number of power electronic devices that converts the dc power generated by photo voltaic cells, fuel cells, etc., to ac power for local utilization, thereby unleashing autonomous power systems. Overall, these microgrids provide substantial reliability and efficiency to the underlying power system but these are prone to power system transients like faults and voltage dips due to their inherent negligible physical inertia. So, a proper fault detection and protection mechanism is a crucial aspect for autonomous microgrid operation [1, 2].

Now, a microgrid can operate in a grid connected mode or an islanded mode. For a grid connected mode, voltage and frequency of the microgrid are primarily determined by the main grid [3]. Whereas, in case of a microgrid operating in an islanded mode, majority of the faults arises from within the microgrid arises, and hence, fault detection becomes difficult. In a larger network of interconnections, the magnitude of fault current is very high and so, faults are easily detectable [4]. Whereas in an inverter-based microgrid operating in an islanded mode fault detection is difficult as the inverters are only able to supply fault currents that are only twice of the rated value [5]. Thus, traditional over current relay-based protection systems are inadequate for fault detection. To overcome this difficulty, different solutions were proposed. This can be solved by enhancing the fault current by increasing the inverter capacity or by incorporating energy storage elements [6]. Also suitable feature vectors can be determined and trained with machine learning tools for identifying fault conditions. Statistical machine learning tools like support vector machines (SVMs) and principal component analysis (PCA) have shown competence as fault localization [7, 8]. In this paper, we have utilized an artificial neural network-based learning model using multifractal features of fault events for fault segregation.

The paper is organized in the following sections. Section 2 provides a dynamic model for an inverter-based microgrid. An autonomous microgrid model comprising of three inverters and domestic loads interconnected by a network has been developed. In Sect. 3, the underlying theory for the non-stationary fault events, their fractal parameter extraction and classification using neural network is discussed. Results obtained from different kinds of simulated faults are discussed in Sect. 4. Finally, the possibility of integration of the suggested analysis to real-time systems is discussed in Sect. 5.

2 Dynamic Model of the Inverter-Based Microgrid

The microgrid system considered in this work for fault prediction consists of three distributed generation system (DG). Each DG is operated based on the droop-based power sharing that consists of a VSI on common reference frame [9]. The detailed model of a single VSI is shown in Fig. 1a which mainly consists of the inverter, output filter, power-sharing controllers, voltage and current controllers. The power-sharing controllers control both the real and imaginary power using droop control of frequency and voltage, respectively, as shown in Fig. 1b. They mainly replicate the governor action as in the case of a synchronous generator. The active power droop control works with the main principle of decreasing active power with the increase in frequency and vice versa [5]. Also, the reactive power droop control works with a similar principle of decreasing reactive power with the increase in the voltage. The conventional controller used is a linear PI controller The voltage controller along with all its feedback and feed-forward elements with its control action conventionally achieved using PI controllers can be traced from [9].

Fig. 1
figure 1

Block diagram of a voltage source inverter model and b power controller

2.1 Output LC Filter Coupling Inductance Model

The main purpose of the LC filter is that it can remove the high frequency harmonics. Also the LC filter prevents the chance of resonance with the network and load side if chosen according to the system [5]. The coupling inductance mainly reduces the coupling between the active and reactive power components. A single inverter is thus a combination of the DG, power controllers, current and voltage controllers and output LC filter and coupling inductances. The inverter model simulated includes three voltage source inverter of same rating. The three inverters are interconnected through the two transmission lines which are considered as network. The transmission lines are considered to be short transmission lines and are emulated using suitable R-L branch. The inverters are connected to three loads as shown in Fig. 2 with the help of the network. The load considered in this work is resistive load. The inverter parameters are used for the simulation as given in Table 1 and have been adopted from [4, 10].

Fig. 2
figure 2

Complete test system used

Table 1 Inverter parameters used for simulation [10]

2.2 Methodology and Simulated Faults

Different fault conditions for the microgrid model are simulated and are shown in Table 2. The output current of the three inverters is recorded in dq reference frame and have been used for MFDFA analysis for multifractal feature extraction and fault localization and detection using neural networks. The time series generated by the load currents during normal operation and during different fault conditions and are obtained by the taking the cumulative sum of fluctuations. The time series is analyzed by MFDFA for extracting the multifractal features. The singularity spectrum width of the multifractal spectrum and the Hurst exponent quantifying the long-run correlations are the extracted features of the time series which is tested with analysis of variance (ANOVA) validating the efficacy of the features’ and fed to artificial neural network (ANN) model for fault detection.

Table 2 Different fault conditions simulated

3 Theory

3.1 Multifractal Detrended Fluctuation Analysis (MFDFA)

The time series generated by the load events are analyzed using MFDFA. The steps involved in MFDFA are summarized as follows. Let us consider y(n)to be a non-stationary, nonlinear time series of length N [11]. The mean value of the time series is given by Eq. (2).

$$ \bar{y} = \frac{1}{N}\sum\limits_{n = 1}^{N} {y(n)} $$
(1)

The integrated time series is computed by subtracting the mean value from the signal as shown in Eq. (2).

$$ X(i) = \sum\limits_{n = 1}^{i} {[y(n) - \bar{y}} ]\forall i \in 1,2, \ldots N $$
(2)

The next step consists in dividing the time series into Ns non-overlapping segments, where s denotes the segment length and Ns = int(N/s). For N not divisible by s, a section of data sequence is left out. For including the left out data, the procedure is reiterated from the reverse end and thus rendering 2Ns number of segments. Using least square polynomial approximation, the variation in local trends for each of the 2Ns is computed for each sequence fragments as shown in Eq. (3).

$$ F^{2} \left( {s,\nu } \right) = \frac{1}{s}\sum\limits_{i = 1}^{s} {\left\{ {X\left[ {(\nu - 1)s + i} \right] - x_{\nu } \left( i \right)} \right\}}^{2} {\text{where}}\quad v = 1,2 \ldots N_{s} $$
(3)

where x ν (i) signifies the least square fitted value in the νth segment. By taking the average of 2Ns segments the qth order fluctuation function, Fq(s) is computed, where q is the scaling index as given by Eq. (4).

$$ F_{q} \left( s \right) = \left\{ {\frac{1}{2Ns}\sum\limits_{\nu = 1}^{2Ns} {[F^{2} (s,v)]^{0.5q} } } \right\}^{1/q} $$
(4)

Since, Fq(s) depends on both the values of q and time scale s, its variation is analyzed using a log–log plot. It is computed for all time-scale range [10]. When the y(n) is long-range power-law correlated, then Fq(s) versus s shows a power-law variation with a slope as function of H(q) as shown in Eq. (6). For H(q) being the generalized Hurst exponent

$$ F_{q} \left( s \right) \propto s^{H(q)} $$
(5)

For monofractal time series, the scaling behavior of F2(s,ν) is similar for all segments and for all values of q which means that H(q) is independent of q. But, for a multifractal time series, H(q) is a function of q and the Hurst exponent is taken for q = 2, and the scaling characteristics of segmental fluctuation is described by H(q) for all values of q.

3.2 Multifractal Spectrum

The long-range correlations of a monofractal time series are characterized by a single Hurst exponent with the multifractal scaling exponent τ(q) showing linear dependency on the scaling exponent q. The multifractal scaling exponent τ(q) is related with the generalized Hurst exponent H(q) by the relation shown in Eq. (6).

$$ \tau \left( q \right) = qH\left( q \right){-}1 $$
(6)

While a multifractal time series is a set comprising of multiple Hurst exponents and there is nonlinear dependency of τ(q) on q as reported in [11]. With the help of Legendre transform, the relationship between singularity spectrum f(α) and scaling exponent τ(q) is obtained as given in Eq. (8).

$$ \alpha = {\text{d}}\tau /{\text{d}}q \; \& \; f\left( \alpha \right) = q\alpha - \tau \left( q \right) $$
(7)

where α is the singularity exponent and f(α) signifies the fractal dimension of series subset characterized by α. Mathematically, α and f(α) can be expressed in terms of H(q) as given by Eq. (8)

$$ \begin{aligned} \alpha & = H\left( q \right) + \, q \left( q \right) \\ f\left( \alpha \right) & = q\left[ {\alpha - H\left( q \right)} \right] + \, 1 \\ \end{aligned} $$
(8)

The singularity spectrum f(α) of the multifractal spectrum determines the long-range correlation property of a time series. The width of the multifractal spectrum quantifies the multifractality of the spectrum. A large spectral width is associated with a high degree of multifractality and vice versa. Since H(q) is independent of q for a monofractal time series; hence, the multifractal spectrum width will be zero [12].

3.3 Artificial Neural Network (ANN)

ANN inspired from biological computations consists of a multilayered weighted combination of signals coming from a cluster of neural units called neurons. The self-learning tuning of the weights of the network paths with different activation functions coupled with a threshold function limit false triggers before propagating to other neurons provides an excellent nonlinear feature learning methodology where traditional learning fails. Mathematically, it is expressed as Eq. (10).

$$ y_{i} = \sum\limits_{m = 1}^{L} {\left[ {\omega_{ij} \sigma \left( {\sum\limits_{k = 1}^{n} {h_{jk} i_{ok} + \varphi_{vj} } } \right) + \theta_{wi} } \right]} \;{\text{where}}\;i = 1,2 \ldots n $$
(10)

where i ok and y i are the output currents and output of the ANN and h jk and w ij are hidden and output layer weights. The weights of these interconnections are updated in the learning process. Details about the application of ANN to microgrid fault prediction can be found in [8, 13, 14].

4 Observations

4.1 Line Faults in Inverters

Line faults in an inverter are marked by increase in output current to the saturation level. Faults occurring for a very short duration are difficult to detect with an ANN. Number of inputs and outputs of the ANN is 6 which is same as that of the number of output currents (Iod1, Ioq1, Iod2, Ioq2, Iod3, Ioq3) while the optimum number of hidden layers is determined by prior iterations and maximizing the accuracy. More details can be found in [8].

4.2 MFDFA Features

During normal operation of a microgrid, all the load currents exhibit anti-persistent (H(q = 2) < 0.5) and similar generalized Hurst exponent scaling behavior and multifractal spectrum characteristics. But when fault occurs in any inverter, the load lines supplying current to the fault areas gets interrupted and as such their fractal nature changes. These changes are manifested in the Hurst exponent and spectrum width values. Analyzing these changes in multifractal features of the load currents and fault localization is done in the microgrid by a neural network model. The generalized Hurst exponent curves and the multifractal spectrum of the normal and fault load currents are shown in Figs. 3 and 4, respectively.

Fig. 3
figure 3

Generalized Hurst exponent curves of the Iod’s a normal operation b line fault at DG3

Fig. 4
figure 4

Multifractal spectrum of the Iod’s a normal operation b line fault at DG3

5 Conclusions

The inherent fractal nature of the time series generated during normal operation and fault events of a microgrid has been characterized by MFDFA analysis. The Hurst exponent and the multifractal spectrum parameters are trained with ANN for fault detection in microgrids. Also, the extreme behavior of windowed fractal analysis for finding the exact instant of fault localization is being studied for autonomous operation and integration to real systems.