Bare-Metal Implementation of a Real-Time Distributed Control System Using CAN

dc.contributor.authorOlsson, Anton
dc.contributor.authorSjöberg, Robert
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerLarsson-Edefors, Per
dc.contributor.supervisorJonsson, Jan
dc.date.accessioned2022-11-29T13:42:17Z
dc.date.available2022-11-29T13:42:17Z
dc.date.issued2022
dc.date.submitted2020
dc.description.abstractDistributed control systems consisting of several nodes connected via CAN bus are commonplace in many industrial and automotive settings. These systems often require real-time capabilities and generally utilize a real-time operating system (RTOS) in the nodes to achieve this. This thesis work explored the feasibility of developing a bare-metal implementation based on a previous RTOS implementation. Additionally, we explored any real-time performance advantages of the bare-metal implementation and if there were any compatibility issues in combining bare-metal nodes with RTOS nodes. The thesis work was conducted on a model car with several nodes with specific functions connected via a CAN bus. A node tasked with braking was converted from using an RTOS to a bare-metal implementation. The brake node was tested through a reproducible simulated test run using two different scheduling approaches. It was found that a bare-metal implementation using interrupts produced a more predictable jitter. Faster execution times were also observed due to faster driver implementation. Finally, no issues in combining nodes with different implementations were found. In conclusion, a bare-metal implementation could be beneficial in some applications with low complexity that require a small performance improvement or less jitter.
dc.identifier.coursecodeDATX05
dc.identifier.urihttps://odr.chalmers.se/handle/20.500.12380/305837
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectController Area Network
dc.subjectBare-metal
dc.subjectReal-time operating system
dc.titleBare-Metal Implementation of a Real-Time Distributed Control System Using CAN
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeEmbedded electronic system design (MPEES), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 22-55 Olsson Sjöberg.pdf
Storlek:
18.97 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
1.64 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: