For the traditional simplified first-order pitch-control system model, it is difficult to describe a real dynamic characteristic of a variable pitch action system, thus a complete high order mathematical model has to be developed for the pitch control of wind turbine generation (WTG). In the paper, a pitch controller was designed based on power and wind speed and by considering the inertia and delay characteristics of a pitch-control system to achieve a constant power output when a wind speed was beyond the rated one. A novel ICPSO-PID control algorithm was proposed based on a combination of improved cooperative particle swarm optimization (ICPSO) and PID, subsequently, it was used to tune the pitch controller parameters; thus the difficulty in PID tuning was removed when a wind speed was above the rated speed. It was indicated that the proposed optimization algorithm can tune the pitch controller parameters quickly; and the feed-forward controller for wind speed can improve dynamics of a pitch-control system; additionally the power controller can allow a wind turbine to have a constant power output as a wind speed is over the rated one. Compared with a conventional PID, the controller with ICPSO-PID algorithm has a smaller overshoot, a shorter tuning time and better robustness. The design method proposed in the paper can be applied in a practical electro-hydraulic pitch control system for WTG.