Software implemented fault injection for AUTOSAR based systems

Typ
Examensarbete för masterexamen
Master Thesis
Program
Publicerad
2012
Författare
Haraldsson, Johan
Thorvaldsson, Sigurjon
Modellbyggare
Tidskriftstitel
ISSN
Volymtitel
Utgivare
Sammanfattning
This master’s thesis describes the design and implementation of a software implemented fault injection tool, which can be used to perform robustness testing on application software components in embedded systems based on the AUTOSAR standard architecture. The thesis analyses the AUTOSAR standard in order to identify mechanisms, which can be used at run-time in order to inject faults. Three techniques are identified: the use of wrappers, the use of trace hooks and modification of the run-time environment. The wrapper technique was found to be most suitable and therefore implemented in a prototype fault injection tool. The fault injection tool is evaluated on two applications. The first application is a calculator application residing on a single electronic control unit, and the second application is a brake-by-wire system distributed over several electronic control units. The validation shows that the tool is successful in injecting faults into the interfaces of application software components, and that it can emulate hardware faults by causing the same reactions in the brake-by-wire system as an open circuit fault. Furthermore, it shows that it is possible to automate the wrapper generation by processing AUTOSAR XML configuration files and that an AUTOSAR complex device driver component can be efficiently utilised as an embedded fault injection controller in order to achieve performance, low intrusion and portability.
Beskrivning
Ämne/nyckelord
Data- och informationsvetenskap , Computer and Information Science
Citation
Arkitekt (konstruktör)
Geografisk plats
Byggnad (typ)
Byggår
Modelltyp
Skala
Teknik / material
Index