As a core subsystem in CTCS-3, the Onboard subsystem is a typical safety-critical system, in which any fault can lead to huge human injury or wealth losing. It is important to guarantee the safety of train control system. Safety testing is an effective method to detect the safety holes and bugs in the system. However, because of the special characters of train control system like diversification, structural complexity and multiplicity of interfaces, most safety testing for train control system are manually executed based on specialistic experience, which leads to a huge testing workload. Besides, manual generation will easily cause the problem of missing test cases. In this paper, a model-based safety test method is introduced. We select a core function of onboard system as the representative to study the method. This function was analyzed by Fault Tree Analysis (FTA) to get the bottom events, which are used to turn to fault models being injected into the whole system model, affected system safety, and a set of timed automata network model of the core function is built using the tools of UPPAAL. Then COVER, the real-time test case generation tool, is used to generate the safety test cases from the system model (included fault models) automatically, and states transition criteria is customized based on preferences to achieve user-defined test, the test accuracy and efficiency is improved.
[1]
Clifton A. Ericson,et al.
Hazard Analysis Techniques for System Safety: Ericson/Hazard Analysis Techniques for System Safety
,
2005
.
[2]
Rajeev Alur,et al.
A Theory of Timed Automata
,
1994,
Theor. Comput. Sci..
[3]
C. H. Lie,et al.
Fault Tree Analysis, Methods, and Applications ߝ A Review
,
1985,
IEEE Transactions on Reliability.
[4]
Tang Tao.
Multi-port Based Automatic Formal Testing Generation and Its Application in CTCS-3 Level On-board System
,
2011
.
[5]
Hyung-Chul Kim,et al.
Reliability Analysis of Catenary of Electric Railway by using FTA
,
2008
.
[6]
Tang Tao.
Modeling and Verification of Time Constraints of Operation Scenarios of High-speed Train Control System
,
2011
.
[7]
Bengt Jonsson,et al.
Specifying and Generating Test Cases Using Observer Automata
,
2004,
FATES.
[8]
Xu Zhong-wei.
Research on Automatic Safety Tests of Train Control System for Dedicated Passenger Line Based on Script Technique
,
2011
.
[9]
Clifton A. Ericson,et al.
Hazard Analysis Techniques for System Safety
,
2005
.
[10]
Boris Beizer,et al.
Black Box Testing: Techniques for Functional Testing of Software and Systems
,
1996,
IEEE Software.