Fundamentals / Mechanical engineering / Control engineering

Coupled plants and constrained predictions

End the course by testing an actuator pairing, a finite-horizon plan and a specification that initially looks feasible.

1. Unequal heat paths

For \(G=\left(\begin{smallmatrix}3&1\\2&2\end{smallmatrix}\right)\), (a) compute its relative gain array. (b) Calculate both actuator changes needed to raise output 1 by one unit while holding output 2 fixed. (c) Are these changes available if both actuators already sit at their lower bounds?

Solve the outputs before choosing a controller

The determinant is 4, so the array has diagonal entries \(6/4=1.5\) and cross entries \(-2/4=-0.5\). The desired change \(G^{-1}(1,0)^\mathsf{T}=(0.5,-0.5)^\mathsf{T}\) needs the second heater to reduce its command. At its lower bound this is infeasible. Reassigning loop pairings does not remove this physical constraint.

2. Active limits in a predictive move

Use the chapter's two-step integrator problem with initial state 3 and \(|u|,|v|\le1\). (a) Find the unconstrained plan. (b) Optimise the second action when the first is at its lower bound and compute the objective. (c) Can a requirement \(x_{k+2}=0\) be added?

Check the unconstrained optimum, then the active face

Scaling the unconstrained plan gives \((-1.8,-0.6)\). Fix \(u=-1\); the remaining derivative is \(2(2+v)+2v\), giving \(v=-1\), which is feasible. The input gradients at the lower bounds are nonnegative (the second is zero), establishing optimality for the convex objective. The states are 2 and 1, so the cost is \(4+1+1+1=7\). The largest two-step reduction is 2, so the terminal equality is infeasible.

3. A requirement beyond actuator authority

A speed loop has steady plant \(y=2u-d\), with \(|u|\le2\), opposing disturbance \(d=1\) and desired speed 4 in normalised units. (a) Test whether any controller can track that command indefinitely. (b) Find the best possible steady output and error. (c) Give the measurements needed to distinguish saturation from an incorrect model gain in a logged experiment.

Apply the balance before retuning the loop

Steady tracking requires \(u=(4+1)/2=2.5\), beyond the upper bound. The maximum steady speed is 3, leaving error 1. Log the controller's requested action, the delivered actuator signal, the load and the measured response. Verify the gain using smaller feasible steady commands; if delivered and requested signals diverge at the limit, the balance predicts the observed loss of tracking. Increasing integral gain cannot change the feasible steady range.

Commission a sampled loop with a limited actuator

A first-order plant has unit gain and time constant 1 s. A proportional controller of gain 3 holds its command for h seconds. With a unit reference and zero initial output, find the steady error, the sampling limit and the first three sampled outputs for h = 0.50 s. Then limit the command to [0, 1]. Predict the first sample at which the upper limit releases.

Worked solution

Integration during one hold gives yₖ₊₁ = ayₖ+(1−a)uₖ with a = exp(−h). Before clipping, uₖ = 3(1−yₖ), the pole is 4a−3, and the equilibrium is 0.75. The error 0.25 is independent of h for a stable loop. Requiring the pole to exceed −1 gives h less than ln 2 seconds. At h = 0.50 the pole is −0.5739; the other stability inequality holds for positive h.

The first three outputs are 0.75[1−(4a−3)ᵏ] for k = 1, 2 and 3, approximately 1.180, 0.503 and 0.892. The first unconstrained command is 3. After clipping the actuator stays at one until a sample reaches y ≥ 2/3, when the requested input no longer exceeds one.

While the limit is active the output ticks follow yₖ = 1−exp(−0.5k). At k = 2 the output is 0.632 and the controller still requests 1.104. At k = 3 the output is 0.777 and the request is 0.669. The upper limit releases at 1.5 s. In the course experiment compare the unlimited trajectory first. Applying the scalar pole relation across a saturated interval would identify a different dynamics.