The theory of fuzzy control and PID control were applied to the control of generator speed and blade pitch angle. During the early period the fuzzy controller was used to improve system responsiveness and reduce the overshoot. When entering to steady-state regulation period, the PID controller was used, by regulating the ratio, differential, integral parameters of the system steady-state error was kept the minimum. Based on variable pitch wind turbine mathematical model we do a MATLAB simulation, results show that, the method can make the generator work at maximum power operation before Grid-connection, and with rated power after the run.