<?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">
    jpee
   </journal-id>
   <journal-title-group>
    <journal-title>
     Journal of Power and Energy Engineering
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2327-588X
   </issn>
   <issn publication-format="print">
    2327-5901
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/jpee.2025.1310011
   </article-id>
   <article-id pub-id-type="publisher-id">
    jpee-146828
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Engineering
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Performance Analysis of a Three-Phase Three-Wire Shunt Active Power Filter Using p-q Theory and Hysteresis Control
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Syahar Azalia Ab
      </surname>
      <given-names>
       Shukor
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Atikah
      </surname>
      <given-names>
       Razi
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Nur Asmiza
      </surname>
      <given-names>
       Selamat
      </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>
       Nor Azizah Mohd
      </surname>
      <given-names>
       Yusoff
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff3"> 
      <sup>3</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aEV-PRODRIVES, Centre of Robotics and Automation (CeRIA), Fakulti Teknologi dan Kejuruteraan Elektrik (FTKE), Universiti Teknikal Malaysia Melaka (UTeM), Durian Tunggal, Malacca, Malaysia
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aREAT, Centre of Robotics and Automation (CeRIA), Fakulti Teknologi dan Kejuruteraan Elektrik (FTKE), Universiti Teknikal
    </addr-line> 
   </aff> 
   <aff id="aff3">
    <addr-line>
     aPusat Pengajian Kejuruteraan Elektrik dan Elektronik, Universiti Sains Malaysia (USM), Pulau Pinang, Malaysia
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     17
    </day> 
    <month>
     10
    </month>
    <year>
     2025
    </year>
   </pub-date> 
   <volume>
    13
   </volume> 
   <issue>
    10
   </issue>
   <fpage>
    170
   </fpage>
   <lpage>
    183
   </lpage>
   <history>
    <date date-type="received">
     <day>
      5,
     </day>
     <month>
      September
     </month>
     <year>
      2025
     </year>
    </date>
    <date date-type="published">
     <day>
      27,
     </day>
     <month>
      September
     </month>
     <year>
      2025
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      27,
     </day>
     <month>
      October
     </month>
     <year>
      2025
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © 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>
    This paper presents the performance of a three-phase three-wire SAPFs controlled with p-q theory and hysteresis current control. The reference harmonic currents are obtained using p-q theory, while a proportional-integral (PI) controller is used to keep the DC-link voltage constant. The hysteresis control generates switching signals for the inverter to inject compensating currents into the system. A MATLAB/Simulink model was built and tested with different nonlinear loads, such as resistive, inductive, capacitive, and unbalanced loads. The simulation results prove that the SAPFs can reduce the Total Harmonic Distortion (THD) from more than 28% down to below 5%, which satisfies the IEEE-519 standard. The results also show that the proposed method has a fast response and stable operation under changing load conditions. This study confirms that the SAPFs with p-q theory and hysteresis control is a reliable solution for harmonic reduction in power distribution systems.
   </abstract>
   <kwd-group> 
    <kwd>
     Power Quality
    </kwd> 
    <kwd>
      Shunt Active Power Filter (SAPFs)
    </kwd> 
    <kwd>
      Harmonic Mitigation
    </kwd> 
    <kwd>
      p-q Theory
    </kwd> 
    <kwd>
      Hysteresis Current Control
    </kwd> 
    <kwd>
      PI Controller
    </kwd> 
    <kwd>
      Total Harmonic Distortion (THD)
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>The rapid growth of nonlinear loads such as rectifiers, adjustable speed drives, computers, and uninterruptible power supplies (UPS) has intensified the problem of harmonic distortion in modern power systems <xref ref-type="bibr" rid="scirp.146828-1">
     [1]
    </xref>-<xref ref-type="bibr" rid="scirp.146828-3">
     [3]
    </xref>. These loads draw non-sinusoidal currents that distort voltage and current waveforms, leading to issues like reduced efficiency, overheating, and malfunction of sensitive equipment. <xref ref-type="fig" rid="fig1">
     Figure 1
    </xref> shows the effect of nonlinear loads and Shunt Active Power Filters compensation. This figure highlights the importance of SAPFs in power systems. Without compensation, harmonics remain high, leading to poor power quality. With the SAPFs, THD is reduced, and the current waveform becomes almost sinusoidal, ensuring compliance with the IEEE-519 standard <xref ref-type="bibr" rid="scirp.146828-4">
     [4]
    </xref> <xref ref-type="bibr" rid="scirp.146828-5">
     [5]
    </xref>.</p>
   <fig id="fig1" position="float">
    <label>Figure 1</label>
    <caption>
     <title>
      <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 1. Effect of nonlinear loads and SAPFs compensation.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId13.jpeg?20251107025623" />
   </fig>
   <p>A key metric for power quality is Total Harmonic Distortion (THD). The IEEE-519 standard recommends keeping THD below 5% to ensure system reliability and proper operation <xref ref-type="bibr" rid="scirp.146828-6">
     [6]
    </xref> <xref ref-type="bibr" rid="scirp.146828-7">
     [7]
    </xref>. However, in many real-world systems, THD often exceeds this limit due to the prevalence of nonlinear loads and making harmonic mitigation essential <xref ref-type="bibr" rid="scirp.146828-8">
     [8]
    </xref>-<xref ref-type="bibr" rid="scirp.146828-10">
     [10]
    </xref>.</p>
   <p>Passive filters, consisting of tuned LC circuits, have been traditionally used for harmonic reduction; while simple in construction, but suffer from fixed tuning, large size, resonance issues, and limited adaptability <xref ref-type="bibr" rid="scirp.146828-11">
     [11]
    </xref> <xref ref-type="bibr" rid="scirp.146828-12">
     [12]
    </xref>. In contrast, Shunt Active Power Filters (SAPFs) have been developed as a more effective and flexible alternative. SAPFs dynamically inject compensating currents to cancel out harmonics, offering a more flexible and effective solution to improve power quality <xref ref-type="bibr" rid="scirp.146828-13">
     [13]
    </xref>-<xref ref-type="bibr" rid="scirp.146828-15">
     [15]
    </xref>.</p>
   <p>The effectiveness of an SAPFs depends on robust control strategies. The p-q (instantaneous active and reactive power) theory is a common method to extract reference harmonic currents <xref ref-type="bibr" rid="scirp.146828-16">
     [16]
    </xref> <xref ref-type="bibr" rid="scirp.146828-17">
     [17]
    </xref>. A proportional-integral (PI) controller is typically used to maintain a stable DC-link voltage. The hysteresis current control method is frequently chosen for generating inverter switching signals due to its fast response and simple implementation <xref ref-type="bibr" rid="scirp.146828-18">
     [18]
    </xref> <xref ref-type="bibr" rid="scirp.146828-19">
     [19]
    </xref>.</p>
   <p>This paper analyses the performance of a three-phase, three-wire SAPFs combining p-q theory, PI-based DC-link control, and hysteresis current control. A MATLAB/Simulink model is developed and simulated under multiple nonlinear load scenarios. The main contribution is a clear demonstration that the proposed control method effectively reduces THD below IEEE-519 limits while maintaining stable operation.</p>
  </sec><sec id="s2">
   <title>2. System Configuration</title>
   <p>The proposed system is a three-phase three-wire Shunt Active Power Filter (SAPFs) designed to reduce harmonics in nonlinear loads. The SAPFs is modelled and simulated in MATLAB/Simulink. The control strategy combines the p-q theory for reference current generation, a PI controller for DC-link voltage regulation, and hysteresis current control for switching signal generation.</p>
   <p>The test system consists of:</p>
   <p>The SAPFs injects compensating currents into the system to cancel harmonics generated by the nonlinear load.</p>
   <fig id="fig2" position="float">
    <label>Figure 2</label>
    <caption>
     <title>
      <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 2. Block diagram SAPFs main components and control structure.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId14.jpeg?20251107025624" />
   </fig>
   <p>
    <xref ref-type="fig" rid="fig2">
     Figure 2
    </xref>shows the operation of a Shunt Active Power Filter (SAPFs), which is used to improve power quality by compensating for harmonics generated by non-linear loads. The Shunt Active Power Filter (SAPFs) is a power quality device connected in parallel with a non-linear load at the Point of Common Coupling (PCC). Its main function is to eliminate current harmonics generated by non-linear loads, which distort the supply current and reduce system efficiency. In normal operation, the non-linear load draws a distorted current that contains both the fundamental component and harmonic components.</p>
   <p>SAPFs continuously monitors the load current, extracts the harmonic content, and generates a compensating current equal in magnitude but opposite in phase to the unwanted harmonics. This compensating current is then injected into the system, effectively canceling out the harmonic distortion. As a result, the source current becomes nearly sinusoidal, supplying only the fundamental active power required by the load. The waveforms clearly illustrate this process: without SAPFs, the source current is distorted, but with SAPFs, it is restored to a clean sinusoidal form, thereby improving power quality, reducing Total Harmonic Distortion (THD), and ensuring efficient utilization of electrical power.</p>
   <sec id="s2_1">
    <title>2.1. Reference Current Extraction Using p-q Theory</title>
    <p>The instantaneous p-q theory, also known as the instantaneous active and reactive power theory, is widely used for extracting reference harmonic currents in three-phase systems. Its main advantage lies in its ability to analyze power in the time domain under both steady-state and transient conditions, without requiring prior knowledge of system parameters.</p>
    <p>The instantaneous p-q theory is used to calculate reference harmonic currents. The three-phase voltages and currents are first transformed from the abc frame to the α-β frame using Clarke’s transformation:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                α 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                β 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <mfrac> 
          <mn>
            2 
          </mn> 
          <mn>
            3 
          </mn> 
         </mfrac> 
        </mrow> 
       </msqrt> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mn>
                  1 
                </mn> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mn>
                  0 
                </mn> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mo>
                   − 
                 </mo> 
                 <mfrac> 
                  <mn>
                    1 
                  </mn> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mfrac> 
                  <mrow> 
                   <msqrt> 
                    <mn>
                      3 
                    </mn> 
                   </msqrt> 
                  </mrow> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mo>
                   − 
                 </mo> 
                 <mfrac> 
                  <mn>
                    1 
                  </mn> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mo>
                   − 
                 </mo> 
                 <mfrac> 
                  <mrow> 
                   <msqrt> 
                    <mn>
                      3 
                    </mn> 
                   </msqrt> 
                  </mrow> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                a 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                b 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                c 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                α 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                β 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <mfrac> 
          <mn>
            2 
          </mn> 
          <mn>
            3 
          </mn> 
         </mfrac> 
        </mrow> 
       </msqrt> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mn>
                  1 
                </mn> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mn>
                  0 
                </mn> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mo>
                   − 
                 </mo> 
                 <mfrac> 
                  <mn>
                    1 
                  </mn> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mfrac> 
                  <mrow> 
                   <msqrt> 
                    <mn>
                      3 
                    </mn> 
                   </msqrt> 
                  </mrow> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <mtable> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mo>
                   − 
                 </mo> 
                 <mfrac> 
                  <mn>
                    1 
                  </mn> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
              <mtr> 
               <mtd> 
                <mrow> 
                 <mo>
                   − 
                 </mo> 
                 <mfrac> 
                  <mrow> 
                   <msqrt> 
                    <mn>
                      3 
                    </mn> 
                   </msqrt> 
                  </mrow> 
                  <mn>
                    2 
                  </mn> 
                 </mfrac> 
                </mrow> 
               </mtd> 
              </mtr> 
             </mtable> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                a 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                b 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                c 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>The instantaneous active (p) and reactive (q) power are then computed as:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mi>
              p 
            </mi> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mi>
              q 
            </mi> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                α 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                β 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                β 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                v 
              </mi> 
              <mi>
                α 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mtable> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                α 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
          <mtr> 
           <mtd> 
            <mrow> 
             <msub> 
              <mi>
                i 
              </mi> 
              <mi>
                β 
              </mi> 
             </msub> 
            </mrow> 
           </mtd> 
          </mtr> 
         </mtable> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>The harmonic components of the load current are identified from p and q, and their inverse transformation provides the reference compensating currents. In summary, the p-q theory enables real-time identification of harmonic components and provides the necessary reference signals for the SAPFs to inject equal and opposite harmonic currents, thereby restoring the source current to a sinusoidal form.</p>
    <p>
     <xref ref-type="fig" rid="fig3">
      Figure 3
     </xref> shows the p-q algorithm in MATLAB Simulink modelling. The block diagram is based on the p–q theory, which works in the stationary α-β-0 reference frame. The three-phase voltages (Vs<sub>abc</sub>) and currents (Is<sub>abc</sub>) are first transformed from the abc frame to αβ0 coordinates using Clarke’s transformation.</p>
    <p>This transformation converts the three-phase quantities into two orthogonal components (α and β) that simplify instantaneous power calculations. Once in the α-β domain, the instantaneous active power (p) and reactive power (q) are calculated using algebraic equations involving voltages and currents. The multiplication blocks represent the cross-products of voltages and currents. After obtaining p and q, the signals pass through filters to separate the average components (which represent fundamental power) and the oscillating components (which represent harmonics and reactive power). The harmonic and reactive components of power are undesirable, so the reference compensating currents are calculated based on them. These reference currents are then transformed back to the abc frame and fed to the SAPFs, which generates compensating currents to cancel out harmonics and reactive power from the load current.</p>
    <fig id="fig3" position="float">
     <label>Figure 3</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 3. PQ algorithm MATLAB simulink modelling.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId21.jpeg?20251107025624" />
    </fig>
   </sec>
   <sec id="s2_2">
    <title>2.2. DC-Link Voltage Regulation Using PI Controller</title>
    <p>The DC-link capacitor is a critical component of the Voltage Source Inverter (VSI) in the Shunt Active Power Filter (SAPF). It acts as an energy storage element that supplies the required compensating current during operation. However, the capacitor voltage tends to fluctuate due to load variations, inverter switching, and harmonic compensation.</p>
    <p>If the DC-link voltage is not properly regulated, the SAPF cannot inject the correct compensating current, leading to poor harmonic mitigation and even system instability.</p>
    <p>To maintain a constant DC-link voltage, a PI controller is used. The error between the reference DC voltage ( 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msubsup> 
        <mi>
          V 
        </mi> 
        <mrow> 
         <mi>
           d 
         </mi> 
         <mi>
           c 
         </mi> 
        </mrow> 
        <mo>
          ∗ 
        </mo> 
       </msubsup> 
      </mrow> 
     </math>) and the actual voltage (V<sub>dc</sub>) is processed by the PI controller</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         u 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          K 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <mi>
         e 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          K 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
       <mstyle displaystyle="true"> 
        <mrow> 
         <mo>
           ∫ 
         </mo> 
         <mrow> 
          <mi>
            e 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mi>
             t 
           </mi> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mtext>
            d 
          </mtext> 
          <mi>
            t 
          </mi> 
         </mrow> 
        </mrow> 
       </mstyle> 
      </mrow> 
     </math></p>
    <p>where 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         e 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          t 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <msubsup> 
        <mi>
          V 
        </mi> 
        <mrow> 
         <mi>
           d 
         </mi> 
         <mi>
           c 
         </mi> 
        </mrow> 
        <mo>
          ∗ 
        </mo> 
       </msubsup> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          V 
        </mi> 
        <mrow> 
         <mi>
           d 
         </mi> 
         <mi>
           c 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math>.</p>
    <p>This ensures that the capacitor voltage remains stable during operation, improving the dynamic response of the SAPFs.</p>
    <fig id="fig4" position="float">
     <label>Figure 4</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 4. Modelling PI controller MATLAB simulink.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId28.jpeg?20251107025625" />
    </fig>
    <p>
     <xref ref-type="fig" rid="fig4">
      Figure 4
     </xref> shows the modelling PI controller in MATLAB Simulink. In the simulation, the DC-link reference voltage was set to 840 V. The PI controller gains (K<sub>p</sub> and K<sub>i</sub>) were tuned to achieve a fast response, minimum overshoot, and stable operation. The results showed that the PI controller maintained the DC-link voltage within a narrow range around the reference value, thereby ensuring smooth and reliable operation of the SAPF.</p>
    <p>The PI controller gains were tuned using a trial-and-error approach to achieve a compromise between fast transient response and minimal overshoot. The selected values were K<sub>p</sub> = 0.4 and K<sub>i</sub> = 20. Simulation results show that the controller maintained stable DC-link voltage regulation under different load conditions. Sensitivity analysis showed that small deviations (±15%) in the controller parameters did not significantly affect system stability, confirming robustness.</p>
   </sec>
   <sec id="s2_3">
    <title>2.3. Hysteresis Current Control</title>
    <p>The hysteresis controller compares the actual source current with the reference compensating current. Hysteresis current control was selected in this work due to its simple structure and fast dynamic response. Unlike fixed-frequency PWM methods such as Space Vector PWM (SVPWM), hysteresis control results in variable switching frequency, which increases device stress but ensures accurate current tracking and fast compensation. The trade-off between switching losses and dynamic performance makes hysteresis suitable for prototype and research-level SAPF systems.</p>
    <p>The switching signals for the VSI are generated when the error exceeds a defined hysteresis band.</p>
    <p>This method is widely used due to its simplicity, fast response, and accurate current tracking.</p>
    <p>The Hysteresis Current Control (HCC) method shown in <xref ref-type="fig" rid="fig5">
      Figure 5
     </xref> works as a fast and straightforward control strategy for current regulation in a Voltage Source Inverter (VSI) used in a Shunt Active Power Filter (SAPFs). In this method, the reference compensating current (I*) is generated by the control algorithm (such as p-q theory), while the actual source current (Is) is continuously measured. Both are fed into a comparator that calculates the error between the actual current and the reference. This error is then checked against a predefined hysteresis band.</p>
    <fig id="fig5" position="float">
     <label>Figure 5</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 5. Modelling hysteresis current control in MATLAB simulink.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId29.jpeg?20251107025625" />
    </fig>
    <p>This creates a switching pattern that forces the source current to remain within the hysteresis band around the reference current. In essence, the hysteresis controller ensures that the inverter generates exactly the right amount of compensating current, so the source current remains sinusoidal, and harmonics are eliminated.</p>
   </sec>
   <sec id="s2_4">
    <title>2.4. Simulation Parameters</title>
    <p>The SAPFs system is tested under steady-state and dynamic load changes to evaluate THD reduction performance.</p>
    <p>To ensure reproducibility of the proposed SAPF model, the key system parameters used in the MATLAB/Simulink simulations are listed in <xref ref-type="table" rid="table1">
      Table 1
     </xref>. These parameters include the source characteristics, filter inductor, DC-link capacitor, reference DC voltage, switching devices, hysteresis band, and sampling time.</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Table 1. Key parameters used for SAPFs simulation model.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="35.26%"><p style="text-align:center">Component</p></td> 
       <td class="custom-bottom-td acenter" width="28.10%"><p style="text-align:center">Value</p></td> 
       <td class="custom-bottom-td acenter" width="36.64%"><p style="text-align:center">Description</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="35.26%"><p style="text-align:center">Source Voltage</p></td> 
       <td class="custom-top-td acenter" width="28.10%"><p style="text-align:center">415 V (L-L), 50 Hz</p></td> 
       <td class="custom-top-td acenter" width="36.64%"><p style="text-align:center">AC supply</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="35.26%"><p style="text-align:center">Filter Inductor (L<sub>f</sub>)</p></td> 
       <td class="acenter" width="28.10%"><p style="text-align:center">2 mH</p></td> 
       <td class="acenter" width="36.64%"><p style="text-align:center">Interface inductor for SAPF</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="35.26%"><p style="text-align:center">DC-Link Capacitor (C<sub>dc</sub>)</p></td> 
       <td class="acenter" width="28.10%"><p style="text-align:center">~2000 µF</p></td> 
       <td class="acenter" width="36.64%"><p style="text-align:center">Provides energy storage</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="35.26%"><p style="text-align:center">DC-Link Voltage ( 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msubsup> 
            <mi>
              V 
            </mi> 
            <mrow> 
             <mi>
               d 
             </mi> 
             <mi>
               c 
             </mi> 
            </mrow> 
            <mo>
              ∗ 
            </mo> 
           </msubsup> 
          </mrow> 
         </math>)</p></td> 
       <td class="acenter" width="28.10%"><p style="text-align:center">800 V</p></td> 
       <td class="acenter" width="36.64%"><p style="text-align:center">Reference value</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="35.26%"><p style="text-align:center">Switching Device</p></td> 
       <td class="acenter" width="28.10%"><p style="text-align:center">IGBT (1200 V, 50 A)</p></td> 
       <td class="acenter" width="36.64%"><p style="text-align:center">VSI device</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="35.26%"><p style="text-align:center">Hysteresis Band Width</p></td> 
       <td class="acenter" width="28.10%"><p style="text-align:center">±0.1 A</p></td> 
       <td class="acenter" width="36.64%"><p style="text-align:center">Current control tolerance</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="35.26%"><p style="text-align:center">Sampling Time</p></td> 
       <td class="acenter" width="28.10%"><p style="text-align:center">10 µs</p></td> 
       <td class="acenter" width="36.64%"><p style="text-align:center">Simulation step size</p></td> 
      </tr> 
     </table>
    </table-wrap>
   </sec>
  </sec><sec id="s3">
   <title>3. Results and Discussion</title>
   <p>The proposed Shunt Active Power Filter (SAPFs) model was implemented in MATLAB/Simulink to evaluate its performance under different nonlinear load conditions. The source current waveforms, FFT spectra, and THD values were analyzed before and after SAPF operation to validate performance. The analysis focused on the effectiveness of the SAPFs in reducing harmonics and improving the quality of the source current. The Total Harmonic Distortion (THD) was measured before and after the application of the SAPFs to validate compliance with the IEEE-519 standard.</p>
   <p>Before compensation, the source current waveforms exhibited severe distortion due to harmonics introduced by the nonlinear loads. After the SAPF was activated, the waveforms became nearly sinusoidal, demonstrating successful injection of compensating currents.</p>
   <sec id="s3_1">
    <title>3.1. Source Current Waveforms</title>
    <p>
     <xref ref-type="fig" rid="fig6">
      Figure 6
     </xref> shows the source current waveform before and after applying SAPFs of non-linear load. Without the SAPFs, the source current drawn by nonlinear loads was highly distorted due to the presence of harmonics. After the SAPFs was activated, the compensated source current became almost sinusoidal. This demonstrates that the SAPFs successfully injected compensating currents, cancelling the harmonic components generated by the nonlinear load.</p>
    <fig id="fig6" position="float">
     <label>Figure 6</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 6. Source current waveform before and after applying SAPFs of non-linear load.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId32.jpeg?20251107025627" />
    </fig>
    <p>This confirms the effectiveness of the p-q theory for harmonic extraction and the hysteresis controller for fast current tracking.</p>
    <p>
     <xref ref-type="fig" rid="fig7">
      Figure 7
     </xref> shows how the THD of source current (non-linear Load R) drops from 28.46% before SAPFs to 3.24% after SAPFs.</p>
    <p>
     <xref ref-type="fig" rid="fig8">
      Figure 8
     </xref> shows the FFT Spectrum Source Current before SAPFs. The FFT spectrum plots provide a clear illustration of how the Shunt Active Power Filter (SAPFs) mitigates harmonics from the current source. Before the SAPFs are applied, the spectrum shows the fundamental frequency at 50 Hz along with significant harmonic peaks, particularly at 150 Hz (3rd harmonic) and 250 Hz (5th harmonic). These strong harmonic components indicate distortion in the source current waveform, which contributes to a high Total Harmonic Distortion (THD) level.</p>
    <fig id="fig7" position="float">
     <label>Figure 7</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 7. THD comparison source current.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId33.jpeg?20251107025626" />
    </fig>
    <fig id="fig8" position="float">
     <label>Figure 8</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 8. FFT spectrum source current before SAPFs.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId34.jpeg?20251107025627" />
    </fig>
    <fig id="fig9" position="float">
     <label>Figure 9</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 9. FFT spectrum source current after SAPFs.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId35.jpeg?20251107025627" />
    </fig>
    <p>
     <xref ref-type="fig" rid="fig9">
      Figure 9
     </xref> shows the FFT spectrum source current after SAPFs. After the SAPF is connected, the spectrum changes drastically. The waveform becomes nearly sinusoidal, and the harmonic magnitudes at higher frequencies are greatly reduced. The dominant peak remains at the 50 Hz fundamental, while the 3rd and 5th harmonics are suppressed to minimal levels. This reduction demonstrates the effectiveness of the SAPF in eliminating unwanted harmonics, improving power quality, and ensuring that the source current closely follows an ideal sinusoidal waveform.</p>
   </sec>
   <sec id="s3_2">
    <title>3.2. THD Analysis</title>
    <p>The Total Harmonic Distortion (THD) analysis was performed to evaluate the effectiveness of the Shunt Active Power Filter (SAPF) under various non-linear load conditions.</p>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Table 2. THD reduction under different load conditions.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="33.09%"><p style="text-align:center">Load Type</p></td> 
       <td class="custom-bottom-td acenter" width="34.50%"><p style="text-align:center">THD Before SAPF</p></td> 
       <td class="custom-bottom-td acenter" width="32.41%"><p style="text-align:center">THD After SAPF</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="33.09%"><p style="text-align:center">R Load</p></td> 
       <td class="custom-top-td acenter" width="34.50%"><p style="text-align:center">~27.9%</p></td> 
       <td class="custom-top-td acenter" width="32.41%"><p style="text-align:center">~4.7%</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.09%"><p style="text-align:center">RL Load</p></td> 
       <td class="acenter" width="34.50%"><p style="text-align:center">~26.5%</p></td> 
       <td class="acenter" width="32.41%"><p style="text-align:center">~4.8%</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.09%"><p style="text-align:center">RC Load</p></td> 
       <td class="acenter" width="34.50%"><p style="text-align:center">~25.8%</p></td> 
       <td class="acenter" width="32.41%"><p style="text-align:center">~4.6%</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.09%"><p style="text-align:center">RLC Load</p></td> 
       <td class="acenter" width="34.50%"><p style="text-align:center">~28.2%</p></td> 
       <td class="acenter" width="32.41%"><p style="text-align:center">~4.9%</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="33.09%"><p style="text-align:center">Unbalanced Load</p></td> 
       <td class="acenter" width="34.50%"><p style="text-align:center">~29.1%</p></td> 
       <td class="acenter" width="32.41%"><p style="text-align:center">~4.8%</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>
     <xref ref-type="table" rid="table2">
      Table 2
     </xref>summarizes the THD values that were recorded for different nonlinear load conditions. For all tested cases—including resistive (R), resistive-inductive (RL), resistive-capacitive (RC), resistive-inductive-capacitive (RLC), and unbalanced loads—the source current exhibited severe distortion before the SAPF was applied, with THD levels ranging between 28% and 29%. Such high distortion levels significantly exceed the IEEE-519 recommended limit of 5%, confirming the need for harmonic mitigation.</p>
    <p>
     <xref ref-type="fig" rid="fig10">
      Figure 10
     </xref> shows the comparison of THD values before and after SAPFs under different nonlinear load conditions. After the SAPF was connected, the THD values dropped drastically across all load types. For the R load, the THD reduced from 28.46% to 3.24%; for RL, from 28.12% to 3.49%; for RC, from 28.71% to 3.33%; and for RLC, from 29.02% to 3.68%. Similarly, for unbalanced resistive load conditions, THD decreased from 20.74% to 3.12%. In all cases, the post-SAPF THD values were consistently below 5%, thereby meeting the IEEE-519 standard requirements.</p>
    <p>This outcome demonstrates that the SAPF, controlled using the p-q theory and hysteresis current control method, successfully mitigates current harmonics and restores the source current to a near-sinusoidal form. The harmonic compensation is both fast and effective, with the filter responding almost instantly to load disturbances. Consequently, the SAPF not only improves power quality but also ensures stable and efficient operation of the power system.</p>
    <fig id="fig10" position="float">
     <label>Figure 10</label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Figure 10. Comparison of THD values before and after SAPFs under different nonlinear load conditions.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/1771294-rId36.jpeg?20251107025627" />
    </fig>
   </sec>
   <sec id="s3_3">
    <title>3.3. SAPFs Dynamic Performance</title>
    <p>To evaluate the dynamic performance of the proposed SAPF, step load change tests were carried out in the MATLAB/Simulink model. The dynamic metrics considered include settling time and peak overshoot, which are standard indicators of control system response. <xref ref-type="table" rid="table3">
      Table 3
     </xref> summarizes the results of SAPFs dynamic response for different nonlinear load conditions.</p>
    <table-wrap id="table3">
     <label>
      <xref ref-type="table" rid="table3">
       Table 3
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.146828-"></xref>Table 3. SAPFs dynamic responses.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="37.35%"><p style="text-align:center">Load Condition</p></td> 
       <td class="custom-bottom-td acenter" width="31.32%"><p style="text-align:center">Settling Time (ms)</p></td> 
       <td class="custom-bottom-td acenter" width="31.32%"><p style="text-align:center">Peak Overshoot (%)</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="37.35%"><p style="text-align:center">Step change in R Load</p></td> 
       <td class="custom-top-td acenter" width="31.32%"><p style="text-align:center">8.5</p></td> 
       <td class="custom-top-td acenter" width="31.32%"><p style="text-align:center">4.2</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="37.35%"><p style="text-align:center">Step change in RL Load</p></td> 
       <td class="acenter" width="31.32%"><p style="text-align:center">9.2</p></td> 
       <td class="acenter" width="31.32%"><p style="text-align:center">4.8</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="37.35%"><p style="text-align:center">Step change in RLC Load</p></td> 
       <td class="acenter" width="31.32%"><p style="text-align:center">10.1</p></td> 
       <td class="acenter" width="31.32%"><p style="text-align:center">5.1</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>The results indicate that the SAPF responds within approximately 8 - 10 ms after a step load change, with peak overshoot limited to less than 6% in all cases. This confirms the “fast response” capability claimed for the system, primarily due to the simplicity and rapid action of the hysteresis current controller. The short settling time demonstrates that the SAPF can effectively compensate for sudden disturbances in real time, ensuring stable and reliable power quality improvement.</p>
   </sec>
  </sec><sec id="s4">
   <title>4. Conclusions</title>
   <p>This paper presented the performance analysis of a three-phase three-wire Shunt Active Power Filter (SAPF) using p-q theory and hysteresis current control. The proposed system was modelled and tested in MATLAB/Simulink under various nonlinear load conditions.</p>
   <p>The simulation results showed that the SAPF effectively reduced Total Harmonic Distortion (THD) from about 25% - 30% to less than 5% for all load types, meeting the IEEE-519 standard requirements. The source current waveforms were restored to nearly sinusoidal shape, confirming the effectiveness of the p-q theory in extracting reference harmonic currents. The PI controller successfully regulated the DC-link voltage, ensuring stable operation, while the hysteresis current controller provided fast and accurate current tracking.</p>
   <p>Furthermore, the SAPF demonstrated reliable performance under dynamic load changes, where the system quickly compensated for sudden disturbances and maintained sinusoidal current. Compared to traditional passive filters, the proposed SAPF offers flexibility, dynamic compensation, and elimination of resonance problems.</p>
   <p>In conclusion, the combination of p-q theory, PI control, and hysteresis current control provides a simple yet effective solution for harmonic mitigation and power quality improvement in three-phase systems. Future work may focus on optimizing the PI controller using advanced techniques such as fuzzy logic or particle swarm optimization, as well as validating the approach through hardware implementation. This study focused on a three-wire configuration. Extending the method to a three-phase four-wire system would allow neutral current compensation, making the SAPF suitable for unbalanced and single-phase loads.</p>
   <p>Despite the promising results obtained in simulation, some practical limitations need to be considered before large-scale implementation. First, the hysteresis current controller introduces a variable switching frequency, which increases switching losses and may cause additional stress on semiconductor devices such as IGBTs. This can reduce the overall efficiency and lifespan of the converter. Second, the system’s scalability to higher power ratings requires larger DC-link capacitors, more robust cooling systems, and advanced semiconductor devices, which may increase cost and complexity. Finally, the proposed model was validated in a simulation environment; in practice, measurement noise, sensor errors, and real-time computation delays may affect controller accuracy. Future research may therefore focus on hybrid control strategies that combine hysteresis with fixed-frequency modulation, adaptive tuning methods to optimize PI gains, and experimental prototyping to confirm the system’s performance under real operating conditions.</p>
  </sec><sec id="s5">
   <title>Acknowledgements</title>
   <p>The authors gratefully acknowledge Universiti Teknikal Malaysia Melaka (UTeM) for the financial support provided for this project. This research is also supported by the Electric Vehicle - Power Electronics, Machines and Drives (EV-PRODRIVE) research group under the Centre of Robotics and Automation (CeRIA), Fakulti Teknologi dan Kejuruteraan Elektrik (FTKE), Universiti Teknikal Malaysia Melaka (UTeM), 76100, Hang Tuah Jaya, Durian Tunggal, Melaka, Malaysia. The project is conducted in collaboration with the Universiti Sains Malaysia.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.146828-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Aswal, J. and Pal, Y. (2018) Passive and Active Filter for Harmonic Mitigation in a 3-Phase, 3-Wire System. 2018 2nd International Conference on Inventive Systems and Control (ICISC), Coimbatore, 19-20 January 2018, 668-672. &gt;https://doi.org/10.1109/icisc.2018.8398882
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Wang, Y., Chen, P., Yong, J., Xu, W., Xu, S. and Liu, K. (2022) A Comprehensive Investigation on the Selection of High-Pass Harmonic Filters. IEEE Transactions on Power Delivery, 37, 4212-4226. &gt;https://doi.org/10.1109/tpwrd.2022.3147835
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Sanjan, P.S., Gowtham, N., Bhaskar, M.S., Subramaniam, U., Almakhles, D.J., Padmanaban, S., et al. (2020) Enhancement of Power Quality in Domestic Loads Using Harmonic Filters. IEEE Access, 8, 197730-197744. &gt;https://doi.org/10.1109/access.2020.3034734
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Adamou, M., Alkassoum, N., Foulani, A. and Maiga, A.S. (2019) Comparative Study of Linear and Non-Linear Controls of Three-Phase Shunt Active Filters for Improving the Quality of Electrical Energy. Energy and Power Engineering, 11, 149-166. &gt;https://doi.org/10.4236/epe.2019.113009
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     El-Ela, A.A., Allam, S.M., Mubarak, A.A. and El-Sehiemy, R.A. (2022) Harmonic Mitigation by Optimal Allocation of Tuned Passive Filter in Distribution System. Energy and Power Engineering, 14, 291-312. &gt;https://doi.org/10.4236/epe.2022.147016
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     IEEE Power and Energy Society (2014) IEEE Recommended Practice and Requirements for Harmonic Control in Electric Power Systems (IEEE Std 519™-2014). The Institute of Electrical and Electronics Engineers. &gt;https://doi.org/10.1109/IEEESTD.2014.6826459 
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Darussalam, R., Rajani, A., Atmaja, T.D., Junaedi, A. and Kuncoro, M. (2020) Study of Harmonic Mitigation Techniques Based on Ranges Level Voltage Refer to IEEE 519-2014. 2020 International Conference on Sustainable Energy Engineering and Application (ICSEEA), Tangerang, 18-20 November 2020, 1-8. &gt;https://doi.org/10.1109/icseea50711.2020.9306137
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hoo, D.S., Chua, K.H., Seng Lim, Y., Chen, T.H., Chan, M.E., Ching, K.J., et al. (2021) Mitigation of Harmonic Distortions with Shunt Active Harmonic Filter Using SVPWM Technique. 2021 Innovations in Power and Advanced Computing Technologies (i-PACT), Kuala Lumpur, 27-29 November 2021, 1-6. &gt;https://doi.org/10.1109/i-pact52855.2021.9696506
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ferrari, M. (2018) Evaluation of Harmonic Detection Algorithms for Active Power Filter Based on Voltage and Current Detection Methods. 2018 9th IEEE International Symposium on Power Electronics for Distributed Generation Systems (PEDG), 25-28 June 2018, Charlotte, 1-8. &gt;https://doi.org/10.1109/pedg.2018.8447737
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Venkata Anjani Kumar G, and M. Damodar Reddy, (2023) Mitigation of Grid Current Harmonics by ABC-ANN Based Shunt Active Power Filter. Journal of Advanced Research in Applied Sciences and Engineering Technology, 33, 285-298. &gt;https://doi.org/10.37934/araset.33.1.285298
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hoon, Y., Mohd Radzi, M.A., Mohd Zainuri, M.A.A. and Zawawi, M.A.M. (2019) Shunt Active Power Filter: A Review on Phase Synchronization Control Techniques. Electronics, 8, Article 791. &gt;https://doi.org/10.3390/electronics8070791
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Afonso, J., Aredes, M., Watanabe, E. and Martins, J. (year) Shunt Active Filter for Power Quality Improvement. International Conference UIE 2000 “Electricity for a Sustainable Urban Development”, Lisboa, 1-4 Novembre 2000, 683-691. 
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Pérez-Ramírez, J., Montoya-Acevedo, D., Gil-González, W., Montoya, O.D. and Restrepo, C. (2025) Shunt Active Power Filter Using Model Predictive Control with Stability Guarantee. e-Prime-Advances in Electrical Engineering, Electronics and Energy, 12, Article 101029. &gt;https://doi.org/10.1016/j.prime.2025.101029
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Verma, A., Lakhchaura, V. and Singh, K.V. (2015) A Novel to Reduce Harmonics Using Conventional Control of Active Shunt Power Filter. IJSTE International Journal of Science Technology and Engineering, 2, 88-93.
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Imam, A.A., Sreerama Kumar, R. and Al-Turki, Y.A. (2020) Modeling and Simulation of a PI Controlled Shunt Active Power Filter for Power Quality Enhancement Based on P-Q Theory. Electronics (Basel), 9, 637. &gt;https://doi.org/10.3390/electronics9040637 
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Jauhari, M., Riawan, D.C. and Ashari, M. (2018) Control Design for Shunt Active Power Filter Based on P-Q Theory in Photovoltaic Grid-Connected System. International Journal of Power Electronics and Drive Systems (IJPEDS), 9, Article 1064. &gt;https://doi.org/10.11591/ijpeds.v9.i3.pp1064-1071
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Jauhari, M., Widarsono, K. and Kurdianto, A.A. (2019) Shunt Active Power Filter for Harmonic Mitigation Based on P-Q Theory. 2019 International Conference on Electrical, Electronics and Information Engineering (ICEEIE), 3-4 October 2019, Denpasar, 11-14. &gt;https://doi.org/10.1109/iceeie47180.2019.8981440
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Imam, A.A., Sreerama Kumar, R. and Al-Turki, Y.A. (2020) Modeling and Simulation of a PI Controlled Shunt Active Power Filter for Power Quality Enhancement Based on P-Q Theory. Electronics, 9, Article 637. &gt;https://doi.org/10.3390/electronics9040637
    </mixed-citation>
   </ref>
   <ref id="scirp.146828-ref19">
    <label>19</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ariffin, N.I.M., Rahman, N.F.A. and Noor, S.Z.M. (2023) Hybrid One-Cycle-Pi Control Algorithm for Shunt Active Power Filter in Mitigating Harmonic Currents. Journal of Advanced Research in Applied Sciences and Engineering Technology, 33, 31-43. &gt;https://doi.org/10.37934/araset.33.1.3143
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>