The invention discloses an
overvoltage protection method and device,
electronic equipment and a medium, and relates to the field of
new energy, and the method comprises the steps: determining a PWM (
Pulse Width Modulation) wave sealing value of any IGBT (Insulated Gate Bipolar Translator) in a
rotor side converter and a
power grid side converter in a wind
turbine generator, and determining a first
overvoltage fault protection value of a
DC bus capacitor corresponding to the converter according to the PWM wave sealing value; the first
overvoltage fault protection value must be larger than the PWM wave sealing value, when the
current voltage value of the
direct current bus capacitor is larger than the PWM wave sealing value, all IGBTs need to be controlled to be turned off, whether the
current voltage value is larger than the first overvoltage fault protection value or not is judged, and if the
current voltage value is larger than the first overvoltage fault protection value, it is judged that the
direct current bus capacitor has an overvoltage fault; and controlling the wind
turbine generator to break away from the
power grid. According to the scheme, the wind
turbine generator is controlled to be separated from the
power grid only when the
DC bus voltage is greater than the first overvoltage fault protection value, the probability that the wind turbine generator is separated from the power grid is greatly reduced, and the stability of the power grid is improved.