I. Introduction
With a large number of nonlinear loads connected to the power grid, harmonics and interharmonics pose a great threat to the safe and stable operation of the power system [1]–[3]. On the one hand, electric arc furnaces and large medical equipment can generate even harmonics and nearby interharmonics. These frequency components (FCs) can form dense harmonics with the odd harmonics of the power system, which will bring great challenges to the parameter measurement of the signal. On the other hand, inverters with variable frequency drives can generate odd harmonics and the nearby interharmonics, leading to voltage fluctuations [4], [5]. Therefore, it is of significant importance to detect the harmonic and interharmonic components in the power system signal in a fast and accurate manor.