Research Article  Open Access
Runmin Hou, Yuanlong Hou, Chao Wang, Qiang Gao, Hao Sun, "A Hybrid Wavelet Fuzzy Neural Network and Switching Particle Swarm Optimization Algorithm for AC Servo System", Mathematical Problems in Engineering, vol. 2016, Article ID 9724917, 9 pages, 2016. https://doi.org/10.1155/2016/9724917
A Hybrid Wavelet Fuzzy Neural Network and Switching Particle Swarm Optimization Algorithm for AC Servo System
Abstract
A hybrid computational intelligent approach which combines wavelet fuzzy neural network (WFNN) with switching particle swarm optimization (SPSO) algorithm is proposed to control the nonlinearity, wide variation in loads, time variation, and uncertain disturbance of the highpower AC servo system. The WFNN method integrated wavelet transforms with fuzzy rules and is proposed to achieve precise positioning control of the AC servo system. As the WFNN controller, the backpropagation method is used for the online learning algorithm. Moreover, the SPSO is proposed to adapt the learning rates of the WFNN online, where the velocity updating equation is according to a Markov chain, which makes it easy to jump the local minimum, and acceleration coefficients are dependent on mode switching. Furthermore, the stability of the closed loop system is guaranteed by using the Lyapunov method. The results of the simulation and the prototype test prove that the proposed approach can improve the steadystate performance and possess strong robustness to both parameter perturbation and load disturbance.
1. Introduction
In the recent years, with the advancement of technology, AC servo system has been widely used. As a servo drive system, it needs not only a good steadystate performance, but also a high dynamic performance. As a controlled object, the dynamic mathematical model of a highpower AC motor is a complex system, which is characterized by heavy varying load, slow time variation, nonlinearity, and uncertain disturbance. Traditional control algorithm adopts PID control, easily influenced by the model of nonlinear characteristics and the parameters such as the uncertainty of dynamic response and the unbalance of antidisturbance ability, which may deteriorate the system control performance. Thus, the practical intelligent control strategy has become a focus in the field of servo system control [1].
As neural networks may approach any nonlinear function, they have already been widely utilized in the modeling of nonlinear systems and have advantages of easy realization and learning capability [2, 3]. Some scholars [4, 5] construct the motor servo system model by using neural network and obtain the conclusion that the application accuracy of the neural network in the identification of nonlinear systems is higher than that of the linear system. However, in the neural network, the sigmoid function is used as the activation function of BP neural network, which leads to the result that the BP neural network is easy to get into local minimum, slow convergence speed, and difficult to understand the mapping rules which make it impossible to be used in realtime tasks. Fuzzy logic uses humanlike reasoning and expert knowledge to model complex and uncertain systems [6, 7]. Some researchers have proposed various structures for modeling and controlling of nonlinear systems [8, 9]. Reference [10] uses fuzzy control and has the ability to deal with the uncertainty of selflearning ability of the neural network by combining fuzzy neural network and its application in the controller of a servo motor, which effectively improves the robustness of the system and does not require accurate mathematical model of the controlled object. The main features are as follows: (1) the use of fuzzy neural network tuning fuzzy membership functions; (2) the inference rules of logic systems; (3) the use of construction in the form of inference rules propagation network structure to realize the benefits of functional complementarily. However, in the common conditions, these parameters learning algorithm require presetting fuzzy system topology.
As an alternative, wavelet neural network is a feedforward network based on wavelet analysis, effectively combining the structural model of neural network, and the determination of the entire network structure has a reliable theoretical basis and thereby avoids the blindness of the structural design. Many researchers have proposed wavelet fuzzy neural network (WFNN) combining wavelet theory with fuzzy neural network (FNN) [11–14]. In WFNN, each fuzzy rule corresponds to subWNN, and the approximation accuracy of the WFNN can be improved greatly by learning the setting parameters of wavelet and fuzzy [15]. Although the WNN has been successfully applied in nonlinear system, some challenging issues still exist, such as how to optimize the structure of WNN.
Particle swarm optimization (PSO) algorithm is a global optimization algorithm, through collaboration and competition between individuals to find the optimal solution, and particle swarm optimization search process is started from the entire group, with the implicit parallel search features to improve the performance of the algorithm [16]. However, the PSO algorithm has some disadvantages such as easily falling into local minima and slow convergence speed. In order to overcome these drawbacks, a new SPSO algorithm is proposed to train the FWNN in this paper. The SPSO algorithm [17, 18] has been using velocity updating equation with Markovian switching parameters to overcome the contradiction between the local search and the global search. The proposed SPSO algorithm can not only avoid the local search stagnating in a local area but also lead the swarm to move to a more potential area quickly. Therefore, the SPSO algorithm can greatly improve the ability of WNN and global search.
In this study, in order to achieve control over the highpower AC servo system, a WFNN is applied to build the intelligent model and control for this system, which is trained by means of learning rate with using SPSO algorithm. The convergence rate is greatly accelerated, and the local optimum is avoided. Finally, simulation results illustrating the validity and advantages of the proposed WFNN for the AC servo control system are discussed.
This paper is organized as follows. In Section 2, the servo system is being analyzed. The structure of the fuzzy wavelet neural network (FWNN) and the structure learning and parameter learning algorithms are introduced in Sections 3 and 4. In addition, the design procedures, adaptive learning algorithms, and the stability analysis of the proposed FWNN controller are also described in detail in Section 4. Simulation results are discussed in Sections 5 and 6; last part gives the conclusion of this paper.
2. Modeling AC Servo System
The control structure chart of an AC servo system is presented in Figure 1. Due to the nonlinearity of the motor itself, the nonlinear phase comparison brought by the system load changes is very small, so the derivation of the model makes some assumptions [19]: (a) no saturation effect; (b) motor evenly distributed air gap and magnetic induction EMF sinusoidal shape; (c) excluding the hysteresis and eddy current loss; (d) no rotor excitation winding.
In Figure 1, the dotted line is the control schematic of an AC speed control system; is the target position; is the actual target position, respectively. In addition, is the control voltage; is the amplifier gain; is the loop resistance of motor armature; is the loop inductance of motor armature; is the motor torque coefficient; is the motor electromagnetic torque; is the counterelectromotive force of motor armature; is the counterelectromotive force coefficient of motor; is the load disturbance torque; is the friction torque disturbance; is the total inertia moment converted to the rotor; is the viscous friction coefficient; is the angular velocity of motor; is the reduction ratio.
Generally, the current time constant in the motor is much smaller than the mechanical time constant, so the delay time of current response can be ignored [20, 21]
The electromagnetic torque of motor is
The torque balance equation can be shown as
Putting (2) into (3), (3) can be rewritten as
Multiplying both sides of (4) by , it can be shown as
Set state variable , and , and then the state space equation of the speed control system iswhere ; ; ; and , is a constant.
The system rotational inertia , the viscous friction coefficient , the load disturbance torque , and the friction torque disturbance change when the work condition changes. That is to say, , , and are all nonlinear functions.
3. Wavelet Fuzzy Neural Network Controller
Fuzzy wavelet neural network is made up of multiresolution of wavelet variation and traditional TSK fuzzy system. In fuzzy wavelet network, each fuzzy rule corresponds to given wavelet scale values of wavelet neural network [11]. The structures integrate into subWNN and are shown in Figure 2.
The fuzzy rule of the proposed WFNN can be presented as follows.
: if is , is , and is , thenwhere is the fuzzy rule ; is the membership function for the fuzzy set of Gaussian function, which can be expressed as follows: where is the input of ; . And a membership function is defined by a center and a width .
For the consequent part, the output of subWNN is shown aswhere are the wavelet weights and are multidimensional wavelets which are generated from the mother wavelet function:where , represents the output, represents the shift factor, represents the spreading factor, and , , respectively, represent the th wavelet of the th input item.
Using product rule and defuzzification, the output of the whole proposed WFNN structure is given bywhere , , and .
In order to make the system convergence faster and avoid the local optimum problem, the BP algorithm is used for realtime training. The energy function is defined as
In order to facilitate training WNN controller parameters, set vector aswhere , , , and .
Use an adaptive learning rate BP algorithm for any parameter vector for realtime training, which can be expressed aswhere is learning rate of WFNN controller parameters and is expressed as
For any system parameter vector of gradient performance is expressed as where can be shown as [22]
Since the accuracy requirements within the scope of the error between the network identification output and the actual output of the controlled object in the offline training and learning, it can be considered that the actual output is replaced approximately by the identification output, which may not greatly affect the control performance. Then the controlled object gradient information of the learning algorithm of the WFNN controller was replaced by using the training algorithm of WFNN identification output [23].
4. Training Algorithm and Stability Analysis
4.1. A Novel Switching PSO
To improve the online learning capability of the proposed WFNN, the SPSO algorithm is adopted in this section to adapt the learning rates. The configuration of the proposed WFNN controller with SPSO is shown in Figure 3. A velocity updated equation with Markovian switching parameters is proposed to overcome the contradiction between the local search and global search. Markov chain is a very useful and important tool in control system [24]. At each step, the Markov process changes its state according to a certain probability distribution. The distribution properties can be described by evolutionary factor. This method can show the distance between the global best particle and other particles in the swarm. And it can be shown as follows:where and are the populations size and the dimensions, respectively. is the th value of the th particle, and is the th value of the average point in the whole swarm that can be shown as
Due to the disadvantages of the classification PSO method (e.g., the swarm will be stagnated in local optimum if the current global best particle is a local optimum away from swarm), this will be reducing the convergence speed. Thus, a velocity updating equation with Markovian switching parameters to overcome this shortcoming and improve the search abilities is introduced in this section. The velocity and position updating equations with Markovian switching parameters are shown in the following equations:where and are the acceleration coefficients. All of them are modedependent on a Markov chain. Let be a Markov chain taking values in the finite state space with probability transition matrix shown aswhere is the transition rate from to and ; , , , and represent the states of convergence, exploration, exploitation, and jumpingout, respectively. The equations of classification and probability transition matrix are shown as follows [17]:where is equal to 0.9 in the evolutionary process for keeping the classification accuracy as well as the search diversity; is evolution factor which is written aswhere represents the globally best particle in ; and show the maximum and minimum distance in , respectively.
The inertia weight is employed to balance the global and local search abilities. Thus, the inertia weight is defined as
The inertia weight is monotonic with which makes adaptive to the search environment. Thus, the inertia weight is chosen as 0.9 in this paper. The flow chart of using the SPSO algorithm to optimize the parameters of WFNN is shown in Figure 4.
4.2. A Novel Stability Analysis
The Lyapunov function was used to judge the stability of the system. Define Lyapunov function:where .where . can be expanded by using Taylor formula:wherewhere .
can be written by (29) and (28) as
Putting (30) into (27), can be rewritten aswhere
When , (32) can be rewritten as
Thus, according to the Lyapunov stability theory, when , ; that it to say, the output of the system can gradually track command signal and stability.
5. Simulation Result and Analysis
Because the moment of inertia will change greatly under different loading conditions and a large load variation and impact will occur in the rotating part when the weapon is launched, that make the traditional control method difficult to precise control system. Thus, a WFNN is applied to build the intelligent model and control for this system, which is introduced by previous section; moreover, adaptive parameters are trained by means of learning rate with using SPSO algorithm.
In order to verify the performance of the proposed fuzzy wavelet neural network controller, the adaptive fuzzy wavelet neural network (AWFNN) mode controller is compared. The simulation results are shown in Figures 5–9. In the figures, the black line 3 is the target output and black dotted line 1 is a wavelet fuzzy neural network with SPSO; and adaptive fuzzy wavelet neural network is shown by red dotted line 2. The main parameters of AC servo system are shown in Table 1. According to the dilation parameters of the select wavelets, five rules/subWNN are chosen for constructing each network. According to dilation parameters of selected wavelets, the proposed controller which is used contains 10 fuzzy rules with 10 membership functions which are assigned for each input variable.

Figure 5 for the moment of inertia is a variation of the initial value to 2 times the position of the response curve. When the moment of inertia changes, using adaptive wavelet fuzzy control, the system generates overshoot and needs 2.58 s to reach the target. But, using wavelet fuzzy neural network with SPSO control, the system reaches a steady state and only needs 1.67 s and no overshoot generated. Thus, by contrast it shows that using wavelet fuzzy neural network with SPSO control mode can better suppress the perturbation changes.
Figure 6 shows the position response curve added with a 450 Nm step disturbance at 4 s. As can be seen from the figure, when the load disturbance occurs, the location of the response using the algorithm of AWFNN control shows large deviation, and it needs 0.82 s to recover the reference position; however, using WFNN with SPSO control algorithm, the system has better suppression performance of load disturbance, and the system offset is 0.035 degrees, and it only needs 0.1 second to reach the target position.
Figure 7 is a dynamic system to track the location of random interference, when added to the response curve; it can be seen that, when using AWFNN control, the system has been shifted up and down at the target position; however, using WFNN with SPSO control, the system did not produce offset. Thus, the WFNN with SPSO method has a strong antiinterference ability and good dynamic performance. Figure 8 is a dynamic system step response curve tracking error. It shows that when the system parameters are uncertain and external disturbances appear, the WFNN with SPSO controller can enable the tracking servo system to rapidly reach the given position signals and suppress the system impact of various uncertainties by introducing more efficient robust control. In other words, the accuracy and robustness of the system are improved.
In addition, SPSO can be used to adapt the learning rates online, which can be observed obviously as shown in Figure 9, where, line 1, line 2, line 3, line 4, and line 5 represent ; ; ; ; and , respectively.
6. Semiphysical Simulation Test
To investigate the efficiency of the proposed WFNN with SPSO control as a strategy in establishing AC servo system, a semiphysical simulation platform is constructed to simulate the working conditions of the servo control system. The test results were compared to verify the performance of the controller in this paper superiority. The semiphysical simulation testbed structure diagram and object diagram are shown in Figures 10 and 11, respectively.
Based on the components shown in Figure 10, the platform consists of seven parts, including the control computer, the sensor system for measurement, the power amplifier (PA), the precision reduction gearbox (PRG), the loading fixture (LF), the actuating motor (AM), and the test bed. The loading fixture, which consists of the rotational inertia plate (RIP) and the magnetic powder brake (MPB), is employed for the simulation of the rotational inertia, the load torque, and the frictional resistance moment. The rotational inertia variations in the loads are well simulated by changing the RIP. Similarly, the variations in the load torque and the frictional resistance moment are also well simulated by controlling the output torque of the MPB.
To investigate the tracking accuracy of the servo system with WFNN with SPSO control system, sinusoidal command tracking with an angle frequency of 16.7 rad/s and amplitude of 100 degree is conducted on the semiphysical simulation platform. The corresponding tracking curves of both the WFNN with SPSO and AWFNN control systems are illustrated in Figure 12.
By comparison, the WFNN with SPSO control system has a better dynamic performance and steadystate performance than the AWFNN control, and it can effectively increase the stability and speed of the system.
7. Conclusion
This study has demonstrated the validity of the proposed WFNN controller with SPSO for the position control of an AC servo system. First, the modeling of the AC servo system was introduced. Then, the network structure and learning algorithm of the proposed WFNN controller were introduced in detail. Moreover, the SPSO algorithm has been adopted to adapt the learning rates online. Finally, the control performances of the AWFNN controller and proposed WFNN controller with SPSO have been compared by simulations and prototype test. From the simulation and prototype test results, the scheme of system uncertainties and external disturbance has strong robustness and good dynamic steadystate response performance. Therefore, the proposed WFNN controller with SPSO can control the AC servo system effectively.
Competing Interests
The authors declare that they have no competing interests.
References
 M. R. Banaei and A. Kami, “Interline power flow controller (IPFC) based damping recurrent neural network controllers for enhancing stability,” Energy Conversion and Management, vol. 52, no. 7, pp. 2629–2636, 2011. View at: Publisher Site  Google Scholar
 R.C. Hwang, Y.J. Chen, and H.C. Huang, “Artificial intelligent analyzer for mechanical properties of rolled steel bar by using neural networks,” Expert Systems with Applications, vol. 37, no. 4, pp. 3136–3139, 2010. View at: Publisher Site  Google Scholar
 Q. Gao, Y. Jin, Y.L. Hou, and L.J. Ji, “Modeling and control for mine sweeping plough electrohydraulic servo system of certain mineclearing vehicle,” Journal of Nanjing University of Science and Technology, vol. 36, no. 2, pp. 238–244, 2012. View at: Google Scholar
 Z. D. Qi, X. J. Zhu, and G. Y. Cao, “Neural networks modeling of MCFC system and fuzzy control research based on FGA,” in Proceedings of the 5th World Congress on Intelligent Control and Automation (WCICA '04), pp. 2486–2490, Hangzhou, China, June 2004. View at: Google Scholar
 Z. D. Qi, X. J. Zhu, and G. Y. Cao, “Voltage model of DMFC based on neural networks identification,” Computer Simulation, vol. 22, no. 5, pp. 92–94, 2005. View at: Google Scholar
 A. Sala, G. T. Marie, and R. Babuka, “Perspectives of fuzzy systems and control,” Fuzzy Sets and Systems, vol. 156, no. 3, pp. 432–444, 2005. View at: Publisher Site  Google Scholar
 D.W. Ding, X. Li, Y. Yin, and X.P. Xie, “Further studies on relaxed stabilization conditions for discretetime twodimension TakagiSugeno fuzzy systems,” Information Sciences, vol. 189, pp. 143–154, 2012. View at: Publisher Site  Google Scholar  MathSciNet
 J. Dong, Y. Wang, and G.H. Yang, “Output feedback fuzzy controller design with local nonlinear feedback laws for discretetime nonlinear systems,” IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics, vol. 40, no. 6, pp. 1447–1459, 2010. View at: Publisher Site  Google Scholar
 H. K. Lam and J. Lauber, “Membershipfunctiondependent stability analysis of fuzzymodelbased control systems using fuzzy Lyapunov functions,” Information Sciences, vol. 232, pp. 253–266, 2013. View at: Publisher Site  Google Scholar  MathSciNet
 J. Wang and J. Xiao, “Constructing fuzzy wavelet network modeling,” in Proceedings of the International Conference on Intelligent Computing, pp. 169–172, Hefie, China, 2005. View at: Google Scholar
 M. K. Kahkeshi, F. Sheikholeslam, and M. Zekri, “Design of adaptive fuzzy wavelet neural sliding mode controller for uncertain nonlinear systems,” ISA Transactions, vol. 52, no. 3, pp. 342–350, 2013. View at: Publisher Site  Google Scholar
 R. H. Abiyev and O. Kaynak, “Fuzzy wavelet neural networks for identification and control of dynamic plants—a novel structure and a comparative study,” IEEE Transactions on Industrial Electronics, vol. 55, no. 8, pp. 3133–3140, 2008. View at: Publisher Site  Google Scholar
 R. Cheng and Y. Bai, “A novel approach to fuzzy wavelet neural network modeling and optimization,” International Journal of Electrical Power and Energy Systems, vol. 64, pp. 671–678, 2015. View at: Publisher Site  Google Scholar
 A. Ebadat, N. Noroozi, A. A. Safavi, and S. H. Mousavi, “New fuzzy wavelet network for modeling and control: the modeling approach,” Communications in Nonlinear Science and Numerical Simulation, vol. 16, no. 8, pp. 3385–3396, 2011. View at: Publisher Site  Google Scholar  MathSciNet
 M. Davanipoor, M. Zekri, and F. Sheikholeslam, “Fuzzy wavelet neural network with an accelerated hybrid learning algorithm,” IEEE Transactions on Fuzzy Systems, vol. 20, no. 3, pp. 463–470, 2012. View at: Publisher Site  Google Scholar
 J. B. Oliveira, J. Boaventura Cunha, and P. B. Moura Oliveira, “A swarm intelligencebased tuning method for the sliding mode generalized predictive control,” ISA Transactions, vol. 53, pp. 1501–1515, 2014. View at: Google Scholar
 Y. Tang, Z. Wang, and J.A. Fang, “Parameters identification of unknown delayed genetic regulatory networks by a switching particle swarm optimization algorithm,” Expert Systems with Applications, vol. 38, no. 3, pp. 2523–2535, 2011. View at: Publisher Site  Google Scholar
 N. Zeng, Z. Wang, Y. Li, M. Du, and X. Liu, “A hybrid EKF and switching PSO algorithm for joint state and parameter estimation of lateral flow immunoassay models,” IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 9, no. 2, pp. 321–329, 2012. View at: Publisher Site  Google Scholar
 Q. Gao, Z. Sun, G. Yang, R. Hou, L. Wang, and Y. Hou, “A novel active disturbance rejectionbased control strategy for a gun control system,” Journal of Mechanical Science and Technology, vol. 26, no. 12, pp. 4141–4148, 2012. View at: Publisher Site  Google Scholar
 Y.C. Zhu, D.W. Ma, Z.G. Li, and G.G. Le, “Optimal sliding mode servo control with integral term for rocket launcher,” Acta Armamentarii, vol. 28, no. 10, pp. 1272–1275, 2007. View at: Google Scholar
 R. M. Hou, R. Z. Liu, Y. L. Hou, and Q. Gao, “Highpower AC servo system identification research based on wavelet neural network,” Applied Mechanics and Materials, vol. 220–223, pp. 997–1002, 2012. View at: Google Scholar
 S. Ganjefar and M. Alizadeh, “Interarea oscillations damping by multiobjective wavelet neural inverse controlled SSSC,” International Review of Electrical Engineering, vol. 7, no. 2, pp. 4000–4012, 2012. View at: Google Scholar
 S. Yilmaz and Y. Oysal, “Fuzzy wavelet neural network models for prediction and identification of dynamical systems,” IEEE Transactions on Neural Networks, vol. 21, no. 10, pp. 1599–1609, 2010. View at: Publisher Site  Google Scholar
 Y. Tang, J.A. Fang, and Q. Miao, “On the exponential synchronization of stochastic jumping chaotic neural networks with mixed delays and sectorbounded nonlinearities,” Neurocomputing, vol. 72, no. 7–9, pp. 1694–1701, 2009. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2016 Runmin Hou 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.