WIT Press


DEVELOPING THE TRAM CONTROL SYSTEM BASED ON SIMULINK/STATEFLOW AND B METHOD

Price

Free (open access)

Volume

199

Pages

12

Page Range

315 - 326

Published

2020

Paper DOI

10.2495/CR200291

Copyright

WIT Press

Author(s)

CHENG PENG, WANG KEMING, HOU XILI, LIU NING, WANG ZHENG

Abstract

The huge gap between the requirements and the system model is an obstacle to the application of formal methods in industry. To reduce this gap, as well as to enhance the consistency and completeness before implementation, we proposed an approach integrating Simulink/Stateflow and Atelier B for developing the tram control system. The Simulink/Stateflow was used to quickly model the requirements for the system. Moreover, we analysed and debugged the logic of the system with the fast-iterative simulation of Simulink/Stateflow. Afterwards, we outlined the analysis in which the B architecture is chosen and manually built the B model according the process flows of the Stateflow model, to further explore through proof of safety invariants. Finally, we introduced the approach by developing the point controlling module of our projects. In this paper, following the approach we presented, not only can the consistency between the requirements and formal specification be improved, but the safety of system model is strengthened.

Keywords

Simulink/Stateflow, B method, formal verification, simulation, safety-critical, tram control system