This paper evaluates a harmonic detection method for single-phase active power filters using a d-q synchronous reference frame approach. It analyzes the impact of filtering techniques and a proposed novel method to remove DC offset from load current measurements without significantly compromising system dynamics. Simulation results confirm the effectiveness of the proposed method in improving harmonic extraction accuracy and compensation performance.