- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Recently Accepted Articles ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Abstract and Applied Analysis
Volume 2014 (2014), Article ID 936868, 6 pages
Fuzzy Modeling and Control for a Class of Inverted Pendulum System
1College of Engineering, Bohai University, Jinzhou 121013, China
2Department of Engineering, Faculty of Engineering and Science, The University of Agder, 4898 Grimstad, Norway
Received 14 December 2013; Accepted 24 December 2013; Published 29 January 2014
Academic Editor: Ming Liu
Copyright © 2014 Liang Zhang 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.
Focusing on the issue of nonlinear stability control system about the single-stage inverted pendulum, the T-S fuzzy model is employed. Firstly, linear approximation method would be applied into fuzzy model for the single-stage inverted pendulum. At the same time, for some nonlinear terms which could not be dealt with via linear approximation method, this paper will adopt fan range method into fuzzy model. After the T-S fuzzy model, the PDC technology is utilized to design the fuzzy controller secondly. Numerical simulation results, obtained by Matlab, demonstrate the well-controlled effectiveness based on the proposed method for the model of T-S fuzzy system and fuzzy controller.
Traditional control theory has perfect control ability for explicitly controlled system, however, which is a little weak to describe too complex or difficult system accurately. Therefore, many researchers seek ways to resolve this problem; those researchers have also focused on fuzzy mathematics and applied it to control problems. Zadeh  created fuzzy mathematics on an uncertainty system of control which is great contribution. Since the 70s, some practical controllers appear in succession, so that we have a big step forward in the control field. A number of control design approaches using adaptive control [2–4], sliding mode control [5, 6], [7–9], optimal control [10–12], control based data driven [10, 13–15], and fuzzy control [16, 17]. The inverted pendulum system is controlled by the method of fuzzy control and realizes steady control. The inverted pendulum is a typical automatic control in the field of controlled object , which is multivariable and nonlinear and strong coupling characteristics, and so on. The inverted pendulum system reveals a natural unstable object, which can accomplish the stability and good performance by the control methods.
For the stability control of inverted pendulum system, the establishment of the model takes an important role. T-S fuzzy control  is the most popular one of the most promising methods based on modeling of fuzzy control research platform. At present, the T-S fuzzy control is one of the methods for nonlinear system control research , which is very popular. Based on T-S fuzzy model of inverted pendulum system modeling and control have a certain research. For inverted pendulum system based on T-S fuzzy mode, there are two methods : the first one is the fan of nonlinear method. Although this method has high precision in describing the nonlinear system, it obtains many fuzzy rules. Thus it brings to the controller design difficulty, especially for the nonlinear term system. The second one is linear approximation modeling method, the method at the expense of the modeling accuracy and less number of rules of T-S fuzzy model. Since the second method can obtain a simple T-S fuzzy model, so in the inverted pendulum system modeling it is widely applied, but there is a very important problem, which is that if for one type of inverted pendulum system it contains the approximate method to deal with the nonlinear term, then the fuzzy modeling becomes the key to study.
Based on the above analysis and discussion, this thesis will carry the fuzzy modeling and control on inverted pendulum system of complex nonlinear term. For this point, sector nonlinear and linear approximation method will be adopted in the T-S fuzzy modeling of some inverted pendulums and the design of fuzzy controller. The fuzzy modeling and control method can achieve the stability control of the single inverted pendulum system through the simulation.
2. Fuzzy Modeling for the Inverted Pendulum System
Assume that the car’s quality is , the pendulum’s quality is , the pendulum’s length is , the pendulum’s angle is at an instant (the angle between the pendulum rod and the vertical direction), the initial displacement is , m/s2 is the gravity constant, the level for control is forced acting on the car is , , and the inverted pendulum’s state space is as follows:where is , is , , and , .
When , the system is uncontrollable, so we take as the range. For this inverted pendulum system, T-S fuzzy model can be considered as follows: where is the state variables for the fuzzy system, is the fuzzy sets and where , , the input vector is , , are coefficient matrix for the system. The number of fuzzy rules for the system is .
The total fuzzy control system is as follows: where , and is denotes the membership degree, and where for . The and (2) will be as follows: where and .
There is an important nonlinear term in this inverted pendulum system, in other words , which should be paid more attention. The nonlinear term cannot be conducted through the linear approximation method on this inverted pendulum system. Thus, the thesis will combine the linear approximation method with the fan of nonlinear method to establish the fuzzy model. The process is as follows.(1)If is about , through approximate treatment the system with the linear approximation method, the fuzzy model of system can be obtained as follows:then (2)If is about , and consider the fan of nonlinear method, and , then Then (1)If is , through the linear approximation method and the fan of nonlinear method to approximate treatment, the fuzzy model of system can be obtained as follows: (2)If is , through the linear approximation method and the fan of nonlinear method to approximate treatment, the fuzzy model of system can be obtained as follows: Here define membership functions. For the part of linear approximation, the membership function is shown as Figure 1.
Rule 1: Consider
Rule 2: Consider Figure 2 is the membership function for the fan of nonlinear method. can be rewritten as , where and . The membership functions and will meet the equation .
In conclusion, the finally fuzzy model for the system will be shown as follows. Rule 1: if tends to , then . Rule 2: if tends to and takes the maximum value, then . Rule 3: if tends to and takes the minimum value, then .
The function and value of every parameter are shown in Table 1.
All the parameters defined in Table 1 are taken to account, then the system coefficient matrix can be obtained as follow The model rules can be represented as follows: For the T-S model of the control object, a parallel distributed compensation control scheme (PDC) is employed. And the regulations are described as follow: Here the fuzzy controller and the fuzzy system adopt the same fuzzy rule. The overall model for the fuzzy controller is as follows: The closed control system can be obtained by combining (2) and (4):
3. Based on Linear Matrix Inequalities (LMI) and the Matlab Simulation
Without the controller, the simulation output curves of the angular velocity and angular acceleration are shown in Figure 3.
Figure 3 shows that the inverted pendulum system is unstable without the controller.
In the following, by using the linear matrix inequalities technique , the fuzzy controller is designed.
Let us define the Lyapunov function as , , then the stable criterion of the system for (16) is as follows: Define ; we can obtain (18) by multiplying on both sides contemporary: After defining , the system stability discriminant conditions can be obtained. And this will guarantee a positive definite matrix and matrix can be searched, then the following matrix inequality can be established: where the stable controller will be obtained from (20): Through solving (19) by linear matrix inequality with LMI of Matlab , we can obtain Moreover, taking advantage of (20), the fuzzy controller gain will be obtained and shown as follows:
Put the controller gain into (16); design the simulation program in the simulink environment. Here the initial value is selected. The results of the fuzzy control simulation of the level single inverted pendulum system are shown in Figures 4, 5, and 6.
Simulation results show that the system responses converge to the equilibrium point, which indicates that the design of the controller is stable.
This thesis takes a class of an inverted pendulum system as the research object. The system fuzzy model was established by the methods that combining with the linearization approximation processing and fan-shaped interval, and then the fuzzy controller was designed. Matlab-Simulink software toolbox was employed to be on computer simulation. The results show that it achieved a stable control of the single-stage inverted pendulum system through fuzzy control method on the basis of this fuzzy model. This model has the advantages of less fuzzy rules, high precision, and simple structure. The research results can provide an effective way for the subsequent instability in other nonlinear system modeling and fuzzy control.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This work is supported by the National Nature Science Foundation of China under Grant (Project no. 61104071), by the Program for Liaoning Excellent Talents in University, China, under Grant (Project no. LJQ2012095), by the Open Program of the Key Laboratory of Manufacturing Industrial Integrated Automation, Shenyang University, China, under Grant (Project no. 1120211415), and Natural Science Foundation of Liaoning, China (Project no. 2013020044). The authors highly appreciate the above financial supports.
- L. A. Zadeh, “Fuzzy sets,” Information and Computation, vol. 8, pp. 338–353, 1965.
- B. Xiao, Q. Hu, and Y. Zhang, “Adaptive sliding mode fault tolerant attitude tracking control for flexible spacecraft under actuator saturation,” IEEE Transactions on Control Systems Technology, vol. 20, no. 6, pp. 1605–1612, 2012.
- B. Xiao, Q. Hu, and Y. Zhang, “Fault-tolerant attitude control for flexible spacecraft without angular velocity magnitude measurement,” Journal of Guidance, Control, and Dynamics, vol. 34, no. 5, pp. 1556–1561, 2011.
- Y. Zhao, W. Sun, and H. Gao, “Robust control synthesis for seat suspension systems with actuator saturation and time-varying input delay,” Journal of Sound and Vibration, vol. 329, no. 21, pp. 4335–4353, 2010.
- L. Wu, X. Su, and P. Shi, “Sliding mode control with bounded gain performance of Markovian jump singular time-delay systems,” Automatica, vol. 48, no. 8, pp. 1929–1933, 2012.
- Q. Hu, “Sliding mode maneuvering control and active vibration damping of three-axis stabilized flexible spacecraft with actuator dynamics,” Nonlinear Dynamics, vol. 52, no. 3, pp. 227–248, 2008.
- G. Pujol, “Reliable control of a class of uncertain interconnected systems: an LMI approach,” International Journal of Systems Science, vol. 40, no. 6, pp. 649–657, 2009.
- Q. Zheng and F. Wu, “Nonlinear control designs with axisymmetric spacecraft control,” Journal of Guidance, Control, and Dynamics, vol. 32, no. 3, pp. 850–859, 2009.
- W. Sun, H. Gao Sr., and O. Kaynak, “Finite frequency control for vehicle active suspension systems,” IEEE Transactions on Control Systems Technology, vol. 19, no. 2, pp. 416–422, 2011.
- S. Yin, H. Luo, and S. Ding, “Real-time implementation of fault-tolerant control systems with performance optimization,” IEEE Transactions on Industrial Electronics, vol. 61, no. 5, pp. 2402–2411, 2013.
- M. V. Levskii, “Optimal control of reorientation of a spacecraft using free trajectory method,” Cosmic Research, vol. 49, no. 2, pp. 131–149, 2011.
- E. M. Queen and L. Silverberg, “Optimal control of a rigid body with dissimilar actuators,” Journal of Guidance, Control, and Dynamics, vol. 19, no. 3, pp. 738–740, 1996.
- S. Yin, S. X. Ding, A. H. A. Sari, and H. Hao, “Data-driven monitoring for stochastic systems and its application on batch process,” International Journal of Systems Science, vol. 44, no. 7, pp. 1366–1376, 2013.
- S. Yin, S. X. Ding, A. Haghani, H. Hao, and P. Zhang, “A comparison study of basic data-driven fault diagnosis and process monitoring methods on the benchmark Tennessee Eastman process,” Journal of Process Control, vol. 22, no. 9, pp. 1567–1581, 2012.
- S. Yin, X. Yang, and H. R. Karimi, “Data-driven adaptive observer for fault diagnosis,” Mathematical Problems in Engineering, vol. 2012, Article ID 832836, 21 pages, 2012.
- S.-J. Dong, Y.-Z. Li, J. Wang, and J. Wang, “Fuzzy incremental control algorithm of loop heat pipe cooling system for spacecraft applications,” Computers & Mathematics with Applications, vol. 64, no. 5, pp. 877–886, 2012.
- Z. Gao, X. Shi, and S. X. Ding, “Fuzzy state/disturbance observer design for T-S fuzzy systems with application to sensor fault estimation,” IEEE Transactions on Systems, Man, and Cybernetics B, vol. 38, no. 3, pp. 875–880, 2008.
- S. Udomsin, “Inverted pendulum control,” KKU Engineering Journal, vol. 25, pp. 41–65, 2013.
- C.-H. Fang, Y.-S. Liu, S.-W. Kau, L. Hong, and C.-H. Lee, “A new LMI-based approach to relaxed quadratic stabilization of T-S fuzzy control systems,” IEEE Transactions on Fuzzy Systems, vol. 14, no. 3, pp. 386–397, 2006.
- H. O. Wang, K. Tanaka, and M. F. Griffin, “An approach to fuzzy control of nonlinear systems: stability and design issues,” IEEE Transactions on Fuzzy Systems, vol. 4, no. 1, pp. 14–23, 1996.
- H. O. Wang, K. Tanaka, and M. Griffin, “Parallel distributed compensation of nonlinear systems by Takagi-Sugeno fuzzy model,” in Proceedings of the International Joint Conference of the 4th IEEE International Conference on Fuzzy Systems and the 2nd International Fuzzy Engineering Symposium, vol. 2, pp. 531–538, March 1995.
- K. Tanaka, T. Ikeda, and H. O. Wang, “Fuzzy regulators and fuzzy observers: relaxed stability conditions and LMI-based designs,” IEEE Transactions on Fuzzy Systems, vol. 6, no. 2, pp. 250–265, 1998.
- S. Boyd, L. EI Ghaoul, E. Feron, and V. Balakrishnan, Linear Matrix Inequalities in System and Control Theory, vol. 15 of Studies in Applied Mathematics, Society for Industrial Mathematics, 1994.
- P. Gahinet, A. Nemirovski, A. J. Laub, and M. Chilali, LMI Control Toolbox, vol. 1 of User’s Guide Versión, Manuales de MATLAB, 1992.