<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">CS</journal-id><journal-title-group><journal-title>Circuits and Systems</journal-title></journal-title-group><issn pub-type="epub">2153-1285</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/cs.2016.78135</article-id><article-id pub-id-type="publisher-id">CS-67368</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  An Efficient Particle Swarm Optimization Technique for 4-Leg Shunt Active Power Filter
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>V.</surname><given-names>Parimala</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>S.</surname><given-names>Chenthur Pandian</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>D.</surname><given-names>Ganeshkumar</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Electrical and Electronics Engineering, P. A. College of Engineering and Technology, Pollachi, India</addr-line></aff><aff id="aff2"><addr-line>Department of Electrical and Electronics Engineering, SNS College of Technology, Coimbatore, India</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>parimalagk@gmail.com(VP)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>02</day><month>06</month><year>2016</year></pub-date><volume>07</volume><issue>08</issue><fpage>1546</fpage><lpage>1559</lpage><history><date date-type="received"><day>29</day>	<month>March</month>	<year>2016</year></date><date date-type="rev-recd"><day>accepted</day>	<month>20</month>	<year>April</year>	</date><date date-type="accepted"><day>15</day>	<month>June</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  This paper describes the mitigation of harmonics in source and neutral current in three phase four wire system based on 4-leg shunt active power filter under balanced and unbalanced load conditions. Particle Swarm Optimization (PSO) and conventional Proportional Integral (PI) controller are used as control techniques to analyze the control performance of 4-leg shunt active power filter. The synchronous reference frame (SRF) method is used to extract reference current in 4-leg shunt active filter. The Hysteresis Current Controller (HCC) is used to generate gate pulses for Voltage Source Inverter (VSI) based 4-leg shunt active power filter.
   
  The proposed PSO technique gives less percentage of Total Harmonic Distortion (THD) value in source and neutral current and settling time of the DC capacitor voltage compared to conventional PI controller technique
  . 
  The model of the proposed system performance was validated using MATLAB/Simulink environment.
 
</p></abstract><kwd-group><kwd>Hysteresis Current Controller</kwd><kwd> Particle Swarm Optimization</kwd><kwd> Shunt Active Power Filter</kwd><kwd> SRF Method</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Nowadays, Power quality issues have major problems in the distribution systems while using Power electronic based nonlinear loads such as single and three phase controlled rectifiers, adjustable speed drives (ASD), SMPS and saturated coils. Due to the fast switching and nonlinear characteristics of power electronics devices, most of the power quality problems arise [<xref ref-type="bibr" rid="scirp.67368-ref1">1</xref>] . The usage of power electronics based loads for the distribution system produces nonlinear input or unbalanced characteristic which may cause two problems one is high input current harmonics and another one is high neutral current. The one phase to neutral is connected to single phase nonlinear load in three phase four wire system which generates triplen harmonic current in the system. This results in high magnitude of neutral current compared to line current. Two basic approaches are used to improve the quality of power which is passive filter and active filter. Primarily the Passive filters are broadly used to eliminate harmonics in power system for its ease of use to cancel the particular order of harmonics and low cost, but the passive filters have a number of drawbacks such as larger in size, tuning and risk of resonance problems. Now the active power filters have confirmed to be very effective to solve the mitigation of current harmonics, reactive power compensation and excessive neutral current in three phase four wire system and it gives better solution than passive filters.</p><p>There are various types of methods were used for instantaneous current harmonic detection in shunt active power filter such as Fast Fourier Transform (FFT) technique, instantaneous real and reactive power (PQ) theory [<xref ref-type="bibr" rid="scirp.67368-ref2">2</xref>] , a-b-c theory and Synchronous Reference Frame (SRF) theory. These methods are applied to determine the compensating currents for ideal supply voltage condition. The supply voltages may be unbalanced and or distorted due to the use of power electronics based non-linear load. Hence the four leg active power filter using the p-q theory does not provide good performance under unbalanced and distorted voltage conditions. By improving the performance of Shunt Active Power Filter (SHAPF) under non-ideal main voltage conditions, various control methods based on Synchronous Reference Frame (SRF) theory or Instantaneous reactive power theory (i<sub>d</sub> − i<sub>q</sub>) [<xref ref-type="bibr" rid="scirp.67368-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.67368-ref4">4</xref>] and modified DQ method without phase locked loop (PLL) have been used to give better results than PQ theory.</p><p>The current regulator is the most important part of the shunt active power filter (SHAPF) for mitigation of harmonics in power system and many research works are being pursued in this area. Conventional PI and proportional integral derivative (PID) controllers are being used to estimate the peak or maximum reference currents and control the dc side capacitor voltage of the VSI based inverter [<xref ref-type="bibr" rid="scirp.67368-ref5">5</xref>] . However the conventional PI controller needs precise and validated linear, proven mathematical model of the system which is difficult to obtain better performance under non-linear load disturbances.</p><p>There are different types of current control methods proposed for shunt active power filter such as hysteresis current controller (HCC), PI controller and sinusoidal PWM technique [<xref ref-type="bibr" rid="scirp.67368-ref6">6</xref>] . But the hysteresis current controller is widely used because of its ease of implementation, high precision, good stability and dynamic performance than sinusoidal PWM [<xref ref-type="bibr" rid="scirp.67368-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.67368-ref8">8</xref>] .</p><p>This paper describes the efficient optimal fine tuning and obtaining of PI controller parameter settings through Particle Swarm Optimization (PSO) technique [<xref ref-type="bibr" rid="scirp.67368-ref9">9</xref>] . PSO is initialized with a group of random particle and then searches for optimal value by updating generations over the particle’s position and velocity. The synchronous reference frame theory (SRF) without phase locked loop (PLL) is used for generating reference current in four leg shunt active filter and hysteresis controller which is used to obtain gate pulses for VSI based shunt active power filter. The performance of PSO based 4-leg shunt active power filter which gives better solution than conventional tuning method.</p></sec><sec id="s2"><title>2. Proposed System Configuration</title><p>The proposed system consists of 4-leg shunt active power filter is connected for adjoining performance in parallel with the non-linear load [<xref ref-type="bibr" rid="scirp.67368-ref7">7</xref>] . The main objective of the 4-leg shunt active power filter (SHAPF) is used to counter perform and compensate source current harmonics, reactive power and neutral current for unbalanced load condition. In 4-leg inverter, one-leg is specially employed to compensate excessive neutral current [<xref ref-type="bibr" rid="scirp.67368-ref12">12</xref>] . <xref ref-type="fig" rid="fig1">Figure 1</xref> shows the schematic diagram of Four-leg shunt active power filter with non-linear load which consists of three and single phase diode rectifier. SHAPF is used to evolve and generate harmonic current equal in magnitude and opposite in polarity to the harmonic current drawn by the load and inject it to the point of common coupling (PCC) thereby forcing the source current to be pure sinusoidal [<xref ref-type="bibr" rid="scirp.67368-ref3">3</xref>] .</p><p>The three phase four wire consists of eight IGBT with antiparallel diodes which is used as 4-leg shunt active power filter, a dc capacitor, RL and RC filters, compensation controller (PI or PSO) and hysteresis current controller which is used to generate gate signals as shown in the <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Circuit diagram of four-leg shunt active power filter with non-linear load</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x6.png"/></fig></sec><sec id="s3"><title>3. Synchronous Reference Frame Theory</title><p><xref ref-type="fig" rid="fig2">Figure 2</xref> describes the reference current generation using synchronous reference frame theory is illustrated. In this method the load currents<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x7.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x8.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x9.png" xlink:type="simple"/></inline-formula> are sensed and then applying Park’s transformation and corresponding d-q axes currents <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x10.png" xlink:type="simple"/></inline-formula> and i<sub>Lq</sub> are obtained as given in Equation (1), where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x11.png" xlink:type="simple"/></inline-formula>is the rotational speed of synchronously rotating reference (d-q) frame [<xref ref-type="bibr" rid="scirp.67368-ref3">3</xref>] . In SRF or i<sub>d</sub>-i<sub>q</sub> control strategy, only the average value of d-axis component of load current can be obtained from the main supply. Here <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x12.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x13.png" xlink:type="simple"/></inline-formula> indicate the fundamental frequency component of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x14.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x15.png" xlink:type="simple"/></inline-formula>. The oscillating components <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x16.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x17.png" xlink:type="simple"/></inline-formula>, i.e. <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x18.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x19.png" xlink:type="simple"/></inline-formula> are filtered out using low-pass filter as given in Equation (2).</p><disp-formula id="scirp.67368-formula553"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x20.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67368-formula554"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x21.png"  xlink:type="simple"/></disp-formula><p>The load harmonic currents <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula> along with fundamental current <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x24.png" xlink:type="simple"/></inline-formula> are utilized to get reference filter currents <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x25.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x26.png" xlink:type="simple"/></inline-formula> in d-q coordinates. By applying inverse Park transformation the compensation currents<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x27.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x28.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x29.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x30.png" xlink:type="simple"/></inline-formula> in the three phase four wires as described in Equations (3) and (4) are obtained.</p><disp-formula id="scirp.67368-formula555"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x31.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.67368-formula556"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x32.png"  xlink:type="simple"/></disp-formula><p>Thus the reference signals are obtained by comparing the actual compensating filter currents in a hysteresis</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Reference current generation using SRF method</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x33.png"/></fig><p>comparator arrangement in which the real current is enforced to follow and track the reference signal.</p></sec><sec id="s4"><title>4. Proposed Controllers</title><sec id="s4_1"><title>4.1. PI Controller</title><p>PI Controller is used for regulating and maintaining of DC link capacitor voltage consistently and to determine the maximum reference currents for the control of 4-leg shunt active filter power filter as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. The direct current side capacitor voltage is first sensed and is again compared with a reference voltage and generates error signal. The error signal passes through low pass filter (LPF) that suppresses higher frequency components and allows only fundamental components.</p><p>PI-controller estimates the magnitude of peak reference current I<sub>max</sub> and controls the dc-side capacitor voltage of the inverter [<xref ref-type="bibr" rid="scirp.67368-ref8">8</xref>] . The output of the PI controller is considered as the peak value of the supply current (I<sub>max</sub>), which is composed of two components: 1) the fundamental active power component of the load current and 2) the deteriorated component of the SHAPF to maintain the average capacitor voltage at a constant value.</p><p>The peak value of the current (I<sub>max</sub>) determined and is multiplied by the unit sine vector in phase with the relevant and corresponding source voltages to obtain the reference and benchmarked compensating currents. These currents which are estimated as reference currents (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x34.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x35.png" xlink:type="simple"/></inline-formula>and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/35-7600659x36.png" xlink:type="simple"/></inline-formula>) and the sensed actual currents (I<sub>sa</sub>, I<sub>sb</sub>, and I<sub>sc</sub>) are compared to a hysteresis current controller. By proper tuning of the proportional and integral gain (K<sub>p</sub>) and (K<sub>i</sub>) values which determine the dynamic response of the DC side voltage</p></sec><sec id="s4_2"><title>4.2. Hysteresis Current Controller</title><p>Hysteresis current controller (HCC) is employed to generate the switching signal of the IGBT based voltage source inverter shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>. HCC configured independently for each phase of voltage source inverter. The actual source current and desired reference current is compared to produce the error current ΔI.</p><p>If the error current ΔI exceeds the upper hysteresis band limit, then the upper switch is OFF and the lower switch is ON. If the error current touches the lower limit of the band, the then upper switch is ON and lower switch is OFF and the cycle repeats. In similar manner switching logic for devices in phase B and C and neutral was derived. Finally, the filter provides required compensation for harmonics in the source current, neutral current and reactive power compensation in the proposed system [<xref ref-type="bibr" rid="scirp.67368-ref8">8</xref>] .</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> PI Controller diagram</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x37.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Circuit diagram of Hysteresis Current Controller (HCC)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x38.png"/></fig></sec><sec id="s4_3"><title>4.3. Particle Swarm Optimization</title><p>The PSO technique is a category of swarm intelligence techniques for resolving the optimization and peak performing problems and issues [<xref ref-type="bibr" rid="scirp.67368-ref9">9</xref>] . It can be attained high quality solutions within shorter calculation time and stable convergence characteristics. The moments of the birds are reflected as and it is called as moments of “particle”. Fitness values of all propagated particles which are evaluated by the fitness function to be optimized and have velocities which direct the flying of the particles. In the proposed method the objective function is minimization of Total Harmonic Distortion (THD) value of source or line and neutral current. The fitness function is defined in Equation (5).</p><disp-formula id="scirp.67368-formula557"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x39.png"  xlink:type="simple"/></disp-formula><p>The parameters for optimization technique are proportional gain (K<sub>p</sub>), Integral gain (K<sub>i</sub>) and the transfer function of PI controller which is defined in Equation (6).</p><disp-formula id="scirp.67368-formula558"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x40.png"  xlink:type="simple"/></disp-formula><p>The proposed particle swarm optimization (PSO) technique to determine the optimal PI parameters as shown in <xref ref-type="fig" rid="fig5">Figure 5</xref> [<xref ref-type="bibr" rid="scirp.67368-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.67368-ref11">11</xref>] . The objective of the optimal design of PI controller parameters for the given system is to find a best parameters K<sub>p</sub> and K<sub>i</sub> value of PI control system such that the performance of the proposed controller was improved.</p><p>In each iterations, the every particle in the mentioned search area is updated to provide the two “best” values. The first one is the best fitness solution and this value is called Pbest. Second is “best” value that is followed and determined by utilizing particle swarm optimizer which would give the best value obtained from any of the particle in the specified search area. This best value of this technique is known as global best and notated as gbest [<xref ref-type="bibr" rid="scirp.67368-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.67368-ref13">13</xref>] . The best previous position of the i<sup>th</sup> particle is recorded and represented as the following:</p><disp-formula id="scirp.67368-formula559"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x41.png"  xlink:type="simple"/></disp-formula><p>The index of best particle among all of the particles in the search area is gbest. The velocity of dynamic particle “i” is represented as Equation (8)</p><disp-formula id="scirp.67368-formula560"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/35-7600659x42.png"  xlink:type="simple"/></disp-formula><p><xref ref-type="fig" rid="fig6">Figure 6</xref> represents the evaluation procedure for particle swarm optimization flowchart for shunt active power filter based on design parameters as given in <xref ref-type="table" rid="table1">Table 1</xref> [<xref ref-type="bibr" rid="scirp.67368-ref14">14</xref>] .</p></sec></sec><sec id="s5"><title>5. Simulation Results</title><p>The MATLAB/Simulink is used to perform the simulation for proposed 4-leg shunt active power filter in three phase four wire system as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. In this paper the simulation results of 4-leg shunt active power filter using PI controller and Particle Swarm Optimization (PSO) technique are illustrated. The SHAPF model parameters are shown in <xref ref-type="table" rid="table2">Table 2</xref>.</p><sec id="s5_1"><title>5.1. Conventional PI Controller</title><p>The 4-leg shunt active power filter (SHAPF) is connected in parallel with three phase and single phase diode rectifier based nonlinear load. In this case the conventional PI controller is used to reduce the % THD value in source current. Simulation results show the source current, neutral current and its FFT spectrum before compensation in Figures 7(a)-(d).</p><p>Figures 8(a)-(g) illustrate the simulation results of the source current, neutral current and its FFT spectrum after compensation shown using conventional PI controller under balanced and unbalanced load condition. By using PI controller the total harmonic distortion (THD) value in source current is reduced from 29.46% to 2.70% and neutral current is reduced from 46.40% to 4.5%.</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> PI -PSO Controller diagram</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x43.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Flowchart for PSO Technique</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x44.png"/></fig><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> PSO design parameters</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Population Size</th><th align="center" valign="middle" >20</th></tr></thead><tr><td align="center" valign="middle" >Number of Iteration</td><td align="center" valign="middle" >100</td></tr><tr><td align="center" valign="middle" >W<sub>max</sub></td><td align="center" valign="middle" >0.9</td></tr><tr><td align="center" valign="middle" >W<sub>min</sub></td><td align="center" valign="middle" >0.4</td></tr><tr><td align="center" valign="middle" >C<sub>1</sub></td><td align="center" valign="middle" >1.2</td></tr><tr><td align="center" valign="middle" >C<sub>2 </sub></td><td align="center" valign="middle" >0.12</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Proposed system parameters for simulation</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >System Parameters</th><th align="center" valign="middle" >Values</th></tr></thead><tr><td align="center" valign="middle" >Source voltage (V<sub>s</sub>)</td><td align="center" valign="middle" >311 V<sub>rms</sub></td></tr><tr><td align="center" valign="middle" >Source frequency (F<sub>s</sub>)</td><td align="center" valign="middle" >50 Hz</td></tr><tr><td align="center" valign="middle" >Source impedance (Z<sub>s</sub>)</td><td align="center" valign="middle" >10 mΩ, 50 &#181;H</td></tr><tr><td align="center" valign="middle" >Three phase Load (RL load)</td><td align="center" valign="middle" >12 Ω, 20 mH</td></tr><tr><td align="center" valign="middle" >DC link Capacitance(C<sub>dc</sub>)</td><td align="center" valign="middle" >1500 &#181;F</td></tr><tr><td align="center" valign="middle" >Single phase Diode Rectifier (RLC load)</td><td align="center" valign="middle" >15 Ω, 1 mH &amp; 470 &#181;F</td></tr><tr><td align="center" valign="middle" >AC side filter (R<sub>c</sub>, L<sub>c</sub>) &amp; (R<sub>f</sub>, L<sub>f</sub>)</td><td align="center" valign="middle" >(0.1 Ω, 1 mH) &amp; (2 Ω, 20 &#181;F)</td></tr></tbody></table></table-wrap><fig-group id="fig7"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> (a) Waveforms of source current before compensation. (b) % THD value of source current before compensation. (c) Waveforms of neutral current before compensation. (d) % THD value of neutral current before compensation.</title></caption><fig id ="fig7_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x45.png"/></fig><fig id ="fig7_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x46.png"/></fig><fig id ="fig7_3"><label>(d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x47.png"/></fig><fig id ="fig7_4"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x48.png"/></fig></fig-group><fig-group id="fig8"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> (a) Waveforms of source voltage under balanced load using PI controller. (b) Waveforms of filter current using PI controller. (c) FFT analysis of source current under balanced load using PI controller. (d) Waveform of dc link voltages using PSO. (e) Waveforms of source voltage and source current in unbalanced load using PI controller. (f) Waveforms of DC link voltage and neutral current in unbalanced load. (g) FFT analysis of source current THD value in unbalanced load Using PI controller.</title></caption><fig id ="fig8_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x49.png"/></fig><fig id ="fig8_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x50.png"/></fig><fig id ="fig8_3"><label>(d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x51.png"/></fig><fig id ="fig8_4"><label>(e)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x52.png"/></fig><fig id ="fig8_5"><label>(f)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x53.png"/></fig><fig id ="fig8_6"><label>(g)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x54.png"/></fig><fig id ="fig8_7"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x55.png"/></fig></fig-group></sec><sec id="s5_2"><title>5.2. PSO Technique</title><p>The proposed optimal technique is to improve the power quality in three phase four wire system using 4- leg shunt active power filter based on design parameters as given in <xref ref-type="table" rid="table1">Table 1</xref>. Simulation results shows the source current, neutral current and its FFT spectrum of 4-leg shunt active power filter based on PSO technique is illustrated in <xref ref-type="fig" rid="fig9">Figure 9</xref>. The total harmonic distortion (THD) value of source current is reduced to 1.52% and neutral current is 1.88% under unbalanced load condition.</p><p>Simulation results of particle swarm optimization (PSO) technique are illustrated in Figures 9(a)-(e) under balanced and unbalanced load conditions.</p><p><xref ref-type="table" rid="table3">Table 3</xref> represents the comparison of THD values source, neutral current under balance and unbalanced load condition with PI and PSO techniques are described.</p><p>The bar chart shows that percentage THD values of PI and PSO controller with balanced and unbalance load conditions. It shows that PSO technique gives less value of THD compared to PI controller (<xref ref-type="fig" rid="fig1">Figure 1</xref>0).</p><fig-group id="fig9"><label><xref ref-type="fig" rid="fig9">Figure 9</xref></label><caption><title> (a) Waveforms of source current under balanced load using PSO. (b) FFT analysis of source current under balanced load using PSO controller. (c) Waveforms of filter current using PSO controller. (d) Waveform of neutral current under balanced load using PSO. (e) Waveform of dc link voltages using PSO. (f) FFT analysis of % THD value for neutral current under unbalanced load using PSO controller.</title></caption><fig id ="fig9_1"><label>(b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x56.png"/></fig><fig id ="fig9_2"><label>(c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x57.png"/></fig><fig id ="fig9_3"><label>(d)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x58.png"/></fig><fig id ="fig9_4"><label>(e)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x59.png"/></fig><fig id ="fig9_5"><label>(f)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x60.png"/></fig><fig id ="fig9_6"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x61.png"/></fig></fig-group><fig id="fig10"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref>0</label><caption><title> Barchart for % THD value of source and neutral current</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/35-7600659x62.png"/></fig><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Comparison of % THD value for source and neutral current</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Parameters</th><th align="center" valign="middle"  colspan="2"  >Without filter (SHAPF)</th><th align="center" valign="middle"  colspan="3"  >With PI Controller</th><th align="center" valign="middle"  colspan="2"  >With PI-PSO Controller</th></tr></thead><tr><td align="center" valign="middle" >Source Current (I<sub>s</sub>)</td><td align="center" valign="middle" >Neutral Current (I<sub>n</sub>)</td><td align="center" valign="middle"  colspan="2"  >Source Current (I<sub>s</sub>)</td><td align="center" valign="middle" >Neutral Current (I<sub>n</sub>)</td><td align="center" valign="middle" >Source Current (I<sub>s</sub>)</td><td align="center" valign="middle" >Neutral Current (I<sub>n</sub>)</td></tr><tr><td align="center" valign="middle" >% THD</td><td align="center" valign="middle" >29.46</td><td align="center" valign="middle" >46.40</td><td align="center" valign="middle" >2.70</td><td align="center" valign="middle"  colspan="2"  >4.50</td><td align="center" valign="middle" >1.52</td><td align="center" valign="middle" >1.88</td></tr><tr><td align="center" valign="middle" >Settling Time</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.025</td><td align="center" valign="middle"  colspan="2"  >-</td><td align="center" valign="middle" >0.015</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap></sec></sec><sec id="s6"><title>6. Conclusion</title><p>This paper presents the two-controller technique: PI and PSO controllers for 4-leg shunt active power filter in three phase four wire system. The PI and PSO controllers were capable of compensating source or line current harmonics under balanced and unbalanced load condition. The simulation results show that Particle Swarm Optimization (PSO) technique gives better performance in terms of less total harmonic distortion (THD) value in source current is 1.52%, neutral current 1.88% than conventional PI controller and THD value in IEEE 519 standard which thereby validate the satisfactory system performance.</p></sec><sec id="s7"><title>Cite this paper</title><p>V. Parimala,S. Chenthur Pandian,D. Ganeshkumar, (2016) An Efficient Particle Swarm Optimization Technique for 4-Leg Shunt Active Power Filter. Circuits and Systems,07,1546-1559. doi: 10.4236/cs.2016.78135</p></sec></body><back><ref-list><title>References</title><ref id="scirp.67368-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Akagi, H. (1996) New Trends in Active Filters for Power Conditioning. IEEE Transaction on Industrial Application, 32, 1312-1322. http://dx.doi.org/10.1109/28.556633</mixed-citation></ref><ref id="scirp.67368-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Herrera, R.S. and Salmeron, P. (2009) Instantaneous Reactive Power Theory: A Reference in the Nonlinear Loads Compensation. IEEE Transactions on Industrial Electronics, 56, 2015-2022. http://dx.doi.org/10.1109/TIE.2009.2014749</mixed-citation></ref><ref id="scirp.67368-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Mikkili, S. and Panda, A.K. (2011) PI and Fuzzy Logic Controller Based 3-Phase 4-Wire Shunt Active filters for the Mitigation of Current Harmonics with the Id-Iq Control strategy. Journal of Power Electronics, 11, 914-921.</mixed-citation></ref><ref id="scirp.67368-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Suresh, M., Panda, A.K., Patnaik, S.S. and Yellasiri, S. (2011) Comparison of Two Compensation Control Strategies for Shunt Active Power Filter in Three-Phase Four-Wire System. IEEE PES Innovative Smart Grid Technologies, Hilton Anaheim, 17-19 January 2011, 1-6. http://dx.doi.org/10.1109/isgt.2011.5759126</mixed-citation></ref><ref id="scirp.67368-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Rodriguez, P., Candela, J.I., Luna, A. and Asiminoaei, L. (2009) Current Harmonics Cancellation in Three-Phase Four-Wire Systems by Using a Four-Branch Star Filtering Topology. IEEE Transactions on Power Electronics, 24, 1939-1950.</mixed-citation></ref><ref id="scirp.67368-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Chakravarthy, M., Sarma, P. M. and Saxena, S.N. (2011) Comparative Studies of Different Control Strategies for Shunt Active Filter. ARPN Journal of Engineering and Applied Sciences, 6, 27-35.</mixed-citation></ref><ref id="scirp.67368-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Parimala, V., Chenthur Pandian, S. and Ganeshkumar, D. (2015) Power Quality Improvement Using Four Leg Shunt Active Power Filter. International Journal of Applied Engineering Research, 10, 43207-43214.</mixed-citation></ref><ref id="scirp.67368-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Kale, M. and Ozdemir, E. (2005) An Adaptive Hysteresis Band Current Controller for Shunt Active Power Filter. Electric Power Systems Research, 73, 113-119.</mixed-citation></ref><ref id="scirp.67368-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Valle, Y.D., Venayagamoorthy, G.K., Mohagheghi, S., Hernandez, J.C. and Harley, R.G. (2008) Particle Swarm Optimization: Basic Concepts, Variants and Applications in Power Systems. IEEE Transactions on Evolutionary Computation, 12, 171-195. http://dx.doi.org/10.1109/TEVC.2007.896686</mixed-citation></ref><ref id="scirp.67368-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Kanjiya, P., Khadkikar, V. and Zeineldin, H.H. (2013) A Noniterative Optimized Algorithm for Shunt Active Power Filter under Distorted and Unbalanced Supply Voltages. IEEE Transaction on Industrial Electronics, 60, 5372-5390.  http://dx.doi.org/10.1109/TIE.2012.2235394</mixed-citation></ref><ref id="scirp.67368-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Dutta, S. and Singh, S.P. (2008) Optimal Rescheduling of Generators for Congestion Management based on Particle Swarm Optimization. IEEE Transaction on Power System, 23, 1560-1569. http://dx.doi.org/10.1109/TPWRS.2008.922647</mixed-citation></ref><ref id="scirp.67368-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Ucar, M. and Ozdemir, E. (2008) Control of a 3-Phase 4-Leg Active Power Filter under Non-ideal Mains Voltage Condition. Electric Power Systems Research, 78, 58-73. http://dx.doi.org/10.1016/j.epsr.2006.12.008</mixed-citation></ref><ref id="scirp.67368-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Chang, G.W. and Yeh, C.M. (2005) Optimization-Based Strategy for Shunt Active Power Filter Control under Non- Ideal Supply Voltages. IEE Proceeding on Electrical Power Application, 152, 182-190. http://dx.doi.org/10.1049/ip-epa:20045017</mixed-citation></ref><ref id="scirp.67368-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Kavala Kiran Kumar, A. and Vanajakshi, B. (2014) Optimal Design of Active Shunt Filter Using Particle Swarm Optimization. Journal of Electrical Engineering, 14, 1-7.</mixed-citation></ref></ref-list></back></article>