



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Proceedings of the 38* Conference on Decision & Control Phoenix, Arizona USA December 1999
TuMl2 13:
Abstract There is a heightened awareness in the aca- demic controls community about the need to at- tract the best and brightest students to the dis- cipline. To achieve this end, change is needed in the standard approaches to educating, recruiting, and training students. In this paper, the “Tem- perature Box” experiment is presented. This ex- periment involves the design and implementation of a feedback temperature control system. At the United States Naval Academy, the Temperature Box is used to motivate the material in an intro- ductory system engineering course at the sopho- more level. This experiment would also be suit- able for use in a freshman engineering course, a control systems laboratory course, or an electron- ics course as a controls application of analog and digital electronics.
1 Introduction
There is a heightened awareness in the academic con- trols community about the need to attract the best and brightest students to the discipline. To achieve this end, change is needed in the standard approaches to educat- ing, recruiting, and training students. A number of ideas have been presented in [l]. It has been shown that the Problem-Based Learning (PBL) approach helps students to synthesize material far more effectively than tradi- tional subject-based learning [2]. In the PBL approach, a problem is presented at the beginning of the course and, subsequently, is used to motivate the material that the students need to learn to solve the problem. The PBL learning approach increases student enthusiasm, confi- dence, and consequently, their retention. In [3], this approach was called “motivation-by- challenge” and was applied successfully to a Junior and Senior level introductory control systems course. Benefits cited by the author included significantly higher student grades, student enthusiasm, self-initiated student explo- ration of the material, and a great increase in the number of students selecting control system electives and controls as a career.
These results indicate that this type of change needed in the academic controls community. The goal of this pa- per is to introduce a problem, the “Temperature Box”, that can be used to motivate students early in their aca- demic career, that is, at the Freshmen and Sophomore level. The Temperature Box problem is a closed loop temperature control system and, as an experiment or de- sign problem, is not new. However, the contribution of this paper is to demonstrate how this problem is used to motivate the material in an introductory course in sys- tems engineering at the United States Naval Academy. Additionally, the paper provides a description of the Tem- perature box so that it can be used in a similar capacity at other schools. In the experiment, the temperature of a room (card- board box) is controlled by opening or closing a relay connected to a hair dryer. The control signal sent to the relay is determined by comparing measurements from a temperature sensor with high and low temperature set points. The comparison involves both analog and digital components. In the Systems Engineering Department at the United States Naval Academy, this experiment is used as a “challenge-problem” for a first course in systems engi- neering at the sophomore level. This course is intended to provide an introduction into the analysis, simulation, and implementation of control systems. A variety of top- ics are covered including: solutions of systems of alge- braic equations, solutions of differential equations using Laplace transforms, numerical simulation using MAT- LAB and SIMULINK, operational amplifiers (op-amps), and digital logic circuits. The design and construction of the temperature box experiment draws from each part of the course and provides an example of a feedback control system. The experiment itself stands alone and provides an il- lustrative example of the elements of a feedback control system: measurement, comparison, and actuation. In ad- dition, the control problem is intuitive and so it does not require extensive motivation or sophisticated mathemat- ics. In a freshman engineering course, this experiment could be used to attract students to the field of control systems. In a control systems laboratory course, it could
0-7803-5250-5/99/$10.00 0 1999 IEEE 797
be used to introduce the concept of feedback control. In an electronics course, it could be used as a final labora- tory in analog and digital electronics. The paper begins with a short description of the in- troductory course to systems engineering in Section 2. In section 3, a description of the Temperature Box experi- ment is presented. This description includes a discussion of how this problem can be used to motivate the study of control systems and to introduce the tools used by control systems engineers. Student evaluations are summarized in Section 4.^ Conclusions and suggestions for future im- provements are given in Section 5.
2 Introduction to Systems Engineering Course
In the Systems Engineering Department at the United States Naval Academy, the Temperature Box experiment serves as the motivating example for the first course in systems engineering in the sophomore year. This course provides an introduction into the analysis, simulation, and implementation of control systems. The objective is to prepare the students for the core courses in classi- cal and state-space control as well as elective courses in digital control, communications, computer engineering, and/or robotics. The course is divided into four sections
1. Solutions of systems of algebraic equations 2. Solutions of differential equations 3. Transfer functions and operational amplifier circuits 4. Digital logic circuits
s
A particular emphasis is placed on problem solving skills and, as a result, each section is constructed around the solution of a certain type of problem. A brief descrip- tion of each section is presented below to establish the background material used in the Temperature Box ex- periment. The first section addresses the existence and unique- ness of a solution of a system of algebraic equations. Basic matrix operations and linear algebra concepts are intro- duced. Given a set of algebraic equations, the students are expected to determine if a solution exists and, if so, is the solution unique. In addition, the concept of fit- ting a polynomial to experimental data is discussed using the least squares technique. The classroom material is supplemented with computer exercises in MATLAB. In the second section, analytical and computer meth- ods for solving an ordinary differential equation are dis- cussed. Specifically, the Laplace transform is presented as a tool for obtaining an analytical solution to a differential equation. The primary focus is on computing an inverse
Laplace transform using partial fraction expansion meth- ods. Concurrently, the students use SIMULINK and C programming to solve differential equations numerically. In the third section, transfer functions are introduced as an alternative descriptive of a differential equation. The notions of poles and zeros are discussed as well as the relationship between a pole and its mode. The imple- mentation of a simple transfer function using op-amps is presented. In the laboratory, the students examine sev- eral basic op-amp circuits: amplifiers, summing junctions, and first order transfer functions. The final section of the course covers the design of sequential digital logic circuits. First, the students are introduced to basic logic gates and combinational logic. Using Karnaugh maps, combinational logic circuits are designed and implemented. Next, flip-flops are presented as a means for storing information. Finally, all the above elements are combined to achieve a sequential logic de- sign. Throughout the section, the students examine and build the various circuits in the laboratory.
3 The Temperature Box experiment
rrYPERATURE R E U V DRIERWIR Box
00YPARIS)N
HMH E W E R A N R E UIW TEUPERATURE
I I
Figure 1: Block diagram of the Temperature Box.
The Temperature Box experiment involves the design and construction of the closed loop temperature control system shown in Figure 1. The physical components of the system are a cardboard box (plant), a relay and hair dryer combination (actuator), and a^ temperature sensor. The control system consists of a signal conditioning cir- cuit known as the “scale and shift” circuit and a compar- ison circuit. The circuits are implemented using op-amps and digital logic. The design and implementation of these circuits are described in Sections 3.1 and 3.2. The project was originally conceived as a laboratory in a senior level elective on environmental engineering at the United States Naval Academy [4, 51. As a se- nior level laboratory, the objective of the project was to regulate the temperature using computer control (via a C program). For the introductory systems engineering course described in the previous section, the experiment has been modified to emphasize the use of op-amps and digital logic and to motivate and connect the variety of topics covered in the course.
798
VL) and let Rk and &+I denote the current and next relay states, respectively. Note that A and B can be ob- tained using comparator op-amps as shown in Figure 3. The three rules above can be rewritten as
2. &+I = 0 if A = 0. 3. Rk+l = Rk if A = 1 and B = 1.
Scale and shift 1 2 13
4 Student evaluations
13
Figure 4: Karnaugh map for comparison circuit.
(Matrices) SIMULINK simulation Scale and shift
A ~
3 12 13
4 14 10
Y
circuit (opamps) Comparator/ decision circuit
@J
1 12 15
Figure 5: Sequential digital logic for comparison block.
From this information, a truth table and a Karnaugh map can be compiled. The Karnaugh map is shown in Figure 4. Note that the X’s occur whenever a particular
following logical expression is obtained
&+I = B 4- A Rk (^) (3.4)
Using DeMorgan’s law, the expression in 3.4 can be rewritten as - Rk+l = B A Rk (3.5)
The expression in (3.5) can be implemented with 2 NAND gates and a D Flip-flop as shown in Figure 5. The design and implementation of the comparison cir- cuit provide interesting applications of op-amps, digital logic gates, Karnaugh maps, and sequential logic design. In the introductory systems course at the United States Naval Academy, the various stages of the circuit are de- signed and built as the course progresses. As a result, at the end of the semester, the students need only connect the individual circuits together to assemble the compari- son circuit and the scale and shift circuit.
The students’ evaluation of an experiment is an impor- tant measure of its success. Generally, there are several means for students to comment on the course including the end-of-semester faculty evaluations. For this course, a questionnaire was developed to determine the effective- ness of the Temperature Box experiment in enhancing their understanding of the course material. The students were asked to indicated their level of understanding of the various sections of the course. The responses from 28 students are compiled below.
I circuit design I I I I
The vast majority of students developed an under- standing of the course material and indicated that the Temperature Box experiment enhanced their understand- ing. In particular, the following comments summarize the students’ impression of the experiment.
0 “The lab was exciting. It showed that what we had been learning in class actually worked. It also felt great to see (that) the work that we put in over the last five weeks (come together).”
0 “Labs like this, which are enjoyable, spark an inter- est in future labs and class periods. This lab really made all of the class (material) ... very understand- able.”
the math and logic (that) we (had) covered over the semester and that once it was built, it worked.”
The main criticism of the experiment was that the lab- oratories were too structured. One student commented:
0 “By the end of the experiment, we were just fol- lowing the instructions in the lab manual and not flexing our knowledge of the material.”.
This critique is valid because the instruction in the labo- ratory handouts were quite detailed.
800
5 Conclusion
In this paper, a “Temperature BOX”experiment is pre- sented in which the temperature of a room (cardboard box) is controlled by opening or closing a relay connected t o a hair dryer. The students were challenged t o apply linear algebra, analog and digital electronics, and basic control system concepts in the analysis, design, and con- struction of a feedback control system. Two comments were raised in the student evaluations: the experiment enhanced the students’ understanding of the course ma- terial and the laboratories procedures were highly struc- tured. These comments indicate the tradeoff that was addressed in preparing the experiment. The primary ob- jective is t o reinforce the material presented in lecture. Additionally, the experiment provides an opportunity for the students to design, build, and troubleshoot analog and digital circuits. However, neither of these objectives can be met if the students can not build the Temperature Box successfully. Therefore, due to the introductory na- ture of the course, the emphasis was placed on learning as opposed to design and, specifically, the laboratory proce- dures were written with the goal that all students could build a working Temperature Box. The students will have ample opportunity for design in subsequent courses. A secondary benefit is that the success of the experiment would motivate students to continue in a control system curriculum. In future version of this course, several changes will be made. An exhaust fan will be added to assist in the re- ducing the temperature in the box after the hair dryer is
turned off. The addition of the fan will improve the per- formance of the system because the current version relies on a temperature gradient alone to cool the box. Due to our department’s desire t o update the curriculum, a microcontroller may be included in the experiment and used to perform the voltage comparison in place of the digital logic.
References
[l] Mark Spong. NSF/CSS workshop on new directions in control engineering education. http://robot0.ge.uiuc.edu:80/spong/workshop/, October 1998.
[2] Vicky Hendley. Let problems drive the learning. ASEE PRISM, pages 30-36, October 1996.
[3] J. Jim Zhu. Motivation-by-challenge for teaching control systems. IEEE Control Systems Magazine, 14(5):64-68, October 1994.
Mitchell. Environmental systems engineering course. In The Proceedings of the Sumer Computer Simula- tion Conference, pages 449-454, Reno, NV, July 1998.
Wick. Teaching environmental systems engineering. In Proceedings of the 1998 ASEE Annual Conference, Seattle, WA, July 1998.