Improved harmonic detection algorithm applied to APF | IEEE Conference Publication | IEEE Xplore