Formal Modelling and Verification of the Clock Synchronization Algorithm of FlexRay

  • Shimmi Asokan DRDO- Naval Physical and Oceanographic Laboratory, Kochi- Kerala https://orcid.org/0000-0001-6696-672X
  • K.H. Kochaleema DRDO- Naval Physical and Oceanographic Laboratory, Kochi- Kerala
  • G. Santhosh Kumar Department of Computer Science, Cochin University of Science & Technology, Kochi- Kerala
Keywords: Formal verification, FlexRay, Model checking, UPPAAL, Clock synchronisation

Abstract

The hundreds of electronic control devices used in an automotive system can effectively communicate with one another, thanks to an in-vehicle network (IVN) like FlexRay. Even though every node in the network will be running on its local clock, a global notion of time is essential. The clock synchronisation algorithm accomplishes this global time between the nodes in FlexRay. In this era of self-driving cars, the vehicle’s safety is paramount. For the vehicle to operate safely and smoothly, timely communication of information is critical, and the clock synchronisation algorithm plays a vital role in this. It is essential to formally test the clock synchronisation algorithm’s correctness. This paper attempts to model and verify the clock synchronisation algorithm of FlexRay using formal methods, which in turn enhance the reliability of safety-critical automotive systems. The clock synchronisation is modelled as a network of six timed automata in the UPPAAL model checker. Three system models were developed, a model for an ideal clock, another for a drifting clock, and a third model considering propagation delay. The precision of the clocks is verified to be within the prescribed limits. Simulation studies are also conducted on the model to ensure that the clock’s drift is always within the precision.

Published
2023-03-09
How to Cite
Asokan, S., Kochaleema, K., & Santhosh Kumar, G. (2023). Formal Modelling and Verification of the Clock Synchronization Algorithm of FlexRay. Defence Science Journal, 73(1), 41-50. https://doi.org/10.14429/dsj.73.18449
Section
Computers & Systems Studies