This paper provides an algorithm based on the microhabitat theory and particle swarm for the problem of Wide area controller parameters optimization. The method cans optimal parameters. According to multi-objective model of the problem, and reduce the difficulties and works in design for multi-machine Power System damping Controller. In the end of paper, a typical four-generator two-area testing system indicates that wide-area damping controller has a strong capability of damping area oscillation. The result showed that the algorithm validity and feasibility.