Skip to main content
Log in

A Deep Learning Approach for the Detection and Classification of Power Quality Disturbances with Windowed Signals

  • Original Research
  • Published:
SN Computer Science Aims and scope Submit manuscript

Abstract

The modernization of Power Systems (PSs) to smart grids, the expansion of microgrids, the ever-increasing presence of distributed power generation, the more frequent use of non-linear and voltage-sensitive loads by the consumers have caused problems to the Power Quality (PQ). The studies in PQ are commonly related to disturbances that alter the sinusoidal characteristics of the voltage waveforms and/or current. The first step to analyzing the PQ is to detect and then classify the disturbances, since by identifying the disturbance, it is possible to know its causes and deliberate over strategies to mitigate it. Thus, this paper proposes a deep-learning approach using voltage signals, without pre-processing, extraction, nor manual selection of features in order to detect and classify PQ disturbances automatically. The proposed approach is composed of convolution layers, a pooling layer, a long short-term memory layer, and batch normalization. A 1D convolution was used to adapt the data from the voltage signals. Overlapping windowed signals with different Signal–Noise Ratio (SNR) (40 dB, 30 dB, 20 dB and 0 dB) and with different sampling rates (16, 32, and 64 samples/cycle) were used. For a more in-depth view of the results, the proposed approach was evaluated for its accuracy, precision, recall, and F1-Score in different scenarios. An analysis of the obtained results shows that even for the worst case scenario (SNR of 20 dB and sampling rates of 16 samples/cycle), the approach performs satisfactorily with values above 0.97 for the analyzed metrics, allowing, thus, consumer action in a demand-side management scenario.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Abadi M, Barham P, Chen J, Chen Z, Davis A, Dean J, Devin M, Ghemawat S, Irving G, Isard M, et al. Tensorflow: a system for large-scale machine learning. OSDI. 2016;16:265–83.

    Google Scholar 

  2. Atems B, Hotaling C. The effect of renewable and nonrenewable electricity generation on economic growth. Energy Policy. 2018;112:111–8. https://doi.org/10.1016/j.enpol.2017.10.015. http://www.sciencedirect.com/science/article/pii/S0301421517306389.

  3. Balouji E, Salor O. Classification of power quality events using deep learning on event images. In: 2017 3rd International conference on pattern recognition and image analysis (IPRIA), 2017. pp. 216–221. IEEE.

  4. Borges FA, Fernandes RA, Silva IN, Silva CB. Feature extraction and power quality disturbances classification using smart meters signals. IEEE Trans Ind Inf. 2016;12(2):824–33.

    Article  Google Scholar 

  5. Buduma N, Locascio N. Fundamentals of deep learning: designing next-generation machine intelligence algorithms. Massachusetts: O’Reilly Media Inc; 2017.

    Google Scholar 

  6. Cho SH, Jang G, Kwon SH. Time-frequency analysis of power-quality disturbances via the gabor-wigner transform. IEEE Trans Power Deliv. 2010;25(1):494–9.

    Article  Google Scholar 

  7. Chollet F, et al. Keras: Deep learning library for theano and tensorflow. URL: https://keras.io/k. 2015;7(8)

  8. Commission IE, et al. Electromagnetic compatibility (emc)-part 4-30: Testing and measurement techniques-power quality measurement methods. IEC 61000-4-30, 2003

  9. Commission IE, et al. Testing and measurement techniques—flickermeter—functional and design specifications. Tech Rep IEC. 2010;61000–4(15):1.

    Google Scholar 

  10. Silva IRS, Rabêlo RAL, Rodrigues JJPC, Solic P, Carvalho A. A preference-based demand response mechanism for energy management in a microgrid. J Clean Prod 2020;255:120034. https://doi.org/10.1016/j.jclepro.2020.120034.

    Article  Google Scholar 

  11. Decanini JG, Tonelli-Neto MS, Malange FC, Minussi CR. Detection and classification of voltage disturbances using a fuzzy-artmap-wavelet network. Electr Power Syst Res. 2011;81(12):2057–65.

    Article  Google Scholar 

  12. Deng L, Yu D, et al. Deep learning: methods and applications. Found Trends Sig Process. 2014;7(3–4):197–387.

    Article  MathSciNet  Google Scholar 

  13. Elbasuony GS, Aleem SHA, Ibrahim AM, Sharaf AM. A unified index for power quality evaluation in distributed generation systems. Energy. 2018;149:607–22.

    Article  Google Scholar 

  14. Erişti H, Uçar A, Demir Y. Wavelet-based feature extraction and selection for classification of power system disturbances using support vector machines. Electr Power Syst Res. 2010;80(7):743–52.

    Article  Google Scholar 

  15. Group IPW, et al. Recommended practice for monitoring electric power quality. Tech Rep 1994; 5

  16. Hirsch A, Parag Y, Guerrero J. Microgrids: a review of technologies, key drivers, and outstanding issues. Renew Sustain Energy Rev. 2018;90:402–11.

    Article  Google Scholar 

  17. Hooshmand R, Enshaee A. Detection and classification of single and combined power quality disturbances using fuzzy systems oriented by particle swarm optimization algorithm. Electr Power Syst Res. 2010;80(12):1552–611.

    Article  Google Scholar 

  18. Jamali S, Farsa AR, Ghaffarzadeh N. Identification of optimal features for fast and accurate classification of power quality disturbances. Measurement. 2018;116:565–74.

    Article  Google Scholar 

  19. Kapoor R, Gupta R, Jha S, Kumar R, et al. Detection of power quality event using histogram of oriented gradients and support vector machine. Measurement. 2018;120:52–755.

    Article  Google Scholar 

  20. Kingma DP, Ba J. Adam: A method for stochastic optimization. 2014. arXiv preprint arXiv:1412.6980.

  21. LeCun Y, Bengio Y, Hinton G. Deep learning. Nature. 2015;521(7553):436.

    Article  Google Scholar 

  22. Lee CY, Shen YX. Optimal feature selection for power-quality disturbances classification. IEEE Trans Power Deliv. 2011;26(4):2342–51.

    Article  Google Scholar 

  23. Li X, Chen M, Wang Q. Quantifying and detecting collective motion in crowd scenes. IEEE Trans Image Process. 2020;29:5571–83.

    Article  Google Scholar 

  24. Liu H, Hussain F, Shen Y, Arif S, Nazir A, Abubakar M. Complex power quality disturbances classification via curvelet transform and deep learning. Electr Power Syst Res. 2018;163:1–9.

    Article  Google Scholar 

  25. Ma J, Zhang J, Xiao L, Chen K, Wu J. Classification of power quality disturbances via deep learning. IETE Tech Rev. 2017;34(4):408–15.

    Article  Google Scholar 

  26. Maaten Lvd, Hinton G. Visualizing data using t-sne. J Mach Learn Res 2008;9:2579–2605.

  27. Mahela OP, Shaik AG, Gupta N. A critical review of detection and classification of power quality events. Renew Sustain Energy Rev. 2015;41:495–505.

    Article  Google Scholar 

  28. Masoum M, Jamali S, Ghaffarzadeh N. Detection and classification of power quality disturbances using discrete wavelet transform and wavelet networks. IET Sci Measure Technol. 2010;4(4):193–205.

    Article  Google Scholar 

  29. Mishra S, Bhende C, Panigrahi B. Detection and classification of power quality disturbances using s-transform and probabilistic neural network. IEEE Trans Power Deliv. 2008;23(1):280–7.

    Article  Google Scholar 

  30. Mohammadi M, Afrasiabi M, Afrasiabi S, Parang B. Detection and classification of multiple power quality disturbances based on temporal deep learning. In: 2019 IEEE international conference on environment and electrical engineering and 2019 IEEE industrial and commercial power systems Europe (EEEIC / I CPS Europe), 2019. pp. 1–5

  31. Mohan N, Soman K, Vinayakumar R. Deep power: deep learning architectures for power quality disturbances classification. In: 2017 international conference on technological advancements in power and energy (TAP Energy), 2017. pp. 1–6. IEEE.

  32. Osinga D. Deep learning cookbook: practical recipes to get started quickly. O Really 2018

  33. Patterson J, Gibson A. Deep learning: a practitioner’s approach. Massachusetts: O’Reilly Media Inc; 2017.

    Google Scholar 

  34. Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M, Duchesnay E. Scikit-learn: machine learning in python. J Mach Learn Res. 2011;12:2825–30.

    MathSciNet  MATH  Google Scholar 

  35. Roldán-Blay C, Escrivá-Escrivá G, Roldán-Porta C. Improving the benefits of demand response participation in facilities with distributed energy resources. Energy. 2019;169:710–8.

    Article  Google Scholar 

  36. Schmidhuber J. Deep learning in neural networks: an overview. Neural Networks. 2015;61:85–117.

    Article  Google Scholar 

  37. Singh U, Singh SN. A new optimal feature selection scheme for classification of power quality disturbances based on ant colony framework. Appl Soft Comput. 2019;74:216–25. https://doi.org/10.1016/j.asoc.2018.10.017. http://www.sciencedirect.com/science/article/pii/S156849461830574X.

  38. Sokolova M, Lapalme G. A systematic analysis of performance measures for classification tasks. Inf Process Manage. 2009;45(4):427–37.

    Article  Google Scholar 

  39. Veras J, Silva I, Pinheiro P, Rabêlo R, Veloso A, Borges F, Rodrigues J. A multi-objective demand response optimization model for scheduling loads in a home energy management system. Sensors. 2018;18(10):3207.

    Article  Google Scholar 

  40. Wang H, Wang P, Liu T. Power quality disturbance classification using the s-transform and probabilistic neural network. Energies. 2017;10(1):107.

    Article  Google Scholar 

  41. Zhang W, Li C, Peng G, Chen Y, Zhang Z. A deep convolutional neural network with new training methods for bearing fault diagnosis under noisy environment and different working load. Mech Syst Sig Process. 2018;100:439 – 453 https://doi.org/10.1016/j.ymssp.2017.06.022. http://www.sciencedirect.com/science/article/pii/S0888327017303369

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ricardo de A. L. Rabelo.

Ethics declarations

Conflict of Interest

On behalf of all authors, the corresponding author states that there is no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rodrigues, W.L., Borges, F.A.S., de Carvalho Filho, A.O. et al. A Deep Learning Approach for the Detection and Classification of Power Quality Disturbances with Windowed Signals. SN COMPUT. SCI. 2, 64 (2021). https://doi.org/10.1007/s42979-020-00435-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s42979-020-00435-1

Keywords

Navigation