Search for question
Question

The state space model of an interconnected three tank water storage system is given by the following equation: \frac{d}{d t}\left[\begin{array}{l}

h_{1} \\

h_{2} \\

h_{3}

\end{array}\right]=\left[\begin{array}{ccc}

-1 & 0.25 & 0 \\

0.5 & -1 & 0.5 \\

0 & 0.25 & -1

\end{array}\right]\left[\begin{array}{l}

h_{1} \\

h_{2} \\

h_{3}

\end{array}\right]+\left[\begin{array}{ccc}

2 & 0 & 0 \\

0 & 2 & 0 \\

0 & 0 & 2

\end{array}\right]\left[\begin{array}{l}

q_{i 1} \\

q_{i 2} \\

q_{i 3}

\end{array}\right] ;\left[\begin{array}{l}

q_{o 1} \\

q_{o 2} \\

q_{o 3}

\end{array}\right]=\left[\begin{array}{ccc}

1 & 0 & 0 \\

0 & 2 & 0 \\

0 & 0 & 1

\end{array}\right]\left[\begin{array}{l}

h_{1} \\

h_{2} \\

h_{3}

\end{array}\right] The heights of water in the tanks are, respectively, h₁, h₂, h3 (m). Each tank has an independent input flow; the volume flow rates of input water into the three tanks are, respectively, qi1, 9i2, qi3 (Liters/s). Each tank also has a water discharge outlet and the volume flow rates of water coming out of the tanks are, respectively,Q01, Q02Q03 (Liters/s).

Note: There is no need to do any unit conversion. a. Write down the state vector x, the input vector u and the output vector y. Clearly show the elements of these vectors. b. Write down the A, B, C, D matrices. What are the system poles? Compute by MATLAB. d. What is the formula for Y(s) in terms of input U(s) and state variables initial conditions xo? (Just the equation, don't expand yet.) What is the formula for the transfer function matrix? (Just the equation, don't expand yet.). Given that the initial heights of water in the three tanks are all zeros simplify the expression in part (d)to find an expression in the form Y(s) = G(s)U(s) where G(s) is the system transfer function matrix. g. At t = 0, water begins to flow into the three tanks at constant rates of: qi₁ = 2; 9i2 = 0; 9i3 = 0(Liters/s) (assume step function input, no inflow at tanks 2 and 3). Find water flow rates out of the tanks: Q01, Q02, Q03 as functions of time by taking the inverse Laplace transform of Y(s). Convert the above continuous time system into a discrete time system given sampling period T = 0.5 seconds. Use MATLAB ss and c2d commands, clearly write down and highlight the discrete time Aa, Ba, Ca, Da matrices.

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8

Fig: 9

Fig: 10

Fig: 11