Journal of Applied Mathematics

Volume 2013 (2013), Article ID 341831, 8 pages

http://dx.doi.org/10.1155/2013/341831

## Adaptive Neural Sliding Mode Control of Active Power Filter

Jiangsu Key Laboratory of Power Transmission and Distribution Equipment Technology, College of Computer and Information, Hohai University, Changzhou 213022, China

Received 10 January 2013; Revised 2 April 2013; Accepted 11 April 2013

Academic Editor: Michel Fliess

Copyright © 2013 Juntao Fei and Zhe Wang. 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.

#### Abstract

A radial basis function (RBF) neural network adaptive sliding mode control system is developed for the current compensation control of three-phase active power filter (APF). The advantages of the adaptive control, neural network control, and sliding mode control are combined together to achieve the control task; that is, the harmonic current of nonlinear load can be eliminated and the quality of power system can be well improved. Sliding surface coordinate function and sliding mode controller are used as input and output of the RBF neural network, respectively. The neural network control parameters are online adjusted through gradient method and Lyapunov theory. Simulation results demonstrate that the adaptive RBF sliding mode control can compensate harmonic current effectively and has strong robustness to disturbance signals.

#### 1. Introduction

Active power filters are commonly used to deal with the increasing harmonic current in electrical system nowadays, which can degrade the quality of power system. Since APF is a complicated nonlinear system, advanced controller can be utilized to control the APF. In order to improve the performance of APF, adaptive control, neural network control, fuzzy control, and sliding mode control have been proposed to control the APF. Kömürcügil and Kükrer [1] derived a new control strategy for single-phase shunt APF using a Lyapunov function. Rahmani et al. [2] presented an experimental design of a nonlinear control technique for three-phase shunt APF. Shyu et al. [3] proposed a model reference adaptive control analysis for a shunt APF system. Chang and Shee [4] investigated novel reference compensation current strategy for shunt APF control. Matas et al. [5] developed a feedback linearization way of a single-phase APF via sliding mode control. Valdez et al. [6] designed an adaptive controller for shunt active filter in the presence of a dynamic load and the line impedance. Marconi et al. [7] developed robust nonlinear controller to compensate harmonic current for shunt APF.

Since neural network has the capability to approximate any nonlinear function, the tracking control using neural network for nonlinear dynamic system has become a promising research topic. Man et al. [8] derived an adaptive back propagation (BP) neural network controller. Phooi and Ang [9] proposed adaptive RBF neural network training algorithm for nonlinear signal. Lewis et al. [10] designed neural network approaches for robot manipulator. Horng [11] proposed a neural adaptive tracking control of a direct current motor with unknown system nonlinearities where neural network approximation errors are compensated by using the sliding mode scheme. Huang et al. [12] developed a novel RBF sliding mode controller for a dynamic absorber by combining the advantages of the adaptive control, neural network and sliding mode control strategies; this method is well implemented on dynamic absorber, but it has not been implemented on three-phase active power filter before. Neural sliding mode control approaches have been developed for robot manipulators [13, 14]. In [13], self-recurrent wavelet neural networks are used instead of RBF neural networks. And in [14], sliding mode control method is not combined with RBF neural network. Bhattacharya and Chakraborty [15] proposed an ANN-based predictive and adaptive controller for shunt active power filter. Abdeslam et al. [16] designed a unified artificial neural network architecture for active power filters. Kandil et al. [17] developed a novel three-phase active filter based on neural networks and sliding mode control, but RBF neural network and Lyapunov stability analysis are not used in the paper. In our paper, we will design an adaptive controller for shunt active power filter by combining the advantages of adaptive control, RBF neural network, and sliding mode control strategies.

Neural network does not depend on mathematical models; sliding mode control has strong robustness. The motivation of this paper is to investigate the combination of adaptive control, neural network control and sliding mode control applied to APF based on Lyapunov analytical method. So it is necessary to combine the advantages of adaptive control, neural network control, and sliding mode control to improve the control performance of APF. In this paper, a Lyapunov adaptive sliding mode control method based on RBF neural network is presented to overcome the shortcomings of traditional methods. The key property of this method is that the weights of neural network can be online adjusted, and the asymptotical stability of the system can be guaranteed by Lyapunov stability theory. The contribution of this paper can be emphasized as follows.(1)The sliding mode technique has been combined with the adaptive control and neural network control to achieve the desired elimination of harmonic current in APF system. The performance of current tracking and total harmonic distortion (THD) can be improved effectively.(2)The adaptive RBF sliding mode controller does not rely on accurate mathematical model since it has the ability to approximate the nonlinear function of APF. The adaptive neural controller is used to model the relationship between the sliding surface and the control law.(3)The adaptive neural network sliding mode control is proposed to deal with nonlinear load in APF system and to improve the performance of current tracking. This is a successful example of using adaptive control, RBF neural network control, and sliding mode control with application to three-phase APF.

#### 2. Dynamics of Active Power Filter

The schematic diagram of the three-phase three-wire shunt active power filter is shown in Figure 1. In Figure 1, is line current, is nonlinear load current, is harmonic current, and is compensate current, is command current as the basis of compensate current.

The principle of shunt APF is as follows. First, the harmonic current is detected and sent to command current operation circuit, where command current is defined. Then, PWM signal is generated by tracking control circuit to control drive circuit. Last, compensation current is generated by main circuit and injected into the line to compensate the harmonic current; so the line current is forced to become sine waveform.

Based on Kirchhoff’s current law, we can get the circuit expressions as follows: where , , and are voltages of three-phase power system, is the resistance from power source to inductance on the AC side of APF, is the inductance on the AC side of APF, is the capacitors voltage on the DC side, is the sliding surface coordinate function to indicate the working state of IGBT. We define , it is equal to 1 when the switch is turn on, and it is equal to 0 when the switch is turn off. This is the mathematical model of shunt active power filter.

#### 3. Adaptive RBF Neural Sliding Control and Stability Analysis

In this section, an adaptive RBF neural network sliding mode controller is proposed. The sliding surface is the input of the RBF neural network, the sliding mode controller is the output of RBF neural network. A single input and a single output neural sliding mode control can be achieved by using the neural network learning function to approximate the sliding surface coordinate function of APF. The weights of the RBF neural network controller will be updated according to gradient method. The block diagram of the adaptive RBF sliding mode control is shown in Figure 2.

##### 3.1. Controller Design

Functions of (1) can be written in vector form as: where , .

Define compensation current and its derivative as follows: The derivative of and with respect to time becomes as follows: Define time-varying function as , constant function , sliding surface coordinate function , disturbance function . So, the dynamic model of this APF control system can be expressed as follows: Define tracking error of command current and compensation current as follows: The derivative of with respect to time becomes as follows: Define sliding surface as follows: where is positive constant.

The structure of RBF neural network is shown in Figure 3. As shown, , and are sliding surface of the three-phase used as inputs of RBF sliding controller; are Gaussian functions; are weights; is the output of RBF neural network used to approximate the sliding surface coordinate function of APF; is the number of hidden layer neuron.

Here an RBF neural network is used to model the relationship between the sliding surface and the control law. The output of RBF neural network can be expressed as follows: where is the centric vectors, is the base width of RBF neural network.

Based on Lyapunov stability theory, the reaching condition of the sliding surface is . Because the RBF neural network is used to approximate nonlinear mapping between the sliding surface and the output control, the weights of the RBF neural network should be adjusted based on the reaching condition. The weights are adjusted online according to gradient method to find the optimal weight, which can satisfy the reaching condition.

The adjustment indexes of the RBF is as follows: The adaptive law of the weight is as follows: where is the parameter of the adaptive law.

From the chain rule, the following property can be obtained: Substituting (12) into (11) yields the following: where .

The update equation of the weights can be expressed as follows: where is the parameter in the adjustment of the weights.

If the perfect control law exists, which makes the RBF sliding mode controller reach the best performance, at this moment APF system reaches the sliding surface; then the system gets to sliding mode motion.

If the time-varying function in (5) is known, we can get the perfect control law as follows: It can be proven that . Since and , the sliding surface will gradually converge to zero.

##### 3.2. Stability Analysis

In this paper, the RBF neural network is used to approximate the relationship between the sliding variable and the control law. The control law may have certain difference with the perfect control law .

From (5) and (15) we can get the following: Since RBF neural network can be used to approximate any nonlinear function, we make the following assumption:

*Assumption*. The optimal weight of the RBF neural network exists, which makes the control law approximate the perfect control law with an error smaller than as follows.
where , .

Then Define the weighting error as , where is the optimal weight and is the current estimated weight. Equation (18) can be written as follows: The Lyapunov function can be chosen as follows: The derivative of with respect to time becomes as follows: Substituting (19) into (21) yields the following: Choosing adaptive law as follows: Since , that is, it can be seen that adaptive law of RBF neural network’s weight corresponds to the weights equation (13) derived from gradient method.

Substituting (24) into (22) yields the following: If , then , so the Lyapunov stability can be satisfied, and the sliding surface will converge to zero. Therefore, we can get the conclusion that the proposed RBF sliding mode controller is stable and the tracking error converges into a small error bound.

#### 4. Simulation Study

In this section, simulation is implemented to investigate the proposed adaptive RBF sliding mode control towards shunt APF using Matlab/Simulink package with SimPower Toolbox. In the simulation, the controller starts to work from 0.05 second, and disturbance signal is introduced into the APF system at 0.12 second. The simulation parameters of the APF system are selected as follows.

Parameters in RBF neural network: The number of hidden layer neuron ; the centric vectors ; the base width ; parameters in gradient method: ; ; parameters in sliding mode control: . parameters in PI control of DC side voltage: ; ; other parameters of APF: inductance on the AC side mH; capacitor voltage on the DC side uF;

Figure 4 describes the wave graph of A phase current before and after controlling the APF. It can be seen from Figures 5 and 6 that A phase current contains numerous harmonic before 0.05 second, the total harmonic distortion (THD) is 24.71%. After 0.05 second, the proposed controller begins to work, the current wave can approximate to sine waveform in no more than 0.01 second. Moreover, disturbance signal is added to the APF system at 0.12 second, the negative effect of disturbance signal can be eliminated in no more than 0.01 second. Figure 7 draws the THD from 0.13 to 0.17 second, the THD is 2.85%. Figure 8 describes the graph of compensation current tracking command current. We can see that the compensation current can keep track of the command current before 0.06 second. Besides, the tracking performance is very good after the disturbance signal is added from 0.12 second. So harmonic current can be eliminated and line current is forced to sine wave form, and THD can be obviously reduced. Figure 9 describes the graph of voltage on the DC side tracking the reference voltage; PI controller can make the tracking performance very well. After the disturbance signal is added, the voltage on the DC side can track the reference voltage again in no more than 0.02 second and maintain in a relative stable state. Therefore, it can be concluded that APF can compensate the harmonic current effectively with the proposed adaptive RBF sliding mode controller, and the controller has strong robustness towards disturbance signals.

Figure 10 is the wave graph of the three-phase sliding surface , , and , before and after controlling the APF. As we can see, the sliding surface is reached after 0.05 second with the control of APF, whereas the sliding surface is not stable before 0.05 second. Thus, the sliding surfaces gradually converge to zero, and the APF system gets to sliding mode motion.

#### 5. Conclusions

An adaptive RBF neural sliding mode control method is proposed for three-phase active power filter. An RBF neural network control is used to adaptively approximate the nonlinear function of APF. The weights of the RBF neural network are adjusted according to gradient method. The sliding mode control is used to improve the robustness of the APF system. Simulation results demonstrate the good compensating performance of the harmonic current with the proposed adaptive RBF sliding mode controller.

#### 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 Fundamental Research Funds for the Central Universities under Grant no. 2612012B06714 and the Scientific Research Foundation of High-Level Innovation and Entrepreneurship Plan of Jiangsu Province.

#### References

- H. Kömürcügil and O. Kükrer, “A new control strategy for single-phase shunt active power filters using a Lyapunov function,”
*IEEE Transactions on Industrial Electronics*, vol. 53, no. 1, pp. 305–312, 2006. View at Publisher · View at Google Scholar · View at Scopus - S. Rahmani, N. Mendalek, and K. Haddad, “Experimental design of a nonlinear control technique for three-phase shunt active power filter,”
*IEEE Transactions on Industrial Electronics*, vol. 57, no. 10, pp. 3364–3375, 2010. View at Publisher · View at Google Scholar - K. K. Shyu, M. J. Yang, Y. M. Chen, and Y. F. Lin, “Model reference adaptive control design for a shunt active-power-filter system,”
*IEEE Transactions on Industrial Electronics*, vol. 55, no. 1, pp. 97–106, 2008. View at Publisher · View at Google Scholar · View at Scopus - 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 · View at Google Scholar · View at Scopus - J. Matas, L. G. Vicuna, J. Miret, J. M. Guerrero, and M. Castilla, “Feedback linearization of a single-phase active power filter via sliding mode control,”
*IEEE Transactions on Power Electronics*, vol. 23, no. 1, pp. 116–125, 2008. View at Publisher · View at Google Scholar · View at Scopus - 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 · View at Google Scholar · View at Scopus - 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 · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - Z. Man, H. R. Wu, S. Liu, and X. Yu, “A new adaptive backpropagation algorithm based on Lyapunov stability theory for neural networks,”
*IEEE Transactions on Neural Networks*, vol. 17, no. 6, pp. 1580–1591, 2006. View at Publisher · View at Google Scholar · View at Scopus - S. K. Phooi and L. M. Ang, “Adaptive RBF neural network training algorithm for nonlinear and nonstationary signal,” in
*Proceedings of the International Conference on Computational Intelligence and Security (ICCIAS '06)*, pp. 433–436, October 2006. View at Publisher · View at Google Scholar · View at Scopus - F. Lewis, S. Jagannathan, and A. Yesildirek,
*Neural Network Control of Robot Manipulators*, Taylor & Francis, Boca Raton, Fla, USA, 1999. - J. H. Horng, “Neural adaptive tracking control of a DC motor,”
*Information Sciences*, vol. 118, no. 1, pp. 1–13, 1999. View at Publisher · View at Google Scholar · View at Scopus - S. J. Huang, K. S. Huang, and K. C. Chiou, “Development and application of a novel radial basis function sliding mode controller,”
*Mechatronics*, vol. 13, no. 4, pp. 313–329, 2003. View at Publisher · View at Google Scholar · View at Scopus - B. S. Park, S. J. Yoo, J. B. Park, and Y. H. Choi, “Adaptive neural sliding mode control of nonholonomic wheeled mobile robots with model uncertainty,”
*IEEE Transactions on Control Systems Technology*, vol. 17, no. 1, pp. 207–214, 2009. View at Publisher · View at Google Scholar · View at Scopus - M. J. Lee and Y. K. Choi, “An adaptive neurocontroller using RBFN for robot manipulators,”
*IEEE Transactions on Industrial Electronics*, vol. 51, no. 3, pp. 711–717, 2004. View at Publisher · View at Google Scholar · View at Scopus - A. Bhattacharya and C. Chakraborty, “A shunt active power filter with enhanced performance using ANN-based predictive and adaptive controllers,”
*IEEE Transactions on Industrial Electronics*, vol. 58, no. 2, pp. 421–428, 2011. View at Publisher · View at Google Scholar · View at Scopus - D. O. Abdeslam, P. Wira, J. Mercklé, D. Flieller, and Y. A. Chapuis, “A unified artificial neural network architecture for active power filters,”
*IEEE Transactions on Industrial Electronics*, vol. 54, no. 1, pp. 61–76, 2007. View at Publisher · View at Google Scholar · View at Scopus - M. Kandil, S. Abdelkader, A. Elmitwally, and M. El-Kateb, “A Novel three-phase active filter based on neural networks and sliding mode control,” in
*Proceedings of the 25th Annual Conference of the IEEE Industrial Electronics Society (IECON'99)*, vol. 2, pp. 867–872, December 1999. View at Scopus