CMSE423 - Embedded System Design


Assoc. Prof. Dr. Mehmet Bodur, office: CMPE111
e-mail: mehmet.bodur @

Lab coordinator: 

Mohammad Rezania, office: CMPE101
e-mail: mohammad.rezania @

Course Materials: Outline-PDF

Ch-00-Preface Slides-PDFSurvey-PDFNotes-PDF,  
Ch-01-Introduction Slides-PDF, Notes-PDF
Ch-02-Continuous Modeling Slides-PDF, Notes-PDF
Ch-03-Discrete Modeling Slides-PDF, Notes-PDF
Ch-04-Hybrid Modeling Slides-PDF, Notes-PDF
Ch-07 Sensors and Actuators Slides-PDFNotes-PDF,
Ch-08 Processors, Slides-PDF
Ch-08-09 Homework for Quiz-2 (Quiz will be on Jan-04 at the Labs
         Please return the HW via teams assignment
Ch-17 Security-Privacy PDF
Sample Final Exam Questions (PDF)  New

Design Project

Design Teams Member Lists (PDF), 
Sample Preliminary Project Reports (for last years topic) PPR1, PPR2 New
Newborn Infant Incubator Technical Specs (PDF)
   Appendix  BMJ paper on Infant Incubators (PDF)
   Appendix  Digiterm Project Report (PDF)
   Appendix  Digiterm testG-Prosis Project file (pdsprj)
Sample of Design Project Final Report (PDF)
Some notes on Design Report Documentation (PDF)
A paper on rapid prototyping (PDF)



- Here is the upload link for HW12347. Due date is 12-Nov until 12.30. Late due 26-Nov until 12.30.
- Quiz is face to face on Tuesday, 16-Nov, 30 min, 5 questions at the Lab hour, in the Labs.

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). 


 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. Course Notes, Design Sample of Previous Semesters,
  Ibrahim, Dogan, Advanced PIC microcontroller projects in C: From USB to RTOS with the PIC18F series, Newnes, Elsevier, 2008
  John B. Peatman, Embedded Design with the PIC18F452 Microcontroller, Pearson Education, 2003

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

  1. Perform kinematic and dynamics modeling of simple physical systems for HES design (1).
  2. Know typical structure of a HES, and use simple digital i/o ports in C (1).
  3. Know analog, digital and hybrid approaches, and use a typical AD converter of a HES (1).
  4. Know typical control, and monitoring approaches for High End Embedded Systems (HES)  (1).
  5. Know common cyber modeling tools and methods, and apply FSM techniques on HES (1).
  6. Know common principles of IoT systems, and apply them on an IoT platform (1).
  7. Analyse technical requirements and design a HES using indicators, displays, sensors and actors (1).
  8. Analyse and comment on ethical social and environmental responsibilities of an embedded system design (4).
  9. Practice an embedded system preliminary design starting from technical requirements (2).
  10. Practice an embedded system design in teams including its tests (5).
  11. Prepare a team design report to document hardware/software development of a HES, including its tests (6).


Method Percentage
Labs 10%
Quiz, and Homework
Midterm Exam
Design Project
Final Examination

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 and 28.08.2021