With the increasing use of non-linear electrical loads in power system, the harmonic pollution has become a severe problem. In this paper, we proposed a simple method for power system harmonic analysis. Cascaded adaptive comb filter is designed specifically to suppress the electric harmonic pollution. And a high-precision but easily implemented frequency estimation algorithm is presented based on least square estimation method. So the electric signal frequency fluctuation can be real-time tracked, and coefficients of the comb filters can be adaptively updated with this algorithm.