Some faults will result wind turbine generators off-grid due to low grid voltage , furthermore, large-scale wind farms tripping can result in severe system oscillation and aggravate system transient instability . In view of this, static compensator (STATCOM) is installed in the grid containing large-scale wind farm. A voltage feedforward control strategy is proposed to adjust the reactive power of STATCOM compensation and ensure that the grid voltage is quickly restored to a safe range. The mathematical model of the doubly-fed induction wind generator (DFIG) is proposed. The control strategy of DFIG uses PI control for rotor angular velocity and active power. 4-machine system simulation results show that the STATCOM reactive power compensation significantly improve output active power of large-scale wind farm satisfying transient stability, reduce the probability of the tripping, and improve the utilization efficiency of wind farms.