Next Article in Journal
Research on the Influence of Key Parameters of High-Speed Hairpin Permanent-Magnet Motors for Electric Vehicles on Electromagnetic Performance
Previous Article in Journal
Aerodynamic Matching Optimization of the Second-Stage Stator of Centrifugal Compressor
Previous Article in Special Issue
Benchmark Feature Detection Method for Mobile Robot Automatic Drilling System Integrated with Deep Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy-Based Trajectory Tracking Control of a Six-DOF Robotic Manipulator Using the Port-Hamiltonian Framework

School of Information and Electrical Engineering, Hangzhou City University, Hangzhou 310015, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Machines 2026, 14(4), 406; https://doi.org/10.3390/machines14040406
Submission received: 12 March 2026 / Revised: 2 April 2026 / Accepted: 2 April 2026 / Published: 7 April 2026
(This article belongs to the Special Issue Interactive Manipulation of Mobile Manipulators)

Abstract

Structure-preserving trajectory tracking control for a six-degree-of-freedom robotic manipulator is developed within the port-Hamiltonian framework. Error Hamiltonian is constructed by incorporating configuration and momentum tracking errors into the system energy. Based on this formulation, a momentum-based tracking controller with feedforward compensation and damping injection is derived without coordinate transformations or matching conditions. A disturbance estimator is further introduced to compensate unknown external torques. Energy-based analysis proves nominal closed-loop stability and uniform ultimate boundedness in the presence of estimation errors. Simulation results on a full rigid-body manipulator demonstrate accurate trajectory tracking under coupled and high-speed joint motions.

1. Introduction

Robotic manipulators have become a core enabling technology in modern manufacturing and service automation, where high-accuracy and high-speed motion execution is routinely required in tasks such as pick-and-place, assembly, machining, and contact-rich operations. In these applications, trajectory tracking control—i.e., driving multi-joint, strongly coupled nonlinear dynamics to follow a prescribed reference motion—is a fundamental capability that directly determines motion precision, throughput, and operational safety. Consequently, a rich body of motion/force control methodologies has been developed over the past decades, spanning model-based joint-space tracking and adaptive schemes [1,2], operational-space formulations for task-level motion/force control [3], and impedance-based interaction control for regulating dynamic behavior during contact [4]. These developments have been systematically documented in standard robotics and control references, which also highlight the practical importance of scalable tracking designs for high-degree-of-freedom manipulators [5,6,7].
Classical nonlinear control strategies have dominated the field of robotic trajectory tracking for several decades. Among them, computed torque control and feedback linearization explicitly compensate nonlinear dynamic terms to obtain a linear error system, thereby achieving high-accuracy tracking performance [6,7]. Such approaches have been extensively documented in standard robotics literature and widely implemented in industrial manipulators. However, their performance relies heavily on accurate dynamic modeling, and the cancellation of nonlinear dynamics may obscure the intrinsic physical structure of the mechanical system. To address modeling uncertainties and external disturbances, adaptive and robust control schemes have been developed, providing theoretical guarantees and practical effectiveness in various robotic applications [1,2]. Despite these advances, most existing tracking designs are formulated primarily at the level of error dynamics rather than directly exploiting the underlying energy and interconnection structure of the system. In recent years, passivity-based and energy-shaping control methodologies have attracted increasing attention, as they utilize the natural energy properties of mechanical systems to guide controller synthesis and stability analysis [8,9]. These approaches offer a physically consistent and structure-aware alternative for nonlinear mechanical control. In addition to the classical robotics literature, passivity-based and energy-shaping approaches have also played an important role in the control of mechanical systems. Representative results include the globally asymptotically stable PD+ controller for robot manipulators [10], systematic joint-space formulations for model-based robot tracking control [11], interconnection and damping assignment passivity-based control of port-controlled Hamiltonian systems [12,13,14], and trajectory tracking formulations developed for port-controlled Hamiltonian systems [15,16].
While these methods provide important theoretical foundations, they exhibit distinct limitations when applied to trajectory tracking of robotic manipulators. Classical robot tracking approaches, such as computed torque control, rely on exact cancellation of nonlinear dynamics and are, therefore, sensitive to modeling uncertainties, while also failing to preserve the intrinsic port-Hamiltonian structure. In contrast, passivity-based and energy-shaping methods emphasize stability through energy properties, but are primarily formulated for regulation problems rather than explicit trajectory tracking [17]. Consequently, a systematic framework that combines trajectory tracking objectives with structure-preserving energy-based design remains insufficiently developed.
More recently, extended quadratic port-Hamiltonian formulations have been proposed to address trajectory tracking problems for general nonlinear systems [18]. However, these results are mainly developed at an abstract level and do not directly provide explicit realizations for rigid-body robotic manipulators. In particular, the construction of implementable error Hamiltonians consistent with Euler–Lagrange mechanical structures and the derivation of explicit control laws for high-degree-of-freedom manipulators remain open issues.
In addition, it is worth emphasizing that classical passivity-based and energy-shaping approaches for mechanical systems are primarily designed for stabilization or regulation tasks, and their extension to trajectory tracking is not always straightforward.
On the other hand, standard robot trajectory tracking methods, such as computed torque control, rely on feedback linearization and exact cancellation of nonlinear dynamics, and, therefore, do not explicitly preserve the port-Hamiltonian structure of the system.
Consequently, there remains a gap between abstract port-Hamiltonian tracking formulations and practically implementable controllers for rigid-body manipulators that simultaneously preserve the underlying energy structure and provide explicit control laws. As a result, the application of the extended quadratic PHS tracking concept to realistic rigid manipulators remains an open problem.
Therefore, the main challenge is to bridge the gap between abstract port-Hamiltonian tracking formulations and practically implementable controllers for rigid-body manipulators, while preserving the underlying energy structure. Motivated by these observations, this paper develops a structure-preserving trajectory tracking control framework for a six-degree-of-freedom rigid robotic manipulator within the port-Hamiltonian setting. In contrast to classical computed torque approaches, the proposed method does not rely on exact cancellation of nonlinear dynamics, but, instead, preserves the intrinsic energy-based structure of the system. Moreover, compared with existing passivity-based and energy-shaping methods, which mainly address stabilization problems, the present work explicitly considers trajectory tracking within a port-Hamiltonian framework.
More specifically, an error Hamiltonian is constructed by augmenting the mechanical energy with quadratic terms in both configuration and momentum tracking errors. Based on this structure, a momentum-based tracking controller is derived, consisting of an equivalent feedforward compensation term and a damping injection term. In addition, an online disturbance estimator is incorporated to compensate unknown external torques acting on the manipulator joints, further improving the robustness of the closed-loop system.
The main contributions of this paper can be summarized as follows. First, compared with existing abstract port-Hamiltonian tracking formulations, a concrete specialization to rigid-body robotic manipulators is developed, leading to an explicit realization in terms of configuration and momentum variables. Second, compared with classical computed torque and feedback linearization methods, an explicit momentum-based control law is derived that preserves the port-Hamiltonian structure without relying on exact cancellation of nonlinear dynamics. Third, compared with standard passivity-based regulation approaches, the proposed method explicitly addresses trajectory tracking and systematically integrates disturbance estimation within the same energy-based framework. The structure of the paper is summarized as follows. Section 2 describes the port-Hamiltonian modeling of the considered six-degree-of-freedom manipulator. Section 3 derives the error Hamiltonian and the associated tracking controller with closed-loop stability analysis. Section 4 reports the simulation results together with related discussions and Section 5 concludes the paper.

2. Problem Formulation and Port-Hamiltonian Modeling

2.1. Manipulator Dynamics and Notation

Consider a rigid-body robotic manipulator with six revolute joints. Let q R 6 denote the joint coordinates, q ˙ R 6 the joint velocities, and τ R 6 the joint torque input. The manipulator dynamics are described by the standard Euler–Lagrange model
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) = τ ,
where M ( q ) R 6 × 6 is the inertia matrix, C ( q , q ˙ ) q ˙ R 6 collects Coriolis and centrifugal terms, and G ( q ) R 6 is the gravity vector. Throughout this paper, the manipulator is assumed to be fully actuated and rigid, and actuator dynamics are not explicitly modeled. The reference trajectory q d ( t ) is assumed to be twice continuously differentiable with bounded derivatives.

2.2. Port-Hamiltonian Representation

Define the generalized momentum
p = M ( q ) q ˙ .
Let V ( q ) denote the gravitational potential energy. The total mechanical energy is
H ( q , p ) = 1 2 p M 1 ( q ) p + V ( q ) .
Define the state vector x = q , p R 12 . Then the system admits the port-Hamiltonian form
x ˙ = J R H x + g τ ,
where
J = 0 6 × 6 I 6 I 6 0 6 × 6 , R = 0 12 × 12 , g = 0 6 × 6 I 6 .
In the absence of external inputs, the system is lossless and energy conserving.

2.3. Structural Properties

The inertia matrix M ( q ) is symmetric positive definite for all admissible configurations. Moreover, the standard robot property holds: the matrix M ˙ ( q ) 2 C ( q , q ˙ ) is skew-symmetric, which implies
q ˙ M ˙ ( q ) 2 C ( q , q ˙ ) q ˙ = 0 .
Using (1)–(3), the time derivative of the total energy satisfies
H ˙ = q ˙ τ ,
which shows that the input power q ˙ τ is equal to the rate of change of stored energy. These properties will be used in the subsequent structure-preserving tracking control design.

3. Structure-Preserving Trajectory Tracking Control

Based on the port-Hamiltonian model derived in Section 2, the objective of this section is to develop a structure-preserving trajectory tracking controller for the manipulator while compensating unknown disturbance torques.
The robot dynamics are, therefore, considered in the presence of matched disturbances acting on the joints,
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) = τ + d ( t ) ,
where q R n denotes the joint position vector ( n = 6 for the manipulator considered in this paper), τ R n is the control torque input, and d ( t ) R n represents an unknown disturbance torque.
The control objective is to design a control law τ such that the joint positions track a desired trajectory q d ( t ) while preserving the energy-based structure of the port-Hamiltonian model.
Let q d ( t ) be a smooth desired trajectory satisfying
q d ( t ) , q ˙ d ( t ) , q ¨ d ( t ) are bounded .
The control objective is to design a control law τ such that
lim t ( q ( t ) q d ( t ) ) = 0 .
To formulate the tracking problem within the port-Hamiltonian framework, the position error is defined as
e = q q d .
Let
p = M ( q ) q ˙
denote the generalized momentum. The desired momentum is introduced as
p d = M ( q ) q ˙ d .
The momentum tracking error is, therefore,
e p = p p d .

3.1. Nominal Tracking Controller

In this subsection, the nominal tracking control problem is considered without disturbance estimation.
Define the following error Hamiltonian:
H e ( e , e p ) = 1 2 e p M 1 ( q ) e p + 1 2 e K p e ,
where K p R n × n is a symmetric positive definite gain matrix.
The nominal control torque is chosen as
τ c = C ( q , q ˙ ) q ˙ + G ( q ) + p ˙ d K p e K d M 1 ( q ) e p ,
where K d R n × n is symmetric positive definite and
p ˙ d = M ˙ ( q ) q ˙ d + M ( q ) q ¨ d .
The proposed controller preserves the port-Hamiltonian structure of the error dynamics. Instead of canceling nonlinearities as in computed torque control, the tracking objective is embedded directly into the energy function through the error Hamiltonian.

3.2. Nominal Closed-Loop Stability

Proposition 1.
Consider the disturbance-free robot manipulator
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) = τ c
with the control law defined above. Then the closed-loop tracking error dynamics satisfy
e ˙ = M 1 ( q ) e p , e ˙ p = K p e K d M 1 ( q ) e p .
Equivalently, the error system admits the port-Hamiltonian form
e ˙ e ˙ p = ( J e R e ) H e e H e e p ,
where
J e = 0 I I 0 , R e = 0 0 0 K d .
Moreover, the equilibrium ( e , e p ) = ( 0 , 0 ) is asymptotically stable.
Proof. 
From the definitions of e and e p ,
e = q q d , e p = M ( q ) ( q ˙ q ˙ d ) .
Thus,
e ˙ = q ˙ q ˙ d = M 1 ( q ) e p .
The momentum dynamics of the disturbance-free system are
p ˙ = C ( q , q ˙ ) q ˙ G ( q ) + τ c .
Substituting the control law yields
p ˙ = p ˙ d K p e K d M 1 ( q ) e p ,
which leads to
e ˙ p = K p e K d M 1 ( q ) e p .
The gradients of the error Hamiltonian are
H e e = K p e , H e e p = M 1 ( q ) e p .
Substituting these expressions yields the port-Hamiltonian form.
To prove stability, consider H e as Lyapunov function. As K p > 0 and M ( q ) > 0 , H e is positive definite.
Its derivative is
H ˙ e = e p M 1 ( q ) K d M 1 ( q ) e p 0 .
The condition H ˙ e = 0 implies e p = 0 . Substituting e p = 0 into the error dynamics gives
e ˙ = 0 , e ˙ p = K p e .
For invariance, we require e ˙ p = 0 , which implies that K p e = 0 . As K p is positive definite, e = 0 .
Hence, the largest invariant set is ( e , e p ) = ( 0 , 0 ) . By LaSalle’s invariance principle, the equilibrium is asymptotically stable. □

3.3. Disturbance Estimator

Following the immersion and invariance disturbance estimation framework proposed in [19], an online disturbance estimation scheme is introduced to compensate unknown external torques.
From the robot dynamics, the momentum equation can be written as
p ˙ = τ c C ( q , q ˙ ) q ˙ G ( q ) + d .
The disturbance estimate d ^ is generated by the adaptive law
d ^ ˙ = a p + α C ( q , q ˙ ) q ˙ G ( q ) + τ c d ^ ,
where a > 0 and α > 0 are design parameters.
Define the estimation error:
d ˜ = d d ^ .
Proposition 2.
Assume that the disturbance derivative satisfies d ˙ ( t ) ξ . Then, for bounded signals p ( t ) and p ˙ ( t ) , the estimation error d ˜ remains bounded and converges to a neighborhood of the origin whose size depends on ξ.
Proof. 
Taking the time derivative of d ˜ gives
d ˜ ˙ = d ˙ d ^ ˙ .
Substituting the estimator dynamics yields
d ˜ ˙ = d ˙ + a p α C ( q , q ˙ ) q ˙ G ( q ) + τ c d ^ .
Using the momentum equation, this becomes
d ˜ ˙ = d ˙ + a p α ( p ˙ d ˜ ) .
Consider the Lyapunov function
V d = 1 2 d ˜ d ˜ .
Its derivative satisfies
V ˙ d = d ˜ d ˙ + a p α ( p ˙ d ˜ ) .
As p ( t ) and p ˙ ( t ) are bounded and d ˙ ( t ) ξ , there exists a constant c > 0 such that
V ˙ d α d ˜ 2 + c d ˜ .
Therefore, d ˜ is bounded and converges to a neighborhood of the origin determined by ξ . □

3.4. Closed-Loop Stability with Disturbance Estimation

When the disturbance estimate is incorporated, the control law becomes
τ = C ( q , q ˙ ) q ˙ + G ( q ) + p ˙ d K p e K d M 1 ( q ) e p d ^ .
The resulting error dynamics are
e ˙ = M 1 ( q ) e p , e ˙ p = K p e K d M 1 ( q ) e p + d ˜ .
Define the error state
x e = e e p .
Then the closed-loop error system is
x ˙ e = f ( x e ) + B d ˜ , B = 0 I .
Proposition 3.
Assume that d ˙ ( t ) ξ . Then the tracking error state x e is uniformly ultimately bounded. Furthermore, all closed-loop signals remain bounded. If d ˜ ( t ) 0 , then the equilibrium x e = 0 is asymptotically stable.
Proof. 
Consider the nominal system corresponding to d ˜ = 0 :
x ˙ e = f ( x e ) .
From Proposition 1, x e = 0 is asymptotically stable. Thus, there exists a Lyapunov function V c ( x e ) such that
α 1 ( x e ) V c ( x e ) α 2 ( x e ) ,
V ˙ c α 3 ( x e ) .
For the perturbed system,
V ˙ c α 3 ( x e ) + α 4 ( x e ) d ˜ .
From the estimator dynamics, d ˜ is bounded provided that p and p ˙ are bounded. As x e is composed of ( e , e p ) and the reference trajectory is bounded, the boundedness of x e implies boundedness of q, q ˙ , p, and p ˙ .
Therefore, the closed-loop system is self-consistent: the boundedness of x e ensures the boundedness of d ˜ , and vice versa.
Hence, there exists a neighborhood such that outside it, the negative term dominates, yielding V ˙ c < 0 . Thus, x e is uniformly ultimately bounded.
As x e is bounded and the reference trajectory is bounded, it follows that all closed-loop signals ( q , q ˙ , p , τ , d ^ ) are bounded.
Finally, if d ˜ ( t ) 0 , then the perturbation term vanishes, and the system reduces asymptotically to the nominal asymptotically stable system. Hence, x e = 0 is asymptotically stable. □

4. Simulation Result

4.1. Simulation Setup

4.1.1. Robot Description

All simulations are conducted using a six-degree-of-freedom industrial manipulator platform (VSCR-6EUR3). The robot is a serial rigid-body manipulator equipped with six revolute joints and integrated servo actuators. According to the manufacturer specifications, the robot provides a nominal payload capacity of 3 kg, a maximum working radius of 666 mm, and an overall height of approximately 820.5 mm. The repeatability of the end-effector positioning is better than ±0.05 mm under nominal payload conditions.

4.1.2. Robot Model Parameters

According to the robot experimental manual, the manipulator kinematic frames are established using the modified Denavit–Hartenberg convention. The associated geometric parameters are provided in Table 1.
Figure 1 illustrates the six-degree-of-freedom industrial manipulator considered in this work, where the joints are numbered sequentially from the base to the end-effector (Joint 1 to Joint 6). The kinematic frames are assigned according to the modified Denavit–Hartenberg (MDH) convention. The corresponding geometric and rigid-body parameters are reported in Table 1 and Table 2, which are directly associated with the robot configuration shown in Figure 1.

4.1.3. Simulation Environment

All simulations are carried out in MATLAB/Simulink (MathWorks, R2024b) over the time interval t [ 0 , 10 ] s using a fixed-step solver with sampling time
T s = 10 5 s .
For both Case 1 and Case 2, the same controller parameters are used. The proportional and damping gain matrices are chosen as
K p = diag ( 140 , 110 , 90 , 50 , 40 , 30 ) ,
K d = diag ( 24 , 21 , 19 , 14 , 12 , 10 ) .
A small viscous damping term is included in the plant model for numerical robustness,
B = diag ( 0.05 , 0.05 , 0.04 , 0.03 , 0.02 , 0.02 ) .
The disturbance estimator gain is implemented in diagonal matrix form as the vectorized extension of the scalar parameter α introduced in the theoretical formulation:
A = diag ( 200 , 200 , 200 , 150 , 120 , 100 ) .
The initial conditions are selected as
q ( 0 ) = 0 , q ˙ ( 0 ) = 0 , p ( 0 ) = M ( q ( 0 ) ) q ˙ ( 0 ) = 0 .
The same disturbance model is used in both cases, while the reference trajectories are varied to generate different operating conditions. The corresponding trajectory parameters are reported in the descriptions of Case 1 and Case 2.

4.2. Tracking Performance Under Disturbance

In order to evaluate the effectiveness of the disturbance estimation mechanism, a comparative study is conducted under identical simulation conditions. Two configurations are considered: the proposed port-Hamiltonian controller with disturbance estimation, and the same controller without disturbance compensation, i.e., with τ ^ d 0 .
Figure 2 illustrates the joint trajectories and their corresponding reference signals. It can be observed that all joint positions accurately track the desired trajectories. The actual trajectories almost perfectly overlap with the reference signals throughout the entire simulation interval, indicating that the proposed control strategy effectively compensates for the nonlinear robot dynamics and inter-joint coupling.
Figure 3 compares the joint tracking errors obtained with and without disturbance estimation. For all six joints, the controller without disturbance compensation exhibits visibly larger transient deviations and a slower return toward the origin. By contrast, when the estimator is activated, the error envelopes are significantly reduced and the convergence behavior becomes more uniform across the joints. This difference is particularly important because both configurations use the same tracking controller and are subjected to the same external disturbances. Therefore, the observed improvement can be directly attributed to the disturbance compensation mechanism rather than to a change in the nominal control law. These results confirm that the estimator effectively attenuates the influence of matched disturbances and improves the disturbance rejection capability of the closed-loop system.
To further evaluate the disturbance estimation capability, unknown external disturbance torques are injected into each joint. The disturbances are composed of multiple sinusoidal components with different frequencies, generating rapidly varying torque disturbances.
Figure 4 compares the true disturbance torques with the estimated disturbances provided by the proposed estimator. It can be observed that the estimated disturbances closely follow the true disturbances for all joints, indicating that the estimator is able to accurately reconstruct the unknown disturbance torques in real time.
The overall effect of disturbance compensation is further highlighted in Figure 4, which shows the Euclidean norm of the tracking error. Compared with the controller without disturbance estimation, the proposed method yields a faster decay of the error norm and a lower residual value after the transient phase. This indicates not only improved pointwise joint tracking, but also a clear reduction in the global tracking error level of the manipulator. From a control perspective, this result shows that the estimator improves the closed-loop robustness without altering the structure-preserving tracking framework itself. In other words, the estimator acts as an effective compensation layer that enhances tracking performance under disturbance while preserving the port-Hamiltonian formulation of the controller.
The overall effect of disturbance compensation is further illustrated in Figure 5, which shows the Euclidean norm of the tracking error. Compared with the controller without disturbance estimation, the proposed method yields a faster decay of the error norm and a lower residual value after the transient phase. This observation is important because it shows that the improved tracking performance in Figure 3 and Figure 4 is not achieved at the price of an impractical increase in control effort.
The corresponding joint control torques are shown in Figure 6. It can be observed that the introduction of disturbance compensation does not produce excessive torque amplification. Although the proposed method modifies the control action through the estimated disturbance term, the resulting torque profiles remain of comparable magnitude to those obtained without the estimator. Instead, the proposed method provides a more effective use of the control input by compensating for external disturbances in a targeted manner. Hence, the estimator improves tracking accuracy while maintaining a reasonable torque demand for all joints.
In addition to the tracking performance and disturbance estimation results, the evolution of the error-related energy is also examined to further illustrate the structural behavior of the closed-loop system.
Figure 7 shows the time evolution of the error energy H e ( t ) . It can be observed that the energy decreases rapidly during the initial transient phase and then gradually approaches a small residual neighborhood as the tracking errors converge. This behavior is consistent with the dissipative mechanism induced by the proposed controller.
From a structural viewpoint, the decreasing trend of H e ( t ) confirms that the closed-loop system preserves the expected energy evolution characteristic in the numerical implementation. In particular, no growth of the error energy is observed over the simulation horizon, which is in agreement with the stability properties derived in the theoretical analysis.
It is worth noting that the energy curve may not be perfectly monotonic at every sampling instant due to numerical integration, finite-step discretization, and algebraic approximations in the robot dynamics computation. Nevertheless, the global dissipative trend remains clear, which further supports the structure consistency of the proposed energy-based tracking controller.
The quantitative results reported in Table 3 further confirm the advantage of the proposed method. Compared with the controller without disturbance compensation, the proposed method achieves lower RMS and maximum tracking errors, together with a shorter settling time. In addition, the control torque remains at a comparable level, indicating that the performance improvement is not obtained at the expense of excessive control effort. The low disturbance estimation error also confirms the effectiveness of the estimator in reconstructing the unknown external torques.

4.3. High-Speed or Large-Amplitude Tracking Case

To further evaluate the performance of the proposed controller under more demanding operating conditions, a high-speed and large-amplitude tracking case is considered. In this simulation, all six joints are required to follow reference trajectories with increased amplitudes and higher frequencies compared with those used in the previous case. As a result, the manipulator is subjected to stronger dynamic coupling, larger velocity and acceleration variations, and more demanding control effort requirements.
Figure 8 shows the joint trajectories and their corresponding reference signals in this aggressive motion scenario. It can be observed that the actual joint responses still closely follow the desired trajectories for all six joints. Although the motion conditions are significantly more challenging than those in the nominal tracking case, the controller preserves accurate trajectory tracking performance over the entire simulation interval.
The corresponding tracking errors are presented in Figure 9. As expected, the error magnitudes are slightly larger than those observed in the previous case due to the higher motion speed and larger trajectory amplitudes. Nevertheless, the tracking errors remain small and bounded, and no instability or performance degradation is observed. This result demonstrates that the proposed controller is capable of handling stronger nonlinear coupling effects and more aggressive joint motions while maintaining satisfactory tracking accuracy.
Overall, the results of this case confirm that the proposed method is not limited to mild operating conditions. Instead, it remains effective under high-speed and large-amplitude motion, which further verifies its scalability and applicability to demanding robotic tracking tasks.

5. Conclusions

This paper presented a port-Hamiltonian-based tracking control framework for a six-degree-of-freedom robotic manipulator. Starting from the port-Hamiltonian formulation of the robot dynamics, a momentum-based tracking controller was developed to regulate the joint trajectories while preserving the energy-related structural properties of the system. In addition, a disturbance estimation mechanism was incorporated to enhance the robustness of the closed-loop system against unknown external torques.
The proposed controller was evaluated through numerical simulations involving coupled multi-joint motions and high-speed large-amplitude trajectories. The results demonstrated accurate trajectory tracking performance and effective disturbance compensation for all joints. Furthermore, the evolution of the error energy confirmed the dissipative behavior of the closed-loop system, which is consistent with the energy-based design philosophy underlying the proposed control framework.
Future work will focus on experimental validation of the proposed method on a real robotic platform. In addition, the framework will be extended to more complex robotic systems, including rigid-flexible coupled manipulators where link flexibility is modeled using beam dynamics. Integration of the present energy-based tracking design with flexible-link dynamics is expected to provide a systematic approach for controlling lightweight manipulators with significant structural deformation.

Author Contributions

Conceptualization, Z.L. and W.Z.; methodology, Z.L. and J.W.; software, Z.L., J.W. and X.H.; validation, Z.L. and X.H.; formal analysis, J.W. and W.Z.; investigation, J.W. and T.W.; data curation, J.W.; writing—original draft preparation, Z.L. and W.Z.; writing—review and editing, T.W.; visualization, Z.L. and X.H.; supervision, W.Z.; project administration, W.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Slotine, J.J.E.; Li, W. On the adaptive control of robot manipulators. Int. J. Robot. Res. 1987, 6, 49–59. [Google Scholar] [CrossRef]
  2. Lewis, F.L.; Abdallah, C.T.; Dawson, D.M. Control of Robot Manipulators; Macmillan Publishing Company: New York, NY, USA, 1993. [Google Scholar]
  3. Khatib, O. A unified approach for motion and force control of robot manipulators: The operational space formulation. IEEE J. Robot. Autom. 1987, RA-3, 43–53. [Google Scholar] [CrossRef]
  4. Hogan, N. Impedance control: An approach to manipulation: Part I—Theory. ASME J. Dyn. Syst. Meas. Control 1985, 107, 1–7. [Google Scholar] [CrossRef]
  5. Craig, J.J. Introduction to Robotics: Mechanics and Control, 3rd ed.; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2005. [Google Scholar]
  6. Spong, M.W.; Hutchinson, S.; Vidyasagar, M. Robot Modeling and Control; John Wiley & Sons: Hoboken, NJ, USA, 2005. [Google Scholar]
  7. Siciliano, B.; Sciavicco, L.; Villani, L.; Oriolo, G. Robotics: Modelling, Planning and Control; Springer: London, UK, 2009. [Google Scholar]
  8. Ortega, R.; van der Schaft, A.J.; Mareels, I.; Maschke, B.M. Putting energy back in control. IEEE Control Syst. Mag. 2001, 21, 18–33. [Google Scholar]
  9. van der Schaft, A.J. L2-Gain and Passivity Techniques in Nonlinear Control; Springer: London, UK, 2000. [Google Scholar]
  10. Paden, B.; Panja, R. Globally asymptotically stable PD+ controller for robot manipulators. Int. J. Control 1988, 47, 1697–1712. [Google Scholar] [CrossRef]
  11. Kelly, R.; Santibánez, V.; Loria, A. Control of Robot Manipulators in Joint Space; Springer: London, UK, 2005. [Google Scholar]
  12. Maschke, B.M.; van der Schaft, A.J.; Breedveld, P.C. An intrinsic Hamiltonian formulation of network dynamics: Non-standard Poisson structures and gyrators. J. Frankl. Inst. 1992, 329, 923–966. [Google Scholar] [CrossRef]
  13. van der Schaft, A.J.; Maschke, B.M. Hamiltonian formulation of distributed-parameter systems with boundary energy flow. J. Geom. Phys. 2002, 42, 166–194. [Google Scholar] [CrossRef]
  14. Ortega, R.; van der Schaft, A.J.; Mareels, I.; Maschke, B.M. Interconnection and damping assignment passivity-based control of port-controlled Hamiltonian systems. Automatica 2002, 38, 585–596. [Google Scholar] [CrossRef]
  15. Fujimoto, K.; Sakurama, K.; Sugie, T. Trajectory tracking control of port-controlled Hamiltonian systems via generalized canonical transformations. Automatica 2003, 39, 2059–2069. [Google Scholar] [CrossRef]
  16. Fujimoto, K.; Sugie, T. Canonical transformations and stabilization of generalized Hamiltonian systems. Syst. Control Lett. 2001, 42, 217–227. [Google Scholar] [CrossRef]
  17. Duindam, V.; Macchelli, A.; Stramigioli, S.; Bruyninckx, H. Modeling and Control of Complex Physical Systems: The Port-Hamiltonian Approach; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
  18. Hoang, N.H.; Nguyen, T.S.; Le, T.K.P.; Dochain, D.; Maschke, B.M.; Le Gorrec, Y. Trajectory tracking for nonlinear systems using extended quadratic port-Hamiltonian models without input and state coordinate transformations. Syst. Control Lett. 2022, 167, 105325. [Google Scholar] [CrossRef]
  19. Astolfi, A.; Ortega, R. Immersion and invariance: A new tool for stabilization and adaptive control of nonlinear systems. IEEE Trans. Autom. Control 2003, 48, 590–606. [Google Scholar] [CrossRef]
Figure 1. Six-degree-of-freedom industrial manipulator platform considered in the simulation study. The joints are numbered from the base to the end-effector according to the MDH-based kinematic model used in this paper.
Figure 1. Six-degree-of-freedom industrial manipulator platform considered in the simulation study. The joints are numbered from the base to the end-effector according to the MDH-based kinematic model used in this paper.
Machines 14 00406 g001
Figure 2. Joint trajectories and reference signals under coupled multi-joint motion.
Figure 2. Joint trajectories and reference signals under coupled multi-joint motion.
Machines 14 00406 g002
Figure 3. Joint tracking error comparison between the proposed method (with disturbance estimation) and the controller without disturbance compensation.
Figure 3. Joint tracking error comparison between the proposed method (with disturbance estimation) and the controller without disturbance compensation.
Machines 14 00406 g003
Figure 4. True disturbance torques and estimated disturbances for all joints.
Figure 4. True disturbance torques and estimated disturbances for all joints.
Machines 14 00406 g004
Figure 5. Euclidean norm of the tracking error with and without disturbance estimation.
Figure 5. Euclidean norm of the tracking error with and without disturbance estimation.
Machines 14 00406 g005
Figure 6. Joint torques.
Figure 6. Joint torques.
Machines 14 00406 g006
Figure 7. Evolution of the error energy H e ( t ) in the coupled multi-joint tracking case.
Figure 7. Evolution of the error energy H e ( t ) in the coupled multi-joint tracking case.
Machines 14 00406 g007
Figure 8. Joint trajectories and reference signals under the high-speed and large-amplitude tracking case.
Figure 8. Joint trajectories and reference signals under the high-speed and large-amplitude tracking case.
Machines 14 00406 g008
Figure 9. Tracking errors of all joints under the high-speed and large-amplitude motion case.
Figure 9. Tracking errors of all joints under the high-speed and large-amplitude motion case.
Machines 14 00406 g009
Table 1. Modified Denavit–Hartenberg parameters of the manipulator.
Table 1. Modified Denavit–Hartenberg parameters of the manipulator.
i α i 1 (Rad) a i 1 (m) d i (m) θ i
1000.1215 θ 1
2 π / 2 00 θ 2
30−0.3000 θ 3
40−0.2760.1105 θ 4
5 π / 2 00.090 θ 5
6 π / 2 00.082 θ 6
Table 2. Rigid-body parameters of the six-link manipulator.
Table 2. Rigid-body parameters of the six-link manipulator.
Linkm (kg)cx (m)cy (m)cz (m)Ixx (kg·m2)IxyIxzIyyIzz
12.56840.0444−0.0034−0.01024.8555 × 10−32.9291 × 10−6−2.69 × 10−84.6739 × 10−32.7626 × 10−3
24.7151−0.1195−5.4 × 10−50.11246.6637 × 10−24.0785 × 10−5−6.2577 × 10−22.2162 × 10−11.5927 × 10−1
31.7571−0.20637.5 × 10−50.02442.6927 × 10−3−3.1551 × 10−5−8.5509 × 10−39.4655 × 10−29.3052 × 10−2
41.08481.0 × 10−4−0.0039−0.00231.1558 × 10−35.7061 × 10−67.776 × 10−76.0373 × 10−41.1189 × 10−3
51.0848−1.0 × 10−40.0039−0.00231.1558 × 10−35.7061 × 10−6−7.776 × 10−76.0373 × 10−41.1189 × 10−3
60.1436−8.7 × 10−60.0025−0.01581.0827 × 10−4−1.0 × 10−102.09 × 10−89.7889 × 10−51.0457 × 10−4
Table 3. Quantitative performance metrics for Case 1.
Table 3. Quantitative performance metrics for Case 1.
MetricWith EstimatorWithout Estimator
RMS tracking error0.0491480.080850
Maximum tracking error0.3932570.393257
Settling time (s)1.060490Not converged
RMS control torque23.45849923.599750
Maximum control torque33.44893333.8522
RMS disturbance estimation error0.185656
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

Lin, Z.; Wang, J.; Hu, X.; Wang, T.; Zhou, W. Energy-Based Trajectory Tracking Control of a Six-DOF Robotic Manipulator Using the Port-Hamiltonian Framework. Machines 2026, 14, 406. https://doi.org/10.3390/machines14040406

AMA Style

Lin Z, Wang J, Hu X, Wang T, Zhou W. Energy-Based Trajectory Tracking Control of a Six-DOF Robotic Manipulator Using the Port-Hamiltonian Framework. Machines. 2026; 14(4):406. https://doi.org/10.3390/machines14040406

Chicago/Turabian Style

Lin, Zhiheng, Junqi Wang, Xindan Hu, Tong Wang, and Weijun Zhou. 2026. "Energy-Based Trajectory Tracking Control of a Six-DOF Robotic Manipulator Using the Port-Hamiltonian Framework" Machines 14, no. 4: 406. https://doi.org/10.3390/machines14040406

APA Style

Lin, Z., Wang, J., Hu, X., Wang, T., & Zhou, W. (2026). Energy-Based Trajectory Tracking Control of a Six-DOF Robotic Manipulator Using the Port-Hamiltonian Framework. Machines, 14(4), 406. https://doi.org/10.3390/machines14040406

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop