Asee peer logo

Two Tank Liquid Level Control Using A Basic Stamp Microcontroller And A Matlab Based Data Acquisition And Control Toolbox

Download Paper |

Conference

2006 Annual Conference & Exposition

Location

Chicago, Illinois

Publication Date

June 18, 2006

Start Date

June 18, 2006

End Date

June 21, 2006

ISSN

2153-5965

Conference Session

Embedded Computing

Tagged Division

Computers in Education

Page Count

17

Page Numbers

11.1354.1 - 11.1354.17

DOI

10.18260/1-2--883

Permanent URL

https://peer.asee.org/883

Download Count

1790

Request a correction

Paper Authors

biography

Anshuman Panda Polytechnic University

visit author page

ANSHUMAN PANDA was born in New Delhi, India. He is currently pursuing a dual B.S/M.S. degree in Electrical Engineering and expects to graduate in December 2006. He is a member of Tau Beta Pi. He has worked as a teaching and research assistant with responsibilities in the area of mechatronics.

visit author page

biography

Hong Wong Polytechnic University

visit author page

HONG WONG was born in Hong Kong, China. In June of 2000 and 2002, he received the B.S. and M.S. degrees, respectively, in Mechanical Engineering from Polytechnic University, Brooklyn, NY. He is a member of Pi Tau Sigma and Tau Beta Pi. He worked for the Air Force Research Laboratories in Dayton, OH, during the summers of 2000 and 2001. He is currently a doctoral student at Polytechnic University. His research interests include control of mechanical and aerospace systems.

visit author page

author page

Vikram Kapila Polytechnic University

biography

Sang-Hoon Lee Polytechnic University

visit author page

SANG-HOON LEE was born in Seoul, Korea. He received the B.S. degree in Mechanical Engineering from Sung Kyun Kwan University, Seoul, Korea, in 1996 and the M.S. degree in Mechanical Engineering from Polytechnic University, Brooklyn, NY, in 2002. From 1996 to 1997, he worked for Samsung Engineering Co., Ltd. in Korea. He is currently continuing research at Polytechnic University as a doctoral student. His research interests include linear/nonlinear control and mechatronics.

visit author page

Download Paper |

Abstract
NOTE: The first page of text has been automatically extracted and included below in lieu of an abstract

Two-Tank Liquid Level Control Using a Basic Stamp Microcontroller and a Matlab-Based Data Acquisition and Control Toolbox

1. Introduction

A variety of PC-based data acquisition and control (DAC) boards are currently available in the market. These DAC boards can be broadly classified in two categories: i) high-end DAC boards, which provide a wide range of advanced hardware capabilities along with a sophisticated software environment, and ii) low-end DAC boards, which are primarily used for data acquisition of a few selective signals while using proprietary software.

With the emergence of Matlab as a widely used scientific computing tool in industry and 1

academia, many users seek a DAC platform that can interface with and exploit advanced computing capabilities of Matlab to perform hardware in the loop experiments. Moreover, within the last decade, new developments in automated code generation programs have allowed users to utilize interactive icon-based control system simulation tools such as Simulink for real-time 2

control. In particular, using the Simulink block library and Real-Time-Workshop (RTW) along with Simulink block libraries for vendor-specific DAC boards, one can generate C code from Simulink-based feedback control diagrams for real-time controller implementation on PC-based DAC boards. The ability to rapidly and efficiently design and implement complex control algorithms using an icon-based programming environment enables control designers to enhance productivity.

Unfortunately, the use of Matlab as a software environment for DAC tasks frequently requires the use of expensive DAC boards (over $1,000) which include advanced hardware features (e.g., high sampling rates and high resolution analog to digital converters) that a typical user may not utilize to the fullest potential. Thus, the use of existing PC-based DAC hardware and software solutions may be uneconomical for certain users (especially educators) interested in designing and building experiments that require a sophisticated software interface with minimal hardware costs.

In contrast to the PC-based DAC boards, microcontrollers are inexpensive devices (costing only a few tens of dollars) which are widely used for embedded computing in hobby, academic, and industrial projects. However, a majority of microcontrollers require programming using one or other embedded programming variants of high-level programming languages (e.g., Basic, C, Java, etc.). In addition, many low-cost microcontrollers do not allow floating-point numerical computations that may be needed to implement advanced feedback control algorithms.

In recent research, we have developed a low-cost DAC platform which allows microcontrollers 3

to be programmed by Matlab and Simulink thus providing an inexpensive tool for data acquisition and control tasks. This platform is well suited for tasks that require graphical user interface and/or advanced computational capabilities, but do not require stringent hardware

Panda, A., & Wong, H., & Kapila, V., & Lee, S. (2006, June), Two Tank Liquid Level Control Using A Basic Stamp Microcontroller And A Matlab Based Data Acquisition And Control Toolbox Paper presented at 2006 Annual Conference & Exposition, Chicago, Illinois. 10.18260/1-2--883

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2006 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015