In a micro-grid based on master-slave power control, the main power inverter control parameters has a crucial influence on the system stability and dynamic performance. We used dual-power for supplying as an example in this paper, first introduced the system control mode, and then established the details of the small signal model to the system. By calculating the eigenvalues of system state matrix and participation factor, stability and dynamic performance of system is to be analyzed. Based on this, the integrated optimization program of control parameters contains root locus method and particle swarm optimization (pso) has been advanced and optimized the control parameters of inverters. And simulation and experimental results verify the effectiveness of the parameter optimization program.