CMPE 118/L - Mechatronics - Winter 2007
Final Project: The Spy Who Slimed Me!
Final Public Demo -- Wed. 14-Mar-2007, 6:30-7:30 PM, Engineering Auditorium 101
Last Year's Presentation
Last year, the class was tasked with building a droid to shoot a tin can off of the other droid's head, The Good, The Bad, and The Slugly. The final project was the subject of a KSBW short news story, which can be seen here.
Background
Mechatronics is the synergistic combination of mechanical engineering ("mecha" for mechanisms), electronic engineering ("tronics" for electronics), and software engineering. The purpose of this interdisciplinary engineering field is the study of automata from an engineering perspective and serves the purposes of controlling advanced hybrid-systems such as production systems, synergy-drives, planetary-rovers, automotive subsystems such as anti-block system, spin-assist and every day equipment such as autofocus cameras, video, hard disks, cd-players, washing machines, lego-matics etc.
Mechatronics is centred on mechanics, electronics and computing which, combined, make possible the generation of simpler, more economical, reliable and versatile systems.
The word "mechatronics" was first coined by Mr. Tetsuro Moria, a senior engineer of a Japanese company, Yaskawa, in 1969. Mechatronics may alternatively be referred to as "electromechanical systems," or as "smart products."
Acknowledgements
This course is based on a the Smart Product Design sequence (ME218A, B, C), and the one quarter Mechatronics class (ME210/EE118) offered at Stanford by the Smart Product Design Lab, headed by Dr. Ed Carryer.
I would like to acknowledge the tremendous help of Prof. Ed Carryer of Stanford University in teaching the subject matter to me, for all of his help with the slides, the software libraries, and the electronic hardware, and lastly for pioneering this video capture technology, and helping me to set this course up. Without his help and inspiration, this class would not be here.
Index of class resources
- General Class Information class and section times, instructor and TA information
- Lecture Video Video files of the lectures, and download information for the right codec.
- Handouts homework problem sets, homework solutions, other helpful handouts.
- WebForum - for announcements, general discussion, and help.
Handouts
- General Course Information
- Course Syllabus
- Class Survey
- Invitation to Public Demo
- Event Driven Programming
- StateMachines
- Analog Filtering Article
- HC12 Module Schematic
- Essential C handout
- Fabulous Foamcore
- Forces (Ch. 4)
- Moments (Ch. 5)
- Free Body Diagrams (Ch. 6)
- DC Motors (Ch. 19)
- DC Motor Applications (Ch. 20)
- Stepper Motors (Ch. 21)
- Material Properties Handout
- Steps to Writing A Routine
- High Quality Code Design
- Logic Data Sheets
- Sensor Data Sheets
- Using the LaserCutter
- Labs
- Homework
- Class Presentation Slides
Lecture Videos
The technology to record these videos is supported by a grant from the Center for Teaching Excellence (CTE), and it is an experiment. Feedback as to the utility, and the usability of these videos would be highly appreciated. The basic hardware required is a tablet PC with the Office Tablet PC extensions, and a standard headset to capture the lecturers voice. Additionally, a program called Camtasia is used to capture the entire sequence into a standard movie format that can then be viewed at a later time for review and additional study.
You may view these lectures at any time, but do not distribute them beyond the UCSC environment. These lectures have been created using the Camtasia software, and can be played through the Camtasia player software, downloadable for free from techsmith here, or through the standard windows media player with the techsmith codec. A Mac OSX version of the codec can be found here that allows playback of the files. Note that some students have reported that VLC works much better on MacOSX and Linux.
- Lecture #0, 04-Jan-2007, Introduction to Mechatronics.
- Lecture #1, 09-Jan-2007, Event Driven Programming.
- Lecture #2(a), 11-Jan-2007, State Machines.
- Lecture #2(b), 11-Jan-2007, Introduction to Sensors.
- Lecture #3, 16-Jan-2007, Sensors (con't).
- Lecture #4, 18-Jan-2007, OpAmps (real ones).
- Lecture #5, 22-Jan-2007, Comparators.
- Lecture #6, 25-Jan-2007, Filtering.
- Lecture #7, 30-Jan-2007, Statics and CAD.
- Lecture #8, 01-Feb-2007, Digital I/O.
- Lecture #9, 06-Feb-2007, Solenoids and DC Motors.
- Lecture #10, 08-Feb-2007, Brushed and Brushless DC Motors
- Lecture #11, 13-Feb-2007, Steppers and Design Review
- Lecture #12, 15-Feb-2007, Steppers (Con't) and Timers
- Lecture #13, 20-Feb-2007, Timers and ADC's
- Lecture #14, 22-Feb-2007, Material Properties
- Lecture #15, 27-Feb-2007, Project Mangement
- Lecture #16, 01-Mar-2007, Material Properties
- Lecture #17, 06-Mar-2007, Noise Isolation
- Basic Circuits, 08-Jan-2007, Supplemental Lecture, Part I.
- Basic Circuits, 10-Jan-2007, Supplemental Lecture, Part II.
- Basic Semiconductors, 12-Jan-2007, Supplemental Lecture.
- Basic OpAmps, 15-Jan-2007, Supplemental Lecture.
- Midterm Review, 07-Feb-2007, Midterm Review.
- Old Midterm Review, helpful for midterm redo.
Labs
This is a lab class. That means that almost everything you will learn will be by doing, and that doing will be in the labs. The Pre-Labs are serious, as they are there to ensure that you don't hurt yourselves, or damage the equipment. Make sure that you have understood what is going on, and use you colleagues for guidance. Expect to put in long hours doing the labs, but they will definitely be worth it in the end.
- Lab 0: The Roach (Event Driven Programming)
- Lab 1: OpAmps, Signal Conditioning, and Sensors.
- Lab 2: Mechanical Prototyping.
- Lab 3: DC and Stepper Motors.
- Final Project: The Spy who Slimed Me!
Homework
Homeworks are handed out in class, and are due back either in class or in my office, 337B Engineering 2, at 6 PM on the following week. Homeworks will only be accepted at the beginning of class, not at the end of class. Homeworks turned in late will be receive half the total points once the solution set has been posted. Cooperation and collaboration on the homeworks is encouraged, but this is NOT licence to copy. The work you turn in should be your own.
Exams
Class Presentation Slides
The class lectures use the digital ink capabilities of the TabletPC. The ink is saved back into the presentation, and the presentation is saved to the website for convenience. This year we are using Classroom Presenter rather than PowerPoint. It apprears to be far more stable, and has several nice utilities for the TabletPC. The presentation files are in the .CSD format, and you will need to download Presenter to view them. Presenter can be downloaded free from here.
- Lecture #0: Introduction to Mechatronics, 04-Jan-2005
- Lecture #1: Event Driven Programming, 9-Jan-2006
- Lecture #2: Basic Sensors, 11-Jan-2007
- Lecture #3: OpAmps, 16-Jan-2007
- Lecture #4: Filtering, 18-Jan-2007
- Lecture #5: Statics, 23-Jan-2007
- Lecture #6: Mechanical, 25-Jan-2007
- Lecture #7: Digital IO, 30-Jan-2007
- Lecture #8: Solenoids DC Motors, 01-Feb-2007
- Lecture #9: Stepper Motors, 08-Feb-2007
- Lecture #10: Timers and ADC, 15-Feb-2007
- Lecture #11: Mechanical, 20-Feb-2007
- Lecture #12: Project Management, 27-Feb-2007
- Lecture #13: Modular C, 01-Mar-2007
- Lecture #14: Noise Isolation, 03-Mar-2007
- Basic Circuits: Supplementary Lecture, 8-Jan-2007
- Basic Semiconductors: Supplementary Lecture, 12-Jan-2007
- Basic OpAmps: Supplementary Lecture, 15-Jan-2007
- Midterm Review: Supplementary Lecture, 07-Feb-2007
General Class Information
- Textbooks:
- The Art of Electronics, 2nd Ed., Horowitz and Hill, Cambridge University Press, 1989
- Mechanical Devices for the Electronics Experimenter, Rorabaugh, TAB Books, 1995
- Instructor:
- Name: Gabriel Hugh Elkaim (elkaim@soe.ucsc.edu)
- Phone: 831-459-3054
- Office: Engineering 2, 337B
- Instructor Office Hours:
- Tuesday-Thursday, 2:00 - 4:00 PM, and by appointment
- Teaching Assistant(s):
- Name: John Connors (jconnors@soe.ucsc.edu)
- Name: Erik Pasternak (krepnatas@gmail.com)
- Phone: (831) 459-2140
- Office: E2-316
- Office Hours:
- TBD

