Professional Documents
Culture Documents
Improved Algorithm For Shunt Active Filter
Improved Algorithm For Shunt Active Filter
I. INTRODUCTION
Manuscript received November 11, 1998; revised January 18, 1999. This
work was supported by the Natural Science and Engineering Research Council
of Canada. Recommended by Associate Editor, F. D. Tan.
A. Chandra, and K. Al-Haddad are with the Department of Electrical En-
gineering. Ecole de Technologie Supérieure GREPCI, Montreal, Quebec H3C
1K3, Canada.
B. Singh is with the Department of Electrical Engineering. Indian Institute of
Technology Hauz Khas, New Delhi 110016 India.
B. N. Singh is with the Department of Electrical Engineering and Computer
Science, Tulane University, New Orleans, LA 70118 USA.
Publisher Item Identifier S 0885-8993(00)03394-9. Fig. 2. Control scheme of the active filter.
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
496 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 15, NO. 3, MAY 2000
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
CHANDRA et al.: IMPROVED CONTROL ALGORITHM OF SHUNT ACTIVE FILTER 497
Fig. 4. Performance of the AF system under switch IN and steady state conditions with a three-phase nonlinear load.
Fig. 5. Steady state response of the AF for voltage regulation and harmonic elimination with a three-phase nonlinear load.
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
498 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 15, NO. 3, MAY 2000
Fig. 6. Steady state response of the AF for voltage regulation, harmonic elimination, and load balancing with a single-phase nonlinear load.
of three-phase reference supply currents ( , , and ). Alge- of the AF is made flexible to achieve either voltage regula-
braic sum of in-phase ( , , and ) and quadrature ( , tion, harmonics compensation, load balancing or power-factor
, and ) components results in the three-phase reference correction to unity, harmonics compensation, load balancing.
supply currents ( , , and ). For regulation of voltage at With three-phase supply voltages ( , , and ) and dc bus
PCC the three-phase reference supply currents have two compo- voltage ( ) as feedback signals, the control algorithm of the
nents. The first component is in-phase with the voltage at PCC AF provides the three-phase reference supply currents ( , ,
to feed active power to the load and the losses of the AF. The and ) as output signals. A carrier wave PWM current con-
second component is at quadrature with the voltage at PCC to troller is used over reference supply currents ( , , and )
feed reactive power of load and to compensate the line voltage and sensed supply currents ( , , and ) to generate gating
drop by reactive power injection at the PCC. For power-factor signals to the IGBT’s used in the VSI bridge working as the AF.
correction to the unity, harmonic elimination and balancing of In response to gating pulses to the AF, it regulates the voltage
nonlinear load, the quadrature component of reference supply at PCC, eliminates harmonics, correct the power-factor at PCC
currents is set to zero by assigning a zero value to the quantity and balances the unbalanced nonlinear load while maintaining
. For the voltage regulation at PCC, the supply currents a self-supporting dc bus of the AF. A deadbeat time of 8 s is
should lead the supply voltages while for the power factor con- set between upper and lower devices of a leg of VSI to avoid
trol to the unity, the supply currents should be in phase with shoot through fault. An over current protection of devices of the
the supply voltages. Since these two conditions, namely, voltage AF is provided at gate drive level of each IGBT to ensure a safe
regulation at PCC and power-factor control to unity can not be operation of the VSI. The carrier frequency of PWM controller
achieved simultaneously [2], therefore, the control algorithm is set at 6.4 kHz.
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
CHANDRA et al.: IMPROVED CONTROL ALGORITHM OF SHUNT ACTIVE FILTER 499
Fig. 7. Switch IN response of the AF for voltage regulation, harmonic elimination with a three-phase nonlinear load.
III. DSP HARDWARE AND CONTROL ALGORITHM through its ADC interface. The dc bus voltage of the AF is
sensed using an isolation amplifier (AD202) and scaled to feed
In this section, the details of hardware interfacing with DSP to ADC channel. The synchronization of ac mains with the con-
system and basic equations of control algorithm are given. trol algorithm in DSP system is obtained using one digital signal
(hardware interrupt). This signal is generated using compara-
A. Description of DSP System Hardware tors and logic gates over the three-phase ac supply voltages.
The three-phase ac supply voltages result in six zero crossing
Fig. 3 shows the DSP system hardware of the AF. The DSP signals at 60 of intervals. Therefore, the digital signal contin-
system [29] consists of a TSM320C31 digital signal processor, uously interrupts the DSP system at 60 time intervals of fre-
eight channels of 12 bit analog to digital converter (ADC), eight quency of ac supply system. Using four analog signals and one
channels of 12-bit digital to analog converter (DAC), three hardware interrupt signal, the control algorithm of the AF is im-
hardware interrupts and three timer interrupts. The DSP system plemented in real time. The control algorithm of the AF gen-
is serially interfaced to an IBM-PC. In PC the control algorithm erates three-phase reference supply currents. The three-phase
is developed in C language and converted in assembly language reference supply currents ( , , and ) are input signals to
codes using optimizing compiler. These assembly language DAC’s of DSP. The outputs of DAC’s are fed to a carrier wave
codes are down loaded into the DSP board through serial port. PWM current controller. In PWM current controller the error
The three-phase supply voltages ( , , and ) and dc signals of the reference ( , , and ) and sensed ( , ,
bus voltage ( ) of the AF are input signals to the DSP board and ) supply currents (sensed using LEM hall-effect current
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
500 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 15, NO. 3, MAY 2000
Fig. 8. Switch IN response of the AF for voltage regulation, harmonic elimination and load balancing with a single-phase nonlinear load.
sensors) are compared with a carrier signals resulting in gating The error signal, , is processed in PI controller and output
pulses for the IGBT’s of the AF. at th sampling instant is expressed as
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
CHANDRA et al.: IMPROVED CONTROL ALGORITHM OF SHUNT ACTIVE FILTER 501
Fig. 9. Dynamic response of the AF for voltage regulation, harmonic elimination, and load balancing under the load change from three-phase to single-phase.
Fig. 10. Dynamic response of the AF for voltage regulation, harmonic elimination, and load balancing under the load change from single-phase to three-phase.
where , , and are in-phase unit current vectors and PI controller over the average value of amplitude ( ) of
derived as supply voltage and its reference counterpart . Comparison
of average and reference values of amplitude of the supply
and (4) voltage results in a voltage error, which is expressed as, ,
at th sampling instant
where is the amplitude of supply voltage and it is computed
as (6)
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
502 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 15, NO. 3, MAY 2000
Fig. 11. Steady state response of the AF for power-factor correction, harmonic elimination with a three-phase nonlinear load.
where and are proportional and integral gain con- 3) Computation of Total Reference Supply Currents: Three-
stants of ac voltage PI controller. The quantities, and phase instantaneous reference supply currents are computed by
are the output of voltage controller and voltage error, adding in-phase and quadrature components expressed in (3)
respectively, at ( )th sampling instant. The output and (8)
of PI controller is taken as amplitude of quadrature com-
ponent of the reference supply currents. Three-phase quadrature (10)
components of the reference supply currents are computed using
their amplitude and quadrature unit current vectors as For ac voltage regulation along with harmonic elimination
and load balancing these reference supply currents are used
and (8) directly. However, for power-factor correction along with
harmonic elimination and load balancing, amplitude of
where , , and are quadrature unit current vectors quadrature components ( , , and ) is set to zero and
and these are derived from in-phase unit current vectors as in this condition the in-phase components ( , , and )
become the total reference supply currents ( , , and ).
However, by giving a proper weight-age to two components of
reference supply currents a reasonably good compromise may
(9) be achieved.
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
CHANDRA et al.: IMPROVED CONTROL ALGORITHM OF SHUNT ACTIVE FILTER 503
Fig. 12. Steady state response of the AF for power-factor correction, harmonic elimination, and load balancing with a single-phase nonlinear load.
The three-phase reference supply currents ( , , and ) duced in each phase in series with the line connecting ac mains
are inputs to 12 bit DAC’s of DSP and outputs of DAC’s are fed with the AF and load. This causes a voltage drop and distortion
to PWM current controller along with sensed supply currents in the voltage waveforms ( , , and ) at PCC as shown in
( , , and ). The PWM current controller generates gating Fig. 4 for the phase a ( ). Fig. 4(a) shows “switch-in” response
signals for IGBT’s of the AF. of the AF, whereas, Fig. 4(b) shows steady state response of the
AF with a three-phase nonlinear load. In Fig. 4(a), all the quan-
IV. PERFORMANCE OF THE AF SYSTEM tities are shown for phase “ ” only and top to bottom waveforms
A number of tests have been carried out on the developed are the mains voltage ( ), load voltage at the PCC ( ),
prototype model of the AF system for voltage regulation and supply voltage ( ) obtained from load voltage ( ) using a
power-factor correction along with load balancing and harmonic band pass filter and supply current ( ). It is to mention here
elimination. Test results on the AF are presented in Figs. 4–14 that the supply voltage ( ) is recorded in the results pertaining
and Tables I and II, demonstrating its steady state and transient to all other operating conditions of the AF system. It is observed
performance. From these results, the following observations are from Fig. 4 that the load terminal voltage ( ) is quite distorted
made. and has a THD of 18.3% without AF, however, its THD reduces
to 4.3% when the AF is switched in. A comparative reduction
A. Effect of the AF on Power Quality in different harmonics present in load terminal voltage ( ) are
To demonstrate voltage regulation capability of the AF, an given in Table I. Similarly, THD in supply currents also reduces
inductor ( and , values are given in the Appendix) is intro- to 4.2% from 27.4% when the AF is “switched-in.” Table II
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
504 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 15, NO. 3, MAY 2000
Fig. 13. Switch IN response of the AF for power-factor correction and harmonic elimination with a three-phase nonlinear load.
presents various harmonics in the supply current for the cases ) are sinusoidal, balanced and slightly leading with respect to
with and without compensation. The high frequency switching supply voltages ( , , and ) which is necessary to com-
ripples which are observed in the load voltage ( ) are filtered pensate line impedance drop. Fig. 6 shows the steady state re-
out with the help of a band pass filter and output of band pass sponse of the AF for voltage regulation, harmonic elimination
filter is voltage signal fed to DSP system. The results shown and load balancing with a single-phase nonlinear load. The AF
in Fig. 4 and Tables I and II confirm that the AF system is able regulates the ac load terminal voltage, eliminates harmonics and
to improve the quality of power and reduces THD in the voltage balances a single-phase load resulting in three-phase balanced,
(4.3% THD) and current (4.2% THD) at PCC. sinusoidal and slightly leading power-factor supply currents.
B. Steady State Performance of the AF for Voltage Regulation, C. Dynamic Response of the AF for Voltage Regulation,
Harmonic Elimination, and Load Balancing Harmonic Elimination, and Load Balancing
Fig. 5 shows the steady state response of the AF for ac voltage Fig. 7 shows the “switch-in” response of the AF for voltage
regulation and harmonic elimination with a three-phase non- regulation, harmonic elimination and load balancing with a
linear load. The AF system regulates ac load terminal voltage three-phase nonlinear load. It is observed that the ac load
at its reference value and reduces THD in the supply current to terminal voltage is raised from 37.48 V (rms) to its reference
4.2% from 27.4% THD in load current. The dc bus voltage of the value set at 40 V (rms). With the AF system switched in, the
AF is also regulated at its reference value and thus a self-sup- supply currents become sinusoidal within a fraction of a cycle
porting dc bus is obtained. The supply currents ( , , and of ac mains. The dc bus voltage reaches to its steady state
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
CHANDRA et al.: IMPROVED CONTROL ALGORITHM OF SHUNT ACTIVE FILTER 505
Fig. 14. Switch IN response of the AF for power-factor correction, harmonic elimination, and load balancing with a single-phase nonlinear load.
value almost instantaneously due to fast dynamic response of D. Steady State Performance of the AF for Power-Factor
the AF system. Fig. 8 shows the “switch-in” response of the Correction, Harmonic Elimination, and Load Balancing
AF with a single-phase nonlinear load. The supply currents Fig. 11 shows the steady state response of the AF with a
become sinusoidal and balanced almost instantaneously which three-phase nonlinear load for power-factor correction and har-
confirms fast response of the AF. The ac load terminal voltage monic elimination. The AF is able to reduce harmonics in the
and dc bus voltage of the AF reach to their respective desired supply currents (THD 4.0% from 27.4%) and it improves the
values within a cycle of the ac mains. supply power-factor to unity. The supply currents are balanced,
Fig. 9 shows the dynamic response of the AF for a load sinusoidal and in-phase with the voltages. Fig. 12 shows the
change from three-phase to single-phase. The ac load terminal steady state response of the AF with a single-phase nonlinear
voltage remains unaffected and the supply currents are reduced load. It is observed that the AF is able to balance a nonlinear
in amplitude but remain sinusoidal, balanced and slightly single-phase load resulting in sinusoidal, balanced and unity
leading with respect to supply voltages. Similarly, Fig. 10 power-factor supply currents. The control algorithm also pro-
shows the dynamic response of the AF when a single-phase vides a self-supporting dc bus of the AF.
nonlinear load is changed to a three-phase. The three-phase
supply currents are observed with an increased amplitude but E. Dynamic Performance of the AF for Power-Factor
remain sinusoidal, balanced and slightly leading with respect to Correction, Harmonic Elimination, and Load Balancing
supply voltage which is necessary to regulate ac load terminal Fig. 13 shows “switch-in” response of the AF with a three-
voltage. phase nonlinear load for power-factor correction and harmonic
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
506 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 15, NO. 3, MAY 2000
APPENDIX
A. System Parameters
(rms/phase) V, Hz, ,
mH, F, , mH,
and , mH.
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.
CHANDRA et al.: IMPROVED CONTROL ALGORITHM OF SHUNT ACTIVE FILTER 507
[13] V. B. Bhavaraju and P. N. Enjeti, “Analysis and design of an active power Bhim Singh was born in Rahamapur, U.P., India
filter for balancing unbalanced loads,” IEEE Trans. Power Electron., vol. in 1956. He received the B.E. degree from the
8, pp. 640–647, Oct. 1993. University of Roorkee, India, in 1977 and the
[14] S. Saetieo, R. Devaraj, and D. A. Torrey, “The design and implementa- M.Tech. and Ph.D. degrees from the Indian Institute
tion of a three-phase active power filter based on sliding mode control,” of Technology (IIT), New Delhi, in 1979 and 1983,
IEEE Trans. Ind. Applicat., vol. 31, pp. 993–1000, Sept./Oct. 1995. respectively.
[15] B. Singh, K. Al-Haddad, and A. Chandra, “Active power filter with In 1983, he started working as a Lecturer and,
sliding mode control,” in Proc. Inst. Elect. Eng., Generation, Transm., in 1988 became a Reader in the Department of
Distrib., vol. 144, Nov. 1997, pp. 564–568. Electrical Engineering, University of Roorkee.
[16] M. Rastogi, N. Mohan, and A. A. Edris, “Hybrid-active filtering of har- In December 1990, he started as an Assistant
monic currents in power systems,” IEEE Trans. Power Delivery, vol. 10, Professor, became an Associate Professor in the
pp. 1994–2000, Oct. 1995. Department of Electrical Engineering, IIT, in 1994, and a Professor in 1997.
[17] S. Bhattacharya, A. Veltman, D. M. Divan, and R. D. Lorenz, “Flux His field of interest includes CAD, power electronics, active filters, static VAR
based active filter controller,” in Proc. IEEE-IAS Annu. Meeting Record, compensation, analysis, and digital control of electrical machines.
1995, pp. 2483–2491. Dr. Singh is a Fellow of IE(I) and IETE and a Life Member of ISTE, SSI, and
[18] H. L. Jou, “Performance comparison of the three-phase active power NIQR.
filter algorithms,” in Proc. Inst. Elect. Eng., Generation, Transm, Dis-
trib., vol. 142, Nov. 1995, pp. 646–652.
[19] J. W. Dixon, J. J. Garcia, and L. Moran, “Control system for three-phase
active power filter which simultaneously compensates power-factor and
unbalanced loads,” IEEE Trans. Ind. Electron., vol. 42, pp. 636–641,
Dec. 1995.
[20] B. Singh, K. Al-Haddad, and A. Chandra, “A new control approach to
three-phase active filter for harmonics and reactive power compensa- B. N. Singh (M’98) was born in 1968. He received
tion,” IEEE Trans. Power Syst., vol. 13, pp. 133–138, Feb. 1998. the B.E. degree from M.M.M. Engineering College,
[21] D. A. Paice, Power Electronic Converter Harmonics—Multipulse Gorakhpur, India, in 1989, the M.E. degree from the
Methods for Clean Power. New York: IEEE Press, 1996. University of Roorkee, India, in 1991, and the Ph.D.
[22] R. C. Dugan, M. F. McGranaghan, and H. W. Beaty, Electrical Power degree from Indian Institute of Technology, New
Systems Quality. New York: McGraw-Hill, 1996. Delhi, in 1996.
[23] J. Hafner, M. Aredes, and K. Neumann, “A shunt active power filter In September 1996, he joined the Department
applied to high voltage distribution lines,” IEEE Trans. Power Delivery, of Electrical Engineering, École de Technologie
vol. 12, pp. 266–272, Jan. 1997. Supérieure, Montréal, P.Q., Canada, as a Postdoc-
[24] B. Singh, K. Al-Haddad, and A. Chandra, “Harmonic elimination, toral Fellow, where he worked in the area of active
reactive power compensation and load balancing in three-phase, four filters, UPFC, and FACTS. In February 1999, he
wire electric distribution systems supplying nonlinear loads,” J. Electric joined the Department of Electrical and Computer Engineering, Concordia
Power Syst. Res., vol. 44, pp. 93–100, 1998. University, Montreal, as a Research Fellow, where he worked in the area of
[25] H. Akagi, “Control strategy and site selection of a shunt active filter for power supplies for telecommunication system. Recently, he joined the Depart-
damping of harmonic propagation in power distribution systems,” IEEE ment of Electrical Engineering and Computer Science, Tulane University, New
Trans. Power Delivery, vol. 12, pp. 354–363, Jan. 1997. Orleans, LA, as an Assistant Professor. His main research interests are power
[26] M. Aredes, K. Heumann, and E. H. Watanabe, “An universal active supplies, power electronics, power systems, electrical machines, and drives.
power line conditioner,” IEEE Trans. Power Delivery, vol. 13, pp.
545–551, Apr. 1998.
[27] P. T. Cheng, S. Bhattacharya, and D. M. Divan, “Control of square-wave
inverters in high-power hybrid active filter systems,” IEEE Trans. Ind.
Applicat., vol. 34, pp. 458–472, May/June 1998.
[28] B. N. Singh, A. Chandra, and K. Al-Haddad, “Performance comparison
of two current control techniques applied to an active filter,” in Proc. 8th
Int. Conf. Harmonics Quality Power ICHQP’98, vol. I, Athens, Greece,
Oct. 14–16, 1998, pp. 133–138. Kamal Al-Haddad (S’82–M’88–SM’92) was born
[29] MX31 Modular Embedded System Developer’s Guide, Sunnyvale, CA, in Beirut, Lebanon, in 1954. He received the B.Sc.A.
1992. and the M.Sc.A. degrees from the Université du
Québec à Trois-Rivières, P.Q., Canada, in 1982 and
1984, respectively, and the Ph.D. degree from the
Institut National Polytechnique, Toulouse, France,
Ambrish Chandra (SM’87) was born in India in 1988.
in 1955. He received the B.E. degree from the From June 1987 to June 1990, he was a Professor
University of Roorkee, India, in 1977, the M.Tech. in the Engineering Department, Université du
degree from I.I.T., New Delhi, India, in 1980, and Québec, Trois-Rivières. In June 1990, he joined
the Ph.D. degree from the University of Calgary, the teaching staff as a Professor in the Electrical
Calgary, Alta., Canada, in 1987. Engineering Department, École de Technologie Supérieure, Université du
He worked as a Lecturer and later as a Reader Québec, Montreal, P.Q. His fields of interest are static power converters,
at the University of Roorkee. He is a Professor in harmonics, and reactive power control, switch mode and resonant converters,
the Electrical Engineering Department, Ecole de including the modeling, control, and development of industrial prototypes for
Technologie Supérieure, Montreal, Que., Canada. various applications.
His main research interests are power quality, active Dr. Al-Haddad is a member of the Order of Engineering of Québec and the
filters, reactive power compensation, and FACTS. Canadian Institute of Engineers.
Authorized licensed use limited to: NED UNIV OF ENGINEERING AND TECHNOLOGY. Downloaded on April 14,2010 at 05:41:50 UTC from IEEE Xplore. Restrictions apply.