the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
Swing control for a three-link brachiation robot based on sliding-mode control on irregularly distributed bars
Zhiguo Lu
Guoshuai Liu
Haibin Zhao
Ruchao Wang
Chong Liu
The bionic-gibbon robot is a popular bionic robot. The bionic-gibbon robot can imitate a gibbon in completing brachiation motion between branches. With nonlinear and underactuated properties, the robot has important research value. This paper designs a type of bionic-gibbon robot with three links and two grippers. To simplify the controller, a plane control model is proposed, and its dynamic model is established. The control strategy in this paper divides the brachiation motion into several processes: adjust posture, open the gripper, the swing process and close the gripper. Based on sliding-mode control (SMC), the control method for the swing process is designed. The target position of the brachiation motion is set as the origin of the sliding-mode surface. In a finite time, the robot will reach the target position along the approach rate we adopt. In this way, the robot can complete the desired brachiation motion only by setting the position parameters of the target bar. We perform some simulations in ROS-Gazebo. The simulation results show that the bionic-gibbon robot can complete continuous brachiation motion on irregularly distributed bars. The sliding-mode control and the three-link structure significantly improve the robustness and swing efficiency of the bionic-gibbon robot.
- Article
(1673 KB) - Full-text XML
- BibTeX
- EndNote
Inspired by animals, many bionic robots have been designed and constructed. Inspired by the gibbon, as shown in Fig. 1 (Tashakori et al., 2020), a new bionic robot – the brachiation robot – has been designed. It moves forward by alternately swinging its body and grasping a bar like a gibbon. With nonlinear and underactuated characteristics, the brachiation robot has important research value.
Saito et al. (1993) carried out earlier research on the brachiation robot, proposed a heuristic learning method for it and achieved the swing motion of the two-link brachiation robot. Hasegawa et al. (1999) introduced the self-scaling reinforcement learning algorithm to the brachiation robot controller, which improved the accuracy in grasping the bar. However, the two control methods require long training for the new bar at different positions. Nakanishi et al. (1997, 1998) proposed an alternative control method – target dynamics – for the brachiation robot. This method makes the robot swing like a pendulum. Therefore, starting from the posture of grabbing the single bar, the brachiation robot needs to swing several times to get energy before completing the first grab. It affects motion efficiency. Kajima et al. (2003, 2005, 2006) and Fukuda et al. (2006) achieved brachiation motion on a multi-locomotion robot – “Gorilla Robot III”. An energy-based control method was proposed and introduced into the swing motion controller. However, the robot could only perform continuous brachiation motion between the evenly distributed bars. Doi et al. (2006) applied the passive dynamic autonomous control method to the robot, which realized continuous swing on the irregular horizontal ladder. However, this irregularity was limited to the horizontal direction, and the vertical direction was not considered. Meghdari et al. (2013) presented a control method based on minimum control effort trajectory planning and tracking, and the CEDRA brachiation robot achieved brachiation motion on completely irregularly distributed bars. However, there was no research on the continuous swing. Nguyen and Liu (2017, 2019) developed two robust brachiation controllers and enabled the robot to swing along a structural member with an upward slope. However, the distribution of support rods was regular and lacked arbitrariness. The brachiation robot only considered the swing motion, not the grasping action. Wu et al. (2018) proposed big damping turn-back angle feedback and an energy pumping control strategy for the brachiation robot. This control strategy contained two control methods and divided the brachiation motion into four phases, which complicated the controller. In addition, the papers by Zhang et al. (2021), Hengmin et al. (2020) and Wang et al. (2020) also do relevant work.
Although a lot of research has been done on the brachiation robot, there are still some problems, such as grasping the target bars at different heights and distances, continuous brachiation and simplification of the controller. Meanwhile, most brachiation robots adopt the two-link model and ignore the body of the gibbon. In this paper, we design a three-link brachiation robot with two grippers. The robot achieves continuous brachiation motion on irregularly distributed bars. The irregular distribution of the bars can be at different distances and heights. Meanwhile, the controller is simple and robust.
The paper is organized as follows. In Sect. 2, the brachiation robot is presented. The plane control model is established based on the robot, and its dynamic model is introduced. In Sect. 3, we propose a control strategy for the robot, which divides the brachiation motion into four processes. Based on the sliding-mode control, we design a control method for the swing process of the robot. In Sect. 4, the simulation environment is established in ROS-Gazebo. The robot carries out single and continuous swing motion simulation. Finally, we analyse the simulation results.
In this paper, a three-link brachiation robot is designed as shown in Fig. 2a. This robot has two arms and one body. Each arm has a gripper that can grasp a bar. Each arm is driven by a motor between the body and the arm. When a gripper grasps the bar, the gripper and the bar form a rotary joint that is assumed to be a passive joint. Therefore, the robot is an underactuated mechanism in the swing process. To simplify the controller, the robot is simplified to a plane model. Moreover, the plane model is idealized without friction and disturbance, and the grippers in the closed state are considered to be part of the arm. We establish a plane control model for the controller as shown in Fig. 2b. Where mi, li and lci are the mass, length and centre of mass of link i, , respectively. Ji is the moment of inertia of link i about the rotation axis. Respectively, qi and τi are generalized angle and generalized torque. The kinematic and dynamic parameter values of the brachiation robot control model are shown in Table 1. There τei represents the maximum torque of the motor.
By the Lagrange equation, the dynamic equation of the system is as follows:
where , , τ1=0, M(q) is the inertial matrix, and it is reversible, The corresponding proof is in Murray et al. (1994). Because the inertia matrix M(q) is symmetric and positive definite, according to the knowledge of linear algebra, we can find that the inertia matrix M(q) is invertible. represents the nonlinear Coriolis, centrifugal force, and gravity term. The matrix M(q) and vector are given by
where
where
What needs to be emphasized is that τ2 and τ3 are generalized torque in the control model. We finally want to get the torque τ4 of the motor between the body and the support arm and the torque τ5 of the motor between the body and the swing arm. Through Newton's third law, we can get
3.1 The control strategy of the brachiation motion
By analysing the brachiation motion of the gibbon, we project the brachiation motion of the robot as shown in Fig. 3a. The motion process is divided into four steps: (1) adjust posture, (2) open the gripper, (3) the swing process, and (4) close the gripper. In step (1), the controller is provided with the position of the target bar and adjusts the robot's posture. When the two grippers grasp the bars, the robot forms redundant constraints with the two bars. Therefore, in this step, precise position control is required to keep the robot in a certain posture to prepare for the next swing motion. In step (2), open a gripper by position control and start the swing process. In step (3), the robot swings from the initial position to the target position. In this step, the robot is underactuated. The controller adopts torque control to control the robot by using the sliding-mode control algorithm. According to the target position and robot state, the sliding-mode control algorithm as shown in Fig. 3b can get the control torque of the motor. In step (4), when the swing arm reaches the target point, the gripper closes and the robot completes a single brachiation motion. After that, the robot can perform the next single brachiation motion to achieve continuous brachiation motion.
3.2 The sliding-mode control algorithm
The sliding-mode control (Utkin, 1977) is a type of nonlinear control method. It is easy to implement and has stronger robustness to disturbances (Young et al., 1999). Meanwhile, this control method with fast response is suitable for fast swing motion. Therefore, this paper selects the sliding-mode control and applies it to the brachiation motion. To introduce this control method into the robot controller, the target position of brachiation motion is set as the origin of the sliding-mode surface. Suppose that when the gripper reaches the target point, the values of q1 and q2 are qd1 and qd2. Select the sliding-mode surface function as follows:
here, c1 and c2 are the control parameters. Then,
Eq. (1) can be rewritten as follows:
where n11, n12, n13, n21, n22 and n23 are the elements of M(q)−1. Substituting and from Eq. (5) into Eq. (4) yields
In the sliding-mode control algorithm, the new approach law, “fast power reaching law” in Yu et al. (2005), is adopted. Then,
here, k1>0, k2>0, k3>0, k4>0, and . This approach rate can effectively suppress the oscillates about the sliding manifold. Through Eqs. (6) and (7) we can get the control torque as follows:
In the next simulation, the validity of Eq. (8) will be guaranteed. Through Eq. (2), we can get the final control target τ4 and τ5.
Consider the following Lyapunov function candidate:
Then,
When the brachiation robot does not reach the target point, V>0 and . According to the Lyapunov theorem for global stability, it can be deduced that the target point is globally asymptotically stable. Next, we will prove the convergence law of tracking error. According to Eq. (10) we can get
According to Lemma 3.2.4 in Ioannou and Sun (1995), we can get
So, V exponentially converges to zero, and the convergence rate depends on α.
To verify the efficiency of the robot brachiation controller we design, the brachiation robot is established in the simulation software Gazebo as shown in Fig. 2a, and we establish the control system by using ROS-Gazebo. ROS is a popular operating system in robot development, and Gazebo is physical simulation software compatible with ROS. The control parameters are set: c1=10, c2=10, k1=100, k2=0.5, k3=1000, k4=0.5, α1=0.5 and α2=0.5. Next, the simulation experiment of single and continuous brachiation motion is carried out.
4.1 The single brachiation movement
The single swing process of the brachiation robot is shown in Fig. 4. We select the initial position ( m, y=0 m) and the target position (x=0.75 m, y=0.15 m). Compared with the distance between the initial position and the mid-support bar, the distance between the target position and the mid-support bar changes in the horizontal and vertical directions. This ensures the arbitrariness of the target point. Control torque is shown in Fig. 5. Due to the limitation of motor torque, the saturation constraint is applied to Eq. (2). The motor torque is limited to [−35, 35] N m. This reflects the robustness of the controller to the motor torque limitation. The angle value of the brachiation robot is shown in Fig. 6. We can see that the torque control starts to work at 0.08 s. It ends at 0.47 s and the torque of the motor returns to zero. The brachiation robot reaches the target bar only through the first swing, which improves the movement efficiency.
Besides, the controller is designed based on the plane control mode without considering joint friction and the action of the grippers in Eq. (1). However, it is used to control the three-dimensional brachiation robot with grippers and joint friction in Gazebo. Simulation results show that the controller has strong robustness for the robot with the uncertainties model and the action of the grippers.
To evaluate the swing ability of different brachiation robots, we define two evaluation indexes: swing efficiency and swing height.
Definition 1: swing efficiency is the horizontal distance that the robot can reach with a single swing, divided by the length of the two arms.
Definition 2: swing height is the height that the robot can reach with a single swing.
Through the two evaluation indexes, the three-link robot in this paper is compared with the two-link brachiation robots as shown in Table 2. We can see that the three-link structure improves the swing efficiency and swing height of the brachiation robot. The three-link robot has one more motor than the two-link robot. Therefore, the three-link robot has a stronger adjustment force. In addition, the third link adds mass and moment of inertia to the dynamic system of the robot, which enhances the balance ability of the system and increases the range of motion of the two arms.
4.2 The continuous brachiation movement
The continuous swing process of the brachiation robot on irregularly distributed bars is shown in Fig. 7. The positions of the five support bars are (x=0 m, y=0 m), (x=0.5 m, y=0 m), (x=1.2 m, y=0 m), (x=1.9 m, y=0.1 m) and (x=2.4 m, y=0.1 m). Compared with evenly distributed bars, the positions of the irregularly distributed bars have changed in the horizontal and vertical directions. In Fig. 7 we can observe the position and posture of the robot at different moments in the swing process. The robot continuously completes three single brachiation motions. The initial positions relative to the mid-support bar of each swing are ( m, y=0 m), ( m, y=0 m) and ( m, m). The target positions relative to the mid-support bar of each swing are (x=0.7 m, y=0 m), (x=0.7 m, y=0.1 m) and (x=0.5 m, y=0 m). In each single swing motion, the initial positions and target positions have changed. The simulation results show that the controller is robust to different initial positions and target positions.
The simulation environment is set up in Gazebo as shown in Fig. 8, which shows the initial state of the brachiation robot and the distribution of support bars. The simulation of the continuous swing motion in Gazebo is shown in Fig. 9. The robot performs the first single swing motion in Fig. 9a–d, the second one in Fig. 9e–h and the third one in Fig. 9i–l. The angle value of the continuous swing is shown in Fig. 10. The robot completes the first single swing motion at 1.58 s, the second one at 2.94 s and the third one at 4.43 s. After every single swing, the roles of the swing arm and the support arm are swapped. Meanwhile, the angle value of the control model also changes, which is not continuous, as shown in Fig. 10. In the position control phase, the angle value is relatively stable. The robot can maintain a certain state, which provides a stable initial posture for the next swing process. In the torque control phase, the angle changes monotonously. The robot quickly reaches the target position.
4.3 Disturbance analysis
The swing motion of the brachiation robot is often influenced by various disturbances. To verify the effectiveness of the proposed control scheme under complex disturbances, a disturbance analysis is performed. The disturbance term is added to the control input, and Eq. (1) can be rewritten as follows:
where, supposing that and , A is the amplitude and T is the period. Substituting and from Eq. (13) into Eq. (4) yields
Through Eqs. (14) and (7) we can get the control torque as follows:
Using the disturbance control input Eq. (15) and the non-disturbance control input Eq. (8) model, respectively, the swing motion is carried out from the initial position ( m, y=0 m) to the target position (x=0.75 m, y=0.15 m). During the swing period from opening the gripper to closing the gripper, the simulation experiment records the distance from the gripper to the target position. By comparing the distance curve of the above two models, the effect of disturbance on the control scheme is obvious, as shown in Fig. 11. Under the disturbance term with A=5 and T=0.1, the recorded distance approaches zero; in other words, the gripper reaches the target position and completes the swing motion. Compared with the case without disturbance, when there is disturbance, the distance curve has a small range of fluctuations and is relatively stable overall. In addition, Fig. 11 shows that the distance takes a longer time to approach zero under disturbance. We can conclude that the proposed control algorithm is effective under disturbances.
The main contribution of this paper is to apply the sliding-mode control to the swing motion of the brachiation robot. The sliding-mode control has robustness to the initial point, the target point, the action of the gripper, the uncertainties model and the motor torque limitation, which realizes the continuous swing of the robot on irregularly distributed bars. Besides, compared with the two-link structure as shown in Table 2, the three-link structure introduced in this paper improves the swing efficiency and increases the swing height of the brachiation robot. The simulation experiment in ROS-Gazebo shows that the robot completes the single swing motion to the target bar (x=0.75 m, y=0.15 m), and the swing efficiency reaches 75 %. Meanwhile, the robot carries out the continuous swing motion on irregularly distributed bars. Compared to evenly distributed bars, the positions of the irregularly distributed bars have changed by 0.2 m in the horizontal direction and by 0.1 m in the vertical direction. The simulation results show that the sliding-mode control and three-link structure significantly improve the robustness and swing efficiency of the brachiation robot. The direction for future work is to build the physical brachiation robot. To further verify the reliability of the controller, we will carry out the swing motion on the physical robot.
The data in this study can be requested from the corresponding author.
ZL proposed the research route and completed the first draft. GL completed the simulation experiment and data analysis. HZ completed the algorithm improvement. RW designed the brachiation robot model. CL reviewed the paper and gave constructive suggestions to improve the quality of the paper.
The contact author has declared that neither they nor their co-authors have any competing interests.
Publisher’s note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The authors express their gratitude for the financial support mentioned below.
This research has been supported by the National Key R&D Program of China (grant no. 2018YFB1304504).
This paper was edited by Peng Yan and reviewed by two anonymous referees.
Doi, M., Kojima, S., Matsuno, T., Fukuda, T., and Hasegawa, Y.: Analytical Design Method of Brachiation Controller on the Irregular Ladder, in: Proceedings of The First IEEE/RAS-EMBS International Conference on Biomedical Robotics and Biomechatronics, Pisa, Italy, 20–22 February 2006, 887–892, 2006.
Fukuda, T., Kojima, S., Sekiyama, K., and Hasegawa, Y.: Energy Efficient Swing-Back Control for Brachiation Robot, in: Proceedings of 2006 IEEE International Symposium on MicroNanoMechanical and Human Science, Nagoya, Japan, 5–8 November 2006, 1–6, 2006.
Hasegawa, Y., Fukuda, T., and Shimojima, K.: Self-scaling reinforcement learning for fuzzy logic controller-applications to motion control of two-link brachiation robot, IEEE T. Ind. Electron., 46, 1123–1131, https://doi.org/10.1109/41.807999, 1999.
Hengmin, Q., Chen, Y. C., Zhang, N., Zhang, B. J., Wang, D., and Tan, B.: Improvement of both handling stability and ride comfort of a vehicle via coupled hydraulically interconnected suspension and electronic controlled air spring, P. I. Mech. Eng., 2–3, 552–571, https://doi.org/10.1177/0954407019856538, 2020.
Ioannou, P. and Sun, J.: Robust Adaptive Control, Prentice Hall, New Jersey, America, 75 pp., 1995.
Kajima, H., Doi, M., Hasegawa, Y., and Fukuda, T.: Study on brachiation controller for the multi-locomotion robot: redesigning behavior controllers, in: Proceedings of 2003 IEEE/RSJ International Conference on Intelligent Robots and Systems, Las Vegas, NV, USA, 27–31 October 2003, Vol. 2, 1388–1393, 2003.
Kajima, H., Doi, M., Hasegawa, Y., and Fukuda, T.: Energy Based Swing Control of a Brachiating Robot, in: Proceedings of the 2005 IEEE International Conference on Robotics and Automation, Barcelona, Spain, 18–22 April 2005, 3670–3675, 2005.
Kajima, H., Hasegawa, Y., Doi, M., and Fukuda, T.: Energy-based swing-back control for continuous brachiation of a multilocomotion robot, Int. J. Intell. Syst., 21, 1025–1043, https://doi.org/10.1002/int.20174, 2006.
Meghdari, A., Lavasani, S., Norouzi, M., and Mousavi, M.: Minimum control effort trajectory planning and tracking of the CEDRA brachiation robot, Robotica, 31, 1119–1129, https://doi.org/10.1017/S0263574713000362, 2013.
Murray, R. M., Li, Z. X., and Sastry, S. S.: A Mathematical Introduction to Robotic Manipulation, CRC Press, Boca Raton, America, 171 pp., 1994.
Nakanishi, J., Fukuda, T., and Koditschek, D. E.: Preliminary studies of a second generation brachiation robot controller, in: Proceedings of International Conference on Robotics and Automation, Albuquerque, NM, USA, 25–25 April 1997, Vol. 3, 2050–2056, 1997.
Nakanishi, J., Fukuda, T., and Koditschek, D. E.: Experimental implementation of a “target dynamics” controller on a two-link brachiating robot, in: Proceedings of 1998 IEEE International Conference on Robotics and Automation, Leuven, Belgium, 20–20 May 1998, Vol. 1, 787–792, 1998.
Nguyen, K. and Liu, D.: Robust control of a brachiating robot, in: Proceedings of 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems, Vancouver, BC, Canada, 24–28 September 2017, 6555–6560, 2017.
Nguyen, K. and Liu, D.: Gibbon-inspired Robust Asymmetric Brachiation along an Upward Slope, Int. J. Control Autom. Syst., 17, 2647–2654, https://doi.org/10.1007/s12555-018-0539-2, 2019.
Saito, F., Fukuda, T., and Arai F.: Swing and locomotion control for two-link brachiation robot, in: Proceedings of IEEE Int. Conf. Robot., Atlanta, GA, USA, 2–6 May 1993, Vol. 2, 719–724, 1993.
Tashakori, S., Vossoughi, G., and Yazdi, E. A.: Geometric control of the brachiation robot using controlled Lagrangians method, in: 2014 Second RSI/ISM International Conference on Robotics and Mechatronics, Tehran, Iran, 15–17 October 2014, 706–710, 2014.
Tashakori, S., Vossoughi, G., and Yazdi, E. A.: Control of the CEDRA Brachiation Robot Using Combination of Controlled Lagrangians Method and Particle Swarm Optimization Algorithm, IJST-T. Mech. Eng., 44, 11–21, https://doi.org/10.1007/s40997-018-0245-y, 2020.
Utkin, V.: Variable structure systems with sliding modes, IEEE T. Automat. Contr., 22, 212–222, https://doi.org/10.1109/TAC.1977.1101446, 1977
Wang, M., Zhang, B. J., Chen, Y. C., Zhang, N., and Zhang, J.: Frequency-Based Modeling of a Vehicle Fitted With Roll-Plane Hydraulically Interconnected Suspension for Ride Comfort and Experimental Validation, in: IEEE Access, 8, 1091–1104, https://doi.org/10.1109/ACCESS.2019.2935260, 2020.
Wu, W. G., Huang M. C., and Gu, X. D.: Underactuated control of a bionic-ape robot based on the energy pumping method and big damping condition turn-back angle feedback, Robot. Auton. Syst., 100, 119–131, https://doi.org/10.1016/j.robot.2017.11.006, 2018.
Young, K. D., Utkin, V. I., and Ozguner, U.: A control engineer's guide to sliding mode control, IEEE T. Contr. Syst. T., 7, 328–342, https://doi.org/10.1109/87.761053, 1999.
Yu, S. H., Yu, X. H., Shirinzadeh, B., and Man, Z. H.: Continuous finite-time control for robotic manipulators with terminal sliding mode, Automatica, 41, 1957–1964, https://doi.org/10.1016/j.automatica.2005.07.001, 2005.
Zhang, J., Zhang, B. J., Zhang, N., Wang, C. Y., and Chen, Y. C.: A novel reliable robust adaptive event-triggered automatic steering control approach of autonomous land vehicles under communication delay, Int. J. Robust Nonlin., 2021, 1–29, https://doi.org/10.1002/rnc.5393, 2021.