Output Regulation
Regulate the height of the liquid in the lower tank whose net flow rate is subject to an exogenous disturbance. The control input is the flow into the upper tank.
Use Bernoulli's law and mass balance to derive the resulting differential equations.
Use steady-state operating values .
Out[2]= | |
Define the corresponding nonlinear system with input and output .
Out[4]= | |
The feedback law.
Out[5]= | |
The closed-loop system.
Out[6]= | |
A polynomial disturbance is approximated as a piecewise constant function.
Out[8]= | |
Assemble the simulation model and simulate the state responses.
The plot shows that the desired regulation has been achieved.
Out[11]= | |