Skip to content
Process Control

Multivariable systems: relative gain array and pairing

Process with two inputs and two outputs, Bristol's relative gain with proof, rows and columns summing to one, the pairing rule, a distillation column example, decoupling and model predictive control.

In a real plant the control loops are not independent: opening a valve to correct a temperature also changes a pressure, which another controller corrects, in turn disturbing the temperature. When the interactions are strong, tuning each loop well on its own is not enough. In this lesson we look at the model of a process with several inputs and outputs, Bristol’s relative gain array (RGA) with the proof of its properties, the rule for pairing inputs and outputs, decoupling and predictive control.

The process with two inputs and two outputs

The simplest case has two manipulated variables u_1, u_2 and two controlled ones y_1, y_2, each affected by both inputs:

    \[ y_1 = G_{11}u_1 + G_{12}u_2,\qquad y_2 = G_{21}u_1 + G_{22}u_2 \]

Process with two inputs and two outputs and its couplings
Each output depends on both inputs: G_11 and G_22 are the direct effects, G_12 and G_21 the cross couplings.

A classic example is a mixing tank fed with hot and cold water: the outputs are the total flow and the temperature, and each of the two valves changes both. Another is the distillation column, where the reflux and the reboiler heat affect both purities, top and bottom.

If two separate loops are closed, u_1 on y_1 and u_2 on y_2, controller 1 no longer sees the gain G_{11}: it sees a gain modified by the action of controller 2, which reacts to each of its moves. A measure of how much this interaction matters is needed.

The relative gain

We work with the static gains K_{ij} = G_{ij}(0).

Definition. The relative gain between u_1 and y_1 is the ratio between the gain from u_1 to y_1 with the other loop open (u_2 constant) and the same gain with the other loop closed and perfect (y_2 constant):

    \[ \lambda_{11} = \frac{(\partial y_1/\partial u_1)_{u_2}}{(\partial y_1/\partial u_1)_{y_2}} \]

Theorem. For a 2×2 process

    \[ \lambda_{11} = \frac{1}{1 - \dfrac{K_{12}K_{21}}{K_{11}K_{22}}} \]

Proof. With u_2 constant the gain is simply K_{11}. With y_2 constant, the second equation imposes K_{21}u_1 + K_{22}u_2 = \text{const}, so a change of u_1 changes u_2 by -(K_{21}/K_{22})\,u_1. Substituting into the first equation:

    \[ \Delta y_1 = \left(K_{11} - \frac{K_{12}K_{21}}{K_{22}}\right)\Delta u_1 \]

The ratio of the two gains is K_{11}/(K_{11} - K_{12}K_{21}/K_{22}), and dividing numerator and denominator by K_{11} gives the formula. ∎

The other elements are computed in the same way, and are collected in the relative gain array (RGA).

Theorem. In every row and every column of the RGA the elements sum to 1. For a 2×2 process the matrix is therefore determined by \lambda_{11}:

    \[ \Lambda = \begin{pmatrix} \lambda_{11} & 1 - \lambda_{11} \\ 1 - \lambda_{11} & \lambda_{11} \end{pmatrix} \]

Proof (2×2 case). Let x = K_{12}K_{21}/(K_{11}K_{22}), so \lambda_{11} = 1/(1 - x). For \lambda_{12}, between u_2 and y_1, the same reasoning (now u_1 adapts to keep y_2 constant: \Delta u_1 = -(K_{22}/K_{21})\Delta u_2) gives

    \[ \lambda_{12} = \frac{K_{12}}{K_{12} - K_{11}K_{22}/K_{21}} = \frac{1}{1 - 1/x} = \frac{-x}{1 - x} \]

and \lambda_{11} + \lambda_{12} = (1 - x)/(1 - x) = 1. By symmetry the same holds for the second row and for the columns. ∎

How to read the RGA

  • \lambda_{11} = 1: the other loop does not change the gain seen by the first. No interaction, the loops are tuned separately.
  • 0 \lt  \lambda_{11} \lt  1: closing the other loop increases the gain seen (the other controller “helps”). Moderate interaction if close to 1.
  • \lambda_{11} \gt  1: closing the other loop reduces the gain. Large values, 5, 10 or more, indicate strong interaction and a difficult process.
  • \lambda_{11} \lt  0: closing the other loop changes the sign of the gain. A controller tuned with the other loop open becomes positive feedback when the other closes: instability.

Bristol’s pairing rule: pair each output with the input whose relative gain is positive and closest to 1, and never pair on a negative relative gain.

Example. A classic distillation column model, much studied in the literature, has static gains

    \[ K = \begin{pmatrix} 0.878 & -0.864 \\ 1.082 & -1.096 \end{pmatrix} \]

Here x = (-0.864)(1.082)/((0.878)(-1.096)) \approx 0.971 and \lambda_{11} \approx 35. The diagonal pairing is the right one (the other would have \lambda = -34), but the interaction is very strong: the two loops fight each other, and a small model error changes the behaviour a lot. Such a process is called ill-conditioned: the two outputs almost always move together, and it is hard to change only one of them.

Decoupling and predictive control

When the interaction is strong a decoupler D can be inserted between the controllers and the process so that KD is diagonal: in the static case D = K^{-1}, so each controller moves a combination of valves that changes only one output. On ill-conditioned processes, however, exact decoupling is fragile, for the same reason: it requires inverting an almost singular matrix.

In refineries and large chemical plants the most widespread solution today is model predictive control (MPC). A computer uses a multivariable model of the process to predict the outputs over the next minutes or hours and, at every sampling period, solves an optimisation problem: it finds the sequence of valve moves that brings the outputs to their set points while respecting all the constraints (maximum openings, temperature limits, safety pressures). It applies only the first move and repeats the calculation at the next step with the new measurements. MPC handles interactions, delays and constraints naturally; it usually does not drive the valves directly, but provides the set points to the basic PIDs, which remain the fast layer of the plant.

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