An active power filter is designed, simulated, implemented, and tested. It can work in different modes: active power filtering, power factor correction, and load unbalance compensation. It is based on a current controlled voltage-source inverter with fixed carrier PWM. The control algorithm generates the source reference currents based on the controlled DC link voltage. The dimensioning criteria of the inductive and capacitive power components is discussed. The implementation is validated with simulated and experimental results obtained in a 5 kVA prototype