htw saar QR-encoded URL
Back to Main Page Choose Module Version:
emphasize objectives XML-Code

flag


Embedded Programming

Module name (EN):
Name of module in study programme. It should be precise and clear.
Embedded Programming
Degree programme:
Study Programme with validity of corresponding study regulations containing this module.
Automotive Engineering, Master, ASPO 01.04.2021
Module code: FTM-HPRG
SAP-Submodule-No.:
The exam administration creates a SAP-Submodule-No for every exam type in every module. The SAP-Submodule-No is equal for the same module in different study programs.
P242-0108, P242-0109, P242-0121
Hours per semester week / Teaching method:
The count of hours per week is a combination of lecture (V for German Vorlesung), exercise (U for Übung), practice (P) oder project (PA). For example a course of the form 2V+2U has 2 hours of lecture and 2 hours of exercise per week.
3V+1U+1P (5 hours per week)
ECTS credits:
European Credit Transfer System. Points for successful completion of a course. Each ECTS point represents a workload of 30 hours.
6
Semester: 1
Mandatory course: yes
Language of instruction:
German
Assessment:
Written exam (programming exercises) 180 min.

[updated 04.09.2023]
Applicability / Curricular relevance:
All study programs (with year of the version of study regulations) containing the course.

FTM-HPRG (P242-0108, P242-0109, P242-0121) Automotive Engineering, Master, ASPO 01.04.2021 , semester 1, mandatory course
FTM-HPRG (P242-0108, P242-0109, P242-0121) Automotive Engineering, Master, ASPO 01.04.2023 , semester 1, mandatory course
Workload:
Workload of student for successfully completing the course. Each ECTS credit represents 30 working hours. These are the combined effort of face-to-face time, post-processing the subject of the lecture, exercises and preparation for the exam.

The total workload is distributed on the semester (01.04.-30.09. during the summer term, 01.10.-31.03. during the winter term).
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):
None.
Recommended as prerequisite for:
FTM-PAEF The Programming and Application of Electrical Vehicle Systems


[updated 31.05.2022]
Module coordinator:
Prof. Dr. Hans-Werner Groh
Lecturer:
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.
 
- They 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.
 


[updated 04.09.2023]
Module content:
- The way microcontrollers work, especially I/O, registers, and interfaces. Using processor data sheets to initialize controller functions.
 
- Advanced knowledge of the C programming language, especially control structures, functions, pointers and declarations.
- The way 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 a technical process: sensor signal conditioning, actuator control (power electronics), as well as recording and showing 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 04.09.2023]
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 Apr 24 11:08:19 CEST 2024, CKEY=fhp, BKEY=ftm, CID=FTM-HPRG, LANGUAGE=en, DATE=24.04.2024]