Research Article  Open Access
Juntao Fei, Kaiqi Ma, Shenglei Zhang, Weifeng Yan, Zhuli Yuan, "Adaptive Current Control with PIFuzzy Compound Controller for Shunt Active Power Filter", Mathematical Problems in Engineering, vol. 2013, Article ID 546842, 11 pages, 2013. https://doi.org/10.1155/2013/546842
Adaptive Current Control with PIFuzzy Compound Controller for Shunt Active Power Filter
Abstract
An adaptive control technology and PIfuzzy compound control technology are proposed to control an active power filter (APF). AC side current compensation and DC capacitor voltage tracking control strategy are discussed and analyzed. Model reference adaptive controller for the AC side current compensation is derived and established based on Lyapunov stability theory; proportional and integral (PI) fuzzy compound controller is designed for the DC side capacitor voltage control. The adaptive current controller based on PIfuzzy compound system is compared with the conventional PI controller for active power filter. Simulation results demonstrate the feasibility and satisfactory performance of the proposed control strategies. It is shown that the proposed control method has an excellent dynamic performance such as small current tracking error, reduced total harmonic distortion (THD), and strong robustness in the presence of parameters variation and nonlinear load.
1. Introduction
With the development of power electronics technology, nonlinear loads in power system are increasing which generate reactive current and harmonics. Harmonic has some impacts on the safe operation of a variety of electrical equipments and can cause severe damage to the equipment and power system. Active power filter can play role on changing frequency and amplitude of harmonic and reactive current compensation it is an important trend in both harmonic suppression and the current research focus in the field of power electronics technology.
In recent years, shunt active power filter (SAPF) is an effective device to implement the harmonic current in the grid and attracts more and more attention in the modern society; research studies on the APF including harmonic detection, topology studies, system modeling, and control methods become promising topics; the new type of intelligent control and adaptive control methods get a lot of development. There are many current tracking control methods, such as single cycle control, hysteresis current control, space vector control, sliding mode control, deadbeat control, repetitive control, predictive control, fuzzy control, adaptive control, iterative learning control and artificial neural network control. Rahmani et al. [1] introduced a comparative study of shunt hybrid and shunt active power filters for singlephase applications both in simulation and experimental validations. Rahmani et al. [2] implemented an experimental design of a nonlinear control technique for threephase shunt active power filter. Wang and Luo [3] carried on the quantitative simulation analysis of dead time in fundamental component and harmonic domain. Vahedi et al. [4] reviewed and simulated fixed and adaptive hysteresis current control considering switching losses and highfrequency harmonics. Singh et al. [5] reviewed active power filters for power quality improvement. Singh et al. [6] proposed a new control approach to threephase active power filter for harmonics and reactive power compensation. Komucugil and Kukrer [7] presented a new control strategy for singlephase shunt APF using a Lyapunov function. Kumar and Mahajan [8] summarized soft computing techniques for the control of an APF. Chang and Shee [9] proposed novel reference compensation current strategy for shunt APF control. Shyu et al. [10] proposed a model reference adaptive controller to control the circuit, improve the current, and reduce the current harmonics by using the approximate dynamic model of singlephase shunt APF. Matas et al. [11] showed a feedback linearization approach of a singlephase APF via sliding mode control. Hua et al. [12] gave control analysis of an APF using Lyapunov analysis. Montero et al. [13] compared different control strategies for shunt APF in threephase fourwire systems. Valdez et al. [14] designed an adaptive controller for shunt active filter in the presence of a dynamic load and the line impedance. Marconi et al. [15] developed robust nonlinear controller to compensate harmonic current for shunt active filters. Sriram et al. [16] proposed indirect current control of a singlephase voltagesourced boosttype bridge converter operated in the rectifier mode. Some other control methods and harmonic suppression approaches for APF have been investigated [17–19]. Singh et al. [20] presented a simple fuzzy logic based robust APF for harmonics minimization under random load variation. Bhende et al. [21] developed a TSfuzzy controller for load compensation of APF.
However, most of the tracking issues for active power filter’s DC voltage or AC current compensation are unilaterally controlled study which cannot achieve accurate, rapid and highly adaptable global control objectives. In this paper, fuzzy logic controller will be investigated to APF since it is very hard to establish accurate mathematical model for APF, classical linear controller cannot achieve the ideal DC voltage tracking performance, and adaptive current tracking control method for AC side current is developed for the current tracking. The proposed adaptive current control method based on PIfuzzy compound controller for shunt power active filter not only can take advantage of the fuzzy control which does not depend on the system dynamics and has good transient, steadystate behavior, and great robust performance, but also the adaptive control which has precise tracking performance, online realtime compensation of model uncertainties, and external disturbances. Therefore the proposed adaptive current control method based on PIfuzzy compound controller can greatly improve the current tracking and voltage control performance of the active filter compensation. The proposed control strategy has the following advantages.(1) This paper integrates the advantages of adaptive control and fuzzy control and applies them to the active power filter. A PIfuzzy controller is proposed to improve the voltage tracking performance for the DC side capacitor voltage control. A model reference adaptive controller for the AC side current compensation is derived based on Lyapunov analysis. (2) The proposed adaptive current control method based on PIfuzzy compound controller can deal with system nonlinearities and nonlinear load better and improve the current tracking and robustness of the control system compared with conventional control method. Fuzzy control has great ability to compensate for the nonlinear load and improve current tracking and total harmonic distortion (THD) performance.
2. Dynamic Model of Active Power Filter
This paper studies parallel singlephase voltage active power filter, and the dynamic model of APF is described referring to the linearization model [9]. The circuit diagram is shown in Figure 1.
The APF shown in Figure 1 can be decomposed into two work modes, shown in Figure 2. Assuming the switching converter frequency is , conversion cycle is , and duty cycle is . In mode (1), when , and are turned on, and are turned off. In mode (2), when , conversion process is as opposite mode 1, and are turned off, and and are turned on.
(a)
(b)
According to Figure 2, we can establish the dynamic model of the singlephase shunt active filter as follows: From (1), average state equations of the inverter within one cycle can be obtained as where, .
Rewriting (2) yields the following form: where
In order to simplify the controller design, an approximate linear model of the nonlinear model is derived around the equilibrium point. If and satisfying then can be called the equilibrium point of the nonlinear model. Therefore the right side of (3) is expanded into a Taylor series about , and the highorder terms are neglected as follows: Assuming that , , then the following linear APF model can be obtained: where, .
The capacitor voltage and inductance current of the nonlinear APF mode at the point can be described as where, and are the equivalent values of and respectively. Duty cycle can be expressed as
3. Adaptive Current Control
In this section, an adaptive current control for AC side current compensation is derived. A schematic diagram of the model reference adaptive control system is shown in Figure 3.
We can obtain the state equation of the controlled models from (7) as follows: where , , , and .
The reference model can be obtained as where , , , and .
Define tracking error as The adaptive controller is proposed as where and are feedback and feedforward gain of the closed loop system, respectively.
Substituting (13) into (10) yields There exist optimal parameters , , such that the following matching condition (15) can be satisfied: Substituting (14), (15) into the derivative of tracking error yields where , .
Define a Lyapunov function where , are positivedefinite matrixes, denotes the trace of a square matrix.
Since is a Hurwitz stable matrix, there exists a unique positivedefinite symmetric matrix satisfies the following: where is positive definite.
Substituting (16) into the derivative of generates Making use of the properties of matrix trace , , (19) can be rewritten as To make , we choose the adaptive laws as This adaptive laws yield , according to Barbalat lemma, and will asymptotically converge to zero, .
4. PIFuzzy Compound Voltage Control
In this section, PIfuzzy compound controller is designed for the DC side capacitor voltage control. The PIfuzzy compound controller structure is shown in Figure 4. When system enters the transient state, the fuzzy controller can improve the system dynamic performance. On the contrary, if system enters the steady state, PI controller can eliminate steadystate error of the system and improve steadystate performance of the system, where the switching of the controller is defined by the absolute value of the voltage error.
In Figure 4, the parameters of PI controller are set by general tuning method. Using the voltage deviation of each sampling time and the fuzzy rule, fuzzy controller can judge quickly and effectively. The advantage of PIfuzzy compound controller is that it can automatically switch between PI control and fuzzy control under different operating conditions, so it can take advantages of both approaches, thereby improving system speed and enhancing the robustness under the premise of guaranteeing control precision. The switch between the two controllers depends on the indicators of the actual runtime system. The control program runs continuously and monitors the input and output characteristics of the control system, and coordinates between the two control laws automatically.
Since the twoinput fuzzy control is similar to proportional and derivative (PD) control. As an affine nonlinear kinematic system, small range of fluctuation of DC voltage in the regulation is inevitable. In order to reduce the interference brought by the derivative action of the controller, we use onedimensional fuzzy controller, select the deviation between the actual voltage and the reference voltage of the DC side as a fuzzy input variables, and choose as the fuzzy output variables , where is the control amount of the active current that grid injected into the APF main circuit.
Fuzzy input is defined as , where is the real value of the DC capacitor voltage for the first time , is the reference voltage.
After scale changes, let the universe of input variables and output variables of the fuzzy controller are
Select seven of linguistic variables in the universe: NB, NM, NS, ZO, PS, PM, and PB. The input variables and output variables are selected overlapping symmetrical triangle membership function, as shown in Figure 5.
The fuzzy control rules are the core of the fuzzy control, therefore, how to set up the fuzzy control rules become a crucial issue. The fuzzy control rule is the most natural way to describe the process of human behavior and decision analysis, it establishes the link between the fuzzy input variables and fuzzy output variables, multiform of IFTHEN fuzzy conditional sentences.
Figure 6 is the APF DC voltage reference curve of the change process we can develop fuzzy control rules based on this curve. Fuzzy control rules can be obtained according to the change process; of the curve shown in Figure 6, and the existing experience of DC side capacitor voltage control is shown in Table 1.

The Mamdani type fuzzy inference system containing the fuzzy relationship such as “If is then is ” is adopted. For defuzzification method, the area of the center of gravity (centroid) is selected, then fuzzy controller output value can be obtained, that is, grid controlled amount of active current to be injected into the APF main circuit.
5. Simulation Study
Fuzzy controller is completed by using MATLAB fuzzy control editor (FTS), fuzzy control rule table, and fuzzy controller output curve are shown in Figures 7 and 8, respectively.
According to the control schematic block diagrams shown in Figures 3 and 4, the comprehensive model of active power filter based on reference adaptive control and PIfuzzy compound control strategy is established in Figure 9, including nonlinear load module (nonlinear load), harmonic current detection module (harmonic creator), and the main circuit of filtering (APF main circuit). IGBT, within appropriate voltage and current levels, is chosen as switch, the PWM conversion module (PWM creator), adaptive current tracking compensation module (MARC controller), and DC side capacitor voltage fuzzyPI the compound control module (fuzzyPI controller), and so on.
In the simulations of adaptive current control based on PIfuzzy compound control for the active power filter and hysteresis current control, the DC capacitor voltage PIfuzzy compound control parameters are , . For comparison purpose, DC capacitor voltage conventional PI control parameters are the same as , .
According to the parameters of Table 2, from (9), (8), and (7), , can be obtained, respectively. The positive definite matrixes in (17) and (18) are chosen as respectively. The adaptive gains in (21) are

Regarding the reference model, it is designed as an overdamped system, damping ratio , rise time , then the natural frequency rad/s can be obtained, adjustment time s, and the two poles of the reference model can be obtained as −12.6061 and −71.3939. Then, and can be determined.
During the simulation, the nonlinear load changes twice: first at the time of 0.4 s, parallel nonlinear load is added to the APF system; second at the time of 0.72 s, nonlinear load incorporated to the APF system at 0.4 s is removed. Figure 10 shows the grid current waveform without APF. It can be seen that due to the effects of nonlinear load, the grid current waveform has severe distortion. Figure 11 is the grid current waveform with adaptive current control based on PIfuzzy compound control. As can be seen from Figure 11, grid current distortion has been significantly improved with the incorporated APF. Besides, in Figures 10 and 11, (b) is the zoom of (a). Figure 12 is the tracking waveform of DC capacitor voltage with PIfuzzy compound control while the blue line stands for the default DC capacitor voltage. Figure 13 amplifies the waveforms which compare the DC capacitor voltage tracking between conventional PI control and fuzzyPI compound control with nonlinear load switching. It can be observed from Figure 13 that DC capacitor voltage with PIfuzzy compound controller has smaller overshoot, better steady accuracy, robustness, and voltage setting than that with conventional PI control.
(a)
(b)
(a)
(b)
(a)
(b)
It can be seen from Figures 14 and 15, the feedforward gain and feedback gain converge to the stable values after short time. These two adaptive parameters are updated online to make the current track reference model as close as possible.
(a)
(b)
Figure 16 shows that nonlinear load leads grid current containing a large number of harmonics, where THD = 45.80%. Figure 17 plots the harmonic content with hysteresis control based on PIfuzzy control, where THD = 5.79%. Figure 18 draws the total harmonic content with adaptive current control based on PIfuzzy control, where THD = 3.84%. Figures 16, 17, and 18 are all measured in 60 Hz, and the fundamental currents are the same. It is shown that adaptive current control with PIfuzzy compound control is effective in harmonic suppression of APF.
It can be concluded that the current tracking and THD performance can be improved by using the proposed adaptive current control with PIfuzzy control. Thus the control performance and robustness to nonlinear load can be improved.
6. Conclusion
In this paper the approximate mathematical model of the active power filter is established; model reference adaptive current tracking control method for AC side current is developed; PIfuzzy compound control is designed for the DC capacitor voltage regulation. Simulation studies prove that adaptive current control method based on PIfuzzy compound control not only can regulate the DC capacitor voltage but also track the AC current command signals, eliminate the power harmonics, and improve the power quality and system robustness.
Acknowledgments
The authors thank the anonymous reviewers for useful comments that improved the quality of the paper. This work is partially supported by National Science Foundation of China under Grant no. 61074056; the Scientific Research Foundation of HighLevel Innovation and Entrepreneurship Plan of Jiangsu Province; the Fundamental Research Funds for the Central Universities under Grant no. 2012B06714.
References
 S. Rahmani, K. AlHaddad, and H. Y. Kanaan, “A comparative study of shunt hybrid and shunt active power filters for singlephase applications: simulation and experimental validation,” Mathematics and Computers in Simulation, vol. 71, no. 4–6, pp. 345–359, 2006. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 S. Rahmani, N. Mendalek, and K. AlHaddad, “Experimental design of a nonlinear control technique for threephase shunt active power filter,” IEEE Transactions on Industrial Electronics, vol. 57, no. 10, pp. 3364–3375, 2010. View at: Publisher Site  Google Scholar
 S. Wang and A. Luo, “Study of deadtime effect and its compensation strategies,” High Voltage Engineering, vol. 35, no. 5, pp. 1170–1176, 2009. View at: Google Scholar
 H. Vahedi, A. Sheikholeslami, M. Bina, and M. Vahedi, “Review and simulation of fixed and adaptive hysteresis current control considering switching losses and highfrequency harmonics,” Advances in Power Electronics, vol. 2011, Article ID 397872, 6 pages, 2011. View at: Publisher Site  Google Scholar
 B. Singh, K. AlHaddad, and A. Chandra, “A review of active filters for power quality improvement,” IEEE Transactions on Industrial Electronics, vol. 46, no. 5, pp. 960–971, 1999. View at: Publisher Site  Google Scholar
 B. Singh, K. AlHaddad, and A. Chandra, “A new control approach to threephase active filter for harmonics and reactive power compensation,” IEEE Transactions on Power Systems, vol. 13, no. 1, pp. 133–138, 1998. View at: Publisher Site  Google Scholar
 H. Komucugil and O. Kukrer, “A new control strategy for singlephase shunt active power filters using a Lyapunov function,” IEEE Transactions on Industrial Electronics, vol. 53, no. 1, pp. 305–312, 2006. View at: Publisher Site  Google Scholar
 P. Kumar and A. Mahajan, “Soft computing techniques for the control of an active power filter,” IEEE Transactions on Power Delivery, vol. 24, no. 1, pp. 452–461, 2009. View at: Publisher Site  Google Scholar
 G. W. Chang and T.C. Shee, “A novel reference compensation current strategy for shunt active power filter control,” IEEE Transactions on Power Delivery, vol. 19, no. 4, pp. 1751–1758, 2004. View at: Publisher Site  Google Scholar
 K. K. Shyu, M. J. Yang, Y. M. Chen, and Y. F. Lin, “Model reference adaptive control design for a shunt activepowerfilter system,” IEEE Transactions on Industrial Electronics, vol. 55, no. 1, pp. 97–106, 2008. View at: Publisher Site  Google Scholar
 J. Matas, L. Garcia de Vicuna, J. Miret, J. M. Guerrero, and M. Castilla, “Feedback linearization of a singlephase active power filter via sliding mode control,” IEEE Transactions on Power Electronics, vol. 23, no. 1, pp. 116–125, 2008. View at: Publisher Site  Google Scholar
 C. C. Hua, C. H. Li, and C. S. Lee, “Control analysis of an active power filter using Lyapunov candidate,” IET Power Electronics, vol. 2, no. 4, pp. 325–334, 2009. View at: Publisher Site  Google Scholar
 M. I. M. Montero, E. R. Cadaval, and F. B. González, “Comparison of control strategies for shunt active power filters in threephase fourwire systems,” IEEE Transactions on Power Electronics, vol. 22, no. 1, pp. 229–236, 2007. View at: Publisher Site  Google Scholar
 A. A. Valdez, G. Escobar, and R. Ortega, “An adaptive controller for the shunt active filter considering a dynamic load and the line impedance,” IEEE Transactions on Control Systems Technology, vol. 17, no. 2, pp. 458–464, 2009. View at: Publisher Site  Google Scholar
 L. Marconi, F. Ronchi, and A. Tilli, “Robust nonlinear control of shunt active filters for harmonic current compensation,” Automatica, vol. 43, no. 2, pp. 252–263, 2007. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 V. B. Sriram, S. Gupta, and A. Patra, “Indirect current control of a singlephase voltagesourced boosttype bridge converter operated in the rectifier mode,” IEEE Transactions on Power Electronics, vol. 18, no. 5, pp. 1130–1137, 2003. View at: Publisher Site  Google Scholar
 H. L. Jou, J. C. Wu, Y. J. Chang, and Y. T. Feng, “A novel active power filter for harmonic suppression,” IEEE Transactions on Power Delivery, vol. 20, no. 2, pp. 1507–1513, 2005. View at: Publisher Site  Google Scholar
 Z. H. Shuai, A. Luo, W. Zhu, R. Fan, and K. Zhou, “Study on a novel hybrid active power filter applied to a highvoltage grid,” IEEE Transactions on Power Delivery, vol. 24, no. 4, pp. 2344–2352, 2009. View at: Publisher Site  Google Scholar
 H. Carranza, A. Medina, and G. W. Chang, “Realtime shunt active power filter compensation,” IEEE Transactions on Power Delivery, vol. 23, no. 4, pp. 2623–2625, 2008. View at: Publisher Site  Google Scholar
 G. K. Singh, A. K. Singh, and R. Mitra, “A simple fuzzy logic based robust active power filter for harmonics minimization under random load variation,” Electric Power Systems Research, vol. 77, no. 8, pp. 1101–1111, 2007. View at: Publisher Site  Google Scholar
 C. N. Bhende, S. Mishra, and S. K. Jain, “TSfuzzycontrolled active power filter for load compensation,” IEEE Transactions on Power Delivery, vol. 21, no. 3, pp. 1459–1465, 2006. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2013 Juntao Fei et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.