Abstract
Despite the fact that there are various configurations of self-balanced two-wheeled machines (TWMs), the workspace of such systems is restricted by their current configurations and designs. In this work, the dynamic analysis of a novel configuration of TWMs is introduced that enables handling a payload attached to the intermediate body (IB) in two mutually perpendicular directions. This configuration will enlarge the workspace of the vehicle and increase its flexibility in material handling, objects assembly and similar industrial and service robot applications. The proposed configuration gains advantages of the design of serial arms while occupying a minimum space which is unique feature of TWMs. The proposed machine has five degrees of freedoms (DOFs) that can be useful for industrial applications such as pick and place, material handling and packaging. This machine will provide an advantage over other TWMs in terms of the wider workspace and the increased flexibility in service and industrial applications. Furthermore, the proposed design will add additional challenge of controlling the system to compensate for the change of the location of the COM due to performing tasks of handling in multiple directions.
Keywords: Lagrangian formulation, IP new configuration, Inverted pendulum, Two-wheeled vehicle, Payload handling, PID control
Background
Two-wheeled robots are based on the idea of the inverted pendulum (IP) system. It is a well-identified benchmark problem that provides many challenges to control design. The IP system is nonlinear, unstable, nonminimum phase and under-actuated. The inverted pendulum problem is one of the most well-known conventional problems in control theory and has been investigated extensively in the literature.
Motion control and stability analysis of a two-wheeled vehicle (TWV) are presented by Ren et al. [29] where a self-tuning PID control strategy, based on a reduced model, is proposed for implementing a motion control system that stabilizes the TWV and follows the desired motion commands. Chan et al. [5] explored the common methods which have been investigated and the controllers which have been used of two-wheeled robots on different types of terrains. Shojaei et al. [30] proposed an adaptive robust tracking controller to cope with both parametric and nonparametric uncertainties of the system occurred due to the integrated kinematic and dynamic trajectory tracking control problem wheeled mobile robots. Deng et al. [11] designed controller based on Lyapunov function candidate and considered virtual forces information including detouring force. Guo et al. [15] design a sliding mode controller for wheeled IP. Li and Kang [23] used the technique of dynamic coupling switching control for a wheeled manipulator. Actuator faults and abnormalities in operation in a two-wheeled IP system has been investigated by Tsa et al. [33].
Investigating the parametric and functional uncertainties has been also considered in the literature; Li et al. [20–22] considered the dynamic balance and motion control based on least squares support vector machine for wheeled inverted pendulums (WIP) subjected to dynamics uncertainties. Control algorithms, using Lyapunov synthesis, with the advantage of LS-SVM combined with online parameters estimation strategy have been proposed. Based on this approach, the outputs of the system proved to be able to track the given bounded reference signals within a small neighbourhood of zero as well as guarantee semi-global uniform boundedness of all the closed-loop signals. An intelligent backstepping tracking control system is proposed by Chiu et al. [6, 7] for WIPs with unknown system dynamics and external disturbance. An adaptive output recurrent cerebellar model articulation (AORCMAC) is used to copy an ideal backstepping control (IBC), and a compensated controller is designed to compensate for difference between the IBC law and AORCMAC. In a further work by Chiu et al. [6, 7], a novel model-free intelligent controller to control WIPs has been developed. An adaptive output recurrent cerebellar model articulation controller (AORCMAC) for angle and position control of the WIP without model information has been developed. Lee et al. [19] carried out a historical evolution of IP systems for several designs. Ghaffari et al. [12] used Kane’s and Lagrangian dynamic formulation methods to drive the dynamic model of a self-balancing two-wheeled robot. Ping et al. [26, 27] reviewed various methods of driving the dynamic model and control techniques used for two-wheeled robots.
Cui et al. [9] designed a state feedback control for a wheeled IP, and then backstepping-based adaptive control is designed for output tracking of the system. Brisilla and Sankaranarayanan [4] proposed a nonlinear control strategy for a mobile IP without internal switching between controllers. Chinnadurai et al. [8] used internet on a chip controller to design a two-wheel robot using the principle of curvature technique. Dai et al. [10] designed a method based on friction compensation for two-wheeled IP. Raffo et al. [28] designed H∞ nonlinear controller to stabilize and control two-wheeled machine under the presence of exogenous disturbances. Sun and Li [32] used adaptive neural control and extreme learning machine (ELMs) to develop and implement on two-wheeled human transportation system. A novel control scheme is developed based on a single-hidden layer feedforward network approximation capability of combing ELMs to capture vehicle dynamics. Yue et al. [34] investigated error data-based trajectory planner and indirect adaptive fuzzy control with the application on two-wheeled IP using indirect adaptive fuzzy and sliding mode control approaches, Lyapunov theory and LaSalle’s invariance theorem. Yue et al. [35] designed a composite control approach for balancing and trajectory tracking of two-wheeled IP vehicle using adaptive sliding mode, fuzzy-based control and adaptive mechanism.
Principle of two-wheeled IP with an extended rod
The principle of two-wheeled IP with an extended intermediate body (IB) has been first introduced by Goher and Tokhi [13, 14] where a new configuration of wheeled robotic machines (WRM) is developed and equipped with a linear actuator, as shown in Fig. 1, to activate a payload and to lift it to different levels. Although the developed configuration added additional DOF through the linear actuator attached to IB, the workspace has been extended only in one single vertical direction by extending the IB. In a further work to increase the workspace and the TWM flexibility, Goher [2, 14] developed a two-wheeled IP where an additional link is added, shown in Fig. 2, to end with a five DOFs double IP system with an extended rod.
The application of the double IP with an extended rod configuration has been utilized to simulate an important scenario of wheelchair transfer to stand on two wheels, shown in Fig. 3a, b, as presented by Ahmad et al. [1]. In this research, the authors also used a linear actuator attached along link 2 to further lift the chair and the person to a further specified height.
A two-wheeled robot, TransBOT, is developed by Lee and Jung [18]. TransBOT has two driving modes, driving mode and a balancing mode that mimics the IP concept by lifting up the front casters. The developed prototype is similar to the PUMA human transporter, and its working principle mainly relies on stabilizing payload in one single direction. In the work done by Huang et al. [16], a vehicle called UW-Car, with a schematic diagram shown in Fig. 4, is developed where a movable seat is driven by a linear motor along a straight horizontal direction. A control algorithm is developed and implemented both in MATLAB simulation environment and on real experimental of the developed prototype. Although this work considered an adjustable position of the car seat in horizontal direction, the motion of the seat in a vertical direction has not been considered. Furthermore, Bae and Jung [3] developed service robots, KOBOKER shown in Fig. 5, that is able to self-balance using up and down sliding mechanism that activates two arms in order to perform tasks on the floor. The design of KOBOKER allows handling of objects in two different directions and is equipped with two serial arms to handle different tasks as per specified.
Despite the above-mentioned contributions in terms of developing new configurations of TWMs, the dynamic analysis of TWMs with mass balancer in two different directions has not been given too much interest in the literature. A dynamic model of this new configuration will have the potential to form the basis for new applications and exploration of many features of the system as well as the possibility to investigate the impact of various characteristics. In this current work, a novel configuration of TWMs is introduced that enables handling payload attached to the IB in two mutually perpendicular directions. This will allow extension of the workspace of the vehicle and to increase its flexibility in various applications including: material handling, objects assembly and similar industrial and service robots application. The proposed configuration, with similar concept as KOBOKER [3], gains both advantages of serial robots and TWMs that occupy a minimum space due to working on two wheels only.
A model of this new configuration will have the potential to form the basis for new applications and exploration of many features of the system as well as the possibility to investigate the impact of various characteristics. The novel configuration of the vehicle with five DOFs provides the vehicle with an ability to handle objects in two mutually perpendicular directions. This is achieved by either a dual-axes linear actuator or two different actuators that will be able to extend the intermediate body (IB) of the vehicle in two different directions. In this work, five decoupled feedback control loops have been used throughout this work. The developed control strategy, based on loops decoupling, ensures separation of the dynamics due to the high frequency range (tilt angle) from the dynamics of low frequency range (motion of the intermediate body). Various simulation exercises have been considered to test the robustness of the developed control scheme. Even with complicated scenarios of changing the COMs simultaneously in two different directions, the control strategy was able to cope well with such variations. Internal system dynamics have been considered to test the robustness on the control approach. Huang et al. [16] used on the other hand LQR and sliding mode controllers to control the velocity and braking of a two-wheeled vehicle. Though the system was developed by Bae and Jung [3], no control has been considered in their work.
The rest of the paper is organized as follows: “Introduction” summarizes relevant contributions in TWMs and the associated control strategies. “System description” section describes the system with the proposed configuration, explanation of the system DOFs and detailed description of a picking and placing scenario while handling an object in a confined space. The mathematical model of the system state space is derived in “Mathematical modelling” section, and a linearized state space model is derived in “State space modelling” section. PID control scheme is designed in “Numerical simulation” section and implemented on the system model based on a set of numerical parameters. Various simulation exercises are used for the numerical validation including either sequentially or simultaneously change of COM of the vehicle in two different directions. Finally, the paper is concluded in “Conclusion” where the work contributions are highlighted and a set of recommendations are formulated for potential future work.
System description
The proposed TWRM has five DOFs as shown in Figs. 6 and 7 where Solidworks® and ADAMS MSC® are used to generate the design. The proposed vehicle consists of a chassis with centre of gravity at point and the mass of the linear actuators with centre of gravity at point . The coordinates of points and will change if the robot moves away from its initial location along X axis. These variables fully describe the dynamics of the five DOFs system. The two-wheeled robot is controlled by applying a torque and to the right and left wheels, respectively. This torque is contributed by the motors attached to each wheel. Other inputs that enable the control system to keep the robot upright at all times are signals measured by the gyroscopes and accelerometers. These sensors provide information about various state variables at any given time.
The battery of the two-wheeled platform appears in Fig. 6 on the right side of the vehicle. However, in the realized physical system, the attachment of components (battery, electronics, etc.) will be located out in a way to assure uniform distribution of masses around the centre point of interaction of x and y axes.
Advantages of using the proposed design with standard wheels over omnidirectional wheels
There are various types of wheels used in wheeled mobile robots including: standard, castor and omnidirectional wheels. The proposed design in this paper uses two standard wheels powered by two motors. The advantages of the used standard wheels include the simplicity in design and manufacturing and the relatively good reliability. The small size of used wheels (10 cm diameter) helps in providing better stability and stronger grip with the floor. This adds to the stability and rigidity of the entire system while carrying out material handling tasks. The simple manufacturing process of standard wheels assures minimum positioning errors while movement.
Omnidirectional wheels are used in mobile robots doing material handling tasks and other industrial applications, though mobile robots with omnidirectional wheels are controllable with reduced number of actuators and are highly manoeuvrable in narrow or crowded spaces. Accuracy of motion is influenced by systematic errors caused by unavoidable imperfections in the control and mechanical subsystems and nonsystematic caused by unpredictable phenomena such as wheel slippage and surface irregularities. Calibration will be needed to compensate for those errors due to the use of omnidirectional wheels. Other odometry errors, while the robot movement, may also exist due to unequal wheels diameters, joints misalignment, backlash and slippage in encoder pulses [24]. Omnidirectional vehicles are widely used in mobile robots for materials handling vehicles for logistics and wheelchairs. However, they are generally designed for the case of motion on flat, smooth terrain and are not feasible for outdoor usage [17]. Slippage is there when omnidirectional wheels are in motion and manufacturing of those wheels is an expensive and needs high accuracy. Furthermore, there is a poor efficiency because not all the wheels are rotating in the direction of movement, which causes loss from friction, and are more computationally complex because of the angle calculations of movement [25].
Description of the system DOFs
The considered system has degrees of freedom described by four types of translations with respect to the X and Z axes. They are represented by the angular displacement of the angular rotation of the right and left wheels and , respectively, the attached payload linear displacement in vertical and horizontal directions and , respectively, as shown in Fig. 8. The fifth DOF is represented by the tilt angle of the IB around the vertical Z axis, . This configuration of the vehicle is believed to serve in various applications including but not limited to object picking and placing, as shown in Fig. 9, assembly lines and similar industrial and service robot applications that require working in tiny spaces.
For the vehicle to undertake a picking and placing scenario shown in Fig. 10, the description of the course of motion can be explained as follows:
The vehicle to start moving on two wheels while keeping a balance condition till reaching a desired location for picking the object. The dominant control efforts during this stage are the two control torque signals from the motors attached to the wheels.
Once reaching a suitable position to pick the object, the linear actuators start to work by extending the IB up to the object position by a linear displacement, . In this case, the centre of mass (COM) of the vehicle is moving up and the wheels motors must apply the torque necessary to keep a balance condition.
Following the extension of the IB in a vertical position, the control system orders the linear actuator to extend the end-effector to extend in a lateral direction to the location of the object. As a consequence, the COM of the entire vehicle is changing its position and it is the responsibility of wheels motors to develop the appropriate motor torque that compensate for this change in the COM position. It is assumed in this stage of the research that the joint at is rigid and the two axes of motion for and are always perpendicular to each other. However, at further stage an active revolute joint should be used to ensure that the motion of , to pick/place the object, is always in a horizontal direction. This is to reduce the change in the COM and hence to reduce the control effort required. While picking the object, the vehicle is expected to be subjected to sudden disturbance due to impact with the object. This should be overcome by the control signals from the wheels motors.
Following picking up of the object, the end-effector should undergo a reverse motion back to its original position. This motion will be accompanied by re-adjustment of the COM again to its original position. The linear actuator should apply the appropriate force signal during this stage with the appropriate speed that makes the entire vehicle safe against tipping over. The vehicle needs to keep balancing depending on the torque signals developed by the wheels motors.
As the rod of the linear actuator becomes in its original position, the IB begins travelling down to the desired height to place the object in the allocated place. The closer the COM to the chassis, the higher the control effort needs to be exerted by the motor wheels [13, 14].
Finally, the end-effector extends till a desired location to place the object. This may include manoeuvring the entire vehicle to adjust the end-effector to do the task appropriately.
Switching mechanisms need to be designed as a main part of the control algorithms to determine the sequence of engagement of each individual actuator associated with specific tasks in the above-mentioned stages.
Based on the above-mentioned motion description, Table 1 shows the engagement of each individual actuator against DOFs of the system during each of the substages during a picking and placing scenario of an object.
Table 1.
Ser. | Subtask | DOFs associated | Right wheel motor |
Left wheel motor |
Linear actuator I |
Linear actuator II |
---|---|---|---|---|---|---|
a | Moving till the picking place | , , | ✓ | ✓ | × | × |
b | Extension of the IB | , , , | ✓ | ✓ | ✓ | × |
c | Extension of the end-effector | , , , | ✓ | ✓ | × | ✓ |
d | Reverse motion of the end-effector | , , , | ✓ | ✓ | × | ✓ |
e | Contraction of the IB | , , , | ✓ | ✓ | ✓ | × |
f | Placing of the object | , , , | ✓ | ✓ | × | × |
As indicated in the table, the wheels motors are always engaged during the entire process as there are always a change in the location of the COM and possibility of external disturbance during the picking and/or placing of the object. For all subtasks, (a–f), the wheels motors need to develop the appropriate torque signal that is sufficient to keep the vehicle balance in an upright vertical position. The engagement of linear actuators will be as when needed during the picking, placing stages to complete both tasks. Switching mechanisms are designed to determine the period of engagement of each individual actuator.
Mathematical modelling
The mathematical model of mechanical system is used to examine different behaviours of the model. In addition, it relates the kinematics of the mechanical system to the forces/torques applied to its links. The mathematical model of the proposed machine is generated in this section using the system physical parametric specifications that are shown in Table 2.
Table 2.
Parameter | Description | Value | Unit |
---|---|---|---|
Mass of the chassis | 3.1 | kg | |
Mass of the linear actuators | 0.6 | kg | |
Mass of wheel | 0.14 | kg | |
Gravitational acceleration | 9.81 | m/s2 | |
Distance of chassis’s centre of mass for wheel axle | 0.14 | m | |
Wheel radius | 0.05 | m | |
Rotation inertia of | 0.068 | kg m2 | |
Rotation inertia of | 0.0093 | kg m2 | |
Rotation inertia of a wheel | 0.000175 | kg m2 | |
Coefficient of friction between chassis and wheel | 0.1 | Ns/m | |
Coefficient of friction between wheel and ground | 0 | Ns/m | |
Coefficient of friction of vertical linear actuator | 0.3 | Ns/m | |
Coefficient of friction of horizontal linear actuator | 0.3 | Ns/m |
The friction at the mating surfaces has been simplified for the chassis–wheel, wheel–ground interaction and in the linear actuator to follow coulomb frictional model. The values of the coefficients have been selected depending on the type of surfaces. The selected constant values are assumed to be valid under all working conditions of the vehicle and the actuators. This did not take into account variations in speed, path configuration, terrain profile, etc. The constant values have been used to validate the system model. However, modelling interactions between surfaces need to be investigated for various surfaces, various terrain profiles and various operation conditions of the vehicle. The work done by Silva et al. [31] will be considered in future studies as suggested modelling technique for the wheel–ground interaction through modelling of foot–ground interaction of artificial locomotion systems.
Deriving equations of motion
Based on the schematic diagram shown in Fig. 10, the linear displacement of the chassis COM, point , can be derived as shown in Eqs. 1 and 2 along the X and Z axes, respectively, as follows:
1 |
2 |
where for the lateral linear displacement point can be calculated as follows:
3 |
4 |
Modelling using Lagrange formulation
Lagrange formulation is used in this section to derive model of the system since it provides a powerful technique for obtaining the equations of motion. The general form of Lagrange equation is identified as shown in Eq. 5.
5 |
where L represents the Lagrange equation and it is determined as:
6 |
where T and U are the total kinetic energies and potential energies of the system, respectively.
are generalized coordinates such as:
is generalized forces that contain all the given forces in the system acting along the coordinates such as:
is the dissipation function and illustrated as
The total kinetic energy of the chassis can be calculated as follows:
7 |
where
8 |
9 |
10 |
11 |
The total kinetic energy per wheel can be calculated as follows:
12 |
The total kinetic energy of the chassis and wheels can be calculated as follows:
13 |
The total potential energy of the chassis and wheels can be calculated as follows:
14 |
The total dissipation energy of the chassis and wheels can be calculated as follows:
15 |
Substituting Eqs. 13 and 14 in Eq. 6, the Lagrange equation can be expressed as follows:
16 |
Deriving the equation for :
17 |
Deriving the equation for :
18 |
Deriving the equation for :
19 |
Deriving the equation for :
20 |
Deriving the equation for :
21 |
Equations (17–21) represent the nonlinear second-order differential equations representing the dynamics of the system under consideration.
State space modelling
In order to linearize the system, an equilibrium point is considered at the vertical upright position. This is applied when the tilt angle is approaching a zero value. The system equations of motion can be reformulated in the following forms:
22 |
23 |
24 |
25 |
26 |
State space modelling
The dynamics of the five DOFs machine can be represented by ten state vectors, X of the dynamic system as illustrated in the following equation:
27 |
where the state vector variables can be identified as follows:
Right wheel displacement,
Left wheel displacement,
Chassis pitch angle,
Vertical linear link displacement,
Horizontal linear link displacement,
Right wheel velocity,
Left wheel velocity,
Chassis angular velocity,
Vertical linear link velocity,
Horizontal linear link velocity,
State variables of wheels velocity, angular velocity and linear velocities of the links are derivative of wheels displacements, links linear displacements and the pitch angle, respectively, and can be formulated as follows:
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
where
and are the required torques for the right and left wheels,
and are the generated linear force by the linear actuator for moving the payload in a vertical and horizontal direction, respectively.
where A, B, C and D matrices are shown as follows:
And finally the state space model of the system can be formulated as follows:
39 |
Constants A and B in Eqs. 38 and 39 are described in the "Appendix" at the end of the paper.
Numerical simulation
Open-loop system response
This section investigates the system responses and its performance using MATLAB and Simulink. In order to study the behaviour of the developed model, an open-loop system response has to be investigated. The model is simulated in MATLAB Simulink® environment using the simulation parameters described in Table 2 where the following initial conditions are used: , , , , , , , , , . Figure 11 illustrates the open-loop system response of pitch angle (), angular velocity (), right wheel displacement (), right wheel velocity (), left wheel displacement (), left wheel velocity (), vertical link displacement (), vertical link velocity (), horizontal link displacement () and horizontal link velocity (). As per the simulation results shown in Fig. 11, the system outputs reach infinity. It is clear that the system is unstable nonlinear system; therefore, a closed-loop system is required to stabilize the system and to improve its performance.
Control scheme design
The strategy to control the system depends on developing a feedback control mechanism of five control loops as shown in Fig. 12. In order to drive the vehicle to undergo a specific planar motion in the XY plane, two decoupled feedback loops are developed. The two feedback control loops occupy separate ranges of dynamics, low frequency and high frequency with tilt angle over higher frequency range and motion of intermediate body over lower frequency range, and hence, decoupling is reasonable to use and apply separate control loops. The input to both control loops is the error in the angular position of each wheel which measures the difference between the desired and actual angular positions of the corresponding wheel. The angular position of the IB is controlled by the measurement of the error in the tilt angle of the IB. In order to control the position of the object, two feedback control loops are developed with the error in the object position as an input and the actuation force as the output of the control loop. The inputs to the system are the driving torques of the wheels motors, and , and the linear actuator forces, and . The system has five outputs, the angular positions of the left and right wheels; and , respectively, the angular positions of the IB, , and the linear displacements of the object, and . The system is under-actuated by the virtue of having less actuation compared to number of system outputs. Five PID control loops are used to control the five outputs of the system. The control inputs are the error; Eqs. (40–44), the integral of the error and the derivative of error for the five measured variables, , , , and , whereas the control outputs are the motor torques and the linear actuator forces.
40 |
41 |
42 |
43 |
44 |
where m and d subscripts indicate desired and actual measured variable, respectively.
PID control without switching mechanisms
In the following simulation exercises, the developed control schemes are implemented on the system mathematical model identified in “Mathematical modelling” section. First, no switching mechanisms will be considered while running the simulation. The control algorithm and the system behaviour are tested in two various conditions, payload free motion and while considering the activation of the two linear actuators for both the horizontal and vertical motion of the payload. The same exercise is repeated after engaging switching mechanisms that are designed to determine when the linear actuators should start working.
Payload free movement (h1 = h2 = 0)
The behaviour of the robotic machine is observed for the rotation angle and velocity of the robot’s chassis, displacements and velocities of the two wheels, displacements and velocities of the linear actuators using different conditions as shown in the following figures. Figure 13 illustrates the output simulation of the system start initially at and neglecting the effect of the linear actuators and by setting them to zero during the system stabilization.
It can be noticed from Fig. 13 that the control mechanism stabilizes the vehicle to reach the balancing position in less than 2 s. However, the vehicle motion is unbounded and keeps moving in order to preserve the stability condition. This is considered as an undesirable behaviour; specifically, these types of vehicles are supposed to serve in minimum working space. The vehicle is considered to move with a fixed velocity once it achieves a stable position. In order to minimize the motion of the system, the controller is modified by bounding the linear displacement of the wheels as illustrated in Fig. 14. The wheels are allowed to rotate a pre-specified fraction which is equivalent to a boundary limit of 5-cm linear displacement. The control scheme is able to achieve the balancing position within 2 s, and the steady-state position of the wheels is reached within 4 s. Bounding the wheels rotation has a positive impact on the stabilization of the vehicle with limited disturbance compared to the previous case and hence less interruption in the control torques by the wheels motors.
Simultaneous horizontal and vertical motion (h1 and h2 ≠ 0)
This study investigates the impact of changing the COM of the vehicle in two mutually perpendicular axes. In this exercise, the linear actuators start to work by extending, simultaneously, in two perpendicular axes without considering a payload. As shown in Fig. 15, the system underwent through a longer transient period if compared to previous case ( = = 0). It took longer for the system to reach a stable region; the overshoot is increased dramatically due to the change of the position of the COM in two different directions. The period taken by the vehicle to reach the stable range, around 4 s, is equivalent to the time taken by the linear actuator to extend in both axes, and . The torques of the wheels motors are expected to be affected by such long transient period of the IB till reaching stability. Compared to previous simulation exercises, there has been large amount of vibration during the period of changing the COM in the two directions and this in turn will lead to changes in the control effort required.
Design of switching mechanisms
Since the proposed platform is mainly designed for picking and/or placing applications, it is desirable to stabilize the system first. The reason is to avoid any disturbance at the start of working as a result of lifting an object. Lifting an object will result in moving the COM during the stabilization mode, and this in turn will affect the stability condition and disturbs the control effort. To avoid such situation, the control scheme is modified as illustrated in Fig. 16. Two switching mechanisms are added to the system to assure system stability before starting the object handling. The two mechanisms are developed in a way that the linear actuators will not activate unless the IB of the vehicle reaches the stable upright position.
Three case studies are considered where only one linear actuator is allowed to work at a time in the first two cases and then simultaneously working of the two actuators in the thirds case. Two signals are developed for both and using a signal builder block in MATLAB Simulink®.
Payload vertical movement only
In this case, the linear actuator along the IB is allowed to work by moving up and down along the IB and z axis. This is physically implementing by extending and contraction of the linear actuator rod which leads to move the entire COM up and down as per the control signal developed by the actuator. Figure 17 illustrates the output simulation of the system that starts with initial conditions at , m and . The actuator starts to extend to nearly 0.4 m after 5 s from the start of the simulation. The control mechanism was robust enough the way that no interruption occurred in the stabilization condition of the IB. The linear actuator accelerates to its maximum speed at around 7 s and then decelerates to settle down completely when reaching its desired height.
Payload horizontal movement only
During this case, the system is simulated to observe the impact of changing in a direction perpendicular to the axis of the IB and in the x direction. This situation is similar to inclination of the IB forward or back and also simulates scenarios of wheeled machines moving up or down an inclined surface. The initial conditions are set as , and . The actuator along the IB is kept locked during this stage, and the motion allowed will be the one from the other linear actuator who starts to work after achieving a balance condition as shown in Fig. 18. As observed from the figure, changing by only 10 cm at 5 s will act as a sudden impact disturbance which hits the IB causing it to change its direction dramatically to the opposite side of Z axis as obvious from the tilt angle graph. However, the control algorithm was not able to bring the IB to the vertical position and instead kept it inclined in the opposite side with a constant inclination angle of around 7°. Changing in the mentioned manner also has an impact on the linear motion of the vehicle in the X direction as clear from the fraction displacements of both wheels.
Payload simultaneous horizontal and vertical movements
In order to test the robustness of the proposed control algorithm, the system is simulated to observe the impact of changing and sequentially. is kept fixed at 0.28 cm for around (5.5) seconds before starting to change to its desired height. As expected and demonstrated earlier in Fig. 17, no interruption occurred in the stabilization condition of the IB. Changing starts at (9.5) seconds resulting in sudden changes in the stabilization of the IB and a slight disturbance in . In response to the changes in , the IB leans in opposite direction to compensate for the change in the position of the COM due to extension of as shown in Fig. 19.
The implementation of switching mechanism in the control algorithms has reflection on the simulation results and the way the system performs. This can be summarized as follows:
Checking the robustness of the developed control approach. In Fig. 19, the IB leans in the opposite direction to compensate for the change in the position of the COM due to extension of . Activating each individual actuator at a certain time tends to act as a sudden disturbance, in particular changing to the system which already achieved a stability.
Adding switching helps the author to conclude that changing does not have significant impact on the output of the system as noticed in Figs. 17 and 19.
Adding switching mechanisms mimics real scenarios in practical applications where not all actuators work at the same time.
The decoupled feedback control is believed that it is not related to the nonsmooth trajectories in Figs. 17 and 19. However, the fluctuations are due to the actuations of the linear actuators either simultaneously or consecutively. Further smoothness of the trajectory tracking can be achieved by minimizing the flexible dynamics items of the change in the tilt angle.
Conclusions
A novel 5 DOFs two-wheeled machine is proposed in this work where the mathematical model is derived using Lagrangian dynamics. Dissipation energies are included in the system model for better consideration of nonlinear parameters. The configuration of the machine allows handling of an object in two mutually perpendicular directions that increase the workspace of current available configuration of TWMs. However, this will also be accompanied by situations where balance will be more complicated due to the change of the vehicle COM in different directions. The control of the vehicle will also become more complicated as a result of adding one more DOF to the system. Future considerations of this work will include but not limited to the following:
Testing the vehicle in confined space for path tracking and picking and placing an object, this will include consideration of additional weight of an object, tracking a pre-specified trajectory, picking and placing the object from a certain location, carrying it and placing in desired location.
Further investigation will include also workspace and kinematics analysis of the vehicle.
Implementation of various optimization tools including bacterial forging (BF), spiral dynamics (SD) and hybrid spiral dynamics bacterial chemotaxis (HSDBC) for better performance of the system and improved energy consumption.
Further investigation of the linear model of the system will be carried out while implementing various control approaches including fuzzy logic control (FLC).
Acknowledgements
The author of this paper would like to thank Lincoln University in New Zealand towards supporting this research and offering the funding support for publication.
Competing interests
The author declares that he has no competing interests.
Appendix: Coefficients of the state space model
where
References
- 1.Ahmad S, Siddique N, Tokhi MO. A modular fuzzy control approach for two-wheeled wheelchair. J Intell Rob Syst. 2011;64:401–426. doi: 10.1007/s10846-011-9541-0. [DOI] [Google Scholar]
- 2.Almeshal AM, Goher KM, Tokhi MO. Dynamic modelling and stabilization of a new configuration of two-wheeled machines. Robot Auton Syst. 2013;61(5):443–472. doi: 10.1016/j.robot.2013.01.006. [DOI] [Google Scholar]
- 3.Bae Y, Jung S. kinematic design and workspace analysis of a Korean service robot: KOBOKER. International conference on control, automation, and systems (ICCAS). 2011. p. 833–36.
- 4.Brisilla RM, Sankaranarayanan V. Nonlinear control of mobile inverted pendulum. Robot Auton Syst. 2015;70:145–155. doi: 10.1016/j.robot.2015.02.012. [DOI] [Google Scholar]
- 5.Chan RPM, Stol KA, Halkyard CR. Review of modelling and control of two-wheeled robots. Annu. Rev. Control. 2013;37(1):89–103. doi: 10.1016/j.arcontrol.2013.03.004. [DOI] [Google Scholar]
- 6.Chiu C, Peng Y, Lin Y. Intelligent backstepping control for wheeled inverted pendulum. Expert Syst Appl. 2011;38(4):3364–3371. doi: 10.1016/j.eswa.2010.08.121. [DOI] [Google Scholar]
- 7.Chiu C, Lin Y, Lin C. Real-time control of a wheeled inverted pendulum based on an intelligent model free controller. Mechatronics. 2011;21(3):523–533. doi: 10.1016/j.mechatronics.2011.01.010. [DOI] [Google Scholar]
- 8.Chinnadurai G, Ranganathan H, Peter S. IOT controlled two wheel self supporting robot without external sensor. Middle-East J Sci Res. 2015;23:286–290. [Google Scholar]
- 9.Cui R, Guo J, Mao Z. Adaptive backstepping control of wheeled inverted pendulums models. Nonlinear Dyn. 2015;79(1):501–511. doi: 10.1007/s11071-014-1682-9. [DOI] [Google Scholar]
- 10.Dai F, Gao X, Jiang S, Guo W, Liu Y. A two-wheeled inverted pendulum robot with friction compensation. Mechatronics. 2015;30:116–125. doi: 10.1016/j.mechatronics.2015.06.011. [DOI] [Google Scholar]
- 11.Deng M, Inoue A, Sekiguchi K, Jiang L. Two-wheeled mobile robot motion control in dynamic environments. Robot Comput Integr Manuf. 2010;26(3):268–272. doi: 10.1016/j.rcim.2009.11.005. [DOI] [Google Scholar]
- 12.Ghaffari A, Shariati A, Shamekhi AH. A modified dynamical formulation for two-wheeled self-balancing robots. Nonlinear Dyn. 2016;83(1):217–230. doi: 10.1007/s11071-015-2321-9. [DOI] [Google Scholar]
- 13.Goher K, Tokhi OM. Balance control of a TWRM with a dynamic payload. In: Proceedings of the 11th international conference on climbing and walking robots and the support technologies for mobile machines, Coimbra, Portugal, 2008.
- 14.Goher K, Tokhi OM, Ahmad S. A new configuration of two wheeled vehicles: Towards a more workspace and motion flexibility. In: Proceedings of the 4th IEEE systems conference. 2010. p. 524–28.
- 15.Guo Z, Xu J, Heng T. Design and implementation of a new sliding mode controller on an underactuated wheeled inverted pendulum. J Frankl Inst. 2014;351(4):2261–2282. doi: 10.1016/j.jfranklin.2013.02.002. [DOI] [Google Scholar]
- 16.Huang J, Ding F, Fukuda T, Matsuno T. Modelling and velocity control of a novel narrow vehicle based on mobile inverted pendulum. IEEE Trans Control Syst Technol. 2013;21(5):1607–1617. doi: 10.1109/TCST.2012.2214439. [DOI] [Google Scholar]
- 17.Ishigami G, Iagnemma K, Overholt J, Hudas G. Design, development, and mobility evaluation of an omnidirectional mobile robot for rough terrain. J Field Robot. 2015;32(6):880–896. doi: 10.1002/rob.21557. [DOI] [Google Scholar]
- 18.Lee H, Kim H, Jung S. Development of mobile inverted pendulum robot system as a personal transportation vehicle with two driving modes. World automation congress. 2010. p. 1–5.
- 19.Lee JH, Shin HJ, Lee SJ, Jung S. Balancing control of a single-wheel inverted pendulum system using air blowers: evolution of mechatronics capstone design. Mechatronics. 2013;23(8):926–932. doi: 10.1016/j.mechatronics.2012.08.006. [DOI] [Google Scholar]
- 20.Li Z, Xu C. Adaptive fuzzy logic control of dynamic balance and motion for wheeled inverted pendulums. Fuzzy Sets Syst. 2009;160(8):17. [Google Scholar]
- 21.Li Z, Zhang Y. Robust adaptive motion/force control for wheeled inverted pendulums. Automatica. 2010;46(8):1346–1353. doi: 10.1016/j.automatica.2010.05.015. [DOI] [Google Scholar]
- 22.Li Z, Zhang Y, Yang Y. Support vector machine optimal control for mobile wheeled inverted pendulums with unmodelled dynamics. Neurocomputing. 2010;73(13–15):2773–2782. doi: 10.1016/j.neucom.2010.04.009. [DOI] [Google Scholar]
- 23.Li Z, Kang Y. Dynamic coupling switching control incorporating support vector machines for wheeled mobile manipulators with hybrid joints. Automatica. 2010;46(5):832–842. doi: 10.1016/j.automatica.2010.02.019. [DOI] [Google Scholar]
- 24.Maddahi Y, Maddahi A, Sepehri N. Calibration of omnidirectional wheeled mobile robots: method and experiments. Robotica. 2013;31:969–980. doi: 10.1017/S0263574713000210. [DOI] [Google Scholar]
- 25.Parmar JJ, Savant CV. Selection of wheels in robotics. Int J Sci Eng Res. 2014;5(10):339–343. [Google Scholar]
- 26.Ping R, Chan M, Stol KA, Halkyard CR. Review of modelling and control of two-wheeled robots. Annu Rev Control. 2013;37(1):89–103. doi: 10.1016/j.arcontrol.2013.03.004. [DOI] [Google Scholar]
- 27.Ping R, Chan M, Stol KA, Halkyard CR. Annual reviews in control review of modelling and control of two-wheeled robots. Annu Rev Control. 2013;37(1):89–103. doi: 10.1016/j.arcontrol.2013.03.004. [DOI] [Google Scholar]
- 28.Raffo GV, Ortega MG, Madero V, Rubio FR. Two-wheeled self-balanced pendulum workspace improvement via underactuated robust nonlinear control. Control Eng Pract. 2015;44:231–242. doi: 10.1016/j.conengprac.2015.07.009. [DOI] [Google Scholar]
- 29.Ren T, Chen TC, Chen CJ. Motion control for a two-wheeled vehicle using a self-tuning PID controller. Control Eng Pract. 2008;16:365–375. doi: 10.1016/j.conengprac.2007.05.007. [DOI] [Google Scholar]
- 30.Shojaei K, Mohammad A, Tarakameh A. Adaptive feedback linearizing control of nonholonomic wheeled mobile robots in presence of parametric and nonparametric uncertainties. Robot Comput Integr Manuf. 2011;27(1):194–204. doi: 10.1016/j.rcim.2010.07.007. [DOI] [Google Scholar]
- 31.Silva MF, Machado JT, Lopes AM. Modelling and simulation of artificial locomotion systems. Robotica. 2005;23:595. doi: 10.1017/S0263574704001195. [DOI] [Google Scholar]
- 32.Sun J, Li Z. Development and Implementation of a wheeled inverted pendulum vehicle using adaptive neural control with extreme learning machines. Cogn Comput. 2015;7(6):740–752. doi: 10.1007/s12559-015-9363-7. [DOI] [Google Scholar]
- 33.Tsai M, Hu J, Hu F. Actuator fault and abnormal operation diagnoses for auto balancing two-wheeled cart control. Mechatronics. 2009;19(5):647–655. doi: 10.1016/j.mechatronics.2009.02.001. [DOI] [Google Scholar]
- 34.Yue M, An C, Du Y, Sun J. Indirect adaptive fuzzy control for a nonholonomic/underactuated wheeled inverted pendulum vehicle based on a data-driven trajectory planner. Fuzzy Sets Syst. 2016;290:158–177. doi: 10.1016/j.fss.2015.08.013. [DOI] [Google Scholar]
- 35.Yue M, Wang S, Sun J. Simultaneous balancing and trajectory tracking control for two-wheeled inverted pendulum vehicles: a composite control approach. Neurocomputing. 2016;191:44–54. doi: 10.1016/j.neucom.2016.01.008. [DOI] [Google Scholar]