Power Quality Analysis Based on Machine Learning Methods for Low-Voltage Electrical Distribution Lines
Abstract
:1. Introduction
- To propose and evaluate the use of an MLMVN in the classification of PQDs. This technique requires a frequency domain analysis based on the FT. The main advantage of the proposed method is its simple structure consisting of three layers and a small number of neurons in the hidden layer, leading to a very low computational effort and short learning time. In addition, since this neural network can directly process complex valued inputs, no coding operations are necessary.
- To propose and evaluate the performance of a convolutional neural network (CNN) with 2D convolutions in each layer for feature extraction from STFT coefficients. The main advantage of this solution with respect to the CNN in the literature is that the frequency component of the time signal is added to the input by means of a Fourier transform, thus adding one more dimension of information to the input signal and exploiting the CNN’s feature extraction capabilities.
- To perform an extensive experimental validation of the previous techniques through a real test bench able to emulate the PQDs. The proposed test bench allows the automatic generation of a great variability in disturbances, simulating critical situations typical of industrial contexts with high precision.
2. Machine Learning Techniques
2.1. Convolutional Neural Network Short-Time Fourier Transform
2.2. Multilayer Neural Network with Multivalued Neurons
3. Training Results
3.1. Training CNN-STFT
3.2. Training MLMVN
4. Experimental Setup
5. Experimental Validation of the Classification Techniques
5.1. Validation of the MLMVN with Real Measurements
5.2. Validation of the CNN-STFT with Real Measurements
5.3. Comparison between MLMVN and CNNSTFT
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Wang, L.; Qin, Z.; Slangen, T.; Bauer, P.; van Wijk, T. Grid Impact of Electric Vehicle Fast Charging Stations: Trends, Standards, Issues and Mitigation Measures—An Overview. IEEE Open J. Power Electron. 2021, 2, 56–74. [Google Scholar] [CrossRef]
- Farhoodnea, M.; Mohamed, A.; Shareef, H.; Zayandehroodi, H. Power quality impacts of high-penetration electric vehicle stations and renewable energy-based generators on power distribution systems. Meas. J. Int. Meas. Confed. 2013, 46, 2423–2434. [Google Scholar] [CrossRef]
- BS EN 50160:2007; Voltage Characteristics of Electricity Supplied by Public Distribution Systems. Belgian Standard: Brussels, Belgium, 1994.
- Document IEC 61000-4-30; Testing and Measurement Techniques Power Quality Measurement Methods. IEC: London, UK, 2003.
- Standard 1159–2009; IEEE Recommended Practice for Monitoring Electric Power Quality. IEEE: Piscataway, NJ, USA, 2009.
- Zheng, Y.; Meng, F.; Liu, J.; Guo, B.; Song, Y.; Zhang, X.; Wang, L. Fourier Transform to Group Feature on Generated Coarser Contours for Fast 2D Shape Matching. IEEE Access 2020, 8, 90141–90152. [Google Scholar] [CrossRef]
- Qiu, W.; Tang, Q.; Liu, J.; Yao, W. An Automatic Identification Framework for Complex Power Quality Disturbances Based on Multifusion Convolutional Neural Network. IEEE Trans. Ind. Inform. 2000, 16, 3233–3241. [Google Scholar] [CrossRef]
- Garrido, M. The Feedforward Short-Time Fourier Transform. IEEE Trans. Circuits Syst. II Express Briefs 2016, 63, 868–872. [Google Scholar] [CrossRef]
- Zhao, B.; Li, Q.; Lv, Q.; Si, X. A Spectrum Adaptive Segmentation Empirical Wavelet Transform for Noisy and Nonstationary Signal Processing. IEEE Access 2021, 9, 106375–106386. [Google Scholar] [CrossRef]
- Santoso, S.; Powers, E.J.; Grady, W.M.; Parsons, A.C. Power quality disturbance waveform recognition using wavelet-based neural classifier. I. Theoretical foundation. IEEE Trans. Power Deliv. 2000, 15, 222–228. [Google Scholar] [CrossRef]
- Lin, W.; Wu, C.; Lin, C.; Cheng, F. Detection and Classification of Multiple Power-Quality Disturbances With Wavelet Multiclass SVM. IEEE Trans. Power Deliv. 2008, 23, 2575–2582. [Google Scholar] [CrossRef]
- Bíscaro, A.A.P.; Pereira, R.A.F.; Kezunovic, M.; Mantovani, J.R.S. Integrated Fault Location and Power-Quality Analysis in Electric Power Distribution Systems. IEEE Trans. Power Deliv. 2016, 31, 428–436. [Google Scholar] [CrossRef]
- Reaz, M.B.I.; Choong, F.; Sulaiman, M.S.; Mohd-Yasin, F.; Kamada, M. Expert System for Power Quality Disturbance Classifier. IEEE Trans. Power Deliv. 2007, 22, 1979–1988. [Google Scholar] [CrossRef]
- Lee, I.W.C.; Dash, P.K. S-transform-based intelligent system for classification of power quality disturbance signals. IEEE Trans. Ind. Electron. 2003, 50, 800–805. [Google Scholar] [CrossRef]
- Cai, K.; Cao, W.; Aarniovuori, L.; Pang, H.; Lin, Y.; Li, G. Classification of Power Quality Disturbances Using Wigner-Ville Distribution and Deep Convolutional Neural Networks. IEEE Access 2019, 7, 119099–119109. [Google Scholar] [CrossRef]
- Mahela, P.; Shaik, A.G.; Khan, B.; Mahla, R.; Alhelou, H.H. Recognition of Complex Power Quality Disturbances Using S-Transform Based Ruled Decision Tree. IEEE Access 2020, 8, 173530–173547. [Google Scholar] [CrossRef]
- Martinez-Figueroa, G.D.J.; Morinigo-Sotelo, D.; Zorita-Lamadrid, A.L.; Morales-Velazquez, L.; Romero-Troncoso, R.D.J. FPGA-Based Smart Sensor for Detection and Classification of Power Quality Disturbances Using Higher Order Statistics. IEEE Access 2017, 5, 14259–14274. [Google Scholar] [CrossRef]
- Janik, P.; Lobos, T. Automated classification of power-quality disturbances using SVM and RBF networks. IEEE Trans. Power Deliv. 2006, 21, 1663–1669. [Google Scholar] [CrossRef]
- Gong, R.; Ruan, T. A New Convolutional Network Structure for Power Quality Disturbance Identification and Classification in Micro-Grids. IEEE Access 2020, 8, 88801–88814. [Google Scholar] [CrossRef]
- Valtierra-Rodriguez, M.; de Jesus Romero-Troncoso, R.; Osornio-Rios, R.A.; Garcia-Perez, A. Detection and Classification of Single and Combined Power Quality Disturbances Using Neural Networks. IEEE Trans. Ind. Electron. 2014, 61, 2473–2482. [Google Scholar] [CrossRef]
- Yang, Z.; Liao, W.; Liu, K.; Chen, X.; Zhu, R. Power Quality Disturbances Classification Using A TCN-CNN Model. In Proceedings of the 2022 7th Asia Conference on Power and Electrical Engineering (ACPEE), Hangzhou, China, 15–17 April 2022; pp. 2145–2149. [Google Scholar] [CrossRef]
- Yoon, D.-H.; Yoon, J. Deep Learning-Based Method for the Robust and Efficient Fault Diagnosis in the Electric Power System. IEEE Access 2022, 10, 44660–44668. [Google Scholar] [CrossRef]
- Turizo, S.; Ramos, G.; Celeita, D. Voltage Sags Characterization Using Fault Analysis and Deep Convolutional Neural Networks. IEEE Trans. Ind. Appl. 2022, 58, 3333–3341. [Google Scholar] [CrossRef]
- Balouji, E.; Salor, Ö.; McKelvey, T. Deep Learning Based Predictive Compensation of Flicker, Voltage Dips, Harmonics and Interharmonics in Electric Arc Furnaces. IEEE Trans. Ind. Appl. 2022, 58, 4214–4224. [Google Scholar] [CrossRef]
- Machlev, R.; Perl, M.; Belikov, J.; Levy, K.Y.; Levron, Y. Measuring Explainability and Trustworthiness of Power Quality Disturbances Classifiers Using XAI—Explainable Artificial Intelligence. IEEE Trans. Ind. Inform. 2022, 18, 5127–5137. [Google Scholar] [CrossRef]
- Da Costa Pinho, A.; Gecildo, E.; Garcia, A. Wavelet spectral analysis and attribute ranking applied to automatic classification of power quality disturbances. Electr. Power Syst. Res. 2022, 206, 107827. [Google Scholar] [CrossRef]
- Gao, Y.; Li, Y.; Zhu, Y.; Wu, C.; Gu, D. Power quality disturbance classification under noisy conditions using adaptive wavelet threshold and DBN-ELM hybrid model. Electr. Power Syst. Res. 2022, 204, 107682. [Google Scholar] [CrossRef]
- Shafiullah, M.; Khan, M.A.M.; Ahmed, S.D. Chapter 11—PQ disturbance detection and classification combining advanced signal processing and machine learning tools. In Power Quality in Modern Power Systems; Academic Press: Cambridge, MA, USA, 2021; pp. 311–335. [Google Scholar] [CrossRef]
- Garcia, C.I.; Grasso, F.; Luchetta, A.; Piccirilli, M.C.; Paolucci, L.; Talluri, G. A comparison of power quality disturbance detection and classification methods using CNN, LSTM and CNN-LSTM. Appl. Sci. 2020, 10, 6755. [Google Scholar] [CrossRef]
- Cetin, R.; Gecgel, S.; Kurt, G.K.; Baskaya, F. Convolutional Neural Network-Based Signal Classification in Real Time. IEEE Embed. Syst. Lett. 2021, 13, 186–189. [Google Scholar] [CrossRef]
- Liu, X.; Zhou, Q.; Shen, H. Real-time Fault Diagnosis of Rotating Machinery Using 1-D Convolutional Neural Network. In Proceedings of the 2018 5th International Conference on Soft Computing & Machine Intelligence (ISCMI), Nairobi, Kenya, 21–22 November 2018; pp. 104–108. [Google Scholar] [CrossRef]
- Adhikari, A.; Naetiladdanon, S.; Sangswang, A. Real-Time Short-Term Voltage Stability Assessment using Temporal Convolutional Neural Network. In Proceedings of the 2021 IEEE PES Innovative Smart Grid Technologies—Asia (ISGT Asia), Brisbane, Australia, 5–8 December 2021; pp. 1–5. [Google Scholar] [CrossRef]
- Chen, Z.; Xu, Y.-Q.; Wang, H.; Guo, D. Deep STFT-CNN for Spectrum Sensing in Cognitive Radio. IEEE Commun. Lett. 2021, 25, 864–868. [Google Scholar] [CrossRef]
- Huang, J.; Chen, B.; Yao, B.; He, W. ECG Arrhythmia Classification Using STFT-Based Spectrogram and Convolutional Neural Network. IEEE Access 2019, 7, 92871–92880. [Google Scholar] [CrossRef]
- Nie, J.; Xiao, Y.; Huang, L.; Lv, F. Time-Frequency Analysis and Target Recognition of HRRP Based on CN-LSGAN, STFT, and CNN. Complexity 2021, 2021, 6664530. [Google Scholar] [CrossRef]
- Ñanculef, R.; Radeva, P.; Balocco, S. Training Convolutional Nets to Detect Calcified Plaque in IVUS Sequences. In Intravascular Ultrasound: From Acquisition to Advanced Quantitative Analysis; Elsevier: Amsterdam, The Netherlands, 2020; pp. 141–158. [Google Scholar] [CrossRef]
- Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning Ian. Foreign Aff. 2012, 91, 1689–1699. [Google Scholar]
- Aizenberg, I. Complex-Valued Neural Networks with Multi-Valued Neurons; Springer: New York, NY, USA, 2011. [Google Scholar]
- Aizenberg, I.; Belardi, R.; Bindi, M.; Grasso, F.; Manetti, S.; Luchetta, A.; Piccirilli, M.C. Failure Prevention and Malfunction Localization in Underground Medium Voltage Cables. Energies 2021, 14, 85. [Google Scholar] [CrossRef]
- Aizenberg, I.; Belardi, R.; Bindi, M.; Grasso, F.; Manetti, S.; Luchetta, A.; Piccirilli, M.C. A Neural Network Classifier with Multi-Valued Neurons for Analog Circuit Fault Diagnosis. Electronics 2021, 10, 349. [Google Scholar] [CrossRef]
- Aizenberg, I.; Luchetta, A.; Manetti, S. A modified learning algorithm for the multilayer neural network with multi-valued neurons based on the complex QR decomposition. Soft Comput. 2012, 16, 563–575. [Google Scholar] [CrossRef]
- Aizenberg, I. MLMVN With Soft Margins Learning. IEEE Trans. Neural Netw. Learn. Syst. 2014, 25, 1632–1644. [Google Scholar] [CrossRef]
- Borges, F.A.S.; Fernandes, R.A.S.; Silva, I.N.; Silva, C.B.S. Feature Extraction and Power Quality Disturbances Classification Using Smart Meters Signals. IEEE Trans. Ind. Inform. 2016, 12, 824–833. [Google Scholar] [CrossRef]
- Manikandan, M.S.; Samantaray, S.R.; Kamwa, I. Detection and Classification of Power Quality Disturbances Using Sparse Signal Decomposition on Hybrid Dictionaries. IEEE Trans. Instrum. Meas. 2015, 64, 27–38. [Google Scholar] [CrossRef]
Type of Disturbance | Duration Subsystem | Time | Range | ||
---|---|---|---|---|---|
Min | Max | ||||
Frequency | Slight Deviation | 10 s | 49.5 Hz | 50.5 Hz | |
Severe Deviation | 47 Hz | 52 Hz | |||
Voltage | Sag | Short | 10 ms–1 s | 0.1 U | 0.9 U |
Long | 1 s–1 min | ||||
Long-term Disturbance | >1 min | ||||
Under Voltage | Short | <3 min | 0.99 U | ||
Long | >3 min | ||||
Swell | Temporary Short | 10 ms–1 s | 1.1 U | 1.5 kV | |
Temporary Long | 1 s–1 min | ||||
Temporary Long-time | >1 min | ||||
Over Voltage | <10 ms | 6 kV | |||
Harmonics and other Information | Harmonics | - | THD > 8% | ||
Information signals | - | Included in other disturbances |
Ref. | Feature Extraction | Machine Learning | Number of Layers and Neurons |
---|---|---|---|
[7] | Fourier Transform | Multifusion CNN | Combines raw signal information and physical features based on fast Fourier transform, in which two types of features are merged into one layer. |
[10] | Wavelet Transform | Learning Vector Quantization Network | - |
[11] | Wavelet Transform | Support Vector Machine (SVM) | 30 inputs, 4 SVM layer, 4 output layer. |
[12] | Wavelet Transformation | Fuzzy ARTMAP Neural Network | The first artificial neural network (ANN) has an input vector with dimension 30. The second ANN has an input vector with dimension 30. The third ANN has an input vector with dimension 60. |
[13] | Discrete Wavelet Transformation | Combination of Univariate Randomly Optimized Neural Network and Fuzzy Logic | The datapath is made up of three layers, two for the hidden layer and one for the output layer, which is connected in feedforward architecture. |
[14] | S-Transformation | Feedforward Neural Network | A two-layer feedforward neural network is used for learning the feature vectors, with 30 neurons in the hidden layer. The output layer has ten neurons, one neuron for each class. |
[15] | Wigner–Ville Distribution | CNN | The number of convolutional kernels in the 3 different convolutional layers are 32, 64 and 64, respectively. |
[16] | Stockwell’s Transform | Decision Tree | - |
[17] | Higher-Order Statistics | Feedforward Neural Network | The feedforward neural network has five inputs, twenty neurons in the hidden layer and ten outputs. |
[18] | Space Phasor | SVM and RBF network | 5 training vectors for both techniques. |
[19] | Five 1D-MIR modules | Modified Inception-Residual (MIR) Network and a Deep CNN | The network consists of a five-layer one-dimensional modified Inception-Residual Network (ResNet) (1D-MIR) and a three-layer full-connection tier. |
[20] | Adaptive Linear Network (ADALINE) | Feedforward Neural Network | The feedforward architecture is composed of 22 inputs, 30 neurons in the hidden layer, and 4 outputs. |
[21] | Convolution via Residual Blocks and Convolution via Sliding Filters (kernels) | CNN and TCN (Temporal Convolutional Network) | The TCN is used to capture temporal dependencies and the CNN is employed to mine latent features. The TCN consists of 1 flatten layer and 1 dense layer. The number of neurons in the dense layer is 16. The CNN has a 2D input with 28 rows and 28 columns. The CNN consists of 1 Conv2D layer, 1 flatten layer, and 1 dense layer in sequence. The number of neurons in the dense layer is 16. |
[22] | Convolution via Sliding Filters (kernels) | CNN | One-dimensional CNN (1D-CNN) based on vanilla architecture. The 1D-CNN model consists of two 1D convolutional layers, a max-pooling layer, and a fully connected layer followed by a SoftMax classifier and an output layer. A constant kernel size of 1 × 7 is applied to the convolutional layers. |
[23] | Hilbert Transformation, Discrete Wavelet Transformation, and DFT | CNN | The paper is focused on voltage sags. There are three types of linked layers: convolution layers, pooling layers, and fully connected layers. |
[24] | Multiple Synchronous Reference Frame (MSRF) and Low-Pass Filters | Long Short-Term Memory (LSTM) and CNN | Three methods are proposed: the first consists in the use of a low-pass Butterworth filter and a linear Finite Impulse Response (FIR)-based prediction. In the second method, the prediction is performed through an LSTM. Finally, in the third method, a deep convolutional neural network combined with an LSTM is used to filter and predict at the same time. |
[25] | - | Explainable Artificial Intelligence (XAI) | Four classifiers are considered, based on Rectified Linear Units (ReLU), max pooling layers, batch normalization layers, and CNNs with different kernel sizes. |
Proposed Technique 1 | Discrete Fourier Transformation | MLMVN | 3 layers, 50 Multivalued Neurons in the hidden layer, 6 Multivalued neurons in the output layer. |
Proposed Technique 2 | Short-Time Fourier Transformation | CNN | CNN architecture with 6 layers of convolutions incrementing filter size on each layer and reducing the dimensionality using max pooling layers. The classification is conducted using a fully connected layer with 100 hidden layers and 6 outputs. |
Fault Class | Description | Output Combination | |||||
---|---|---|---|---|---|---|---|
0 | No disturbances | 0 | 0 | 0 | 0 | 0 | 0 |
1 | Voltage sag | 1 | 0 | 0 | 0 | 0 | 0 |
2 | Voltage swell | 0 | 1 | 0 | 0 | 0 | 0 |
3 | Harmonics distortion | 0 | 0 | 1 | 0 | 0 | 0 |
4 | Voltage notch | 0 | 0 | 0 | 1 | 0 | 0 |
5 | Interruption | 0 | 0 | 0 | 0 | 0 | 1 |
Disturbance Class | Training CR% | Validation CR% |
---|---|---|
0—Normal | 99.3 | 98.9 |
1—Sag | 100 | 100 |
2—Swell | 100 | 100 |
3—Harmonics | 100 | 100 |
4—Notch | 100 | 100 |
5—Interruption | 100 | 100 |
Disturbance Class | Training CR% | Validation CR% |
---|---|---|
0—Normal | 100 | 100 |
1—Sag | 99.6 | 99.7 |
2—Swell | 99.7 | 99.2 |
3—Harmonics | 100 | 100 |
4—Notch | 100 | 100 |
5—Interruption | 100 | 100 |
Fault Class | Training CR% | Validation CR% |
---|---|---|
0—Normal | 100 | 100 |
1—Sag | 100 | 100 |
2—Swell | 100 | 100 |
3—Harmonics | 100 | 100 |
4—Notch | 100 | 99.19 |
5—Interruption | 100 | 100 |
Computational Intelligence Technique | Main Characteristics | Training CR% | Validation CR% |
---|---|---|---|
Convolutional Neural Network (CNN) | In this case, a standard CNN is used to process time domain samples of the voltage waveforms. This is a neural network architecture that uses layers of convolution, pooling, and batch normalization for feature extraction. The convolutional layer is accompanied by a pooling layer, which is a type of downsampling that helps with processing speed. Basically, the CNN performs a convolution of the input signal with a kernel. | 89.22 | 89.05 |
Feedforward Complex Neural Network | In this case, the three-layer feedforward architecture of a complex value network is used. Sampled waveforms are not processed before classification. Each sample in the time domain is considered to be the phase of a complex number with unit magnitude. | 80.92 | 73.133 |
AlexNet | AlexNet is a milestone in deep CNN and it is based on eight layers (five convolutional layers and three fully connected layers). | ||
Support Vector Machine | A quadratic SVM is used to directly process time domain samples of 8 kHz sampled voltage waveforms. A degree two polynomial kernel is used as the mapping function to make the samples separable. | 89.15 | 88.77 |
FFT + Support Vector Machine | A quadratic SVM is used to process samples in the frequency domain. The same procedure explained above is followed. The voltage waveforms used for training are sampled at 8 kHz and then discrete Fourier transform is applied. The coefficients obtained are classified as real values by the SVM. | 96 | 95.22 |
FFT + Decision Tree | In this case, the fine-tree algorithm of the MatLab classification learner library is applied on the coefficients of the discrete Fourier transformation. | 84 | 83.3 |
Disturbance | Time Interval | |||
---|---|---|---|---|
0.06 s | 0.6 s | 1 s | 2 s | |
1—Sag | 98.5% | 90% | 80% | 66.6% |
2—Swell | 97% | 87.5% | 79.5% | 66.6% |
3—Harmonics | 99.25% | 90% | 84% | 75% |
4—Notch | 97% | 90% | 80% | 68% |
5—Interruption | 98.5% | 90% | 80% | 70% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Iturrino Garcia, C.A.; Bindi, M.; Corti, F.; Luchetta, A.; Grasso, F.; Paolucci, L.; Piccirilli, M.C.; Aizenberg, I. Power Quality Analysis Based on Machine Learning Methods for Low-Voltage Electrical Distribution Lines. Energies 2023, 16, 3627. https://doi.org/10.3390/en16093627
Iturrino Garcia CA, Bindi M, Corti F, Luchetta A, Grasso F, Paolucci L, Piccirilli MC, Aizenberg I. Power Quality Analysis Based on Machine Learning Methods for Low-Voltage Electrical Distribution Lines. Energies. 2023; 16(9):3627. https://doi.org/10.3390/en16093627
Chicago/Turabian StyleIturrino Garcia, Carlos Alberto, Marco Bindi, Fabio Corti, Antonio Luchetta, Francesco Grasso, Libero Paolucci, Maria Cristina Piccirilli, and Igor Aizenberg. 2023. "Power Quality Analysis Based on Machine Learning Methods for Low-Voltage Electrical Distribution Lines" Energies 16, no. 9: 3627. https://doi.org/10.3390/en16093627
APA StyleIturrino Garcia, C. A., Bindi, M., Corti, F., Luchetta, A., Grasso, F., Paolucci, L., Piccirilli, M. C., & Aizenberg, I. (2023). Power Quality Analysis Based on Machine Learning Methods for Low-Voltage Electrical Distribution Lines. Energies, 16(9), 3627. https://doi.org/10.3390/en16093627