MARS 2.0: A Toolchain for Designing Safety-Critical Cyber-Physical Systems
This paper presents MARS 2.0, an integrated toolchain for the model-driven design of safety-critical Cyber-Physical Systems (CPSs). MARS 2.0 supports an end-to-end workflow spanning unified modeling, formal verification, and trusted code generation. Building on its predecessor, MARS 2.0 introduces three key enhancements: (1) a co-modeling framework that combines AADL (for system architecture) and Simulink/Stateflow (for functional and physical behaviors)—denoted \(\textsf {AADL}\!\oplus \!\textsf {S/S} \) ; (2) provers based on Hybrid Hoare Logic (HHL) for verifying formal models; and (3) correct-by-construction code generation from verified models. In MARS 2.0, users first construct an \(\textsf {AADL}\!\oplus \!\textsf {S/S} \) model to capture the system’s architecture, control logic, and continuous dynamics in a unified framework. This model is then automatically translated into Hybrid Communicating Sequential Processes (HCSP), a formal modeling language for hybrid systems. The resulting HCSP program can be (1) simulated for rapid validation, and (2) formally verified using the HHLProver suite. Finally, once verified, the HCSP model is compiled into executable ANSI-C or SystemC code. Critically, both the “ \(\textsf {AADL}\!\oplus \!\textsf {S/S} \) to HCSP” translation and the “HCSP to ANSI-C/SystemC” code generation are backed by formal proofs of semantic preservation. By bridging industrial modeling notations with formal methods, MARS 2.0 makes rigorous CPS development accessible to engineers.
Authors
- Mengfei Yang (ORCID: https://orcid.org/0000-0002-6844-1246)
- Naijun Zhan (ORCID: https://orcid.org/0000-0003-3298-3817)
- Xiangyu Jin (ORCID: https://orcid.org/0000-0001-6176-2242)
- Bohua Zhan (ORCID: https://orcid.org/0000-0001-5377-9351)
- Fanjiang Xu (ORCID: https://orcid.org/0009-0004-6016-7360)
- Shuling Wang (ORCID: https://orcid.org/0000-0002-2798-2660)
- Bin Gu (ORCID: https://orcid.org/0000-0001-7218-4839)
- Xiong Xu (ORCID: https://orcid.org/0000-0003-4236-9992)
- Xing Li
- Guanhua Lin (ORCID: https://orcid.org/0009-0009-6111-2560)
- Binghao Mu (ORCID: https://orcid.org/0009-0005-1657-4409)
Institutions
- China Academy of Space Technology (CN)
- Peking University (CN)
- Beijing Jiaotong University (CN)
- Huawei Technologies (China) (CN)
- Institute of Software (CN)
- University of Chinese Academy of Sciences (CN)
- Beijing Institute of Control Engineering (CN)
Publication Details
- Journal
- ACM Transactions on Embedded Computing Systems
- Published
- 2026-09-28
- DOI
- https://doi.org/10.1145/3849090
- Primary Topic
- Formal Methods in Verification
- Type
- article
- Field-Weighted Citation Impact
- 0.00