Next Article in Journal
Fish Scale-Inspired Flow Control for Corner Vortex Suppression in Compressor Cascades
Previous Article in Journal
ACIVY: An Enhanced IVY Optimization Algorithm with Adaptive Cross Strategies for Complex Engineering Design and UAV Navigation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sliding Mode Repetitive Control Based on the Unknown Dynamics Estimator of a Two-Stage Supply Pressure Hydraulic Hexapod Robot

1
College of Mechanical and Electrical Engineering, China Jiliang University, Hangzhou 310018, China
2
State Key Laboratory of Fluid Power and Mechatronic Systems, Zhejiang University, Hangzhou 310027, China
3
School of Mechanical Engineering, Zhejiang Sci-Tech University, Hangzhou 310018, China
4
Liangxin College, China Jiliang University, Hangzhou 310018, China
5
College of Modern Science and Technology, China Jiliang University, Hangzhou 310018, China
*
Author to whom correspondence should be addressed.
Biomimetics 2025, 10(7), 472; https://doi.org/10.3390/biomimetics10070472
Submission received: 3 June 2025 / Revised: 10 July 2025 / Accepted: 15 July 2025 / Published: 18 July 2025

Abstract

Hydraulic actuated legged robots display bright prospects and significant research value in areas such as unmanned area surveying, disaster rescue, military fields, and other scenarios owing to their excellent bionic characteristics, particularly their heavy payload capabilities and high power density. To realize the all-terrain adaptation locomotion of the hydraulic hexapod robot (HHR) with a heavy payload, one alternative control framework is position–posture control based on joint position control. As the foundation for the steady locomotion of HHRs, it is imperative to realize high-precision joint position control to improve the robustness under external disturbances during the walking process and to complete the attitude control task. To address the above issues, this paper proposes a sliding mode repetitive control based on the unknown dynamics estimator (SMRC + UDE) for the knee and hip joints of the HHR with a two-stage supply pressure hydraulic system (TSS). The effectiveness of the SMRC + UDE method is verified using a simulation environment and the ZJUHEX01 prototype experimental platform, and it is compared with the results for PID and adaptive robust sliding mode control (ARSMC). The results show that SMRC + UDE may be more suitable for our HHR, considering both the control performance and efficiency factors.

1. Introduction

Currently, bionic legged robots are a hot topic for researchers in carrying out scientific research work, including for use in imitating the galloping cheetahs to obtain high-speed locomotion [1], in challenging planetary analog environment exploration [2], for climbing on ferromagnetic surfaces [3], and for completing hydraulic legged mobile manipulators tasks [4]. Compared to wheeled or tracked robots, which rely on continuous contact with the ground, legged robots, especially quadruped and hexapod robots, possess superior mobility in challenging environments and uneven terrains via dynamically adjusting their leg movements and gaits. Owing to the urgent demand for both heavy payload and high-speed locomotion, many hydraulic quadruped robots and hydraulic hexapod robots (HHRs) have been developed and applied in payload transportation and unmanned surveying, including BigDog [5] from Boston Dynamics, the HyQ [6] series from the Italian Institutes of Technology (IIT), the SCalf [4] series from Shandong University, the hydraulic quadruped robot [7] from Yanshan University, COMET-IV [8] from Chiba University, HexaTerra [9] from the National Technical University of Athens, etc.
Efficient and steady locomotion control is the key for robots to realize various functions and complete operational tasks. A bionic hierarchical control architecture for legged robots was first proposed to travel in multiple terrains by Boston Dynamics in BigDog [5], in which it was applied and further developed. The hierarchical control architecture includes top-level, middle-level, and bottom-level control, analogous to the higher, lower, and motor nerves of legged animals in nature [10]. Based on the above idea of hierarchical control, HHRs typically utilize the following two motion control frameworks to realize all-terrain adaptation locomotion. One is similar to the dynamic model-based control in quadruped robots, including virtual model control (VMC) [11], model predictive control (MPC) [12], and whole-body control (WBC) [13], which is based on active compliance control. The other is position–posture control [14], which is based on joint position control. Since HHRs usually assume static gaits, such as a tripod or quadrangular gait, position–posture control adapted to complex terrains may be a suitable alternative; thus, high-precision inner-loop joint position control is necessary.
The joint position control of hydraulic legged robots is essentially the position closed-loop control of hydraulic actuators, mainly including proportional–integral–derivative (PID) control [15], active disturbance rejection control (ADRC) [16], feedback linearization (FL) control [17], robust and sliding mode control (SMC) [18], backstepping control [19], fuzzy control [20], adaptive control [21], neural network-based control [22], H robust control [21], adaptive robust control (ARC) [23], and other control strategies. Cunha et al. [15] combined the gain algorithm with PID, and Focchi et al. [17] compared the performance of the linear quadratic regulator (LQR) controller, the feedback linearization (FL) controller, and PID in the HyQ leg prototype. Fan et al. [24] combined ADRC with the Lévy flight beetle antennae search algorithm (LBAS) to increase the robustness and control precision of a hydraulic quadruped robot. Shao et al. [25] used the self-growing Lévy flight salp swarm algorithm to find appropriate ADRC parameters and applied it in the joint system of a hydraulic quadruped robot. Zong et al. [26] proposed an ADRC strategy using double vane hydraulic rotary actuators for the hip joints of the quadruped robots to present better impact resistance ability. Zhu et al. [27] combined integral sliding mode control (ISMC) with state feedback H control in the quadruped robot hydraulic drive unit (HDU). Gao et al. [22] designed a neural network (NN) model reference decoupling controller to reduce the influence of the coupling of the hydraulically quadruped robot. Zhou et al. [28] combined ARC with a constrained trajectory planner to realize the constrained motion control of an independent metering system.
In this paper, a sliding mode repetitive control based on the unknown dynamics estimator (SMRC + UDE) is designed for the joint position control of the independent metering hydraulic driving unit (IMHDU), which is used to drive the knee and hip joints of the hydraulic hexapod robot. The periodic joint trajectory is tracked via a sliding mode repetitive controller, while the lumped uncertain dynamic characteristics can be estimated via an unknown dynamics estimator. Simulations are carried out to prove that the SMRC + UDE strategy is stable and correct. PID, ARSMC, and SMRC + UDE are compared in the prototype experiments in terms of control performance and calculation efficiency. The results indicate that the SMRC + UDE controller exhibits superior joint control performance in the HHR among the three controllers, fulfilling the dual requirement of efficiency and accuracy.
The main contribution of this paper is to develop a sliding mode repetitive control strategy based on the unknown dynamics estimator (SMRC + UDE) for the IMHDU and apply it to the knee and hip joints of a hydraulic hexapod robot. This paper is constructed as follows. Section 2 provides an overview of the HHR, including its mechanical structure, control system architecture, and onboard hydraulic system. Section 3 presents the modeling process of the HHR, including the kinematics model, IMHDU model, straight gait planning, and foot trajectory planning. Section 4 describes the design implementations of SMRC + UDE, PID, and ARSMC for comparisons. The simulations and experiments are expressed and compared in Section 5. Finally, the conclusion is presented in Section 6.

2. Overview of Hydraulic Hexapod Robot

2.1. Mechanical Structure

Bio-inspired hydraulic multi-legged robots always imitate mammals or insects in nature. Since it is a hydraulic hexapod robot (HHR), there are two ways to configure its legs. Insect-inspired legged robots usually travel using a tripod gait or other static gaits, creating greater stability margins and load capacity, owing to their low center of gravity. However, they can only gain a slow speed of movement. Other mammal-inspired legged robots can achieve high dynamic motion with high agility, with this type mainly represented by quadruped robots.
Our proposed HHR ZJUHEX01 combines the consideration of movement capability, stability, and load capacity, which takes on a mammal-inspired configuration form, as shown in Figure 1. The HHR has a size of 1.65 m (length), 1.1 m (width), and 1.5 m (height), along with a body weight around of 800 kg and more than 300 kg of extra load capacity.
The proposed HHR adopts a bionic structure design comprising six mechanical legs and a trunk. Each mechanical leg imitates a mammal leg with three degrees of freedom (DOF), including root abduction/adduction (RAA), hip flexion/extension (HFE), and knee flexion/extension (KFE). Each DOF is actuated by a hydraulic cylinder, and the two hydraulic cylinders in the vertical plane are arranged in a cross pattern. This design draws on the biomechanical principle of “proximal mass concentration” to significantly increase the angular acceleration of the swing leg by reducing the shank inertia [29]. Meanwhile, the cross pattern reduces the joint angle range compared to that of the angular hydraulic cylinder arrangement of most hydraulic quadruped robots. Instead, it increases the hydraulic cylinder’s force arm, making it more suitable for large-load task operation scenarios. Furthermore, all six mechanical legs are configured in the form of the front knee, middle, and back elbow, enabling the HHR to simultaneously gain strong motion stability and large load capacity.

2.2. Control System Architecture

As the mechanical structure of the legged robot is inspired by an animal, the control system architecture can also equally take a bionic design. To realize the HHR’s locomotion, a hierarchical control system inspired by higher animal motion control systems is established, as shown in Figure 2. The control system contains an upper-layer remote PC and a lower-layer industrial computer PXIe-8861 from National Instruments (NI). The upper layer remote PC is mainly responsible for condition monitoring, human–computer interface (HMI) interaction, and task planning. In contrast, the lower layer primarily comprises the PXIe-8861 controller, which contains a PXIe-6375 data acquisition card and a PXIe-6739 data output card. These two modules, respectively, handle multi-sensor signal acquisition and control signal output. Motion and trajectory planning of the HHR can be achieved at a 200 Hz frequency, while different control strategies can be computed at a 1000 Hz frequency in the lower layer. Owing to the coordination of the upper and lower layers, diverse motion and task functions of the HHR can be realized. More details about the control system’s operation principle and sensor specification have been illustrated in detail in the Refs. [30,31].

2.3. Onboard Hydraulic System

According to the principle of bionics, the energy supply system of a human or an animal includes an instantaneous energy system, a short-time energy system, and a long-time energy system, which generate the corresponding energy from anaerobic and aerobic metabolism, respectively. Drawing on this idea, an onboard bio-inspired two-stage supply pressure hydraulic system (TSS) is proposed in Figure 3. Specifically, a low-pressure oil source (18 MPa) with a high flow rate imitates the aerobic metabolism, which can maintain the low output power of the swing phase locomotion of the HHR. In comparison, a high-pressure oil source (6 MPa) with a low flow rate imitates anaerobic metabolism to supply the high output power of stance phase locomotion.
To meet the requirements of different pressure oil source switching, an independent metering hydraulic driving unit (IMHDU) is proposed, which is used in the knee joint and the hip joint. An independent metering system is also known as a separate meter-in and separate meter-out system (SMISMO), which eliminates the coupling relationship between the inlet and outlet ports of the two chambers of the hydraulic actuator and improves the degree of freedom of the system control compared with that of the traditional valve control system. In this way, hydraulic oil of different pressures can be fed into different chambers of each hydraulic cylinder to achieve energy-efficient locomotion. Specifications of the TSS schematic are illustrated in detail in Ref. [31].

3. HHR System Modeling

3.1. Kinematic Modeling

Kinematic modeling is fundamental to motion control. For Leg 1 (left front leg), for instance, the geometric structure of the HHR single leg is shown in Figure 4. In the figure, L 0 , L 1 , and L 2 are the leg geometry parameters; a 0 , b 0 , a 1 , b 1 , a 2 , b 2 , e 11 , e 12 , e 21 , and e 22 are the cylinder mounting position parameters; θ 0 , θ 1 , and θ 2 are the joint angles of the root, hip, and knee, respectively.
According to the geometric relationship, the relationship between the length of the hydraulic cylinders and the joint angles can be shown as follows.
c 0 = a 0 2 + b 0 2 + 2 a 0 b 0 cos ( θ 0 e 01 e 02 ) = c 00 + x p r c 1 = a 1 2 + b 1 2 + 2 a 1 b 1 cos ( θ 1 e 11 + e 12 ) = c 10 + x p h c 2 = a 2 2 + b 2 2 + 2 a 2 b 2 cos ( θ 2 e 21 + e 22 ) = c 20 + x p k
where c 0 , c 1 , and c 2 represent the length of the hydraulic cylinders in the root, hip, and knee joint, respectively; c 00 , c 10 , and c 20 show the initial length of the hydraulic cylinders in the root, hip, and knee joint, respectively; x p r , x p h , and x p k represent the displacement of the hydraulic cylinder piston in the root, hip, knee joint, respectively.
The coordinate system of the single leg HHR is also shown in Figure 4c, in which { S 1 } , { O 10 } , { O 11 } , { O 12 } , and { O 13 } represent the leg base coordinate system, the root joint coordinate system, the hip joint coordinate system, the knee joint coordinate system, and the foot joint coordinate system, respectively. Using the Denavit–Hartenberg (D–H) method, the forward kinematics and inverse kinematics models are developed below:
P ( θ ) = L 1 sin θ 1 L 2 sin ( θ 1 + θ 2 ) ( L 0 + L 1 cos θ 1 + L 2 cos ( θ 1 + θ 2 ) ) sin θ 0 ( L 0 + L 1 cos θ 1 + L 2 cos ( θ 1 + θ 2 ) ) cos θ 0 = P x P y P z
θ 0 = arctan P y P z θ 1 = arccos L 1 2 L 2 2 + L 2 + P x 2 2 L 1 L 2 + P x 2 arctan P x L θ 2 = π arccos L 1 2 + L 2 2 L 2 P x 2 2 L 1 L 2
where P ( θ ) is the foot position in the root joint coordinate system, and L = P y 2 + P z 2 L 0 .

3.2. Independent Metering Hydraulic Driving Unit Modeling

Compared with the traditional valve-controller system, the IMHDU can separate the controls of the meter-in and meter-out orifices, which will increase the valve’s flexibility and the system’s energy efficiency. Considering the working conditions of different phases and leg configurations, both the hip and knee joints utilize IMHDU as the driving unit, while the root joint uses the traditional valve-controller system, as is shown in Figure 3. The simplified knee joint IMHDU model is established in Figure 5.
The pressure dynamics of the cylinder chambers, ignoring leakage, are derived by
V 1 β e P ˙ 1 = Q 1 A 1 x ˙
V 2 β e P ˙ 2 = Q 2 + A 2 x ˙
where P 1 and P 2 are the hydraulic cylinder pressure without the rod and with the rod, respectively; V 1 = V t 1 + A 1 x , V 2 = V t 2 A 2 x , V 1 , and V 2 are the hydraulic cylinder volume without the rod and with the rod, respectively; x represents the displacement of the hydraulic cylinder piston in the hip ( x p h ) and knee joint ( x p k ), respectively; V t 1 is the volume of the cavity between the valves and the hydraulic cylinders without the rod in the initial position; V t 2 is the volume of the cavity between the valves and the hydraulic cylinders with the rod in the initial position; Q 1 is the flow entering into the cylinder chamber without the rod; Q 2 is the flow leaving the cylinder chamber with the rod; A 1 and A 2 are the hydraulic cylinder areas without the rod and with the rod, respectively; β e is the bulk modulus of hydraulic oil.
Nonlinear functions are defined as
g v 1 ( P 1 , s i g n ( u i ) ) = P s 2 P 1 , u i 0 P 1 P r , u i < 0
g v 2 ( P 1 , s i g n ( u i ) ) = P s 1 P 1 , u i 0 P 1 P r , u i < 0
g v 3 ( P 2 , s i g n ( u i ) ) = P s 1 P 2 , u i 0 P 2 P r , u i < 0
where P s 1 and P s 2 are the low supply pressure and the high supply pressure; P r is the oil tank pressure; u i is the input voltage of the directional control valves.
A linear relationship between the input signal and the valve opening can be established. Thus, the flow functions can be written as
Q v 1 = k q g v 1 ( P 1 , s i g n ( u 1 ) ) u 1
Q v 2 = k q g v 2 ( P 1 , s i g n ( u 2 ) ) u 2
Q v 3 = k q g v 3 ( P 2 , s i g n ( u 3 ) ) u 3
Q 1 = Q v 1 + Q v 2 Q 2 = Q v 3
where Q v 1 , Q v 2 , and Q v 3 are the flow rate of three directional control valves V v 1 , V v 2 , and V v 3 , respectively; k q is the valve’s flow gain coefficient.
The dynamics model of the hydraulic cylinder can be written as
F c y l = A 1 P 1 A 2 P 2
F c y l F L F f B p x ˙ + Δ = M x ¨
where F c y l is the hydraulics cylinder output force; F L is the load force; B p is the viscous coefficient; M is the mass load; F f is the hydraulic cylinder friction force based on the Stribeck friction model, which can be estimated in the Ref. [32]; Δ is a concentrated uncertain nonlinearity of the system due to external disturbances, unmodeled friction, and difficult-to-model components.
As three valves are connected to a hydraulic cylinder to form an IMHDU, a proper valve configuration, shown in Table 1, is assumed to be given in case of conflicts. Owing to the foot force sensors installed on the robot’s feet, the ground reaction force (GRF) G F will be gained to easily distinguish whether the leg is in the stance phase or the swing phase. In the conventional one-stage supply pressure hydraulic system (OSS), only high pressure can be supplied, whether the leg is in the stance phase or the swing phase, which results in significant throttling loss in the low-load swing phase. On the contrary, in the TSS and IMHDU methods proposed, high-pressure and low-pressure can be switched appropriately according to the valve configuration; thus, the throttling loss will be significantly reduced, and energy will be saved.

3.3. Straight Gait Planning

Hexapod robots mimic the movement of multi-legged creatures, which can adopt multiple gaits, responding to different tasks and environments. The main periodic gaits of the hydraulic hexapod robot include the tripod, quadrangular, and pentagonal gaits. The most apparent difference between the three gaits is the number of stance legs and the duration of the stance legs. With the increase in the number of legs in the stance phase, the load capacity and the stability will also increase, while the locomotion speed will decrease. Thus, to balance the above three factors, the tripod and quadrangular gaits are mainly illustrated.
The duty factor ( β ) is the time fraction of a cycle when a particular leg is in the stance phase [33]. The duty factor can be written as
β = t s t T c y c l e = t s t t s t + t s w
where T c y c l e is the duration of a gait cycle; t s t and t s w are the duration when a particular leg is in the stance phase and the swing phase in a gait cycle.
The duty factors of the tripod and quadrangular gaits are 1/2 and 2/3, respectively. The time sequence diagram of the hydraulic hexapod robot walking forward in the typical tripod and quadrangular gaits is shown in Figure 6. The shadowed area indicates that the particular leg is in the stance phase, while the white component represents the swing phase.

3.4. Foot Trajectory Planning

A suitable foot trajectory affects the speed and stability of robot locomotion. To realize the precise joint motion of the robot, it is necessary to fully consider the constraints of the robot’s feet to meet the requirements of trajectory smoothness and the continuity of velocity and acceleration. A sixth-order polynomial fitting curve is utilized to plan the foot trajectory, thereby reducing the impact of the foot when the phase is switching. The foot trajectory in the XZ plane is shown in Figure 7, where the HHR forward direction is from right to left. The parameters and the constraints of the foot trajectory can be seen in Ref. [30].

4. Highly Accurate Joint Position Controller Design

4.1. Problem Statement

A suitable locomotion control strategy is the key to smooth HHR motion. To realize the all-terrain adaptation locomotion of the HHR, one alternative control framework consists of position–posture control based on joint position control. Meanwhile, considering the characteristics of heavy load capacity (over 300 kg) when the HHR is walking on flat and structured ground, it is a natural idea to propose a highly accurate joint position controller with high stiffness to cope with external disturbances and shocks. It is a significant challenge for the controller design to deal with the time-variant joint load forces, nonlinearities in the hydraulic cylinders, uncertainties in the system model and parameters, shocks and vibrations from external disturbances, etc. Thus, in this section, three controllers are proposed and compared to realize highly accurate joint position control, including the proportional–integral–derivative (PID) controller, the adaptive robust sliding mode controller (ARSMC), and the sliding mode repetitive controller based on the unknown dynamic estimator (SMRC + UDE).

4.2. PID Controller

A PID controller can be described as
u p i d = k p e + k i e d t + k d d e d t
u 1 = u 2 = u p i d u 3 = u p i d
where e is the joint angle tracking error, e = θ d θ , θ d is the reference angle, and θ is the actual angle; k p , k i , and k d are the proportional gain, integral gain, and derivative gain, respectively; u 1 , u 2 , and u 3 are the control voltage of valve V v 1 , V v 2 , and V v 3 , respectively.

4.3. Adaptive Robust Sliding Mode Controller

Adaptive robust control (ARC) is a control method that combines the advantages of adaptive control and robust control [34]. In the case of parameter uncertainty, the transient and steady-state errors can be controlled within a set of ranges through high-gain feedback. Combined with the sliding mode control (SMC) to form an adaptive robust sliding mode control (ARSMC), the original complex backstepping design process will be simplified to a feedback controller and sliding manifold design. The schematic of the ARSMC is illustrated in Figure 8.
According to Table 1, when the HHR is in the stance phase or swing phase, the corresponding valves will be configured. Assuming the leg is in the stance phase, only valve V v 1 and V v 3 are working; therefore, the control voltage u 1 and u 3 need to be designed. When the leg is in the swing phase, the control voltage u 2 and u 3 can be calculated similarly.
Based on Equations (4)–(14), the hydraulic cylinder dynamics can be written as
V 1 β e P ˙ 1 = Q 1 A 1 x ˙ V 2 β e P ˙ 2 = Q 2 + A 2 x ˙ F c y l F L F f B p x ˙ + Δ = M x ¨ F c y l = A 1 P 1 A 2 P 2
Assuming that
Q 1 = Q ˜ 1 m + Q 1 m Q 2 = Q ˜ 2 m + Q 2 m
where Q 1 m and Q 2 m are the nominal flow rate; Q ˜ 1 m and Q ˜ 2 m are the approximation error.
In general, the system is subjected to parametric uncertainties due to a lack of complete information. Thus, a set of parameters are defined as θ = [ θ m , θ d , θ 1 m , θ 2 m , θ β e , θ B p ] T , θ m = M , θ d = F L + F f , θ 1 m = β e Q ˜ 1 m , θ 2 m = β e Q ˜ 2 m , and θ β e = β e , θ B p = B p . Let θ ^ denote the estimate of θ , and θ ˜ the estimation error (i.e., θ ˜ = θ ^ θ ).
Equation (18) can be rewritten as
x ¨ = 1 θ m ( P 1 A 1 P 2 A 2 θ B p x ˙ θ d + Δ ) P ˙ 1 = θ β e V 1 ( Q 1 m A 1 x ˙ + θ 1 m θ β e ) P ˙ 2 = θ β e V 2 ( A 2 x ˙ Q 2 m θ 2 m θ β e )
Assumption 1. 
Parametric uncertainties and uncertain nonlinearities satisfy
θ Ω θ θ : θ min < θ < θ max Δ δ d
where  θ min , θ max , and  δ d are known.
Firstly, the motion controller input u 1 can be designed as follows.
Define the tracking error as
e 0 = ( x x d ) d t e 1 = x x d e 2 = x ˙ x ˙ d e 3 = x ¨ x ¨ d
An integral sliding manifold can be chosen as
s = k 0 e 0 + k 1 e 1 + k 2 e 2 + e 3
where k 0 , k 1 , and k 2 can be chosen such that the polynomial s 3 + k 2 s 2 + k 1 s + k 0 is Hurwitz.
A positive semi-definite Lyapunov function can be chosen as
V a 1 = 1 2 θ m s 2
The derivative V a 1 can be expressed as
V ˙ a 1 = s [ ( A 1 θ β e V 1 Q 1 m A 1 2 θ β e V 1 x ˙ A 2 P ˙ 2 + A 1 θ 1 m V 1 θ B p x ¨ θ ˙ d + Δ )   θ m x d + θ m ( k 0 e 1 + k 1 e 2 + k 2 e 3 ) ]
Now, design a virtual control law for Q 1 m as
Q 1 m = Q 1 m a + Q 1 m s = Q 1 m a + Q 1 m s 1 + Q 1 m s 2
Q 1 m a = V 1 A 1 1 θ ^ β e [ A 1 2 θ ^ β e V 1 x ˙ + A 2 P ˙ 2 A 1 V 1 θ ^ 1 m + θ ^ B p x ¨ + θ ^ m x d θ ^ m ( k 0 e 1 + k 1 e 2 + k 2 e 3 ) ]
Q 1 m s 1 = V 1 A 1 1 θ β e min s
Q 1 m s 2 = ρ 1 s i g n ( s )
where Q 1 m a is the adaptive model compensation term; Q 1 m s 1 is the linear robust feedback term; Q 1 m s 2 is the nonlinear robust term, and ρ 1 ρ 01 = V 1 A 1 1 θ β e min θ ˙ d + Δ max .
Thus, Equation (25) can be rewritten as
V ˙ a 1 = θ β e θ β e min s 2 [ A 1 θ β e V 1 ρ s ( θ ˙ d + Δ ) s ] ϕ T θ ˜ s
where ϕ = [ x d + ( k 0 e 1 + k 1 e 2 + k 2 e 3 ) , 0 , A 1 V 1 , 0 , A 1 2 V 1 x ˙ + A 1 V 1 Q 1 m a , x ¨ ] T , τ = ϕ s .
The adaptive law can be written as
θ ^ ˙ = Proj θ ^ ( Γ τ )
Proj θ ^ i ( · i ) = 0 ,   i f θ ^ i = θ i max   a n d · i > 0 0 ,   i f θ ^ i = θ i min   a n d · i < 0 · i ,   o t h e r w i s e
where Γ is a diagonal positive definite matrix; θ i max is the maximum value of the adaptive parameters; θ i min is the minimum value of the adaptive parameters.
Another positive semi-definite Lyapunov function combined with the adaptive law can be chosen as
V A 1 = V a 1 + 1 2 θ ˜ T Γ 1 θ ˜ = 1 2 θ m s 2 + 1 2 θ ˜ T Γ 1 θ ˜
The derivative V A 1 can be expressed as
V ˙ A 1 = V ˙ a 1 + θ ^ ˙ T Γ 1 θ ˜   = θ β e θ β e min s 2 [ A 1 θ β e V 1 ρ s ( θ ˙ d + Δ ) s ] + θ ˜ ( θ ^ ˙ T Γ 1 ϕ T s )   0
Thus, the designed controller is stable. Ignoring the dynamics of the valves, the control voltage u 1 can be calculated as follows:
u 1 = u a r s m c 1 = Q 1 m k q g v 1 ( P 1 , s i g n ( u 1 ) )
Secondly, the control voltage u 3 can be designed similarly as follows:
u 3 = u a r s m c 3 = Q 2 m k q g v 3 ( P 2 , s i g n ( u 3 ) )
where Q 2 m is a virtual control law analogous to Q 1 m .
With the designed control voltage u 1 and u 3 , the closed-loop system of IMHDU is stable, according to Lasalle’s invariant principle.

4.4. Sliding Mode Repetitive Controller Based on Unknown Dynamics Estimator

Although ARSMC has the advantages of higher accuracy and robustness, the shortcomings related to the huge amount of computation required are constantly revealed during the algorithm deployment in the experiments. Based on the TSS proposed in this paper, if the online calculation needs to be performed on six legs, with a total of 36 valves (except for the six root joint valves), the CPU will be occupied so heavily that it is difficult to run other algorithms subsequently.
As a result, a new idea was born. Why must we explicitly estimate all the unknown model parameters and uncertainties? The essence of the controller design is to improve control accuracy, not to calculate all unknown quantities. Suppose that the unknown model parameters and uncertainties are estimated as a whole and applied as an equivalent nonlinear compensation in the control voltage. Will the accuracy also be improved, to some extent?
For this reason, a sliding mode repetitive control based on the unknown dynamics estimator (SMRC + UDE) is proposed to track the periodic joint trajectory and improve the control accuracy. On the one hand, the unknown dynamics estimator (UDE) deals with the lumped uncertain dynamic characteristics, such as the nonlinear and unmeasurable dynamics that cannot be modeled. On the other hand, considering the regular gait’s periodicity and the joint trajectory’s repetitiveness, the advantages of the repetitive control (RC) are combined with those of the proposed controller to form a sliding mode repetitive controller (SMRC). The schematic of the SMRC + UDE is illustrated in Figure 9.
Firstly, a sliding mode control based on the unknown dynamics estimator (SMC + UDE) is proposed to realize accurate joint trajectory tracking. Similarly, the case of the stance phase is considered. The control voltage u 1 and u 3 are designed as follows.
Firstly, the motion controller input u 1 can be designed as follows:
Define the state variables x = [ x 1 , x 2 , x 3 , x 4 ] T = [ x , x ˙ , x ¨ , F c y l ] T , and let d = F L + F f Δ ; the entire system can be expressed in a state-space form as
x ˙ 1 = x 2 x ˙ 2 = x 3 = g 1 x 4 + f 1 g 1 d x ˙ 3 = g 1 ( g 21 u 1 + f 21 A 2 P ˙ 2 ) + f ˙ 1 g 1 d ˙
where a set of new parameters can be defined as
f 1 = B p M x ˙ g 1 = 1 M f 2 = A 1 2 V 1 + A 2 2 V 2 β e x ˙ f 21 = A 1 2 V 1 β e x ˙ f 22 = A 2 2 V 2 β e x ˙ g 2 = A 1 V 1 g v 1 ( P 1 , s i g n ( u 1 ) ) + A 2 V 2 g v 3 ( P 2 , s i g n ( u 3 ) ) β e k q g 21 = A 1 V 1 g v 1 ( P 1 , s i g n ( u 1 ) ) β e k q g 22 = A 2 V 2 g v 3 ( P 2 , s i g n ( u 3 ) ) β e k q
In Ref. [30], a high-order sliding mode differentiator (HOSMD) is proposed to gain the joint angular velocity and acceleration. Thus, the HOSMD can also be utilized to observe the state variables x 2 and x 3 . Define the new state variables as z 0 = x 1 , z i = z ˙ i 1 , i = 1 , 2 . The system state equations can be written in a Brunovsky canonical form.
z ˙ 0 = z 1 z ˙ 1 = z 2 z ˙ 2 = g 1 ( g 21 u 1 + f 21 A 2 P ˙ 2 ) + f ˙ 1 g 1 d ˙ = ζ 1 ( x 2 , x 3 ) + p 1 u 1
where ζ 1 ( x 2 , x 3 ) is the unknown lumped dynamics, ζ 1 ( x 2 , x 3 ) = g 1 f 21 g 1 A 2 P ˙ 2 + f ˙ 1 g 1 d ˙ ; p 1 = g 1 g 21 .
Assumption 2. 
The derivative of the system unknown lumped dynamics is bounded.
sup t 0 ζ ˙ 1 ƛ , ƛ > 0
This assumption is the same as that required in the designs of ESO in ADRC [16], which can be fulfilled in practice.
Considering Equation (39), a first-order low-pass filter can be used to smooth the variables z 2 and u 1 as
T s z ˙ 2 f + z 2 f = z 2 , z 2 f ( 0 ) = 0 T s u ˙ 1 f + u 1 f = u 1 , u 1 f ( 0 ) = 0
where T s > 0 is the designed filter parameter.
Lemma 1. 
Considering the system Equation (39) and the filter Equation (41), let an auxiliary variable β = ( z 2 z 2 f ) T s p 1 u 1 f ζ 1 be bounded and decrease to a small residual set exponentially for T s > 0 Hence, the manifold β = 0 is an invariant manifold for T s 0 .
β = ( z 2 z 2 f ) T s p 1 u 1 f ζ 1 = 0
The proof of Lemma 1 is given in Appendix A. Hence, the unknown lumped dynamics ζ 1 can be estimated as
ζ 1 = ( z 2 z 2 f ) T s p 1 u 1 f
Similarly, the tracking error and the integral sliding manifold can be chosen as Equations (22) and (23).
Another positive semi-definite Lyapunov function can be chosen as
V s 1 = 1 2 s 2
The derivative V s 1 can be expressed as
V ˙ s 1 = s s ˙ = s ( k 0 e 1 + k 1 e 2 + k 2 e 3 + e ˙ 3 ) = s ( k 0 e 1 + k 1 e 2 + k 2 e 3 + ζ 1 + p 1 u 1 x d )
The control voltage u 1 of SMC + UDE can be designed as
u 1 = u s m c + u d e 1 = ( k 0 e 1 + k 1 e 2 + k 2 e 3 + ζ 1 x d ) p 1 ρ s i g n ( s )
where ρ ρ 0 > 0 .
Thus
V ˙ s 1 = ρ s 0
Similarly, the control voltage u 3 of SMC + UDE can be designed as
u 3 = u s m c + u d e 3 = ( k 0 e 1 + k 1 e 2 + k 2 e 3 + ζ 3 x d ) p 3 ρ s i g n ( s )
where p 3 = g 1 g 22 .
With the designed control voltage u 1 and u 3 , the closed-loop system of IMHDU is stable according to Lasalle’s invariant principle. As the changes in the model parameters are considered as the unknown lumped dynamics, when it comes to the experiments, we only need to tune the controller parameters k 0 , k 1 , k 2 , β , and the estimator parameter T s to proper values to maintain the robustness.
Secondly, considering the repetitive and periodic characteristics of the joint trajectories, combining the advantages of repetitive control (RC) can improve its control performance. The schematic RC is illustrated as a part of SRMC + UDE in Figure 9.
The transfer function from u r c to the error e is shown as follows:
G r c ( s ) = Q ( s ) e L s G P I D ( s ) C ( s ) 1 Q ( s ) e L s
where G r c ( s ) is the transfer function from position error e to RC output u r c ; Q ( s ) is the compensation term to ensure system stability, which is always chosen as a constant of nearly 1 or a low-pass filter; e L s is the time delay element, L is the delay time, which can be chosen consistent with the control frequency; G P I D ( s ) is the transfer function of the PID controller; C ( s ) is the stabilization compensation term for the amplitude and phase correction of the controller.
Overall, the final control voltage u 1 and u 3 of SMRC + UDE can be written as follows:
u 1 = u s m r c + u d e 1 = u s m c + u d e 1 + u r c
u 3 = u s m r c + u d e 3 = u s m c + u d e 3 + u r c
Also, when the leg is in the swing phase, the control voltage u 2 and u 3 can be calculated similarly.

5. Simulation and Experiment

Two error indices are used to evaluate the control responses of different controllers and analyze the control performance quantitatively.
  • The maximum value of the absolute error (MAXE).
MAXE = max θ d ( i ) θ ( i )
2.
The root mean square error (RMSE).
RMSE = 1 N i = 1 N θ d ( i ) θ ( i ) 2
where θ d is the reference angle; θ is the actual angle; i is the ith data of the angles.

5.1. MATLAB Simulink and ADAMS Co-Simulation

A co-simulation model based on MATLAB Simulink (R2017a) and ADAMS 2015 is established to verify the validity of the proposed controllers. As is shown in Figure 10, the control system and the hydraulic system are established in MATLAB/Simulink, while the mechanical structure is built in ADAMS. This co-simulation model integrates the advantages of numerical simulation and the characteristics of the HHR dynamics model, which will provide a realistic simulation of the hydraulic dynamics and control performance. The details of different components in the co-simulation model are shown in Ref. [30].
In the simulation, the locomotion performance of the HHR walking in a tripod gait was tested. Three controllers, including PID, ARSMC, and SMRC + UDE, were implemented in the knee and hip joint, and the angle trajectory and tracking errors are shown in Figure 11.
It was obvious that ARSMC and SMRC + UDE could significantly improve the control accuracy. Compared with the PID controller, the MAXE of the knee and hip joints using ARSMC could reach 0.58° and 0.92°, which could be reduced by 70.44% and 70.24%, respectively. Compared with the PID controller, the MAXE of the knee and hip joints using SMRC + UDE could reach 0.64° and 1.10°, which could be reduced by 70.35% and 64.19%, respectively. The above results showed that the proposed control algorithms, ARSMC and SMRC + UDE, were initially effective.

5.2. Prototype Experiment

5.2.1. Single-Leg Joint Control Experiment

Before the walking experiments, the single-leg joint control experiment needed to be carried out. As the root joint had a small range of motion, the PID controller was implemented. The knee joint and the hip joint mainly participated in the motion when the HHR was walking straight; thus, different control performances of PID, ARSMC, and SMRC + UDE were compared in these two joints. Two experiments were conducted in the single-leg joint control tests, including E1 and E2. In E1, the 1 Hz sinusoidal signal was implemented in two joints, while in E2, the 0.5 Hz joint trajectory generated by inverse kinematics was implemented. In experiments E1 and E2, HHR was placed on a support frame without contact with the ground, and only Leg 1 was controlled for the movement. Thus, a ground reaction force signal must be given to realize the valve switching of IMHDU.
  • Experiment E1
The knee trajectory to be tracked was θ d k = ( 180 / π ) [ 1 + 0.2 sin ( 2 π t ) ] (°). The hip trajectory to be tracked was θ d h = ( 180 / π ) [ 0.5 + 0.2 sin ( 2 π t ) ] (°). The simulated ground reaction force signal was G F = [ 100 sin ( 2 π t ) + 100 ] (N). When G F 100 , the stance phase was simulated with the valves V v 1 and V v 3 turned on, and when G F < 100 , the swing phase was simulated with the valves V v 2 and V v 3 turned on, as shown in Table 1.
2.
Experiment E2
As the joint trajectory obtained from the inverse kinematics solution of the foot trajectory in Figure 7 was not a simple sinusoidal signal, it was difficult to illustrate the superiority of the proposed controller using only the sinusoidal tracking. Thus, it was necessary to compare the three proposed controllers with the joint motion trajectory. In this experiment, a 0.5 Hz joint motion trajectory was tested, equivalent to the HHR moving at the maximum speed of 0.375 m/s, in order to test the locomotion ability of the hydraulic actuated joints. The simulated ground reaction force signal was G F = [ 100 sin ( π t ) + 100 ] (N).
The main parameters of the controllers are illustrated in detail in Appendix B. The results of E1 and E2 are shown in Figure 12, which visually compares three control algorithms. Similar to the co-simulation results, it was evident that ARSMC and SMRC + UDE could significantly improve the control accuracy, while ARSMC exhibited the highest control accuracy among the three. Meanwhile, from Figure 12a,b, the MAXE of the knee and hip joints using SMRC + UDE could reach 1.55° and 1.21° in E1, while from Figure 12c,d, the MAXE results reached 4.78° and 5.83° in E2. It was found that the proposed controllers could achieve better tracking accuracy via a simple 1 Hz sinusoidal signal input (E1) than using the 0.5 Hz joint trajectory signal (E2) with the same control parameters. In order to determine the reason for the deterioration in control performance from E1 to E2, a fast Fourier transform (FFT) was conducted. The FFT results showed that the 0.5 Hz joint trajectory (E2) contained multiple high-frequency sinusoidal signals above 1 Hz superimposed on each other, thereby affecting the control performance. This phenomenon will subsequently guide the parameter tuning.

5.2.2. Dilemma Between Control Performance and Efficiency

From Figure 12, ARSMC is observed to show the highest control accuracy among the three control algorithms in the single-leg joint control experiments (only six valves). However, considering the control system architecture, the control algorithms calculated in the lower layer will occupy less than 1 ms of runtime, as the control frequency is set to 1000 Hz for the position and force closed-loop control. For this reason, we tested the runtimes of three control algorithms when they were deployed to 36 valves on all six legs, as shown in Figure 13. Furthermore, we compared PID, ARSMC, and SMRC + UDE quantitatively in E2, along with control performance and algorithm efficiency, as shown in Table 2.
Consistent with the theoretical analysis, we are caught in a dilemma between control performance and efficiency. On the one hand, ARSMC displays higher control accuracy in θ 1 and θ 2 but requires a 2.04 ms runtime, far beyond the control cycle (1 ms). As ARSMC requires extensive online parameter estimation, it improves the control accuracy at the expense of efficiency. On the other hand, SMRC + UDE is slightly inferior in regards to accuracy when compared to that of ARSMC but requires a 0.90 ms runtime, with higher efficiency. In such a dilemma, to subsequently add more complex algorithms in IMHDU and to avoid the program runaway, SMRC + UDE may be more suitable for meeting the requirements for achieving efficient and accurate joint control of the HHR system in walking experiments E3 and E4.

5.2.3. Walking Experiment

In the walking experiments, E3 quadrangular gait and E4 tripod gait were assessed to validate the effectiveness of the proposed SMRC + UDE.
  • Experiment E3
E3 evaluated a 0.17 Hz quadrangular gait of the HHR. Compared to the tripod gait, the speed of the quadrangular gait was relatively slower, but it offered a greater margin of stability, better stabilization, and heavier load capacity. The angle trajectory and tracking errors are shown in Figure 14.
Figure 14 shows that SMRC + UDE displayed smaller tracking errors in the knee and hip joints. In the knee joint, the MAXE under SMRC + UDE and PID were 1.31° and 3.31°, respectively, representing an error reduction of 60.6%. In the hip joint, the MAXE under SMRC + UDE and PID were 2.68° and 5.62°, respectively, representing an error reduction of 52.3%.
2.
Experiment E4
E4 evaluated a 0.2 Hz tripod gait of the HHR. The angle trajectory and tracking errors are shown in Figure 15. The snapshot of the E4 in 0–16 s is shown in Figure 16, where the red triangles in the figure represent the support triangle of the stance legs in the tripod gait, and the green quadrangles indicate the support polygon of all six stance legs.
From Figure 15, the effectiveness of SMRC + UDE can also be verified. In the knee joint, the MAXE under SMRC + UDE and PID were 1.10° and 2.90°, respectively, representing an error reduction of 62.1%. In the hip joint, the MAXE under SMRC + UDE and PID were 1.79° and 5.04°, respectively, representing an error reduction of 64.2%.

5.2.4. Data Analysis

To further show the effectiveness of SMRC + UDE, two error indices, MAXE and RMSE, are illustrated in Figure 17. The results of E3, E4, and the simulation provide a quantitative comparison of PID and SMRC + UDE.
For example, the knee joint error of PID showed a MAXE of 3.31° in E3, 2.90° in E4, and 1.97° in the simulation. For the hip joint, the MAXE of PID was 5.62° in E3, 5.04° in E4, and 3.09° in the simulation. Concerning the proposed SMRC + UDE, the knee joint error showed a MAXE of 1.31° in E3, 1.10° in E4, and 0.64° in the simulation. For the hip joint, the MAXE was 2.68° in E3, 1.79° in E4, and 1.10° in the simulation. Compared with PID, the knee joint error could be reduced by 60.6% in E3, 62.1% in E4, and 70.35% in the simulation, while the hip joint error could be reduced by 52.3% in E3, 64.2% in E4, and 64.19% in the simulation, respectively. Furthermore, the RMSE of the knee joint could reach 0.49° in E3, 0.50° in E4, and 0.26° in the simulation, while the RMSE of the hip joint could reach 0.76° in E3, 0.82° in E4, and 0.33° in the simulation.
In summary, whatever state the joint IMHDU actuator system was in, the proposed SMRC + UDE controller showed significant improvements in control performance compared with the results for PID. Currently, most hydraulic driving units (HDUs) for hydraulic quadruped robots or hexapod robots utilize expensive servo valves. Our proposed SMRC + UDE can also achieve a similar control performance, using only the industrial directional control valves, which can significantly reduce the manufacturing costs and increase the possibility of its application in hydraulic legged robots.
To determine how the UDE works, the unknown lumped dynamics ζ was recorded. According to Table 1, the valve V v 1 and V v 2 in IMHDU switched frequently to supply different stage pressures, while the valve V v 3 was working constantly, whether in the swing phase or stance phase. Thus, the unknown lumped dynamics ζ 3 could be estimated and transferred to the nonlinear compensation term in the control voltage, according to Equation (A1). Figure 18 shows the estimator results of ζ 3 and its equivalent nonlinear compensation term.
In addition to the joint tracking, the foot trajectory of Leg 1 in the XZ plane could be calculated with forward kinematics, as shown in Figure 19. The improvement in the joint trajectory tracking in the SMRC + UDE could be displayed by the tracking errors in the X and Y directions when the leg was in the swing phase, which showed smaller deviations from the reference. However, when the leg was in the stance phase, the foot trajectory of both PID and SMRC + UDE showed a certain degree of shock and oscillation. Meanwhile, it was determined that, although E4 gained better tracking performance than did E3, the snapshot of E3 demonstrated better motion stability and less shaking of the HHR than did E4. These two phenomena may be related to the interaction between the robot’s feet and the outside environment. The question of how to balance the relationship between robot joint control and body motion urgently needs to be followed up in subsequent research.

6. Conclusions

This paper focused on the control of the IMHDU in a two-stage supply pressure hydraulic hexapod robot, and an accurate and efficient sliding mode repetitive control based on the unknown dynamics estimator (SMRC + UDE) was proposed. The proposed method utilized SMRC to track periodic joint trajectory, while using UDE to deal with the lumped uncertain dynamic characteristics, achieving a highly accurate joint position control. Both a simulation and experiments were carried out to prove the effectiveness of this proposed method. The main conclusions are summarized as follows.
  • PID and ARSMC were used for comparison with the proposed method. In the single-leg joint control experiment, ARSMC and SMRC + UDE could significantly improve the control accuracy, while ARSMC exhibited the highest control accuracy among the three.
  • Considering the performance of the control system hardware and the multiple IMHDUs (a total of 36 valves) of the hydraulic system, although ARSMC demonstrated superior control behavior, the dilemma between control performance and efficiency made it difficult to apply to our HHR. Thus, the proposed SMRC + UDE may be more suitable for achieving joint position control with high accuracy for the HHR, using only the directional control valves with lower cost.
  • In the walking experiments, compared with PID, the MAXE of the knee and hip joints using SMRC + UDE in a quadrangular gait could reach 1.10° and 1.79°, with error reductions of 62.1% and 64.2%, respectively. In a tripod gait, the MAXE could reach 1.10° and 1.79°, with error reductions of 62.1% and 64.2%, respectively. Based on the characteristics of the repetitive control, the proposed SMRC + UDE demonstrated an excellent control performance when tracking the periodic gait (tripod and quadrangular gait).
Currently, there are diverse unstructured terrains to which legged robots must adapt, which introduces new demands for gait planning and controller design. Thus, exploring the potential for the proposed controller deployment in such nonperiodic free gaits is challenging. Future work will also focus on dealing with the oscillation in the stance phase and improving the energy efficiency based on the TSS and IMHDU. Furthermore, research on active compliance control, such as impedance control and virtual model control, as well as on some energy consumption optimization strategies, will be conducted.

Author Contributions

Conceptualization, Z.L., B.J., J.D., Q.Y., Y.J., T.L. and B.W.; methodology, Z.L.; software, Z.L.; validation, Z.L.; writing, Z.L.; supervision, Z.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Zhejiang Provincial Natural Science Foundation of China under Grant No. ZCLTGG24E0501.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All the data presented in this study are available in the main text.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Lemma A1. 
Considering the system Equation (41) and the filter Equation (43), let an auxiliary variable β = ( z 2 z 2 f ) T s p 1 u 1 f ζ 1 be bounded and decrease to a small residual set exponentially for T s > 0 . Hence, the manifold β = 0 is an invariant manifold for T s 0 .
Proof of Lemma A1. 
The derivative of β can be calculated as
β ˙ = ( z ˙ 2 z ˙ 2 f ) T s p 1 u ˙ 1 f ζ ˙ 1   = ζ 1 + p 1 ( u 1 T s u ˙ 1 f ) z ˙ 2 f T s ζ ˙ 1   = ζ 1 + p 1 u 1 f ( z 2 z 2 f ) T s T s ζ ˙ 1   = β T s ζ ˙ 1
A positive semi-definite Lyapunov function can be chosen as V = 1 2 β 2 , and based on Young’s inequality, it can be derived that
V ˙ = β ( β T s ζ ˙ 1 ) β 2 T s + 1 2 ( β 2 T s + T s ζ ˙ 1 2 ) V T s + T s ƛ 2 2
Thus, we can verify that
V e t k V ( 0 ) + k 2 ƛ 2 2 [ 1 e t k ] e t k V ( 0 ) + k 2 ƛ 2 2
β ( t ) = 2 V β 2 ( 0 ) e t k + k 2 ƛ 2
This implies that the exponential boundedness of β for T s > 0 and the manifold β = 0 is an invariant manifold for T s 0 . □

Appendix B

The main parameters of the controllers in the prototype experiments are shown in Table A1.
Table A1. Main parameters of the controllers in the prototype experiments.
Table A1. Main parameters of the controllers in the prototype experiments.
ControllerGain Value
RootHipKnee
PID k p 50200200
k i 0.10.10.1
k d 111
ARSMC k 0 -5001000
k 1 -0.51
k 2 -0.00010.0001
ρ -11
ε -10001000
Γ - d i a g ( 1 , 1 , 1 , 1 , 1 , 1 ) d i a g ( 1 , 1 , 1 , 1 , 1 , 1 )
SMRC + UDE k 0 -5001000
k 1 -0.51
k 2 -0.00010.0001
k -0.010.01
ρ -11
ε -10001000
L -0.0010.001
Q ( s ) -0.950.95

References

  1. Jin, Y.; Liu, X.; Shao, Y.; Wang, H.; Yang, W. High-speed quadrupedal locomotion by imitation-relaxation reinforcement learning. Nat. Mach. Intell. 2022, 4, 1198–1208. [Google Scholar] [CrossRef]
  2. Arm, P.; Waibel, G.; Preisig, J.; Tuna, T.; Zhou, R.; Bickel, V.; Ligeza, G.; Miki, T.; Kehl, F.; Kolvenbach, H. Scientific exploration of challenging planetary analog environments with a team of legged robots. Sci. Robot. 2023, 8, eade9548. [Google Scholar] [CrossRef] [PubMed]
  3. Hong, S.; Um, Y.; Park, J.; Park, H.-W. Agile and versatile climbing on ferromagnetic surfaces with a quadrupedal robot. Sci. Robot. 2022, 7, eadd1017. [Google Scholar] [CrossRef] [PubMed]
  4. Liu, S.; Chai, H.; Song, R.; Li, Y.; Li, Y.; Zhang, Q.; Fu, P.; Liu, J.; Yang, Z. Contact force/motion hybrid control for a hydraulic legged mobile manipulator via a force-controlled floating base. IEEE/ASME Trans. Mechatron. 2023, 29, 2316–2326. [Google Scholar] [CrossRef]
  5. Raibert, M.; Blankespoor, K.; Nelson, G.; Playter, R. Bigdog, the rough-terrain quadruped robot. IFAC Proc. Vol. 2008, 41, 10822–10825. [Google Scholar] [CrossRef]
  6. Tefera, Y.; Sarakoglou, I.; Deore, S.; Kim, Y.; Barasuol, V.; Villa, M.; Anastasi, S.; Caldwell, D.; Tsagarakis, N.; Semini, C. Robot teleoperativo: Collaborative cybernetic systems for immersive remote teleoperation. In Proceedings of the 2024 IEEE Conference on Telepresence, Pasadena, CA, USA, 16–17 November 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 1–4. [Google Scholar]
  7. Shi, Y.; He, X.; Zou, W.; Yu, B.; Yuan, L.; Li, M.; Pan, G.; Ba, K. Multi-objective optimal torque control with simultaneous motion and force tracking for hydraulic quadruped robots. Machines 2022, 10, 170. [Google Scholar] [CrossRef]
  8. Nonami, K.; Barai, R.K.; Irawan, A.; Daud, M.R.; Nonami, K.; Barai, R.K.; Irawan, A.; Daud, M.R. Design and optimization of hydraulically actuated hexapod robot comet-iv. In Hydraulically Actuated Hexapod Robots: Design, Implementation and Control; Springer: Berlin/Heidelberg, Germany, 2014; pp. 41–84. [Google Scholar]
  9. Rekleitis, G.; Vidakis, M.; Papadopoulos, E. Optimal leg sequencing for a hexapod subject to external forces and slopes. In Proceedings of the 2019 International Co nference on Robotics and Automation (ICRA), Montreal, QC, Canada, 20–24 May 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 6302–6308. [Google Scholar]
  10. Yu, B.; Yu, H.; Huang, Z.; He, X.; Ba, K.; Shi, Y.; Kong, X. Review of hydraulic driven key technologies for legged robots. J. Mech. Eng. 2023, 59, 81–110. [Google Scholar]
  11. Havoutis, I.; Semini, C.; Caldwell, D.G. Virtual model control for quadrupedal trunk stabilization. In Proceedings of the Dynamic Walking, Pittsburgh, PA, USA, 10–13 June 2013. [Google Scholar]
  12. Villarreal, O.; Barasuol, V.; Wensing, P.M.; Caldwell, D.G.; Semini, C. Mpc-based controller with terrain insight for dynamic legged locomotion. In Proceedings of the 2020 IEEE International Conference on Robotics and Automation (ICRA), Paris, France, 31 May–31 August 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 2436–2442. [Google Scholar]
  13. Fahmi, S.; Mastalli, C.; Focchi, M.; Semini, C. Passive whole-body control for quadruped robots: Experimental validation over challenging terrain. IEEE Robot. Autom. Lett. 2019, 4, 2553–2560. [Google Scholar] [CrossRef]
  14. Chen, G.; Jin, B. Position-posture trajectory tracking of a six-legged walking robot. Int. J. Robot. Autom. 2019, 34, 24–37. [Google Scholar] [CrossRef]
  15. Cunha, T.B.; Semini, C.; Guglielmino, E.; De Negri, V.J.; Yang, Y.; Caldwell, D.G. Gain scheduling control for the hydraulic actuation of the hyq robot leg. In Proceedings of the COBEM, Gramado, Brazil, 15–20 November 2009. [Google Scholar]
  16. Han, J. From pid to active disturbance rejection control. IEEE Trans. Ind. Electron. 2009, 56, 900–906. [Google Scholar] [CrossRef]
  17. Focchi, M.; Guglielmino, E.; Semini, C.; Boaventura, T.; Yang, Y.; Caldwell, D.G. Control of a hydraulically-actuated quadruped robot leg. In Proceedings of the 2010 IEEE International Conference on Robotics and Automation, Anchorage, AK, USA, 3–7 May 2010; pp. 4182–4188. [Google Scholar]
  18. Cheng, C.; Liu, S.; Wu, H. Sliding mode observer-based fractional-order proportional–integral–derivative sliding mode control for electro-hydraulic servo systems. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2020, 234, 1887–1898. [Google Scholar] [CrossRef]
  19. Nikdel, N.; Badamchizadeh, M.; Azimirad, V.; Nazari, M.A. Fractional-order adaptive backstepping control of robotic manipulators in the presence of model uncertainties and external disturbances. IEEE Trans. Ind. Electron. 2016, 63, 6249–6256. [Google Scholar] [CrossRef]
  20. Barai, R.K.; Nonami, K. Locomotion control of a hydraulically actuated hexapod robot by robust adaptive fuzzy control with self-tuned adaptation gain and dead zone fuzzy pre-compensation. J. Intell. Robot. Syst. 2008, 53, 35–56. [Google Scholar] [CrossRef]
  21. Shen, W.; Sun, C. Robust adaptive dynamic surface control for hydraulic quadruped robot hip joint. Trans. Beijing Inst. Technol. 2016, 36, 599–604. [Google Scholar]
  22. Gao, B.; Han, W. Neural network model reference decoupling control for single leg joint of hydraulic quadruped robot. Assem. Autom. 2018, 38, 465–475. [Google Scholar] [CrossRef]
  23. Bu, F.; Yao, B. Observer based coordinated adaptive robust control of robot manipulators driven by single-rod hydraulic actuators. In Proceedings of the 2000 ICRA. Millennium Conference. IEEE International Conference on Robotics and Automation. Symposia Proceedings (Cat. No. 00CH37065), San Francisco, CA, USA, 24–28 April 2000; IEEE: Piscataway, NJ, USA, 2000; pp. 3034–3039. [Google Scholar]
  24. Fan, Y.; Shao, J.; Sun, G.; Shao, X. Active disturbance rejection control design using the optimization algorithm for a hydraulic quadruped robot. Comput. Intell. Neurosci. 2021, 2021, 1–22. [Google Scholar] [CrossRef]
  25. Shao, X.; Fan, Y.; Shao, J.; Sun, G. Improved active disturbance rejection control with the optimization algorithm for the leg joint control of a hydraulic quadruped robot. Meas. Control 2023, 56, 1359–1376. [Google Scholar] [CrossRef]
  26. Zong, H.; Yang, Z.; Yu, X.; Zhang, J.; Ai, J.; Zhu, Q.; Wang, F.; Su, Q.; Xu, B. Active disturbance rejection control of hydraulic quadruped robots rotary joints for improved impact resistance. Chin. J. Mech. Eng. 2024, 37, 103. [Google Scholar] [CrossRef]
  27. Zhu, R.; Yang, Q.; Liu, Y.; Dong, R.; Jiang, C.; Song, J. Sliding mode robust control of hydraulic drive unit of hydraulic quadruped robot. Int. J. Control Autom. Syst. 2022, 20, 1336–1350. [Google Scholar] [CrossRef]
  28. Zhou, Y.; Helian, B.; Chen, Z.; Yao, B. Adaptive robust constrained motion control of an independent metering electro-hydraulic system considering kinematic and dynamic constraints. IEEE Trans. Ind. Inform. 2025, 21, 5943–5953. [Google Scholar] [CrossRef]
  29. Seok, S.; Wang, A.; Chuah, M.Y.; Hyun, D.J.; Lee, J.; Otten, D.M.; Lang, J.H.; Kim, S. Design principles for energy-efficient legged locomotion and implementation on the mit cheetah robot. IEEE/ASME Trans. Mechatron. 2015, 20, 1117–1129. [Google Scholar] [CrossRef]
  30. Liu, Z.; Jin, B.; Dong, J.; Zhai, S.; Tang, X. Design and control of a hydraulic hexapod robot with a two-stage supply pressure hydraulic system. Machines 2022, 10, 305. [Google Scholar] [CrossRef]
  31. Dong, J.; Jin, B.; Liu, Z.; Chen, L. Energy-efficient hydraulic system for hexapod robot based on two-level pressure system for oil supply. Biomimetics 2025, 10, 151. [Google Scholar] [CrossRef]
  32. Yang, K.; Rong, X.; Zhou, L.; Li, Y. Modeling and analysis on energy consumption of hydraulic quadruped robot for optimal trot motion control. Appl. Sci. 2019, 9, 1771. [Google Scholar] [CrossRef]
  33. Roy, S.S.; Pratihar, D.K. Effects of turning gait parameters on energy consumption and stability of a six-legged walking robot. Robot. Auton. Syst. 2012, 60, 72–82. [Google Scholar] [CrossRef]
  34. Yao, B. High performance adaptive robust control of nonlinear systems: A general framework and new schemes. In Proceedings of the 36th IEEE Conference on Decision and Control, San Diego, CA, USA, 10–12 December 1997; IEEE: Piscataway, NJ, USA, 1997; pp. 2489–2494. [Google Scholar]
Figure 1. The hydraulic hexapod robot prototype ZJUHEX01 and its single-leg structure: (a) hydraulic hexapod robot prototype; (b) schematic diagram of single-leg structure.
Figure 1. The hydraulic hexapod robot prototype ZJUHEX01 and its single-leg structure: (a) hydraulic hexapod robot prototype; (b) schematic diagram of single-leg structure.
Biomimetics 10 00472 g001
Figure 2. The hierarchical control system of the HHR.
Figure 2. The hierarchical control system of the HHR.
Biomimetics 10 00472 g002
Figure 3. Schematic of the onboard two-stage supply pressure hydraulic system of the HHR: 1. oil tank; 2. low-pressure pump; 3. low-pressure motor; 4. check valve; 5. filter; 6. low-pressure accumulator; 7. pressure sensor; 8. relief valve; 9. oil cooler; 10. filter; 101. directional control valve V v 1 ; 102. directional control valve V v 2 ; 103. directional control valve V v 3 ; 104. pressure sensor; 105. hydraulic cylinder; 106. pressure sensor.
Figure 3. Schematic of the onboard two-stage supply pressure hydraulic system of the HHR: 1. oil tank; 2. low-pressure pump; 3. low-pressure motor; 4. check valve; 5. filter; 6. low-pressure accumulator; 7. pressure sensor; 8. relief valve; 9. oil cooler; 10. filter; 101. directional control valve V v 1 ; 102. directional control valve V v 2 ; 103. directional control valve V v 3 ; 104. pressure sensor; 105. hydraulic cylinder; 106. pressure sensor.
Biomimetics 10 00472 g003
Figure 4. The structure and coordinate system of the single leg HHR: (a) the structure of the knee and hip joint; (b) the structure of the root joint; (c) the coordinate system of the leg.
Figure 4. The structure and coordinate system of the single leg HHR: (a) the structure of the knee and hip joint; (b) the structure of the root joint; (c) the coordinate system of the leg.
Biomimetics 10 00472 g004
Figure 5. Schematic of the simplified knee joint IMHDU model.
Figure 5. Schematic of the simplified knee joint IMHDU model.
Biomimetics 10 00472 g005
Figure 6. Time sequence diagram of the hydraulic hexapod robots walking forward in different gaits: (a) the tripod gait; (b) the quadrangular gait.
Figure 6. Time sequence diagram of the hydraulic hexapod robots walking forward in different gaits: (a) the tripod gait; (b) the quadrangular gait.
Biomimetics 10 00472 g006
Figure 7. Foot trajectory in the XZ plane.
Figure 7. Foot trajectory in the XZ plane.
Biomimetics 10 00472 g007
Figure 8. The schematic of ARSMC.
Figure 8. The schematic of ARSMC.
Biomimetics 10 00472 g008
Figure 9. The schematic of SMRC + UDE.
Figure 9. The schematic of SMRC + UDE.
Biomimetics 10 00472 g009
Figure 10. The schematic of the co-simulation model of the HHR.
Figure 10. The schematic of the co-simulation model of the HHR.
Biomimetics 10 00472 g010
Figure 11. Comparison of PID, ARSMC, and SMRC + UDE regarding joint trajectory tracking and errors in the simulation: (a) knee trajectory and tracking error; (b) hip trajectory and tracking error.
Figure 11. Comparison of PID, ARSMC, and SMRC + UDE regarding joint trajectory tracking and errors in the simulation: (a) knee trajectory and tracking error; (b) hip trajectory and tracking error.
Biomimetics 10 00472 g011
Figure 12. Comparison of PID, ARSMC, and SMRC + UDE in 1 Hz sinusoidal signal (E1) and 0.5 Hz joint motion trajectory (E2) tracking and errors: (a) knee trajectory in 1 Hz sinusoidal signal; (b) hip trajectory in 1 Hz sinusoidal signal; (c) knee trajectory in 0.5 Hz joint motion trajectory signal; (d) hip trajectory in 0.5 Hz joint motion trajectory signal.
Figure 12. Comparison of PID, ARSMC, and SMRC + UDE in 1 Hz sinusoidal signal (E1) and 0.5 Hz joint motion trajectory (E2) tracking and errors: (a) knee trajectory in 1 Hz sinusoidal signal; (b) hip trajectory in 1 Hz sinusoidal signal; (c) knee trajectory in 0.5 Hz joint motion trajectory signal; (d) hip trajectory in 0.5 Hz joint motion trajectory signal.
Biomimetics 10 00472 g012
Figure 13. Comparison of CPU runtime occupied by PID, ARSMC, and SMRC + UDE in E2.
Figure 13. Comparison of CPU runtime occupied by PID, ARSMC, and SMRC + UDE in E2.
Biomimetics 10 00472 g013
Figure 14. Comparison of PID and SMRC + UDE in 0.17 Hz quadrangular gait walking experiment (E3): (a) knee trajectory and tracking error; (b) hip trajectory and tracking error.
Figure 14. Comparison of PID and SMRC + UDE in 0.17 Hz quadrangular gait walking experiment (E3): (a) knee trajectory and tracking error; (b) hip trajectory and tracking error.
Biomimetics 10 00472 g014
Figure 15. Comparison of PID and SMRC + UDE in 0.2 Hz tripod gait walking experiment (E4): (a) knee trajectory and tracking error; (b) hip trajectory and tracking error.
Figure 15. Comparison of PID and SMRC + UDE in 0.2 Hz tripod gait walking experiment (E4): (a) knee trajectory and tracking error; (b) hip trajectory and tracking error.
Biomimetics 10 00472 g015
Figure 16. Snapshot of the HHR walking in a tripod gait in 0–16 s.
Figure 16. Snapshot of the HHR walking in a tripod gait in 0–16 s.
Biomimetics 10 00472 g016
Figure 17. Joint errors of PID and SMRC + UDE in E3, E4, and the simulation: (a) knee joint error; (b) hip joint error.
Figure 17. Joint errors of PID and SMRC + UDE in E3, E4, and the simulation: (a) knee joint error; (b) hip joint error.
Biomimetics 10 00472 g017
Figure 18. The estimator results of ζ 3 and its equivalent nonlinear compensation term: (a) the estimator result of ζ 3 ; (b) the equivalent nonlinear compensation term of ζ 3 .
Figure 18. The estimator results of ζ 3 and its equivalent nonlinear compensation term: (a) the estimator result of ζ 3 ; (b) the equivalent nonlinear compensation term of ζ 3 .
Biomimetics 10 00472 g018
Figure 19. Foot trajectory of Leg 1 in the XZ plane.
Figure 19. Foot trajectory of Leg 1 in the XZ plane.
Biomimetics 10 00472 g019
Table 1. Valve configuration in different phases.
Table 1. Valve configuration in different phases.
Ground   Reaction   Force   G F Phase Valve   V v 1 Valve   V v 2 Valve   V v 3
G F 100 Stance phaseOnOffOn
G F < 100 Swing phaseOffOnOn
Table 2. The comparison of three control algorithms regarding control accuracy and CPU runtime in E2.
Table 2. The comparison of three control algorithms regarding control accuracy and CPU runtime in E2.
Control
Algorithm
MAXE (°)RMSE (°)Runtime
(ms)
θ 1 θ 2 θ 1 θ 2
PID8.719.573.643.670.25
ARSMC5.834.342.181.622.04
SMRC + UDE6.024.782.271.780.90
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, Z.; Jin, B.; Dong, J.; Yao, Q.; Jin, Y.; Liu, T.; Wang, B. Sliding Mode Repetitive Control Based on the Unknown Dynamics Estimator of a Two-Stage Supply Pressure Hydraulic Hexapod Robot. Biomimetics 2025, 10, 472. https://doi.org/10.3390/biomimetics10070472

AMA Style

Liu Z, Jin B, Dong J, Yao Q, Jin Y, Liu T, Wang B. Sliding Mode Repetitive Control Based on the Unknown Dynamics Estimator of a Two-Stage Supply Pressure Hydraulic Hexapod Robot. Biomimetics. 2025; 10(7):472. https://doi.org/10.3390/biomimetics10070472

Chicago/Turabian Style

Liu, Ziqi, Bo Jin, Junkui Dong, Qingyun Yao, Yinglian Jin, Tao Liu, and Binrui Wang. 2025. "Sliding Mode Repetitive Control Based on the Unknown Dynamics Estimator of a Two-Stage Supply Pressure Hydraulic Hexapod Robot" Biomimetics 10, no. 7: 472. https://doi.org/10.3390/biomimetics10070472

APA Style

Liu, Z., Jin, B., Dong, J., Yao, Q., Jin, Y., Liu, T., & Wang, B. (2025). Sliding Mode Repetitive Control Based on the Unknown Dynamics Estimator of a Two-Stage Supply Pressure Hydraulic Hexapod Robot. Biomimetics, 10(7), 472. https://doi.org/10.3390/biomimetics10070472

Article Metrics

Back to TopTop