A method for controlling rotational speed avoidance for a wind turbine, comprising: determining, in response to receiving an instruction for limited-power operation, an upper limit of power required by the instruction; identifying whether there is an abnormality of repeatedly passing through the rotational speed avoidance range for the wind turbine based on statistical information about a rotational speed of a generator being in the rotational speed avoidance range; judging whether the required upper limit of power is in a power avoidance range corresponding to a rotational speed avoidance range in a case that there is the abnormality; setting maximum allowable power of the wind turbine as a lower boundary value of the power avoidance range in a case that the required upper limit of power is in the power avoidance range, wherein, an upper boundary value of the power avoidance range is power determined based on an upper boundary value of the rotational speed avoidance range, and the lower boundary value of the power avoidance range is power determined based on a lower boundary value of the rotational speed avoidance range, wherein, each of the rotational speed avoidance range and the power avoidance range is an open interval, wherein the upper boundary value of the power avoidance range is a product of the upper boundary value of the rotational speed avoidance range and a first predetermined electromagnetic torque, wherein the lower boundary value of the power avoidance range is a product of the lower boundary value of the rotational speed avoidance range and a second predetermined electromagnetic torque, wherein the first predetermined electromagnetic torque is an electromagnetic torque that is to be kept before passing through the rotational speed avoidance range from a low rotational speed to a high rotational speed, and wherein the second predetermined electromagnetic torque is an electromagnetic torque when the wind turbine reaches the lower boundary value of the rotational speed avoidance range. determining, in response to receiving an instruction for limited-power operation, an upper limit of power required by the instruction; identifying whether there is an abnormality of repeatedly passing through the rotational speed avoidance range for the wind turbine based on statistical information about a rotational speed of a generator being in the rotational speed avoidance range; judging whether the required upper limit of power is in a power avoidance range corresponding to a rotational speed avoidance range in a case that there is the abnormality; setting maximum allowable power of the wind turbine as a lower boundary value of the power avoidance range in a case that the required upper limit of power is in the power avoidance range, wherein, an upper boundary value of the power avoidance range is power determined based on an upper boundary value of the rotational speed avoidance range, and the lower boundary value of the power avoidance range is power determined based on a lower boundary value of the rotational speed avoidance range, wherein, each of the rotational speed avoidance range and the power avoidance range is an open interval, wherein the upper boundary value of the power avoidance range is a product of the upper boundary value of the rotational speed avoidance range and a first predetermined electromagnetic torque, wherein the lower boundary value of the power avoidance range is a product of the lower boundary value of the rotational speed avoidance range and a second predetermined electromagnetic torque, wherein the first predetermined electromagnetic torque is an electromagnetic torque that is to be kept before passing through the rotational speed avoidance range from a low rotational speed to a high rotational speed, and wherein the second predetermined electromagnetic torque is an electromagnetic torque when the wind turbine reaches the lower boundary value of the rotational speed avoidance range.