Due to increase in use of power electronics devices in industrial area as well as in customer loads which uses non-linear loads, non-linear loads at utility cause large supply of reactive power which pollutes the source side equipment largely. The main requirement of mitigation equipment is that they should be fast and dynamic response helps to reduce the source side harmonics. Due to increasing use of non-linear loads, nowadays active filters are replacing the olden days mitigation methods like switching capacitor and thyristor controlled inductor coupled with passive filters  -  . There are types of active power filters used: parallel active filter eliminates current harmonics and series active filter mitigates all types of voltage issues.
The Unified Power Quality Conditioner (UPQC) is a solution to mitigate current and voltage issues; it is the combined design of shunt and series active power filters coupled through mutual DC linkage capacitor which rejects the instabilities spread from the supply side and the interconnected supplementary loads. In general, the task of UPQC, parallel active filter estimates the reimbursing current harmonics called mitigating current harmonics and helps in VAR generation using the control circuitry  -  . The series active filters are able to mitigate all voltage issues. The device used to control the series active power filter analyzes the reference voltage to be inoculated by matching the voltage at terminal against the reference voltage.
From the literature review of various works done so far, describing the balanced or unbalanced source conditions by voltage either dip or rise. In this work, different kind of voltage based PQ issues such as sag, swell, transients, interruption and current harmonics are simultaneously mitigated under balanced and unbalanced source conditions as well as linear and non-linear loading conditions.
This article proposes about three-phase three-wire system having voltage source inverter using streamlined control method. The series active filter is maintaining load voltage, dip/swell, harmonics and flickers. The voltage on DC capacitor is maintained constant by parallel active filters. UPQC performances are simulated and verified using MATLAB tool.
The Right Shunt type Unified Power Quality Conditioner (UPQC) with voltage source inverter is acted as a filter and its modelling is deliberated in Section 2. The proposed control method based on hysteresis controller for series and parallel active filter is explained in Section 3. A Simulink model and its detailed result and discussion of the projected control scheme are described in Section4 for two different source conditions. The conclusion of the work is summarized in Section 5.
2. Unified Power Quality Conditioner (UPQC)
This system proposes about the 3-phase source coupled to a power system feeding non-linear load. Figure 1 shows the UPQC, and it has a dual voltage source inverters having one shunt and other is series active power filter. The series filter is connected between supply and DC common link through a single phase transformers on each phase having turns ratios 1:1. These transformers act as a filter to eliminate the switching ripples actively mitigate from series filter. The voltage source inverters are constructed using IGBT’s (Insulated Gate Bipolar Transistors). Synchronous Reference frame theory for parallel (shunt) filter and instantaneous reactive power theory were used as control algorithm for UPQC. A series filter composed of inductance along with capacitance is connected with transformers which mitigate ripple contents    -  .
Figure 1. UPQC configuration system.
2.1. Voltage Source Inverter
From olden days, several inverters have been used due to different applications. Voltage Source inverters have wide applications which include drive control strategy, STATCOM, HVDC transmission, and more important is that the interfacing of renewable energy resources. In Power Quality improvement voltage source topology was widely used in SVC’s, UPQC’s, etc. due fast and dynamic response characteristics   . Moreover, in UPQC, voltage source converters certain unbalance DC link voltage due fast short duration operation. The advantages of voltage source inverter are:
-Produce pure sinusoidal current waveforms by reducing unwanted harmonics.
-Lessens the overvoltage produce by refection on extended cable.
-Ripple is two times normal the switching frequency in the first set.
Figure 2 shows the Voltage source inverter (VSI) topology as an active filter .This topology permits switches to tolerate higher DC voltage input on the sites that the switches will not elevate the level of withstanding voltage   .
2.2. Hysteresis Controller
Conventional control topology for parallel active filter controlled by the hysteresis scheme in voltage source inverter is shown in Figure 3 and its modeling is defined as follows.
Figure 2. Voltage source inverter.
Figure 3. Voltage source inverter hysteresis control.
Three phase voltage is given as:
where V is the line voltage measured across three phases a, b, c correspondingly. Hysteresis Current Controller is helping to identify the mitigated reference current. Then the inside and outside of hysteresis comparator are stated as:
Effective switching pulses are used to generate three different voltages on the AC side of the active filter. Upper and lower voltages existing in the negative and positive phase voltages of the inverter acted as an active filter. In optimistic side voltage produced on two levels, 0 and , and the destructive side voltage level produced are, and 0. A Voltage is produced in order to increase the level of compensating voltage, whereas the level of voltage on high side 0 is to reduce compensated voltage. Thus, for every half cycle in switching high and low level voltage was selected alternately in order to select compensated current for each thyristor   -  .
where, if; or 0 if and x = a, b, c.
2.3. Logic Control
Logic control is used in controlling the both Active Power Filters for providing gate signals. The Difference between the injected and reference current gives a reference modulation waveform. The inverter control is determined by two strategies   . Determination of intermediate signals Vim1 and Vim2:
- If Ec ³ 1 at that time Vim1 = 1
- If Ec ³ 1 at that time Vim1 = 0
- If Ec ³ 1 at that time Vim2 = 0
- If Ec ³ 1 at that time Vim2 = 1
where and are midway signal, is the modulation reference error signal.
3. Control Approach
The control approach for generation of the reference signal is based upon error signal generation and time delay basis for effective compensation of UPQC. The time delay and reference current generation mainly to compensate distortions, unbalance voltages and current during any fault conditions. The proposed control approach is most suitable and effective for mitigating current and voltages during undesirable conditions.The control strategy for parallel and series active filters are shown in Figure 4 and Figure 5 respectively.
3.1. Parallel Active Filter Control
The main aim of this control approach is to compensate current harmonics which usually based upon the synchronous reference frame detection method  . The control approach is based upon the load currents ila, ilb, ilc, are converted into 3 phase (a,b,c) reference frame and then to two phase () stationary reference frame currents and using:  -  .
Figure 4. Parallel active filter control strategy.
Figure 5. Series active filter control strategy.
By means of phase locked loop (PLL), that make possible for generations of and from phase voltages such as, Vas, Vbs, and Vcs.
The and currents obtained from (d-q) reference frame are written as:
The id and iq current are transformed into DC components and using a low pass filter harmonic components are obtained:
The equation for the reference current -ref and -ref as,
The abc reference frame is given as:
Finally, the compensation currents are obtained as;
In order to mitigate, initially the inverter losses are reduced and then normalize the DC link voltages using a PI voltage controller  . The loop produces an equivalent current given as:
3.2. Series Active Filter Control
For generating reference frame for series active filter depending upon the PQ theory, we assume phase voltages are symmetric and distorted:     . The Figure 5 shows the series active filter control for generating the filter reference voltage at the time of distortion occurred in the supply voltage.
The Un and are rms voltages and primary phase angle, n is the harmonic order. When n = 1, it means that the fundamental 3-phasesupply voltage;
Equation (10) is converted into reference frame:
The fundamental 3-phase current is framed as:
Equation (10) is transformed to () reference frame:
The DC components are obtained by passing P and Q in low pass filter (LPF), then
From the above equation the transformation is made as:
The DC mechanisms of p and q as:
The fundamental reference frame is given as:
The three-phase fundamental voltages are given as:
4. Simulation Results and Discussion
4.1. UPQC Performance for Voltage Compensation for Balanced Source Voltage
Here both shunt and series power filters are put into operation at different time instants. Considering nonlinear load for simulation source parameters considered are as follows. Input source voltages: Va = 230 V, Vb = 230 V, Vc = 230 V. The load element and filters with VSC has been built using MATLAB /SIMULINK. The following observations are drawn from the simulation outcomes. The control algorithm provides reactive and harmonic power compensation.
Here balanced source voltage is considered and after compensation balanced source current is prescribed in following results. Figure 6 shows the three phase balanced source voltages which is being supplied to the system. Figure 7 depicts the three phase error voltage which is generated due to the load connected to UPQC.
At time instant for t = 0 to 0.05 sec system is working without any issues, which does not require any compensation and after t = 0.05 voltage dip is introduced, in this time period series filter comes into operation for compensating voltage harmonics. The voltage dip occurs till 0.1 sec, the system is again at normal working condition. Then a short time interruption is led which occur from t = 0.14 to 0.15 sec, following the interruption
Figure 6. Three phase balanced source voltage.
Figure 7. Three phase error voltage.
voltage swell is hosted from t = 0.15 to 0.18 sec at that time shunt filter comes into operation for compensating harmonics due rise in voltage, then the system voltage come back to its normal working condition.
In Figure 8 voltage from t = 0 to 0.05 sec remain zero because of normal operation at time 0.05 sec voltage dip arise the reference voltage generator generates required amount of voltage to compensate dip which occur till 0.1 sec. At t = 0.14 sec there is a small interruption for 0.01 sec so reference voltage generator generates the necessary voltage to maintain source voltage as normal. At t = 0.15 sec there is 10% rise (Vs = 253 volt) in voltage till 0.18 sec. So reference voltage generator generates the required voltage in the opposite direction for mitigation.
Three phase actual (generated) error voltage which is being added to the system error voltage to obtain the compensated source voltage of 230 volts for an entire operating period, it is shown in Figure 9.
In Figure 8 and Figure 9 there are few overshoots at t = 0.5 secs, t = 0.1 secs, t = 0.14 ecs, t = 0.18 secs respectively. This overshoots are due to sudden injection of reference components (voltage/Current) while mitigating the pq issues like sag, swell and etc., in the respective fault points. The duration of this overshoot exist for few milli or micro seconds. These overshoots can be reduced by selecting suitable values of L and C of the active filters and its controllers in the proposed UPQC.
The supply current before compensation is non-sinusoidal due to the non-linear load connected to the system which is shown in Figure 10.
Figure 8. Three phase actual error voltage.
Figure 9. Compensated Source voltage after compensation.
Figure 10. Source current before compensation.
The generated reference current for compensation using hysteresis controller is exactly follows the reference filter current shown in Figure 11. It is generated by the synchronous reference current generator and is presented in Figure 12.
The generated reference current Figure 12 is injected into the source current at the load terminal (normally at the point of common coupling). It results sinusoidal current which is in phase with the source voltage shown in Figure 13. Hence the Total Harmonic Distortion (THD) is improved from 30.59% to 0.83%.
There is a small disturbance in time t = 0.05, 0.1, 0.14 and 0.15 respectively, which is due the operation of controller during the mitigation process of dip, interruption and swell.
Figure 11. Filter reference current.
Figure 12. Actual filter current.
Figure 13. Compensated source voltage in phase with the source current after compensation.
4.2. UPQC Performance for Voltage Compensation for Unbalanced Source Voltage
Considering same simulation load parameters, but having unbalanced sources are as follows. Input source voltages: Va = 230 V, Vb = 220 V, Vc = 230 V.
From t = 0.05 sec voltage dip is introduced, in this time period series filter comes into operation for compensating voltage harmonics. Then a short time interruption is led which occur from t = 0.14 to 0.15 sec, following the interruption voltage swell is hosted from t = 0.15 to 0.18 sec at that time shunt filter comes into operation for compensating harmonics due rise in voltage, then the system voltage come back to its normal working condition.
Here unbalanced source voltage is considered and after compensation balanced source current is prescribed in following results. Figure 14 shows the three phase unbalanced source voltages which are supplied to the system. Figure 15 and Figure 16 are the error voltage and its corresponding actual error voltage generated by using proposed control strategy.
Three phase actual (generated) error voltage shown in Figure 16, which is being added to the system error voltage to obtain the compensated source voltage of 230 volts for an entire operating period, it is shown in Figure 17.
Figure 18 shows the supply current before compensation and which is in non-sinusoidal due to non-linear
Figure 14. Unbalanced source voltages.
Figure 15. Three phase error voltages.
Figure 16. Three phase actual error voltages.
Figure 17. Compensated three phase source voltages.
Figure 18. Uncompensated source current.
load connected to the system. The actual filter current generated by the synchronous reference current generator using hysteresis controller for the connected non-linear load is shown in Figure 20. It is exactly matched with source reference current shown in Figure 19.
Figure 20 shows compensated source voltage in phase with the source current which is obtained by injection of generating reference current to source current at load terminal. There is a small ripple in the compensated current waveform shown in Figure 21 is due to the injection of reference current and voltages at various points at the point of common coupling. By designing a suitable filter component, the short duration ripples are quenched quickly.
The above tasks are analyzed by using MATLAB Simulink for two different operating conditions such a balanced and unbalanced source voltage conditions. The amount of harmonic distortion reduction is up to the benchmark level and its results are tabulated in Table 1. Table 1 shows the numerical statistics of the THD values under before and after compensation of the current in the proposed system. The THD improvement in both operating conditions is more satisfactory with the standard of IEEE value.
For the improvement of power quality issues in the source current due to harmonics delivered by the nonlinear loads, a new UPQC configuration is constructed. The voltage source inverter topology is proposed to mitigate the issues by acting as a filter. The control approach is based on the power instantaneous method for series filter and synchronous reference frame topology for parallel filter is proposed. UPQC configuration is proposed and validated using MATLAB/SIMULINK software. UPQC configuration is satisfactory observed for different power quality issues such as current harmonics mitigation, voltage sag and voltage swell and unbalance compensation. Anyhow, in the proposed work the performance of UPQC has been agreed for various power quality mitigations like dip, swell and interruption under balanced and unbalanced condition of the considered nonlinear load. The improvement of THD in the source current is improved from 30.59% to 0.83% for balanced source voltage and unbalanced source voltage THD value is improved from 42.05% to 0.92%. Thus the prospective
Figure 19. Reference filter current.
Figure 20. Actual Reference current.
Figure 21. Compensated source current in phase with source voltage.
Table 1. Table of comparison of results before and after compensation.
performance of the UPQC control approach could be replaced by intelligent control strategy and it is useful for potential usage of UPQC under many circumstances.
 JAfonso, J.L., Pinto, J.G. and Gon?alves, H. (2013) Active Power Conditioners to Mitigate Power Quality Problems in Industrial Facilities.In: Zobaa, A., Ed., Power Quality Issues, Intech, 105-137.
 Benachaiba, C., Abdelkhalek1, O., Dib, S., Allali, M. and Dib, D. (2010) The Unified Power Quality Conditioner (UPQC): The Principle, Control and Application. Journal of Scientific Research, 2, 91-94.
 Hirve, S., Chatterjee, K., Fernandes, B.G., Imayavaramban, M. and Dwari, S. (2007) PLL-Less Active Power Filter Based on One-Cycle Control for Compensating Unbalanced Loads in Three-Phase Four-Wire System. IEEE Transactions on Power Delivery, 22, 2457-2465,.
 Srikanth, D. and Ganesh, L.B. (2013) Mitigation of Harmonics by Hysteresis Control Technique of VSI Based STATCOM. International Journal of Latest Trends in Engineering and Technology (IJLTET), 2, 146-160.
 Fujita, H. and Akagi, H. (1998) The Unified Power Quality Conditioner: The Integration of Series Active Filters and Shunt Active Filters. IEEE Transactions on Power Electronics, 13, 315-322.
 Jagadeesh, K., Prasad, D. and Ramesh, P. (2016) 3-Phase 4-Wire UPQC Topology with Reduced DC-Link Voltage Rating for Power Quality Improvement Using Fuzzy Controller. International Journal of Signal Processing, Image Processing and Pattern Recognition, 9, 135-146.
 Kolhatkar, Y.Y. and Das, S.P. (2007) Experimental Investigation of a Single-Phase UPQC with Minimum VA Loading. IEEE Transactions on Power Delivery, 22, 373-380.
 Yash, P., Swarup, A. and Singh, B. (2012) A Novel Control Strategy of Three-phase, Four-Wire UPQC for Power Quality Improvement. Journal of Electrical Engineering & Technology, 7, 1-8.
 Paduchuri Chandra Babu, SubhransuSekhar Dash, C. Subramani,NavyaTejaswini and Y. Sravan Kumar Reddy (2015) A Fuzzy Logic Controller Based Multi Converter UPQC to Enhance the Power Quality Problems. In: Kamalakannan, C., Suresh, L.P., Dash, S.S. and Panigrahi, B.K., Eds., Power Electronics and Renewable Energy Systems, Lecture Notes in Electrical Engineering, Chapter 46, 453-463, Springer, Chennai.
 Lin, B.-R., Huang, C.-H., Yang, T.-Y. and Lee, Y.-C. (2003) Analysis and Implementation of Shunt Active Power Filter with Three-Level PWM Scheme. IEEE Transactions on Power Electronics and Drives, 2, 1580-1585.
 Maur′icioAredes, J¨urgenH¨afner, and KlemensHeumann (1997) Three-Phase Four-Wire Shunt Active Filter Control Strategies. IEEE Transactions On Power Electronics, 12, 311-318.
 Ghosh, A., Jindal, A.K. and Joshi, A. (2004) A Unified Power Quality Conditioner for Voltage Regulation of Critical Load Bus. Proceedings of IEEE Power Eng. Society General Meeting, Vol. 1, 471-476.
 Hamadi, A., Rahmani, S. and Al-Haddad, K. (2007) A Novel Hybrid Series Active Filter for Power Quality Compensation. IEEE Power Electronics Specialists Conference, Orlando, 17-21 June 2007, 1099-1104.
 Mazumdar, J., Harley, R.G. and Venayagamoorty, G.K. (2008) Synchronous Reference Frame Based Active Filter Current Reference Generation Using Neural Networks. 32nd Annual Conference on IEEE Industrial Electronics, Paris, 6-10 November 2006, 4404-4409.
 Salim, C., Benchouia, M.-T. and Goléa, A. (2012) Series Active Power Filter for Harmonic Voltage Compensation Using Two Control Strategies Based on Fuzzy Control Techniques. 4th International Conference on Electrical Engineering, ICEE’2012, 7-9 May 2012, Algiers, 370-375.
 Senthilnathan, K. and Annapoorani, K.I. (2016) Artificial Neural Network Control Strategy for Multi-Converter Unified Power Quality Conditioner for Power Quality Improvements in 3-Feeder System. International Conference on Artificial Intelligence and Evolutionary Computations in Engineering Systems. Advances in Intelligent Systems and Computing, 394, 1105-1111.
 Salim, C., Benchouia, M.-T. and Goléa, A. (2011) Harmonic Currents Compensation Based on Three-Level Shunt Active Filter Using Fuzzy Logic Current Controller. Journal of Electrical Engineering & Technology KIEE, 6, 595-604.
 Zhao, G.P. and Han, M.X. (2015) Design of DC Side Voltage and Compensation Analysis of THD for Shunt Power Quality Controller under System Load of Rectifier with R-L Load. Journal of Electrical Engineering and Technology, 10, 30-40.