Instructor:
Assoc. Prof. Dr. Mehmet Bodur, office: CMPE216
e-mail: mehmet.bodur @ emu.edu.tr
Lab coordinator: TBA
Course Materials: Outline-PDF
Course Notes are available in LMS:
Ch-00-Preface
Ch-01-Introduction
Ch-02-Continuous Modeling
Ch-03-Discrete Modeling
Ch-04-Hybrid Modeling
Ch-07 Sensors and Actuators
Ch-08 Processors,
Ch-17 Security-Privacy
Design Project:
All materials will be distributed through LMS.
Design Teams
Sample Preliminary Project Reports
Technical Specs
SampleFinal Report
Some notes on Design Report Documentation
Labs:
- Lab-1 - speed-control-PDF
- Lab-2 - direction-control-PDF
- Lab-3 - Arduino-input-output-PDF
- Lab-4 - Arduino-Thermostat , Arduino-Cheatsheet
- Lab-5 - RasPi-PC-NodeRED-IoT
Announcements:
- Homeworks are expected to be uploaded on specified links.
- Quizzes are face to face, before the midterm, and before the final exam.
Catalog Description
Application areas, common characteristics, and challenges in embedded system design. Requirement specification, models of computation and modeling methods such as automata, and statecharts, data flow modeling. High-end Embedded Systems (HES) hardware, ASICs, processors, memories, communication, conversion between analog and digital inputs and outputs, sampling, and actuators, secure hardware. Embedded operating systems, general requirements, RTOS, virtual machines, real-time databases. IoT projects and implementation. Evaluation and validation, performance evaluation, energy and power models, simulation, rapid prototyping, emulation. Test, test pattern generation, evaluation of test patterns, design for testability. (prerequisites CMPE223/CMSE222).
Textbook(s)
Main Textbook
E.A. Lee and S.A. Seshia, (PDF) Introduction to Embedded Systems, A Cyber-Physical Systems Approach, 2Ed, MIT Press, 2017.
Indicative Basic Reading List
M. Bodur. Embedded Systems Design by Modeling and Simulation, Girne, 2023,
M. Bodur. Application Notes for Embedded Systems Design by Modeling and Simulation, Girne, 2023,
Ibrahim, Dogan, Advanced PIC microcontroller projects in C: From USB to RTOS with the PIC18F series, Newnes, Elsevier, 2008
Topics Covered and Class Schedule
(4 hours of lectures per week)
W 1 ( ) Trends in Embedded Systems Industry, application areas [Embedded Industry Survey]. Common challenges in High-end Embedded Systems (HES) design and applications [Ch0]
W 2 ( ) Importance of modeling the real world, and cyber world, for given requirement specifications [Ch1],
W 3 ( ) Modeling the continuous physical world: physical laws and constraints, kinematics, and dynamics, Signal flow diagrams. [Ch2] (quiz-1)
W 4 ( ) Discrete Systems Modeling, Discrete and Hybrid systems, automata, and statecharts [Ch3, Ch4].
W 5 ( ) Commons of HES Projects, Simulation, Emulation, and Rapid Prototyping, Sensors and Actuators, sampling, [Ch7].
W 6 ( ) HES hardware, communication, Input-Output Ports, analog, digital, and serial inputs and outputs, [Ch10],
W 7 ( ) Processors and Memory systems, RTOS, virtual machines, real-time databases [Ch8, Ch9]
W 8 ( ) (Midterm Exam)
W 9 ( ) IoT projects and implementation: NodeRED on Raspberry and on PC. Team project discussions (project introduction).
W10 ( ) Incremental Design, test, test pattern generation, evaluation of test patterns, design for testability (project design).
W11 ( ) Evaluation and validation: performance evaluation, energy and power models (project implementation),
W12 ( ) Security of Embedded Systems, Cryptographic, Symmetric, and Public Key encryption, Kerckhoff’s principle, Confidentiality, Integrity, Authenticity. Software Security, Attacker and Threat models, Security in Embedded Industry (Ch 17).
W13 ( ) Student Prototype Project Discussions, (project reporting)
W14 ( ) (Final Exam, Final revision of project reports)
Laboratory Schedule:
(2 hours of laboratory per week) for Arduino
W 3-4 ( ) Modeling of vehicle speed and speed control using Signal Flow Diagrams
W 5 ( ) Modeling of vehicle orientation and line tracking control using Signal Flow Diagrams
W 6 ( ) ESD application (Arduino), LED, button, and LCD display interfacing for low-end embedded system appl.
W 7 ( ) ESD application (Arduino or PIC), analog input interfacing (reading temperature by using a thermistor).
W 9 ( ) RPB2 LED, button and Serial port interfacing,
W 10 ( ) RPB2 building a web based dashboard for high-end applications,
W 11 ( ) Discussions on Team Projects -1,
W 12 ( ) Discussions on Team Projects -2
Course Learning Outcomes
Upon successful completion of the course, students are expected to have the following competencies
- Perform kinematic and dynamics modeling of simple physical systems for HES design (1).
- Know typical structure of a HES, and use simple digital i/o ports in C (1).
- Know analog, digital and hybrid approaches, and use a typical AD converter of a HES (1).
- Know typical control, and monitoring approaches for High End Embedded Systems (HES) (1).
- Know common cyber modeling tools and methods, and apply FSM techniques on HES (1).
- Know common principles of IoT systems, and apply them on an IoT platform (1).
- Analyse technical requirements and design a HES using indicators, displays, sensors and actors (1).
- Analyse and comment on ethical social and environmental responsibilities of an embedded system design (4).
- Practice an embedded system preliminary design starting from technical requirements (2).
- Practice an embedded system design in teams including its tests (5).
- Prepare a team design report to document hardware/software development of a HES, including its tests (6).
Assessment
Method | | Percentage |
Labs | | 10%
|
Quiz, and Homework
| | 15%
|
Midterm Exam
|
| 20%
|
Design Project
| | 25%
|
Final Examination
|
| 30%
|
Quiz and HW grading: Unscheduled 10-min Pop Quizzes at the end of the lecture hours. Two home works before midterm and before final. Reading home-works, and small project-home works related to details of the calculations for HLES design.
Lab grading: Six labs (0.5p each), reports of labs (0.5p each), and hardware implementation (about 4p). Missing more than 2 labs resets lab grade.
Policy on makeups: For eligibility to take a makeup exam, the student should bring a valid excuse (medical report) within 3 working days of the missed exam. No make-up exam for quizzes. Final and midterm make-up exams are conducted after final exam. Students may get NG if they miss both midterm and final exam.
Policy on cheating and plagiarism: Any student caught cheating at the exams or assignments will automatically fail the course and may be sent to the disciplinary committee at the discretion of the instructor.
Updated by: Assoc. Prof. Dr. Mehmet Bodur Update Date: 19.04.2019 and 28.08.2021
Contribution of Course to ABET Criterion 5
Credit Hours for:
Mathematics & Basic Science : 0
Engineering Sciences and Design : 4
General Education : 0
Relationship of the course to Program Outcomes
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
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
Prepared by: Assoc. Prof. Dr. Mehmet Bodur
Date Prepared: 19 April 2019 Updated: 19.04.2019, 28.08.2021, 19.08.2023, and 10.09.2023