CMPE 118/L - Mechatronics - Winter 2010
Invitation to the Slugout at the OK Corral (Public Demo) at 6:00PM on Fri, 12-March-2010 in the Engineering Lecture Hall 101.
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 centered 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. He allowed us to make a reader based upon his forthcoming textbook, helped with the development of the slides, the software libraries, and the electronics hardware. He was instrumental in helping in the creation of this course at UCSC.
I would also like to acknowledge Prof. Gabriel Elkaim for giving me this opportunity to teach CMPE118 while he is on sabbatical, for allowing me the use of all his excellent course and lab material, and for giving me free reign to change and modify as I see fit.
Index of class resources
- General Class Information class and section times, instructor and TA information
- Handouts quizzes, quiz solutions, other helpful handouts.
- WebForum - for announcements, general discussion, and help.
Handouts
- General Course Information
- Course Syllabus
- Class Survey
- Extended course description
- Analog Filtering Article
- Java Filter Design tool
- HC12 Module Schematic
- Essential C handout - Great C Reference!!
- Fabulous Foamcore
- Forces (Ch. 4)
- Moments (Ch. 5)
- Free Body Diagrams (Ch. 6)
- Material Properties Handout
- Steps to Writing A Routine
- High Quality Code Design
- Logic Data Sheets
- Sensor Data Sheets
- Midterm Data Sheets
- LM324 OpAmp Data Sheet
- Using the LaserCutter
- State Machine Template Code, courtesy of Prof. Carryer @ Stanford.
- Labs
- Quizzez
- Class Presentation Slides
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), Due 13-Jan-10 @ 6PM (Pre-lab due on 7-Jan-10 @ 6pm).
- RoachInst.pdf, Roach Introduction
- roachlib.pdf, Roach Library Documentation
- SES.pdf, SES Module Documentation
- Lab 1: OpAmps, Signal Conditioning, and Sensors, Due 20-Jan-10, 6PM (Pre-lab due on 14-Jan-10 @ 6pm).
- Lab 2: Mechanical Prototyping, Due 29-Jan-10 @ 5PM (Pre-lab due start of section on 20th or 21st).
- Lab 3: DC and Stepper Motors, Due 05-Feb-10 @ 5PM (Pre-lab due by 29-Jan-10 at latest).
- servobasic.h, Servo code header file
- servobasic.c, Servo code c-file
- steps12.h, Stepper code header file
- steps12.c, Stepper code c-file
- A3982_Stepper.pdf, Stepper board documentation
- Slug Out at the OK Corral - Final Project: March 12th, 2010 @ 6pm Baskin Lecture Hall 101
Quizzes
Quizzes will be given out at least once a week at the beginning of class. These will be based on the reading material that should have been completed before coming to class. Occasional homework assignments will be handed out or assigned during lecture to complete a series of short exercises. Cooperation and collaboration on the labs and homework is encouraged, but this is NOT licence to copy. The work you turn in should be your own.
Exams
- Intake Quiz 05-Jan-2010.
- Midterm is a takehome from 4.Feb.2010 @ 7:45PM to 9.Feb.2010 @ 6pm.
- Data Sheets for Midterm
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. The files will be in PDF format and if ink was added to the lecture it will have the extension "with_ink" added to the file name. These notes are for your reference and in case you miss class. I do not plan on always making them available before class is given; you are expected to take notes, which is good as it will help keep your attention focused.
- Lecture #0 - with ink: Introduction to Mechatronics 05-Jan-2010
- Lecture #1 - with ink: Event Driven Programming 07-Jan-2010
- Lecture #2 - with ink: Basic Sensors 12-Jan-2010
- Lecture #4 - with ink: Filtering 19-Jan-2010
- Lecture #5 - with ink: OpAmps 26-Jan-2010
- Lecture #5 - with ink: Statics 26-Jan-2010
- Lecture #6 - with ink: Mechanical 2-Feb-2010
- Lecture #7 - with ink: Digital IO 2-Feb-2010
- Lecture #8- with ink: Solenoids and DC Motors, 4-Feb-2010
- Lecture #9 - with ink: Project Managment, 16-Feb-2010
- Lecture #10 - with ink: Stepper Motors, 18-Feb-2010
- Lecture #11 - with ink: Mechanical, 23-Feb-2010
- Lecture #12 - with ink: Noise Isolation, 25-Feb-2010
- Lecture #13 - with ink: Modular C, 2-Mar-2010
- Lecture #14: Timers and ADC Video Lecture, 4-Mar-2010
- This video was 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.
Competition Videos
Here are some videos that were taken in the lab and at the competition.
- video 1 - Lab runs
- video 2 - Lab runs
- video 3 - Lab runs
- video 4 - Lab runs
- video 5 - Lab runs
- video 6 - Lab runs
- video 7 - Lab runs
- Ghetto Bot Lab Trial 1
- Ghetto Bot Lab Trial 2
- video 8
- video 9
- video 10
- video 11
- video 12
- video 13
- video 14
- video 15
- video 16
- video 17
- video 18
- video 19
- video 20
- video 21
- video 22
- video 23
- video 24
General Class Information
- Instructor:
- Name: Cyrus Bazeghi (cyrus@soe.ucsc.edu)
- Phone: 831-459-2217
- Cell: 831-566-0960
- Office: Engineering 2, 319
- Instructor Office Hours:
- Wed and Thur: 4:00 - 6:00 PM, and by appointment
- Textbooks:
- [H&H]: The Art of Electronics, 2nd Ed., Horowitz and Hill, Cambridge University Press, 1989
- [CKO]: Introduction to Mechantronics, pre-release., Carryer, Kenny, and Ohline, Prentice Hall, 2010
- [Rorabaugh]: Mechanical Devices for the Electronics Experimenter, Rorabaugh, TAB Books, 1995
- Teaching Assistant:
- Name: John Burr (jburr@soe.ucsc.edu)
- Lab Hours:
- TBD
- Lab Tutors:
- Name: Andrew Hill (awhill@soe.ucsc.edu)
- Name: Max Dunne (mdunne@ucsc.edu)
- Name: Colin Beighley (cbeighley@ucsc.edu)
- Lab Hours:
- TBD