Techniqueadvanced
Passivity-based control
Also called PBC, energy shaping control.
Designs a feedback that makes the closed loop passive with a chosen storage function that has its minimum at the target, often by shaping the energy and adding damping.
Passivity-based control (PBC) is a way to design a feedback for a nonlinear system so that the closed loop is passive with a storage function that you choose, and that has a strict minimum at the target state. The storage function is then a Lyapunov function, and the target is Lyapunov stable; damping on a suitable output makes it asymptotically stable. For physical systems the storage function is usually an energy, and the design has two steps: energy shaping moves the minimum of the energy to the target, and damping injection makes the energy decrease. Passivity is the property, the passivity theorem is the result about feedback loops of passive systems, the port-Hamiltonian system is a model class with a built-in energy, and IDA-PBC is one systematic algorithm of this technique. This page is about the technique in general.
In plain words
A marble in a bowl rolls to the bottom and stays there, because friction takes its energy away. If you want the marble to stop at another place, you can reshape the bowl so that its lowest point is where you want it, and you can add some extra friction so that it settles faster. A passivity-based controller does the same with a machine. The controller adds forces that act like new springs, so that the total energy of machine and controller has its minimum at the target. It also adds forces that act like dampers, so that this energy can only go down. The machine then goes to the target for the same physical reason that the marble goes to the bottom. The design keeps much of the physical structure, so the controller often stays simple and works well when the model is not exact.
When it applies
The technique needs a storage function and an output. The usual cases:
- Systems with a physical energy. Mechanical systems (robot arms, pendulums), electric circuits, motors and power converters have an energy and a power balance , where is the output conjugate to the input (velocity for a force, current for a voltage). Port-Hamiltonian systems and Euler-Lagrange systems have this property by construction.
- Systems that feedback can make passive. For a control-affine system with output , a smooth state feedback that makes the system passive exists, locally around an equilibrium and under regularity conditions, if and only if the system has relative degree one and is weakly minimum phase (Byrnes, Isidori and Willems 1991). This is called feedback passivation.
- Full actuation, or matching conditions. If every degree of freedom has an actuator, the energy can be changed freely. With fewer actuators than degrees of freedom, only some energies can be reached, and the design must solve matching equations. These are partial differential equations; IDA-PBC is the standard way to set them up.
The technique does not apply directly when no output with relative degree one exists, when the system is not weakly minimum phase, or when the matching equations have no solution with a minimum at the target.
The template
- Find the storage and the output. Write the system with a storage function , bounded below, and an output such that along all solutions.
- Shape the energy. Choose a feedback and a new storage with a strict minimum at the target , such that the closed loop satisfies for a new output . For a fully actuated mechanical system this means: keep the kinetic energy, and replace the potential energy by with its minimum at , using .
- Inject damping. Close the loop with , . Then .
- Prove convergence. is a Lyapunov function, so is a Lyapunov stable equilibrium (Lyapunov's direct method). If is the only solution that keeps (a detectability condition), then the LaSalle invariance principle on a compact sublevel set of gives local asymptotic stability, with that sublevel set inside the region of attraction. If is radially unbounded and is its only critical point, the result is global.
The theorem behind steps 3 and 4. Let the closed loop be autonomous, with a locally Lipschitz right side. Let be with a strict local minimum at , and let along solutions. Then is Lyapunov stable. If, moreover, no solution other than stays in within a compact sublevel set around , every solution that starts in converges to . This is the invariance principle of Khalil 2002 (Section 4.2) applied to , and it is the form used in Khalil 2002, Section 14.4.
Classic examples
1. A pendulum: energy shaping plus damping. Take a pendulum with inertia 1, (units of torque, N m), friction and torque input :
The target is the horizontal position . The open-loop energy is . Shape the potential to
which has and for . So is the only minimum, and grows without bound. The feedback that gives this potential, with damping injection , is
a PD controller with a constant gravity term. The closed loop is , and with ,
On the set the closed loop gives , which is zero only at , so LaSalle gives global asymptotic stability. With and , from rest at , and . A classical RK4 simulation with step gives:
| 0 | 0.25 | 0.5 | 1 | 1.5 | 2 | 3 | 4 | |
|---|---|---|---|---|---|---|---|---|
| 0 | 0.71642 | 1.45608 | 1.67335 | 1.57481 | 1.56589 | 1.57103 | 1.57079 | |
| 30.2735 | 15.7564 | 1.82617 | 0.13218 | 0.00380 | 0.00033 | 0.000001 | 0.000000 |
decreases at every step, up to rounding of order . The largest angle is , an overshoot of rad. For comparison, the plain PD law without the gravity term settles at : its shaped potential has its minimum at the wrong place.
2. PD with gravity compensation for robot arms. For a fully actuated arm , Takegaki and Arimoto (1981) used with . The function has , because is skew-symmetric for the Christoffel choice of . LaSalle gives global asymptotic stability of . See PD control with gravity compensation.
3. Damping injection alone. For the mass, spring and damper on the port-Hamiltonian system page, with the velocity adds friction and keeps the minimum of the energy where it is. This is step 3 without step 2. It is enough when the open-loop energy already has its minimum at the target.
4. Feedback passivation. For , with and a storage for the zero dynamics with , the feedback makes the system passive from to with storage . Then gives . The result of Byrnes, Isidori and Willems (1991) says when such a form exists.
5. Swing-up by energy control. Åström and Furuta (2000) swing up a pendulum by controlling its energy instead of its position. For a frictionless pendulum with torque input, with . The feedback with gives , so the energy goes to the energy of the upright position. A local controller then catches the pendulum near the top. Here the passive output is used, but the target is a level of energy, not a point.
Variations
- IDA-PBC. Instead of choosing first, choose the desired interconnection and damping matrices and solve the matching equations for . This handles underactuated and electromechanical systems. See IDA-PBC.
- Energy balancing. If the closed-loop energy equals the stored energy minus the energy supplied by the controller, the controller acts like a physical system connected to the plant. Ortega et al. (2002) show when this holds. It fails when dissipation acts on the coordinates that must be shaped, which is the dissipation obstacle described on the port-Hamiltonian system page.
- Tracking. For robots that follow a trajectory, the Slotine-Li controller and its adaptive form use the passivity of the map from a filtered tracking error to the velocity error (Ortega and Spong 1989). See Slotine-Li adaptive control.
- Without velocity measurements. The damping can be injected through a filter of the position, which makes the closed loop passive from a filtered output. Ortega, Loría, Nicklasson and Sira-Ramírez (1998) treat these output feedback designs.
- Combination with other designs. Backstepping can make a cascade passive step by step, and the passivity of the subsystems gives the cross terms that cancel.
Pitfalls
- Stability without convergence. Damping injection only on some coordinates gives , not . Without the detectability condition of step 4, the state can stay on a level set of forever. Check the largest invariant set in .
- A local minimum is a local result. If has other minima or is not radially unbounded, the result holds only on a sublevel set that contains no other critical point. In the pendulum example, makes negative at some angles, and other equilibria appear.
- Cancellation needs a good model. The gravity term in example 2 must be exact. An error moves the minimum of the shaped potential and gives a steady-state error. Example 1 uses only the constant , which still must be right.
- Passive for a new output. After energy shaping, the closed loop is passive from to , which need not be the physical output. Robustness arguments that use the physical output need (Ortega et al. 2002, Section 3.2).
- Sampling and saturation. The power balance holds for the continuous-time loop. A sampled controller can inject energy, and actuator saturation removes part of the damping. Both can destroy the guarantee for large gains or slow sampling.
- The damping does not always help. Larger makes more negative, but it can make the response slower in other directions and amplify measurement noise.
Exercises
- For the pendulum of example 1, find the smallest for which is convex on all of . Answer: , so is needed, and fails at .
- Show that with (no gravity term) the pendulum settles where , and that the root is near .
- For the mass, spring and damper with , , , shape the energy so that the new rest position is . Answer: gives , with .
- In example 5, show that is reached only in the limit, and explain why a second controller is needed near the top.
- Show that a port-Hamiltonian system with the feedback is again port-Hamiltonian from to , with the same and . Answer: the dissipation matrix becomes , which is symmetric positive semidefinite.
References
- Adaptive motion control of rigid robots: a tutorial, the introduction of the term passivity-based control for robot controllers
- Romeo Ortega, Antonio Loría, Per Johan Nicklasson and Hebertt Sira-Ramírez, Passivity-based Control of Euler-Lagrange Systems, Springer, 1998, the passivity-based design for mechanical, electrical and electromechanical Euler-Lagrange systems
- Morikazu Takegaki and Suguru Arimoto, A new feedback method for dynamic control of manipulators, Journal of Dynamic Systems, Measurement, and Control 103(2), 119-125, 1981, PD feedback with gravity compensation for manipulators and its global convergence
- Christopher I. Byrnes, Alberto Isidori and Jan C. Willems, Passivity, feedback equivalence, and the global stabilization of minimum phase nonlinear systems, IEEE Transactions on Automatic Control 36(11), 1228-1240, 1991, feedback equivalence to a passive system (relative degree one and weakly minimum phase)
- 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, Sections 1 and 2 (the passivation objective and energy balancing)
- Swinging up a pendulum by energy control, the energy control strategy for the swing-up
- Hassan K. Khalil, Nonlinear Systems, third edition, Prentice Hall, 2002, Chapter 6 (passivity) and Section 14.4 (passivity-based control)
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 | W2 basic |
|
Tag EPXGJS Edit this page History Report an error Markdown