InthisPresentation,anewActivePowerFilter(APF)controlschemehasproposedtoimprove the performance of the APF.This presentation presents a new technique withinstantaneouspowertheory(P-Qtheory)inordertocontrolofAPFundernon-idealmainsvoltage conditions.Performance of the proposed scheme has been found feasible andexcellenttothatoftheinstantaneousreactivepoweralgorithmsundervariousnon-idealmainstestscenarios.MATLAB/SIMULINKpowersystemtoolboxisusedtosimulatetheproposedsystem.Theproposedmethodsperformanc