International Journal of Electrical and Computer Engineering (IJECE) Vol. No. February 2017, pp. ISSN: 2088-8708. DOI: 10. 11591/ijece. An Improved Detection and Classification Technique of Harmonic Signals in Power Distribution by Utilizing Spectrogram H Jopri1. R Abdullah2. Manap3. R Yusoff4. Sutikno5. F Habban6 1,2,6 Faculty of Electrical Engineering. Universiti Teknikal Malaysia Melaka. Malacca. Malaysia Faculty of Engineering Technology. Universiti Teknikal Malaysia Melaka. Malacca. Malaysia Department of Electrical Engineering. Universitas Ahmad Dahlan. Yogyakarta. Indonesia Article Info ABSTRACT Article history: This paper introduces an improved detection and classification technique of harmonic signals in power distribution using time-frequency distribution (TFD) analysis which is spectrogram. The spectrogram is an appropriate approach to signify signals in jointly time-frequency domain and known as time frequency representation (TFR). The spectral information of signals can be observed and estimated plainly from TFR due to identify the characteristics of the signals. Based on rule-based classifier and the threshold settings that referred to Ie Standard 1159 2009, the detection and classification of harmonic signals for 100 unique signals consist of various characteristic of harmonics are carried out successfully. The accuracy of proposed method is examined by using MAPE and the result show that the technique provides high accuracy. In addition, spectrogram also gives 100 percent correct classification of harmonic signals. It is proven that the proposed method is accurate, fast and cost efficient for detecting and classifying harmonic signals in distribution system. Received Oct 21, 2016 Revised Dec 21, 2016 Accepted Jan 13, 2017 Keyword: Classification technique Detection Harmonic signal Time-frequency distributions Power distribution Spectrogram Copyright A 2017 Institute of Advanced Engineering and Science. All rights reserved. Corresponding Author: H Jopri. Advanced Digital Signal Processing Group. Faculty of Electrical Engineering. Universiti Teknikal Malaysia Melaka. Hang Tuah Jaya, 76100 Durian Tunggal. Melaka. Malaysia. Email: hatta@utem. INTRODUCTION Power quality (PQ) disturbances analysis specifically for harmonics disturbance turns into an exponentially expanding field of interest. The PQ analysis associates power engineering and power electronics with digital signal-processing, artificial intelligence and optimization techniques . PQ is generally defined as any change in power . oltage, current, or frequenc. that interferes with the normal operation of electrical equipment. Furthermore, harmonics and inter-harmonics issues have been identified as one of crucial issue in PQ . To investigate these issues, the information is frequently accessible as a form of sampled time function that is indicated by a time series of amplitudes. At the point when dealing such information, the Fourier transform (FT) based approach is commonly utilized. FT assumes periodicity of a given signal and loses the time axis account. FT not able in providing time information about signal disturbances. Short time Fourier transform (STFT) offers both time and frequency information, nevertheless it suffers severely from the Heisenberg uncertainty principle . The Discrete Fourier transform (DFT) is utilized for analyze frequency content in steady state and it is appropriate for harmonic analysis. Conversely, it is not capable to fast changes in waveform. The DFT has foremost disadvantages such as resolution, spectrum leakage as well as picket-fence effects . The basics of wavelets and wavelet transform can be denoted in . The short time Fourier transforms (STFT) has the restriction of the fixed window Journal homepage: http://iaesjournal. com/online/index. php/IJECE IJECE ISSN: 2088-8708 width, hence it is insufficient for the analysis of the non-stationary harmonic disturbances. The problem of all above signal processing techniques is the principle of HeisenbergAos uncertainty in which one cannot distinguish what spectral components be present at what instance of time. The distinctive features that describe harmonic disturbances and methods to extract from logged disturbances are also obtainable . The STFT resolution problems resolved by utilizing wavelet transform (WT. This makes it significantly for tracing changes in signal including fast changes in high-frequency . Awkwardly. WT abilities are often significantly degraded in real practice especially in noisy situations . Based on the discussion, a good method is required due to identify the most perfect, quick and economical way for analysis of harmonic In this paper, the spectrogram technique which is time frequency analysis technique for distinguishing the signals in time frequency domain is introduced. The spectrogram is a squared magnitude of STFT gives the time waveform energy distribution in joint-time frequency domain where this technique is used in many applications and widely used as an initial investigative tool with less computational complexity, fast and accurate detection and classification technique . The harmonic signals are analyzed and represented in time frequency representation (TFR). Furthermore, the parameters such as RMS and fundamental value, total harmonic distortion (THD), total non-harmonic distortion (TnHD) and total waveform distortion (TWD) for voltage and current are evaluated from TFR and used for the classification of harmonic and inter-harmonic signals. The performance of the proposed technique is verified by classifying 100 signals with numerous characteristics for every type of voltage variation signals and also based on Ie Std. 1159-2009 . HARMONICS AND INTER-HARMONICS According to (Ie Std. , harmonics which can be caused by rectifiers and inverters, are the inverse of inter-harmonics where they are frequency components of distorted voltages and currents that are integer multiples of the fundamental frequency . Hz for Malaysi. Harmonic combines with the fundamental voltage or current produces waveform distortion. Harmonic distortion exists due to the nonlinear characteristics of devices and loads on the power system. Meanwhile. Inter-harmonics are frequency components of distorted voltages that are not integer multiples of the fundamental frequency, which resulted from cyclo-converter, arc furnaces, and adjustable speed drives (ASD. Inter-harmonics can lead to excitation of low frequency mechanical oscillations, and failure in ripple control. The main sources of interharmonic waveform distortion are static frequency converters, cycle-converters, induction motors, and arcing Furthermore, in order to verify the performance of the proposed method, 100 signals with various characteristics of harmonics and inter-harmonics accordingly with refer to Ie Std. 1159-2009 are used LINEAR TIME-FREQUENCY DISTRIBUTIONS Time-frequency distributions are great techniques that represent a signal in, jointly, time and frequency representation as known as time-frequency representation (TFR). From TFR, spectral information of a signal can be observed with changes of time . Therefore, the TFD are very applicable to analyse power quality signals that consist of non-stationary and multi-frequency components signal. In the following sections, one of TFDs which is discussed. By windowing the signal at first and after that taking the Fourier transforms the time-localization can be obtained correctly. Furthermore, this will lead to the rise of short time Fourier transform, (STFT) or windowed Fourier transform . The continuous-time STFT of a signal, x. , is expressed as Cu A x . , f ) A E x(A )w(A A t )e ACu A j 2AfA where x(E) is the signal which is used as an input and w(E) is the window which is used as an observation. However, the squared value of the STFT is, usually used in the signal analysis which called as a spectrogram. The analysis of spectrogram is represented in TFR that represents three-dimensional imitation of the signal energy when compared with time and frequency and is shown mathematically as: An Improved Detection and Classification Technique of Harmonic Signals in Power . (M. H Jopr. A ISSN: 2088-8708 Px . , f ) A E x(A )w(A A t )e A j 2AfA ACu In this approach, the Hanning window is chosen due to its lower peak side lope which is the narrow effect on other frequencies around fundamental value which is 50 Hz and other frequency components. The Hanning window function can be formulated as: 2At E wAt A A E1 A cos T E SIGNAL PARAMETERS Parameters of signals of voltage variation are estimated from the TFR. The signal constituents are momentary RMS voltage and RMS fundamental voltage, instantaneous total waveform distortion (TWD), instantaneous total harmonic distortion (THD) and instantaneous total inter-harmonic distortion (TnHD) The following are parameters of signal that been obtained from TFR . Instantaneous RMS Voltage. Vrms . ) A E P . , f )df . f hi Instantaneous RMS Fundamental Voltage. V1rms . ) A 2 Px . , f )df Instantaneous Total Waveform Distortion. TWD. ) A . Vrms . ) 2 A V1rms . ) 2 V1rms . ) . Eu V Instantaneous Total Harmonic Distortion. THD. ) A . 2 hA2 h ,rms V1rms. Vrms . ) 2 A EuhA0 Vh,rms . ) 2 TnHD. A Instantaneous Total Nonharmonic Distortion. V1rms . ) . where Px. , . is the TFR of a signal, fs is sampling frequency, f0 is the fundamental frequency. V1rms. is instantaneous RMS fundamental voltage. Vrms. is instantaneous RMS voltage and Vh,rms . is RMS harmonic fhi =f0 25Hz, flo=f0-25Hz, 25 Hz is chosen for fhi and flo, it can represent the fundamental frequency value and use for calculate the value of the frequency element. SIGNAL CHARACTERISTIC The determination of signal characteristics is from the calculated signal parameters. Furthermore, by using the instantaneous RMS voltage, the signal properties for example the average of RMS voltage can be calculated using equation 9 . The information of the signal characteristics is used as input for classifier to allocate the harmonic and inter-harmonic signals. Vrms, ave A Vrms . )dt IJECE Vol. No. February 2017 : 12 Ae 20 IJECE ISSN: 2088-8708 Average of total harmonic distortion. THDave and total nonharmonic distortion. TnHDave can be calculated from instantaneous total harmonic distortion. THD. and instantaneous total nonharmonic distortion. TnHD. , respectively. They can be defined as: ( ) ( ) SIGNAL CLASSIFICATION The rule-based classifier is a deterministic classification method that has been, widely, used in real world application. The classification performance is much reliant on the best rules and threshold values . In this analysis, since the signal characteristics give good previous information for the power quality signals, the rule-based classifier which is rule is appropriate to be utilized for signal classification. The rule-based classifier that been used in order to identify harmonics and inter-harmonics as in equation 12 and 13 . Meanwhile, the flow chart in Figure 1 shows a process of rule-based classifier of the harmonics and inter-harmonics signals. Harmonic and inter-harmonic, their threshold value. THDthres and TnHDthres are set based on several analyses made for these signals. THD or TnHD considered exist in the signal as their magnitude is greater or equal than the threshold value. Thus, harmonic signal is classified as a signal that has only THD while inter-harmonic signal has only TnHD. Figure 1. The Implementation Flow Chart for Harmonics and Inter-Harmonics Detection ACCURACY MEASUREMENT The performance and viability of proposed method depend on the accuracy of this technique and the evaluation of accuracy can be done as follows. The accuracy of the analysis is identified by measuring the signal characteristics measurement The characteristics measurement is very important because it will be used as input for the classifier of the signal. Low accuracy of the measurement will result in misinterpretation in exact signal characteristics. To measure the exactness of the measurement, mean absolute percentage error (MAPE) is used as an index . An Improved Detection and Classification Technique of Harmonic Signals in Power . (M. H Jopr. A ISSN: 2088-8708 It can be defined as: A xm . N n A1 MAPE A Eu where xi . is an actual value, xm. is measured value and N is the number of data. The smaller value of MAPE offers more accurate results. RESULTS AND ANALYSIS This section will discuss the results for harmonics and inter-harmonics detection technique utilizing Detection of Harmonic Signal Figure 2. present harmonic signal in time domain and its TFRs using spectrogram. The TFRs indicate that the signal consists of two frequency component: fundamental frequency . and 7th harmonic component . Signal parameters estimated from the TFR using spectrogram is shown in Figure 2. Figure 2. shows that the harmonic voltage contributes to the increases of RMS voltage from normal voltage which is 1. 0 to 1. 17 pu. However, it does not change the RMS fundamental voltage which remains constant at 1. 0 pu. Besides that, the signal also results the magnitude of TWD and THD remains constant at 60% and zero percent for the TnHD as shown in Figure 2. Thus, the detection of harmonic signal successfully carried out using the spectogram technique. Figure 2. Harmonic Signal from Simulation and its, . TFR using Spectrogram, . Instantaneous of RMS and Fundamental RMS Voltage, . Instantaneous of Total Harmonic Distortion. Total Nonharmonic Distortion And Total Waveform Distortion IJECE Vol. No. February 2017 : 12 Ae 20 IJECE ISSN: 2088-8708 Detection of Inter-Harmonic Signals Inter-harmonic signal and its TFR using spectrogram is shown in Figure 3. , respectively. As shown in Figure 3. , the signal has two frequency components which are at fundamental frequency . and inter-harmonic frequency of 375 Hz. Signal parameters estimated from the TFR using spectrogram are shown in Figure 3. Figure 3. shows that the inter-harmonic voltage give rise to the increases of RMS voltage from normal voltage from 1. 0 to 1. 17 pu. However, it does not change the RMS fundamental voltage which remains constant at 1. 0 pu. Besides that, the signal also results the magnitude of TWD and TnHD remains constant at 60% and zero percent for the THD as shown in Figure 3. The detection of inter-harmonic signal magnificently accomplished using the proposed technique. Figure 3. Interharmonic Signal from Simulation and its, . TFR using Gabor Transform, . Instantaneous of RMS and Fundamental RMS Voltage, . Instantaneous of Total Harmonic Distortion. Total Nonharmonic Distortion and Total Waveform Distortion The Accuracy of the Analysis Harmonic and inter-harmonics signals are tested and mean absolute percentage error (MAPE) of the signal properties are calculated. Then, the results are averaged to identify the accuracy of the measurements as shown in Table 1. The table shows that spectogram gives good accuracy for an average of RMS voltage. THD and TnHD. In addition, spectogram has a good accuracy in harmonic and inter-harmonic signals An Improved Detection and Classification Technique of Harmonic Signals in Power . (M. H Jopr. A ISSN: 2088-8708 Table 1. MAPE Simulation Result for Spectrogram Analysis Signal Characteristics Vrms,ave THDave TnHDave MAPE (%) Detection and Classification of Harmonic and Inter-Harmonic Signals As shown in the previous section, spectogram has high accuracy in identifying the signal Furthermore, the performance results of the signals classification using the spectogram are shown in Table 2. 100 signals with various characteristics for each type of voltage signal is generated and The table shows that the classification results using spectogram give 100% correct classification for all signals. Table 2. Performance of Harmonic and Inter-Harmonic Signals Classification Signal Harmonics Inter-harmonics Normal Number of data sets Gabor Transform % Correct Classification CONCLUSION The performance evaluation of the signal analysis using spectogram are implemented in time domain as well as frequency domain in terms of accuracy using MAPE. Furthermore, the verification of detection and classification of harmonic signals are utilizing 100 signals with various characteristics for each type of voltage signals. The results show that the spectogram gives good accuracy and gives 100 percent correctness of signals classification. Hence, spectogram is an appropriate technique to be implemented for harmonic signals detection and classification in power distribution system. ACKNOWLEDGEMENTS This research is supported by Advance Digital Signal Processing Laboratory (ADSP La. Special thanks also to the Faculty of Electrical Engineering and Engineering Technology of Universiti Teknikal Malaysia Melaka (UTeM). Ministry of Higher Education Malaysia (MOHE) and Ministry of Science. Technology and Innovation (MOSTI) for giving the cooperation and funding for this research with grant number 06-01-14-SF00119 L00025. Their support is gratefully acknowledged. REFERENCES