In order to meet the control requirements of micro grid connection in distributed generation system, this paper introduces a method to extract the positive and negative sequence components of voltage signals in three-phase power grid as a tool for power grid signal processing and synchronization. The method based on multi structure ANF can estimate the useful information of frequency, amplitude, fundamental wave and its orthogonal component of power system signal. It also can detect the positive and negative sequence components of power system by using the information of fundamental wave and its orthogonal component, but when the amplitude or frequency of power system signal changes, the performance of traditional multi structure ANF method will be reduced. In this paper, by optimizing the dynamic equation of ANF, an improved ANF structure is proposed, which has self-adaptability of frequency and amplitude. The improved multi structure ANF is used to extract the positive and negative sequence components of power system signals. Matlab simulation results show that the scheme has a high degree of anti-interference to the power system interference in the power system signal. When the three-phase power system signal is unbalanced, its frequency and amplitude estimation performance is better than the traditional multi structure ANF positive and negative sequence extraction method.