Research on Automatic Safety Tests of Train Control System for Dedicated Passenger Line Based on Script Technique
XU Zhong-wei · Journal of the China Railway Society · 2011
The train control system is the key equipment to achieve safe operation of dedicated Passenger lines.The black-box automatic test is the important means to verify its system functions and ascertain that system needs and system requirements for safety-protection ability are satisfied.The script technique is the effective method to implement automation of software tests.The test script language is the core of the script technique,but by now there has not been any test script language specially designed for train control system tests.Therefore on the basis of the features of the train control system tests,the new test strategy and the test script language driven by scenario-event(SED_TSL) are presented in this paper.Aiming at safety-protection function,the actual operation scenarios are taken as the core of the new test strategy and the SED_TSL language is used to define the normal scenarios,fault scenarios,test sequences,test cases and simulation environment to generate the hierarchical test script. Scenarios are switched to control the test logic and procedure and to trigger simulation events to loading tests,thus accomplishing tests of functionality and safety. The design of the SED_TSL language and how the SED_TSL language is used on the safety-critical software simulation test platform are interpreted in detail.The implemention mechanism of the automatic test environment based on the SED_TSL language is described under the leadership of the Ministry.The automatic test environment of the train control system of dedicated the passenger line is established and is put into standard test of the system of the products of the train control system for dedicated passenger lines and existing lines under the leadership of the Ministry of Railways.The practical example shows that the description ability of the test script language and the automation test environment can satisfy the test requirements,which facilitates effective implementation of the function and safety tests of the products of the train control system.