Spring 2009 Real-Time Embedded Instrumentation (4/6/09)
EE385J.17 16795   BME384J-2 14120
Jonathan W. Valvano, ENS 627, 471-5141, University of Texas at Austin
MWF 2-2:50, RLM 5.118
Lab ENS252C
Office Hours: Tue 12-1, Wednesday 12:00-12:45, Friday 1-1:45
email valvano@mail.utexas.edu
Text Class notes posted on the class web site 
EE345M TAs:                 
John Porterfield, John.Porterfield@mail.utexas.edu 
Lev Shuhatovich, lev-s@mail.utexas.edu
EE345L TAs
Sterling Wei, sweitx@mail.utexas.edu
Jacob Egner, jegner@mail.utexas.edu
Glen Rhodes         
   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
   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/13, in class (DATE CHANGE)
   10% Quiz 2 (closed book and open book) 3/13, in class (DATE CHANGE)
   10% Quiz 3 (closed book and open book) 4/24, in class (DATE CHANGE)
   30% Final Exam (closed book and open book), Friday 5/15 9am-12noon as scheduled
   40% The 3 structured labs, and one term project
      Lab 1. Analog and Digital Noise Analysis, due 11am 2/20 
      Lab 2. Qualitative Data Acquisition: Heart Sound or Voice Recording, due 11am 3/6
      Lab 3. Quantitative Data Acquisition: Temperature or Acceleration, due 11am 3/27
      Lab 4. Prototype of Embedded  System Project (protoboard), due 11am 4/17
      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:
: completely written by you;
: fundamental approach is copied but it is your implementation;
: source code significantly edited to serve your purpose;
: 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 February 4. 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/21 Introduction
1/23 General instrumentation, systems approach
1/26 Noise
1/28 Noise
1/30 Analog op amp design
2/2 Instrumentation amps
2/4 Analog filter design
2/6 9S12 real time ADC sampling
2/9 9S12 demo (meet in ENS252C)
2/11 Fixed point math in 9S12 C
2/13 Quiz 1 definitions and noise
2/16 Digital filters
2/18 Digital filters
2/20 Lab 1 due (meet in ENS252C)
2/23 Heart sounds and microphones
2/25 LCD graphics and user interfaces
2/27 Audio amplifiers, speakers
3/2 Fundamentals of temperature transducers
3/4 Thermistors, thermocouples
3/6 Lab 2 due (meet in ENS252C)
3/11 Displacement, Accelerometers
3/13 Quiz 2 (up to and including Labs 1,2)
3/23 Pressure transducers
3/27 Lab 3 due (meet in ENS252C)
3/30 18 mass, force transducers
4/1 Electrical safety, isolation
4/3 Biopotentials
4/6 EKG amps
4/8 PCB layout
4/10 Software design process
4/13 Period and Frequency Measurement 
4/15 Flow transducers  (PCB artist files due)
4/17 Lab 4 due (meet in ENS252C)
4/20 Design process
4/22 Real-time operating systems
4/24 Quiz 3 (up to and including  Lab 3)
4/27 Real-time operating systems
4/29 USB interface
5/1 Imaging
5/4 Review, course evaluation
5/6 Lab 5 demonstrations, (meet in ENS252C)
5/8 EE345L demos (in front of ENS) (Lab 5 report due)
5/15 Final exam, 9am-12n, regularly scheduled

Request samples (DIP or PDIP package) You will need register with an official University email address (e.g., YourName@mail.utexas.edu) rather than a junk email address (e.g., aol.com or gmail.com) for
Analog Devices
1) AD8032ANZ  rail-to-rail op amp

1) MAX1247ACPE+ 12-bit ADC, such as the  (A or B, with or without +)
2) MAX6225ACPA+  2.500V analog reference (with or without +) (ACPA or BCPA)
3a) MAX5154ACPE dual 12-bit SPI interface DAC (ACPE or BCPE)
or 3b) MAX539ACPA single 12-bit SPI interface DAC (ACPA or BCPA)

1) INA122P rail-to-rail instrumentation amp
2) OPA2350PA rail-to-rail dual op amp (with or without A)
3) TLC2272ACP rail-to-rail dual op amp (with or without A)
4) TLC2274ACN rail-to-rail quad op amp (with or without A)

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.

Places to buy prototyping boards and other parts
In Austin

AlTex Electronics 832-9131
Frys Electronics 733-7000
Howard Electronics 837-2525

Mail Order

BG Micro, Dallas http://www.bgmicro.com/         Freescale http://www.freescale.com/
All Electronics, Los Angeles http://www.allelectronics.com/   Technological Arts http://www.technologicalarts.com
Digikey http://www.digikey.com/   Maxim http://www.maxim-ic.com/
Mouser Electronics www.mouser.com   Fairchild http://www.fairchildsemi.com/
Jameco, Belmont CA http://www.jameco.com/   Texas Instruments http://www.ti.com/

Curious about my research? See