Finite-time port-controlled Hamiltonian design
Version 1.0.0 (23.2 KB) by
Saeed Rafee Nekoo
These are the codes for finite-time port-controlled Hamiltonian design for second-order dynamical systems.
The codes are related to the published paper:
Saeed Rafee Nekoo, Begoña C. Arrue, Anibal Ollero, "Finite-time port-controlled Hamiltonian design for second-order dynamical systems," Journal of the Franklin Institute, 2025, 107834.
Finite-time design is not common in classical controllers, and the ones in the literature are not usually robust. The state-dependent differential Riccati equation (SDDRE) is an optimal nonlinear design in the company of a finite-horizon cost function that manipulates the terminal time using a weighting matrix of states. This method is sensitive to parametric model uncertainty, though its finite time characteristics can be augmented with other controllers. Port-controlled Hamiltonian (PCH) design can present a robust control law by defining the desired inertia matrix in the reference Hamiltonian function. The PCH is not finite-time; however, it can be modified using the suboptimal gain of the SDDRE controller. This paper combines the SDDRE and the PCH design to present a novel nonlinear controller with both finite-time and robust behavior toward parameter uncertainty in modeling. The finite-time behavior refers to the capability of controlling a system with different final times, as the input parameter to the system (or finishing a control task in a predefined time). The modified PCH is applied to second-order dynamical systems; as an illustrative example, a two-degree-of-freedom (DoF) inverted pendulum has been simulated and compared with a proportional-derivative (PD) control and a PCH with constant PD gains. A four-DoF robot arm was also simulated to highlight the application of the proposed method on complex systems.
Cite As
Saeed Rafee Nekoo, Begoña C. Arrue, Anibal Ollero, "Finite-time port-controlled Hamiltonian design for second-order dynamical systems," Journal of the Franklin Institute, 2025, 107834. DOI: https://doi.org/10.1016/j.jfranklin.2025.107834
MATLAB Release Compatibility
Created with
R2025a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
