Modeling and Verifying the TTCAN Protocol Using Timed CSP

As one of the most practical protocols, Time-Triggered CAN protocol (TTCAN), which is time triggered to ensure the real-time capability required by embedded systems, has been widely used in the automotive electric system development. In this paper, we present a formal model of the TTCAN protocol using Timed Communicating Sequential Processes (Timed CSP). All the components in the protocol are abstracted as CSP processes, thus the basic transmission in TTCAN is converted into the communication between different CSP processes. Besides, an error handling model is also proposed to capture the exception in the protocol. Finally, we use model checker Process Analysis Toolkit (PAT) to verify whether we can achieve model caters for some properties, which are specified using Linear Temporal Logic (LTL) formulas. Based on the verification results, our TTCAN model turns out to match the specification.

[1]  Indranil Saha,et al.  Modeling and Verification of TTCAN Startup Protocol Using Synchronous Calendar , 2007, Fifth IEEE International Conference on Software Engineering and Formal Methods (SEFM 2007).

[2]  Xinyun Zhou,et al.  Modeling and Verification of CAN Bus with Application Layer using UPPAAL , 2014, Electron. Notes Theor. Comput. Sci..

[3]  Allan McInnes,et al.  Model Checking a TTCAN Implementation , 2011, 2011 Fourth IEEE International Conference on Software Testing, Verification and Validation.

[4]  Jim Davies,et al.  Timed CSP: Theory and Practice , 1991, REX Workshop.

[5]  Donal Heffernan,et al.  Modeling and Verification of a Time-triggered Networking Protocol , 2006, International Conference on Networking, International Conference on Systems and International Conference on Mobile Communications and Learning Technologies (ICNICONSMCL'06).