本論文旨在設計一同步控制器,使微電網從孤島運轉模式下進行與市電之同步併網。測量共用耦合點(PCC)兩側的三相電壓值,經由鎖相迴路估測相位角,再透過同步控制令微電網與市電之相位差符合IEEE 1547併網之規範,以避免在併網切換過程中,因兩者不同步的原因而導致的不穩定狀況。相位檢測之準確度會受到電力品質不良狀況影響,採用雙二階廣義積分鎖相迴路架構作為同步控制器之基礎,以克服如不平衡、諧波等狀況。透過Matlab/Simulink軟體,以一變流器模擬微電網,進行與市電併聯之過程,驗證同步控制器之可行性。硬體方面則以三相四線半橋式轉換器作為變流器實體架構,使用Renesas RX62T 微處理器實現控制器之設計。;This paper is aimed to design a synchronization controller for microgrid, which control the microgrid to operate in islanding mode , resynchronize with and reconnect to the grid. Estimate the phase angle through the phase locked loop(PLL) by measuring the three-phase voltage on both sides of the point of common coupling(PCC). Then, utilize the synchronization controller to reduce the phase difference between grid and microgrid, conforming the standard in IEEE 1547 std. Synchronization control is necessary to avoid the unstable situation causing by two system are not synchronized. The accuracy of the phase detection may be affected by the poor power quality. To overcome the situation such as imbalance, harmonic distortion, dual second order generalized integrator PLL(DSOGI-PLL) is adopted for a basis of synchronization controller. Through the Matlab/Simulink, an inverter is simulated as microgrid. Discussing the process of resynchronizing with the grid, thus confirm the feasibility of the proposed synchronization controller. The hardware is based on a three-phase four-wire half-bridge converter as an inverter, using the Renesas RX62T microprocessor to implement the controller design.