Table of Contents Author Guidelines Submit a Manuscript
Mathematical Problems in Engineering
Volume 2016 (2016), Article ID 9724917, 9 pages
Research Article

A Hybrid Wavelet Fuzzy Neural Network and Switching Particle Swarm Optimization Algorithm for AC Servo System

Department of Mechanical Engineering, Nanjing University of Science and Technology, Nanjing 210094, China

Received 6 May 2016; Revised 4 October 2016; Accepted 3 November 2016

Academic Editor: Andrea L. Facci

Copyright © 2016 Run-min 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.


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 high-power 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 back-propagation 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 steady-state 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 steady-state performance, but also a high dynamic performance. As a controlled object, the dynamic mathematical model of a high-power 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 real-time tasks. Fuzzy logic uses human-like 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 self-learning 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 feed-forward 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) [1114]. In WFNN, each fuzzy rule corresponds to sub-WNN, 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 high-power 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.

Figure 1: The diagram of the AC servo system.

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 counter-electromotive force of motor armature; is the counter-electromotive 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 sub-WNN and are shown in Figure 2.

Figure 2: Structure of proposed WFNN.

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 sub-WNN 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 real-time 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 real-time 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

Figure 3: AC servo system using the proposed WFNN with SPSO.

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 mode-dependent 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 jumping-out, 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.

Figure 4: Flowchart of using the SPSO algorithm to optimize the parameters of WFNN.
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 59. 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/sub-WNN 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.

Table 1: The main parameters of AC servo system.
Figure 5: The moment of inertia changes step response curve.
Figure 6: Step response curve of load disturbance.
Figure 7: System dynamic response curves.
Figure 8: Error tracking system dynamic response curves.
Figure 9: Various learning rates.

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 anti-interference 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 test-bed structure diagram and object diagram are shown in Figures 10 and 11, respectively.

Figure 10: Schematic of the semiphysical simulation platform.
Figure 11: Photograph of the semiphysical simulation platform.

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.

Figure 12: Sinusoidal tracking curves.

By comparison, the WFNN with SPSO control system has a better dynamic performance and steady-state 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 steady-state 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.


  1. 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 · View at Google Scholar · View at Scopus
  2. 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 · View at Google Scholar · View at Scopus
  3. Q. Gao, Y. Jin, Y.-L. Hou, and L.-J. Ji, “Modeling and control for mine sweeping plough electro-hydraulic servo system of certain mine-clearing vehicle,” Journal of Nanjing University of Science and Technology, vol. 36, no. 2, pp. 238–244, 2012. View at Google Scholar · View at Scopus
  4. 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 Scopus
  5. 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
  6. 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 · View at Google Scholar
  7. D.-W. Ding, X. Li, Y. Yin, and X.-P. Xie, “Further studies on relaxed stabilization conditions for discrete-time two-dimension Takagi-Sugeno fuzzy systems,” Information Sciences, vol. 189, pp. 143–154, 2012. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  8. J. Dong, Y. Wang, and G.-H. Yang, “Output feedback fuzzy controller design with local nonlinear feedback laws for discrete-time nonlinear systems,” IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics, vol. 40, no. 6, pp. 1447–1459, 2010. View at Publisher · View at Google Scholar · View at Scopus
  9. H. K. Lam and J. Lauber, “Membership-function-dependent stability analysis of fuzzy-model-based control systems using fuzzy Lyapunov functions,” Information Sciences, vol. 232, pp. 253–266, 2013. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  10. 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.
  11. 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 · View at Google Scholar · View at Scopus
  12. 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 · View at Google Scholar · View at Scopus
  13. 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 · View at Google Scholar · View at Scopus
  14. 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 · View at Google Scholar · View at MathSciNet · View at Scopus
  15. 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 · View at Google Scholar · View at Scopus
  16. J. B. Oliveira, J. Boaventura Cunha, and P. B. Moura Oliveira, “A swarm intelligence-based tuning method for the sliding mode generalized predictive control,” ISA Transactions, vol. 53, pp. 1501–1515, 2014. View at Google Scholar
  17. 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 · View at Google Scholar · View at Scopus
  18. 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 · View at Google Scholar · View at Scopus
  19. Q. Gao, Z. Sun, G. Yang, R. Hou, L. Wang, and Y. Hou, “A novel active disturbance rejection-based control strategy for a gun control system,” Journal of Mechanical Science and Technology, vol. 26, no. 12, pp. 4141–4148, 2012. View at Publisher · View at Google Scholar · View at Scopus
  20. 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 · View at Scopus
  21. R. M. Hou, R. Z. Liu, Y. L. Hou, and Q. Gao, “High-power 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
  22. S. Ganjefar and M. Alizadeh, “Inter-area oscillations damping by multi-objective wavelet neural inverse controlled SSSC,” International Review of Electrical Engineering, vol. 7, no. 2, pp. 4000–4012, 2012. View at Google Scholar · View at Scopus
  23. 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 · View at Google Scholar · View at Scopus
  24. Y. Tang, J.-A. Fang, and Q. Miao, “On the exponential synchronization of stochastic jumping chaotic neural networks with mixed delays and sector-bounded non-linearities,” Neurocomputing, vol. 72, no. 7–9, pp. 1694–1701, 2009. View at Publisher · View at Google Scholar · View at Scopus