MATLAB Examples

# About Passivity and Passivity Indices

Passive control is often part of the safety requirements in applications such as process control, tele-operation, human-machine interfaces, and system networks. A system is passive if it cannot produce energy on its own, and can only dissipate the energy that is stored in it initially. More generally, an I/O map is passive if, on average, increasing the output y requires increasing the input u.

For example, a PID controller is passive because the control signal (the output) moves in the same direction as the error signal (the input). But a PID controller with delay is not passive, because the control signal can move in the opposite direction from the error, a potential cause of instability.

Most physical systems are passive. The Passivity Theorem holds that the negative-feedback interconnection of two strictly passive systems is passive and stable. As a result, it can be desirable to enforce passivity of the controller for a passive system, or to passivate the operator of a passive system, such as the driver of a car.

In practice, passivity can easily be destroyed by the phase lags introduced by sensors, actuators, and communication delays. These problems have led to extension of the Passivity Theorem that consider excesses or shortages of passivity, frequency-dependent measures of passivity, and a mix of passivity and small-gain properties.

## Passive Systems

A linear system is passive if all input/output trajectories satisfy:

where denotes the transpose of . For physical systems, the integral typically represents the energy going into the system,. Thus passive systems are systems that only consume or dissipate energy. As a result, passive systems are intrinsically stable.

In the frequency domain, passivity is equivalent to the "positive real" condition:

For SISO systems, this is saying that at all frequencies, so the entire Nyquist plot lies in the right-half plane.

nyquist(tf([1 3 5],[5 6 1])) 

Nyquist plot of passive system

Passive systems have the following important properties for control purposes:

When controlling a passive system with unknown or variable characteristics, it is therefore desirable to use a passive feedback law to guarantee closed-loop stability. This task can be rendered difficult given that delays and significant phase lag destroy passivity.

## Directional Passivity Indices

For stability, knowing whether a system is passive or not does not tell the full story. It is often desirable to know by how much it is passive or fails to be passive. In addition, a shortage of passivity in the plant can be compensated by an excess of passivity in the controller, and vice versa. It is therefore important to measure the excess or shortage of passivity, and this is where passivity indices come into play.

There are different types of indices with different applications. One class of indices measure the excess or shortage of passivity in a particular direction of the input/output space. For example, the input passivity index is defined as the largest such that:

for all trajectories and . The system G is input strictly passive (ISP) when , and has a shortage of passivity when . The input passivity index is also called the input feedforward passivity (IFP) index because it corresponds to the minimum static feedforward action needed to make the system passive.

In the frequency domain, the input passivity index is characterized by:

where denotes the smallest eigenvalue. In the SISO case, is the abscissa of the leftmost point on the Nyquist curve.

Similarly, the output passivity index is defined as the largest such that:

for all trajectories and . The system G is output strictly passive (OSP) when , and has a shortage of passivity when . The output passivity index is also called the output feedback passivity (OFP) index because it corresponds to the minimum static feedback action needed to make the system passive.

In the frequency domain, the output passivity index of a minimum-phase system is given by:

In the SISO case, is the abscissa of the leftmost point on the Nyquist curve of .

Combining these two notions leads to the I/O passivity index, which is the largest such that:

A system with is very strictly passive. More generally, we can define the index in the direction as the largest such that:

The input, output, and I/O passivity indices all correspond to special choices of and are collectively referred to as directional passivity indices. You can use docid:control_ref.bu6l08p-1 to compute any of these indices for linear systems in either parametric or FRD form. You can also use docid:control_ref.bu6l095-1 to plot the input, output, or I/O passivity indices as a function of frequency. This plot provides insight into which frequency bands have weaker or stronger passivity.

There are many results quantifying how the input and output passivity indices propagate through parallel, series, or feedback interconnections. There are also results quantifying the excess of input or output passivity needed to compensate a given shortage of passivity in a feedback loop. For details, see:

## Relative Passivity Index

The positive real condition for passivity:

is equivalent to the small gain condition:

We can therefore use the peak gain of as a measure of passivity. Specifically, let

Then is passive if and only if , and indicates a shortage of passivity. Note that is finite if and only if is minimum phase. We refer to as the relative passivity index, or R-index. In the time domain, the R-index is the smallest such that:

for all trajectories and . When is minimum phase, you can use docid:control_ref.bu6l095-1 to plot the principal gains of . This plot is entirely analogous to the singular value plot (see docid:control_ref.f4-209452), and shows how the degree of passivity changes with frequency and direction.

The following result is analogous to the Small Gain Theorem for feedback loops. It gives a simple condition on R-indices for compensating a shortage of passivity in one system by an excess of passivity in the other.

Small-R Theorem: Let and be two linear systems with passivity R-indices and , respectively. If , then the negative feedback interconnection of and is stable.