Hostname: page-component-78c5997874-m6dg7 Total loading time: 0 Render date: 2024-11-07T18:39:35.826Z Has data issue: false hasContentIssue false

Mechanism design and dynamic switching modal control of the wheel-legged separation quadruped robot

Published online by Cambridge University Press:  22 December 2023

Jiandong Cao
Affiliation:
College of Mechanical and Vehicle Engineering, Taiyuan University of Technology, Taiyuan, 030024, China
Jinzhu Zhang*
Affiliation:
College of Mechanical and Vehicle Engineering, Taiyuan University of Technology, Taiyuan, 030024, China Engineering Research Center of Advanced Metal Composites Forming Technology and Equipment, Ministry of Education, Taiyuan, 030024, China National Key Laboratory of Metal Forming Technology and Heavy Equipment, Taiyuan, 030024, China
Tao Wang
Affiliation:
College of Mechanical and Vehicle Engineering, Taiyuan University of Technology, Taiyuan, 030024, China Engineering Research Center of Advanced Metal Composites Forming Technology and Equipment, Ministry of Education, Taiyuan, 030024, China National Key Laboratory of Metal Forming Technology and Heavy Equipment, Taiyuan, 030024, China
Jiahao Meng
Affiliation:
College of Mechanical and Vehicle Engineering, Taiyuan University of Technology, Taiyuan, 030024, China
Senlin Li
Affiliation:
College of Mechanical and Vehicle Engineering, Taiyuan University of Technology, Taiyuan, 030024, China
Miao Li
Affiliation:
College of Mechanical and Vehicle Engineering, Taiyuan University of Technology, Taiyuan, 030024, China
*
Corresponding author: Jinzhu Zhang; E-mail: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

Currently, most wheel-legged robots need to complete the switching of the wheel-and-leg modal in a stationary state, and the existing algorithms of statically switching the wheel-leg modal cannot meet the control requirements of multimodal switching dynamically for robots. In this paper, to achieve efficient switching of the wheel-and-leg modal for a quadruped robot, the novel transformable mechanism is designed. Then, a multimodal coordination operation control framework based on multiple algorithms is presented, incorporating the minimum foot force distribution method (algorithm No.1), the minimum joint torque distribution method (algorithm No.2), and the method of combining the single rigid body dynamic model with quadratic programming (algorithm No.3). In the process of switching wheel-leg modal dynamically, the existing algorithm No.3 is prone to produce the wrong optimal force due to the change of the whole-body rotational inertia. Therefore, an improved algorithm No.1 and algorithm No.2 are proposed, which do not consider the change in the body’s inertia. The control effects of the three algorithms are compared and analyzed by simulation. The results show that algorithm No.3 can maintain a small error in attitude angle and speed tracking regardless of whether the robot is under multilegged support or omnidirectional walking compared to the other two algorithms. However, proposed algorithms No.1 and No.2 can more accurately track the target speed when the robot is walking with wheels raising and falling. Finally, a multi-algorithm combination control scheme formulated based on the above control effects has been demonstrated to be effective for the dynamic switching of the wheel-and-leg modal.

Type
Research Article
Copyright
© The Author(s), 2023. Published by Cambridge University Press

1. Introduction

Compared with wheeled robots, legged robots have better mobility in high-risk and unstructured environments such as mountain reconnaissance [Reference Lee, Hwangbo, Wellhausen, Koltun and Hutter1], industrial inspection and search and rescue [Reference Bellicoso, Bjelonic, Wellhausen, Holtmann, Günther, Tranzatto, Fankhauser and Hutter2], construction inspection and monitoring [Reference Halder, Afsari, Chiou, Patrick and Hamed3], and underground cave exploration [Reference Wisth, Camurri and Fallon4], but their running speed on flat roads is limited, and the energy consumption is significant. After comprehensively considering the advantages of wheeled robots [Reference Ding, Deng, Gao, Nagatani and Yoshida5, Reference Ding, Deng, Gao, Guo, Zhang and Iagnemma6] and legged robots, mobile robot researchers worldwide have designed a new type of wheel-legged robot that combines fast wheeled driving and flexible leg walking functions [Reference Zhang, Liu, Song, Wang and Meng7Reference Li, Qin, Wang and Li9]. Currently, the main types of wheel-legged robots include wheel-legged series-connected robots and wheel-legged metamorphic robots.

The structure of the wheel-legged series-connected robots is simple, and its technology is relatively mature. The wheeled structure of this kind of robot is usually distributed at the knee joint or the end of the mechanical leg, which leads to a correlation between the wheel and leg structure. When the wheel is distributed at the end of the mechanical leg [Reference He, Sun, Yang, Sun, Xing and Gao10Reference Bjelonic, Bellicoso, de Viragh, Sako and Tresoldi12], the wheel also acts as the foot of the leg modal. During the switching process of the wheel modal to the leg modal, the wheel suddenly changes from high-speed rotation to static, which will significantly impact the robotic stability and lifetime. Meanwhile, the wheel installed at the end of the leg is easily stuck or damaged when facing special terrains such as stones and ruins conditions. When the wheel is distributed at the knee joint of the mechanical leg [Reference Chi, Jiang and Zheng13], the distribution of the wheel and the leg is not at the same height. In the process of modal switching, the height of the center of mass (CoM) must change rapidly to adapt to the wheeled height. Therefore, the robot needs to switch the wheel-leg modal after maintaining a stationary state, which will lead to low operational efficiency.

The wheel-legged metamorphic robot is a novel robot type proposed in recent years, which improves environmental adaptability by switching the wheel-and-leg motion modal. For example, Chen et al. [Reference Chen, Huang, Chen, Shen and Li14] developed a deformable robot with four wheels and four legs based on a semi-circular wheel-legged structure, which realizes wheel-leg switching through the conversion between the half-wheel and the whole wheel; Kim et al. [Reference Kim, Jung, Kim, Cho and Chu15] designed a new wheel-leg hybrid robot that can transform the wheel into a legged wheel with three legs; Liu et al. [Reference Liu, Tan, Yao and Fu16] constructed a wheel-leg deformation robot by combining two single closed chain metamorphic mechanisms into a wheel-leg movement module, which can not only walk in multilegged modal but also switch the leg modal to the wheel modal when the crank and frame are collinear; Zheng et al. [Reference Zheng, Sane, Lee, Kalyanram and Lee17] presented a new adaptive wheel-and-leg transformable robot, which can rotate the gear in the center of the wheel to cause the legs to close or remain closed in a circular shape. Due to the integration of the wheel structure and leg structure, the metamorphic robot must switch the wheel-and-leg modal in a stationary state. Meanwhile, the complex wheel-leg structure will also bring many variables, increasing the control difficulty of the stable robotic operation and reducing the robot’s operating efficiency.

Aiming at the problems of modal switching of wheel-legged robots caused by the correlation between wheel and leg structures, our team proposed a wheel-legged separation quadruped robot. From the mechanism perspective, the robotic wheel structure and leg structure are independent of each other and parallel connected at the body. Because the height of the wheel and foot of the robot is adjustable, it is easy to realize the dynamic and smooth switching of the wheel-and-leg motion modal. The novel robot is complementary to the functions of the existing wheel-legged robot.

In the switching process of the wheel-leg modal, the descent and recovery of the independent wheel module will affect the gravity position and inertia parameters of the wheel-legged robot in real time, which can easily lead to significant ground impulse and foot slip. Therefore, it is necessary to consider the influence of the multiple control algorithms on the ability of dynamic balance, the ability to track expected speed, and the ability of antiexternal interference force when controlling the walking of the robot.

In the field of wheeled-legged locomotion, international scholars have done much helpful exploration and gradually generated some multimodal coordination control methods for wheel-legged robots. In the early stages, a number of authors have proposed multi-algorithm control frameworks for wheeled-legged locomotion that can adapt to terrain variations and attitude disturbances by adjusting the posture of the body. For example, He et al. [Reference He, Sun, Yang, Sun, Xing and Gao10] proposed a terrain-adaptive control strategy for the “TAWL” wheel-legged robot consisting of contact force control, roll-and-pitch control, wheel speed allocation, steering strategy, and combined the control strategy with kinematics-based to achieve stable control of the robot in unstructured terrain. Wang et al. applied linear output regulation and model-based linear quadratic regulator to maintain the robot’s standing state on the ground. Besides, a nonlinear controller based on the interconnection and damping assignment - passivity-based control (IDA-PBC) method is exploited to control the wheel-legged robot in more general scenarios [Reference Wang, Cui, Zhang, Lai and Zhang18]. In particular, the “Max” wheel-legged robot integrates the nonlinear model predictive control (NLMPC) algorithm, quadratic programming (QP) optimization, and compliance control algorithm to achieve dual wheel rotation, balance disturbance suppression, and wheel-leg switching control [Reference Chi, Jiang and Zheng13]. Due to the lack of consideration for the simultaneous use of wheels and legs in these methods, the robot’s obstacle-crossing ability will deteriorate.

Recently, the motion planner has been presented to solve the whole-body planning problem of combining driving and stepping motions. Marko et al. [Reference Bjelonic, Sankar, Bellicoso, Vallery and Hutter19] proposed an online trajectory optimization (TO) framework for wheel-legged robots, which can operate in model predictive control (MPC) by decomposing the problem into wheel and base online TOs. The wheel online TO takes the rolling constraints of the wheels into account, while the base online TO accounts for the robot’s balance during locomotion using the idea of the zero-moment point (ZMP). The presented method enables the robot to achieve wheel-and-leg hybrid motion. Subsequently, Marko et al. [Reference Bjelonic, Grandia, Harley, Galliard and Zimmermann20] also proposed a whole-body MPC allowing for online gait sequence adaptation. The “ANYmal” wheel-legged robot can dynamically select the optimal hybrid gait to fuse wheel rolling and leg stepping without the need for any cameras or LiDAR. Meanwhile, the robot can quickly transition between rolling and gait based on the perception of the terrain by the wheels. In particular, Vivian S et al. [Reference Medeiros, Jelavic, Bjelonic, Siegwart and Meggiolaro21] presented an offline TO framework consisting of a terrain-aware planner and a terrain-aware controller that is an extension of a hierarchical whole-body controller. The framework allows the “ANYmal” wheel-legged robot to overcome challenging obstacles, such as a 30° slope, 0.5 m half-pipe, and stairs. All of the above approaches prove that the multi-algorithm combination control can better achieve multimodal coordinated control of wheel-legged robots, but these approaches are aimed at robots with wheel-legged series-connected structures.

Fortunately, we can integrate the wheel-leg structure and adopt multiple methods to solve the whole-body force distribution problem in multimodal transformation by drawing on the above ideas. The force distribution based on the virtual model control (VMC ) is an algorithm with dynamic balance [Reference Ba, Song, Shi, Wang, Ma, Wang, Yu and Yuan22] and anti-interference characteristics. Many scholars have applied virtual force and torque to the CoM and adopted analytical calculation methods such as the equally proportional distribution [Reference He, Shao, Gao, Miao, Shao and Aguilar-Ibanez23, Reference Chen, Guo, Hou and Wang24], the virtual force vector distribution [Reference Mingcheng, Liu, Zhang, Chenglong and Hongxu25], and the force distribution with increased force constraints [Reference Wang, Shi, Zha, Jiang, Wang and Li26] to achieve smooth and stable walking of the quadruped robot on slopes and rough terrain. Moreover, these methods can enable the quadruped robot to have a strong ability to resist lateral disturbances [Reference Zhang, Rong, Hui, Li and Li27, Reference Chikun, Xunwei and Lipeng28]. However, compared with all the above-mentioned algorithms, the force distribution algorithm based on the single rigid body dynamics model can calculate the optimal force to realize the precise control of trajectory tracking of the CoM by introducing the whole-body balance constraint into the QP [Reference Gu, Meng, Liu, Zhang and Sun29Reference Focchi, Prete, Havoutis, Featherstone and Caldwell32].

Due to the existing VMC force distribution algorithms based on analytical calculation not considering some factors such as ground friction, sudden force change, and foot-end output force constraints, the foot end will slip seriously on complex terrain. The force distribution algorithm based on a single rigid body dynamics model (algorithm No.3) can consider the above constraints, which are more suitable to be adapted in the robot’s omnidirectional walking and attitude transformation control. Considering that the modal switching dynamically needs to ensure that the running speed of the wheels and the legs is consistent, the robot must have good speed tracking ability when walking with the wheels out of the body. However, algorithm No.3 is prone to produce the wrong optimal force due to the influence of the change of the body’s inertia. In contrast, the force distribution algorithm based on a virtual model does not need to consider the problem of inertia change. Therefore, this paper proposes foot-end force minimization (algorithm No.1) and joint torque minimization (algorithm No.2) based on full rank decomposition and the least square method. Both algorithms belong to the VMC force distribution algorithm. In order to observe the respective advantages of the three algorithms in the walking and modal switching of the wheel-legged separation quadruped robot, they are compared and analyzed in the simulation. According to the performance of three algorithms, a complete walking control scheme of the wheel-legged separation quadruped robot will be formulated and verified by dynamically switching the wheel-leg modal.

The manuscript is organized in five sections, including this introductory section. Section 2 provides an overview of the mechanism design of the wheel-legged separation quadruped robot. Section 3 touches upon the multimodal coordination operation control framework and the specific solved process of three algorithms. Section 4 analyzes the simulation of static standing with multilegged support, omnidirectional walking, and walking with wheels raising and falling under three control algorithms. Meanwhile, a combined control scheme suitable for walking and modal switching of the wheel-legged robot is proposed according to the control advantages of the three algorithms, and this scheme has been proven to be significantly effective for the dynamic switching of the wheel-leg modal. Section 5 provides a summary of the entire work and a statement of future plans.

2. The mechanism design of the wheel-legged separation quadruped robot

The main structure of the wheel-legged separation quadruped robot consists of the leg execution module, four-link raising and falling module, front wheel steering module, rear wheel driving module, sensing module, and controller, as shown in Fig. 1(a). The four-bar raising and lowering module in Fig. 1(b) can lower or raise the front wheel steering and the rear driving module to the specified height. Its mechanical principle is to use a servo motor to drive the set of bevel gears forward and reverse to make the 2-DOF planner parallel mechanism move vertically. Moreover, we use the extendable rod to prevent the incline of the front and rear wheel modules. The front wheel steering module in Fig. 1(c) can use the steering motor to drive the linkage mechanism to complete the specified turning angle of ordinary wheels. The sensing module mainly comprises depth cameras and laser radar, which are used to provide environmental information for the robot. All types of robot equipment are powered by a 48V Li-ion battery installed on both sides. The controller uses a combination of Upboard and two STM32F446 to control all motors.

Figure 1. Machine structure of the wheel-legged separation quadruped robot. (a) Structure components of the robot. (b) Four-bar raising and falling module. (c) Front-wheel steering module.

3. Multimodal coordination control algorithm of the wheel-legged separation quadruped robot

In this section, we highlight the overview of the control architecture and critical parts of the proposed framework. The stable walking control framework of the wheel-legged separation quadruped robot is present in Fig. 2. The user inputs the desired parameters ${}^{B}{V}{_{d}^{}}\in R^{3},{}^{B}{V}{_{d}^{}}\in R^{3}$ of the CoM, which will be applied to generate the reference trajectory of the CoM. Meanwhile, $M_{s}$ is used as a switch for dynamically switching the wheel-leg modal. Assuming that the attitude of the quadruped robot is relatively stable during walking, the roll angle $\phi$ and pitch angle $\theta$ will approach 0. Therefore, the actual position ${}^{\mathrm{O}}{\boldsymbol{P}}{_{\text{com}}^{}}$ and speed ${}^{\mathrm{O}}{\boldsymbol{V}}{_{\text{com}}^{}}$ of the CoM generated by the state estimator [Reference Wang, Shi, Wang, Jiang and Yu33Reference Zhu, Yu, Huang, Kang, Kong and Ba35] can be converted to frame {B} as follows.

(1) \begin{equation} \left\{\begin{array}{c} {}^{\mathrm{B}}{\boldsymbol{P}}{_{\text{com}}^{}} = \boldsymbol{R}_{\mathrm{z}}(\psi )^{\mathrm{T}}\cdot {}^{\mathrm{O}}{\boldsymbol{P}}{_{\text{com}}^{}}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{V}}{_{\text{com}}^{}} = \boldsymbol{R}_{\mathrm{z}}(\psi )^{\mathrm{T}}\cdot {}^{\mathrm{O}}{\boldsymbol{V}}{_{\text{com}}^{}} \end{array}\right. \end{equation}

where $\boldsymbol{R}_{\mathrm{z}}\boldsymbol{(}\psi \boldsymbol{)}\in \mathrm{R}^{3\times 3}$ is the rotational matrix of the yaw angle $\psi$ .

Figure 2. The control framework of stable walking in the leg modal. $X,\dot{X},\ddot{X}$ represent the displacement, velocity, and acceleration of the planned trajectory, respectively. $\dot{\theta_{d}}$ represents the expected acceleration of the joint motor, which is solved by inverse kinematics (IK). $\tau_{s},\tau_{z}$ represent the output joint torque of the swing legs and the support legs, respectively.

For the robotic support phase control, the expected force ${}^{\mathrm{B}}{\boldsymbol{F}}{_{\text{com}}^{}}$ and torque ${}^{\mathrm{B}}{\boldsymbol{T}}{_{\text{com}}^{}}$ are calculated by combining the state estimation value and the feedback three-axis angle, which is used to maintain the body’s stability. Then, the joint torque $\boldsymbol{\tau }_{\boldsymbol{z}}$ of the support legs can be obtained by using the minimum foot-end force distribution method, the minimum torque distribution method, and the minimum force distribution method based on single rigid body dynamics. For the swing phase control, the results of combining the expected angular velocity ${}^{\mathrm{B}}{\boldsymbol{\omega }}{_{d}^{}}$ and linear velocity ${}^{\mathrm{B}}{\boldsymbol{V}}{_{d}^{}}$ with the expected body’s position ${}^{\mathrm{B}}{\boldsymbol{P}}{_{\text{com}}^{}}$ and speed ${}^{\mathrm{B}}{\boldsymbol{V}}{_{\text{com}}^{}}$ are used to plan the swing trajectory. In order to accurately track the swing trajectory, dynamics of the single leg and joint PD control are fused to obtain the joint torque of the swing legs.

3.1. Minimum foot-end force distribution method based on the center-of-mass virtual model

The minimum foot-end force distribution method is used to distribute the expected force and torque of the CoM to the foot-end force vector. Due to the contact surface between the support foot end and the ground being small, it can be assumed that there is only force and no torque. So the distributed foot-end force can be directly used as the driving force to control the supporting legs of the quadruped robot. Meanwhile, to simplify the model for mechanical analysis, assuming that the CoM of the robot is concentrated in the geometric center of the body. Through the overall static analysis of the quadruped robot, the force and torque vectors of the CoM are defined as follows:

(2) \begin{equation} \boldsymbol{F}_{\mathrm{com}}=\left[\begin{array}{c@{\quad}c@{\quad}c} {}^{\mathrm{B}}{F}{_{\text{comX}}^{}} & {}^{\mathrm{B}}{F}{_{\text{comY}}^{}} & {}^{\mathrm{B}}{F}{_{\text{comZ}}^{}} \end{array}\right]^{\mathrm{T}}\quad \boldsymbol{M}_{\mathrm{com}}=\left[\begin{array}{c@{\quad}c@{\quad}c} {}^{B}{T}{_{\text{comX}}^{}} & {}^{B}{T}{_{\text{comY}}^{}} & {}^{B}{T}{_{\text{comZ}}^{}} \end{array}\right]^{\mathrm{T}} \end{equation}

The foot-end position vector and the foot-end force vector of every leg in frame {B} are set as ${}^{\mathrm{B}}{\boldsymbol{r}}{_{i}^{}}=[\begin{array}{c@{\quad}c@{\quad}c} x_{i} & y_{i} & z_{i} \end{array}]^{\mathrm{T}}$ and ${}^{\mathrm{B}}{\boldsymbol{F}}{_{i}^{}}=[\begin{array}{c@{\quad}c@{\quad}c} {}^{\mathrm{B}}{F}{_{\mathrm{x}i}^{}} & {}^{\mathrm{B}}{F}{_{\mathrm{y}i}^{}} & {}^{\mathrm{B}}{F}{_{\mathrm{z}i}^{}} \end{array}]^{\mathrm{T}}, i\in [1,2,3,4]$ , respectively. According to the schematic diagram of the single leg mechanism in Fig. 3(b), ${}^{B}{\boldsymbol{r}}{_{i}^{}}$ can be calculated as below.

(3) \begin{equation} _{i}^{\mathrm{B}}\boldsymbol{r}=\left[\begin{array}{c} \xi \cdot \left(l_{1}\cos \theta _{1}-l_{2}\cos \theta _{2}\right)+\xi \cdot L/2\\[5pt] \xi \cdot \left(\left(l_{1}\sin \theta _{1}+l_{2}\sin \theta _{2}\right)\sin \theta _{3}\right)+\delta \cdot W/2\\[5pt] -\left(l_{1}\sin \theta _{1}+l_{2}\sin \theta _{2}\right)\cos \theta _{3} \end{array}\right] \end{equation}

where L and W are the length and width of the robotic body. $\xi$ and $\delta$ are symbolic variables, which are defined as follows.

(4) \begin{equation} \xi = \left\{\begin{array}{c} 1,\,i = 1\, \mathrm{or}\, 2\\[5pt] -1,\,i = \mathrm{3\, or\, 4} \end{array}\right. \qquad \delta = \left\{\begin{array}{c} 1,\,i = 1\,\mathrm{or}\,4\\[5pt] -1,\,i = 2\,\mathrm{or}\,3 \end{array}\right. \end{equation}

Figure 3. Illustration of whole-body coordinate systems and the single leg coordinate systems. (a) The “spring-damping” system of the CoM. (b) Single leg mechanism diagram. {F} is the fixed coordinate system of the hip joint, while {M} is its dynamic coordinate system.

According to the force and torque balance relationship of the quadruped robot, the center-of-mass balance equation of the robot can be obtained as follows.

(5) \begin{equation} \left\{\begin{array}{c} \sum\limits _{i = 1}^{n}{}^{B}{\boldsymbol{F}}{_{i}^{}} = \boldsymbol{F}_{\mathrm{com}} + \boldsymbol{G}\quad \\[10pt] \sum\limits _{i = 1}^{n}\left({}^{\mathrm{B}}{\boldsymbol{r}}{_{i}^{}}\times {}^{B}{\boldsymbol{F}}{_{i}^{}}\right) = \boldsymbol{M}_{\mathrm{com}}\quad \end{array}\right. \end{equation}

where n is the number of supporting legs. $\boldsymbol{G}$ is the gravitational compensation.

The position and attitude angle of the robotic body are adjusted through a virtual “spring-damping” system shown in Fig. 3(a). The system can be derived as below.

(6) \begin{equation} \left[\begin{array}{c} \boldsymbol{F}_{\mathrm{com}}\\[5pt] \boldsymbol{M}_{\mathrm{com}} \end{array}\right]=\left[\begin{array}{c} \boldsymbol{K}_{\mathrm{c},\mathrm{p}}\left(\boldsymbol{P}_{\mathrm{com}}^{\mathrm{d}}-{}^{\mathrm{B}}{\boldsymbol{P}}{_\mathrm{com}^{}}\right)+\boldsymbol{D}_{\mathrm{c},\mathrm{p}}\left({}^{\mathrm{B}}{\boldsymbol{V}}{_\mathrm{com}^{\mathrm{d}}}-{}^{\mathrm{B}}{\boldsymbol{V}}{_\mathrm{com}^{}}\right)\\[8pt] \boldsymbol{K}_{\boldsymbol{c},\omega }\left(\boldsymbol{\theta }_{\mathrm{com}}^{\mathrm{d}}-\boldsymbol{\theta }_{\mathrm{com}}\right)+\boldsymbol{D}_{\boldsymbol{c},\omega }\left({}^{\mathrm{B}}{\boldsymbol{\omega }}{_\mathrm{com}^{\mathrm{d}}}-{}^{\mathrm{B}}{\boldsymbol{\omega }}{_\mathrm{com}^{}}\right) \end{array}\right] \end{equation}

where ${}^{B}{\omega }{_\mathrm{com}^{}}=\left[\begin{array}{c@{\quad}c@{\quad}c} {}^{B}{\omega }{_{\mathrm{comX}}^{}} & {}^{B}{\omega }{_{\mathrm{comY}}^{}} & {}^{B}{\omega }{_{\mathrm{comZ}}^{}} \end{array}\right]^{T}$ and $\theta _{\mathrm{com}}=[\begin{array}{c@{\quad}c@{\quad}c} \phi & \theta & \psi \end{array}]^{\mathrm{T}}$ represents the attitude and angular speed vector of the CoM measured by IMU. $\boldsymbol{K}_{\mathrm{c},\mathrm{p}}= {Diag}(K_{x},K_{y},K_{\mathrm{z}}),\boldsymbol{K}_{\mathrm{c},\mathrm{d}}={Diag}(D_{x},D_{y},D_{z}),$ $\boldsymbol{K}_{c,\omega }= {Diag}(K_{\phi },K_{\theta },K_{\psi }),\boldsymbol{D}_{c,\omega }= {Diag}(D_{\phi },D_{\theta },D_{\psi })$ are adjustable factors.

Algorithm 1: Solving the minimum foot-end force through FRDWLS

For the four-legged support and the three-legged support, Eq. (5) can be rewritten into a specific matrix form as below.

(7) \begin{equation} \left[\begin{array}{c@{\quad}c@{\quad}c@{\quad}c} \boldsymbol{I}_{3} & \boldsymbol{I}_{3} & \boldsymbol{I}_{3} & \boldsymbol{I}_{3}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{r}}{_{1\times }^{}} & {}^{\mathrm{B}}{\boldsymbol{r}}{_{2\times }^{}} & {}^{\mathrm{B}}{\boldsymbol{r}}{_{3\times }^{}} & {}^{\mathrm{B}}{\boldsymbol{r}}{_{4\times }^{}} \end{array}\right]\cdot \left[\begin{array}{c} {}^{\mathrm{B}}{\boldsymbol{F}}{_{1}^{}}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{F}}{_{2}^{}}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{F}}{_{3}^{}}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{F}}{_{4}^{}} \end{array}\right] = \left[\begin{array}{c} \boldsymbol{F}_{\mathrm{com}} + \boldsymbol{G}\\[5pt] \boldsymbol{M}_{\mathrm{com}} \end{array}\right] \end{equation}
(8) \begin{equation} \left[\begin{array}{c@{\quad}c@{\quad}c} \boldsymbol{I}_{3} & \boldsymbol{I}_{3} & \boldsymbol{I}_{3}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{r}}{_{2\times }^{}} & {}^{\mathrm{B}}{\boldsymbol{r}}{_{3\times }^{}} & {}^{\mathrm{B}}{\boldsymbol{r}}{_{4\times }^{}} \end{array}\right]\cdot \left[\begin{array}{c} {}^{\mathrm{B}}{\boldsymbol{F}}{_{2}^{}}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{F}}{_{3}^{}}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{F}}{_{4}^{}} \end{array}\right] = \left[\begin{array}{c} \boldsymbol{F}_{\mathrm{com}} + \boldsymbol{G}\\[5pt] \boldsymbol{M}_{\mathrm{com}} \end{array}\right] \end{equation}

where ${}^{\mathrm{B}}{\boldsymbol{r}}{_{i\times }^{}}$ is the antisymmetric matrix of ${}^{\mathrm{B}}{\boldsymbol{r}}{_{i}^{}}=[\begin{array}{c@{\quad}c@{\quad}c} x_{i} & y_{i} & z_{i} \end{array}]^{\mathrm{T}}$ .

Subsequently, Eqs. (7)–(8) can be summarized as follows:

(9) \begin{equation} \boldsymbol{A}\cdot \boldsymbol{F} = \boldsymbol{B} \end{equation}

Since $\boldsymbol{A}$ belongs to a full rank matrix, Eq. (8) can be solved by Eq. (10) directly [Reference Roy, Singh and Pratihar36, Reference Li, Ge and Liu37] when the robot is in four-legged or three-legged support.

(10) \begin{equation} \boldsymbol{F} = \boldsymbol{A}^{\mathrm{T}}\left[\boldsymbol{A}\boldsymbol{A}^{\mathrm{T}}\right]^{-1}\cdot \boldsymbol{B} \end{equation}

For the two-legged support of the quadruped robot, assuming that legs 2,4 are used for supporting the body. Equation (5) can be rewritten as follows.

(11) \begin{equation} \left[\begin{array}{c@{\quad}c} \boldsymbol{I}_{3} & \boldsymbol{I}_{3}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{r}}{_{2\times }^{}} & {}^{\mathrm{B}}{\boldsymbol{r}}{_{4\times }^{}} \end{array}\right]\cdot \left[\begin{array}{c} {}^{\mathrm{B}}{\boldsymbol{F}}{_{2}^{}}\\[5pt] {}^{\mathrm{B}}{\boldsymbol{F}}{_{4}^{}} \end{array}\right] = \left[\begin{array}{c} \boldsymbol{F}_{\mathrm{com}} + \boldsymbol{G}\\[5pt] \boldsymbol{M}_{\mathrm{com}} \end{array}\right] \end{equation}

By comparing Eqs. (9) and (11), the rank of $\boldsymbol{A}$ can be calculated as $\text{rank}(\boldsymbol{A})=5$ . The Eq. (10) cannot be applied in Eq. (9) directly. The minimum foot-end force vector $\boldsymbol{F}$ is solved by the method of combing full rank decomposition with least squares (FRDWLS), as shown in Algorithm 1. When the number of supporting legs $k$ meets the requirements, filling $\boldsymbol{A}$ and transforming $\boldsymbol{A}$ into the simplest form of rows by using elementary row transformations. Then, selecting the maximum independent group of column vector of $\boldsymbol{A}$ to form the column-full rank matrix according to the ladder position elements in red of $\text{rref}(\boldsymbol{A})$ , shown in the purple area of Eq. (12). Taking the first $\text{rank}(\boldsymbol{A})$ rows of $\text{rref}(\boldsymbol{A})$ as a row- full rank matrix, shown in the green area of Eq. (12). Finally, the foot-end force vector can be solve by least squares.

(12)

According to the action and reaction forces, the force exerted by the foot end on the ground is opposite to $\boldsymbol{F}$ in the direction. Therefore, the joint torque of support legs can be calculated as follows.

(13) \begin{equation} \boldsymbol{\tau }_{z} = \boldsymbol{J}\cdot \left(-\boldsymbol{F}\right) \end{equation}

3.2. Minimum joint torque distribution method based on the center-of-mass virtual model

Compared with the minimum foot-end force distribution method, the minimum joint torque distribution method can directly calculate the minimum joint torque of support legs. Therefore, Eq. (9) needs to be rewritten as below.

(14) \begin{equation} \boldsymbol{\tau } = \boldsymbol{J}\cdot \left({-}\boldsymbol{F}\right) \end{equation}
(15) \begin{equation} \boldsymbol{F} = -\boldsymbol{J}^{-1}\cdot \boldsymbol{\tau } \end{equation}
(16) \begin{equation} \boldsymbol{A}\cdot \boldsymbol{J}^{-1}\cdot \boldsymbol{\tau } = -\boldsymbol{B} \end{equation}

where $\boldsymbol{J}^{-1}$ represents the inverse Jacobi matrix in the case of different supporting legs.

For the four-legged and three-legged support of the quadruped robot, the minimum joint torque vector $\boldsymbol{\tau }_{\min }$ of support legs can be obtained by Eqs. (17)–(19).

(17) \begin{equation} \boldsymbol{A}_{\mathrm{J}} = \boldsymbol{A}\cdot \boldsymbol{J}^{-1} \end{equation}
(18) \begin{equation} \boldsymbol{A}_{\mathrm{J}}\cdot \boldsymbol{\tau } = -\boldsymbol{B} \end{equation}
(19) \begin{equation} \boldsymbol{\tau }_{\min } = {\boldsymbol{A}_{\mathrm{J}}}^{\mathrm{T}}\left[\boldsymbol{A}_{\mathrm{J}}{\boldsymbol{A}_{\mathrm{J}}}^{\mathrm{T}}\right]^{-1}\cdot \left({-}\boldsymbol{B}\right) \end{equation}

However, for the two-legged support, a full rank decomposition of the matrix is necessary, and its decomposition method is the same as in Section 3.1. Assuming that the row full rank matrix and the column full rank matrix are $\boldsymbol{D}_{\mathrm{J}}\in \mathrm{R}^{6\times 5}$ and $\boldsymbol{C}_{\mathrm{J}}\in \mathrm{R}^{5\times 6}$ . The joint torque of the support legs can be solved by Algorithm 2. We describe the specific steps of the solution as follows: when the number of supporting legs meets the requirements, filling $\boldsymbol{A}_{J}$ and transforming $\boldsymbol{A}_{J}$ into the simplest form of rows by using elementary row transformations. Selecting the maximum independent group of column vector of $\boldsymbol{A}_{J}$ to form the column-full rank matrix according to the ladder position elements of $\text{rref}(\boldsymbol{A}_{J})$ . Taking the first $\text{rank}(\boldsymbol{A}_{J})$ rows of $\text{rref}(\boldsymbol{A}_{J})$ as a row-full rank matrix. Finally, the joint torque vector can be solved by least squares.

3.3. The frictional constraint of the foot-end force distribution and torque distribution

In order to avoid foot slippage, each force vector ${}^{\mathrm{B}}{\boldsymbol{F}}{_{i}^{}}$ in Section 3.1 must be inside the friction cone. The ratio of the tangential component and the normal component of the ground reaction force is defined as $\eta$ . Thus, $\eta \leq \mu$ respects the friction constraint [Reference Wang, Shi, Zha, Jiang, Wang and Li26]. The relationship of ${}^{\mathrm{B}}{\boldsymbol{F}}{_{i}^{}}$ and the centroidal force vector ${}^{B}{F}{_{\text{com}}^{}}$ can be written as follows.

(20) \begin{equation} \eta =\frac{\sqrt{{}^{\mathrm{B}}{F}{_{\text{comX}}^{2}}+{}^{\mathrm{B}}{F}{_{\text{comY}}^{2}}}}{{}^{\mathrm{B}}{F}{_{\text{comZ}}^{}}}=\frac{\sqrt{{}^{\mathrm{B}}{F}{_{ix}^{2}}+{}^{\mathrm{B}}{F}{_{iy}^{2}}}}{{}^{\mathrm{B}}{F}{_{iz}^{}}} \end{equation}

In order to linearize Eq. (20), the cone constraint is modified to an approximate quadrangular pyramid. The ratio $\eta =[n_{x},n_{y}]$ can be simplified as below.

(21) \begin{equation} \left\{\begin{array}{c} {}^{\mathrm{B}}{F}{_{ix}^{}}=\dfrac{{}^{\mathrm{B}}{F}_{\text{comX}^{}}}{{}^{\mathrm{B}}{F}{_{\text{comZ}}^{}}}{}^{\mathrm{B}}{F}{_{i\mathrm{z}}^{}}=\dfrac{\eta _{x}}{\sqrt{2}}F_{i\mathrm{z}}\\[10pt] {}^{\mathrm{B}}{F}{_{iy}^{}}=\dfrac{{}^{\mathrm{B}}{F}{_{\text{comX}}^{}}}{{}^{\mathrm{B}}{F}{_{\text{comZ}}^{}}}{}^{\mathrm{B}}{F}{_{i\mathrm{z}}^{}}=\dfrac{\eta _{y}}{\sqrt{2}}F_{i\mathrm{z}} \end{array}\right. \end{equation}

Once $\boldsymbol{F}_{\mathrm{com}}=\left[\begin{array}{c@{\quad}c@{\quad}c} {}^{\mathrm{B}}{F}{_\mathrm{comX}^{}} & {}^{\mathrm{B}}{F}{_\mathrm{comY}^{}} & {}^{\mathrm{B}}{F}{_\mathrm{comZ}^{}} \end{array}\right]^{\mathrm{T}}$ is generated by the virtual system of the CoM. The ratio $\eta$ can then be calculated. Therefore, the forward tractive force ${}^{\mathrm{B}}{F}{_{i\mathrm{x}}^{}}$ and the lateral tractive force ${}^{\mathrm{B}}{F}{_{i\mathrm{y}}^{}}$ of quadruped systems can be controlled proportionally according to the normal forces ${}^{\mathrm{B}}{F}{_{i\mathrm{z}}^{}}$ of the support foot.

Algorithm 2: Solving the minimum joint torque through FRDWLS

However, to prevent foot slippage in extreme circumstances, the frictional constraint needs to be reinforced by an antislip factor $\xi$ ( $\xi \in (0,1]$ ) as below.

(22) \begin{equation} \boldsymbol{\eta }=\left[\begin{array}{c} \eta _{\mathrm{x}}\\[5pt] \eta _{\mathrm{y}} \end{array}\right]=\left[\begin{array}{c} \min \left\{\dfrac{\sqrt{2}{}^{\mathrm{B}}{F}_{\text{comX}^{}}}{{}^{\mathrm{B}}{F}_{\text{comZ}^{}}},\xi \mu \right\}\\[17pt] \min \left\{\dfrac{\sqrt{2}{}^{\mathrm{B}}{F}_{\text{comY}^{}}}{{}^{\mathrm{B}}{F}_{\text{comZ}^{}}},\xi \mu \right\} \end{array}\right] \end{equation}

Since the minimum joint torque $\boldsymbol{\tau }_{i}$ in Section 3.2 cannot be directly constrained by the friction cone, the forward and lateral tractive forces must be recalculated as below.

(23) \begin{equation} {}^{\mathrm{B}}\boldsymbol{F}^{\prime}_{i}=\left[\begin{array}{c@{\quad}c@{\quad}c} {}^{\mathrm{B}}F^{\prime}_{i\mathrm{x}} & {}^{\mathrm{B}}F^{\prime}_{i\mathrm{y}} & {}^{\mathrm{B}}F^{\prime}_{i\mathrm{z}} \end{array}\right]^{\mathrm{T}}=\boldsymbol{J}_{i}^{-1}\boldsymbol{\tau }_{i} \end{equation}

According to Eqs. (21)∼(23), the joint torque $\boldsymbol{\tau }^{\prime}_{i}$ of the support legs can be rewritten as follows.

(24) \begin{equation} \boldsymbol{\tau }^{\prime}_{i} = \boldsymbol{J}_{i}\cdot \left[\begin{array}{c@{\quad}c@{\quad}c} \dfrac{\eta _{x}}{\sqrt{2}} & \dfrac{\eta _{y}}{\sqrt{2}} & 1 \end{array}\right]^{\mathrm{T}}{}^{B}F^{\prime}_{i\mathrm{z}} \end{equation}

3.4. Minimum force distribution method based on single-rigid body dynamic model

Although the quadruped robot is a multirigid body system, the legs are often designed to be lightweight, and the servo motors are arranged near the body. For this reason, we can reasonably simplify the control model to a single rigid body dynamics model, as shown in Fig. 4. Set ${}^{O}{\boldsymbol{f}}{_{i}^{}}=[f_{i,x},f_{i,y},f_{i,z}]^{\mathrm{T}}$ and ${}^{O}{\boldsymbol{r}}{_{i}^{}} = \boldsymbol{R}\cdot {}^{B}{\boldsymbol{r}}{_{i}^{}}$ as the foot-end force and the foot-end position vector in frame {O}, respectively. Using Newton’s second law and Euler equation, the balance equation of single rigid body of the quadruped robot can be established as follows.

(25) \begin{equation} \left[\begin{array}{c@{\quad}c@{\quad}c} \boldsymbol{I}_{3} & \cdots & \boldsymbol{I}_{3}\\[5pt] {}^{\mathrm{O}}{\boldsymbol{r}}{_{1}^{}}\times & \cdots & {}^{\mathrm{O}}{\boldsymbol{r}}{_{4}^{}}\times \end{array}\right]f = \left[\begin{array}{c} m\left({}^{\mathrm{O}}{\ddot{\boldsymbol{p}}}{_{\text{com}}^{}}-\boldsymbol{a}_{g}\right)\\[5pt] \boldsymbol{R}\left(\psi _{z}\right)\boldsymbol{I}_{G}\boldsymbol{R}\left(\psi _{z}\right)^{T}\cdot {}^{\mathrm{O}}{\boldsymbol{\alpha }}{_{\text{com}}^{}} \end{array}\right] \end{equation}

where ${}^{\mathrm{O}}{\boldsymbol{r}}{_{i}^{}}\times$ is the antisymmetric matrix of ${}^{\mathrm{O}}{\boldsymbol{r}}{_{i}^{}}$ . $\boldsymbol{I}_{G}$ is the rotational inertia of the body. $\boldsymbol{a}_{g}=[0,0,-9.8]^{\mathrm{T}}$ is the gravity vector. ${}^{\mathrm{O}}{\ddot{\boldsymbol{p}}}{_{\text{com}}^{}},{}^{\mathrm{O}}{\boldsymbol{\alpha }}{_{\text{com}}^{}}$ are the linear acceleration and angular acceleration of the CoM, respectively. Several parameters listed in Table I are used to calculate the foot-end position vector ${}^{\mathrm{O}}{\boldsymbol{r}}{_{i}^{}}$ .

Table I. Basic parameters of wheel-leg separation quadruped robot.

Figure 4. Single rigid body dynamics model.

The desired linear acceleration ${}^{\mathrm{O}}{\ddot{\boldsymbol{p}}}{_{\text{com}}^{}}$ and angular acceleration ${}^{\mathrm{O}}{\boldsymbol{\alpha }}{_{\text{com}}^{}}$ of the CoM of the quadruped robot can be translated by Eqs. (26)–(27).

(26) \begin{equation} \left[\begin{array}{c} {}^{\mathrm{O}}{\ddot{\boldsymbol{P}}}{_{\text{com}}^{}}\\[5pt] {}^{\mathrm{O}}{\boldsymbol{\alpha }}{_{\mathrm{b},\mathrm{d}}^{}} \end{array}\right] = \left[\begin{array}{c} \boldsymbol{K}_{\mathrm{cp}}\left({}^{\mathrm{O}}{\boldsymbol{P}}{_{\mathrm{c},\mathrm{d}}^{}}-{}^{\mathrm{O}}{\boldsymbol{P}}{_{\text{com}}^{}}\right) + \boldsymbol{K}_{\mathrm{cd}}\left({}^{\mathrm{O}}{\boldsymbol{V}}{_{\mathrm{c},\mathrm{d}}^{}}-{}^{\mathrm{O}}{\boldsymbol{V}}{_{\text{com}}^{}}\right)\\[5pt] \boldsymbol{K}_{\mathrm{bp}}\boldsymbol{e}\left({}_{B}^{O}{\boldsymbol{R}}{_{d}^{}}\,{}_{B}^{O}{\boldsymbol{R}}{_{}^{T}}\right) + \boldsymbol{K}_{\mathrm{bd}}\left({}^{\mathrm{O}}{\boldsymbol{\omega }}{_{\mathrm{c},\mathrm{d}}^{}}-{}^{\mathrm{O}}{\boldsymbol{\omega }}{_{\text{com}}^{}}\right) \end{array}\right] \end{equation}
(27) \begin{equation} \left\{\begin{array}{l} {}^{\mathrm{O}}{\boldsymbol{V}}{_{\mathrm{c},\mathrm{d}}^{}}=\boldsymbol{R}_{\mathrm{z}}(\boldsymbol{\psi })\cdot {}^{B}{\boldsymbol{V}}{_{d}^{}}\\[5pt] {}^{\mathrm{O}}{\boldsymbol{P}}{_{\mathrm{c},\mathrm{d}}^{k}} = {}^{\mathrm{O}}{\boldsymbol{P}}{_{\mathrm{c},\mathrm{d}}^{\mathrm{k}-1}} + {}^{\mathrm{O}}{\boldsymbol{V}}{_{\mathrm{c},\mathrm{d}}^{\mathrm{k}-1}}\cdot \Delta t\\[5pt] {}^{\mathrm{O}}{\boldsymbol{\omega }}{_{\mathrm{c},\mathrm{d}}^{}}={}_{B}^{O}{\boldsymbol{R}}{}\cdot {}^{B}{\boldsymbol{\omega }}{_{d}^{}} \end{array}\right. \end{equation}

where ${}^{\mathrm{O}}{\boldsymbol{P}}{_{\mathrm{c},\mathrm{d}}^{}},{}^{\mathrm{O}}{\boldsymbol{V}}{_{\mathrm{c},\mathrm{d}}^{}},{}^{\mathrm{O}}{\boldsymbol{\omega }}{_{\mathrm{c},\mathrm{d}}^{}}\in \mathrm{R}^{3}$ is the desired position, desired velocity, and actual angular velocity of the CoM in frame {O}. ${}^{B}{\boldsymbol{V}}{_{d}^{}}$ and ${}^{B}{\boldsymbol{\omega }}{_{d}^{}}\in \mathrm{R}^{3}$ are input by the user in Section 3. ${}_{B}^{\mathrm{O}}{\boldsymbol{R}}{_{d}^{}}\in \mathrm{R}^{3\times 3}$ is the rotational matrix of the expected attitude angle of the CoM. $\boldsymbol{K}_{\mathrm{cp}},\boldsymbol{K}_{\mathrm{cd}},\boldsymbol{K}_{\mathrm{bp}},\boldsymbol{K}_{\mathrm{bd}}\in \mathrm{R}^{3\times 3}$ are modifiable factors. $\boldsymbol{e}(^{\boldsymbol{*}})$ represents the mapping of the rotation matrix to the equivalent rotation vector, and the specific mapping equation is derived as below.

(28) \begin{equation} \varphi = {acos}\left(\frac{tr\left({}_{\mathrm{B}}^{\mathrm{O}}{\boldsymbol{R}}{_{\mathrm{d}}^{}}\,{}_{\mathrm{B}}^{\mathrm{O}}{\boldsymbol{R}}{_{}^{T}}\right)-1}{2}\right) \end{equation}
(29) \begin{equation} \boldsymbol{eR} = {}_{\mathrm{B}}^{\mathrm{O}}{\boldsymbol{R}}{_{\mathrm{d}}^{}}\,{}_{\mathrm{B}}^{\mathrm{O}}{\boldsymbol{R}}{_{}^{T}} \end{equation}
(30) \begin{equation} \boldsymbol{e}\left({}_{\mathrm{B}}^{\mathrm{O}}{\boldsymbol{R}}{_{\mathrm{d}}^{}}\,{}_{\mathrm{B}}^{\mathrm{O}}{\boldsymbol{R}}{_{}^{T}}\right) = \varphi \cdot \boldsymbol{n} \end{equation}

where $\boldsymbol{eR}$ represents the error rotation matrix between the desired attitude angle and the actual attitude angle. $\boldsymbol{n},\varphi$ are the equivalent rotation axis and the equivalent rotation angle of $\boldsymbol{eR}$ .

To slove the optimal foot-end force vector $\boldsymbol{f}$ by using QP and friction cone constraint, Eq. (25) can be simplified as $\boldsymbol{A}_{s}\boldsymbol{f} = \boldsymbol{d}$ , whose mathematical model as below.

(31) \begin{equation} \begin{array}{c} \boldsymbol{f}^{\boldsymbol{*}} = \min \left(\boldsymbol{A}_{s}\boldsymbol{f}-\boldsymbol{d}\right)^{\mathrm{T}}\boldsymbol{S}\left(\boldsymbol{A}_{s}\boldsymbol{f}-\boldsymbol{d}\right) + \boldsymbol{\alpha }\boldsymbol{f}^{\mathrm{T}}\boldsymbol{Wf} + \left(\boldsymbol{f}-\boldsymbol{f}_{\mathrm{pre}}^{\mathrm{*}}\right)^{\mathrm{T}}\boldsymbol{\beta }\left(\boldsymbol{f}-\boldsymbol{f}_{\mathrm{pre}}^{\mathrm{*}}\right)\\[5pt] \quad \quad s.t.\quad \left\| f_{\tau }\right\| \leq \mu \left\| f_{n}\right\| \\[5pt] \quad \quad 0\leq f_{i,\mathrm{z}}\leq f_{\max } \end{array} \end{equation}

where the weight matrix $\boldsymbol{S}\in \mathrm{R}^{6\times 6}$ is used to adjust the optimized results of the desired force and torque of the CoM, and the second term $\alpha \boldsymbol{f}^{\mathrm{T}}\boldsymbol{Wf}$ is used to reduce the energy consumption and the shocks of foot-ground interaction. $\boldsymbol{W}$ is the weight matrix of the energy consumption. The last term is similar to a low-pass filter to prevent sharp changes in the foot-end force. $\| f_{\tau }\| \leq \mu \| f_{n}\|$ indicates that the foot-end force must be limited to the friction cone. $f_{\tau },f_{\mathrm{n}}$ are the tangential and normal components of the foot-end force. $\boldsymbol{f}_{\mathrm{pre}}^{\mathrm{*}}$ is the optimized value of the previous solution.

The standard form of QP optimization is below.

(32) \begin{align} \min\qquad &\frac{1}{2}\boldsymbol{f}^{\mathrm{T}}\boldsymbol{H}_{1}\boldsymbol{f} + \boldsymbol{f}^{\mathrm{T}}\boldsymbol{g}_{1}\nonumber\\[5pt] s.t.\qquad &\boldsymbol{lbA}\leq \boldsymbol{Mf}\leq \boldsymbol{ubA} \end{align}

By comparing Eqs. (31) and (32), the coefficient matrix $\boldsymbol{H}_{1},\boldsymbol{g}_{1}$ can be derived as follows.

(33) \begin{equation} \left\{\begin{array}{l} \boldsymbol{H}_{1} = 2\boldsymbol{A}^{\mathrm{T}}\boldsymbol{SA} + 2\alpha \boldsymbol{W} + 2\boldsymbol{\beta }\\[5pt] \boldsymbol{g}_{1} = -2\boldsymbol{A}^{\mathrm{T}}\boldsymbol{Sd}-2\boldsymbol{\beta }\boldsymbol{f}^{\boldsymbol{*}} \end{array}\right. \end{equation}

The friction cone model of the foot-end force should theoretically satisfy $\sqrt{f_{i,x}^{2}+f_{i,y}^{2}}\leq \mu f_{i,z}$ , but the cone constraint needs to be modified to an approximate quadrilateral cone for the purpose of linearizing the inequality [Reference Focchi, Prete, Havoutis, Featherstone and Caldwell32]. The linearized friction cone can be derived as below.

(34) \begin{equation} \underset{\boldsymbol{lb}\boldsymbol{A}_{\boldsymbol{i}}}{\underbrace{\left[\begin{array}{c} -\infty \\[5pt] 0\\[5pt] -\infty \\[5pt] 0\\[5pt] f_{\min } \end{array}\right]}}\leq \underset{\boldsymbol{C}_{\boldsymbol{i}}}{\underbrace{\left[\begin{array}{c@{\quad}c@{\quad}c@{\quad}c@{\quad}c} 1 & 1 & 0 & 0 & 0\\[5pt] 0 & 0 & 1 & 1 & 0\\[5pt] -\dfrac{\sqrt{2}}{2}\mu & \dfrac{\sqrt{2}}{2}\mu & -\dfrac{\sqrt{2}}{2}\mu & \dfrac{\sqrt{2}}{2}\mu & 1 \end{array}\right]^{\mathrm{T}}}}{}^{O}{\boldsymbol{f}}{_{i}^{}}\leq \underset{\boldsymbol{ub}\boldsymbol{A}_{\boldsymbol{i}}}{\underbrace{\left[\begin{array}{c} 0\\[5pt] \infty \\[5pt] 0\\[5pt] \infty \\[5pt] f_{\max } \end{array}\right]}} \end{equation}

Based on Eqs. (31)–(34), a set of expected foot-end forces can be solved, and the specific solution process is shown in Algorithm 3. Assuming that there is no slip at the foot end, the joint torque vector $\boldsymbol{\tau }_{i}$ of the leg $i$ can be obtained by Eq. (35).

(35) \begin{equation} \boldsymbol{\tau }_{i} = -\boldsymbol{J}_{i}^{\mathrm{T}}{}_{B}^{O}{\boldsymbol{R}}{_{}^{T}}{}^{O}{\boldsymbol{f}}{_{i}^{}} \end{equation}

Algorithm 3: Solving the minimum foot-end force through the method of combing single rigid body dynamics with QP

3.5. Whole-body inertia analysis of the wheel-legged separation quadruped robot

From Eq. (25), it can be seen that the rotational inertia $\boldsymbol{I}_{\mathrm{G}}$ will affect the result of the foot-end force distribution. When the wheels fall off the body, the rotational inertia $\boldsymbol{I}_{\mathrm{G}}$ of the body will change. The rotational inertia of the whole body can be analyzed as follows.

(36) \begin{equation} h=h_{\text{init}}+0.5h_{p}\left(1-\cos\! \left(t\right)\right)+h_{l} \end{equation}
(37) \begin{equation} L_{4}=3L_{1},L_{2}=L_{3}=2L_{1} \end{equation}
(38) \begin{equation} \theta _{\mathrm{w}}=\arcsin\! \left(h_{p}/4L_{1}\right) \end{equation}
(39) \begin{equation} \omega _{1}=-\omega _{2}=\frac{d\theta _{\mathrm{w}}}{dt} \end{equation}
(40) \begin{equation} \boldsymbol{I}_{\mathrm{G}} = \boldsymbol{I}_{\mathrm{b}} + \boldsymbol{I}_{\mathrm{ef}} + \boldsymbol{I}_{\mathrm{eb}} \end{equation}
(41) \begin{equation} \boldsymbol{I}_{\mathrm{ef}}=\boldsymbol{I}_{1} + \boldsymbol{I}_{2} + \boldsymbol{I}_{3}\frac{\omega _{3}^{2}}{\omega _{1}^{2}}+\boldsymbol{I}_{4}\frac{\omega _{4}^{2}}{\omega _{1}^{2}}+\left(m_{3}\frac{v_{3}^{2}}{\omega _{1}^{2}}+m_{4}\frac{v_{4}^{2}}{\omega _{1}^{2}}+M_{f}\frac{{v_{l}}^{2}}{\omega _{1}^{2}}\right)\cdot \left[\begin{array}{c@{\quad}c@{\quad}c} 0 & & \\[5pt] & 1 & \\[5pt] & & 0 \end{array}\right] \end{equation}
(42) \begin{equation} \boldsymbol{I}_{\mathrm{eb}} = \boldsymbol{I}_{1} + \boldsymbol{I}_{2} + \boldsymbol{I}_{3}\frac{\omega _{3}^{2}}{\omega _{1}^{2}}+\boldsymbol{I}_{4}\frac{\omega _{4}^{2}}{\omega _{1}^{2}}+\left(m_{3}\frac{v_{3}^{2}}{\omega _{1}^{2}}+m_{4}\frac{v_{4}^{2}}{\omega _{1}^{2}}+M_{b}\frac{{v_{l}}^{2}}{\omega _{1}^{2}}\right)\cdot \left[\begin{array}{c@{\quad}c@{\quad}c} 0 & & \\[5pt] & 1 & \\[5pt] & & 0 \end{array}\right] \end{equation}

where $h_{\text{init}}$ is the height of the wheels from the CoM at the beginning, $h_{\mathrm{p}}$ is the travel distance of the four-bar mechanism. $h_{l},h$ are the height of the wheel fixed frame and the CoM of the body from the lower edge of the wheel, respectively, shown in Fig. 5. $\boldsymbol{I}_{b},\boldsymbol{I}_{\mathrm{ef}},\boldsymbol{I}_{\mathrm{eb}}\in \mathrm{R}^{3\times 3}$ are the rotational inertia of the body’s constant parts, the equivalent rotational inertia of the front and the rear wheels four-bar raising and lowering module, respectively. $\boldsymbol{I}_{1},\boldsymbol{I}_{2},\boldsymbol{I}_{3},\boldsymbol{I}_{4}\in \mathrm{R}^{3\times 3}$ and $\omega _{1},\omega _{2},\omega _{3},\omega _{4}$ are the inertia and angular velocity of the connecting rods $L_{1},L_{2},L_{3},L_{4}$ , respectively. The connecting links $L_{1},L_{2}$ rotate synchronously through the positive and negative rotation of bevel gears, so their rotation angles $\theta _{\mathrm{w}}$ are identical. $M_{f}$ and $M_{b}$ are the mass of front and rear assemblies and rear wheel assemblies. $m_{3}, m_{4}$ are the mass of the connecting rods $L_{3},L_{4}$ , respectively. $v_{3}$ and $v_{4}$ is the translational speed of the connecting rods $L_{3},L_{4}$ in frame {B}. $v_{l}$ is the speed of wheels raising or falling.

Figure 5. Analysis of the four-bar raising and falling module.

3.6. Swing phase control of the wheel-legged separation quadruped robot

In order to better track foot-end trajectory, a control method based on the fusion of kinetic and virtual models is used, which consists of the joint PD [Reference Rudin, Kolvenbach, Tsounis and Hutter38], the feedforward dynamics, and the feedback dynamics. The joint PD is used to calculate the virtual joint torque of the swing legs as follows:

(43) \begin{equation} \boldsymbol{\tau }_{\mathrm{PD}} = \boldsymbol{K}_{\mathrm{sp}}(\boldsymbol{\theta }_{\mathrm{d}}-\boldsymbol{\theta }) + \boldsymbol{K}_{\mathrm{sd}}(\dot{\boldsymbol{\theta }}_{\mathrm{d}}-\dot{\boldsymbol{\theta }}) \end{equation}

where $\boldsymbol{K}_{\mathrm{sp}}\in \mathrm{R}^{3\times 3}$ and $\boldsymbol{K}_{\mathrm{sd}}\in \mathrm{R}^{3\times 3}$ are the stiffness coefficient and damping coefficient, respectively. $\boldsymbol{\theta }_{\mathrm{d}}=\left[\begin{array}{c@{\quad}c@{\quad}c} \theta _{1\mathrm{d}} & \theta _{2\mathrm{d}} & \theta _{3\mathrm{d}} \end{array}\right]^{\mathrm{T}}$ represent the desired joint angle of the single leg, which is obtained by substituting the foot-end planning trajectory $\boldsymbol{\chi }_{\mathrm{d}}=[\begin{array}{c@{\quad}c@{\quad}c} x_{\mathrm{d}} & y_{\mathrm{d}} & z_{\mathrm{d}} \end{array}]^{\mathrm{T}}$ into the single-leg inverse kinematics [Reference Zhang, Li, Cao, Dou and Xiong39]. The desired joint angular velocity $\dot{\boldsymbol{\theta }}_{\mathrm{d}}$ is set as 0. $\boldsymbol{\theta }=[\begin{array}{c@{\quad}c@{\quad}c} \theta _{1} & \theta _{2} & \theta _{3} \end{array}]^{\mathrm{T}}$ and $\dot{\boldsymbol{\theta }}=\left[\begin{array}{c@{\quad}c@{\quad}c} \dot{\theta }_{1} & \dot{\theta }_{2} & \dot{\theta }_{3} \end{array}\right]^{\mathrm{T}}$ represent the feedback joint angle and angular velocity, respectively.

The dynamic model of the single leg was constructed by using the Lagrangian approach, and the specific derivation of this model was published in the previous study [Reference Zhang, Li, Cao, Dou and Xiong39]. The final dynamic model was organized in the following form.

(44) \begin{equation} \boldsymbol{\tau }_{\mathrm{f}}=M\boldsymbol{\theta }_{d}+\boldsymbol{V}\dot{\boldsymbol{\theta }}_{\mathrm{f}}+\boldsymbol{G}_{f} \end{equation}

where $\boldsymbol{M}$ indicates the inertia parameter. $\boldsymbol{V}\in \mathrm{R}^{3\times 3}$ represents the Coriolis force and centrifugal force. $\boldsymbol{G}_{f}\in \mathrm{R}^{3}$ indicates the gravity term. The specific relationship between the acceleration $\ddot{\boldsymbol{\theta }}_{\mathrm{d}}=\left[\begin{array}{c@{\quad}c@{\quad}c} \ddot{\theta }_{1\mathrm{d}} & \ddot{\theta }_{2\mathrm{d}} & \ddot{\theta }_{3\mathrm{d}} \end{array}\right]^{\mathrm{T}}$ and the expected trajectory $\boldsymbol{\chi }_{\boldsymbol{d}}$ of the foot end is as follows.

(45) \begin{equation} \ddot{\boldsymbol{\theta }}_{\mathrm{d}} = {\boldsymbol{J}_{i}}^{-1}\left(\boldsymbol{\theta }_{\mathrm{d}}\right)\cdot \left(\ddot{\boldsymbol{\chi }}_{\mathrm{d}}-\dot{\boldsymbol{J}}_{i}(\boldsymbol{\theta }_{\mathrm{d}})\cdot {\boldsymbol{J}_{i}}^{-1}\left(\boldsymbol{\theta }_{\mathrm{d}}\right)\cdot \dot{\boldsymbol{\chi }}_{\mathrm{d}}\right) \end{equation}

The joint angle $\boldsymbol{\theta }$ and velocity $\dot{\boldsymbol{\theta }}_{\mathrm{f}}$ of the feedback dynamics term are obtained from the feedback of the joint motor. The final joint torque of the swing legs is as below.

(46) \begin{equation} \boldsymbol{\tau }_{\mathrm{b}} = \boldsymbol{\tau }_{\mathrm{PD}} + \boldsymbol{\tau }_{\mathrm{f}} \end{equation}

4. Simulation and analysis

In this section, we summarize the advantages of three algorithms by setting up different simulated projects and create a multi-algorithm combination control scheme. Finally, the scheme is validated in the dynamic switching of the wheel-leg modal of the wheel-legged separation quadruped robot.

Figure 6. The change of three-axis angle and foot-end force. Foot2_Fz, and Foot4_Fz represent the Z-axis force on the foot end of legs 2, 4.

4.1. The simulation of standing with multilegged support

4.1.1. The simulation of standing with two-legged support

The stability of two-legged support strongly influences the fast walking of the robot in trot gait. In the simulation, the legs 1,3 are raised to 0.2 m, and the remaining legs are used to distribute the force and torque required to maintain the balance of the body. The robot starts with two-legged support at 3 s.

When the algorithm No.1 and No.2 do not consider the frictional constraints, they can only maintain the balance of the body for 1 s, after which the CoM of the body gradually moves away from the diagonal of the support feet and loses control, shown in Fig. 6(a). The actual effects of the two algorithms in the simulation environment are shown in Fig. 7(a)(C1) and 7(a)(C2). However, when algorithms No.1 and No.2 add the frictional constraints proposed in Section 3.3, the quadruped robot sustainably maintains static standing of two-legged support, shown in Fig. 6(c) and 6(e). The actual effects of the two algorithms are shown in Fig. 7(a)(C3). Therefore, the frictional constraint has a significant effect on maintaining body’s balance.

Figure 7. The actual effects of multilegged support under three algorithms. “IS” represents the initial state of the robot. “ST” represents that the simulation of multilegged support starts. “LB” represents that the robot is losing balance. “Always” represents that the robot can continuously be standing. The green area represents the final state of the robot under three algorithms. When the robot is supported by two feet without considering the frictional constraints, (C1) and (C2) reflect the actual effects of using algorithm No.1 and algorithm No.2, respectively. When the robot is supported by two feet with considering the frictional constraints, (C3) reflect the common actual effects of when the robot adopts algorithm No.1, No.2, and No.3 to control supporting legs. (D1), (D2), and (D3) represent the actual effects of using the algorithm No.1, No.2, and No.3, respectively, when the robot is supported by three feet, both of which have frictional constraints. (a) The actual effects of two-legged support. (b) The actual effects of three-legged support.

Algorithm No.3 also considers the friction constraints, so it can continuously maintain the sustained standing of the two-legged support, shown in Fig. 7(a)(C3). However, the Fig. 6(g) shows that algorithm No.3 can quickly maintain the stability of the pitch and yaw angles by adjusting the foot-end force. For the actual physical prototype, the center of gravity usually cannot coincide with the ideal geometric center. To make the robot stand steadily, the robot needs to independently adjust the attitude angle of its body to ensure that the CoM is always on the diagonal of the supporting feet. Hence, the roll angle of the Fig. 6(g) is is dynamically adjusted. Besides, from the perspective of foot-end force, algorithm No.3 can adjust foot force more smoothly to balance the body, as shown in Fig. 6(d), 6(f), and 6(h). That is because algorithm No.3 can distribute the optimized results of desired forces and desired torque of the CoM by setting the weight matrix $\boldsymbol{S}$ in Eq. (31). Of course, the diagonal weight value of the matrix $\boldsymbol{S}$ related to the three-axis attitude angle is adjusted to a large value, which aims to allocate enough force to stabilize the body’s attitude quickly. Therefore, algorithm No.3 is more effective for maintaining the body’s balance when the robot is in the two-legged support.

4.1.2. The simulation of standing with three-legged support

In addition to the two-legged support, the three-legged support is also commonly used in the quadruped robot. In order to observe the actual performance of three control algorithms, we conducted a simulation study on the anti-interference performance of the wheel-legged separation quadruped robot with a three-legged support.

Since the balance of the body can only be ensured when the CoM is located within the support polygon of the three legs, legs 1 and 2 are set to move inward in the initial standing state. Meanwhile, set legs 2, 3, and 4 as supporting legs to jointly bear the required force and torque for robotic balance. Leg 1 is raised to 0.2 m in the initial state of the robot. Besides, a pendulum weighing 1 kg is set to lateral interference, which starts swinging from the same height and time when controlling the robot with different algorithms. Based on the above conditions, the simulation process of the three-legged support of the robot has been carried out in Fig. 7(b), and the analysis results are as follows:

  • When algorithms No.1 and No.2 are used to control the three-legged support of the robot, the robot mainly relies on leg 4 to dynamically adjust the support polygon. After the robot is subjected to lateral interference at 2.5 s, leg 4 exhibits poor dynamic adjustment ability, so it gradually becomes strange and eventually loses control, as shown in Fig. 7(b)(D1) and (D2).

  • When algorithm No.3 is used to control the three-legged support of the robot, the position of leg 4 can be adjusted dynamically. At this point, the robotic CoM can always remain within the supporting polygon and away from the edge line, so the robot can maintain continuous standing of three-legged support, as shown in Fig. 7(b)(D3).

  • Besides, comparing the joint feedback torques of support legs under three algorithms, it can be clearly seen that algorithm No.3 can quickly adjust the joint torque to stabilize the body when the robot’s body is subjected to a lateral disturbance in 2.5 s. Meanwhile, the maximum torque after disturbance does not exceed the peak torque 35 N · m of the servo motor. However, when the other two algorithms are used to control the robot, the lateral interference can lead to joint torques of support legs exceeding the peak value, as shown in the torque feedback shadow of the three support legs in Fig. 8. Therefore, algorithm No.3 has strong anti-interference performance when the robot is supported by three legs.

As mentioned in Sections 4.2.1 and 4.2.2, Algorithm No.3 has better effects for the multilegged support of the robot.

Figure 8. The joint motor torques of support legs under three algorithms. Motor1_T, Motor2_T, and Motor3_T represent the feedback torque of the thigh, calf, and side swing motor.

4.2. The simulation of omnidirectional walking

For different algorithms, there are significant differences in the precise tracking of the robot’s expected walking speed and the maintenance of dynamic stability of the body in the leg modal. In order to observe the actual control effects of three algorithms in the rotational motion, lateral motion, forward motion, and oblique motion, we have carried out the following motion planning:

  1. 1. The robot rotates 150° at a speed of 1.5 rad/s around the axis ZB and always maintains the angle to complete the following motion planning.

  2. 2. The robot walks at an expected maximum lateral speed of 1 m/s, and the robotic speed in the axis YB changes in a sinusoidal law.

  3. 3. The robot walks at an expected maximum forward speed of 2 m/s, and the robotic speed in the axis XB changes in a sinusoidal law.

  4. 4. The robot walks at a combined velocity of an expected maximum lateral speed of −1 m/s and expected maximum forward speed of −2 m/s, and the robotic speed in the axis XB and YB changes in a sinusoidal law.

Based on the above motion planning, the actual movement situation is shown in Fig. 9(a), and the simulation results of robot motion tracking and three-axis feedback are obtained.

Figure 9. Speed tracking and change of three-axis angle under three algorithms. CoM_desire_vx and CoM_desire_vy represent the expected velocity in the XB and YB of the CoM, respectively. CoM_Vx_No.x and CoM_Vy_No.y are the actual velocity of the axis XB and YB measured by the GPS, respectively.

  • Algorithm No.1 and algorithm No.2 can accurately track the desired speed of the CoM, shown in Fig. 9(c) and (e). However, the roll and pitch angle of the body fluctuates greatly, which can easily lead to the body being out of balance, shown in Fig. 9(b) and (d).

  • Similarly, the control algorithm No.3 also has a small error in tracking the desired speed in the axis XB and axis YB, shown in Fig. 9(c) and (e). In Eq. (31), the diagonal weight value of the matrix S related to the three-axis attitude angle is set to a considerable value, which means maintaining the body’s stability is always the highest priority of control tasks when the robot walks at any speed. Therefore, algorithm No.3 enables the robot to have no more than 0.5° roll and pitch angle fluctuations, shown in Fig. 9(f).

In actual omnidirectional walking, maintaining the continuous stability of the body is the foundation for the robot to complete other motions. Therefore, algorithm No.3 is more suitable for the wheel-legged separation quadruped robot to achieve stable walking.

4.3. The simulation of walking with wheels raising and falling

Considering the need to dynamically switch between the wheel and leg modal, the simulation of walking with wheels raising and falling is performed, shown in Fig. 10. Owing to the dynamic switching of the wheel-leg modal requires that the robot can switch modal at any speed within the allowed speed range of the gait, the body’s speed in XB is set to vary in a sinusoidal pattern when the robot walks with wheels raising and falling. In order to achieve compliance control of the wheels raising and falling, Eq. (36) is used for planning the wheeled height, and the cycle t of wheels raising and falling is consistent with the change cycle of robotic speed. Based on the above-simulated settings, the robot’s speed tracking and three-axis angle changes under three algorithms are shown in Fig. 11.

Figure 10. The process of walking with wheels raising and falling. During the 0∼5 s process, the robot walks rapidly and is accompanied by a vertical descent of the wheels. After 5 s, the robot reaches its maximum speed, and the wheels descend to the bottom and come into contact with the ground. Then, within 12 s, the wheels retract to the set height of the vehicle’s body.

Figure 11. Speed tracking and change of three-axis angles under three algorithms. CoM_Vx_No.3_IC and CoM_Vx_No.3_IV represent Algorithm 3 using constant rotational inertia and varying rotational inertia, respectively. wheel_H represents the planning height of the wheels falling and raising.

  • When algorithms No.1 and No.2 are used to control the robotic walking, the desired speed in the axis XB can be tracked accurately, shown in Fig. 11(a). Besides, the roll and pitch angles of the robot fluctuate within a range of $\pm$ 2°.

  • When algorithm No.3 is adopted to control the robotic walking, the body has smaller angular fluctuations compared to the other two algorithms, shown in Fig. 11(d). However, the speed-tracking ability significantly deteriorates, as shown in Fig. 11(c). According to Eqs. (36)–(42), it is not difficult to observe that the inertia varies considerably with the wheels lifting and falling in practice. At this point, it is unreasonable for Algorithm 3 to continue using a constant inertia matrix $\boldsymbol{I}_{G}$ . When we substitute the variable rotational inertia $\boldsymbol{I}_{G}$ into algorithm No.3, the robot’s speed-tracking ability is significantly improved, and the three-axis angle of the body fluctuates within a range of ±1°, shown in Fig. 11(d).

Although the variation $\boldsymbol{I}_{G}$ can be derived theoretically, there will be a large inertia error in the physical prototype. That is because the impact of manufacturing and assembly errors on the inertia calculation in practical control must be considered. Otherwise, significant speed errors will be generated, which is very likely to lead to the robot collisions with the obstacle at high speed when dynamically switching the wheel-leg modal in some narrow space. However, algorithms No.1 and No.2 can still achieve better speed tracking without considering the influence of the change of the rotational inertia. Therefore, they are more suitable for the walking control of the robot at the wheel-leg modal switching moment.

Based on the effects of three algorithm for all simulation projects in Table II, we formulate a multi-algorithm combination control scheme as below: algorithm No.3 is suitable for applying to the omnidirectional walking and attitude transformation of the wheel-legged separation quadruped robot. When switching the wheel-leg modal dynamically, algorithms No.1 and No.2 can be used to track the target speed accurately, which does not need to consider the disturbance caused by the change of the body’s rotational inertia.

Table II. All simulated results of the wheel-leg separation quadruped robot.

4.4. The simulation of dynamically switching wheel-leg modal

A set of multi-algorithm combination control schemes has been summarized by analyzing the simulation results from Sections 4.14.3. We apply the scheme to the dynamic switching of the wheel-leg modal in the simulation. The specific process of robotic modal transformation is shown in Fig. 12.

Figure 12. The process of dynamically switching wheel-leg modal.

  1. 1. At 4 s, the robot walks with wheels falling.

  2. 2. At 5 s, the four leg execution modules of the robot detach from the ground, and the robot begins to convert the leg modal to the wheel modal.

  3. 3. At 6 s, the four leg execution modules of the robot begin to contract to the top of the body according to the planned polynomial trajectory.

  4. 4. At 7 s, the robot enters a high-speed driving modal.

  5. 5. At 8 s, the robot begins to recover the position of the four leg execution modules according to the planning polynomial trajectory.

  6. 6. At 9 s, the robot’s feet begin to come into contact with the ground for walking, and the wheels are ready to detach from the ground. The robot converts the wheel modal to the leg modal.

  7. 7. At 12 s, the robot returns to its initial state of the leg modal.

During the entire process of the above-mentioned robotic movement, the speed-tracking situation and changes in the three-axis angle are shown in Fig. 13.

Figure 13. Speed tracking and change of three-axis angles under the combined control scheme.

From Fig. 13(a), it can be seen that the wheel-legged separation quadruped robot can track the expected speed in the axis XB direction. Meanwhile, at the moment of dynamic modal switching, the actual speed of the body will experience small fluctuations and eventually recover to the expected value. After the robot switches from the wheel modal to the leg modal, there is also a small velocity fluctuation in the axis YB to maintain the stability of the robot’s yaw angle. Besides, throughout the simulation process, the roll and pitch angles of the robot’s body do not change by more than 1 ˚, shown in Fig. 13(b). The simulation results indicate that the multi-algorithm combined control scheme can enable the robot to achieve dynamic switching of the wheel-leg modal and maintain continuous stability of the body.

5. Conclusions and future work

This article presents a mechanism design scheme and a control method of switching modal dynamically for the novel wheel-legged separation quadruped robot. The overall structure of the wheel-legged robot is different from other existing wheel-legged series or metamorphic robots. Its dual-mode interchangeability is realized by a four-bar raising and falling module (see Figs. 1 and 5), which can complete the conversion between legs and wheels without static waiting according to the modal command. In order to achieve the goal of high-speed dynamic switching between wheel and leg modal, we further propose a framework of multi-algorithm combination control to achieve achieve the coordinated operation of multimodal, which includes improved algorithm No.1 and algorithm No.2 and an existing algorithm No.3. Since algorithm No.3 has been proved to have strong advantages in speed tracking and body stability [Reference Gu, Meng, Liu, Zhang and Sun29, Reference Focchi, Prete, Havoutis, Featherstone and Caldwell32], it is considered as a reference for robotica control methods.

Subsequently, in the simulation of multilegged standing and omni-directional walking, algorithm No.3 has better performance in speed tracking and attitude stability than the other two algorithms. However, in the simulation of walking with wheels raising and falling, algorithm No.3 degrade the speed tracking ability of the robot due to the change of the whole-body rotating inertia. Therefore, we propose improved algorithm No.1 and algorithm No.2, which do not need to consider the dynamic changes of the whole-body moment of inertia. All of them are different from the traditional idea of adding equation constraints and so on to complete the VMC force distribution [Reference He, Shao, Gao, Miao, Shao and Aguilar-Ibanez23Reference Wang, Shi, Zha, Jiang, Wang and Li26]. We develop a method that combines the least square method with full rank decomposition to solve the singularity problem of the force and joint torque distribution matrix in Eqs. (11) and (18), which has low computational power requirements for hardware and fast solving speed. Meanwhile, considering the possibility of foot sliding, friction constraints are established for the two algorithms. In the walking simulation with wheels raising and falling, the proposed improved algorithm No.1 and algorithm No.2 show strong speed tracking ability without being affected by the change of whole-body inertia. According to the actual performance of the three algorithms summarized in Table II, the two algorithms and the existing algorithm No.3 constitute a combined control scheme, and which has been used to perfectly realize the dynamic switching control of the wheel-and-leg modal of the quadruped robot.

Future work can be studied in the following three aspects. The first aspect is to apply the multi-algorithm combination control in dynamically switching control of the physical prototype. The second aspect is to carry out research on wheeled high-speed driving and wheel-leg compound movement [Reference Zhang, Li, Cao, Dou and Xiong39]. The third aspect is to achieve the purpose of crossing complex terrain quickly by researching the coordination of multimodal.

Author contributions

Jiandong Cao: Writing – original draft, methodology. Jinzhu Zhang: supervision, validation, writing, tutor – review and editing. Tao Wang: Supervision, validation. Jiahao Meng: Validation, software. Senlin Li: Manufacturing prototype. Miao Li: Validation, Methodology.

Financial support

This work is supported by the National Nature Science Foundation of China (Grant No. 51905367), the Central Government Guides the Special Fund Projects of Local Scientific and Technological (Grant No. YDZX20191400002149), the Fund for Shanxi “1331Project” Key Innovative Research Team.

Competing interests

All authors certify that they have no affiliations with or involvement in any organization or entity with any financial interest or nonfinancial interest in the subject matter or materials discussed in this manuscript.

Ethical approval

Not applicable.

References

Lee, J., Hwangbo, J., Wellhausen, L., Koltun, V. and Hutter, M., “Learning quadrupedal locomotion over challenging terrain,” Sci. Robot. 5(47), eabc5986 (2020).Google Scholar
Bellicoso, C. D., Bjelonic, M., Wellhausen, L., Holtmann, K., Günther, F., Tranzatto, M., Fankhauser, P. and Hutter, M., “Advances in real-world applications for legged robots,” J. Field. Robot. 35(8), 13111326 (2018).Google Scholar
Halder, S., Afsari, K., Chiou, E., Patrick, R. and Hamed, K. A., “Construction inspection & monitoring with quadruped robots in future human-robot teaming: A preliminary study,” J. Build. Eng. 65, 105814 (2023).Google Scholar
Wisth, D., Camurri, M. and Fallon, M. F., “VILENS: Visual, inertial, lidar, and leg odometry for all-terrain legged robots,” IEEE Trans. Robot. 39(1), 309326 (2021).CrossRefGoogle Scholar
Ding, L., Deng, Z., Gao, H., Nagatani, K. and Yoshida, K., “Planetary rovers” wheel–soil interaction mechanics: New challenges and applications for wheeled mobile robots,” Intell. Serv. Robot. 4(1), 1738 (2011).Google Scholar
Ding, L., Deng, Z., Gao, H., Guo, J., Zhang, D. and Iagnemma, K. D., “Experimental study and analysis of the wheels’ steering mechanics for planetary exploration wheeled mobile robots moving on deformable terrain,” Int. J. Robot. Res. 32(6), 712–43 (2013).CrossRefGoogle Scholar
Zhang, C., Liu, T., Song, S., Wang, J. and Meng, M. Q.-H., “Dynamic wheeled motion control of wheel-biped transformable robots,” Biomim. Intell. Robot. 2(2), 100027 (2022).Google Scholar
Xu, K., Lu, Y., Shi, L., Li, J., Wang, S. and Lei, T., “Whole-body stability control with high contact redundancy for wheel-legged hexapod robot driving over rough terrain,” Mech. Mach. Theory 181, 105199 (2023).CrossRefGoogle Scholar
Li, J., Qin, H., Wang, J. and Li, J., “OpenStreetMap-based autonomous navigation for the four wheel-legged robot via 3D-lidar and CCD camera,” IEEE Trans. Ind. Electron. 69(3), 27082717 (2021).CrossRefGoogle Scholar
He, J., Sun, Y., Yang, L., Sun, J., Xing, Y. and Gao, F., “Design and control of TAWL—A wheel-legged rover with terrain-adaptive wheel speed allocation capability,” IEEE/ASME Trans. Mechatron. 27(4), 112 (2022).CrossRefGoogle Scholar
Du, W., Fnadi, M. and Benamar, F., “Rolling based locomotion on rough terrain for a wheeled quadruped using centroidal dynamics,” Mech. Mach. Theory 153, 103984 (2020).CrossRefGoogle Scholar
Bjelonic, M., Bellicoso, C. D., de Viragh, Y., Sako, D. and Tresoldi, F. D., “Keep rollin’—whole-body motion control and planning for wheeled quadrupedal robots,” IEEE Robot. Autom. Lett. 4(2), 21162123 (2019).CrossRefGoogle Scholar
Chi, W., Jiang, X. and Zheng, Y., “A Linearization of Centroidal Dynamics for the Model-Predictive Control of Quadruped Robots,” In: 2022 International Conference on Robotics and Automation (ICRA) (IEEE, 2022) pp. 46564663.CrossRefGoogle Scholar
Chen, S.-C., Huang, K.-J., Chen, W.-H., Shen, S.-Y. and Li, C.-H., “Quattroped: A leg-wheel transformable robot,” IEEE/ASME Trans. Mechatron. 19(2), 730742 (2013).Google Scholar
Kim, Y.-S., Jung, G.-P., Kim, H., Cho, K.-J. and Chu, C.-N., “Wheel transformer: A wheel-leg hybrid robot with passive transformable wheels,” IEEE Trans. Robot. 30(6), 14871498 (2014).Google Scholar
Liu, C., Tan, X., Yao, Y. and Fu, Z., “Design and analysis of a novel deformable wheel-legged robot,” J. Mech. Eng. 58(3), 6574 (2022).Google Scholar
Zheng, C., Sane, S., Lee, K., Kalyanram, V. and Lee, K., α-WaLTR: Adaptive wheel-and-leg transformable robot for versatile multiterrain locomotion. IEEE Trans. Robot. 39(2), 941958 (2022).Google Scholar
Wang, S., Cui, L., Zhang, J., Lai, J. and Zhang, D., “Balance Control of a Novel Wheel-Legged Robot: Design and Experiments,” In: 2021 IEEE International Conference on Robotics and Automation (ICRA) (IEEE, 2021) pp. 67826788.Google Scholar
Bjelonic, M., Sankar, P. K., Bellicoso, C. D., Vallery, H. and Hutter, M., “Rolling in the deep - hybrid locomotion for wheeled-legged robots using online trajectory optimization,” IEEE Robot. Autom. Lett. 5(2), 36263633 (2020).Google Scholar
Bjelonic, M., Grandia, R., Harley, O., Galliard, C. and Zimmermann, S., “Whole-Body MPC and Online Gait Sequence Generation for Wheeled-Legged Robots,” In: 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (2021) pp. 83888395.Google Scholar
Medeiros, V. S., Jelavic, E., Bjelonic, M., Siegwart, R. and Meggiolaro, M. A., “Trajectory optimization for wheeled-legged quadrupedal robots driving in challenging terrain,” IEEE Robot. Autom. Lett. 5(3), 41724179 (2020).CrossRefGoogle Scholar
Ba, K.-X., Song, Y.-H., Shi, Y.-P., Wang, C.-Y., Ma, G.-L., Wang, Y., Yu, B. and Yuan, L.-P., “A novel one-dimensional force sensor calibration method to improve the contact force solution accuracy for legged robot,” Mech. Mach. Theory 169, 104685 (2022).Google Scholar
He, J. Y., Shao, J. P., Gao, B. W., Miao, B. Y., Shao, X. and Aguilar-Ibanez, C., “Suppression of quadruped robot body disturbance by virtual spring-damping model,” Complexity 2022, 112 (2022).Google Scholar
Chen, G., Guo, S., Hou, B. and Wang, J., “Virtual model control for quadruped robots,” IEEE Access 8, 140736140751 (2020).Google Scholar
Mingcheng, E., Liu, H., Zhang, X., Chenglong, F. and Hongxu, M., “Compliant gait generation for a quadruped bionic robot walking on rough terrains,” Robot 36(5), 584591 (2014).Google Scholar
Wang, P., Shi, Y., Zha, F., Jiang, Z., Wang, X. and Li, Z., “An analytic solution for the force distribution based on Cartesian compliance models,” Int. J. Adv. Robot. Syst. 16(1), 1729881419827473 (2019).Google Scholar
Zhang, G., Rong, X., Hui, C., Li, Y. and Li, B., “Torso motion control and toe trajectory generation of a trotting quadruped robot based on virtual model control,” Adv. Robot. 30(4), 284297 (2016).CrossRefGoogle Scholar
Chikun, G., Xunwei, W. and Lipeng, Y., “Control of quadruped robot based on impedance and virtual model,” J. Syst. Simul. 34(10), 2152 (2022).Google Scholar
Gu, S., Meng, F., Liu, B., Zhang, Z. and Sun, N., “Stability control of quadruped robot based on active state adjustment,” Biomimetics 8(1), 112 (2023).CrossRefGoogle ScholarPubMed
Wang, K., Zhao, H., Meng, F. and Zhang, X., “Research on the jumping control methods of a quadruped robot that imitates animals,” Biomimetics 8(1), 36 (2023).CrossRefGoogle ScholarPubMed
Qin, H., Zhu, Y., Zhang, Y. and Wei, Q., “Terrain estimation with least squares and virtual model control for quadruped robots,” J. Phys. Conf. Ser. 2203(1), 012005 (2022).CrossRefGoogle Scholar
Focchi, M., Prete, A. D., Havoutis, I., Featherstone, R. and Caldwell, D. G., “High-slope terrain locomotion for torque-controlled quadruped robots,” Auton. Robot. 41(1), 259272 (2017).Google Scholar
Wang, S., Shi, Y., Wang, X., Jiang, Z. and Yu, B., “State Estimation for Quadrupedal Using Linear Inverted Pendulum Model,” In: 2017 2nd International Conference on Advanced Robotics and Mechatronics (ICARM) (IEEE, 2017) pp. 1318.Google Scholar
Fink, G. and Semini, C., “Proprioceptive Sensor Fusion for Quadruped Robot State Estimation,” In: 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (IEEE, 2020) pp. 1091410920.CrossRefGoogle Scholar
Zhu, Q., Yu, B., Huang, Z., Kang, Y., Kong, X. and Ba, K., “State feedback-based impedance control for legged robot hydraulic drive unit via full-dimensional state observer,” Int. J. Adv. Robot. Syst. 17(3), 172988142092461 (2020).CrossRefGoogle Scholar
Roy, S. S., Singh, A. K. and Pratihar, D. K., “Estimation of optimal feet forces and joint torques for on-line control of six-legged robot,” Robot. Comput. Integr. Manuf. 27(5), 8 (2011).CrossRefGoogle Scholar
Li, Z., Ge, S. S. and Liu, S., “Contact-force distribution optimization and control for quadruped robots using both gradient and adaptive neural networks,” IEEE Trans. Neural. Netw. Learn. Syst. 25(8), 14601473 (2014).CrossRefGoogle ScholarPubMed
Rudin, N., Kolvenbach, H., Tsounis, V. and Hutter, M., “Cat-like jumping and landing of legged robots in low gravity using deep reinforcement learning,” IEEE Trans. Robot. 38(1), 317328 (2021).Google Scholar
Zhang, J., Li, M., Cao, J., Dou, Y. and Xiong, X., “Research on bionic jumping and soft landing of single leg system in quadruped robot,” J. Bionic Eng. 20(5), 20882107 (2023).Google Scholar
Figure 0

Figure 1. Machine structure of the wheel-legged separation quadruped robot. (a) Structure components of the robot. (b) Four-bar raising and falling module. (c) Front-wheel steering module.

Figure 1

Figure 2. The control framework of stable walking in the leg modal. $X,\dot{X},\ddot{X}$ represent the displacement, velocity, and acceleration of the planned trajectory, respectively. $\dot{\theta_{d}}$ represents the expected acceleration of the joint motor, which is solved by inverse kinematics (IK). $\tau_{s},\tau_{z}$ represent the output joint torque of the swing legs and the support legs, respectively.

Figure 2

Figure 3. Illustration of whole-body coordinate systems and the single leg coordinate systems. (a) The “spring-damping” system of the CoM. (b) Single leg mechanism diagram. {F} is the fixed coordinate system of the hip joint, while {M} is its dynamic coordinate system.

Figure 3

Algorithm 1: Solving the minimum foot-end force through FRDWLS

Figure 4

Algorithm 2: Solving the minimum joint torque through FRDWLS

Figure 5

Table I. Basic parameters of wheel-leg separation quadruped robot.

Figure 6

Figure 4. Single rigid body dynamics model.

Figure 7

Algorithm 3: Solving the minimum foot-end force through the method of combing single rigid body dynamics with QP

Figure 8

Figure 5. Analysis of the four-bar raising and falling module.

Figure 9

Figure 6. The change of three-axis angle and foot-end force. Foot2_Fz, and Foot4_Fz represent the Z-axis force on the foot end of legs 2, 4.

Figure 10

Figure 7. The actual effects of multilegged support under three algorithms. “IS” represents the initial state of the robot. “ST” represents that the simulation of multilegged support starts. “LB” represents that the robot is losing balance. “Always” represents that the robot can continuously be standing. The green area represents the final state of the robot under three algorithms. When the robot is supported by two feet without considering the frictional constraints, (C1) and (C2) reflect the actual effects of using algorithm No.1 and algorithm No.2, respectively. When the robot is supported by two feet with considering the frictional constraints, (C3) reflect the common actual effects of when the robot adopts algorithm No.1, No.2, and No.3 to control supporting legs. (D1), (D2), and (D3) represent the actual effects of using the algorithm No.1, No.2, and No.3, respectively, when the robot is supported by three feet, both of which have frictional constraints. (a) The actual effects of two-legged support. (b) The actual effects of three-legged support.

Figure 11

Figure 8. The joint motor torques of support legs under three algorithms. Motor1_T, Motor2_T, and Motor3_T represent the feedback torque of the thigh, calf, and side swing motor.

Figure 12

Figure 9. Speed tracking and change of three-axis angle under three algorithms. CoM_desire_vx and CoM_desire_vy represent the expected velocity in the XB and YB of the CoM, respectively. CoM_Vx_No.x and CoM_Vy_No.y are the actual velocity of the axis XB and YB measured by the GPS, respectively.

Figure 13

Figure 10. The process of walking with wheels raising and falling. During the 0∼5 s process, the robot walks rapidly and is accompanied by a vertical descent of the wheels. After 5 s, the robot reaches its maximum speed, and the wheels descend to the bottom and come into contact with the ground. Then, within 12 s, the wheels retract to the set height of the vehicle’s body.

Figure 14

Figure 11. Speed tracking and change of three-axis angles under three algorithms. CoM_Vx_No.3_IC and CoM_Vx_No.3_IV represent Algorithm 3 using constant rotational inertia and varying rotational inertia, respectively. wheel_H represents the planning height of the wheels falling and raising.

Figure 15

Table II. All simulated results of the wheel-leg separation quadruped robot.

Figure 16

Figure 12. The process of dynamically switching wheel-leg modal.

Figure 17

Figure 13. Speed tracking and change of three-axis angles under the combined control scheme.