在微電網中可能會因為能源不穩定或其它外在因素導致電源端電壓發生驟降或驟升甚至是更嚴重的電力品質問題，因此可以透過串聯式主動電力濾波器來改善這些問題，維持良好的電力品質，其主要目的是濾除干擾並準確補償電源端電壓，使後面負載端電壓可以跟干擾前保持一致，因此也稱為動態電壓補償器(Dynamic Voltage Restorer)，硬體主要採三相四線轉換器架構，故要如何利用演算方法並透過硬體系統來實現串聯式主動電力濾波器補償器的效果為一大研究重點。 透過本文實驗結果觀察到串聯式主動電力濾波器發生電壓驟降並含其它電力干擾狀況下具有即時性、準確性的補償，將負載端電壓保持在合理的範圍內，使得後面負載端電壓不受電源端干擾所影響。 本文介紹了串聯式主動電力濾波器的運作原理及演算方法，並透過模擬及測試平台來驗證演算法的可行性後，更進一步實現於硬體系統。 ;In the microgrid, Power supply voltage occur voltage sag or a swell due to energy instability or other external factors, or even a more serious power quality problem. Therefore, the serial active power filter can be used to improve these problems.Serial active power filter main purpose of filter out the interference and accurately compensate the voltage , so that the load voltage can be consistent with that before the interference. Therefore, it is also called the Dynamic Voltage Restorer.The main hardware is constructe in a three-phase four-wire converter, so how to use the calculation method and realize the effect of the series active power filter compensator through the hardware system is a major research focus. Through the experimental results of this paper, it is observed that when series active power filter occur voltage sag and other interference,has the compensation of immediacy and accuracy ,so that the load voltage is kept within a reasonable range, load not Power supply interference is affected. This paper introduces the operation principle and calculation method of the series active power filter, and then verifies the feasibility of the algorithm through the simulation and test platform,and further realizes the hardware system.