Learning objectives
The course aims at providing knowledge about the development of embedded systems for industrial electronics applications. The main focus lays in the firmware. The course will provide the ability to:
* identify requirements of industrial electronics systems;
* design and test embedded code
* know embedded architectures at a detailed level;
* use tools to support automatic testing and synthesis of embedded code.
Prerequisites
Power Circuits and Systems, Elettronica dei Sistemi Embedded, Architettura dei Sistemi Digitali, Laboratorio Matlab per l’elettronica.
Course unit content
Analysis, design and development of embedded systems for the industrial environment, mainly from the software point of view.
Full programme
Course introduction (3 hours)
* Motivation
* Embedded hardware for IE
* Course logistics
Software engineering (6 hours)
* Abstraction levels and system partitioning
* V-model
* The building system
o Preprocessor
o Compiler
o Linker
o Optimizer
o Makefiles
* Testing
o Unit testing
o Static code analysis
o Code coverage
* Documentation
Version Control Systems (VCSs) (3 hours)
* Centralized VCSs (SVN)
* Distributed VCSs (GIT)
* Versioning
* Branch/tag
* Merge and lock
Standards (3 hours)
* Coding standards
* Safety standards
* Automotive standards
* IOS/OSI model
Communication protocols (3 hours)
* ModBus
* CANopen
* J1939
* USB
* EtherCAT
Real-Time Tasks (3 hours)
* RTOS
* Drivers
* Middleware
* Interrupt management
Real-Time computation (9 hours)
* Numerical analysis
* Recurring execution
* State machines
* Benchmarking
MATLAB for Emdedded programming (9 hours)
* Fitting and interpolation
* Optimization
* Unit testing and "automatic" test-benches
* Model-based design
* System validation with MIL/SIL/PIL/HIL
Complementary topics (6 hours)
* Watchdog
* Semaphores and locks
* Memory management
* Error management
Bootloader (3 hours)
* Levels and stages
* Memory requirements
* Interrupt vector rewriting
* OpenBLT example
* Native bootloader examples
Bibliography
Lecture notes, standards and documentation of the software used.
Teaching methods
The course is delivered in lectures 3-hour long, up to the total of 48 hours. Each lecture is supported by slides shared on Elly before each lecture. The topics are of theoretical nature and case studies of real-world systems.
Assessment methods and criteria
Oral examination on the concepts of Model-based design and other techniques for the development of embedded systems in industrial electronics.
Other information
- - -
2030 agenda goals for sustainable development
- - -