Politecnico di Torino (logo)

EVduino - an Arduino-like Open Source Vehicle Management Unit

Stefano Loreti

EVduino - an Arduino-like Open Source Vehicle Management Unit.

Rel. Stefano Carabelli, Massimo Violante. Politecnico di Torino, Corso di laurea magistrale in Mechatronic Engineering (Ingegneria Meccatronica), 2022

PDF (Tesi_di_laurea) - Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (633kB) | Preview

Nowadays the usage of embedded systems is widespread. They find applications in every aspect of our life. The most famous embedded system in consumer electronics is Arduino because it is open-source, easy to program and with extendable functionalities thanks to hardware components called “shields”. This work of thesis aims at developing and providing an Arduino-like baseline software for a custom board provided by Ideas&Motion (I&M), called EVduino, equipped with an Infineon Tricore. This control unit is Arduino-like also from a hardware point of view, with the possibility to attach shields, and is intended for the Automotive field. EVduino overcomes Arduino thanks to the possibility to define more than one task, making them run concurrently with a rate monotonic scheduling. This is possible through a Real-Time Operating System, Erika Enterprise RTOS, which is OSEK-compliant and open source. The first part of this project shows how to write an application code by hand and how to build and debug it on the hardware, exploiting HighTec as IDE. At this purpose a collection of Arduino-like functions was created to facilitate the user programming the main peripherals. The second part shows how to generate the code for EVduino with a model-based approach, using Simulink as modelling tool. At this purpose a Simulink library was created through MATLAB Legacy Code Tool, starting from the functions edited for the first part. This is a very powerful tool because it allows software testing and validation, and the automatic generation of code make it possible to avoid manual errors. For these reasons, this approach is particularly exploited in the automotive field where a high level of software reliability is required for safety reasons. Some tutorials are also provided to support the user along all the procedure. To conclude, automotive applications, which are in general really complex, could become easy like playing with an Arduino.

Relators: Stefano Carabelli, Massimo Violante
Academic year: 2021/22
Publication type: Electronic
Number of Pages: 13
Corso di laurea: Corso di laurea magistrale in Mechatronic Engineering (Ingegneria Meccatronica)
Classe di laurea: New organization > Master science > LM-25 - AUTOMATION ENGINEERING
Aziende collaboratrici: ITALTECNICA srl
URI: http://webthesis.biblio.polito.it/id/eprint/22768
Modify record (reserved for operators) Modify record (reserved for operators)