Spring 2007 Real-Time Embedded
Instrumentation (2/23/07)
EE385J.17 16490 BME384J-2 13875
Jonathan W. Valvano, ENS627, 471-5141,
University of Texas at Austin
Class MWF 1100-11:50 am, ENS109
Lab
ENS252C
Office Hours: Monday 2-3, Wednesday 12:15-12:45, Friday 10-11
email valvano@mail.utexas.edu
Required Text
Measurement and Instrumentation Principles,
Morris, 3rd edition/2001 ISBN: 0750650818
Grader
Erik Lee erik.lee@mail.utexas.edu
Prerequisites 1) EE338K Analog circuit design,
op amps 2) C programming and Data structures
3) Differential equations, Fourier
transforms, Laplace Transforms, Z Transforms 4)
EE345L, EE345S, or EE374L embedded microcontrollers
http://www.ece.utexas.edu/~valvano/Datasheets Data sheets for
devices used in EE385J
http://www.ece.utexas.edu/~valvano/Starterfiles Starter
files for EE345L EE345M and EE385J
http://www.ece.utexas.edu/~valvano/metrowerks/ Description of
Starter programs
http://www.ece.utexas.edu/~valvano/Datasheets/MC9S12C128_V1.pdf
9S12C32 data sheet
http://www.ece.utexas.edu/~valvano/embed/toc1.htm
C programming manual
http://www.ece.utexas.edu/~valvano/Starterfiles/TechArts.zip Data
sheets about board
Topics 1) Instrument
design, safety, noise
Specifications and requirements Performance
evaluation Transducers,
modeling, design, and evaluation 2) Noise analysis Theoretical
considerations Measurement
techniques, and reduction practices 3) Real
time embedded software in C Debugging
techniques, I/O, graphical
interfaces Interrupts,
sampling jitter
FIFO queue
analysis 4)
Instrumentation Hardware and
Software Amplifiers, DAC and
ADC, Isolation circuits, Digital and analog filters,
Data acquisition systems,
fixed point math, digital filters 5) System
design methods Brainstorming,
design cycles, teamwork, PCB layout and fabrication, testing
After the successful conclusion of EE385J.17
students should be able to design real-time embedded systems, specifically those
that acquire 1-D data with a sampling frequency less than 10 kHz.
Grading
policy 10% Quiz 1 (closed book) 2/7, in class 10% Quiz 2
(closed book and open book) 3/7, in
class 10% Quiz 3
(closed book and open book) 4/6, in
class 30% Final Exam (closed book and open
book), Sat 5/12 7-10pm, as scheduled 40%
The 3 structured labs, and one term project Lab
1. Analog and Digital Noise Analysis, due 11am 2/16 Lab
2. Qualitative Data Acquisition: Heart Sound or Voice Recording, due 11am 3/9 Lab
3. Quantitative Data Acquisition: Temperature or Acceleration, due 11am 3/30 Lab
4. Prototype of Embedded System Project (protoboard), due 11am 4/13 Lab 5.
Embedded System Project (PCB and enclosure), due 5/4 demo in class,
5/6 report due
Cheating: Cheating is very
uncivilized behavior and is to be avoided at all cost. You are allowed to talk
to your classmates about the lab assignments, but you are NOT allowed to
look at each other’s written work. Oral discussion about an
assignment is encouraged and is not considered to be cheating.
Copying of any part of a program is cheating without explicit reference to its
source. If two programs are found to be copied, there will be a substantial
penalty to both students, e.g., failure in the course. Students who cheat on
tests or in lab will fail. Prosecution of cases is very traumatic to both the
student and instructor. PLEASE DO YOUR OWN WORK. Policies concerning
the use of other peoples’ software in this
class: • I strongly encourage you
to study existing software. • All
applications and libraries must be legally obtained.
E.g., You
may use libraries that came when you bought a
compiler. You
may use software obtained from a BBS or on the
WWW. You
may copy and paste from the existing source code.
• You may use any existing source
code that is clearly referenced and
categorized: original:
completely written by
you; derived:
fundamental approach is copied but it is your
implementation; modified:
source code significantly edited to serve your
purpose; copied:
source code includes minor modifications.
Attendance: Students are
expected to attend class. In this class, a large part of the material is not in
any one book. If you miss class you may find it difficult to catch up.
Lab Partners: Labs may be performed in groups of two or
three. The lab partnership
must be registered with Valvano (a simple hand written note signed by both
students will suffice) at least a week before the assignment is due. Once
registered, the partnership will continue. A partnership can be dissolved by
either party in writing 1 week before the assignment is due. All partners must
be present during the demonstration.
Legal Stuff: The 12th
class day is January 31. After this date, I will sign a drop card only if it has been
approved by the Dean. Your current grade status must be a "C" or better for you
to receive a "Q". Course/instructor evaluation is conducted on the last class
day in accordance with the Measurement and Evaluation Center form. The final
exam is at the time and place stated in the course schedule. The University of
Texas at Austin provides upon request appropriate academic adjustments for
qualified students with disabilities. For more information, contact the Office
of the Dean of Students with Disabilities at 471-6259, 471-4241 TDD.
Cognitive Objective Categories
1. Knowledge, the repetition of
facts
2. Comprehension, the ability to paraphrase into one’s own words
3.
Application, the ability to apply a general principle to a new specific
instance
4. Analysis, the ability to identify component parts
5.
Synthesis, the ability to create a new system out of components
6.
Evaluation, the ability to make critical judgments
Affective Objective
Categories
1. Willingness to receive and incorporate new
information
2. Acceptance, organization and commitment to a value
system
Date
Topic
1/17
Introduction
1/19
1, 2 General instrumentation,
1/22
3 Noise
1/24
3, 4 Noise
1/26
5 Analog op amp design
1/29
5 Instrumentation amps
1/31
5 Analog filter design
2/2
9S12C32 real time ADC sampling
2/5
9S12C32 demo (meet in ENS252C)
2/7
Quiz 1 definitions and noise
2/9
Fixed point math in
9S12C32 C
2/12
Digital filters
2/14
Digital filters
2/16
Lab 1 due (meet in ENS252C)
2/19
Heart sounds and
microphones
2/21
LCD graphics and user interfaces
2/23
Audio amplifiers, speakers
2/26
14 Fundamentals of temperature transducers
2/28
14 Thermistors, thermocouples
3/2
Lab 2 due (meet in ENS252C)
3/5
Period and Frequency Measurement
3/7
Quiz 2 (up to and including Labs 1,2)
3/9
19 Displacement, Accelerometers
3/19
15 Pressure transducers
3/21
16
Flow transducers
3/23
3/26
18 mass, force transducers
3/28
Electrical safety
Biopotentials
3/30
Lab 3 due (meet in ENS252C)
4/2
EKG amps
4/4
Isolation amplifiers
4/6
Quiz 3 (up to and including
Lab 3)
4/9
PCB layout
4/11
Design process
4/13
Lab 4 due (meet in ENS252C)
4/16
Design process
4/18
Real-time operating systems
4/20
Real-time operating systems
4/23
Real-time operating systems
4/25
USB interface
5/2
Imaging
5/4
Lab 5 demonstrations, (meet
in ENS631)
5/6
Review, course
evaluation (Lab 5
report due)
5/12
Final exam, 7-10pm, regularly
scheduled
Request samples (DIP or PDIP package) for
http://www.ti.com
1) INA122P rail-to-rail instrumentation amp
2) OPA2350PA rail-to-rail dual op amp (with or without A)
or OPA350PA rail-to-rail signal op amp (with or without A)
3) TLC2272ACP rail-to-rail dual op amp (with or without A)
or TLC2274ACN rail-to-rail quad op amp (with or without A)
http://www.analog.com/en/index.html
Analog Devices
1) AD623AN Rail to rail instrumentation amp
or AD627ANZ Rail to rail low-power instrumentation amp
2) REF03GPZ 2.5V precision analog reference
3) OP491GPZ rail-to-rail op amp
http://www.maxim-ic.com/
1) a rail-to-rail op amp, such as the MAX494CPD
2) a 2.500V analog reference, such as the MAX6225ACPA
3) 8-bit SPI interface DAC, such as the MAX549ACPA
To access computers in ENS, students needs LRC accounts that they should apply through https://www.engr.utexas.edu/itg/ a few weeks early before the lab.