Automated Methodology for Testing and Self-Diagnostics of Hardware-In-the-Loop Rigs
(2026) In CODEN:LUTEDX/TEIE EIEL05 20261Division for Industrial Electrical Engineering and Automation
- Abstract
- Reliable Hardware-In-the-Loop (HIL) testing is essential for ensuring quality and reliability of Electronic Control Units (ECUs) in the automotive industry. However, the validity of test results is strongly dependent on correct operation of the HIL rig itself. Faults within the rig can lead to misleading results, unnecessary troubleshooting times and increased development time.
The purpose of this thesis was to investigate the critical parts of HIL rigs and develop a systematic and automated test methodology for verifying that the HIL rigs operate correctly and consistently each time.
Several test cases were developed, including a voltage sweep test for verifying voltage supply behaviour, as well as verification of relay behaviour... (More) - Reliable Hardware-In-the-Loop (HIL) testing is essential for ensuring quality and reliability of Electronic Control Units (ECUs) in the automotive industry. However, the validity of test results is strongly dependent on correct operation of the HIL rig itself. Faults within the rig can lead to misleading results, unnecessary troubleshooting times and increased development time.
The purpose of this thesis was to investigate the critical parts of HIL rigs and develop a systematic and automated test methodology for verifying that the HIL rigs operate correctly and consistently each time.
Several test cases were developed, including a voltage sweep test for verifying voltage supply behaviour, as well as verification of relay behaviour for fault injection units. These tests were designed to verify the functionality of different subsystems of the HIL rigs and give clear feedback if deviations are detected. In addition to pass/fail results, structured troubleshooting guides were constructed to provide systematic fault tracing if any problems arise.
The results demonstrate that the developed methodology can reliably verify key subsystems of the HIL rigs and provide clear pass/fail evaluation with associated troubleshooting guides in the form of flowcharts. The methodology is also designed to be integrated into a CI/CD pipeline, where it can function as a pre-check to ensure that the test environment is stable before executing project-specific tests.
Although the current implementation is limited by hardware accessibility and system observability, the developed methodology provides a scalable foundation for further development and integration into continuous validation of HIL rigs. (Less) - Abstract (Swedish)
- Tillförlitlig Hardware-In-the-Loop-testning (HIL-testning) är avgörande för att säkerställa kvaliteten hos elektroniska styrenheter (ECU:er) inom fordonsindustrin. Samtidigt är pålitligheten av testresultaten beroende av att HIL-riggen fungerar korrekt. Fel i riggen kan leda till missvisande resultat, onödig felsökning och ökad utvecklingstid.
Syftet med detta examensarbete var att undersöka kritiska delar av HIL-riggen för garanterad funktionalitet och utifrån det utveckla en strukturerad och automatiserad testmetodik för att verifiera att riggen alltid fungerar innan andra test körs på den.
Flera testfall utvecklades, så som ett spänningstest för att verifiera strömtillförseln samt kontroll av relän till olika... (More) - Tillförlitlig Hardware-In-the-Loop-testning (HIL-testning) är avgörande för att säkerställa kvaliteten hos elektroniska styrenheter (ECU:er) inom fordonsindustrin. Samtidigt är pålitligheten av testresultaten beroende av att HIL-riggen fungerar korrekt. Fel i riggen kan leda till missvisande resultat, onödig felsökning och ökad utvecklingstid.
Syftet med detta examensarbete var att undersöka kritiska delar av HIL-riggen för garanterad funktionalitet och utifrån det utveckla en strukturerad och automatiserad testmetodik för att verifiera att riggen alltid fungerar innan andra test körs på den.
Flera testfall utvecklades, så som ett spänningstest för att verifiera strömtillförseln samt kontroll av relän till olika felinjektionssystem. Dessa test utformades för att verifiera funktionaliteten av viktiga system i riggen samt ge tydlig feedback om avvikelser skulle förekomma. Utöver att ge ett resultat i form av passerade eller misslyckade tester utformades även felsökningsguider för att underlätta felsökning om ett problem skulle uppstå.
Resultaten visar att den utvecklade metodiken kan verifiera kritiska funktioner för HIL-riggar och ge tydliga resultat. Genom att kombinera automatiserad testning med felsökning möjliggörs även effektiv identifiering av felorsaker. Metodiken är även utvecklad för att kunna integreras i en CI/CD pipeline, där den fungerar som ett initialt verifieringssteg innan projektspecifika tester körs på riggen.
Även om implementationen begränsas av både tillgång till hårdvara och mjukvara utgör arbetet en skalbar grund för automatiserad verifiering och kontinuerlig översyn av HIL-riggar. (Less)
Please use this url to cite or link to this publication:
https://lup.lub.lu.se/student-papers/record/9249620
- author
- Wahlström, Carl LU and Ugricic, Niklas
- supervisor
- organization
- alternative title
- Automatiserad metodik för testning och självdiagnostik av hardware-in-the-loop-riggar
- course
- EIEL05 20261
- year
- 2026
- type
- M2 - Bachelor Degree
- subject
- keywords
- HIL rigs, HIL testing, fault injection, automated testing, CI/CD, troubleshooting
- publication/series
- CODEN:LUTEDX/TEIE
- report number
- 3160
- language
- English
- id
- 9249620
- date added to LUP
- 2026-09-23 16:31:32
- date last changed
- 2026-09-23 16:31:32
@misc{9249620,
abstract = {{Reliable Hardware-In-the-Loop (HIL) testing is essential for ensuring quality and reliability of Electronic Control Units (ECUs) in the automotive industry. However, the validity of test results is strongly dependent on correct operation of the HIL rig itself. Faults within the rig can lead to misleading results, unnecessary troubleshooting times and increased development time.
The purpose of this thesis was to investigate the critical parts of HIL rigs and develop a systematic and automated test methodology for verifying that the HIL rigs operate correctly and consistently each time.
Several test cases were developed, including a voltage sweep test for verifying voltage supply behaviour, as well as verification of relay behaviour for fault injection units. These tests were designed to verify the functionality of different subsystems of the HIL rigs and give clear feedback if deviations are detected. In addition to pass/fail results, structured troubleshooting guides were constructed to provide systematic fault tracing if any problems arise.
The results demonstrate that the developed methodology can reliably verify key subsystems of the HIL rigs and provide clear pass/fail evaluation with associated troubleshooting guides in the form of flowcharts. The methodology is also designed to be integrated into a CI/CD pipeline, where it can function as a pre-check to ensure that the test environment is stable before executing project-specific tests.
Although the current implementation is limited by hardware accessibility and system observability, the developed methodology provides a scalable foundation for further development and integration into continuous validation of HIL rigs.}},
author = {{Wahlström, Carl and Ugricic, Niklas}},
language = {{eng}},
note = {{Student Paper}},
series = {{CODEN:LUTEDX/TEIE}},
title = {{Automated Methodology for Testing and Self-Diagnostics of Hardware-In-the-Loop Rigs}},
year = {{2026}},
}