Embedded Computing in Electromechanical Systems ME/EE 477 and MME 577

a syllabus

Course description

This course is an introduction to microprocessor-based measurement and control of mechatronic systems. Topics include processor architecture, computer memory, C programming, hardware and software interfaces, and communications. Emphasis is placed on hardware and software interface design for real-time measurement, control, and user interface.

General information

Actual office hours (CH 103C)
M 4–5, T 3–5, Th 3–5
Virtual office hours (zoom, make appointment!)
By appointment
Office hours appointments
make appointment
Location
Panowicz 107
Times
W 5:00–7:50
Website
ricopic.one/courses/me577
Moodle
Moodle

secrets

Discord

Everyone is required to join the messaging service called “Discord.” We’ll use it to communicate with each other during the semester. The Discord server you need to join is called drico. That’s an invitation link. Be sure to join the channel #477-577.

Textbooks

(PGD) Picone, Garbini, Devine. An Introduction to Real-Time Computing for Mechanical Engineers: A Lab-Based Approach. The MIT Press. 2024.

(KR) Any introduction to the C programming language. For example, Kernighan, B. W. and Ritchie, D. M., The C Programming Language. Prentice Hall, 2nd Ed. 1988.

(PH) Patterson, David A. and Hennessy, John L. Computer Organization and Design: The Hardware Software Interface ARM Edition. Morgan Kaufmann Publishers, 2016.

(RW) Derek Rowell and David N. Wormley. System Dynamics: An Introduction. Prentice Hall, 1997.

(Ni) Norman S. Nise. Control Systems Engineering. Seventh Edition. Wiley, 2015.

Companion Website and Lecture Videos

The book has a companion website that includes lecture videos: rtcbook.org. We will be using a “flipped-classroom” style for this course. Before coming to class, please watch the videos corresponding to the chapter of the book that appears on the schedule for that week.

Schedule

The following schedule is tentative.

day lectures/reading week due
Introduction to real-time and embedded computing
Syllabus
Course structure
1
Chapter 0 Getting Started (through 0.3) 2
Chapter 0 Getting Started 3 Lab 0
Chapter 1 Real-time computing fundamentals and programming the high-level user interface 4 Lab 1
Chapter 2 Efficient design and programming the midlevel User Interface 5 Lab 2
Chapter 3 Digital communication, signals, and programming the low-level user interface 6 Lab 3
Chapter 4 Motor control, finite-state machines, and waiting for real-time computing 7
Chapter 5 Real-time scheduling with threads and interrupts, digital circuits, and mechanical switches (through 5.4) 8 Lab 4
Chapter 5 Real-time scheduling with threads and interrupts, digital circuits, and mechanical switches 9 Lab 5
Chapter 6 Digital realization of dynamic systems (through 6.4) 10
Chapter 6 Digital realization of dynamic systems 11 Lab 6
Chapter 7 Closed-loop motor velocity control with a digital controller (through 7.4) 12
Chapter 7 Closed-loop motor velocity control with a digital controller 13 Lab 7
Chapter 8 PID Motor Position Control and Path Planning (through 8.4) 14
Chapter 8 PID Motor Position Control and Path Planning 15 Lab 8, Graduate Projects

Laboratory exercises and reports

For each laboratory exercise listed in the schedule, perform the following tasks.

Graduate student responsibilities

Graduate students have three additional responsibilities: (1) perform a literature search to understand an aspect of each laboratory exercise in greater depth; (2) as part of the introduction to each laboratory report (should be about a page in the standard format), summarize your research, citing least two academic sources; and (3) at the end of the semester, write a detailed research report on an application of embedded or real-time computing, focusing on the embedded or real-time computing aspect of the application.

Laboratory policies

A laboratory report will be due on Friday of the week it appears on the schedule. These reports will be submitted via Moodle and must be in accordance with the requirements provided here.

Laboratory procedures should be performed individually, although collaboration is encouraged. That is, discussions of how to accomplish aspects of the lab are great, but everyone should write their own code.

Laboratory reports should also be prepared individually.

Homework and report policies

Homework policies

When assigned, homework assignments should be submitted on Moodle by the due date that appears on the schedule.

Working in groups on homework is strongly encouraged, but work turned-in must be one’s own.

Report policies

See the report policies here.

Grading policies

Total grades in the course may be curved, but individual assignments will not be. They will be available on Moodle throughout the semester.

Assuming no exams are given, the grading breakdown is simple.

Lab Reports, Code, Assignments
100%

For graduate students, 10 percent of their grade will depend on their research report.

Academic integrity policy

Cheating or plagiarism of any kind is not tolerated and will result in a failing grade (“F”) in the course. I take this very seriously. Engineering is an academic and professional discipline that requires integrity. I expect students to consider their integrity of conduct to be their highest consideration with regard to the course material.

What is academic integrity? Saint Martin’s University is a community of faculty, students and staff engaged in the exchange of ideas in the ongoing pursuit of academic excellence. Essential to our mission is a focused commitment to scholarly values and intellectual integrity, and a respect for the ideas, beliefs and work of others. This commitment extends to all aspects of academic performance. All members are expected to abide by ethical standards both in their conduct and their exercise of responsibility to themselves and toward other members of the community. As an expression of our shared belief in the Benedictine tradition, we support the intellectual, social, emotional, physical and spiritual nurturing of students.

What is academic dishonesty? Saint Martin’s University defines academic dishonesty as violating the academic integrity of an assignment, test and/or evaluation of any coursework. This dishonest practice occurs when you seek to gain for yourself or another an academic advantage by deception or other dishonest means. You have a responsibility to understand the requirements that apply to particular assessments and to be aware of acceptable academic practice regarding the use of material prepared by others. Therefore, it is your responsibility to be familiar with the policies surrounding academic dishonesty as these may differ from other institutions.

Acceptable use of AI in coursework

Any use of technology that misleads a reviewer in assessing the student’s mastery of a specific set of skills or knowledge is a type of intellectual dishonesty, that is, a type of cheating. Students who are unsure about the appropriateness of using an artificial intelligence tool (or “AI”) should check with the instructor before using it. This includes the use of tools that generate text, images, video, code, and other works. If you are permitted by your instructor to use one or more AI tools in producing your work, you should disclose the use of that tool. You should say which tool you used and how you used it. Then if you use specific AI generated content (text, images, videos, audio, code, and so on) you should cite it in the style (APA, MLA, and so on) specified by your instructor.

Access and accommodations

Your experience in this class is important to me. If you have already established accommodations with Disability Support Services (DSS), please communicate your approved accommodations to me at your earliest convenience so we can discuss your needs in this course.

If you have not yet established services through DSS, but have a temporary health condition or permanent disability that requires accommodations (conditions include but are not limited to mental health, attention-related, learning, vision, hearing, physical or health impacts), you are welcome to contact DSS at 360-438-4580 or dss.testing@stmartin.edu or smu.dss@stmartin.edu. DSS offers resources and coordinates reasonable accommodations for students with disabilities and/or temporary health conditions. Reasonable accommodations are established through an interactive process between you, your instructor(s) and DSS. It is the policy and practice of the Saint Martin's University to create inclusive and accessible learning environments consistent with federal and state law.

Sexual misconduct/sexual harassment reporting

Saint Martin’s University is committed to providing an environment free from sex discrimination, including sexual harassment and sexual violence. There are Title IX/sexual harassment posters around campus that include the contact information for confidential reporting and formal reporting. Confidential reporting is where you can talk about incidents of sexual harassment and gender-based crimes including sexual assault, stalking, and domestic/relationship violence. This confidential resource can help you without having to report your situation to the formal reporting process through the Interim Dean of Students – Ms. Ann Adams MBA, Associate VP of Human Resources – Ms. Cynthia Johnson, Public Safety – Ms. Sharon Schnebly, or the Office of the Provost – Dr. Tanya Smith Brice, unless you request that they make a report. Please be aware that, in compliance with Title IX and under the Saint Martin’s University policies, educators must report incidents of sexual harassment and gender-based crimes including sexual assault, stalking, and domestic/relationship violence. If you disclose any of these situations in class, on papers, or to me personally, I am required to report it.

University sanctioned activities

If you are absent from class due to university-sanctioned activities, such as sports, it is your responsibility to request that the absence be excused; otherwise, the absence will be recorded as unexcused. Absent students are responsible for catching up with the class, and if any assignments are due on the day of the absence, it is your responsibility to turn in the assignments on time (prior to class). Assignments may be submitted as an attachment to an email.

Counseling and Wellness Center

There may be times, as a college student, when personal stressors interfere with your academic performance and your daily life. The Counseling and Wellness Center supports students by addressing mental and emotional well-being with FREE and confidential services. To schedule an appointment, call 360-412-6123 or email counselingcwc@stmartin.edu or stop by the CWC (1st floor St. Raphael Center).

If you would rather not go to the CWC or need support in the evenings and weekends, please consider using the TimelyCare app (timelycare.com/smusaints) to speak with a mental health provider, free, 24/7, from your phone or computer.

Religious Accommodation

Saint Martin's University, in honor of the sacredness of the individual, and being deeply rooted in the Catholic Benedictine tradition of higher education, values the many religious and spiritual practices of our campus community. Saint Martin's University supports our students in their ongoing journey of becoming. In compliance with Washington State Law RCW 28B.137.010, Saint Martin's University reasonably accommodates students for reasons of religious observances.

Center for Student Success

The Center for Student Success offers free academic services for all Saint Martin's students. The Center provides subject-area peer tutoring in science, technology, nursing, engineering, math, business, accounting, economics, world languages and other subjects. At the Writing Center, students meet with writing tutors to discuss their academic, personal, and professional writing. The Advising Center works with students on academic advising, connecting with campus support resources, transition and self-exploration guidance, personalized academic improvement plans, learning workshops, and support for changing majors. Disability Support Services is also located in the Center for any student with a disability who needs accommodations. For more information on the Center for Student Success, or to sign up for a tutoring, advising, or DSS meeting, see the website: stmartin.libcal.com/appointments.

Correlation of course & program outcomes

In keeping with the standards of the Department of Mechanical Engineering, each course is evaluated in terms of its desired outcomes and how these support the desired program outcomes. The following sections document the evaluation of this course.

Desired course outcomes

Upon completion of the course, the following course outcomes are desired:

  1. students will have a clear and thorough understanding of concepts, principles, and methods of embedded computing in electromechanical systems;
  2. students will understand basic computer architecture;
  3. students will understand basic C programming;
  4. students will be able to program an embedded computer;
  5. students will be able to design a basic feedback control system;
  6. students will be able to write a clear and thorough report of a laboratory exercise; and
  7. students will collaborate to complete laboratory exercises.

Desired program outcomes

In accordance with ABET’s student outcomes, our desired program outcomes are that mechanical engineering graduates have:

  1. an ability to identify, formulate, and solve complex engineering problems by applying principles of engineering, science, and mathematics
  2. an ability to apply engineering design to produce solutions that meet specified needs with consideration of public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors
  3. an ability to communicate effectively with a range of audiences
  4. an ability to recognize ethical and professional responsibilities in engineering situations and make informed judgments, which must consider the impact of engineering solutions in global, economic, environmental, and societal contexts
  5. an ability to function effectively on a team whose members together provide leadership, create a collaborative and inclusive environment, establish goals, plan tasks, and meet objectives
  6. an ability to develop and conduct appropriate experimentation, analyze and interpret data, and use engineering judgment to draw conclusions
  7. an ability to acquire and apply new knowledge as needed, using appropriate learning strategies.

Correlation of outcomes

The following table correlates the desired course outcomes with the desired program outcomes they support.

desired program outcomes
1 2 3 4 5 6 7
desired course outcomes 1