The invention relates to a smooth switching and flexible quitting method and device for a
voltage sag treatment device. When an
energy storage converter is switched from a grid-connected mode to an off-grid mode for operation, the
energy storage converter is enabled to output a
voltage the same as a load
voltage before sag through a
voltage control loop in a control strategy, the mains supply is
cut off from a
power grid in cooperation with a
thyristor gate pole
control signal, and smooth switching of power supply of the mains supply to the
energy storage converter is completed; when the energy storage converter is switched from the off-grid mode to the grid-connected mode, through the
voltage control loop and an automatic synchronization control loop in the control strategy, the voltage of the energy storage converter and the voltage of the
power grid are synchronized, a
thyristor is triggered to be switched on, the current of the energy storage converter is slowly controlled to be reduced to the current during
grid connection, and conversion between the energy storage converter and the
power grid line is completed; and when the active power and the reactive
power output by the energy storage converter are respectively smaller than threshold values, the energy storage converter flexibly exits. According to the invention, high-quality
electric energy supply for a sensitive loadbefore and after sag is realized, and an energy storage converter is prevented from providing large
impact current for the sensitive load.