Modeladvanced
Port-Hamiltonian system
Also called port-Hamiltonian model.
A model x' = (J - R) grad H + g u, y = g^T grad H, built from an energy H, a skew interconnection J, a damping R >= 0 and ports. It is passive with storage H.
A port-Hamiltonian system is a model of a physical system written in terms of its energy. A function gives the stored energy, a skew-symmetric matrix says how energy moves between the parts without loss, a symmetric positive semidefinite matrix says where energy is lost, and a matrix says where energy enters through the input . The output is chosen so that is the power that flows in. Masses and springs, electric circuits, motors and many coupled systems fit this form. The rate of change of the energy is the supplied power minus the dissipated power, so the model is passive with the energy as storage function (see passivity). Classical Hamiltonian systems are the special case with no damping and no ports. Control methods such as passivity-based control and IDA-PBC use the form because they can change the energy and the damping and keep the structure.
The machine
Equations. The state is , the input is , the output is , and time is continuous, :
Standing assumptions.
- is the Hamiltonian, the total stored energy. It is with a locally Lipschitz gradient, and bounded below. is the gradient as a column vector.
- for every . This is the interconnection matrix.
- for every . This is the dissipation matrix.
- is the input matrix. , and are locally Lipschitz.
Under these assumptions the right side is locally Lipschitz in and continuous in for a continuous input, so solutions exist and are unique while they stay bounded (see the Lipschitz condition and the Picard-Lindelöf theorem). The model is a control-affine system with the special drift and a matching output. The input and the output are conjugate variables: force and velocity, voltage and current, torque and angular velocity. Their product is a power.
Example: mass, spring and damper. Let be the position and the momentum, so . The energy is , and
With the equations are and , where is an external force. The output is the velocity, and is the power of the force.
Example: fully actuated mechanical systems. With configuration , momentum , mass matrix and potential energy , take ,
with friction . The output is the velocity . This is the same system as the Euler-Lagrange model of the Euler-Lagrange equation, written with momenta instead of velocities.
Example: magnetic levitation. A ball of mass hangs under an electromagnet. The state is the flux linkage , the position of the ball and its momentum . With , the coil current is , the magnetic force is , and the coil resistance is the only dissipation. The IDA-PBC page uses this model. Here the electric and the mechanical energy are in one function, and the interconnection matrix couples them.
What it counts
The model counts energy. Along every solution,
because for a skew-symmetric . This is the power balance: the stored energy changes by the supplied power minus the dissipated power . Integrated from to ,
So the system is passive with storage function (shifted to be nonnegative), in the sense of dissipativity with the supply rate . The model predicts the energy budget: how much energy a controller must supply, and how much the friction and the resistors take out.
For the mass, spring and damper with , , and , the energy starts at . With , a classical RK4 simulation with step gives at and at . With the feedback , which adds the damping to , it gives at and at .
Relation to other models
- Hamiltonian systems. With , and the constant canonical , the model is a classical Hamiltonian system, and is conserved. The port-Hamiltonian form allows a state dependent and singular , adds dissipation, and opens ports to the outside.
- Euler-Lagrange systems. For mechanical systems, the Legendre transform maps the Euler-Lagrange model to the port-Hamiltonian model above. The port-Hamiltonian form is wider: it also covers electrical and electromechanical systems in which the energy is not kinetic plus potential (Ortega et al. 2002, Section 1).
- Control-affine systems. Every port-Hamiltonian system is a control-affine system. The converse needs a storage function and a factorization of the drift as , which is a strong structural property.
- Passive linear systems. Take with . Then and is linear. Conversely, let , be passive with a storage , , which by the Kalman-Yakubovich-Popov lemma means and . Put and . Then is skew, , and . So every linear system with a positive definite quadratic storage function for the supply is a port-Hamiltonian system with .
- Dissipative systems. Port-Hamiltonian systems are dissipative with the supply rate . A general dissipative system has no such geometric structure, and its storage function need not be the physical energy.
Known results in the model
- Passivity and the power balance. Shown above. It holds for every , every skew and every , so it does not depend on the numerical values of the parameters. This is the main reason the model is used for robust control design.
- Lyapunov stability of strict minima. If is a strict local minimum of and , then is a Lyapunov function with , so is a Lyapunov stable equilibrium (Khalil 2002, Chapter 4). Asymptotic stability needs more. By the LaSalle invariance principle on a compact sublevel set of around , it holds if no solution other than stays in the set where .
- Damping injection. The feedback with gives the closed loop , which is port-Hamiltonian again with the larger dissipation . It cannot move the minimum of . To stabilize another point the energy must be changed, which is what passivity-based control and IDA-PBC do.
- Power-preserving interconnection. Connect two port-Hamiltonian systems by and . The result is port-Hamiltonian with energy , dissipation , inputs and the interconnection matrix , which is skew-symmetric. This is the energy view of the passivity theorem: the feedback connection of two passive systems is passive.
- Casimir functions and the dissipation obstacle. A function with does not change along the system with , for every . Such a function is a Casimir. Multiply the condition on the right by : since , this gives , so (because ) and then as well. So Casimirs cannot depend on the states where dissipation acts. This limits the energy-Casimir method of control, and it is one reason why IDA-PBC changes and instead of looking for Casimirs.
- Structure-preserving simulation. For and , is constant along exact solutions, but a general method such as RK4 lets it drift slowly. Symplectic integrators keep a modified energy close to over long times for canonical . With dissipation, discrete gradient methods give a discrete power balance. These are properties of the numerical method, not of the model.
References
- Port-controlled Hamiltonian systems: modelling origins and system-theoretic properties, the definition of port-controlled Hamiltonian systems and their passivity
- Arjan van der Schaft and Dimitri Jeltsema, Port-Hamiltonian Systems Theory: An Introductory Overview, Foundations and Trends in Systems and Control 1(2-3), 173-378, 2014, the input-state-output port-Hamiltonian systems with dissipation, the power balance, interconnection and Casimirs
- Romeo Ortega, Arjan van der Schaft, Bernhard Maschke and Gerardo Escobar, Interconnection and damping assignment passivity-based control of port-controlled Hamiltonian systems, Automatica 38(4), 585-596, 2002, Section 2 (the model (1), the energy balance (3) and (4), and the passivity of the map from u to y)
- Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Chapter 6 (passivity) and Section 4.2 (the invariance principle)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag XPB19M Edit this page History Report an error Markdown