# Introduction ower quality is the set of limits of electrical properties that allows electrical system to function in a proper manner . Power quality problems produced by a large increase of the load current, like starting a motor or transformer energizing. The flexible AC transmission system (FACTS), improve the reliability and quality of power transmission system, the custom power devices enhance the quality and reliability of power that is delivered to customers [1]. The main causes of a poor power quality at customer side are harmonic currents, poor power factor, supply voltage variations, etc. [2]. In recent years the demand for the quality of electric power has been increased rapidly. Unified power quality conditioner (UPQC) is one of the best customs Power devices used to compensate both source and load side problems [3]. It consists of shunt and series converters connected back to back to a common DC link. It can perform the functions of both Dstatcom and DVR. Fig. 1 shows a basic system configuration of a general UPQC consisting of the combination of a series active filter and shunt active filter [4]. The main aim of the series active filter is harmonic isolation between a distribution system and a load. It has the capability of voltage flicker/ imbalance compensation as well as voltage regulation and harmonic compensation at the utility-consumer point of common coupling (PCC). The shunt active filter is used to absorb current harmonics, compensate for reactive power and negative-sequence current, and regulate the DC-link voltage between both active power filters [5]. Figure 1 : Basic structure of unified power quality conditioner Unified power quality conditioner consists the DC bus and its DC capacitor must be designed. Dec capacitor achieves two goals, i.e., to comply with the minimum ripple requirement of the DC bus voltage and to limit the DC bus voltage variation during load transients. But the proposed matrix converter based UPQC there is no need of DC capacitor. All the series active filter is controlled by the voltage source converter. But voltage source converter has some draw back present. Due to switching loss, capacitor leakage current, etc., the distribution source must provide not only the active power required by the load but also the additional power required by the VSI to maintain the DC-bus voltage constant. Unless these losses are regulated, the DC-bus voltage will drop steadily. Moreover VSC based converter produces more harmonics and switching losses high. The windmill is the most important non conventional energy source. Various wind turbine # F obal Journal of Researches in Engineering : generators available to convert wind energy to electrical energy. Particularly induction type wind turbine generator is commonly used for its rugged construction ,long life and more power handling capacity. This type of windmill affected by power quality problems like voltage sag,swell and current harmonics. [6] Induction type wind generator initially drawn current from the grid and deliver power through same grid.here the power is bidirectional. Many FACTS are used to solve the power quality issues in windmill [7] .Conventional unified power quality conditioner VSC based converter used,which is unidirectional. So conventional power unified quality conditioner not suitable for induction type windmill. In this paper a matrix converter based unified power quality conditioner compensates voltage sag and swell and current harmonics compared and bidirectional power flow capability II. # Matrix Converter In this paper proposes a matrix converter based unified power quality conditioner for wind mill instead of VSC based unified power quality conditioner. Although matrix converter was initially introduced as an AC Driver, due to its advantages may be used in voltage compensation applications like series active filter, DVR [8] and shunt active filter [9]. A matrix converter can operate as a four quadrature Ac-Ac converter circuit. The output voltage, frequency and its amplitude and also the input power factor can be controlled by utilizing the proper modulation method (SVM). The main drawbacks of this topology are the need for fully controlled bi-directional switches and complex algorithm to perform commutation. The nine matrix converter switches can be represented as a 3×3 matrix The relationship between load and input voltages can be expressed as [ ] [ ] T c b a C B A v v v S v v v =(2) Input phase currents can be related to the output phase currents (9), using the transpose of matrix [ ] [ ] T C B A T T c b a i i i S i i i =(3) III. # Proposed Unified Power Quality Conditioner for Windmill The proposed unified power quality conditioner for wind mill is designed using a matrix converter is shown if figure 3. l abc are the smoothing inductor. C (abc) is the smoothing capacitor. One step up transformer is used for step up the matrix converter input voltage. So the matrix converter injects the significant current to PCC for current harmonic mitigation. In this paper, the step up transformer was simply modeled by a current source (i trans ) and the focus to put on the control of the input current for the active filtering function. Because matrix converter transfer ratio is limited to 0.876. In series part a unified power quality conditioner is designed using the same matrix converter topology. .Series filter removes the voltage ripples. The series transformer also called injection transformer which injects the appropriate voltage to the load to compensate the voltage and removes the harmonics. more over the series part control the power flow bi directionally by adjusting the matrix converter switching. d d d q d vRo vL L i L R i dt di ? + ? = ( 1 2 2 2 ? (9) q q q d q vRo vL L i L R i dt di ? + ? = ( 1 2 2 2 ? (10) The active and reactive power of end generator is given in dq coordinates by ? ? ? ? ? ? ? ? ? ? ? ? ? = ? ? ? ? ? ? q d d q q d i i v v v v Q P (11) The active and reactive power P and Q are given by ( 12) and ( 13) respectively Since the rotating dq reference frame is based on the angle of the voltage at the PCC, the d and q load current components represent respectively the active and reactive components of the load current. The control objective is to compensate all the load current components except for the fundamental active load current component. Therefore a High Pass Filter (HPF) is introduced to filter out the fundamental component of the active current. Only the harmonic and reactive components remain in the current reference. The active current that is produced by the transformer also needs to be added to the active current reference as the matrix converter . Finally are obtained the references d* mc , q * mc and which are provided to the outer current control loop. All entities marked with asterisk are reference values as opposed to real/measured values. q d i v Q ? = (12) d d i v P = (13) To control the current we use eq. ( 19) c pcc mc f v v i dt d L ? = (19) When eq. ( 20) is converted into the rotating dqreference frame, cross-coupling terms appear as shown in eq. ( 21). Which must be compensated. When transforming to the rotating dq reference frame again cross coupling terms appear ? ? ? ? ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = ? ? ? ? ? ? ? ? d c q c f q mc d mc q mc d mc q c d c f v v C i i i i v v dt d C , , , , , , ' ' ? (20) ? ? ? ? ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = ? ? ? ? ? ? ? ? d mc q mc f q c d c pcc q mc d mc f i i L v v v i i dt d L , , , , 0 ? (21) # Simulation Results In this work three phase matrix converter based unified power quality conditioner used to compensate the voltage sag/swell, current harmonics and control power flow and transfer power bi-directional for an induction wind mill connected network. The source voltage is 440 Vrms, 60Hz. Table 1 shows the proposed system main parameters. It includes source impedance parameters L and C values for passive branches used system has been simulated. All the simulation is performed by the Matlab/Simulink model in discrete form. The sample time of the discrete value is 3x10 -4 sec a) Result for proposed UPQC based compensation for current harmonics # Conclusion In this paper investigated the use of matrix converter based unified power quality conditioner to mitigate the voltage sag/swell, current harmonics and power flow. This paper also analyzed the bidirectional power capability Unified Power Quality Conditions. This can be achieved by change switching of matrix converter .The proposed UPQC's Series active filter handles both balanced and unbalanced Situations without any difficulties and injects the appropriate voltage component to correct any abnormalities in the supply voltage to keep the load voltage balanced and constant at the nominal Value. Moreover this control the power to the load also. The proposed unified power quality conditioner is implemented to wind mill the power transfer also achieved. Moreover the shunt control system controls the remove the current harmonic of load. Based on simulation results the matrix converter based UPQC also mitigates the current harmonics efficiently with low total harmonic distortion, voltage ag and swell and control the power flow bidirectional. 2![Figure 2 : Proposed unified power quality conditioner](image-2.png "Figure 2 :") 4![shows the fundamental representation of matrix converter based unified power quality conditioner for windmill. V pcc is the point of common coupling.0 ? s Vis the source voltage.](image-3.png "Figure. 4") ![converter amplitude and its phase angle.](image-4.png "") 4![Figure 4 : Fundamental diagram of proposed unified power quality conditioner connected to an induction wind turbine generator 90 = ?? inj V](image-5.png "Figure 4 :") 5![Figure 5 : Control system of series part of proposed unified power quality conditioner](image-6.png "Figure 5 :F") 6![Figure 6 : Control system of shunt part of proposed unified power quality conditioner d d d i i v * * ? =](image-7.png "Figure 6 :") 77![Figure 7 shows the matrix converter based shunt active filter to mitigate the current harmonics efficiency compared to conventional techniques. Figure 7. (a) Shows the supply voltage and the waveform is sinusoidal. Figure7. (b) Shows the waveform of current after proposed compensation. The wave form also sinusoidal and the harmonic content is Low/. Figure7. (c) Shows the total harmonic distortion level. The total harmonic distortion is 2% only. It is clear from figure 7. (c) that the current injected by the matrix converter](image-8.png "Figure 7 Figure 7 :") 8![c shows the output of the matrix converter total harmonic distortion. It contains less than 2% of harmonic present.](image-9.png "Figure 8 .") 8![Figure 8 : Proposed matrix converter based UPQC voltage compensation (single phase) (a) Load voltage after proposed compensation (b) supply voltage (c) total harmonic distortion of load voltage](image-10.png "Figure 8 :") 9![Figure 9 : Injected voltage (a) supply voltage (b) injected voltage3 phase (3phase) (c) injected voltage (single phase) Figure 9. shown the voltage injection through proposed unified power quality conditioner. Figure 9. (a) Shows the fluctuated voltage. The Figure 9. (b) Shows the corresponding injected voltage through the transformer and its matrix converter output voltage shown in figure 9(c).](image-11.png "Figure 9 :") ![](image-12.png "") 1 1V. © 2013 Global Journals Inc. (US) © 2013 Global Journals Inc. (US) © 2013 Global Journals Inc. (US) * A Review of Compensating Type Custom Power Devices for Power Quality Improvement YPal ASwarup BSingh IEEE International Conference on Power System Technology 2008 * Power quality indexes for continue and discrete disturbances in a distribution area HSiahkali IEEE International Power and Energy Conference 2008 * Enhancing Electric Power Quality Using UPQC: A Comprehensive Overview VKhadkikar IEEE Transactions on Power Electronics 27 5 2012 * The unified power quality conditioner: the integration of series and shuntactive filters HFujita HAkagi IEEE Transactions on Power Electronics 13 2 2000 * Comparison of controllers for power quality improvement employing shunt active filter MMuthazhagi NSKumar International Conference on Computing, Electronics and Electrical Technologies 2012 * Power Distortion Issues in Wind Turbine Power Systems Under Transient States LobosTadeusz RezmerJacek Journal of Electrical Engineering 16 3 2008 * Power quality improvement for grid connected wind energy system using the FACTS device VYuvaraj EPratheep Raj AMowlidharan LThirugnanamoorthy International Symposium on Theoretical Electrical Engineering 2011 * MHAbardeh Ghazi, R A new configuration for dynamic voltage restorer based-on matrix converter International Universities Power Engineering Conference 2010 * AAHeris EBabaei SHosseini new shunt active power filter based on the indirect matrix