# Modified PWM Technique for Harmonic Reduction

Authors: Alireza Hoseinpour; Reza Ghazi
Journal: ISRN Electronics
 (2012)

---

## Abstract

This paper presents a Shunt Active Filter (SAF) based on the Variable Index Pulse Width Modulation approach. In the proposed method of Pulse Width Modulation (PWM), the triangular wave is derived by integration of the reference signals. This method introduces two basic advantages; the first one is that the triangular signal contains the information of the signal to be obtained in output and the second advantage is that its amplitude is varied in proportion to the amplitude of the reference signal. Therefore, in this PWM method, the modulation index is varied according to the variation of the reference signal, so it is termed as Variable Index Pulse Width Modulation. In order to demonstrate the validity of the proposed method, the obtained simulation results are compared with results of the Space Vector Modulation (SVM) approach. Furthermore, it is shown that in the case of nonsinusoidal voltages, the SAF with the proposed control strategy can provide the filtering action. This method is quite easy to implement and requires lower circuitry. The results show that the proposed method can satisfy the IEEE-519 standard regarding the reduction of harmonics.


---

## Body

## 1. Introduction

Nonlinear loads such as adjustable speed drives, power supplies for various electronic equipments are the origin of both current and voltage harmonics production in the distribution system leading to the power quality problem. In response to the power quality problem, IEEE 519 and IEC EN 61000-3 standards specify regulations governing harmonic compliance. Numerous active filters are introduced as effective means to meet the harmonic standards beside the passive filters that have been proposed [1–4]. The SAF has become a mature technology in recent years. The operation principle of an active filter is based on PWM or SVM three-phase inverter to generate nonsinusoidal currents to meet harmonic current requirement of the nonlinear load. Many various configurations, control strategies, and applications of active filters are offered in the literature [5–7]. The SAF performs the filtering action by injecting harmonic components which cancel those from the load, thereby the line current becomes free of harmonics [8]. In filter design and its application, the methods for extraction of the harmonics from line current and determination of the filter reference current play an important and crucial role. Indeed, accuracy and speed of the SAF response are related to this point [9–11]. Time domain and frequency domain are two well-known methods for generation of reference current [12–15]. Time domain methods are based on measurements and transformation of three-phase quantities such as d-q or p-q transformation, whereas the frequency methods are based on the Fast Fourier Transformation (FFT). The main advantage of time domain methods is their fast response. On the other side, frequency domain methods can provide accurate individual and multiple harmonic detection of load current. Time domain methods, such as, instantaneous reactive power depend on source voltage harmonic. This fact is proved with mathematical equations. With regard to the compensation objectives, the control strategy and the method for extracting the nonactive load currents references are determined [8–15]. The purpose of this paper is to compensate the harmonic current using the frequency domain method of compensation in which all harmonic current components are targeted and eliminated. In this paper a novel PWM technique with the property of variable index based on the integral of reference current is suggested and applied on a SAF. To demonstrate its performance and superiority the obtained results are compared with [16] in which the SVM technique based on Hysteresis Current Controller (HCC) is used. The paper is organized as follows. Section 2 defines the configuration and control system of SAF. The proposed modified PWM technique is introduced in Section 3. Section 4 is devoted to the application of SAF on a sample circuit with a nonlinear load considering sinusoidal and nonsinusoidal sources. The simulation results are presented in this section, and the necessary comparison has been made to validate its superiority and performance. Conclusions are given in Section 5.


## 2. Shunt Active Filter

The SAF configuration is shown in Figure1 which consists of identification, modulation, and inverter sections.Figure 1
Configuration of SAF.The reference signal is generated in the identification section. This signal defines the current that should be produced by the three-phase inverter of SAF. There are two methods for generating the reference signal: time domain and frequency domain. The time domain methods, such as, d-q transformation (or synchronous rotating reference frame), p-q transformation (or instantaneous reactive power), and symmetrical components transformation are based on measurements and transformation of the three-phase quantities.The main advantage of the time domain methods over the frequency domain methods which are based on the Fast Fourier Transformation (FFT) is their fast responses. However, the frequency domain methods provide accurate individual and multiple harmonic load currents detection [10]. Time domain methods, such as, instantaneous reactive power method depend on the source voltage harmonics. This matter is proved using the mathematical equations. In this theory voltages and currents are measured in abc frame, then are transformed into orthogonal frame as follows.(1)[vαvβvo]=23[1-0.5-0.50-3232121212][vavbvc],[iαiβio]=23[1-0.5-0.50-3232121212][iaibic].
In new frame the powers are calculated by(2)[PqPo]=[vαvβ0-vβvα000vo][iαiβi0].These powers comprise dc and ac components. If the aim is to compensate the line current harmonics, the compensator should generate the ac terms. Therefore, the currents of SAF are obtained which can be converted intoabc frame.(3)[iα*iβ*i0*]=[vαvβ0-vβvα000vo]-1[-Pac-qac-Poac],(4)[ia*ib*ic*]={23[1-0.5-0.50-3232121212]}-1[iα*iβ*i0*].Although this approach provides a good response when the source is sinusoidal, but it does not for nonsinusoidal sources. Generally, the voltage and current in nonsinusoidal sources contain harmonics given by(5)va=∑n=1∞2Vnsin⁡(nωt+ψn),vb=∑n=1∞2Vnsin⁡(nωt+120+ψn),vc=∑n=1∞2Vnsin⁡(nωt-120+ψn),ia=∑n=1∞2Insin⁡⁡(nωt-ϕn),ib=∑n=1∞2Insin⁡(nωt-ϕn+120),ic=∑n=1∞2Insin⁡(nωt-ϕn-120).
These voltages and currents are transformed into orthogonal frame which can be expressed as positive, negative, and zero sequences by (6) (6)vα=3∑n=1∞Vn+sin⁡(nωt+ψn+)+Vn-sin⁡(nωt+ψn-),vβ=3∑n=1∞-Vn+cos⁡(nωt+ψn+)+Vn-cos⁡(nωt+ψn-),vo=6∑n=1∞Vnosin⁡(nωt+ψn0),iα=3∑n=1∞(In+sin⁡(nωt-ϕn+)+In-sin⁡(nωt-ϕn-)),iβ=3∑n=1∞(-In+cos⁡(nωt-ϕn+)+In-cos⁡(nωt-ϕn-)),io=3∑n=1∞(Inosin⁡(nωt-ϕn0)).
The power components are obtained from (6), and (3) as(7)P=3∑i=1∞∑j=1∞{Vj+Ii+cos⁡((i-j)ωt+ϕi+-ψj+)+Vj-Ii-cos⁡((i-j)ωt+ϕi--ψj-)-Vj+Ii-cos⁡((i+j)ωt+ϕi-+ψj+)-Vj-Ii+cos⁡((i+j)ωt+ϕi++ψj-)cos⁡((i-j)ωt+ϕi+-ψj+)},q=3∑i=1∞∑j=1∞{-Vj+Ii+sin⁡((i-j)ωt+ϕi+-ψj+)+Vj-Ii-sin⁡((i-j)ωt+ϕi--ψj-)+Vj+Ii-sin⁡((i+j)ωt+ϕi-+ψj+)-Vj-Ii+sin⁡((i+j)ωt+ϕi++ψj-)},Po=3∑i=1∞∑j=1∞VjoIjo{cos⁡((i-j)ωt+ϕio-ψjo)-cos⁡((i+j)ωt+ϕio+ψjo)}.
The dc terms are extracted from (7) and given by(8)(8)Pdc=3∑n=1∞Vn+In+cos⁡(ϕn+-ψn+)+Vn-In-cos⁡(ϕn--ψn-),qdc=3∑n=1∞-Vn+In+sin⁡(ϕn+-ψn+)+Vn-In-cos⁡(ϕn--ψn-),podc=3∑n=1∞VnoInocos⁡(ϕno-ψno).It can be seen from (8) that harmonics components are also available in the dc power term; it means that compensation of the ac terms is not sufficient to reduce harmonics. Therefore, instantaneous reactive power theory is not suitable where source is non sinusoidal. The method used in this paper is a frequency domain approach based on Band Reject Filter (BRF). In this approach, the line current signal is passed through a BRF having a center frequency equal to power system fundamental frequency. The output signal contains all harmonics except the fundamental harmonic, so it can be a suitable reference signal for compensation. Moreover, the BRF method does not require any voltage sensor, in contrast to the instantaneous reactive power method in which three voltage sensors are needed, so it can be more economical.In the next section a new method of modulation is described and compared with the previous method.


## 3. Variable Index Pulse Width Modulation

In all previously developed SAFs in which the PWM techniques are used, the reference signal is compared with the triangular signal. Such triangular signals have no information. However, in the proposed method the triangular signal is derived from the integral of reference signal so it will be an intelligent signal and has the following advantages. The obtained triangular signal contains the information related to the output signal and also its amplitude will vary in proportion to the amplitude of the reference signal. In fact, the modulation index changes regarding the amplitude of the reference signal, hence it is termed (VIPWM). The procedure of this type of modulation for phase a (leg q1&q4) in Figure2 is described as follows.Figure 2
The structure of three-phase inverter.For generation of a triangular signal we need an integrator with reset capability. According to Figure3, in the positive half cycle at first, the integral of the reference current is performed, then the output of the integrator which is the triangular wave, compared with the reference current. So long as the reference current is greater than the integrator output, transistor q1 is on and transistor q4 is off. When these two signals are equal, the integrator becomes reset and as long as the integrator output is zero, q1 is off and q4 is on. When output begins to increase q1 starts to conduct and q4 ceases. This process is continued up to the end of the positive half cycle.Figure 3
Configuration of circuitry for transistor driving.However, during the negative half cycle, as long as the integrator output is greater than the reference signal, q4 conducts and q1 does not. When two signals are equal, the integrator becomes reset and as long as the integrator output is zero q1 is on and q4 is off. When the integrator output decreases from zero T4 begins to conduct and T1 ceases.The sine wave, triangular wave and the required signal for driving the transistor q1 corresponding to PWM with a Constant Index Pulse Width Modulation (CIPWM) thatm=0.9 are shown in Figure 4. The similar plots for VIPWM are shown in Figure 5.Modulation with constant index (m=0.9). (a) Sine wave and triangular wave. (b) Logic signal for driving transistor T1.
(a)(b)Modulation with variable index. (a) Sine wave and triangular wave. (b) Logic signal for driving transistor T1.
(a)(b)


## 4. Simulation Result

To show the ability of the SAF under the proposed control strategy, two cases have been simulated. In the first case, the load is nonlinear and the source is sinusoidal, while in the second case the source is non sinusoidal.


### 4.1. Sinusoidal Source

To evaluate the performance of the VIPWM technique it is applied on a three-phase SAF using MATLAB Simulink and PSIM software. To demonstrate its ability in reducing the harmonic components from line current, a bridge rectifier with an RL circuit is considered as a nonlinear load. The line current without SAF is shown in Figure6(a). The line current frequency spectra can be calculated using the following equations in which the amplitude of the peak current considered to be equal to (±Ia), that is, the small variations in peak are neglected. So we have(9)i1(t)=a0+∑n=1∞[ancos⁡(nωt)+bnsin⁡(nωt)],a0=Idc=12π∫02πi1(t)d(ωt)=0,an(t)=1π∫02πil(t)cos⁡(nωt)d(ωt)=1π[∫π/65π/6Iacos⁡(nωt)d(ωt)-∫7π/611π/6Iacos⁡(nωt)d(ωt)]=0,bn(t)=1π∫02πil(t)sin⁡(nωt)d(ωt)=1π[∫π/65π/6Iacos⁡(nωt)d(ωt)-∫7π/611π/6Iacos⁡(nωt)d(ωt)]⟹bn(t)={0ifn=2k,0ifn=3k,4Ianπsin⁡(nπ3)otherwise.Line current without SAF for nonlinear load. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)According to (9) the amplitude of 2nd and 3rd harmonics and their multiples are zero but there exist other harmonics. The line current frequency spectra are shown in Figure 6(b). It is clear from this figure that the total harmonic distortion (THD) is equal to 28.56% which is very high, so according to IEEE 519 standard to it should be reduced.To do so, a SAF with the proposed control system is employed. The compensator desirable current and its harmonic spectra are shown in Figures7(a) and 7(b), respectively. The line current and its harmonic spectra after compensation by CIPWM are shown in Figures 8(a) and 8(b), respectively. The line current and its harmonic spectra compensated by VIPWM are also shown in Figures 9(a) and 9(b), respectively. It can be seen from these figures that the THD of CIPWM is 8.06% and that of VIPWM is 4.02%. So in this respect the VIPWM is superior to CIPWM. To show the ability of the proposed method, a comparison is made with result of [16], where the SVM-based HCC is used and the obtained THD is equal to 5.32% which still does not satisfy the IEEE519 standard, while the proposed method of the present paper does. Furthermore, its implementation is easy and requires lower costs and circuitry.Desired current to be provided by SAF. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by CIPWM method. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by VIPWM method. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)


### 4.2. Nonsinusoidal Source

In most of research works found in the literature which are dealing with the problem of active filtering, the source is considered to be pure sinusoidal, whereas due to the wide speared nonlinear loads in modern electric systems, this assumption is no longer valid. It is shown that the proposed method of PWM has the ability to tackle the problem of nonsinusoidal voltage. For this purpose a triangular source voltage is applied on the test system. This input voltage and its frequency spectra are shown in Figures10(a) and 10(b), respectively. According to the frequency spectra the THD of this signal is equal to 12.12%. The line current and its frequency spectra are also shown in Figures 11(a) and 11(b). The THD of line current before compensation is 28.31%. The line current and its frequency spectra after compensation with CIPWM and VIPWM are shown in Figures 12(a) and 12(b) and Figures 13(a) and 13(b), respectively. In the first system the THD is 8.28% whereas THD of the compensated line current with VIPWM is equal to 4.14%. It is clear from these observations that the THD is greatly reduced. Hence, the SAF can properly work for both cases, but the second one is preferred. Hence, the proposed SAF can properly operate in both cases.Input voltage without SAF. (a) Voltage waveform. (b) Frequency spectra.
(a)(b)Line current without SAF for nonlinear load. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by CIPWM method (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by VIPWM method (a) Original current waveform. (b) Current frequency spectra.
(a)(b)


## 4.1. Sinusoidal Source

To evaluate the performance of the VIPWM technique it is applied on a three-phase SAF using MATLAB Simulink and PSIM software. To demonstrate its ability in reducing the harmonic components from line current, a bridge rectifier with an RL circuit is considered as a nonlinear load. The line current without SAF is shown in Figure6(a). The line current frequency spectra can be calculated using the following equations in which the amplitude of the peak current considered to be equal to (±Ia), that is, the small variations in peak are neglected. So we have(9)i1(t)=a0+∑n=1∞[ancos⁡(nωt)+bnsin⁡(nωt)],a0=Idc=12π∫02πi1(t)d(ωt)=0,an(t)=1π∫02πil(t)cos⁡(nωt)d(ωt)=1π[∫π/65π/6Iacos⁡(nωt)d(ωt)-∫7π/611π/6Iacos⁡(nωt)d(ωt)]=0,bn(t)=1π∫02πil(t)sin⁡(nωt)d(ωt)=1π[∫π/65π/6Iacos⁡(nωt)d(ωt)-∫7π/611π/6Iacos⁡(nωt)d(ωt)]⟹bn(t)={0ifn=2k,0ifn=3k,4Ianπsin⁡(nπ3)otherwise.Line current without SAF for nonlinear load. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)According to (9) the amplitude of 2nd and 3rd harmonics and their multiples are zero but there exist other harmonics. The line current frequency spectra are shown in Figure 6(b). It is clear from this figure that the total harmonic distortion (THD) is equal to 28.56% which is very high, so according to IEEE 519 standard to it should be reduced.To do so, a SAF with the proposed control system is employed. The compensator desirable current and its harmonic spectra are shown in Figures7(a) and 7(b), respectively. The line current and its harmonic spectra after compensation by CIPWM are shown in Figures 8(a) and 8(b), respectively. The line current and its harmonic spectra compensated by VIPWM are also shown in Figures 9(a) and 9(b), respectively. It can be seen from these figures that the THD of CIPWM is 8.06% and that of VIPWM is 4.02%. So in this respect the VIPWM is superior to CIPWM. To show the ability of the proposed method, a comparison is made with result of [16], where the SVM-based HCC is used and the obtained THD is equal to 5.32% which still does not satisfy the IEEE519 standard, while the proposed method of the present paper does. Furthermore, its implementation is easy and requires lower costs and circuitry.Desired current to be provided by SAF. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by CIPWM method. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by VIPWM method. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)


## 4.2. Nonsinusoidal Source

In most of research works found in the literature which are dealing with the problem of active filtering, the source is considered to be pure sinusoidal, whereas due to the wide speared nonlinear loads in modern electric systems, this assumption is no longer valid. It is shown that the proposed method of PWM has the ability to tackle the problem of nonsinusoidal voltage. For this purpose a triangular source voltage is applied on the test system. This input voltage and its frequency spectra are shown in Figures10(a) and 10(b), respectively. According to the frequency spectra the THD of this signal is equal to 12.12%. The line current and its frequency spectra are also shown in Figures 11(a) and 11(b). The THD of line current before compensation is 28.31%. The line current and its frequency spectra after compensation with CIPWM and VIPWM are shown in Figures 12(a) and 12(b) and Figures 13(a) and 13(b), respectively. In the first system the THD is 8.28% whereas THD of the compensated line current with VIPWM is equal to 4.14%. It is clear from these observations that the THD is greatly reduced. Hence, the SAF can properly work for both cases, but the second one is preferred. Hence, the proposed SAF can properly operate in both cases.Input voltage without SAF. (a) Voltage waveform. (b) Frequency spectra.
(a)(b)Line current without SAF for nonlinear load. (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by CIPWM method (a) Original current waveform. (b) Current frequency spectra.
(a)(b)Line current with SAF operated by VIPWM method (a) Original current waveform. (b) Current frequency spectra.
(a)(b)


## 5. Conclusion

In this paper, the ability and the performance of shunt active filters (SAFs) are improved by proposing a new type of PWM technique. In our proposed PWM method, the modulation index varies according to the variations of the reference signals, so it is termed as Variable Index Pulse Width Modulation(VIPWM) technique. The simulation results show that the SAF under this PWM technique can greatly remove the harmonic components from line current to satisfy the requirement of IEEE standard. The obtained results also show that this technique can do the filtering action in the case of nonsinusoidal voltage source. This method is easy to implement with lower cost and circuitry.



---

*Source: 917897-2012-06-11.xml*