Received 7 April 2016; accepted 1 May 2016; published 28 June 2016
The increase in industrialization leads to energy demand. Most of the energy demand is supplied by the fossil fuels. However, increase in air pollution, diminishing fossil fuels and their increasing cost have made it necessary to gaze towards renewable energy sources as a future energy solution. Among these Renewable Energy Sources (RES), solar power systems are the affable solution for electrification. As the solar energy is available in nature and due to its inexhaustible availability, it has become one of the most promising renewable energies. Hence, PV system has been increasingly used in medium sized grid. The interconnection of PV systems with Grid is accomplished with the inverter, which in turn converts DC power generated from PV modules to AC power. This penetration of power electronic converters may create a hazard to network in terms of power quality problems such as harmonics. This harmonics may lead to malfunctioning of protective relays and other control unit. Hence the harmonics has to be reduced. Shunt active power filters (SAPF) have been recognized as most effective solution for harmonic compensation  -  . But the implementation of SAPF leads to an additional cost. Hence the feature of SAPF is incorporated with the inverter which interfaces RES with the grid, without any additional cost  -  . While the SAPF function is accompanied with the inverter. Controller plays the vital role in the design of the active power filter. Recently, fuzzy control has generated a great interest in some power electronics field and has been applied to many practical industrial applications. Fuzzy control methods have also been applied to APF   . The fuzzy control has advantages over the PI controller such as: it does not need an accurate mathematical model; it can handle non linearity and it is more robust than the PI controller; it can work with imprecise inputs, etc. Hence, this work validates an enhanced control strategy to improve the power quality of the grid interconnected solar system in terms of harmonic reduction and reactive power compensation.
2. Proposed Methodology
Thus the Configurations of a photovoltaic interactive shunt active power filter system is shown in Figure 1. Solar energy is converted into electricity through PV array. The power from the photovoltaic system varies according to the climatic conditions. Hence, to obtain a maximum power from PV array, it is coupled with a Maximum Power Point Tracker (MPPT). As the photovoltaic energy sources generate power at variable low dc voltage, it requires power conditioning before connecting on DC-link. For this purpose, DC-DC converter is used. The output obtained from the DC-DC converter is coupled to DC-link capacitor which in turn connected to grid through inverter.
The voltage source inverter transfer active power from a renewable energy source and also operates as a SAPF to compensate the current harmonics. When sunlight is absent, the PV system is disconnected from the grid through the dc capacitor  .
2.1. Design of Solar System
PV cells grouped in large unit forms a PV module and are connected in series-parallel configuration to form PVrray. The output of the PV module is connected to the MPPT which maximizes the power produced by the panels. Various MPPT algorithms are available to improve the performance of PV system. Among these, Perturb-Observe (PO) is implemented here. Thus, a maximum power point tracker achieves maximum power from the solar PV module. A non-isolated DC-DC converter is implemented for conversion of this maximum power to the grid. This converter acts as an interface between the SAPF and the module. The MPPT controller controls
Figure 1. Configurations of a photovoltaic interactive shunt active power filter system.
the output voltage of the DC-DC converter by regulating the PWM signals applied to the switch of the converter unit. The output from the DC-DC converter is connected to dc link capacitor which in turn connected to grid through inverter.
2.2. DC-Link Voltage and Power Control Operation
The function of the SAPF is to compensate current harmonics by injecting equal-but-opposite harmonic compensating currents into the grid. In order to generate compensating current, it is necessary to estimate the reference current  . Synchronous Reference Frame Theory is used to calculate the reference current. The peak value of the reference grid current is determined by the DC voltage regulator.
2.3. Synchronous Reference Frame Theory
The output of the d-q transformation shown in Figure 2 depends upon the PLL circuit PLL circuit and the PLL circuit. The PLL delivers cosθ and sinθ for synchronization  . If AC source currents are isa, isb, isc, load currents are iLa, iLb, iLc and the filter compensating currents are ifa, ifb, ifc then the load currents are converted into d-q reference frame is shown in the Equation(1).
These currents are composed of DC component and harmonic component are shown in Equation (2).
These d-q currents are passed through LPF which allows only the fundamental frequency component thereby eliminating harmonic component of the load current. Thus the harmonic component obtained using LPF is shown in Equation (3).
The LPF is designed using second order Butterworth filter. The output of the voltage controller is subtracted from harmonic component of direct axis in order to eliminate the steady state error. The inverse transformation from d-q to a-b-c is achieved through Equation (4)
Thus, the AC components of d axis and q axis are used for harmonics elimination and reactive power compensation.
2.4. Design of Fuzzy Controller
A fuzzy controller is designed to produce the peak value of the grid current (Benaissa et al. 2012). The fuzzy logic controller is characterized as follows
Ø Seven fuzzy sets (NB, NM, NS, ZE, PS, PM, PB) for each input and output variables.
Ø Triangular membership function is used because of its simplicity
Ø Implication using Mamdani-type min-operator
Ø Defuzzification using the centroid method.
The conversion of fuzzy values is shown in Figures 3(a)-(c) by the membership functions.
Figure 2. Block diagram of synchronous reference frame theory.
Figure 3. (a) Membership functions for e; (b) Membership functions for Δe; (c) Membership functions for Δu.
The Rule base stores the linguistic (fuzzy) control rules required by the rule evaluator (decision making logic), the 49-rules used are presented in Table 1.
This estimated magnitude of peak-current multiplied with an output of unit sine vector determines the reference currents. The reference currents are compared with actual source currents to generate VSI-switching pulses using PWM-current controller. This controller handles nonlinearity and it is more robust. It facilitates reduction of ripples in dc-link capacitor of the PWM-inverter.
2.5. Hysteresis Controller
For the PWM-voltage source inverter; hysteresis current controllers are configured for each phase. Each current controller generates the switching signal of the three (a, b, c) phases. If the input current is positive and error current e(t) is between the desired reference current iref(t), the load current iload(t) exceeds the upper hysteresis band limit (+h) and hence the upper switch of the inverter arm is in OFF state and the lower switch is in ON state. Thus the current starts decreasing. Similarly, if the error current e (t) crosses the hysteresis bands (-h) lower limit, the lower switch in the inverter arm turns OFF and the upper switch switches ON. Now, the current gets back into the hysteresis band and the cycle goes on repeating.
3. Results and Discussion
By using MATLAB/Simulink, the simulation study is carried out to verify the proposed control approach to achieve multi-objectives for grid interfaced solar system.
For simulation, the system parameter values used are given in Table 2.
To compensate the current harmonics, active filter connected at the PCC to inject anti-harmonics and make the supply current sinusoidal. The SAPF consists of VSI inverter, dc-link capacitor, reference current extraction controller and switching pulse generator. The reference current extraction process is developed from synchronous reference frame theory for extracting the reference currents from the distorted currents. The fuzzy estimates the magnitude of peak reference current Imax by controlling the dc-link capacitor. This peak amplitude is multiplied with the unit current templates to generate the required reference current. The reference current is compared with actual current to generate the gate control switching pulses using pulse width modulation.
Primarily, the inverter is not connected with the network. Figure 4 shows the grid current profile before compensation.
This source current is polluted with the harmonic distortion. When the inverter is coupled to the network, it injects the current. As a result of this, the source current changes from unbalanced to balanced sinusoidal current. The voltage and current waveform of a source after compensation was shown in Figure 5.
Table 1. Rule base of fuzzy controller.
Table 2. List of parameters used in simulation.
Figure 4. Source current for nonlinear load before compensation.
Figure 5. Voltage and current of source after compensation.
From the figure, it is observed that this system performs both harmonics and reactive power compensation simultaneously.
4. System Analysis
The efficiency of active filter is evaluated in terms of power factor, order of harmonics and real and reactive power compensation.
4.1. THD Analysis
Figure 6 illustrates plots of the order of harmonics versus magnitude in source current with filter. With filter, the order of harmonics is reduced to less than 5%. The FFT is used to measure the order of harmonics.
From the Figure, it is observed that the total harmonic distortion (THD) of the source current is upgraded after compensation and it is within the acceptable limit of IEEE 519 standard for current distortions in distribution system. Thus from the simulation results, it is obvious that this method can be used for current harmonics reduction and reactive power compensation along with inoculation of power from solar system.
4.2. Real and Reactive Power
When the inverter is connected to the network, it injects the current whish in turn cancels the harmonic current. Thus, the source current becomes balanced sinusoidal current. The current and voltage waveform of a source after compensation is shown in Figure 7. From the figure, it is perceived that this system permits both harmonics and reactive power compensation simultaneously.
Thus the performance analysis of SAPF measured in terms of order of harmonic and power factor are presented in Table 3.
Figure 6. Harmonic spectrum of source current with SAF.
Figure 7. Voltage and current of source after compensation.
Table 3. Performance analysis of SAPF.
This work has presented a novel control of an existing grid interfacing inverter to improve the quality of power at PCC. It has been proved that the grid-interfacing inverter can be effectively utilized for power conditioning without affecting its normal operation of real power transfer. This approach eliminates the need for additional power conditioning equipment to improve the quality of power. Extensive MATLAB/Simulink simulation results have validated the proposed approach and have shown that the grid-interfacing inverter can be utilized as a multi-function device.