1. Introduction
In recent years, biomimetic robots have emerged as a promising frontier in legged locomotion, offering new possibilities for achieving agile, robust, and energy-efficient movement in complex environments [
1]. Unlike conventional rigid actuators, pneumatic artificial muscles (PAMs) offer a high power-to-weight ratio, inherent compliance, and are safe and lightweight, which is particularly important for energy-efficient movement. As illustrated in
Figure 1, the canine-inspired knee joint does not follow a fixed-axis rotation but exhibits a variable instantaneous center of rotation (ICR) [
2], which is realized via a four-bar linkage mechanism to achieve variable-center kinematics and enhanced mechanical flexibility. To further mimic the softness and adaptability of biological muscles, PAMs are employed to actuate both the hip and knee joints [
3], enabling compliant and natural movement patterns. However, PAMs exhibit pronounced nonlinear and hysteretic behaviors [
4,
5]. For pneumatic artificial muscles, the hysteresis is mainly manifested as lag in the contraction force length relationship and lag in the pressure length relationship. In addition, the variable ICR structure introduces strong kinematic nonlinearities, which are specifically reflected in the nonlinear mapping between the joint rotation angle and the PAM end displacement. These nonlinear effects, together with modeling uncertainties, external disturbances, and payload variations, render the system dynamics strongly nonlinear and time-varying. However, the Udwadia controller computes only the nominal joint torques of the model and does not account for unknown model uncertainties, thereby posing substantial challenges for accurate modeling and high-precision motion control in PAM-driven biomimetic leg-joint systems.
To overcome these challenges, advanced control systems such as sliding mode control (SMC) [
6], adaptive control [
7,
8], and robust control [
9] can be employed. These methods have been extensively developed to address the nonlinearities, uncertainties, and time-varying disturbances in mechanical systems, effectively suppressing their adverse effects while improving tracking accuracy and system robustness. Among the various promising techniques explored in related studies, it is noteworthy that Udwadia adopted a new perspective on desired trajectories [
10] and proposed a novel Udwadia controller [
11]. The controller inputs required to enforce the desired trajectories are obtained in a fully explicit closed form, and the associated computations reduce to simple matrix multiplications and additions, thereby avoiding heavy analytical derivations and numerical optimization. However, the Udwadia controller only computes the nominal joint torques of the model and does not account for unknown model uncertainties. In practical applications, such uncertainties are inevitable and can significantly degrade system performance if not properly handled. To address this issue, Chen et al. employed the Udwadia controller and further developed an adaptive robust control scheme in [
12], contributing to the theoretical advancement of this methodology. Since then, numerous studies have extended the Udwadia controller to uncertain nonlinear systems. For instance, Chen et al incorporated the Udwadia controller into a model-based robust controller to address modular joint dynamics in dual-arm robot [
13], while Huang et al. proposed an adaptive robust strategy for uncertain inverted pendulum systems within the same framework [
14]. In addition, robust Udwadia controller have been reported for systems operating under uncertainties [
15,
16]. Beyond electromechanical systems, Chen et al also proposed a three-level interaction force control architecture for a hydraulic underactuated stance-leg exoskeleton, employing a MIMO adaptive robust controller to cope with high-order nonlinearities and uncertainties [
17]. Despite these advances, the practical control limitations of existing Udwadia controllers remain insufficiently resolved for PAM-driven systems. Most prior studies primarily focus on rigid actuated platforms and often rely on assumptions such as reasonably accurate nominal rigid body dynamics, bounded varying uncertainties, or the availability of reliable state derivatives. However, PAM actuation introduces distinctive challenges strong rate-dependent hysteresis, pressure dynamics and delay which can lead to significant model plant mismatch and degrade tracking performance in real hardware. Therefore, to address these unresolved practical issues, this paper develops a controller that preserves the structural advantages of the Udwadia controller while explicitly accommodating PAM-specific nonlinearities and implementation constraints.
Several studies have also focused on the Udwadia controller. For instance, Ma et al. proposes a flexible adaptive nonsingular recursive terminal sliding mode control that combines uncertainty analysis and nonlinear robust control design [
18], and Yu et al. A novel Udwadia approach for redundant parallel manipulator dynamics [
19]. In parallel, Zheng et al. developed a barrier function-based adaptive SMC method to provide robustness for nonholonomic wheeled mobile robots [
20]. On the theoretical side, Mylapilli and Udwadia examined hyperelastic beam control [
21], while Udwadia continued to refine the mathematical underpinnings of constrained Hamiltonian dynamics [
22], experimental investigations have also been conducted. For instance, Dong et al proposed an analytical modeling method in harmonic drive with tunable parameters that can be used to compensate for the uncertainty [
23]. Zhao et al. proposed a cooperative control for the unmanned ground vehicle swarm system [
24], and Yin et al. studied possibility-based robust controllers for structural-acoustic systems [
25]. Moreover, the application scope has expanded to the sky-hook model [
26], hydraulic exoskeleton under dynamic model uncertainty [
27], and even vehicle active anti-roll system [
28]. Collectively, these studies highlight the versatility of the Udwadia controller and its strong potential for adaptive, robust, and analytically tractable control of complex nonlinear systems.
Building upon recent advances in Udwadia controller and its successful applications in various nonlinear systems [
29,
30], this paper proposes an adaptive robust control algorithm under a PAM-driven biomimetic leg joints system. The control algorithm is built upon the Udwadia controller, where an adaptive term and a robust term is introduced. Specifically, the nominal part of the system dynamics is handled by the Udwadia controller, which generates the joint torques, a robust term is introduced to suppress deviations caused by initial errors and external disturbances, and an adaptive term with online parameter adjustment is employed to compensate for dynamic modeling errors and time-varying external disturbances. Moreover, the adaptive law is derived in a fully explicit closed form without requiring a priori upper bounds of the uncertainties, thereby significantly enhancing the engineering applicability of the adaptive robust control algorithm under complex operating conditions.
The main contributions of this paper are as follows. Firstly, a kinematic and dynamic model of the PAM-driven biomimetic leg joints system is established, which provides a theoretical foundation for high-accuracy joint motion control. Secondly, in view of the inherent modeling uncertainties and unmeasurable external disturbances in the PAM-driven biomimetic leg joints system, an adaptive robust control algorithm is proposed. The control algorithm consists of Udwadia controller, a robust term for initial deviation suppression, and an adaptive term designed to handle unknown time-varying uncertainties. An adaptive law is constructed to ensure online adjustment of unknown parameters without requiring prior knowledge of their bounds. Through the stability analysis, the adaptive robust control algorithm is uniform boundedness (UB) and uniform ultimate boundedness (UUB). Finally, to validate the feasibility and effectiveness of the adaptive robust control algorithm, numerical simulations and hardware experiments are conducted based on a typical sinusoidal desired trajectory. The adaptive robust control algorithm is comprehensively compared with three mainstream control algorithms, including SMC, genetic algorithm–tuned proportional-integral-derivative control (GA-PID), and the torque compensation control. In the simulation data analysis, we used seven metrics to evaluate the adaptive robust control algorithm. The results demonstrate that the adaptive robust control algorithm achieves accuracy, robustness and practical applicability.
4. Simulation
This section evaluates the performance of the proposed control algorithm described in
Section 3 through numerical simulation. The joint control torques are computed based on the control law defined in (
33). The parameters used for the model, including physical and control-related constants, are listed in
Table 3.
We introduced small sinusoidal perturbations to the mass parameters in simulation to emulate typical time-varying parametric uncertainties in a simple, controlled, and repeatable manner. This sinusoidal model is used only as a representative example for robustness evaluation.
,
,
,
. The initial conditions are set as:
rad,
= 0.4361 rad,
rad/s,
rad/s. The desired trajectories of joints are set as below:
The terms in
are either linear constants of position or linear constants of velocity. Consequently, Assumption 5 can be satisfied by
where
,
are representing the first, second, and third components of vector
, respectively.
= max [
].
The control algorithm parameters for simulation are chosen as follows: k = 10, = 50, = 10, = 0.1, , P = . Set the system simulation time t = 20 s. In practice, is set to achieve a moderate adaptation rate without amplifying noise, is chosen as the smallest value that still guarantees robustness against the lumped uncertainty while avoiding excessive control effort/chattering, is selected according to sensor noise/resolution as a small positive regularization constant for numerical stability.
Under the proposed control algorithm,
Figure 4 presents the desired and actual trajectories of the hip joint, while
Figure 5 shows the corresponding results for the knee joint. In both cases, the actual trajectories closely follow the desired trajectories, indicating satisfactory tracking performance and effective control response.
Figure 6 comprises four subplots: the top two illustrate the tracking errors
and
under SMC, while the bottom two present the same error metrics under adaptive robust control algorithm. Under SMC, both error curves exhibit large initial deviations at
s, but rapidly converge to near zero within approximately one second and remain stable thereafter, demonstrating SMC’s strong capability in rejecting parameter uncertainties and external disturbances.
In contrast, adaptive robust control algorithm achieves near-zero tracking errors at the initial moment, indicating superior transient response and ideal tracking performance. Quantitatively, the maximum errors under the adaptive robust control algorithm are only 0.036613 for and 0.1234 for , both of which are notably smaller than those observed under SMC. These results confirm that the adaptive robust control algorithm provides reduced maximum and steady-state errors compared to SMC, highlighting its improved tracking precision and robustness.
The time-domain responses of the joint torque signals
and
over a 20 s interval are depicted in
Figure 7. The torque
exhibits a significantly larger amplitude, peaking at approximately 1.5
, while
reaches only around 0.4–0.5
. This disparity suggests that the hip joint experiences a higher inertial load or resistance, thereby requiring greater torque to track the same desired trajectory.
Both torque signals exhibit the same oscillation period, indicating that they are governed by a common desired frequency. A slight phase offset between and is evident at their peak values, likely due to inter-joint coupling effects and differing dynamic characteristics between the hip and knee joints. In summary, the larger magnitude of reflects the increased actuation demand at the hip joint, the smaller amplitude of corresponds to the relatively load or inertia at the knee joint.
Figure 8 illustrates the time evolution of the adaptive gain
over the 0–20 s simulation interval. At the onset,
rapidly increases from its initial value to approximately 18, followed by a slow and steady rise toward 19 as time progresses. After the initial transient phase, the gain trajectory flattens, indicating that the adaptive law has effectively converged and the control algorithm is making only minor adjustments thereafter. This behavior suggests that the online parameter estimation mechanism rapidly identifies a near-optimal gain and subsequently maintains it with minimal variation, ensuring stable and consistent control performance throughout the simulation.
Figure 9 presents the end-effector trajectory error in both the
x- and
y-directions over a 0–20 s interval, with the vertical axis indicating the position error in meters. At
s, both error curves start near
m and exhibit rapid convergence, reaching near-zero values within approximately 0.5 s. For
s, the errors remain confined within an extremely narrow oscillatory band around zero, indicating highly precise trajectory tracking.
As shown in the inset, the steady-state fluctuations are on the order of m, demonstrating that the proposed control algorithm ensures ultra-high positioning accuracy and robustness throughout prolonged operation. These results confirm the effectiveness of the control scheme in maintaining fine end-point regulation under dynamic conditions.
Figure 10 illustrates the air pressures of PAMs. Each joint is controlled by a set of antagonistic PAMs, with one side maintaining a relatively constant air pressure, while the other side undergoes periodic adjustments over time. As shown in
Figure 10a is the hip joint, one muscle maintains an approximate constant pressure of about 0.19 MPa, while the opposing muscle exhibits significant periodic fluctuations between approximately 0.14 and 0.17 MPa, achieving a cyclical flexion-extension motion. Similarly, at the knee joint shown in
Figure 10b, one muscle maintains a stable pressure of about 0.187 MPa, while the other oscillates periodically within the range of 0.181–0.188 MPa. This pattern reflects a biological antagonistic mechanism, where one muscle provides stable support and the other generates the dynamic changes needed for movement. This coordination ensures the stability of the joint while producing the rhythmic movements required for gait.
Table 4 and
Table 5 respectively summarize the tracking errors of the first and second joint under four control algorithms. The errors include Maximum error (MAX), Mean Absolute Error (MAE), Root Mean Square Residual (RMSR), Mean Absolute Percentage Error (MAPE), Mean Relative Deviation (MRD), Normalized Root Mean Square Deviation (NRMSD). The proposed control algorithm, SMC, GA-PID, and the torque compensation control [
33]. To facilitate a more intuitive comparison of each algorithm’s identification and tracking capabilities, the computed performance indicators are visualized in radar chart form in
Figure 11 and
Figure 12.
To ensure a fair comparison, The SMC parameters are selected as follows: the sliding-surface coefficients are set to , and the reaching-law gains are chosen as . The PID baseline is tuned using a genetic algorithm. The search ranges of the PID gains are set to , , and . The fitness function is constructed as a weighted combination of tracking error, overshoot, rise time, and settling time, with the corresponding weights selected as , , , and , respectively. For fitness evaluation, the nonlinear plant is linearized at the equilibrium point, yielding . The GA uses a population size of 50 and runs for 10 iterations, with a crossover probability of , a mutation probability of , and a replication probability of ; the gene length is set to 10. The optimized obtained by GA is then used for the GA-PID controller in all comparative tests.
In the
Figure 11 and
Figure 12, the proposed control algorithm exhibits the lowest mean absolute error and root-mean-square error among all control algorithms. This indicates that adaptive robust control algorithm achieves the highest tracking accuracy for both joints, maintaining smooth convergence without overshoot. Compared with SMC, adaptive robust control algorithm reduces high-frequency chattering significantly while preserving robustness to dynamic uncertainties. Relative to GA-PID, the proposed control algorithm avoids sluggish responses and steady-state offsets. Although GA-PID achieves reasonable tracking under nominal conditions, its fixed gains cannot compensate for time-varying pneumatic nonlinearities; in contrast, adaptive robust control algorithm adaptive terms through online parameter adjustment, yielding faster response and smaller steady-state error. Compared with the torque compensation control, adaptive robust control algorithm maintains stability and precision even under model mismatch and external disturbances, benefiting from its combined adaptive and robust structure. The torque compensation control relies heavily on accurate dynamic parameters, whereas adaptive robust control algorithm relaxes this requirement and still delivers superior accuracy and smoother control profiles.
5. Experiment
The structural components of the PAM-driven biomimetic leg joints system are primarily fabricated from 6-series aluminum alloy, while the leg shafts are constructed from steel. All mechanical parts were machined by a contracted Computer Numerical Control (CNC) manufacturing center to ensure precision and consistency. The torso frame of the leg is assembled using 20 mm square aluminum extrusions. The thigh segment is composed of square-section carbon fiber tubes, whereas the shank utilizes circular carbon fiber tubes. The combined use of aluminum alloy and carbon fiber provides a favorable balance between strength and weight, effectively reducing the overall mass of the system.
The foot is fabricated by cutting an elastic rubber sphere, which offers both high ground traction and impact absorption. This design not only enhances contact stability during motion but also attenuates high-frequency vibrations at the foot ground interface. As a result, the pressure sensor mounted between the foot and the shank experiences reduced signal noise, thereby improving measurement reliability.
Figure 13 illustrates the proposed experimental platform consists of four major components. First, MATLAB 2024a is employed for data analysis, while the dynamics and control algorithm are established and verified in Simulink 2024a. The validated control laws are subsequently executed by a Beckhoff controller, which communicates with the upper-level PC via EtherCAT, enabling real-time parameter monitoring and online tuning. The controller outputs voltage commands to the valve control system, thereby regulating the air pressure supplied by the compressor and generating the contraction force of the PAMs to drive the PAM-driven biomimetic leg joints system. The resulting joint motion and sensor feedback are transmitted back to the Beckhoff controller, forming a closed-loop control architecture. Overall, the system integrates modeling and simulation, real-time computation, pneumatic actuation, and feedback monitoring into a unified experimental platform, providing a controllable, adjustable, and verifiable platform for PAM-driven biomimetic leg joints system motion control research.
As the leg moves, sensors such as angle encoders measure joint angles. These signals are continuously fed back to the Beckhoff controller, which updates the control algorithm in real time. By adjusting the valve control voltage dynamically, the system maintains the desired trajectory and ensures stable and adaptive pneumatic actuation throughout operation. Note that the proposed controller does not rely on online optimization for system, and all required matrix operations are low-dimensional, making the computational burden compatible with real-time embedded implementation.
Table 6 summarizes the technical specifications of the key equipment used in this study.
To ensure consistency with the simulation study, the uncertainty in the experimental setup is introduced into the mass terms,
and
, where
and
. The desired joint trajectories are defined as time-varying sinusoidal signals and are expressed as follows:
By solving the joint-to-actuator mapping model in real time, the corresponding desired PAMs force and muscle contraction displacement can be obtained. The joint tracking performance of the PAM-driven biomimetic leg joints system is illustrated by the swing motion curves shown below.
An analog voltage signal was issued via the Beckhoff EL3068 to drive the proportional valve. By adjusting the valve opening, the internal pressure of the PAMs were regulated, enabling control of the muscle’s generated force. Channel-wise voltage outputs are reported in
Figure 14 and constitute the raw data for single PAM control.
Figure 14a measured voltages of the two antagonistic PAMs at the hip,
Figure 14b those at the knee. Apart from the voltage the measured PAM air pressures are reported during experiments. The hip antagonistic air pressures
and
vary periodically and approximately in anti-phase within
and
. For the knee joint, the air pressures vary within
and
. Overall, the air pressure trajectories remain smooth and repeatable over the 30 s tests, indicating stable pneumatic regulation during high-frequency motion.
Figure 15 and
Figure 16 present the experimental results of joint trajectory tracking under adaptive robust control algorithm and SMC for the hip and knee joints, respectively. In each Figure, the upper subplot displays the actual joint angle overlaid with the desired trajectory, while
Figure 17 and
Figure 18 show the corresponding tracking errors.
For the hip joint, both controllers successfully follow the periodic desired trajectory. However, adaptive robust control algorithm demonstrates substantially improved tracking precision and smoothness. In particular, adaptive robust control algorithm achieves noticeably smaller error magnitudes near trajectory inflection points, as illustrated in the magnified insets. The tracking error under adaptive robust control algorithm consistently remains within rad, whereas the SMC exhibits transient spikes exceeding 0.2 rad, highlighting its reduced robustness to dynamic disturbances.
A similar performance advantage is observed for the knee joint. The adaptive robust control algorithm achieves more accurate trajectory tracking with minimal overshoot and steady-state error compared to SMC. The SMC response shows clear deviations during rapid transitions, with errors reaching up to 0.25 rad, where as adaptive robust control algorithm maintains errors predominantly within 0.05 rad. These results confirm that the adaptive robust control algorithm provides superior tracking accuracy, improved robustness, and reduced sensitivity to model uncertainties and high-frequency disturbances, making it well suited for control algorithm of PAM-driven biomimetic leg joints system operating under dynamic motion conditions.
The proposed controller is inherently modular and can be extended from a single leg to multi-leg or full quadruped platforms by applying the same joint-level controller to each actuated DOF. For an n-DOF system, the main online computations include evaluating the nominal dynamics terms and updating the adaptive law. In practice, the required matrix operations remain of moderate size and can be implemented efficiently using precomputed symbolic expressions, recursive dynamics, and lightweight linear-algebra routines. Since the uncertainty compensation is computed locally from measured states and error signals, the algorithm scales approximately linearly with the number of joints when implemented in a per-joint fashion, while cross-leg coupling can be incorporated through the nominal model without changing the overall structure. Moreover, the controller does not require iterative optimization online; thus, its computational burden is suitable for real-time deployment on embedded hardware. With an appropriate sampling rate consistent with pneumatic bandwidth, the control law can be executed within each control cycle on common real-time processors, making the proposed approach a feasible candidate for quadruped locomotion control.
6. Conclusions
This paper proposes an adaptive robust control algorithm to address the intrinsic nonlinearities, time-varying uncertainties, and bandwidth limitations of PAM-driven biomimetic leg joints system. By explicitly embedding second-order trajectory constraints into the control law, the adaptive robust control algorithm enables precise end-effector trajectory tracking while inherently satisfying the system’s dynamic constraints, eliminating the need for complex auxiliary control algorithm. Within this model, adaptive robust control algorithm decomposes the system dynamics into nominal and uncertain components. Unknown disturbances and model uncertainties are mitigated through online parameter estimation, while an adaptive law adjustment mechanism is employed to increase robustness when tracking deviations exceed predefined thresholds. This allows the control algorithm to achieve fast error convergence and maintain stable performance, even in the presence of significant modeling errors and external disturbances. Simulation studies are conducted to evaluate the adaptive robust control algorithm against SMC under trajectory tracking and disturbance rejection scenarios. The results demonstrate clear advantages in terms of steady-state accuracy, disturbance attenuation, and tracking precision. Furthermore, experimental validation on PAM-driven biomimetic leg joints system shows that joint angle tracking errors remain on the order of rad during prolonged high-frequency motion, with negligible chattering. The adaptive robust control algorithm exemplifies the integration of adaptiveness and robustness, thereby constituting an advanced control system that is applicable to a wide range of uncertain nonlinear mechanical systems. Its generality and flexibility make it a promising candidate for future intelligent robotic and cyber-physical systems.
Although favorable performance is observed in the tested high-frequency trajectories, the achievable tracking bandwidth is fundamentally constrained by pneumatic actuation, including valve flow limits, air compressibility, pressure dynamics, and transport delays. These factors may degrade performance when the desired motion contains higher-frequency components or rapid torque reversals. Second, the current experimental evaluation primarily focuses on joint-angle tracking; a more comprehensive assessment under broader operating conditions is still needed. Third, extending the proposed approach to human–robot interaction or load-bearing scenarios may introduce additional challenges, such as safety-critical compliance requirements, interaction-force regulation, actuator saturation management, and contact-induced uncertainties, which are not explicitly addressed in the present study. Future work will therefore focus on improving performance under pneumatic bandwidth constraints, reporting additional system-level metrics, and validating the approach in interaction-rich and load-bearing tasks, as well as investigating scalability to multi-leg or full quadruped systems with real-time embedded implementation.