
- 6 ECTS
- 2nd Semester
- Exam: Optional
Feedback
6 months ago
I really liked the course as it covered a lot of interesting topics for embedded programming. The project is 100% of the grade and it is time consuming, but you learn a lot. Prof Bernardino is very good and explains everything in the theoretical classes. This is a good, albeit heavy, class to take.
7 months ago
Essential class for those who want an introduction to embedded programming. The professor is really professional and very understanding. Overall, the syllabus is really complete (communication protocols, distributed systems, cooperative algorithms etc) but unfortunately I fear it's too much for 7 weeks. 100% Should be a semester class. Evaluation is a cool project about controlling light intensity in a room using CAN protocol and RTOS (optional). The first 3 weeks are individual, and the last 3 are a group project (be careful about who you choose)... Slides are good overall, although one needs to extend it's reading online to get a good grip on the course contents. Would prefer 2 2h classes instead of 4 1h ones. Overall, do recommend, learned a lot of things I actually have been using.
9 months ago
last year
Project based. Very cool project if you are into embedded systems programming. Project was about writting a control system from scrach in a raspberry pico pi.
9 months ago
About the course
Objectives
The purpose of this course is introduce the concepts and tools needed for the design, analysis and implementation of real time control systems in distributed environments, namely: 1) the different components, architectures and types of distributed control systems 2) ways of modelling and formulating control problems in a distributed paradigm, 3) tools to implement distributed real time control system solutions based on PC's and microcontrollers using the C++ programming language. The gained knowledge will be developed through the execution of a practical project on a real-time distributed control system, where the students have to assemble the control network devices, model the system, formulate the control objectives, develop controllers, distribute computation among the different nodes, coordinate the communications between nodes, plan experiments to compare different control approaches, and acquire data to report results.
Syllabus
During the course the following topics will be addressed: 1) Introduction to real time distributed control systems: definitions, architectures and types. Hardware for control, computation and communications in real-time distributed control systems. 2) The C++ programming language. Programming microcontrollers with computational and memory constraints. 3) Introduction to computer- controlled systems. Feedforward and Feedback controllers. PID controllers, anti-windup and velocity algorithms. Discretization of continuous time controllers. 4) Communications for real-time control. Local control networks. Examples of real time networks in control and automation, e.g. the CAN BUS. 5) Programming multitask and concurrent systems in real-time. 6) Formulation of optimal control problems. 7) Some coordination and optimization algorithms in Distributed Control Systems: e.g. feedforward from accessible disturbances and the consensus algorithm.
Prerequisites
Recommended - Control Theory, Computer Architecture, The C Programming Language. Optional - Algorithms, Optimization, Communication Networks, Systems Programming
Cross Competence Component
This is a project-based course, with a strong component of soft skills, namely all the skills developed in group work. During the lab sessions there are regular oral progress presentations with immediate feedback for improvements. There are two project demonstrations during the period, with time limit, where the time management and oral presentation skills are developed. There is a written report in the end of the project, whose structure is suggested, so they can develop more directly the written expression skills. The Technical Report is authored by all elements of the group with an explicit indication of the role of each student in the report. This component corresponds to 10%of the grade
Laboratorial Component
The laboratory sessions serve to support students in the execution of the project. During the lab sessions the students will receive information and guidance to: i) assemble the project experimental setup, ii) get acquainted to the software and hardware tools for real-time systems, iii) learn programming and debugging skills in real-time concurrent systems, iv) interface microcontroller with sensors, actuators, communication devices and PC's, v) program controller area networks, and vi) acquire data for monitoring and diagnosis.
Ethical Principles
All members of a group are responsible for the group’s work In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.
Something missing or out of date?
Assessment
50% continuous evaluation / 50% non-continuous evaluation
Has the assessment changed, or is something missing?
Bibliography
Main Bibliography
- Real-Time Computer Control, An Introduction: Stuart Bennett 1994 Prentice Hall,(2nd Edition)
- Digital Control of Dynamic Systems: Gene F. Franklin, J.David Powell, Michael L. Workman 1997 Addison Wesley (3rd Edition)
- The C++ Programming Language : Bjarne Stroustrup 2013 Addison Wesley Professional (4th Edition).
- Principles of Concurrent and Distributed Programming: M. Ben-Ari 2005 Addison-Wesley (2nd Edition).
- Slides ds aulas teóricas , renovados anualmente e disponibilizados na página web da disciplina: (acessíveis na página-web da disciplina)
- Fieldbus and Networking in Process Automation: S. K. Sen 0 CRC Press
Optional Bibliography
- Computer-Controlled Systems: Theory and Design: K. J. Astrom, B. Wittenmark, 1996 Prentice Hall (3rd Edition)
- Data.Communications, Computer Networks and Open Systems: Fred Halsall 1996 Addison Wesley, (4th Edition)
Missing a book or some materials?