PLL Based Energy Efficient PV System with Fuzzy Logic Based Power Tracker for Smart Grid Applications

This work aims at improving the dynamic performance of the available photovoltaic (PV) system and maximizing the power obtained from it by the use of cascaded converters with intelligent control techniques. Fuzzy logic based maximum power point technique is embedded on the first conversion stage to obtain the maximum power from the available PV array. The cascading of second converter is needed to maintain the terminal voltage at grid potential. The soft-switching region of three-stage converter is increased with the proposed phase-locked loop based control strategy. The proposed strategy leads to reduction in the ripple content, rating of components, and switching losses. The PV array is mathematically modeled and the system is simulated and the results are analyzed. The performance of the system is compared with the existing maximum power point tracking algorithms. The authors have endeavored to accomplish maximum power and improved reliability for the same insolation of the PV system. Hardware results of the system are also discussed to prove the validity of the simulation results.


Introduction
The steady increase in demand for power supply with overexploited decreasing conventional sources increases the necessity for alternative energy sources. Photovoltaic (PV) array, using solar energy as a source, is a better option as it provides a pollution-free, easily available, clean energy source [1]. For a smart grid application, PV array can be used as a source of energy in conjunction with the existing conventional source and wind energy. A photovoltaic system converts photon energy from sunlight into electricity. With PV panel prices dropping and the desire to "go green" expanding, demand for PV power is improving. As the efficiency of a PV array is much less, it becomes imperative to extract the maximum available power out of it. Various maximum power point tracking (MPPT) techniques are available to extract maximum power available from the solar energy [2][3][4][5][6]. According to maximum power transfer theorem, if the source impedance is equal to the load impedance, maximum energy can be transferred from the source to the load. The inclusion of DC-to-DC converter with MPPT technique varies the equivalent impedance, thereby matching the load resistance to achieve maximum power transfer. The perturb and observe (P&O) method is the simplest method. Maximum power control is achieved by forcing the derivative of the power to be equal to zero under power feedback control [7,8]. But this method produces oscillations closer to the maximum power point, thereby raising the response time. Incremental conductance (INC) process traces the maximum power by observing the conductance. It uses / and compares it with / , thereby adjusting the step size to track the maximum power point of PV array [9,10]. Incremental resistance (INR) is similar to INC except that it compares / with / for tracking maximum power point [11]. Fuzzy logic control is an artificial intelligence technique which can be used to track the maximum power point to improve the performance of the system. As there is fuzziness in the input for PV array like change in insolation, temperature, and shading effect during the entire day, this logic is more suitable than the other methods for tracking maximum power point. In addition, this system does not require the knowledge of the exact model [12][13][14][15][16][17]. To transmit the power at the required voltage and current level from the PV array to the load, boost converter is used [18]. The interleaved softswitching boost converter (ISSBC) shares the input current all along each phase, thereby decreasing the current rating of the switching device. The ripple content present in the input current and the output voltage and the size of the passive components are also reduced in this converter [19,20]. The problems caused due to EMI, switching loss, and diode recovery loss can be overcome by using the resonant soft-switching technique [21][22][23][24]. This technique does have certain limitations. The fidelity of the PWM signal to the analog input is determined by the linearity of the ramp-wave signal. The performance of the comparator determines speed, accuracy, and jitter. Phase-locked loops (PLLs) synchronize a local voltage-controlled oscillator (VCO) to an external frequency input by means of an electronic servo loop [25]. It is used with converter to achieve constant operating frequency over a wide output voltage range, eliminating the dependence of switching frequency on duty cycle or voltage conversion range [26].
In the present work, to improve the dynamic performance of the PV system, cascaded converter topology is used with intelligent power tracker and modified control strategy. The first conversion stage uses the fuzzy logic controller to track the maximum power. The simulation is performed for three algorithms in comparison with fuzzy based MPPT whereas in the literature comparison of fuzzy logic with any one algorithm is available. The phase-locked loop is used in the cascaded three-stage converter to extend the soft-switching region to minimize the losses. The interleaved soft-switching technique available in the literature is extended in the present work for three-stage converter for improved efficiency. In addition, the power handling capability is improved and the ripple content at the output is reduced.
The PLL control scheme prevents the operating frequency of the circuit from being lower than the resonant frequency. In this work, phase-locked loop is implemented to maintain the required frequency of operation with reduced ripple and to increase the soft-switching range of operation. The PV array was mathematically modeled using the basic equations to match the actual parameters of the nonlinear model. The performance of the system is compared with the other conventional algorithms. The simulation is performed using the Simulink software and the hardware results are found to be in line with the simulation results.
This paper is organized as follows. Section 2 presents system description. Mathematical model of solar PV module is discussed in Section 3. In Section 4, fuzzy logic based maximum power tracker used in the present work is discussed. Section 5 presents design of three-stage soft-switching boost converter. Section 6 describes the phase-locked loop for extending the soft-switching region. Section 7 deals with results and discussions. Finally, Section 8 summarizes the work done as conclusions.

System Description
Block diagrammatic representation of the PLL based energy efficient PV system with intelligent power tracker and cascaded converter is shown in Figure 1. The system consists of PV array acting as the source which converts light energy into electrical energy. In this work, both feedforward and feedback control are performed. Maximum power point tracking is performed as feedforward control by using fuzzy logic controller for the first converter in the cascaded network. Driving pulses to the switches are generated using the fuzzy based power tracking algorithm. Three-stage soft-switching boost converter (TSSSBC) is used for the second stage of cascaded converter to match the load requirements. Pulses for the The Scientific World Journal 3 Tolerance (%) +5 Maximum system voltage (V) 1000 TSSSBC are 120 ∘ phase shifted from each other. A three-stage boost converter is designed, developed, and modified from a normal boost converter. As the number of stages in the boost converter is increased, the size of the inductor is reduced, so that it could be made compact and reduction in ripple content could also be achieved. The phase delay for each stage is given by 360/ , where is the number of stages. As the number of stages increases, the quality of regulated output increases, but, at the same time, the complexity of the circuit also increases.
To ensure reduced complexity with reduced ripple content, a three-stage boost converter is used in the present work. To ensure accurate terminal voltage with lower ripple content, feedback control with phase-locked loop is proposed in the present work.

Mathematical Model of Solar PV Module
Use of equivalent circuits makes it possible to model the characteristics of a PV cell [27][28][29]. A single diode model for PV array is considered in this work. The model for PV panel is developed as per the specifications given in Table 1 and the same is considered for simulation using the MATLAB/Simulink package. The test setup of the PV panel is shown in Figure 2.
The basic equation that mathematically describes thecharacteristics of an ideal PV cell is where PV,cell is the current generated by the PV panel and is the diode current. Substituting for , we get where 0 is the reverse saturation current. The basic equation does not represent the actual characteristic of the array and hence requires inclusion of additional parameters of equivalent series ( ) and parallel resistance ( ). Hence, where is the thermal voltage. The photon generated current is also influenced by the temperature according to the following equation: where PV, is the light generated current at nominal condition; Δ = − , where and are actual and nominal temperatures in kelvin; is the irradiation on the panel; and is the nominal irradiation. The diode saturation current 0 is given by where is the energy gap and 0, is the nominal saturation current: with , being the thermal voltage at . The saturation current 0 is further improved by including voltage and current coefficients: where and are the voltage and the current coefficients, respectively. and are the terminal voltage and current. The relation between and is given by 4 The Scientific World Journal By using the above equations, the PV model is implemented with MATLAB using the Sim Power system block set.

Intelligent Maximum Power Tracker
A DC-DC boost converter is used in the first stage of circuit to boost the low voltage from PV array. The first step in the design of this converter is to determine the duty ratio The next step is to determine the ripple in the inductor current The maximum output current is The maximum switch current is The value of inductor is chosen based on the following equation: The output capacitor value for a desired output voltage ripple is To track the maximum power to be transferred from the PV array to the load, maximum power point tracking algorithm is embedded in the first conversion stage. The tracking algorithms are based on the principle that maximum power will be transferred to load when source impedance is equal to load impedance. Out of the many available algorithms, the artificial intelligence technique based FLC for maximum power tracking is considered in this work. Fuzzified natural behavior of change in the insolation level and partial shading effects due to sudden change in climate are considered in the proposed work. Hence, this method proves more advantageous than other methods. This technique can be applied to a system, even if the mathematical model of the system process is not defined for the input-process-output model. For the system under consideration, the fuzzy subsystem fits in deciding the duty ratioof the TSSSBC. To define the control surfaces, each input variable and each output variable are decomposed into a set of fuzzy regions. The control variables considered in the fuzzy set that semantically shows the concept associated with it are error ( ), change in error (Δ ), and the solution variable being the control signal (Δ ). Seven membership functions, PB, PM, PS, ZE, NS, NM, and NB, are used to describe them. The formula used to calculate the error ( ) at th instant is given by Change in error (Δ ) is given by Mamdani method was chosen for fuzzy inference. For fuzzification, triangular membership function is chosen for error ( ), change in error (Δ ), and control signal. For the case of the Positive Medium (PM), the membership function is Similar equations are also defined for the rest of the input and output membership functions.
To define the behavior of control surfaces, rule base is framed.
Below is an example for the rule base framed.

Rule I. IF error ( ) is PB AND change in error (Δ ) is PB THEN control signal is NB.
Thus, each entry in the table framed is a rule and there are 49 rules that form the knowledge repository of the fuzzy logic controller.
The flowchart for the proposed FLC controller is shown in Figure 3. Inputs were fuzzified in the fuzzification process and rule base is framed for this work to produce the required control signal. The centroid method of defuzzification which is the most prevalent and physically appealing of all the defuzzification methods is used to obtain the control signal to drive the pulse for the converter. The formula used is where * is the defuzzified value of duty ratio. Defuzzified signal is the control signal used to vary the duty ratio to extract maximum power from array.

Design of Three-Stage Soft-Switching Boost Converter
Based on the working of single switch soft switching boost converter (SSSSBC), the three-stage soft switching boost The Scientific World Journal 5   converter (TSSSBC) has been developed and analyzed with eight modes [20]. Figure 4 shows the equivalent circuit diagram for various modes of operation of SSSSBC. For TSSSBC, the same is applicable with a phase shift of 120 ∘ for the MOSFET gate pulse in each arm. The formulae for ( ), ( ), ( ), and ( ) during various modes of operation are summarized in Table 2.
The circuit diagram for three-stage soft-switching boost converter (TSSSBC) is shown in Figure 5. In the proposed TSSSBC, the three main inductors ( 1 , 2 , and 3 ) and resonant inductors ( 1 , 2 , and 3 ) of reduced magnitudes (1/3rd of the original values) are considered. Driving pulses for the three switches were phase shifted by 120 ∘ .
By introducing soft-switching technique, the switching loss is minimized. Hence, the total loss is minimized with the TSSSBC.

Phase-Locked Loop
Block diagram of the phase-locked loop (PLL) considered in this work to enhance the performance of the system under consideration is shown in Figure 6.
A PLL is a closed-loop feedback structure that sets fixed phase relationship between its output phase and the phase of a reference. It tracks the phase changes that are within the bandwidth of the PLL.
A PLL comprises several components, namely, phase or phase-frequency detector, charge-pump current, loop filter, voltage-controlled oscillator, and frequency divider.
The open-loop transfer function can be written as where PFD is the phase-frequency detector gain, ( ) is the loop filter transfer function, and VCO is the transfer gain of the VCO. The closed-loop transfer function from the input  phase to the output phase is a low-pass filter. This low-pass behavior of a PLL is desirable because it rejects input noise frequencies higher than the PLL bandwidth. Similarly, the closed-loop transfer function from the VCO control voltage, ctrl , to the output phase is a bandpass filter. It rejects internal noise coupled into ctrl within the PLL bandwidth. Filtering out noise sources by the closed-loop behavior of the PLL forms the baseline for jitter analysis. Noise of the PLL's output clock can be optimally filtered by adjusting the loop bandwidth and peaking in frequency response based on the dominant noise source. The loop bandwidth and peaking are adjustable by varying loop parameters. Natural frequency is proportional to square-root of the loop gain. Damping factor is inversely proportional to zero frequency. By adjusting the zero frequency through the loop filter resistor, , and chargepump current, and can be adjusted. To further improve the noise performance, the loop parameters of a PLL should be tuned for minimum output jitter in real system noise conditions.

Results and Discussions
The developed cascaded converter is simulated using MAT-LAB/Simulink software package. The subsystem for mathematical model for PV array derived from the equations used in the Simulink model is shown in Figure 7. Simulink model for fuzzy logic controller based boost converter is shown in Figure 8. Figure 9 shows the error block associated with the system. The fuzzy logic considered in this work is feedforward network (not feedback from load).
The Scientific World Journal Voltage and current signal sensed from PV array are given as input to filter block and it is sampled. By using multiplier for voltage and current, power is calculated and thereby error and change in error can be calculated using the formulae These two signals are multiplexed and given as input to fuzzy logic block. Fuzzy rule base controls the duty ratio against the variations in error and change in error.
The control variables considered in the fuzzy set that semantically shows the concept associated with it are error ( ), change in error (Δ ), and the solution variable being the control signal. The membership functions for error ( ), change in error (Δ ), and control signals are shown in Figure 10.
In the proposed design, the universe of discourse for first input, error ( ) is assigned in terms of seven linguistic variables which are denoted by NB, NM, NS, ZE, PS, PM, and PB. The membership functions for the variable are shown in Figure 10(a). Figure 10(b) shows the universe of discourse for the second input variable change in error (Δ ) which is classified into seven fuzzy sets similar to error. Figure 10 Figure 11. Rule base considered in this work is shown in Table 3.     The simulation results of fuzzy based system in comparison with the other algorithms, namely, perturb and observe (P&O), incremental conductance (INC), and incremental resistance (INR) method, are shown in Figure 12. From the graph, it is inferred that maximum power is tracked using the FLC based controller. The performance parameters are tabulated for the simulated results in Table 4 and graphically represented in Figure 13. From the figure, it is observed that overall efficiency of the system obtained is 97.35%. It is, therefore, proved that FLC based power tracking method offers better transient response due to reduced rise time and increased efficiency with reduced ripple as compared with the other algorithms.
In the second stage of the cascaded converter, threestage soft-switching boost converter is used. The values of the inductor and the capacitor for auxiliary resonant circuit of TSSSBC are chosen so as to design the resonant frequency to be less than the switching frequency. The main inductor rating is 33% of the actual inductor rating used in a singlestage boost converter. The boost converter, interleaved boost converter, and the three-stage boost converter are simulated for the same input voltage and switching frequency and the performances of the three converters were compared and the results are tabulated in Table 5. The comparison with graphical representation is shown in Figure 14. From the tabulated results, it is clear that the ripple content with the three-stage converter is reduced to a greater extent with respect to the single-stage and the interleaved converter for duty ratios from 10% to 90%. In this way, the three-stage boost converter becomes superior to the other ones. A small    reduction in efficiency for low duty cycle is due to increased devices and hence increased switching losses for the three-stage converter. Hence, efforts are made to introduce soft-switching technique to the three-stage boost converter to minimize the losses and to improve the performance of the system. The simulated circuit of TSSSBC using Simulink software is shown in Figure 15 and the simulated results are shown in Figure 16. The driving pulses are obtained with 120 ∘ phase shift, as shown in Figure 16(a). Figures 16(b) and 16(c) show the main inductor current and the resonant inductor current, respectively. The switching losses are minimized by means of soft-switching technique. In Figure 16(d), the circle pointed out denotes the zero current and zero voltage switching achieved by the converter. Hence, reduction in power loss could be achieved with the proposed topology. The increase in efficiency due to TSSSBC in comparison with simple three-stage boost converter is shown in Table 6.
The Scientific World Journal  The specification of active and passive elements used in this work based on the design equation is tabulated in Table 7.
The simulation circuit of TSSSBC with embedded phaselocked loop for smart grid application is shown in Figure 17. The PLL consists of phase detector, VCO, and loop filter. The waveforms corresponding to switch parameters for various duty ratios are obtained through simulation with the proposed strategy and the conventional circuit without PLL is shown in Figure 18. It clearly depicts that the soft-switching condition exists for the duty ratio range of 0.30 to 0.84 with the proposed system. In the conventional system without PLL, the soft-switching condition occurs only within the duty ratio of 0.30 to 0.72. By including the PLL, the power quality of the system is also improved due to reduced ripple contents. The hardware setup is shown in Figure 19 and the layout diagram for the three-stage soft-switching converter is shown in Figure 20.  The PV array is kept at the top floor of the main block. PIC microcontroller 16F84A is used to generate the driving pulses. IR2110 driver IC is used to provide the input at given rating for power MOSFET IRF840. Three resonant inductors and three main inductors along with capacitors form the resonant part in the converter unit. The size of the components is reduced as shown in Figure 19 due to three stages. Figure 21 shows the waveform obtained from cascaded converter. Input voltage of 18.9 V is applied to the converter by the PV array during noon time. Output voltage of 45.98 V is obtained across the load.
Voltage and current through the switch are shown in Figure 21(a). Figure 21(b) shows the 120 ∘ phase shift between the switching patterns of TSSSBC.  Figure 18: Simulink waveform for different duty ratio.

18
The Scientific World Journal

Conclusions
The cascaded converters with intelligent control techniques are developed to track the maximum power from the photovoltaic (PV) system. Mathematical model of PV array is developed and the same is used for simulation. Sizes of the passive components in the converter are reduced by 33% and the power loss is minimized by adapting the soft-switching technique. The developed model is efficiently used for tracking the maximum power using FLC. The ripple content is minimized and the soft-switching region is increased by embedding PLL. With this arrangement, better transient response is achieved and efficiency of 97.35% is obtained. The experimental verification is done using PIC 16F84A and its results are analyzed. Experimental results are found to be in line with the simulation results. This work can be extended by considering the Genetic Algorithm or particle swarm optimization technique so that the Global Maxima can be obtained for the partial shading condition.