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.
Similar content being viewed by others
References
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.
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.
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.
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.
Buduma N, Locascio N. Fundamentals of deep learning: designing next-generation machine intelligence algorithms. Massachusetts: O’Reilly Media Inc; 2017.
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.
Chollet F, et al. Keras: Deep learning library for theano and tensorflow. URL: https://keras.io/k. 2015;7(8)
Commission IE, et al. Electromagnetic compatibility (emc)-part 4-30: Testing and measurement techniques-power quality measurement methods. IEC 61000-4-30, 2003
Commission IE, et al. Testing and measurement techniques—flickermeter—functional and design specifications. Tech Rep IEC. 2010;61000–4(15):1.
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.
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.
Deng L, Yu D, et al. Deep learning: methods and applications. Found Trends Sig Process. 2014;7(3–4):197–387.
Elbasuony GS, Aleem SHA, Ibrahim AM, Sharaf AM. A unified index for power quality evaluation in distributed generation systems. Energy. 2018;149:607–22.
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.
Group IPW, et al. Recommended practice for monitoring electric power quality. Tech Rep 1994; 5
Hirsch A, Parag Y, Guerrero J. Microgrids: a review of technologies, key drivers, and outstanding issues. Renew Sustain Energy Rev. 2018;90:402–11.
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.
Jamali S, Farsa AR, Ghaffarzadeh N. Identification of optimal features for fast and accurate classification of power quality disturbances. Measurement. 2018;116:565–74.
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.
Kingma DP, Ba J. Adam: A method for stochastic optimization. 2014. arXiv preprint arXiv:1412.6980.
LeCun Y, Bengio Y, Hinton G. Deep learning. Nature. 2015;521(7553):436.
Lee CY, Shen YX. Optimal feature selection for power-quality disturbances classification. IEEE Trans Power Deliv. 2011;26(4):2342–51.
Li X, Chen M, Wang Q. Quantifying and detecting collective motion in crowd scenes. IEEE Trans Image Process. 2020;29:5571–83.
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.
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.
Maaten Lvd, Hinton G. Visualizing data using t-sne. J Mach Learn Res 2008;9:2579–2605.
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.
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.
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.
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
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.
Osinga D. Deep learning cookbook: practical recipes to get started quickly. O Really 2018
Patterson J, Gibson A. Deep learning: a practitioner’s approach. Massachusetts: O’Reilly Media Inc; 2017.
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.
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.
Schmidhuber J. Deep learning in neural networks: an overview. Neural Networks. 2015;61:85–117.
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.
Sokolova M, Lapalme G. A systematic analysis of performance measures for classification tasks. Inf Process Manage. 2009;45(4):427–37.
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.
Wang H, Wang P, Liu T. Power quality disturbance classification using the s-transform and probabilistic neural network. Energies. 2017;10(1):107.
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
Author information
Authors and Affiliations
Corresponding author
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
About this article
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
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s42979-020-00435-1