M E 597D – Advanced Mechatronics
http://www.mne.psu.edu/brennan/ME597D/
(M.S. Word version here)
Spring 2007
M W F 10:10P - 11:00P
320 Reber, Advanced Mechatronics Lab
Door Code: __ __ __
Instructor:
Office: 318
Office hours: MWF
Textbook: (none, but see references below).
Prerequisite: ME 440 or equivalent, basic familiarity with circuits
What is Novel about this Class: Lab Based – lots of hardware, Problem-Based Learning, Unstructured
What is Hard about this Class: Lab Based – lots of hardware, Problem-Based Learning, Unstructured
References:
§
§
§
§
§
§
Tamal Bose, Digital Signal and Image Processing. Wiley Interscience, 2004.
§
Other Useful
Resources:
Website for Introduction
to Mechatronics and Measurement Systems, by
Class Topics: This class will facilitate hands-on investigation and learning of mechatronic systems via a problem-based approach. The course material will consist of lectures, lab activities, and major projects focused on the myriad areas of mechatronics. These will be separated into five areas:
1. Programming Real-Time Systems
2. Signal Interfaces (A/D and D/A, signals,
etc.)
3. Hardware Interfaces (Actuators and Sensors)
4. System Modeling and Control
5. Human to Hardware Interfaces
Due Dates: Homework assignments are due 2 weeks after the assignment is given.
Lab prelabs are due the start of each lab. No late submissions allowed.
Lab checkoffs are due by the second class meeting after the lab begins (e.g. you have three lab periods to complete the assignment).
Final Project (Last 6 weeks of class): A major project will be expected of the students at the completion of the semester demonstrating a mechatronic systems integration showing mastery in the following areas:
- Programming
- Circuit fabrication
- Sensor and hardware interfacing
- Control systems and/or signal processing
- GUI design and presentation
The projects can be conducted in teams, with a topic chosen at the beginning of each semester. Tentatively, the following idea is being considered: The class constructs 2 entries into the 15th Annual Intelligent Ground Vehicle Competition, http://www.igvc.org/ . These entries compete against each other in a mock-course at the end of the semester, and also go on to compete at the national level.
Grading: In accordance with the policy of this University, all students are encouraged to attend every class period. The lecture content will follow the laboratory assignments in an obvious manner, so failure to attend a lecture will be a severe handicap in the lab. The final project should represent the entire content of the class and is representative of a final exam grade.
Check-off on all labs 20%
Homework and Pre-labs 40%
Final Project 30%
Quizzes 10%
Policy on cheating (University policy statement)
Academic integrity is the pursuit
of scholarly activity in an open, honest and responsible manner. The
University's Code of Conduct states that all students should act with personal
integrity, respect other students' dignity, rights and property, and help
create and maintain an environment in which all can succeed through the fruits
of their efforts. Academic integrity
includes a commitment not to engage in or tolerate acts of
falsification, misrepresentation or deception. Such acts of dishonesty violate
the fundamental ethical principles of the University community and compromise the
worth of work completed by others. The academic integrity web site for the
(Cheating issues specific to this class):
Students are encouraged to work together on homework assignments; however, original solutions are required. For homework, the threshold of cheating is defined as follows: If the person grading the assignments is able to identify students who have worked together by their solutions or specific aspects of their solution approach, then the solutions are not original! A homework or other assignment where cheating is found will automatically be given a zero grade
Copying of information from websites without proper citation is considered cheating. Any copying of information without proper citation will result in a zero grade for the assignment. Particularly blatant copying (i.e. an entire assignment) will result in referral to the college for an honor violation and automatic deduction of a minimum of one letter grade.
Useful Links:
This course (and latest syllabus):
http://www.mne.psu.edu/brennan/ME597D%20Mechatronics/
AUVSI, the Association for Unmanned Vehicle Systems International,
Website for the Introduction to Mechatronics and Mechatronic Systems,
http://www.engr.colostate.edu/~dga/mechatronics/
Electronics in Meccano,
The Embedded Muse, short newsletters dedicated to embedded systems, great articles!
http://www.ganssle.com/gnewsletter.htm
Parts List for your electronics box:

Circuit Ideas
RS232 Display board
Hand-held logic probe
Null/Pass-through serial cable tester
Tankbot Final Project
Items
ME 597D – Advanced Mechatronics Topic Listing
|
Class # |
Date |
Topics Code shakeout of MATLAB serial ports |
Assignments Red = Graded |
Items Due |
|
1 |
Wednesday, January 17 |
-
Confirm MNE account made… if not,
click the link http://mnelabs.mne.psu.edu/
and select “Apply for an account”, - read Hake’s
paper regarding Problem-Based Learning - read AUVSI contest rules, |
|
|
|
2 |
Friday, January 19 |
Discuss Figlet freeware, TEM Fun: |
- read
about C bitwise manipulators, - skim style references 1,
2,
3,
4,
5,
6
, 7,
8
- answer questions related to lecture - start reading CCS C
manual |
|
|
3 |
Monday, January 22 |
TEM Fun: |
-
Install PIC and MPLAB
on home computer, - Practice
reading datasheets on PIC
16F877 (read this one closely), and version
A, and errata,
and finally MPLAB
ICD, - Do PIC HW 1 using flash1.c,
defs
_877.h files |
Skill assessments due |
|
4 |
Wednesday, January 24 |
Final Project team formation Documentation of Cooperative Learning Suggested Team Policies and Expectations.doc
Example Individual Assessment Forms Brennan’s overall rating form that will use your
rankings |
-
Practice reading datasheets on 7805
regulator, MatroxOrbital
LCD or Parallax
Serial LCD or ScottEdwards
BPI LCD (whichever you have) - Read MPUtheBS
Ch1 then do the following - HW: Implement switch + LED example on p 25 in same reference
except using C and your PIC, - Answer Q’s 1-6 end of Ch1 in this reference. - Finally, do PIC HW2 using template.c,
defs_877.h
files - Do team assignment (see box at left) |
|
|
5 |
Friday, January 26 |
- Robot
Interface GUI via - Simulation
challenge discussed |
|
|
|
6 |
Monday, January 29 |
Serial Ports and Network
Protocols Final Project Team Assignment Discussion |
- Do PIC HW3 on serial ports using this starter
code and defs file. To help, here’s the spec sheet for our LCD
screen. See also the spec sheet for the MAX 232
chip and a link to a good page on converting RS232
to CMOS |
|
|
7 |
Wednesday, January 31 |
Intro to DSP’s and Computer Architecture |
- Scan
over document comparing fixed point to floating-point DSPs |
|
|
8 |
Friday, February 02 |
DSP Lab 1 – DSP Intro |
- Read documents to left closely, especially the LibFuncs pdf |
Lesson 1 items due (none) |
|
9 |
Monday, February 05 |
TEM Fun: |
- Here’s a link to the DSP
Bios Users Guide. It’s impossible to read cold unless you have a real
problem or are hard-core, but in times of need it’s a lifesaver! - Fill in last slide in Real-time concepts
lecture. - GROUP: GUI specifications handed out, Simulation model,
Simulation
README file, Example
Implementation |
Team: Contracts Due Lesson 2 items due
(questions) |
|
10 |
Wednesday, February 07 |
Field demo of robot, Machine shop check out
|
- If you
are unfamiliar with using MATLAB or Simulink, read
tutorials linked here to get started |
Team: Final Project Partitioning Due 1.
Project flow-through dependencies 2.
Partitioning of leaves into 4 tasks 3.
Time/person estimates for each task 4. Means
of testing/evaluating completion of each “leaf” Lesson 3 items due (PIC HW1) |
|
11 |
Friday, February 09 |
Finish Computer Hardware lecture |
- Do the
following homework on Number
Representations |
Lesson 4 items due (PIC HW2, questions) |
|
12 |
Monday, February 12 |
Interactive learning - Modeling of a tank robot using differential
equations / Simulink DSP Lab 2 – Serial Ports Team time for GUI development? |
HW: Create an automated cable tester that checks to see if a serial
cable is a cross-over or pass through. If it is a cross over, it should light
a green LED, pass through should light a red. |
Lesson 5 items due (none) |
|
13 |
Wednesday, February 14 |
Class Cancelled - |
Read
example lab on debouncing to see effect of adding a capacitor, Read the excellent debounce article,
as this is probably the best overview of debounce issues I’ve seen. HW: Using your PIC, create an LED interface that counts the number of
times a switch (an input pin) bounces after the first closure. Demonstrate
this in class. |
Lesson 6 items due (PIC HW3) |
|
14 |
Friday, February 16 |
Factoid - High
Power Disconnect TEM Fun: |
HW: Using the code suggested in the debounce article to simultaneously
debounce 4 switches. Show that this works by having the LED’s count up by one
every time ANY of 4 switches is pressed. |
Lesson 7 items due (none) |
|
15 |
Monday, February 19 |
Semaphores
and Handshaking, More DSP BIOS. Setting up a timer in a PIC. TEM: Mars
Pathfinder - good article on need for good Real Time OS’s. |
HW: Using the above code, create a PIC version of a dice, e.g. returns
a number randomly from 1 to 6 every time one of 4 buttons is pressed. |
Final Project GUI
Visualization Interface Due Lesson 8 items due (none) |
|
16 |
Wednesday, February 21 |
Catch up day |
|
Lesson 9 items due (state transition
diagram from last slide in that lecture) |
|
17 |
Friday, February 23 |
GUI Discussion |
Read handout on drawing circuits |
Lesson 10 items due (none) |
|
18 |
Monday, February 26 |
DEMO: xPC systems |
SITE VISIT: Aero Read p 192-193 of Chapter 3 on how
to expand the number of inputs of a PIC. HW:
If the LS165 chip is available, use it with your PIC to create a
“combo lock” wherein, if 6 digital inputs are correct, an LED will light up. |
Lesson 11 items due (none) |
|
19 |
Wednesday, February 28 |
Robot Re-Assembly |
HW: read pages 205-208 of the above Chapter 3, and create a logic
probe using your microprocessor. |
Lesson 12 items due (none) |
|
20 |
Friday, March 02 |
Robot Re-Assembly |
Final Project Hardware Due |
Final Project GUI
Simulation Interface Due Team self assessment
1 Lesson 13 items due (none) |