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.