You are on page 1of 3

PURDUE UNIVERSITY

SCHOOL OF MECHANICAL ENGINEERING

FALL SEMESTER 2010

ME 586: Microprocessors in Electromechanical Systems

INSTRUCTOR: Prof. Peter H. Meckl


Room: ME 82
Phone: 49-45686
Email: meckl@purdue.edu
Office Hours: MF 4:00-5:00 p.m.

TEACHING ASSISTANT: Brad Lohmeyer


Phone: (765) 404-3338
Email: jlohmeye@purdue.edu
Open Lab Hours: Th 10:00 a.m. – 12:00 p.m.
Room: ME 140B

LECTURE: Monday, Wednesday 1:30-2:20 p.m.


Room: ME 256

LAB: Tuesday or Wednesday 2:30-5:20 p.m.


Room: ME 140B, Microprocessor Control Lab

TEXTBOOK: Programming the Motorola M68HC12 Family, by Gordon Doughman, Annabooks, 2000.

REFERENCES: 1. 68HC12 Microcontroller: Theory and Applications, by Daniel J. Pack and Steven F.
Barrett, Prentice-Hall, 2002.
2. MC68HC12 An Introduction: Software and Hardware Interfacing, by Han-Way
Huang, Delmar/Thomson Learning, 2003.
3. Software and Hardware Engineering: Motorola M68HC12, by Fredrick M. Cady and
James Sibigtroth, Oxford University Press, 2000.
4. CPU12 Reference Manual, Motorola, Rev. 3, 2002 (available on course webpage).
5. M68HC12B Family Data Sheet, Motorola, Rev. 8, 2003 (on course webpage).
6. Microcomputers in Engineering and Science, by J. Ffynlo Craine and Graham R.
Martin, Addison-Wesley, 1985.
7. Digital Circuits and Microprocessors, by Herbert Taub, McGraw-Hill, 1982.

GRADE BREAKDOWN: Homework 10%


Mid-Term Exam (written & oral) 30%
Final Exam (written & oral) 30%
Lab Reports 30%
_____
Total 100%
ME 586 Course Schedule - Fall 2010

Lecture Reading Assignments


Date Lecture Topic
Number Assignments* HW Lab
1/Mon 8/23 Introduction to Microprocessors and None
Microcontrollers
2/Wed 8/25 Number Systems, Binary Arithmetic
3/Mon 8/30 Logic Operations, Logic Gates, Boolean Algebra 1
4/Wed 9/01 TTL Logic Family, Transistors & Logic Circuits
5/Fri 9/03 Flip-Flops, Registers, Memory Addressing 1
/Mon 9/06 LABOR DAY – NO CLASS 2
6/Wed 9/08 Microprocessor Architecture and Internal Operations Chapter 1
7/Mon 9/13 CPU12 Instruction Set Overview, Chapter 2, Appendix A 2 2 (cont.)
Addressing Modes Section 2.2
8/Wed 9/15 Assembler Directives, Manual Assembly,
Branching and Looping Sections 2.6, 2.13-2.18
9/Mon 9/20 Subroutines & the Stack Section 3.1 3 3
Passing Parameters Sections 3.2 to 3.6
10/Wed 9/22 I/O Interfaces, Parallel I/O Ports Chapter 6
11/Mon 9/27 Serial Communications Chapter 9 4 3 (cont.)
12/Wed 9/29 RS-232 Standard, UART Chapter 9 (cont.)
ASCII Conversion Sections 3.11, 3.12
13/Mon 10/04 Interrupts Chapter 5 5 4
14/Wed 10/06 Interrupts (cont.) Chapter 5 (cont.)
Timers Chapter 11
/Mon 10/11 OCTOBER BREAK – NO CLASS 5
15/Wed 10/13 Mixed-Language Programming 6
16/Mon 10/18 Digital-to-Analog and Analog-to-Digital Conversion Chapter 13 7 6
17/Wed 10/20 Pulse Width Modulation (PWM) Chapter 12
18/Mon 10/25 Review of Systems Concepts 8 7
19/Wed 10/27 MID-TERM EXAM
20/Mon 11/01 Review of Classical Controller Design 8
21/Wed 11/03 PID Control
22/Mon 11/08 Ziegler-Nichols Tuning 8 (cont)
23/Wed 11/10 Sampling, Sampled Data Systems,
Discrete Controller Implementation
24/Mon 11/15 Aliasing, Anti-Aliasing Filters 9
25/Wed 11/17 Actuators, Stepper Motors “Motor Technologies” (web)
26/Mon 11/22 Stepper Motors (cont.)
/Wed 11/24 THANKSGIVING BREAK – NO CLASS
27/Mon 11/29 Stepper Motor Drivers “Drive Technologies” (web) 9 (cont)
28/Wed 12/01 Optical Encoders “Encoders” (web)
29/Mon 12/06 Direct Memory Access 9 10
30/Wed 12/08 Microcomputer Peripherals, Bus Standards

*Reading Assignments mainly from Programming the Motorola M68HC12 Family, by Gordon Doughman.
“web” refers to ME 586 Course Webpage, under the tab “Supplementary Documents”.

In the event of a major campus emergency, course requirements, deadlines and grading percentages are subject to changes that may be necessitated
by a revised semester calendar or other circumstances. Here are ways to get information about changes in this course. Course web page, my email
address: meckl@purdue.edu, and my office phone: 494-5686.
LABORATORY SCHEDULE

Lab 1: PC Familiarization, IAR Integrated Development Environment

Lab 2: Digital Logic Gates, Adder Circuit, Flip-Flops, Memory Register

Lab 3: CPU12 Assembly Language Programming, Digital I/O

Lab 4: Keyboard & Console I/O Operations, Serial Communication, Communication Between
Two Microprocessors

Lab 5: Interrupts: Application to Frequency Counting

Lab 6: Mixed-Language Programming

Lab 7: Digital-to-Analog and Analog-to-Digital Converters, PWM

Labs 8, 9, 10: Electromechanical Control Projects:

Choice of One: Choice of Two:

Interfacing of Stepper Motor Engine Cruise Control


Motion Control of 2-D Manipulator DC Motor Control
Sequencing in Pneumatic System Inverted Pendulum
Adaptive Refrigeration Cycle
Heating/Cooling System
Active Vibration Control

You might also like