Abstract
Conventional robotic wheelchairs (three or four-wheeled) which are statically stable are poor in mobility. Though a two-wheeled robotic wheelchair has better mobility, it is not statically stable and needs an active stability controller. In addition to mobility and stability, velocity control is also important for the operation of a wheelchair. Conventional stability and velocity controllers rely on the motion of the wheels and require high driving torque and power. In this paper, this problem is tackled by adding a compact pendulum-like movable mechanism whose main function is for stability control. Its motion and those of the wheels are controlled through a quasi-sliding mode control approach to achieve a simultaneous velocity and stability control with much less driving torque and power. Simulation results are presented to show the effectiveness of the proposed controller.
1. Introduction
Compared to conventional manually operated wheelchairs, motorized wheelchairs equipped with an automatic control system (so-called robotic wheelchairs) have many advantages. For example, they have better navigation capabilities and can respond to different motion requirements autonomously [1,2,3]. Most conventional robotic wheelchairs contain two active driving wheels and two passive casters [4]. Though casters enhance the stability of the wheelchair, they have a negative effect on its mobility [5,6,7]. To solve this problem, caster-free two-wheeled robotic wheelchair equipped with an active stability controller was proposed [8,9,10].
There are several types of two-wheeled wheelchairs with special features. The iBot has four wheels, but can be converted to a two-wheeled wheelchair by lifting up its two caster wheels [11,12,13]. The height of the rider seat increases as a result. A patented iBalanceTM technology, a synthesis of computers and gyroscope, is used to keep the wheelchair stable. A two-wheeled transportation vehicle called B2 has a self-balancing (stability) capability when it is subject to disturbances from the road. It is suitable for use on narrow roads as it can turn on the spot in a space much smaller than that needed by a conventional car [14,15].
Nonlinear controllers can be used for velocity and stability control of a two-wheeled wheelchair as its dynamic model is highly nonlinear [16]. One example is computed torque control based on nonlinear feedback and the assumption that the exact dynamic model of the system is known [17]. For the cases where the system dynamics cannot be accurately modelled, or there are external disturbances, which is robust against disturbances can be used [18,19]. Nonlinear control is developed based on the Hamilton–Jacobi–Bellman–Isaacs (HJBI) equation which is hard to solve in real-time though [20].
Another type of robust controller is sliding mode control (SMC) which has an elegant structure and is effective in disturbance rejection and is robust to system parameters variation. In this controller, the state of the closed-loop system is forced to slide along the predefined sliding surface [21,22,23]. However, it suffers chatterings in the closed-loop system states. This problem can be solved by quasi-sliding mode control (QSMC) where the non-smooth sign function used in SMC is replaced with a smooth sigmoid function to govern the switching behavior in the controller [24]. For a system whose number of inputs is less than the number of outputs (underactuated system), hierarchical sliding mode control (HSMC) can be used. In HSMC, the sliding surfaces are designed in layers which are called layer sliding surface [25].
In most controllers, the motion and stability of the wheelchair all rely on the motions of the driving wheels which need large driving torque and power [26]. Some approaches have been proposed to solve this problem. For example, the rider’s seat is made to move to enhance the wheelchair’s stability [27]. The wheelchair is designed in a way such that its center of gravity is under the driving wheels’ axis [28]. A mass under the rider’s seat moves linearly to keep the wheelchair from overturning [29]. These approaches have the drawbacks of compromising the comfort of the rider or limited effectiveness.
In this paper, an active velocity and stability controller is developed for a two-wheeled wheelchair added with a compact pendulum-like movable mechanism. The Euler–Lagrange equation is used to derive the equation of motion (EOM) of the system and a quasi-sliding mode control approach is used in the controller design. Through the proposed control scheme, the wheelchair’s velocity and stability can be controlled with driving torque and power much less than those of conventional controllers which only rely on the motions of the driving wheels. Simulation results prove the effectiveness of the proposed controller.
The rest of the paper is organized as follows. In Section 2, the structure of a two-wheeled robotic wheelchair and proposed mechanism is presented. The dynamic model of the system is introduced in Section 3. In Section 4, the controller design is proposed. In Section 5, simulation results are shown to compare the performances of the conventional and proposed methods. Conclusions are given in Section 6.
2. System Description
As shown in Figure 1, a two-wheeled wheelchair comprises a seat and two wheels. The seat is connected to the axial of the wheels through a rod. A pendulum like movable mechanism is connected to the rod through a rotating joint. There is a mass placed at the end of the pendulum. The masses of the pendulum and the rod are ignored. To describe the state of all the modules of the wheelchair, a body coordinate frame X-Y-Z is placed at the center of the wheels’ axle (O). Though Z axis is not shown in the figure, it is perpendicular to X and Y axis as determined by the right-hand rule. All moments of inertia are defined around their centre of gravity (CoG) in Z axis. The rotation angles of the wheels and the wheelchair body are measured from Y axis, while the rotation angle of the movable mechanism is measured from link OP. The nomenclature can be found in Table 1.
Figure 1.
Two-wheeled wheelchair and proposed mechanism.
Table 1.
Nomenclature.
3. Modeling of Two-Wheeled Robotic Wheelchair
3.1. Conventional Method
In a conventional method, the wheels are responsible for both the stability and velocity control of the wheelchair. The controller is based on the EOM of the system which can be derived from the Euler–Lagrange equation [30]:
T and U are the kinetic and the potential energy of the system. and are the generalized coordinates and the corresponding input of system respectively. Slip between the ground and wheels and friction forces in the system are neglected. Each wheel’s kinetic and potential energy can be shown as
The body’s kinetic and potential energy are
The overall kinetic and potential energy of the system is
Through Equation (1), the EOM of the system can be derived and presented as [31]
where is the vector of generalized coordinates
is the symmetric inertia matrix.
is the Centrifugal and Coriolis forces matrix.
is the gravity matrix
and is the corresponding input.
is the total torque applied to the right and left wheels,
Assuming the same amount of torque applied at each wheel,
Then, the input power of the wheel motors is [32]
Equation. (2) is valid when no disturbance is applied to the wheelchair. The effect of disturbances like parameter uncertainties of the wheelchair due to the varying mass of the body can be considered in Equation (2) which reformulate it to
where denotes the effect of parameter uncertainties in dynamic model of the wheelchair. , , denote the nominal Inertia, centrifugal, and gravity matrices, respectively which can be presented as
The effect of parameter uncertainties disturbance caused by the mass of body variation can be shown as
where
The mass of body uncertainty is shown by . and denote the real and nominal values of mass of body, respectively.
3.2. Proposed Method
In the proposed method, a pendulum-like movable mechanism is added to the wheelchair to mainly assist stability control. Its kinetic and potential energy can be shown as
Then, the overall kinetic and potential energy of system is derived,
The details of the terms , and matrices can be found in Appendix A. The input power of the motor driving the pendulum is
The effect of mass of body uncertainty can be shown as Equation (4), where,
4. Controller Design
4.1. Conventional Method
The control aim is to make the wheelchair move at a desired velocity and keep stable (the pitch angle is around zero). There are two controlled variables (velocity and pitch angle), but there is only one control input (). This problem can be resolved through a HSMC controller. To design the controller, the following two sliding mode surfaces are defined,
where and are the sliding surfaces for pitch angle and wheel rotational angle respectively. and are positive constants. , , and are the tracking errors defined according to
where , , and are the desired values of pitch angle, pitch angular velocity, wheel angle and wheel angular velocity respectively. Differentiating Equation (5) with respect to time leads to
From Equation (2), we have
Then, we have
Let and , the equivalent control input for each sliding surface can be obtained as
To make sure that all tracking errors converge to zero, the control input can be set as [25]
where is the switching control input in the reaching phase. To obtain , a sliding surface is designed as
where and are constants. The can be obtained based on Lyapunov stability theorem. Choose a Lyapunov function candidate as
Differentiating with respect to time, we have
Select the exponential sliding mode
where and are positive constants. From Equation (16), can be obtained as
According to the Lyapunov theorem, the below condition should be satisfied to provide stability of HSMC controller [33].
Equation (18) proves that the sliding surface is asymptotically stable. The trajectory of the second-layer sliding surface will converge to the origin of coordinate system constructed by and axis when . Therefore, each subsystem states move on the first-layer sliding surfaces ( and ) and we have [34]
Equation (19) proves that the first-layer sliding surfaces and are also asymptotically stable.
4.2. Proposed Method
In the proposed method where a pendulum like movable mechanism is added to the wheelchair, the number of control inputs ( and ) is equal to the number of controlled variables. A QSMC control scheme is suitable in this case. To develop the QSMC controller for the system, the two sliding surfaces and defined in Equation (5) are used. According to Equation (7), we have
Note, to avoid the chattering phenomenon, a smooth sigmoid function is replaced with the non-smooth function . To obtain equivalent control inputs, and are considered as
where and are two positive controller gains and and are two small positive scalars [33]. Therefore, the control inputs can be obtained as
where
To prove the stability of the QSMC controller, the Lyapunov function candidates can be chosen as
The below conditions should be satisfied to provide stability of QSMC controller [33].
Therefore, the stability of the QSMC controller is guaranteed.
5. Simulation Results
In this section, the performances of the stability and velocity control of a two-wheeled robotic wheelchair through the conventional and the proposed methods are simulated and compared. A two-wheeled robotic wheelchair used in [8] is considered for dynamic modelling and controller design. The physical parameters of the wheelchair and the added pendulum-like movable mechanism can be found in Table 2.
Table 2.
Physical parameters of the two-wheeled robotic wheelchair and movable mechanism for simulation.
5.1. Case 1
In Case 1, the initial values for pitch angle, wheel’s rotational angle and the rotational angle of the pendulum angles are respectively set as
According to the control objectives, the desired pitch angle and angular velocity are set to be zero.
The desired angular velocity of the wheels (for the motion along a straight line) is set to be constant. . Therefore, the angle as the function of time t can be expressed as . The control parameters for the HSMC controller are chosen as
The control parameters for the QSMC controller were set as
The above control parameters are selected from several sets of parameters based on the performance of the system responses include the accuracy and the speed of the angle and the velocity tracking and the magnitude of the motor’s output torque and power within their limits. In Case 1, the mass of body’s uncertainty is not considered. Therefore, .
Figure 2 and Figure 3 depict the responses of the pitch angle and pitch angular velocity through the conventional and the proposed methods in Case 1, respectively. It can be seen that using the proposed method, the range of pitch angle and its velocity is smaller than those obtained through the conventional method. Figure 4 represents the wheel velocity response through conventional and proposed approach in Case 1. It shows that the wheel velocity through both control methods can reach the desired wheel velocity in a similar pattern. Figure 5 and Figure 6 depict the response of sliding surfaces in Case 1 designed in the conventional and the proposed methods. As can be seen, all sliding surfaces converge to zero.
Figure 2.
Pitch angle of the system in the conventional method (CM) and proposed method (PM) in Case 1.
Figure 3.
Pitch angular velocity of the system in the conventional method (CM) and the proposed method (PM) in Case 1.
Figure 4.
Wheel angular velocity of the system in the conventional method (CM) and the proposed method (PM) in Case 1.
Figure 5.
Sliding mode surfaces in the conventional method in Case 1.
Figure 6.
Sliding mode surfaces in the proposed method in Case 1.
Figure 7 depicts the input torque of wheels in Case 1 through the conventional and the proposed methods, respectively. It can be seen that they are similar to each other. However, as shown in Figure 8, the required power in the proposed method is much smaller than that required in the conventional method. There are high-frequency components in the input torque and power trajectories which are mainly due to the switching actions near the sliding surfaces in both the controllers. Though the QSMC controller is designed to smooth out the high-frequency components in the system outputs, it cannot eliminate them. On the other hand, the additional movable mechanism used in the proposed method increases the complexity of the system dynamics which also contributes to the high-frequency components.
Figure 7.
Input torque of wheels in the conventional method (CM) and the proposed method (PM) in Case 1.
Figure 8.
Input power of wheels in the conventional method (CM) and the proposed method (PM) in Case 1.
As shown in Figure 9 and Figure 10, the input torque and power required for the motion of the pendulum is almost negligible. As shown in Figure 11, the range of the angular displacement of the pendulum is very small. This shows that it can be made compact and be operated in a small space to achieve the control objectives without causing large disturbances to the system including the rider.
Figure 9.
Input torque of movable mechanism in the proposed method (PM) in Case 1.
Figure 10.
Input power of movable mechanism in the proposed method (PM) in Case 1.
Figure 11.
Movable mechanism angle in the proposed method (PM) in Case 1.
5.2. Case 2
In Case 2, the initial values of system are chosen as
The control objectives are set as
The control parameters for the HSMC and QSMC controllers are chosen same as the values selected in Case 1. As the mass of rider varies for each person, the uncertainty of the body’s mass should be considered to prove the robustness of the controllers. In this case, the uncertainty of body’s mass is chosen as .
Figure 12, Figure 13, Figure 14, Figure 15, Figure 16, Figure 17, Figure 18, Figure 19, Figure 20 and Figure 21 depict the performance of system in Case 2 through the conventional and proposed methods. It can be seen that the results are similar to those obtained in Case 1. Considering the disturbances caused by parameter uncertainty, the system can overcome it and prove the controller robustness designed for both the methods.
Figure 12.
Pitch angle of system in the conventional method (CM) and the proposed method (PM) in Case 2.
Figure 13.
Pitch angular velocity of the system in the conventional method (CM) and the proposed method (PM) in Case 2.
Figure 14.
Wheel angular velocity of the system in the conventional method (CM) and the proposed method (PM) in Case 2.
Figure 15.
Sliding mode surfaces in the conventional method in Case 2.
Figure 16.
Sliding mode surfaces in the proposed method in Case 2.
Figure 17.
Input torque of the wheels in the conventional method (CM) and the proposed method (PM) in Case 2.
Figure 18.
Input power of the wheels in the conventional method (CM) and the proposed method (PM) in Case 2.
Figure 19.
Input torque of the movable mechanism in the proposed method (PM) in Case 2.
Figure 20.
Input power of the movable mechanism in the proposed method (PM) in Case 2.
Figure 21.
Movable mechanism angle in the proposed method (PM) in Case 2.
6. Conclusions
This paper presents a novel method for stability and velocity control of a two-wheeled robotic wheelchair. In this method, a movable pendulum-like movable mechanism is added to the wheelchair mainly for stability control. The Euler-Lagrange equation is used to establish the equation of motion of the system and a quasi-sliding mode control scheme is used in the controller design. The simulation results show that the proposed method achieves better stability and velocity control with less input power than the conventional methods only relying on the motions of the wheels. It is also robust against external disturbances. The future work is to implement the proposed method on a two-wheeled robotic wheelchair system under development in our lab.
Author Contributions
M.N., L.H. and A.M.A.-J. developed the idea covered in the paper; M.N. did simulations, drafted and revised the paper under the guidance of L.H. and A.M.A.-J.; L.H. is the corresponding author to revise and finalize the paper. All authors have read and agreed to the published version of the manuscript.
Funding
The project is funded by the Institute of Biomedical technologies at the Auckland University of Technology, New Zealand.
Acknowledgments
The authors would like to acknowledge Behrooz Lotfi and Simon Hartley for their advice and guidance.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A. Dynamic Model Components of Proposed Method
The , and elements in proposed method are as below:
References
- Stout, G. Some aspects of high performance indoor/outdoor wheelchairs. Bull. Prosthet Res. 1979, 16, 135–175. [Google Scholar] [PubMed]
- Abdulghani, M.M.; Al-Aubidy, K.M.; Ali, M.M.; Hamarsheh, Q.J. Wheelchair Neuro Fuzzy Control and Tracking System Based on Voice Recognition. Sensors 2020, 20, 2872. [Google Scholar] [CrossRef] [PubMed]
- Ren, T.J.; Chen, T.C. Modelling and control of a power-assisted mobile vehicle based on torque observer. IET Control Theory Appl. 2007, 1, 1405–1412. [Google Scholar] [CrossRef]
- Seki, H.; Sugimoto, T.; Tadakuma, S. Novel straight road driving control of power assisted wheelchair based on disturbance estimation and minimum jerk control. In Proceedings of the 2005 Conference Record of the Industry Applications, Fourtieth IAS Annual Meeting, Hong Kong, China, 2–6 October 2005; pp. 1711–1717. [Google Scholar]
- Almeshal, A.M.; Goher, K.M.; Nasir, A.N.K.; Tokhi, M.O. Steering and dynamic performance of a new configuration of a wheelchair on two wheels in various indoor and outdoor environments. In Proceedings of the 2013 18th International Conference on Methods & Models in Automation & Robotics, MMAR, Miedzyzdroje, Poland, 26–29 August 2013; pp. 223–228. [Google Scholar]
- Zhou, Y.; Wang, Z.; Chung, K.W. Turning Motion Control Design of a Two-Wheeled Inverted Pendulum Using Curvature Tracking and Optimal Control Theory. J. Optim. Theory Appl. 2019, 181, 634–652. [Google Scholar] [CrossRef]
- Wieczorek, B.; Warguła, Ł.; Rybarczyk, D. Impact of a hybrid assisted wheelchair propulsion system on motion kinematics during climbing up a slope. Appl. Sci. 2020, 10, 1025. [Google Scholar] [CrossRef]
- Hirata, K.; Murakami, T. Stability analysis of disturbance observer based controllers for two-wheel wheelchair systems. Adv. Robot. 2014, 28, 467–477. [Google Scholar] [CrossRef]
- Vermeiren, L.; Dequidt, A.; Guerra, T.M.; Rago-Tirmant, H.; Parent, M. Modeling, control and experimental verification on a two-wheeled vehicle with free inclination: An urban transportation system. Control Eng. Pract. 2011, 19, 744–756. [Google Scholar] [CrossRef]
- Han, J.; Li, X.; Qin, Q. Design of two-wheeled self-balancing robot based on sensor fusion algorithm. Int. J. Autom. Technol. 2014, 8, 216–221. [Google Scholar] [CrossRef]
- Cooper, R.A.; Boninger, M.L.; Cooper, R.; Kelleher, A. Use of the INDEPENDENCE 3000 IBOT™ transporter at home and in the community: A case report. Disabil. Rehabil. Assist. Technol. 2006, 1, 111–117. [Google Scholar] [CrossRef]
- Arthanat, S.; Desmarais, J.M.; Eikelberg, P. Consumer perspectives on the usability and value of the iBOT® wheelchair: Findings from a case series. Disabil. Rehabil. Assist. Technol. 2012, 7, 153–167. [Google Scholar] [CrossRef] [PubMed]
- Uustal, H.; Minkel, J.L. Study of the Independence IBOT 3000 Mobility System: An innovative power mobility device, during use in community environments. Arch. Phys. Med. Rehabil. 2004, 85, 2002–2010. [Google Scholar] [CrossRef]
- Baloh, M.; Parent, M. Modeling and model verification of an intelligent self-balancing two-wheeled vehicle for an autonomous urban transportation system. In Proceedings of the Conference on Computational Intelligence, Robotics, and Autonomous Systems, Singapore, 15 December 2003; pp. 1–7. [Google Scholar]
- Karkoub, M.A.; Parent, M. Modelling and non-linear feedback stabilization of a two-wheel vehicle. Proc. Inst. Mech. Eng. Part J. Syst. Control Eng. 2004, 218, 675–686. [Google Scholar] [CrossRef]
- Ghaffari, A.; Shariati, A.; Shamekhi, A.H. A modified dynamical formulation for two-wheeled self-balancing robots. Nonlinear Dyn. 2016, 83, 217–230. [Google Scholar] [CrossRef]
- Nikpour, M.; Huang, L.; Al-Jumaily, A.M.; Lotfi, B. Stability control of mobile inverted pendulum through an added movable mechanism. In Proceedings of the 25th International Conference on Mechatronics and Machine Vision in Practice, M2VIP, Stuttgart, Germany, 20–22 November 2018; pp. 1–6. [Google Scholar]
- Raffo, G.V.; Ortega, M.G.; Madero, V.; Rubio, F.R. Two-wheeled self-balanced pendulum workspace improvement via underactuated robust nonlinear control. Control Eng. Pract. 2015, 44, 231–242. [Google Scholar] [CrossRef]
- Ahmad, N.S. Robust H∞-Fuzzy Logic Control for Enhanced Tracking Performance of a Wheeled Mobile Robot in the Presence of Uncertain Nonlinear Perturbations. Sensors 2020, 20, 3673. [Google Scholar] [CrossRef]
- Raffo, G.V.; Madero, V.; Ortega, M.G. An application of the underactuated nonlinear H∞ controller to two-wheeled self-balanced vehicles. In Proceedings of the IEEE 15th Conference on Emerging Technologies & Factory Automation, ETFA, Bilbao, Spain, 13–16 September 2010; pp. 1–6. [Google Scholar]
- Shen, H.; Iorio, J.; Li, N. Sliding Mode Control in Backstepping Framework for a Class of Nonlinear Systems. J. Mar. Sci. Eng. 2019, 7, 452. [Google Scholar] [CrossRef]
- Hong, G.S.; Yu, D.; Wong, Y.S. Integral sliding mode control for fast tool servo diamond turning of micro-structured surfaces. Int. J. Autom. Technol. 2011, 5, 4–10. [Google Scholar]
- Nikpour, M.; Huang, L.; Al-Jumaily, A.M. Stability and Direction Control of a Two-Wheeled Robotic Wheelchair Through a Movable Mechanism. IEEE Access 2020, 8, 45221–45230. [Google Scholar] [CrossRef]
- Elmokadem, T.; Zribi, M.; Youcef-Toumi, K. Control for Dynamic Positioning and Way-point Tracking of Underactuated Autonomous Underwater Vehicles Using Sliding Mode Control. J. Intell. Robot. Syst. 2019, 95, 1113–1132. [Google Scholar] [CrossRef]
- Yue, M.; Wei, X. Dynamic balance and motion control for wheeled inverted pendulum vehicle via hierarchical sliding mode approach. Proc. Inst. Mech. Eng. Part J. Syst. Control Eng. 2014, 228, 351–358. [Google Scholar] [CrossRef]
- Huang, J.; Guan, Z.H.; Matsuno, T.; Fukuda, T.; Sekiyama, K. Sliding-mode velocity control of mobile-wheeled inverted-pendulum systems. IEEE Trans. Robot. 2010, 26, 750–758. [Google Scholar] [CrossRef]
- Huang, J.; Ding, F.; Fukuda, T.; Matsuno, T. Modeling and velocity control for a novel narrow vehicle based on mobile wheeled inverted pendulum. IEEE Trans. Control Syst. Technol. 2013, 21, 1607–1617. [Google Scholar] [CrossRef]
- Sago, Y.; Noda, Y.; Kakihara, K.; Terashima, K. Parallel two-wheel vehicle with underslung vehicle body. Mech. Eng. J. 2014, 1, 1–12. [Google Scholar] [CrossRef][Green Version]
- Sago, Y.; Terashima, K.; Noda, Y.; Kakihara, K. Attitude control using active-mass-system in parallel two-wheel vehicle with underslung vehicle body. In Proceedings of the 2014 IEEE International Conference on Systems, Man, and Cybernetics, SMC, San Diego, CA, USA, 5–8 October 2014; pp. 1532–1537. [Google Scholar]
- Rao, S.S.; Yap, F.F. Mechanical Vibrations; Prentice Hall: Upper Saddle River, NJ, USA, 2011; Volume 4. [Google Scholar]
- Craig, J.J. Introduction to Robotics: Mechanics and Control; Pearson Education: Bengaluru, India, 2009; Volume 3/E. [Google Scholar]
- Bolton, W. Mechatronics: Electronic Control Systems in Mechanical and Electrical Engineering; Pearson Education: London, UK, 2003. [Google Scholar]
- Shtessel, Y.; Edwards, C.; Fridman, L.; Levant, A. Sliding Mode Control and Observation; Springer: New York, NY, USA, 2014. [Google Scholar]
- Qian, D.; Yi, J. Hierarchical Sliding Mode Control for Under-Actuated Cranes; Springer: Heidelberg/Berlin, Germany, 2016. [Google Scholar]
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).