Research Article  Open Access
Research of Active Power Filter Modeling with Grid Impedance in Feedback Linearization and QuasiSliding Mode Control
Abstract
Active power filter (APF) is the most popular device in regulating power quality issues. Currently, most literatures ignored the impact of grid impedance and assumed the load voltage is ideal, which had not described the system accurately. In addition, the controllers applied PI control; thus it is hard to improve the compensation quality. This paper establishes a precise model which consists of APF, load, and grid impedance. The Bode diagram of traditional simplified model is obviously different with complete model, which means the descriptions of the system based on the traditional simplified model are inaccurate and incomplete. And then design exact feedback linearization and quasisliding mode control (FBLQSMC) is based on precise model in inner current loop. The system performances in different parameters are analyzed and dynamic performance of proposed algorithm is compared with traditional PI control algorithm. At last, simulations are taken in three cases to verify the performance of proposed control algorithm. The results proved that the proposed feedback linearization and quasisliding mode control algorithm has fast response and robustness; the compensation performance is superior to PI control obviously, which also means the complete modeling and proposed control algorithm are correct.
1. Introduction
Active power filter (APF) is the most popular device in harmonics compensation; it commonly consists of current filter, electronic converter, and DClink capacitor. The APF connected to grid and compensated power quality problems [1].
Recently, the interactions between grid connected devices and the grid have drawn greater attention [2]. However, most literatures established the model of isolated APF and rarely consider the impact of grid impedance [3]. Thus the descriptions of the system based on the traditional simplified model are inaccurate and incomplete. If the mathematical models of the grid impedance and the loads were contained in the APF control system, then the specific effects of each of them could be studied more accurately and completely [4].
In recent decades, nonlinear control theory has made a great progress, especially feedback linearization (FBL) theory based on differential geometry. Feedback linearization control can achieve global linearization by using a certain nonlinear state transformation or feedback transformation [5]. All these methods can solve the problem of nonlinear system and obviously improve static and dynamic performance. Yet, this control method depends on an accurate mathematical model and is sensitive to system parameters [6]. There are many literatures that adopted feedback linearization in threephase APF [7] and singlephase APF [8]. However, none of them consider the impact of grid impedance. Thus, the optimum performance of APF has not been achieved.
Sliding mode control shows great robustness and fast convergence when the system is running in the sliding surface [9]. Thus, slide model control (SMC) is adopted to increase the robustness in model uncertainties and reduce disturbance responses [10]. In [11], sliding mode control has been applied to the threephase APF and achieved a good result.
This paper establishes a precise model consisting of APF, load, and grid impedance. And then it applies exact feedback linearization and quasisliding mode control method (FBLQSMC) in inner current loop. At last, it analyzes the performances of proposed algorithm and compares with traditional PI control algorithm in dynamic respond and simulation.
2. Mathematical Model of APF with Grid Impedance
The structure diagram of LC APF with grid impedance is shown in Figure 1. Because a threephase APF system is symmetrical, the system is analyzed with its singlephase circuit [12]. The singlephase circuit diagram of an APF with current controller is shown in Figure 2.
In Figure 2, is voltage of DClink, is capacitor of DClink, is output voltage of converter, is output current of converter, is filter impedance, is filter capacitor, is current of APF compensating, is voltage in load side, is load current, is equivalent impedance of load, is grid impedance, and is grid voltage.
From Figure 2, there are the following equations:where .
The role of inner current loop is keeping source current tracking with reference current and realizing system unity power factor operation. This paper applies feedback linearization in inner current loop, designed state variables are , input variable is , and the output variable is . The following affine nonlinear equations are obtained.where
3. Control System Design
3.1. Feedback Linearization of APF with Grid Impedance
Lemma 1. and are the Lie derivatives of with respect to and . If for all , and , that means the system’s relative degree is [8].
Taking Lie derivative for (2), the following is obtained:
From (4), the relative degree is less than the system dimension , which means the nonlinear systems are designed to be minimum phase with its zero dynamics. Because the zero dynamics are assumed to be globally stable, the state variables converge and so does the closedloop system [13].
After taken Lie derivative obtained the variables transformation, the state equations of APF with grid impedance control system altered to
Thus,
There are
Since the state variables converge to zero due to the linear characteristics, the closedloop trajectories can be well controlled. Furthermore, some assumption must be applied to the fourth equation of (7) [13]:
That is,
Equation (9) shows zero dynamics is bounded and exponentially stable.
In (7), and , assuming the new input is , the original nonlinear state equations can be written as standard linear equation:
The input transformation can be expressed as
The equivalent control input of feedback linearization is
In Lie derivativewhere
Thus
3.2. QuasiSliding Mode Controller Design
Quasisliding mode control (QSMC) can eliminate the chattering of sliding mode and keep stable and thus is used in widespread manner recently [14].
From the above analysis it is known that this is a 3order system, and , thus defining the sliding surface as
In QSMC, reaching law is designed aswhere
Consider a positive augmented Lyapunov candidate aswhere is a design parameter.
The time derivative of is
Substituting (16) and (17) into (20) obtains
By the Lyapunov theorem of stability and LaSalle’s invariance principle, the control system is proved to be stable.
Based on (7), there are
Thus
The above equation can be taken aswhere
There is
After designing, , , , .
3.3. Implementation of Feedback Linearization Sliding Mode Control
The control diagram of feedback linearization quasisliding mode control (FBLQSMC) is shown in Figure 3. The control system consists of outer voltage loop and inner current loop. The outer voltage loop applied PI control, and the inner current loop applied FBLQSMC control. It is necessary to remind that there are three identical inner current loops in three phases, respectively. However, there is only drawn one phase in the diagram.
As shown in Figure 3, the source reference active current is equal to the sum of load’s active current and DClink voltage regulating current ; the reference reactive current and zero sequence current are equal to zero. After Park’s transformation, the reference current from 0 coordinate transformed to coordinate. The reference current subtracts the source current which obtains the source error current in phase, respectively. The source error current applied sliding mode control obtains switching input and state variables in feedback linearization control obtain equivalent control input and then sum up them equal to the control input signal .
4. Analysis of System Performance
The system parameters are listed in Table 1.

4.1. Analysis of Transfer Functions
In traditional method [15], the LC filter is designed based on the transfer function of converter output voltage to load voltage without load and grid impedance. The transfer function is
In traditional model, it is unable to obtain the transfer relationship of converter output voltage to source current . Only the relationship of converter output voltage to converter output current is obtained, in assuming the load voltage is constant, such that
The resonant frequency is
Substitute the system parameters and into (29); the resonant frequency = 2055 Hz.
From the above equations, applying Matlab obtained the transfer functions and the Bode diagrams are shown in Figure 4.
In Figure 4, the line “” is represented transfer function of converter output voltage to source current in proposed model; the line “” is represented transfer function of converter output voltage to load voltage in proposed model; the line “” is represented transfer function of converter output voltage to converter output current in proposed model; the line “” is represented transfer function of converter output voltage to load voltage in traditional model; the line “” is represented transfer function of converter output voltage to converter output current in traditional model.
From Figure 4 it is seen that the frequency characteristics of traditional simplified model are obviously different with proposed precise model, which means the traditional model cannot describe the system correctly. Thus it is necessary to establish a precise model for analyzing parameters and designing controller.
4.2. Impact of Grid Impedance
The Bode diagram of converter output voltage to source current “” in different grid inductive impedance is shown in Figure 5.
From Figure 5 it is seen that with the grid inductive impedance increasing the high frequency magnitude of decreases, and the resonant frequency also decreases.
The Bode diagram of converter output voltage to source current “” in different grid resistance is shown in Figure 6.
From Figure 6 it is seen that with the grid resistance increasing the steady magnitude of decreases, and the resonant quality factor decreases.
4.3. Comparison of Control Systems
In PI controller, the parameters are inner loop proportionality coefficient , integral coefficient , outer loop proportionality coefficient , and integral coefficient .
In FBLQSMC controller, the inner loop is based on equivalent input and QSMC input , the outer loop is based on PI controller, the proportionality coefficient , and integral coefficient .
Comparison of the step response performances is shown in Figure 7.
From Figure 7 it is known that in PI controller converges slowly. However, FBL controller responds quickly and converges fast.
In cos signal input, the responses of PI controller and FBL controller are shown in Figure 8.
From Figure 8 it is known that in PI controller the convergence time is more than a period. However, FBL controller responds quickly and converges fast.
5. Simulation Analysis
The simulations are in Matlab/Simulink; the simulation parameters are listed in Table 1. The load consists of both linear and nonlinear type. The system is analyzed for different operating conditions as discussed in the following cases.
5.1. Case 1: Load Change
Cutting down nonlinear load at s, the results in PI controller are shown in Figure 9, and the results in FBLQSMC controller are shown in Figure 10.
(a) Current results in load change
(b) Voltage results in load change
(a) Current results in load change
(b) Voltage results in load change
In Figure 9(a), the upper part is load current and source current, the total harmonic distortion (THD) of large load current is 16.25%, the THD of source current is 4.98%, the THD of small load current is 12.65%, and the THD of source current is 4.96%. When cutting down the nonlinear load, the THD of load current decreases obviously; however, the ratio frequency harmonic increases; thus the THD decreases a little. The load change means the active power change; thus there is an impulse to direct current error . In Figure 9(b), the load voltage increases when load power change is smaller, which is because the load current decreases and the voltage loss decreases. Also there is an impulse to DClink voltage.
In Figure 10(a), the upper part is load current and source current, the THD of load current is 16.37%, the THD of source current is 2.58%, the THD of load current is 12.74%, and the THD of source current is 2.55%. When cutting down the nonlinear load, the THD of load current decreases obviously; however, the ratio frequency harmonic increases; thus the THD decreases a little. There is an impulse to direct current error ; however, convergence is fast; in addition, the direct current error and quadrature current error are very small. In Figure 10(b), the load voltage increases when load power change is smaller. The DClink voltage is similar to PI controller, which is because the outer loops are both applying PI control.
5.2. Case 2: DCLink Voltage Change
The reference DClink voltage changes from 700 V to 680 V at s; the results in PI controller are shown in Figure 11; the results in FBLQSMC controller are shown in Figure 12.
(a) Current results in DClink voltage change
(b) Voltage results in DClink voltage change
(a) Current results in DClink voltage change
(b) Voltage results in DClink voltage change
In Figure 11(a), the upper part is load current and source current, the THD of load current is 16.24%, and the THD of source current is 5.01%. With DClink voltage decrease, the compensating current track ability decreases. The compensation harmonic increases more than frequency harmonic decrease; thus the THD increases. The DClink voltage decrease means exporting active power; thus the source current decreases; there is an impulse to direct current error . In Figure 11(b), the load voltage increases when DClink voltage decreases, which is because the source current decreases and the voltage loss decreases.
In Figure 12(a), the upper part is load current and source current, the THD of load current is 16.37%, and the THD of source current is 2.55%. With DClink voltage decrease, the compensating current track ability decreases, and the frequency harmonic decreases. The compensation harmonic increases less than frequency harmonic decrease; thus the THD decreases. There is an impulse to direct current error and converge fast. In addition, the direct current error and quadrature current error are very little. In Figure 12(b), the load voltage increases when DClink voltage change is smaller. The DClink voltage response is similar to PI controller which is because the outer loops are both applying PI control.
5.3. Case 3: Reactive Power Change
At s without reactive power compensation, the results in PI controller are shown in Figure 13; the results in FBLQSMC controller are shown in Figure 14.
(a) Current results in reactive power change
(b) Voltage results in reactive power change
(a) Current results in reactive power change
(b) Voltage results in reactive power change
In Figure 13(a), the upper part is load current and source current, the THD of load current is 16.24%, and the THD of source current is 4.95%. Without reactive power compensation the compensating current decreases, which can improve the harmonic current tracking ability; thus the THD decreases. Without reactive power compensation the source current’s power angle is equal to the load current’s, and there is an impulse to quadrature current error . In Figure 13(b), the change of reactive power produces a little impact on the load voltage and no impact on DClink voltage.
In Figure 14(a), the upper part is load current and source current, the THD of load current is 16.37%, and the THD of source current is 2.46%. Without reactive power compensation, there is an impulse to quadrature current. The tracking current error is obviously smaller than in PI controller. In Figure 14(b), with the reactive power change there is little impact on load voltage and no impact on DClink voltage.
6. Conclusion
The Bode diagram of traditional simplified model is obviously different with complete model, which means the descriptions of the system based on the traditional simplified model are inaccurate and incomplete. Thus, it is necessary to popularize complete model of APF. The proposed feedback linearization and quasisliding mode control algorithm has fast response and robustness; the compensation performance is superior to PI control obviously. The simulation results proved that the complete modeling and proposed control algorithm are correct.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
Acknowledgments
This work is supported by the project of “National Natural Science Foundation of China (51577074)” and “Science and Technology Project of China South Grid Corp (GDKJXM00000015).”
References
 W. U. Tareen, S. Mekhilef, M. Seyedmahmoudian, and B. Horan, “Active power filter (APF) for mitigation of power quality issues in grid integration of wind and photovoltaic energy conversion system,” Renewable & Sustainable Energy Reviews, vol. 70, pp. 635–655, 2017. View at: Publisher Site  Google Scholar
 M. Huang, X. Wang, P. C. Loh, and F. Blaabjerg, “LLCLfiltered grid converter with improved stability and robustness,” IEEE Transactions on Power Electronics, vol. 31, no. 5, pp. 3958–3967, 2016. View at: Publisher Site  Google Scholar
 X. Fu and S. Li, “A novel neural network vector control for singlephase gridconnected converters with L, LC and LCL filters,” Energies, vol. 9, no. 5, article no. 328, 2016. View at: Publisher Site  Google Scholar
 H. Li, J. Zhao, and X. Yang, “Mathematical model of gridconnected inverter system in weak grid,” IEEE Electronics Letters, vol. 51, no. 23, pp. 1922–1924, 2015. View at: Publisher Site  Google Scholar
 X. Bao, F. Zhuo, Y. Tian, and P. Tan, “Simplified feedback linearization control of threephase photovoltaic inverter with an LCL filter,” IEEE Transactions on Power Electronics, vol. 28, no. 6, pp. 2739–2752, 2013. View at: Publisher Site  Google Scholar
 X. Lu, Y. Xie, and L. Chen, “Feedback linearization and sliding mode control for VIENNA rectifier based on differential geometry theory,” Mathematical Problems in Engineering, vol. 2015, Article ID 573016, 2015. View at: Publisher Site  Google Scholar
 S. R. Mohapatra, P. K. Ray, and G. H. Beng, “A partial feedback linearization based control design and simulation for three phase shunt active power filter,” Measurement, vol. 91, pp. 288–294, 2016. 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
 Z. Wang, Y. Mao, Z. Hu, and Y. Xie, “A sliding mode control design based on the reaching law for matrix rectifiers,” Journal of Power Electronics, vol. 16, no. 3, pp. 1122–1130, 2016. View at: Publisher Site  Google Scholar
 M. P. Aghababa and M. E. Akbari, “A chatteringfree robust adaptive sliding mode controller for synchronization of two different chaotic systems with unknown uncertainties and external disturbances,” Applied Mathematics and Computation, vol. 218, no. 9, pp. 5757–5768, 2012. View at: Publisher Site  Google Scholar  MathSciNet
 M. Kale, M. Karabacak, W. Kruschel, F. Kilic, and P. Zacharias, “Chattering free robust control of LCL filter based shunt active power filter using adaptive second order sliding mode and resonant controllers,” International Journal of Electrical Power & Energy Systems, vol. 76, pp. 174–184, 2016. View at: Publisher Site  Google Scholar
 Y. Wang, Y. Xie, and Z. Wang, “Linear quadratic regulator control of LC active power filter without reference current detection,” IEICE Electronics Express, vol. 14, no. 18, pp. 1–12, 2017. View at: Google Scholar
 C.S. Wang and M.H. Chiang, “A novel pitch control system of a large wind turbine using twodegreeoffreedom motion control with feedback linearization control,” Energies, vol. 9, no. 10, article no. 791, 2016. View at: Publisher Site  Google Scholar
 I. M. Boiko, “Chattering in sliding mode control systems with boundary layer approximation of discontinuous control,” International Journal of Systems Science, vol. 44, no. 6, pp. 1126–1133, 2013. View at: Publisher Site  Google Scholar
 H. Li, K. Zhang, and H. Zhao, “DClink active power filter for highpower singlephase PWM converters,” Journal of Power Electronics, vol. 12, no. 3, pp. 458–467, 2012. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2017 Zeyu Shi 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.