thod and ip-iq method based on the instantaneous reactive power theory, because of the superiority of ip-iq method, we selected it as harmonic detection. we in-depth analysis the control strategy for APF, determine the hysteres is control method used to control pensation current. determine the closed-loop control used to control DC voltage. In the pager we introduced DSP chip TMS320F2812. On this basis, I devices APF. After, I used C language written DSP software.РFinally, the article also carried a MATLAB simulation of the harmonic detection for modeling, simulation analysis. This disseration also designs were reviewed, summarized the advantages of active power filter and proposed design deficiencies.РKeywords: Harmonic current Instantaneous reactive power theory РControl strategy DSP APF