%0 Journal Article %T Application of digital signal processing tools for the detection of voltage sag/swell %A Xiangjun Zeng %A Xin Tang %A Yanhui Xi %A Zewen Li %J International Journal of Electrical Engineering & Education %@ 2050-4578 %D 2018 %R 10.1177/0020720918754830 %X Electrical engineering education textbooks usually restrict the linking between theory and practical work in power quality problems, such as voltage sag/swell. This paper presents a mathematic model of the power signal and digital signal processing tools, such as Kalman filter and wavelet transform, for analysis and detection of voltage sag/swell. Aiming at education and teaching in electrical power quality courses, M files for Kalman filter and wavelet transform in the Matlab program are introduced to record and track the waveform distortion with harmonics, voltage sag or a pulse, which allow students to simulate the effect of voltage sag and to see immediately the advantages and limitations of these two techniques for power quality problems %K Digital signal processing %K detection of voltage sag/swell %K Kalman filter %K wavelet transform %U https://journals.sagepub.com/doi/full/10.1177/0020720918754830