The invention provides a 
voltage sag detection method for a 
cascade type 
electric energy quality comprehensive treatment device. The method comprises the following steps: 1, acquiring a three-phase phase 
voltage instantaneous value 
signal of a 
power grid; 2, calculating a 
power grid voltage phase angle and a voltage component of the three-phase phase voltage of the 
power grid in an alpha-beta rotating coordinate 
system according to the instantaneous value 
signal of the three-phase phase voltage of the power grid; 3, calculating a voltage component under a positive and negative sequence dq coordinate 
system according to a result obtained by calculation in the step 1, and obtaining positive and negative sequence fundamental wave components through positive and negative sequence decoupling and high-
frequency filtering; 4, according to the positive sequence fundamental component and the negative sequence fundamental component, calculating negative sequence fundamental component angle characteristic quantity and three-phase power 
grid voltage positive sequence fundamental component amplitude modulus length, and obtaining a characteristic value based on a 
voltage sag voltage threshold value; and 5, according to the negative sequence fundamental component angle characteristic quantity, the three-phase power 
grid voltage positive sequence fundamental component amplitude modulus length and the characteristic value, determining the power 
grid voltage sag and the type thereof. The method can be realized by 
software, the 
algorithm is simple, the effect is obvious, and 
engineering application is facilitated.