Principle of direct power control for active power filter based on virtual flux was introduced, and a new scheme for three phase three wire active power filter was proposed. In the scheme, virtual flux was used to oriented, and the use of voltage sensor in conventional voltage oriented was overlooked. As to attain frequency control , the driving pulse is produced by space vector pulse modulation(SVPWM)link. At the same time, the fuzzy PI controller is applied to the voltage control link of direct power control system with robustness and fast dynamic response. The simulation result showed that the designed of direct power control system for active power filter based on virtual flux in this paper was correctness and effectiveness.