htw saar
Back to Main Page

Choose Module Version:


Embedded Programming

Module name (EN): Embedded Programming
Degree programme: Automotive Engineering, Master, ASPO 01.04.2021
Module code: FTM-HPRG
SAP-Submodule-No.: P242-0108, P242-0109
Hours per semester week / Teaching method: 3V+1U+1P (5 hours per week)
ECTS credits: 6
Semester: 1
Mandatory course: yes
Language of instruction:
Programming exercises as written exam (120 min)

[updated 25.05.2021]
Applicability / Curricular relevance:
FTM-HPRG (P242-0108, P242-0109) Automotive Engineering, Master, ASPO 01.04.2021, semester 1, mandatory course
FTM-HPRG (P242-0108, P242-0109) Automotive Engineering, Master, ASPO 01.04.2023, semester 1, mandatory course
75 class hours (= 56.25 clock hours) over a 15-week period.
The total student study time is 180 hours (equivalent to 6 ECTS credits).
There are therefore 123.75 hours available for class preparation and follow-up work and exam preparation.
Recommended prerequisites (modules):
Recommended as prerequisite for:

[updated 31.05.2022]
Module coordinator:
Prof. Dr. Hans-Werner Groh
Prof. Dr. Hans-Werner Groh

[updated 31.05.2022]
Learning outcomes:
After successfully completing this module, students will understand how microcontrollers operate and will thus, be able to integrate them into control and regulation processes.
They will be able to independently learn specific functions of unknown microcontrollers by working with the corresponding data sheets.
- They will have mastered the C programming language to create algorithms and thus, be able to solve existing technical problems when using microcontrollers.
- Students will be able to abstract practical problems to the point where they can replicate real-world problems on emulators.
- They will be able to program microcontrollers quickly and efficiently using graphical interfaces.
- How microcontrollers work, especially I/O, registers, and interfaces. Using processor data sheets to initialize controller functions.

[updated 25.05.2021]
Module content:
- Advanced knowledge of the programming language C, especially control structures, functions, pointers and declarations.
- How a compiler works and how compiler results are represented in Assembler code.
- Special hardware-specific programming methods and requirements such as fixed-point arithmetic, code efficiency, offloading to hardware functions, interrupt control and fail safety.
- Methods for meeting real-time requirements such as interrupt handling of fast external events, programming time-deterministic routines such as controllers, filters.
- Ways to integrate microcontroller hardware into an engineering process:
Signal conditioning for sensors, controlling actuators (power electronics), and recording and displaying process variables.
  Based on this, the use of C-programmed algorithms for processing various I/O signals.
- Ways to automatically generate code from Matlab/Simulink for Dspace and Arduino hardware to create control systems.
- Purpose and systematics of hardware-in-the-loop simulations.
Creating emulators for use in a HiL environment.
- Applying what was learned in a larger project at the end of the semester in preparation for a practical exam.

[updated 25.05.2021]
Teaching methods/Media:
- Lecture with corresponding programming exercises
- Term paper as final project

[updated 25.05.2021]
Recommended or required reading:
- Data sheets for the processors and evaluation boards used (Arduino)
- User manuals of the HiL systems used (dSPACE)

[updated 25.05.2021]
[Wed Sep 28 23:42:59 CEST 2022, CKEY=fhp, BKEY=ftm, CID=FTM-HPRG, LANGUAGE=en, DATE=28.09.2022]