I. Introduction
Many practices have shown that single-phase voltage sags are the most frequent and most serious transient power quality problems in distribution power system. Dynamic Voltage Restorer (DVR) is an effective solution for transient Power Quality(PQ) problems. When using DVR to fast compensate voltage sag, the characteristics of fundamental wave need to be detected quickly, including the beginning and ending time of voltage sag, the sag voltage amplitude and the accompanying phase angle shift. The realtime capability and accuracy of the detection finally decide the performance of the compensation. And the design of a low-pass filtering algorithm also plays a decisive role. Its types, order and the cut-off frequency have great impacts on the dynamic response and accuracy of the detection algorithm. But detection accuracy and dynamic response speed can not be reached simultaneously. The decrease of the dynamic response time means the reduce of detection accuracy, and vice versa.