Abstract
This paper presents the application of multirate output feedback with discrete time sliding mode control (SMC) for controlling the inverted pendulum system. The SMC are well known as completely insensitive to parameter variations and external disturbance. Normally, in order to design controller, the state feedback from the entire state variable is utilized. However not all of the state feedbacks are always available. Therefore, the concept of the multirate output feedback (MROF) in which the output state that are always available at any situation is proposed. The nominal plant model for inverted pendulum system is fourth order with additional of external disturbance. Simulation results verify the proposed controller’s performance even though nonlinearity present in the inverted pendulum system.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Inverted pendulum system is known as unstable system, highly nonlinear and difficult to control. A lot of investigations have been delivered to control the problem of the inverted pendulum [1, 2]. Sliding Mode Control (SMC) was proposed in the 1960’s is a special nonlinear control strategy with discontinuous property [3]. The special feature of SMC is a switching control law is utilized to drive the state trajectory onto a selected sliding surface in the state space and stay on this sliding surface infinite time. Due to the above property, SMC is attractive to control many highly nonlinear uncertain systems [4–6]. Recently, due to widespread development of computer, the trend of controller has changed from continuous to discrete time as well as sliding mode control. Unlike the continuous time SMC, in discrete sliding mode control (DSMC) the state trajectory cannot stay on sliding surface and cross it in finite time. It will cross the surface again in the following sampling period and produce a zigzag motion called quasi sliding mode band [7]. The DSMC have many advantages compared to continuous SMC such as high accuracy, low power consumption and the others [8].
The state feedbacks are normally used to design control law in SMC. However in practical situation not all of the state always measurable. In this situation, an observer need to be designed where it will provide an estimation of state variable. [9]. However the used of observer makes the system more complex. The Multirate output feedback (MROF) method that only used the output samples to design the controller can be used in place of an observer. The concept of MROF is the control input and output of a system will be sampled at two different sampling rates. The control input is sampled at a slower rate, meanwhile the output is sampled at a faster rate [10]. Several nonlinear plant system such as Hydraulic Manipulator [11], Magnetic Levitation System [12] was controlled by MROF. In this paper, the main objective is to design the multirate output feedback based on discrete SMC and implemented the developed controller to inverted pendulum system to improve the system performance.
2 System Overview
An inverted pendulum system consists of a freely pivoted rod, mounted on a motor driven cart. The aim of this task is to move the cart to a desired position and at same time balancing the inverted pendulum to maintain at up-right position. The continuous time of inverted pendulum system with additional of external disturbance d(t) can be expressed as follow
where
where \(x_{c}\) is the cart position, \(\theta\) is the pendulum angle, \(\mathop {x_{c} }\limits^{ \bullet }\) is the cart velocity, \(\mathop \theta \limits^{ \bullet }\) is the pendulum angular velocity, M p is the pendulum mass, I p is the pendulum moment of inertia, B p is the viscous damping coefficient, \(B_{eq}\) is the equivalent viscous damping coefficient, l p is the pendulum length, M c is the cart mass and g is gravitational constant on earth.
3 Multirate Output Feedback
The Eq. (1) also can be rewrite as
The reference tracking, z(t) = r(t) − y(t) is added to the system. Then the continuous time of inverted pendulum system can be represented as
The system in Eq. (4) can be represented as follow
when the continuous time system in Eq. (5) is sampled at \(\tau = 0.004\;{\text{s}}\). The discrete time of the system is given as
where \(u(k) \in R,\;\Phi (k) \in R^{n \times n}\) and \(\Gamma (k) \in R^{n \times 1}\) Assume that the \((\Phi ,\,\Gamma )\) is controllable and \((\Phi, \,C)\) is observable. The past N multirate-sampled system outputs can be represented as
Then, system in Eq. (7) can be represented in faster sampling time \(\eta = 0.001\,{\text{s}}\) as
where \(C_{0} ,\,C_{u} ,\,C_{f}\), and \(C_{r}\), can be expressed as
Using Eqs. (8) and (9) the following equation is obtained
where \(\Psi =\left( {\left[ {\begin{array}{*{20}c} {C_{0} } & {C_{f} } \\ \end{array} } \right]^{ T} \left[ {\begin{array}{*{20}c} {C_{0} } & {C_{f} } \\ \end{array} } \right]} \right)^{ - 1}\left[ {\begin{array}{*{20}c} {C_{0} } & {C_{f} } \\ \end{array} } \right]^{ T}\)
Substitute Eq. (8) into Eq. (10),
Then state \(x(k + 1)\) can be represented
If \(Q = \left\lfloor {\begin{array}{*{20}c} {\Phi _{\eta } } & {F_{\eta } } \\ \end{array} } \right\rfloor\) then the state x(k) can be expressed using the output \(y_{k}\) as
In the case where the linear sliding surface is used, the forward linear surface σ (k + 1) can be expressed as
Since the value of \(f(k)\) is unknown, it will be replaced by estimated disturbance of \(\mathop f\limits^{\sim } (k) = f(k - 1)\). It can give the control input as
Then the control input can be expressed in MROF as
To ensure the system is in the stable condition, the \((\sigma (k + 1) - \sigma (k))\,{\text{sgn}}\,(\sigma (k)) < 0\) and \((\sigma (k + 1) + \sigma (k))\,{\text{sgn}}\,(\sigma (k)) > 0\) must be satisfied. Therefore, the range of M in Eq. (16) must be between 0 < M < 2.
4 Result and Discussion
The inverted pendulum system is fourth order system. Thus the observability index of the system is 4, hence the value of N is chosen as 4. In this work, the output is sampled at slow rate of τ = 0.004 s. The inverted pendulum system that discretized in fast sampling time with η = 0.001 s is shown as below
The MROF has been simulated to demonstrate the ability of cart system to move to desired position and at the same time maintain the inverted pendulum in upright position. The external disturbance is set to \(d(k) = 0.05\,\cos (2\pi kt/3)\). After 1 s the cart is force to move 0.02 m from its initial condition by following the desired input which is the unit step input. The switching surface is designed as \(G = \left[ {\begin{array}{*{20}c} { - 15.6} & { - 89} & {130} & { - 48.4564} & {20} \\ \end{array} } \right]\). Thus as comparison, the performance of the MROF is compared with the discrete linear quadratic regulator (DLQR). Thus, the designed gain for the discrete linear quadratic regulator controller are \(K = \left[ {\begin{array}{*{20}c} { - 43.1696} & {125.9181} & { - 40.3888} & {13.5309} \\ \end{array} } \right]\). Figure 1 shows the simulation result for cart position and angle of inverted pendulum system with MROF and DLQR controllers. Based on Fig. 1a, although all of the controllers are capable to control the cart position, but the output of each controller gave the different characteristic. Table 1 show the comparison data of both controllers. The output of controllers show that the MROF gives the faster settling time and lower overshoot as compared to DLQR controller. Mean while Fig. 2 shows the control input which is the input voltage of the system.
5 Conclusion
In this paper, MROF based DSMC is designed to control inverted system. The MROF is designed using the output feedback and can be used to place an observer. The designed controller is able to deal with existence of external disturbance in the system and guarantee the stability. Only by the usage of output state, the inverted pendulum can maintain at upright, tracked the desired position of cart motor and not depend on the state feedback. This study has shown that developed MROF provide a good pendulum system performance in particular yield solution to nonlinearities problems.
References
Saifizul AA, Zainon Z, Abu Osman NA, Azlan CA, Ungku Ibrahim UFS (2006) Intelligent control for self-erecting inverted pendulum via adaptive neuro-fuzzy inference. Am J Appl Sci 3(4):1795–1802
Izutsu M, Pan Y, Furuta K (2007) A swing-up/stabilization control by using nonlinear sliding mode for furuta pendulum. In: 16th IEEE international conference on control applications, pp 1191–1196
Young KD, Utkin VI, Ozguner U (1999) A control engineer’s guide to sliding mode control. IEEE Trans. Control Syst Technol 7(3):328–342
Khalid A, Jian X, Yu X (2007) On the discrete-time integral sliding-mode control. IEEE Trans Autom Control 52(4):719–725
Nai O, Christopher E, Sarah K (2006) Discrete output feedback sliding-mode control with integral action. Int J Rob Nonlinear, 21–43
Ngadengon R, Sam YM, Osman JHS, Tomari R (2015) Tracking with multirate output feedback (MROF) based discrete sliding mode control. ARPN J Eng Appl Sci 10(20):9902–9907
Weibing G, Yufu W, Abdollah H et al (1992) Discrete-time variable structure control systems. IEEE Trans Ind Electron 42(2):117–122
Bing W (2008) On descritization of sliding mode control systems. Ph.D. Thesis, RMIT
Beghi A, Nardo L, Stevanato M (2006) Observer-based discrete-time sliding mode throtle control for drive-by-wire operation of a racing motorcycle engine. IEEE Trans Act Control Syst Technolg 14(4):767–775
Bandyopadhyay B, Janardhanan S (2005) Discrete time sliding mode control: A multirate output feedback approach. Springer, Berlin
Waterman D, Nanomi K (2009) Multirate output feedback sliding mode control of a hydraulic manipulator. ICGST_ARAS J 9(1):41–49
Vitthal S, Pratik N (2010) Design of a discrete-time sliding mode controller for a magnetic levitation system using multirate output feedback. In: American control conference, pp 4289–4294
Acknowledgments
The authors would like to thank to Ministry of Education (MOE) and University Tun Hussein Onn Malaysia (UTHM) for supporting this research under Research Acculturation Grant Scheme (Vot. no R033) and Short Term Grant (Vot. no 1326).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer Science+Business Media Singapore
About this paper
Cite this paper
Ngadengon, R., Sam, Y.M., Osman, J.H.S., Tomari, R., Wan Zakaria, W.N. (2017). Stabilization of Inverted Pendulum: A Multirate Output Feedback Based Discrete Time Sliding Mode Control. In: Ibrahim, H., Iqbal, S., Teoh, S., Mustaffa, M. (eds) 9th International Conference on Robotic, Vision, Signal Processing and Power Applications. Lecture Notes in Electrical Engineering, vol 398. Springer, Singapore. https://doi.org/10.1007/978-981-10-1721-6_45
Download citation
DOI: https://doi.org/10.1007/978-981-10-1721-6_45
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-1719-3
Online ISBN: 978-981-10-1721-6
eBook Packages: EngineeringEngineering (R0)