DG System Using PFNN Controllers for Improving Islanding Detection and Power Control †

In this study, an intelligent controlled distributed generator (DG) system is proposed for tracking control and islanding detection. First, a DC/AC inverter with DC power supply is adopted to emulate a DG system and control the active and reactive power outputs. Moreover, in order to comply with the standard for interconnection with the power grid, a novel active islanding detection method is proposed for the inverter-based DG system. In the proposed active islanding detection method, a perturbation signal is designed to inject into the d-axis current of the DG system which causes the frequency at the terminal of the RLC load to deviate when the power grid breaks down. The feasibility of the proposed active islanding detection method is verified according to the UL 1741 test configuration. Furthermore, in order to improve the tracking control of the active and reactive powers of the inverter-based DG system, and to effectively reduce the detection time of islanding phenomenon, two probabilistic fuzzy neural network (PFNN) controllers are adopted to take the place of the conventional proportional-integral (PI) controllers. In addition, the network structure and the online learning algorithm of the adopted PFNN are presented in details. Finally, some experimental results of the proposed active islanding detection method using PFNN controllers are proposed to validate the effectiveness and feasibility of the tracking control and islanding detection.


Introduction
Nowadays, due to the growing awareness about environmental concerns and the limited supply of fossil fuels, renewable energy sources (RES) such as wind turbine, biomass, photovoltaic, fuel cell, etc., have been gaining wide attention in power system [1,2].Moreover, in the past decades, the manufacturing technology of distributed generators (DGs) based on RES has also matured.Thus, DG systems have become part of daily life.Owing to the increasing penetration of DG systems, the power system has become more complex and this raises several concerns.The most important issue of the DG systems connected to the power grid is the islanding phenomenon [3,4].Islanding occurs when DG systems and loads are disconnected from the power grid but continue to dispatch the generated power energy to the loads [5,6].In other words, when the load power and the generated power of the DG systems are balanced, i.e., the load power is fully supplied by DG systems, the islanding phenomenon occurs.Meanwhile, if the power grid breaks down, the frequency and voltage disturbances of DG systems can't be detected according to the IEEE 1547 or UL 1741 standard [7,8].The islanding phenomenon will endanger the power system and result in poor power quality and personnel safety hazards [9].Hence, in practice, the islanding phenomenon is an intolerable situation and isn't allowable in the power system.Moreover, according to the IEEE 1547 or UL 1741 standard, islanding detection is a mandatory property of DG systems to connect with the power grid [10].Therefore, the islanding phenomenon must be detected and the inverter-based DG systems must be disconnected from the power grid and stop dispatching the generated power energy [7,8].
In general, islanding detection methods are often categorized into three types [11]: (1) passive methods [12][13][14][15]; (2) active methods [16][17][18][19]; and (3) communication-based methods [20,21].Passive methods are based only on measuring the phase angle, voltage, frequency and harmonic distortion at the point of common coupling (PCC).The advantages of the passive methods are their simplicity and ease for the inverter-based DG system to detect any islanding phenomenon.The most common passive methods are the under/over voltage and under/over frequency methods [14], and the phase jump detection method.However, the serious drawback of the passive methods is that when the generated power of the inverter-based DG systems and the load power are balanced, a large non-detection zone (NDZ) will make the passive method fail [12,13].On the other hand, the active methods involve injecting a perturbation signal into the inverter-based DG systems via suitable control algorithms [3,4,6].Although the perturbation signals are injected into the inverter-based DG system which operates in grid-connected mode, the active islanding detection methods have no significant influence on the system [6].Moreover, when the power grid breaks down, the injected perturbation signals will cause the voltage and the frequency to deviate.Thus, the islanding phenomenon can be detected.The main advantage of the active method is lower NDZ compared with the passive method.The active methods include the active frequency drift [16], Sandia frequency shift [17], Sandia voltage shift [18], slip-mode frequency shift [19], etc.The communication-based islanding detection methods use the power line as a carrier for communications or equip other communication devices in the system for islanding detection.Although the communication-based islanding detection methods have negligible NDZ, these methods are expected to increase manufacturing costs [20,21].Among the different categories of islanding detection method, since the active methods have lower NDZ and manufacturing cost, they have been widely adopted in the inverter-based DG systems for the detection of islanding phenomena, hence many studies using active methods were proposed.In [2], an islanding detection method used reactive power perturbation and observation in the inverter being operated based on the indirect current control to detect islanding phenomena.In addition, an accurate and efficient islanding detection method based on mathematical morphology was developed and tested on a microgrid with DFIG sources in [3].
Though the proportional-integral (PI) controller is easily implemented and possesses the advantage of simple structure.Traditional PI controllers are not robust in coping with the system uncertainties such as modeling errors, parameter variations and external disturbances in real world applications [22,23].Thus, the applications of intelligent control such as fuzzy logic or neural network (NN) control in the industry and academia have attracted wide attention.Moreover, the concept of combining fuzzy logic with a NN has become a prevalent research subject.The fuzzy neural network (FNN) owns the following advantages: (1) the capability of approximating nonlinear systems and uncertainties [24]; (2) the capability of fuzzy reasoning in handling uncertain information; and (3) the capability of NN in learning, generalization, and parallel computation [25].Thus, many studies using FNN controllers have been proposed in the literature [26,27].The probabilistic neural network (PNN) was first proposed in 1990 by Specht [28].The PNN, which is regarded as a feed forward neural network, carries out the Parzen non-parametric probability density function (PDF) estimation and Bayes classification rule [29].The PNN can be considered as a classifier and it possesses the capability of fast learning and the ability to guarantee optimal classification performance [30].Owing to the merits of the PNN and FNN, the PFNN, which integrates the merits of PNN and FNN, has been proposed for different control problems in recent years [31,32].
In this study, a DC/AC inverter with DC power supply is adopted to emulate a DG system for the islanding detection and the tracking control of active and reactive power outputs.The three-phase inverter-based DG system is connected to the power grid with a RLC load [7,8] for islanding detection.Moreover, a novel active islanding method by injecting a perturbation signal, which is designed as the difference of frequency, into the d-axis current of the inverter-based DG system is proposed in this study.The d-axis current is adopted to control the reactive power output of the inverter-based DG system.When the inverter-based DG system is connected to the power grid, the injected perturbation signal will be close to zero.Hence, the injected perturbation signal will have no impact on the power quality and the inverter-based DG system.When the power grid breaks down, the perturbation of frequency will result in a rapid increase of the frequency difference, hence, it can accelerate the frequency to drift beyond the NDZ to achieve the purpose of islanding detection.Furthermore, for the purpose of improving the transient and steady-state responses of the active and reactive power outputs of the DG system and decreasing the detection time of the islanding phenomenon, the PFNN controllers proposed in [31,32] are adopted to take the place of the traditional PI controllers in this study.First, the structure of the inverter-based DG system will be illustrated in Section 2. The NDZ and the proposed active islanding method will be derived in Section 3. In addition, the network structure and online training algorithm using backpropagation (BP) of the adopted PFNN will be discussed in Section 4.Then, the integration of the proposed active islanding method and the adopted PFNN controller will be described in detail in Section 5. Additionally, the experimental results are provided to verify the feasibility and effectiveness of the proposed active islanding method with the adopted PFNN controller in Section 6.Finally, some conclusions are given in Section 7.
The developed active islanding detection method using a perturbation signal in this study is built upon our previous publications [33,34].The main differences between this study and the previous publications are the disturbance signals and intelligent controllers.Therefore, the theoretical analysis are completely different.In [33], the islanding detection method using wavelet fuzzy neural network (WFNN) controller was presented.In general, the more neurons adopted in the membership, rule and wavelet layers, better control performance can be obtained.However, increasing the number of neurons will increase the execution time.Hence, since the numbers of neurons of the WFNN adopted in [33] are 54 neurons, the online execution time of WFNN is long.Moreover, in [34], though the PFNN controller is adopted for islanding detection, it lacks a detailed theoretical analysis of the adopted method.Furthermore, since only one experimental result is provided to verify the performance, it is not enough to verify the robustness of the previous method [34].On the other hand, a simplified perturbation signal using the adopted PFNN controller for the tracking control and islanding detection is proposed in this study.In addition, the detailed theoretical analysis and more test scenarios are designed to validate the effectiveness and feasibility of the proposed active islanding detection method.

Inverter-Based DG System
The architecture of the inverter-based DG system for the tracking control and the proposed active islanding detection method is shown in Figure 1.The three-phase output voltages v u , v v , v w 110 Vrms of the inverter-based DG system are transformed to 220 Vrms by a transformer connected with the power grid with 60 Hz via static switch S1.Moreover, the parallel 2 kW RLC load is designed for the islanding detection according to the UL 1741 standard [8].The resonant frequency of the RLC load is designed to be 60 ± 0.1 Hz and the quality factor Q f is set to be 2.5 as defined in UL 1741 test configuration [8,10].Furthermore, to compute the active power and reactive power outputs of the inverter-based DG system and synchronizing with the three-phase power grid, the three-phase inverter currents i u , i v , i w and the three-phase output voltages v u , v v , v w are obtained and transferred to dq synchronous reference frame through the power calculation and phase-lock-loop (PLL) units.In addition, the following Equations ( 1) and (2) can express the active power P DG and reactive power Q DG outputs of the DG system: where v d and v q are the dq-axis voltages; i d and i q are the dq-axis currents.Since the PLL is adopted for synchronization, the currents are in phase with the voltages and resulted in v d = 0.
Energies 2019, 12, 506 4 of 20 where d v and q v are the dq-axis voltages; d i and q i are the dq-axis currents.Since the PLL is adopted for synchronization, the currents are in phase with the voltages and resulted in Then, the Equations ( 1) and ( 2) can be modified in the following: According to (3) and (4), the active power and reactive power are proportional to q i and d i control currents respectively.By using the active and reactive power errors as inputs, the control currents q i and d i can be obtained by the PI or PFNN controllers as shown in Figure 1

Non-Detection Zone
In this study, the NDZ for the islanding detection method is derived from the test circuit based on the UL 1741 testing requirement as illustrated in Figure 2 [8,33,34].The power flows throughout the test circuit are described in the following expressions: Then, the Equations ( 1) and ( 2) can be modified in the following: ) According to (3) and (4), the active power and reactive power are proportional to i q and i d control currents respectively.By using the active and reactive power errors as inputs, the control currents i q and i d can be obtained by the PI or PFNN controllers as shown in Figure 1.Moreover, the injected perturbation signal i dis is added to the control current i d for the islanding detection to generate the d-axis current command i * d and the control current i q is equivalent to the q-axis current command i * q .Final, the three-phase current commands i * u , i * v , i * w are computed through dq/abc coordinate transformation and sent to the analog current control and drive circuits for generating the pulse width modulation (PWM) switching signals T a , T b , T c of the insulated gate bipolar transistors (IGBTs).

Non-Detection Zone
In this study, the NDZ for the islanding detection method is derived from the test circuit based on the UL 1741 testing requirement as illustrated in Figure 2 [8,33,34].The power flows throughout the test circuit are described in the following expressions: Energies 2019, 12, 506 5 of 19 where P DG and Q DG are the active power and reactive power outputs of the inverter-based DG system; P load and Q load are the active power and reactive power of the RLC load; ∆P and ∆Q are the active power and reactive power of the power grid.
Energies 2019, 12, 506 5 of 20 where DG P and DG Q are the active power and reactive power outputs of the inverter-based DG system; load P and load Q are the active power and reactive power of the RLC load; P  and Q  are the active power and reactive power of the power grid.According to the IEEE 1547 or UL 1741 standard [7,8], when the test circuit is connected to the power grid and the demanded power energy of the RLC load is fully supplied by the inverter-based DG system, namely P = 0, Q = 0, it is most difficult to detect the islanding phenomenon.Then, when the power grid breaks down, the injected perturbation signal dist i shown in Figure 1 will result in 0  DG Q as follows: where g  is the angular frequency of the power grid; g V is the voltage of the RLC load.Then, the quality factor is substituted into (7), and ( 8) can be computed in the following: Moreover, since the resonant angular frequency o  equals to be , Equation ( 8) is rewritten as: where g f and o f are the frequency of g  and o  respectively.According to IEEE 1547 standard [7], the NDZ is acquired in the following: where max f and min f are the maximum and minimum frequency thresholds respectively; represent the lower limit and upper limit of the NDZ respectively.According to the IEEE 1547 or UL 1741 standard [7,8], when the test circuit is connected to the power grid and the demanded power energy of the RLC load is fully supplied by the inverter-based DG system, namely ∆P = 0, ∆Q = 0, it is most difficult to detect the islanding phenomenon.Then, when the power grid breaks down, the injected perturbation signal i dist shown in Figure 1 will result in Q DG = 0 as follows: where ω g is the angular frequency of the power grid; V g is the voltage of the RLC load.Then, the quality L is substituted into (7), and ( 8) can be computed in the following: Moreover, since the resonant angular frequency ω o equals to be √ 1/LC, Equation ( 8) is rewritten as: where f g and f o are the frequency of ω g and ω o respectively.According to IEEE 1547 standard [7], the NDZ is acquired in the following: where f max and f min are the maximum and minimum frequency thresholds respectively; f max ) represent the lower limit and upper limit of the NDZ respectively.

Novel Active Islanding Detection Method Using PI Controller
In this study, an injected perturbation signal i dist for islanding detection is proposed.In other words, the main objective of the proposed active islanding detection method is to accelerate the frequency f at RLC load terminal to drift beyond the NDZ by injecting the perturbation signal i dist into the d-axis current i d when the power grid breaks down.The control block of the proposed active islanding detection method is illustrated in Figure 3.The d-axis current command i * d comprises the injected perturbation signal i dist and the d-axis current i d .When the power grid breaks down, the magnitude of the injected perturbation signal i dist becomes stronger.The analyses of the injected Energies 2019, 12, 506 6 of 19 perturbation signal i dist using the traditional PI controller for the islanding detection are described in detail in the following: where k P and k I are the parameters of the PI controller; k t is the gain of the injected perturbation signal; f is the frequency at the terminal of the RLC load, and f g is the frequency of the power grid.
into the d-axis current d i when the power grid breaks down.The control block of the proposed active islanding detection method is illustrated in Figure 3.The d-axis current command * d i comprises the injected perturbation signal dist i and the d-axis current d i .When the power grid breaks down, the magnitude of the injected perturbation signal dist i becomes stronger.The analyses of the injected perturbation signal dist i using the traditional PI controller for the islanding detection are described in detail in the following: ) ( where P k and I k are the parameters of the PI controller; t k is the gain of the injected perturbation signal; f is the frequency at the terminal of the RLC load, and g f is the frequency of the power grid.According to ( 11) and ( 12), the current command i can be described as follows: Since the reactive power command Q is set to be zero, Equation ( 14) can be computed by using the Laplace transform as follows: Hence, DG Q s ( ) can be obtained as follows: Then, using the inverse Laplace transform and ( 16) can be calculated as follows: When the power grid breaks down without injecting the perturbation signal dist i , the RLC load is operated at resonant frequency 60 Hz and regarded as a resistive load.Therefore, the reactive According to (11) and (12), the current command i * d can be described as follows: Since the reactive power command Q * DG is set to be zero, Equation ( 14) can be computed by using the Laplace transform as follows: Hence, Q DG (s) can be obtained as follows: Then, using the inverse Laplace transform and ( 16) can be calculated as follows: When the power grid breaks down without injecting the perturbation signal i dist , the RLC load is operated at resonant frequency 60 Hz and regarded as a resistive load.Therefore, the reactive power output Q DG of the inverter-based DG system is close to be zero.Then, by substituting Q DG ≈ 0 into (10), equation ( 17) can be acquired in the following: In accordance with Equation ( 17), since the term shown in ( 9) is within the NDZ, the islanding phenomenon will be occurred in the system.Meanwhile, the frequency f at the terminal of the RLC load equals to the resonant frequency f o , and f min ≤ f o ≤ f max .Hence, in this scenario, the islanding phenomenon can't be detected by a passive islanding detection method such as the under/over frequency method.However, when the power grid breaks down with the injected perturbation signal i dist , the instantaneous change f − f g will cause the reactive power output Q DG to drift from zero.Hence, replacing (10) with ( 16), the injected perturbation signal i dist with the PI controller can accelerate the frequency to deviate from NDZ for both upper and lower limits which are described respectively in the following: Since the terms i * d , k P , k I , k t , f g and P load are positive values, the lower limit of NDZ represented in ( 18) is obtained with the following expression: Moreover, equation ( 20) can be simplified as f − A ≤ f g , in which A is a time-varying value.When the power grid breaks down, if the value f − A is smaller than f g , the system will deviate from the lower limit of NDZ.Hence, the islanding phenomenon can be detected and the inverter-based DG system stops dispatching the generated power energy.On the other hand, the upper limit of NDZ represented in (19) can be obtained as follows: Equation ( 21) can be also simplified as f − B ≥ f g , in which B is a time-varying value.If the value f − B is larger than f g , the system will deviate from the upper limit of NDZ.Therefore, the islanding phenomenon can be also detected and the inverter-based DG system stops dispatching the generated power energy to the RLC load.
The proposed injection perturbation method mainly injects the frequency difference signal f − f g into the d-axis current.When the power grid is connected, the error of frequency of the injected perturbation signal i dist is closed to be zero.Hence, the proposed active islanding detection method will have no impact on the power quality and the inverter-based DG system.

Probabilistic Fuzzy Neural Network
For the purpose of improving the transient and steady-state responses of the active and reactive power outputs of the inverter-based DG system and decreasing the detection time of the islanding phenomenon, the PFNN controllers proposed in [31,32] are adopted to take the place of the traditional PI controller in this study.The detailed introduction of the proposed PFNN is represented in the following:

Network Structure
The network structure of the adopted PFNN is represented in Figure 4 [31,32,34].The PFNN control owns five layers including the input layer, the membership layer, the probabilistic layer, the rule layer, and the output layer with two inputs and one output.Moreover, the basic function of each layer and the signal propagation are presented in the following: Input Layer (Layer 1): The relationships of the input and output of this layer are represented as follows: where N represents the Nth iteration.In this study, the inputs of the PFNN are e 1 (N) = e and e 2 (N) = .
e, and the input items are e = P * DG − P DG for the active power control and e = Q * DG − Q DG for the reactive power control.

Membership Layer (Layer 2):
A triangular function f m (x i ) is adopted as the receptive field function to reduce the computational requirements in this layer.The triangular function f m (x i ) is described as: where σ j is the center's width of the triangle; m j is the center of the triangle and µ j (x i ) is the output of the jth node of the ith input variable.
rule layer, and the output layer with two inputs and one output.Moreover, the basic function of each layer and the signal propagation are presented in the following: Input Layer (Layer 1): The relationships of the input and output of this layer are represented as follows: where N represents the Nth iteration.In this study, the inputs of the PFNN are ) ( is adopted as the receptive field function to reduce the computational requirements in this layer.The triangular function ) ( i m x f is described as: where j  is the center's width of the triangle; j m is the center of the triangle and  is the output of the jth node of the ith input variable.In this layer, another triangular function f p (µ j ) is chosen as the receptive field function and given in the following: where σ k is the center's width of the triangle; m k is the center of the triangle and P k (µ j ) is the output of the kth node of the jth input variable.In the Mamdani inference, the node itself implements the product operation to acquire the inference set in accordance with the rules as shown in (25).The probabilistic information is performed using the Bayes' theorem [35] in consideration of the group of fuzzy grade being independent variables as shown in (26).Thus, the relationships of the input and output of this layer are described as: where µ I l and P I l are the input of the rule layer; w jl and w kl are the connected weights which are all set to be 1; µ O l is the output of the rule layer.
Output Layer (Layer 5): In output layer, the input and the output are gained in the following: where ∆i = y(N) is the output of the PFNN; w l is the connected weight between the rule layer and the output layer.Moreover, y(N) = i * q for the active power control, and y(N) = i * d for the reactive power control and islanding detection.

Online Learning Using Backpropagation Algorithm
In accordance with the chain rule, the online learning algorithm of the adopted PFNN is performed for the derivative of an energy function with respect to a parameter of the network.Thus, in order to derive the online learning algorithm of the adopted PFNN, the energy function E is defined as: Then the online learning algorithm is introduced in detail in the following: Output Layer: The propagation of the error term is calculated as: Then, the updated amount of the connected weight is given in the following: where η 1 is the learning rate.Moreover, the connected weight w l is updated as follows: Energies 2019, 12, 506 10 of 19 Rule Layer: In this layer, the propagation of the error term is calculated as: Membership Layer: In membership layer, the error terms to be propagated are calculated as: According to the chain rule, the updated amounts of center and center's width of the triangle are computed respectively as follows: where η 2 and η 3 are the learning rates.The center of the triangle m j and center's width of the triangle σ j are updated in accordance with the following equations: m j (N + 1) = m j (N) + ∆m j (37) Owing to the uncertainties of the plant dynamic such as external disturbances and parameter variations, the exact calculation of the Jacobian of the controlled plant, ∂P DG /∂y(N) and ∂Q DG /∂y(N) can't be obtained.To solve the problem and increase the online learning speed of the connected weights, the delta adaptation law is adopted in the following:

Novel Active Islanding Detection Using PFNN Controller
The objective of the proposed active islanding detection method using the PFNN controller is to reduce the detection time of islanding phenomenon.Moreover, the output of the PFNN controller can be described in (28).Hence, the analyses of the d-axis current i d and d-axis current command i * d using the PFNN controller for the islanding detection are described in detail as follows: Since the reactive power command Q * DG is set to be zero, Q DG (t) can be obtained as follows: Then, substitute (42) into (10), the injected perturbation signal i dist with the PFNN controller can accelerate the frequency to deviate from NDZ for both upper and lower limits which are represented respectively in the following: Furthermore, (43) can be further represented as follows: Then, (45) can be simplified as f − C ≤ f g , in which C is a time-varying value.When the power grid breaks down, if the value f − C is smaller than f g , the system will deviate from the lower limit of NDZ.Hence, the islanding phenomenon can be detected and the inverter-based DG system stops dispatching the generated power energy to the RLC load.On the other hand, (44) can be also represented as follows: In addition, (46) can be also simplified as f − D ≥ f g , in which D is also a time-varying value.If the value f − D is larger than f g , the system will also deviate from the upper limit of NDZ.Therefore, the islanding phenomenon can be detected and the inverter-based DG system stops dispatching the generated power energy.Since the term 9 ∑ l=1 w l µ O l in (43) and ( 44) is the output of the adopted PFNN controller, the capabilities of the PFNN such as fast convergence and online learning will make (43) and (44) to deviate from the upper or lower limit of the NDZ rapidly when the power grid breaks down.

Design
The block diagram of 2 kW voltage source inverter (VSI) of DG system and the photos of the laboratory setups for the tracking control and islanding detection are shown in Figure 5.The block diagram of the personal computer (PC)-based control computer is provided in Figure 5a.The switch S1 represents the circuit breaker and a DC power supply with 2 kW 200V 10 A is adopted to emulate the DC source of a DG.The parallel 2 kW RLC load is regarded as a local load and the resonant frequency is designed to be 60 ± 0.1 Hz in accordance with the UL 1741 standard [8] for the islanding detection.The values of the parallel 2 kW RLC load are designed to be R = 6.05Ω, L = 6.42 mH and C = 1096 µF respectively.The output inductors L of the inverter are 10 mH and the DC-link capacitor is 3360 µF.Moreover, when the frequency of the power grid is 60 Hz, the RLC load is considered as a resistive load.If the power grid breaks down and the demanded power energy of the RLC load is fully supplied by the inverter-based DG system, without the efficacious islanding detection method, the frequency and output voltage of the inverter-based DG system will be retained as same as the power grid resulting in the islanding phenomenon.Thus, the designed test system can be implemented to verify if the islanding detection method is efficacious.Furthermore, the control algorithms, including the PFNN control, the PLL and the proposed active islanding detection method, are carried out by the Matlab & Simulink Real-Time Control package with 0.5 ms sampling time.Then, in order to implement the active and reactive power outputs of the inverter-based DG system and to detect the islanding phenomenon, the three-phase output voltages v u , v v , v w and the three-phase inverter currents i u , i v , i w are obtained by the sensor circuits and sent to the PC through the PCI-1716 analog/digital (A/D) control card.The generated current commands i * u , i * v , i * w are sent to the analog current control and drive circuits via PCI-1723 digital/analog (D/A) converter.Thus, the PWM switching signals T a , T b , T c of IGBTs for the tracking control and the islanding detection can be gained.Additionally, the photos of the laboratory setups are provided in Figure 5b.
the DC source of a DG.The parallel 2kW RLC load is regarded as a local load and the resonant frequency is designed to be 60 ± 0.1 Hz in accordance with the UL 1741 standard [8] for the islanding detection.The values of the parallel 2kW RLC load are designed to be R = 6.05  , L = 6.42 mH and C = 1096 F respectively.The output inductors L of the inverter are 10 mH and the DC-link capacitor is 3360 F.Moreover, when the frequency of the power grid is 60 Hz, the RLC load is considered as a resistive load.If the power grid breaks down and the demanded power energy of the RLC load is fully supplied by the inverter-based DG system, without the efficacious islanding detection method, the frequency and output voltage of the inverter-based DG system will be retained as same as the power grid resulting in the islanding phenomenon.Thus, the designed test system can be implemented to verify if the islanding detection method is efficacious.Furthermore, the control algorithms, including the PFNN control, the PLL and the proposed active islanding detection method, are carried out by the Matlab & Simulink Real-Time Control package with 0.5 ms sampling time.Then, in order to implement the active and reactive power outputs of the inverter-based DG system and to detect the islanding phenomenon, the three-phase output voltages

Experimental Results of Tracking Control
First, the experimental results of the inverter-based DG system using the PI controllers for the tracking control of the active power and reactive power outputs are provided to demonstrate the tracking performance of the system with the injected perturbation signal idist.In this study, the gains of the PI controllers are obtained by trial and error in order to achieve good transient and steady-state

Experimental Results of Tracking Control
First, the experimental results of the inverter-based DG system using the PI controllers for the tracking control of the active power and reactive power outputs are provided to demonstrate the tracking performance of the system with the injected perturbation signal i dist .In this study, the gains of the PI controllers are obtained by trial and error in order to achieve good transient and steady-state control performance.The resulted gains are k P = 2 and k I = 0.5, respectively.The experimental result of the inverter-based DG system using the PI controllers for active power command from 0 kW to 1 kW, 1 kW to 2 kW and reactive power command set to be 0 Var is provided in Figure 6.The responses of the active power output and active power command and the reactive power output and reactive power command are shown in Figure 6a,b, respectively.From the experimental result, the steadystate responses of the active power output at 1 kW and 2 kW can the tracking effectiveness as shown in Figure 6a.However, for the transient responses, since the traditional PI controllers are not robust in coping with the system uncertainties such as parameter variations and external disturbances, the transient responses of the active power output from 0 kW to 1 kW and 1 kW to 2 kW are poor.Moreover, the transient response of the reactive power output will also be seriously affected as shown in Figure 6b.

Experimental Results of Tracking Control
First, the experimental results of the inverter-based DG system using the PI controllers for the tracking control of the active power and reactive power outputs are provided to demonstrate the tracking performance of the system with the injected perturbation signal idist.In this study, the gains of the PI controllers are obtained by trial and error in order to achieve good transient and steady-state control performance.The resulted gains are kP = 2 and kI = 0.5, respectively.The experimental result of the inverter-based DG system using the PI controllers for active power command from 0 kW to 1 kW, 1 kW to 2 kW and reactive power command set to be 0 Var is provided in Figure 6.The responses of the active power output and active power command and the reactive power output and reactive power command are shown in Figure 6a,b, respectively.From the experimental result, the steadystate responses of the active power output at 1 kW and 2 kW can achieve the tracking effectiveness as shown in Figure 6a.However, for the transient responses, since the traditional PI controllers are not robust in coping with the system uncertainties such as parameter variations and external disturbances, the transient responses of the active power output from 0 kW to 1 kW and 1 kW to 2 kW are poor.Moreover, the transient response of the reactive power output will also be seriously affected as shown in Figure 6b.Hence, for the purpose of achieving superior transient and steady-state responses of the active and reactive power outputs of the inverter-based DG system, two online learning PFNN controllers are adopted to take the place of the traditional PI controller in the inverter-based DG system.The experimental result of the inverter-based DG system using the PFNN controllers is provided in Figure 7.The responses of the active power output and active power command and the reactive power output and reactive power command are shown in Figure 7a,b, respectively.Hence, for the purpose of achieving superior transient and steady-state responses of the active and reactive power outputs of the inverter-based DG system, two online learning PFNN controllers are adopted to take the place of the traditional PI controller in the inverter-based DG system.The experimental result of the inverter-based DG system using the PFNN controllers is provided in Figure 7.The responses of the active power output and active power command and the reactive power output and reactive power command are shown in Figure 7a,b, respectively.
Hence, for the purpose of achieving superior transient and steady-state responses of the active and reactive power outputs of the inverter-based DG system, two online learning PFNN controllers are adopted to take the place of the traditional PI controller in the inverter-based DG system.The experimental result of the inverter-based DG system using the PFNN controllers is provided in Figure 7.The responses of the active power output and active power command and the reactive power output and reactive power command are shown in Figure 7a,b, respectively.From the experimental results, the PFNN controller can eliminate the transient errors of the active power output and reactive power output more rapidly as shown in Figure 7a,b.Comparing to the PI controller, since the connected weights, mean and standard deviation of the membership functions are trained online, the adopted PFNN controller possesses fast convergence ability with adaptivity.Thus, the superior tracking control of the active power and reactive power outputs can be obtained for the inverter-based DG system using PFNN controllers.In addition, the injected perturbation signal i dist has no impact on the active and reactive power outputs of the inverter-based DG system.Therefore, the power quality can be also guaranteed.

Experimental Results of Islanding Detection
In order to verify the effectiveness of the proposed active islanding detection method, three test scenarios are designed in the following: (1) in Case1, the power grid is operated at 60 Hz; (2) in Case 2 the power grid is operated at 59.9 Hz, and (3) in Case 3, the power grid is operated at 60.1 Hz.When the S1 shown in Figure 1 is opened, the power grid breaks down.Moreover, the active power command P * DG is set to be 2 kW in the test scenarios to model the worst case [7,8].First, the experimental results of the proposed active islanding detection method using PI and the adopted PFNN controllers at case 1 are provided in Figure 8 to demonstrate the islanding detection.The responses of the frequency at the terminal of the RLC load, the active power output and the voltage at the terminal of the RLC load using PI controllers are shown in Figure 8a-c, respectively.The responses of the frequency at the terminal of the RLC load, the active power output and the voltage at the terminal of the RLC load using the adopted PFNN controllers are shown in Figure 8d-f, respectively.The power grid breaks down at 1 s.When the proposed active islanding detection method uses the traditional PI controllers, the inverter-based DG system continues to dispatch the generated active power to the RLC load until the time 1.8 s as shown in Figure 8a.
from the IEEE 1547 scope (59.3-60.5 Hz).In Figure 8b-c, the total time for the inverter-based DG system stops dispatching the generated power is about 0.8 s which meets the IEEE 1547 regulations within 2 s.On the other hand, when the proposed active islanding detection method adopts the proposed PFNN controllers, the islanding phenomenon can be detected immediately in 0.45 s as shown in Figure 8d.Compared to the experimental results of the proposed active islanding detection method using the traditional PI controllers operated at case 1 shown in Figure 8a-c, due to the advantages of the adopted PFNN controllers such as online learning and fast convergence, the responses of the proposed active islanding detection method using the adopted PFNN controllers can rapidly detect the islanding phenomenon shown in Figure 8d-f In addition, the experimental results of the proposed active islanding detection method using PI and the adopted PFNN controllers operated at case 2 are shown in Figure 9.
(d) After 1.8 s, the injected perturbation signal i dist is large enough to drift the frequency to deviate from the IEEE 1547 scope (59.3-60.5 Hz).In Figure 8b-c, the total time for the inverter-based DG system stops dispatching the generated power is about 0.8 s which meets the IEEE 1547 regulations within 2 s.On the other hand, when the proposed active islanding detection method adopts the proposed PFNN controllers, the islanding phenomenon can be detected immediately in 0.45 s as shown in Figure 8d.Compared to the experimental results of the proposed active islanding detection method using the traditional PI controllers operated at case 1 shown in Figure 8a-c, due to the advantages of the adopted PFNN controllers such as online learning and fast convergence, the responses of the proposed active islanding detection method using the adopted PFNN controllers can rapidly detect the islanding phenomenon shown in Figure 8d-f.In addition, the experimental results of the proposed active islanding detection method using PI and the adopted PFNN controllers operated at case 2 are shown in Figure 9.
(c) (f) . Experimental results of proposed active islanding detection method at case 1: (a) Frequency response using PI controllers; (b) Responses of active power output using PI controllers; (c) Voltage response using PI controllers; (d) Frequency response using adopted PFNN controllers; (e) Responses of active power output using adopted PFNN controllers; (f) Voltage response using adopted PFNN controllers.
In addition, the experimental results of the proposed active islanding detection method using PI and the adopted PFNN controllers operated at case 2 are shown in Figure 9.The responses of the frequency at the terminal of the RLC load, the active power output and the voltage at the terminal of the RLC load using PI controllers are shown in Figure 9a-c, respectively.The responses of the frequency at the terminal of the RLC load, the active power output and the voltage at the terminal of the RLC load using the adopted PFNN controllers are shown in Figure 9df, respectively.According to the experimental results as shown in Figure 9a,d, the detection time using the PI and the adopted PFNN controllers are 0.35 s and 0.3 s, respectively.The performance of the proposed active islanding detection method using the adopted PFNN controllers is also superior than PI controllers.Additionally, the experimental results using PI and the adopted PFNN controllers in Case 3 are provided in Figure 10.The time to detect the islanding phenomenon using PI and the adopted PFNN controllers at case 3 are 0.9 s and 0.7 s respectively.Final, the detection time of proposed active islanding detection method using different controllers in cases 1-3 are provided in Table 1.According to the experimental results shown in Figures 8-10 and Table 1, the detection time of the proposed active islanding detection method using the adopted PFNN controllers are all faster than the proposed active islanding detection method using the traditional PI controller.Therefore, the proposed active islanding detection method using PFNN controllers has The responses of the frequency at the terminal of the RLC load, the active power output and the voltage at the terminal of the RLC load using PI controllers are shown in Figure 9a-c, respectively.The responses of the frequency at the terminal of the RLC load, the active power output and the voltage at the terminal of the RLC load using the adopted PFNN controllers are shown in Figure 9d-f, respectively.According to the experimental results as shown in Figure 9a,d, the detection time using the PI and the adopted PFNN controllers are 0.35 s and 0.3 s, respectively.The performance of the proposed active islanding detection method using the adopted PFNN controllers is also superior than PI controllers.Additionally, the experimental results using PI and the adopted PFNN controllers in Case 3 are provided in Figure 10.The time to detect the islanding phenomenon using PI and the adopted PFNN controllers at case 3 are 0.9 s and 0.7 s respectively.Final, the detection time of proposed active islanding detection method using different controllers in cases 1-3 are provided in Table 1.According to the experimental results shown in Figures 8-10 and Table 1, the detection time of the proposed active islanding detection method using the adopted PFNN controllers are all faster than the proposed active islanding detection method using the traditional PI controller.Therefore, the proposed active islanding detection method using PFNN controllers has superior performance for the islanding detection due to the powerful robust ability of the PFNN controllers.
f, respectively.According to the experimental results as shown in Figure 9a,d, the detection time using the PI and the adopted PFNN controllers are 0.35 s and 0.3 s, respectively.The performance of the proposed active islanding detection method using the adopted PFNN controllers is also superior than PI controllers.Additionally, the experimental results using PI and the adopted PFNN controllers in Case 3 are provided in Figure 10.The time to detect the islanding phenomenon using PI and the adopted PFNN controllers at case 3 are 0.9 s and 0.7 s respectively.Final, the detection time of proposed active islanding detection method using different controllers in cases 1-3 are provided in Table 1.According to the experimental results shown in Figures 8-10 and Table 1, the detection time of the proposed active islanding detection method using the adopted PFNN controllers are all faster than the proposed active islanding detection method using the traditional PI controller.Therefore, the proposed active islanding detection method using PFNN controllers has performance for the islanding detection due to the powerful robust ability of the PFNN controllers.

Conclusions
This study successfully presented the development and implementation of the inverter-based DG system for the tracking control and the islanding detection.Moreover, a new active islanding detection method is proposed.Furthermore, the online trained PFNN controller is adopted to take the place of the traditional PI controller for the tracking control and the islanding detection.The

Figure 1 .
Figure 1. Circuit architecture of the inverter-based DG system.

Figure 1 .
Figure 1. Circuit architecture of the inverter-based DG system.

Figure 2 .
Figure 2. Power flowers of test circuit based on UL 1741.

Figure 2 .
Figure 2. Power flowers of test circuit based on UL 1741.

Figure 3 .
Figure 3.Control block of proposed active islanding detection method.

Figure 3 .
Figure 3.Control block of proposed active islanding detection method.
the sensor circuits and sent to the PC through the PCI-1716 analog/digital (A/D) control card.The generated current commands current control and drive circuits via PCI-1723 digital/analog (D/A) converter.Thus, the the tracking control and the islanding detection can be gained.Additionally, the photos of the laboratory setups are provided in Figure5b.

Figure 5 .
Figure 5. DG system for tracking control and islanding detection: (a) Block diagram of the PC-based control computer; (b) Photos of the PC-based laboratory setup.

Figure 5 .
Figure 5. DG system for tracking control and islanding detection: (a) Block diagram of the PC-based control computer; (b) Photos of the PC-based laboratory setup.

Figure 6 .
Figure 6.Experimental result of DG using PI controllers for active and reactive power control: (a) Response of active power; (b) Response of reactive power.

Figure 7 .
Figure 7. Experimental result of DG using PFNN controllers for active and reactive power control: (a) active power Response of; (b) Response of reactive power.

Figure 7 .
Figure 7. Experimental result of DG using PFNN controllers for active and reactive power control: (a) active power Response of; (b) Response of reactive power.

Figure 8 .
Figure 8. Experimental results of proposed active islanding detection method at case 1: (a) Frequency response using PI controllers; (b) Responses of active power output using PI controllers; (c) Voltage response using PI controllers; (d) Frequency response using adopted PFNN controllers; (e) Responses of active power output using adopted PFNN controllers; (f) Voltage response using adopted PFNN controllers.

Figure 9 .
Figure 9. Experimental results of proposed active islanding detection method at case 2: (a) Frequency response using PI controllers; (b) Responses of active power output using PI controllers; (c) Voltage response using PI controllers; (d) Frequency response using adopted PFNN controllers; (e) Responses of active power output using adopted PFNN controllers; (f) Voltage response using adopted PFNN controllers.

Figure 10 .
Figure 10.Experimental results of proposed active islanding detection method at case 3: (a) Frequency response using PI controllers; (b) Responses of active power output using PI controllers; (c) Voltage response using PI controllers; (d) Frequency response using adopted PFNN controllers; (e) Responses of active power output using adopted PFNN controllers; (f) Voltage response using adopted PFNN controllers.

Table 1 .
Detection time of proposed active islanding detection method using different controllers at case 1-3.

Table 1 .
Detection time of proposed active islanding detection method using different controllers at case 1-3.