As one-cycle controlled single-phase active power filter(APF) only can compensate harmonics and reactive currents simultaneously,this paper detects circuit based on instantaneous reactive theory and current traces control circuit based on one-cycle control with harmonic current.The control equations and circuit are set up.The results of simulation verify that this scheme is effective and APFs can compensate harmonic and reactive current according to requirement with the distorted source voltages.