The classical proportional-plus-integral (PI) controller for liquid level control of a two tank coupled system is described using a basic stamp 2 (BS2) microcontroller and a Matlab-based data acquisition and control toolbox. The features of Simulink software allows automatic generation of PBasic code language for the BS2 for a variety of sensors and actuators, programming of the BS2 microcontroller, and data communication between the BS2 microcontroller and Matlab. The liquid level tracking error for the two tanks are defined and the linearized error system model are described to facilitate the design of a controller. The PI liquid level control design necessitates control of liquid level of the tank to a desired level, which serves as a command signal for the tank controller. The PI controller design for the system is obtained by linearizing the nonlinear model near the predetermined steady state level of the another tank.
|Original language||English (US)|
|Number of pages||14|
|Journal||Computers in Education Journal|
|State||Published - Oct 2007|
ASJC Scopus subject areas
- Computer Science(all)