TechTeach


[General information about using the models]


Mathematical model:

Coupled liquid tanks with Kalman-filter

Below is a link to the mathematical model of two coupled liquid tanks with a discrete-time Kalman-filter (of predictor-corrector type) for estimation of the level of the upper based on the measurement of the lower tank. The system is described in Problem 9.16 in the exercise-book for the text-book Regulering av dynamiske systemer, bind 2 (in Norwegian). The total system is simulated using Eulers method implemented in a for-loop in a MATLAB-script.


What is simulated

Both the real (or measured) level and the estimated level of both the upper tank (tank 1) and the lower tank (tank 2) is simulated and plotted in real-time on the screen. The upper level is estimated with a Kalman-filter using the measurement of the level of the lower tank.


Links to the files

Here is the MATLAB-script implementing the system.


[TechTeach]


Updated July 17 1998 by Finn Haugen (e-mail: TechTeach@online.no).