Dependable Model-driven Development of CPS

Author:

Jiang Yu1,Song Houbing2,Yang Yixiao1,Liu Han1,Gu Ming1,Guan Yong3,Sun Jiaguang1,Sha Lui4

Affiliation:

1. Tsinghua University, China

2. Embry-Riddle Aeronautical University

3. Capital Normal University, Beijing, China

4. University of Illinois at Urbana-Champaign, IL

Abstract

Simulink is widely used for model-driven development (MDD) of cyber-physical systems. Typically, the Simulink-based development starts with Stateflow modeling, followed by simulation, validation, and code generation mapped to physical execution platforms. However, recent trends have raised the demands of rigorous verification on safety-critical applications to prevent intrinsic development faults and improve the system dependability, which is unfortunately challenging. Even though the constructed Stateflow model and the generated code pass the validation of Simulink Design Verifier and Simulink Polyspace, respectively, the system may still fail due to some implicit defects contained in the design model (design defect) and the generated code (implementation defects). In this article, we bridge the Stateflow-based MDD and a well-defined rigorous verification to reduce development faults. First, we develop a self-contained toolkit to translate a Stateflow model into timed automata, where major advanced modeling features in Stateflow are supported. Taking advantage of the strong verification capability of Uppaal, we can not only find bugs in Stateflow models that are missed by Simulink Design Verifier but also check more important temporal properties. Next, we customize a runtime verifier for the generated non-intrusive VHDL and C code of a Stateflow model for monitoring. The major strength of the customization is the flexibility to collect and analyze runtime properties with a pure software monitor, which offers more opportunities for engineers to achieve high reliability of the target system compared with the traditional act that only relies on Simulink Polyspace. In this way, safety-critical properties are both verified at the model level and at the consistent system implementation level with physical execution environment in consideration. We apply our approach to the development of a typical cyber-physical system-train communication controller based on the IEC standard 61375. Experiments show that more ambiguousness in the standard are detected and confirmed and more development faults and those corresponding errors that would lead to system failure have been removed. Furthermore, the verified implementation has been deployed on real trains.

Funder

Jiangxi Province Major Project

NSFC

NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Artificial Intelligence,Control and Optimization,Computer Networks and Communications,Hardware and Architecture,Human-Computer Interaction

Reference46 articles.

1. Syed Hassan Ahmed Gwanghyeon Kim and Dongkyun Kim. 2013. Cyber physical system: Architecture applications and research challenges. In Wireless Days. 1--5. Syed Hassan Ahmed Gwanghyeon Kim and Dongkyun Kim. 2013. Cyber physical system: Architecture applications and research challenges. In Wireless Days. 1--5.

2. Symbolic analysis for improving simulation coverage of Simulink/Stateflow models

3. Basic concepts and taxonomy of dependable and secure computing

Cited by 28 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. AI/Machine Learning for Internet of Dependable and Controllable Things;Proceedings of the 2023 Workshop on Advanced Multimedia Computing for Smart Manufacturing and Engineering;2023-10-29

2. Behaviors Modeling and Analysis for Cyber-Physical Systems;2023 35th Chinese Control and Decision Conference (CCDC);2023-05-20

3. Formal Verification of Autonomous Vehicles: Bridging the Gap between Model-Based Design and Model Checking;SAE Technical Paper Series;2023-04-11

4. PHCG: Optimizing Simulink Code Generation for Embedded System With SIMD Instructions;IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems;2023-04

5. Abaci-finder: Linux kernel crash classification through stack trace similarity learning;Journal of Parallel and Distributed Computing;2022-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3