TY - JOUR
T1 - Uncertainty-aware specification and analysis for hardware-in-the-loop testing of cyber-physical systems
AU - Shin, Seung Yeob
AU - Chaouch, Karim
AU - Nejati, Shiva
AU - Sabetzadeh, Mehrdad
AU - Briand, Lionel C.
AU - Zimmer, Frank
N1 - Publisher Copyright:
© 2020 The Authors
PY - 2021/1
Y1 - 2021/1
N2 - Hardware-in-the-loop (HiL) testing is important for developing cyber-physical systems (CPS). HiL test cases manipulate hardware, are time-consuming and their behaviors are impacted by the uncertainties in the CPS environment. To mitigate the risks associated with HiL testing, engineers have to ensure that (1) test cases are well-behaved, e.g., they do not damage hardware, and (2) test cases can execute within a time budget. Leveraging the UML profile mechanism, we develop a domain-specific language, HITECS, for HiL test case specification. Using HITECS, we provide uncertainty-aware analysis methods to check the well-behavedness of HiL test cases. In addition, we provide a method to estimate the execution times of HiL test cases before the actual HiL testing. We apply HITECS to an industrial case study from the satellite domain. Our results show that: (1) HITECS helps engineers define more effective assertions to check HiL test cases, compared to the assertions defined without any systematic guidance; (2) HITECS verifies in practical time that HiL test cases are well-behaved; (3) HITECS is able to resolve uncertain parameters of HiL test cases by synthesizing conditions under which test cases are guaranteed to be well-behaved; and (4) HITECS accurately estimates HiL test case execution times.
AB - Hardware-in-the-loop (HiL) testing is important for developing cyber-physical systems (CPS). HiL test cases manipulate hardware, are time-consuming and their behaviors are impacted by the uncertainties in the CPS environment. To mitigate the risks associated with HiL testing, engineers have to ensure that (1) test cases are well-behaved, e.g., they do not damage hardware, and (2) test cases can execute within a time budget. Leveraging the UML profile mechanism, we develop a domain-specific language, HITECS, for HiL test case specification. Using HITECS, we provide uncertainty-aware analysis methods to check the well-behavedness of HiL test cases. In addition, we provide a method to estimate the execution times of HiL test cases before the actual HiL testing. We apply HITECS to an industrial case study from the satellite domain. Our results show that: (1) HITECS helps engineers define more effective assertions to check HiL test cases, compared to the assertions defined without any systematic guidance; (2) HITECS verifies in practical time that HiL test cases are well-behaved; (3) HITECS is able to resolve uncertain parameters of HiL test cases by synthesizing conditions under which test cases are guaranteed to be well-behaved; and (4) HITECS accurately estimates HiL test case execution times.
KW - Cyber-physical systems
KW - Machine learning
KW - Model checking
KW - Simulation
KW - Test case specification and analysis
KW - UML profile
UR - http://www.scopus.com/inward/record.url?scp=85090366447&partnerID=8YFLogxK
U2 - 10.1016/j.jss.2020.110813
DO - 10.1016/j.jss.2020.110813
M3 - Article
AN - SCOPUS:85090366447
SN - 0164-1212
VL - 171
JO - Journal of Systems and Software
JF - Journal of Systems and Software
M1 - 110813
ER -