# 12.5: Understanding MIMO Control Through Two Tanks Interaction

Written by: Erin Baragar, Omar Ismail, Yuan Chen

## 5.1 Introduction

We have been familiar with the models of single surge tank manipulated by first order process and two tanks in series manipulated by second order process, both of which are typical examples of Single Input Single Output (SISO) control. However, in the real chemical processes, there are always interations between the reactors. The following page will discuss the two tanks model by taking into consideration the interaction between the two tanks. To manipulate this model, we need to use Multiple Input Multiple Output (MIMO) control, which will add more complexity in understanding the overall process.

## 5.2 Two Tanks Interaction Model

The following figure, Figure 1, demonstrates how two tanks model works to interact each other. From Figure 1, we can see that the input of Tank1, x1, not only affects the level in Tank1, but also affects that in Tank2. The same goes for the input of Tank2, x2. We use the resistance, R3, to account for the interaction between the two tanks.

In the above figure,

x1 = Input of Tank1

x2 = Input of Tank2

A1 = Cross section area of Tank1

A2 = Cross section area of Tank2

h1 = Level of Tank1

h2 = Level of Tank2

R1 = Resistance of Tank1

R2 = Resistance of Tank2

R3 = Interaction Resistance

### 5.2.1 Mathematical Equations for the Process

Now, we will derive the mathematical equations to describe the process, now we assume the direction of the flow goes from Tank1 to Tank2:

To begin with, we write down the governing equation for each of the tanks, taking into consideration the interaction term:

Under steady state, the time derivatives, i.e. the left hand side of the above equations, go to zero:

Now, we define the deviation variables as follows:

X1 = x1x1(0), Y1 = h1h1(0)

X2 = x2x2(0), Y2 = h2h2(0)

Set y1=h1, y2=h2, we can obtain the following equations:

It will be more general if we write down the above equations into a form of Matrix:

,

We can represent the above equation using the following equation:

Invert the above equation:

Now, set

We get the following equation:

## 5.3 Reference

• controls.engin.umich.edu/wiki/index.php/Second-order_differential_equations