Continued integration of simulated vehicle model for software verification in CANoe and Simulink

This Master’s thesis investigates if a previously integrated Simulink based vehicle model works for testing and verifying software on an ECU (electronic control unit) used to control a four-wheel drive coupling in cars. The testing is done through a specific program called CANoe that allows the test...

Full description

Bibliographic Details
Main Author: Persson, Johan
Format: Other/Unknown Material
Language:English
Published: Lunds universitet/Industriell elektroteknik och automation 2020
Subjects:
CAN
Online Access:http://lup.lub.lu.se/student-papers/record/9022617
Description
Summary:This Master’s thesis investigates if a previously integrated Simulink based vehicle model works for testing and verifying software on an ECU (electronic control unit) used to control a four-wheel drive coupling in cars. The testing is done through a specific program called CANoe that allows the tester to both develop and run test cases. This work also investigates the possibility to use static evaluation requirements in a dynamic model. Static evaluation means that different vehicle parameters are set to a certain value, and the answer generated from the software is checked with a predetermined value. The simulated model is dynamic, which means that by setting one vehicle parameter to a specific value might change the value of another parameter. By using a simulated vehicle instead of a real one it is possible to get a good estimation of how the product will fare to a fraction of the cost. The investigation showed that the model was working as intended, and that using static evaluation requirements is possible but not optimal compared to dynamic requirements. This thesis was done at TVR-SW (software verification) department at BorgWarner in Landskrona, Sweden. Vad har en simulerad modell av ett fordon och en sportbil med 500 hästkrafter som körs på en frusen sjö i norra Sverige gemensamt? Jo, båda används eller kan användas till att testa den mjukvara som styr BorgWarners fyrhjulsdriftkopplingar. Genom att använda en simulerad bil och specialutvecklade testfall kan mjukvaran testas i alla tänkbara miljöer utan att behöva skeppa runt en riktig bil, även om det kan vara kul att köra sportbil på is.