I. Introduction
Power quality issues affect suppliers and customers. The first are affected by the appearance of unwanted components in the currents, which generate problems in their distribution lines, while the latter are affected by disruptions in the supply voltage which can cause malfunction or failure of critical loads. The development of shunt and series active filters based on PWM converters allowed to propose solutions to the above problems [1] [2]. Active filters can compensate problems associated with the supply voltage and the load power factor, in the case of series active filters; and harmonic currents and the load power factor, in the case of shunt active filters. The principle of the active filters is to use a controlled voltage source in series connection between the PCC and the load and a controlled current source in shunt connection between the PCC and the load, so that these sources inject voltage and current components to compensate for supply and load disturbances. On the other hand, the basic principle of theses active filters is based on a dc element as energy accumulator in a way that the waveform of current or voltage is modulated by the converter as needed.