Change search
ReferencesLink to record
Permanent link

Direct link
Automatic Test Assessment and Verdict Generation by CAN Monitoring
KTH, School of Industrial Engineering and Management (ITM), Machine Design (Dept.).
2016 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Automatisk testbedomning och utfallsgenerering genom CAN-overvakning (Swedish)
Abstract [en]

In this thesis the author presents an investigation on how to automate and streamline in-vehicle testing by developing a novel automated in-vehicle testing tool. The developed software architecture aims to reduce the amount of manual labor in order to decrease the time necessary to perform the manual in-vehicle tests. This is realized by a software tool with a client-server architecture, where the server monitors the Controller Area Network (CAN) traffic on one of the vehicle's CAN buses and the clients are test steps to be performed on the System Under Test (SUT). The test steps can be written in the Python programming language and bolted on individually. Through the use of Independent Guarded Assertions (IGAs) multiple tests are allowed to execute continuously and in parallel.

The thesis, written at Scania CV AB, investigates the field of automotive testing by literature study, to identify the State Of The Art (SOTA) in the field; interviews, to capture the Scania CV AB's needs and requirements; and a case study, to verify and analyze the implemented testing tool. The result of the literature study shows that there already exist many possible solutions, but they focus mostly on virtual environments and software based systems, thus not directly compatible with the invehicle environment. From the interviews a number of requirements are identified, both regarding tool functionality and safety related aspects e.g. intrusiveness of in-vehicle tools. Results from the case study shows that the in-vehicle testing environment is more intricate than initially perceived, both in terms of the factors that dictates the time necessary to perform it and technical complexity.

In conclusion, this thesis shows that there is a great potential to improve the manual in-vehicle testing by adding more automated support and tools. It is also evident that the execution time is not the only prospect that can be positively affected. Reproducibility, formal test specifications, and the possibility to produce richer test cases are some of the advantages discovered.

Abstract [sv]


I det har examensarbetet, pa mastersniva, undersoker forfattaren hur det ar mojligt att automatisera och effektivisera fordonstest genom att ta fram ett nytt automatiserat fordonstestningsverktyg. Den utvecklade mjukvaruarkitekturen siktar pa att reducera mangden manuellt arbete for att minska tiden som kravs for att utfora de manuella fordonstesterna. Detta ar forverkligat med ett mjukvaruverktyg byggt pa en klient serverarkitektur dar servern overvakar Controller Area Network (CAN) traffiken pa en av fordonets CAN-bus och klienterna ar teststeg som ska utforas pa Systemet Under Test (SUT). Teststegen kan skrivas i programmeringsspraket Python och hakas pa individuellt. Genom att anvanda Independent Guarded Assertions (IGAs) mojliggors flera tester att exekvera kontinuerligt och parallellt.

Examensarbetet, utfort pa Scania CV AB, undersoker fordonstestomradet genom en litteraturstudie, for att identifiera de senaste ronen inom omradet; intervjuer, for att fangaScania CV ABs behov och krav; och en fallstudie, for att verifiera och analysera det implementerade testverktyget. Resultatet fran litteraturstudien visar att det redan finns manga mojliga losningar, men de fokuserar mestadels pa virtuella miljoer och mjukvarubaserade system, vilket inte ar direkt kompatibelt med fordonstestmiljon. Fran intervjuerna identifierades ett antal krav som beror bade funktionalitets- och sakerhetsrelaterade aspekter, till exempel distraktionsgraden av fordonstestverktyg. Resultat fran fallstudien visar pa att fordonstestmiljon ar mer invecklad an forvantat, bade vad galler de faktorer som paverkar tiden det tar att utfora fordonstesterna och den tekniska komplexiteten.

Som slutsats visar examensarbetet att det finns en stor potential att forbattra manuella fordonstester genom att tillfora mer automatiserade verktyg. Det ar ocksa tydligt att det inte bara ar tiden det tar att exekvera test som kan paverkas positivt. Reproducerbarhet, formella testspecifikationer och mojligheten att skara mer uttrycksfulla testfall ar nagra fordelar som upptackts.

Place, publisher, year, edition, pages
2016. , 68 p.
, MMK 2016:113 MDA 557
National Category
Mechanical Engineering
URN: urn:nbn:se:kth:diva-192306OAI: diva2:967584
External cooperation
Scania CV AB
Available from: 2016-09-09 Created: 2016-09-09 Last updated: 2016-09-09Bibliographically approved

Open Access in DiVA

fulltext(2334 kB)4 downloads
File information
File name FULLTEXT01.pdfFile size 2334 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
Machine Design (Dept.)
Mechanical Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 4 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 20 hits
ReferencesLink to record
Permanent link

Direct link