Among the many regulations concerning transportation there is the CEI 79-56. It is an Italian regulation describing functional requirements for “black box” systems. These systems are commonly used to log information from onboard vehicle sensors. This regulation is of particular interest for Multiprotexion, an Italian company, specialized in security of road transport vehicles and their cargo. This work fits into a larger project being developed at Multiprotexion, to make a specific control unit adhere to this regulation. The control unit features a pre-installed Linux kernel that was heavily modified. The aim of this thesis was to modify the existing device driver for the lis3dh accelerometer, mounted on the board. Is required by the regulation to add support for faster sampling rate and enough space to hold at least 20 seconds of samples. To reach this goal a few techniques are used; memory mapping to reduce overhead in data transfer and high precision timers for an accurate periodic sampling.
Implementazione della norma CEI 79-56 in spazio kernel. Tra le tante norme sui trasporti esiste la CEI 79-56. La CEI 79-56 e' una norma Italiana che descrive i requisiti funzionali di tipo "Black Box". Multiprotexion, una societa' italiana nel settore della sicurezza di mezzi di trasporto su strada, e' interessata a rendere un'unita' di controllo in loro possesso in regola con la normativa CEI 79-56. L'unita' di controllo e' una scheda su cui e' installato un vecchio kernel Linux. In questo progetto di tesi avevamo il compito di modificare l'esistente device driver per l'accelerometro lis3dh, montato sulla scheda, per ottenere i requisiti descritti nella norma sulla frequenza di campionamento e salvataggio dei dati.
Implementation of the CEI 79-56 Regulation in Kernel Space
CARNIGLIA, GIUSEPPE
2020/2021
Abstract
Among the many regulations concerning transportation there is the CEI 79-56. It is an Italian regulation describing functional requirements for “black box” systems. These systems are commonly used to log information from onboard vehicle sensors. This regulation is of particular interest for Multiprotexion, an Italian company, specialized in security of road transport vehicles and their cargo. This work fits into a larger project being developed at Multiprotexion, to make a specific control unit adhere to this regulation. The control unit features a pre-installed Linux kernel that was heavily modified. The aim of this thesis was to modify the existing device driver for the lis3dh accelerometer, mounted on the board. Is required by the regulation to add support for faster sampling rate and enough space to hold at least 20 seconds of samples. To reach this goal a few techniques are used; memory mapping to reduce overhead in data transfer and high precision timers for an accurate periodic sampling.È consentito all'utente scaricare e condividere i documenti disponibili a testo pieno in UNITESI UNIPV nel rispetto della licenza Creative Commons del tipo CC BY NC ND.
Per maggiori informazioni e per verifiche sull'eventuale disponibilità del file scrivere a: unitesi@unipv.it.
https://hdl.handle.net/20.500.14239/14287