polito.it
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

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

Download (633kB) | Preview
Abstract:

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.

Relatori: Stefano Carabelli, Massimo Violante
Anno accademico: 2021/22
Tipo di pubblicazione: Elettronica
Numero di pagine: 13
Soggetti:
Corso di laurea: Corso di laurea magistrale in Mechatronic Engineering (Ingegneria Meccatronica)
Classe di laurea: Nuovo ordinamento > Laurea magistrale > LM-25 - INGEGNERIA DELL'AUTOMAZIONE
Aziende collaboratrici: ITALTECNICA srl
URI: http://webthesis.biblio.polito.it/id/eprint/22768
Modifica (riservato agli operatori) Modifica (riservato agli operatori)