This document describes a study that proposes using an Adaptive Neuro-Fuzzy Inference System (ANFIS) controller for pitch angle control of a wind turbine connected to a permanent magnet synchronous generator (PMSG) system. A cascaded ANFIS-PI controller is introduced to control the wind turbine speed. The ANFIS controller integrates the advantages of artificial neural networks and fuzzy logic controllers to better handle the non-linear dynamics of the system compared to a conventional PI controller. Simulations show that the ANFIS controller more efficiently controls the reactive power requirements and rotor speed of the PMSG-based system during grid disturbances compared to a PI controller alone.