Skip to content
Digital Control

Direct design in the z-plane: specifications, root locus, steady-state error

Specifications as a region of the z-plane, the constant-damping spiral proved, the discrete root locus with an example, the final value theorem proved, the w-transform.

Instead of designing in continuous time and translating, one can design directly on the discrete model of the process, which is exact at the sampling instants (lesson on sampled-data systems). The advantage is that the delay of the hold and the computation delay are already in the model, and longer sampling periods can be used. In this lesson we look at how response specifications become a region of the z-plane, with the proof of the constant-damping spiral, the discrete root locus with a complete example, steady-state error with the final value theorem, and frequency-domain design.

Specifications in the z-plane

Step-response specifications translate, as in Automatic Control, into conditions on the dominant poles s = -\zeta\omega_n \pm j\omega_n\sqrt{1 - \zeta^2} (lesson on time response): the damping \zeta sets the overshoot, the real part \sigma = \zeta\omega_n sets the settling time, about 4/\sigma at 2 %. With z = e^{sT} they become conditions on the z-plane.

Admissible region for the poles in the z-plane
The dashed blue circle, of radius e to the minus sigma T, bounds the poles that are fast enough; the red curve is the locus of poles with damping 0.5, a logarithmic spiral starting from 1. The green region, inside both, contains the poles satisfying both specifications; the crosses are a chosen pair of poles.
  • Settling time: |z| = e^{-\sigma T}, so the poles must lie inside the circle of radius e^{-\sigma T}.
  • Damping: poles with constant \zeta lie on a spiral.

Theorem. The discrete poles corresponding to a fixed damping \zeta lie on the logarithmic spiral

    \[ |z| = \exp\left(-\frac{\zeta}{\sqrt{1 - \zeta^2}}\,\theta\right) \]

where \theta is the angle of the pole.

Proof. The pole is z = e^{-\zeta\omega_nT}e^{j\omega_nT\sqrt{1 - \zeta^2}}: modulus e^{-\zeta\omega_nT} and angle \theta = \omega_nT\sqrt{1 - \zeta^2}. Obtaining \omega_nT = \theta/\sqrt{1 - \zeta^2} from the angle and substituting it into the modulus gives the formula. As \omega_n varies, \theta grows and the modulus decreases exponentially: it is a logarithmic spiral starting from z = 1. ∎

The angle also has a practical meaning: 2\pi/\theta is the number of samples per period of the oscillation. With small \theta, below \pi/4, there are at least eight samples per oscillation and the behaviour between samples is well represented.

Example. With T = 0.1 s and a settling time of 1 s: \sigma = 4 s^{-1} and |z| \lt  e^{-0.4} \approx 0.67. With maximum overshoot of 16 %, i.e. \zeta \ge 0.5, the spiral factor is 0.5/\sqrt{0.75} \approx 0.577. The green region of the figure satisfies both.

The discrete root locus

The characteristic equation 1 + KL(z) = 0 has the same form as in the continuous case, and the root locus is drawn with the same rules (Automatic Control lesson on the root locus): it starts from the poles, ends at the zeros or at infinity, and on the real axis occupies the segments with an odd number of poles and zeros to the right. Only the interpretation changes: the stability boundary is the unit circle, and the good regions are those of the figure.

Example. An integrator with one step of computation delay has L(z) = T/(z(z - 1)), with poles at 0 and 1 and no zeros. The locus occupies the segment [0, 1]; the two branches meet at the midpoint z = 1/2, where the polynomial z^2 - z + KT has a double root, i.e. for KT = 1/4; then they go up and down along the vertical line \mathrm{Re}\,z = 1/2 (the sum of the roots stays 1). They leave the unit circle when the product of the roots KT equals 1, as found with the Jury criterion (lesson on stability in the z-plane). The choice KT = 1/4 gives a double pole at z = 1/2, equivalent to the continuous pole s = \ln(0.5)/T \approx -0.69/T: a fast, non-oscillating response that settles in a few samples.

Steady-state error

As in continuous time, the steady-state error depends on the number of integrators in the loop. In discrete time an integrator is a pole at z = 1.

Final value theorem. If the sequence y(k) converges, its limit is

    \[ y(\infty) = \lim_{z \to 1}(z - 1)Y(z) \]

Proof. The transform of the difference y(k+1) - y(k) is zY(z) - zy(0) - Y(z) = (z - 1)Y(z) - zy(0). Evaluating the series that defines it as z \to 1 (where the terms z^{-k} tend to 1) gives the sum of all the differences, which is y(\infty) - y(0). So y(\infty) - y(0) = \lim_{z\to 1}(z - 1)Y(z) - y(0). ∎

With the step R(z) = z/(z - 1) and the error E(z) = R(z)/(1 + L(z)), the steady-state error is \lim_{z\to 1} z/(1 + L(z)): zero if L has at least one pole at z = 1, otherwise 1/(1 + L(1)). The rules on system type (lesson on steady-state errors) hold with z = 1 in place of s = 0.

Frequency-domain design

To use Bode plots and continuous compensators (lesson on compensators) the discrete model is transformed with the w-transform:

    \[ w = \frac{2}{T}\cdot\frac{z - 1}{z + 1} \]

which maps the unit circle onto the imaginary axis (lesson on discretisation). In the w-plane the process, already including the hold and delays, is treated as a continuous transfer function: the compensator is designed with margins and bandwidth, and brought back to z with the inverse substitution, without further approximations. The w-plane frequency \nu and the true one are related by the tangent, \nu = (2/T)\tan(\omega T/2), to be kept in mind in the specifications.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x