CNN-Based Fault Localization Method Using Memory-Updated Patterns for Integration Test in an HiL Environment
AbstractAutomotive electronic components are tested via hardware-in-the-loop (HiL) testing at the unit and integration test stages, according to ISO 26262. It is difficult to obtain debugging information from the HiL test because the simulator runs a black-box test automatically, depending on the scenario in the test script. At this time, debugging information can be obtained in HiL tests, using memory-updated information, without the source code or the debugging tool. However, this method does not know when the fault occurred, and it is difficult to select the starting point of debugging if the execution flow of the software is not known. In this paper, we propose a fault-localization method using a pattern in which each memory address is updated in the HiL test. Via a sequential pattern-mining algorithm in the memory-updated information of the transferred unit tests, memory-updated patterns are extracted, and the system learns using a convolutional neural network. Applying the learned pattern in the memory-updated information of the integration test can determine the fault point from the normal pattern. The point of departure from the normal pattern is highlighted as a fault-occurrence time, and updated addresses are presented as fault candidates. We applied the proposed method to an HiL test of an OSEK/VDX-based electronic control unit. Through fault-injection testing, we could find the cause of faults by checking the average memory address of 3.28%, and we could present the point of fault occurrence with an average accuracy of 80%. View Full-Text
Share & Cite This Article
Choi, K.-Y.; Lee, J.-W. CNN-Based Fault Localization Method Using Memory-Updated Patterns for Integration Test in an HiL Environment. Appl. Sci. 2019, 9, 2799.
Choi K-Y, Lee J-W. CNN-Based Fault Localization Method Using Memory-Updated Patterns for Integration Test in an HiL Environment. Applied Sciences. 2019; 9(14):2799.Chicago/Turabian Style
Choi, Ki-Yong; Lee, Jung-Won. 2019. "CNN-Based Fault Localization Method Using Memory-Updated Patterns for Integration Test in an HiL Environment." Appl. Sci. 9, no. 14: 2799.
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.