Modeling software requirement with timing diagram and Simulink Stateflow

  • Authors:
  • Hongsuk Lee;Kihyun Chung;Hyunsang Park;Kyunghee Choi

  • Affiliations:
  • Dept. of EE, Ajou University, Republic of Korea;Dept. of EE, Ajou University, Republic of Korea;Graduate School of Information and Communication, Ajou University, Republic of Korea;Graduate School of Information and Communication, Ajou University, Republic of Korea

  • Venue:
  • Information and Software Technology
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Context: A methodology is needed to model software specification with both timing diagram and Simulink/Stateflow (SL/SF) and to convert timing diagram model into SL/SF model. Objectives: This paper aims to propose a timing diagram drawing method and the algorithm to convert a timing diagram model into the equivalently behaving SL/SF model. Method: We add a few extra features to those of the typical timing diagrams. The extra features were chosen by the field engineers' requests and the survey of many different commercial models. This paper proposes the formal method to describe the timing diagram. Based on the formal description, the converting algorithm translates a timing diagram into the SL/SF model. Results: By providing a path from timing diagram to SL/SF, system specifications can be described with both SL/SF and timing diagram. This paper addresses the details of outcomes that the proposed method was successfully applied to modeling ''Theft watch system'' and ''Automotive power window controller. The proposed method has been successfully applied to other commercial systems, and to the models provided by Mathworks. Conclusion: This paper proposed a methodology to describe system specification with both timing diagram and SL/SF. The strategy might help designers more efficiently describe specifications. In addition, the mixed specification can be simulated in SL/SF, and the specification can utilize other third party SL/SF tools such as test case generation or model check utilities.