This document presents the simulation and analysis of FPGA-based pulse width modulation for single-phase hybrid active power filters used in power systems to mitigate harmonics and improve power quality. It discusses two configurations: one combining series active filters with shunt passive filters and another with shunt active filters complemented by shunt passive filters, highlighting their effectiveness in compensating current and voltage distortions. Key techniques in the design and implementation are explored, including PWM generation, carrier frequency determination, and the operational characteristics of the filters.