Semantic Translation of Stateflow Diagrams into I/O-EFA Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Simulink/Stateflow designs lack a model that is amenable for formal analysis such as verification and validation, particularly for safety and security concerns, and there is a need for translating Stateflow charts into Input/Output Extended Finite Automata (I/O-EFA) models that preserve discrete behaviors and enable automatic test generation.

Innovation Solution

A recursive semantic translation approach that treats each state of the Stateflow model as an atomic module, applies composition and refinement rules to interconnect these modules, and translates Stateflow charts into I/O-EFA models, allowing for automated test generation based on these models.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If Simulink/Stateflow diagrams are used for system modeling, then graphical visualization and simulation capabilities are improved, but the model is not amenable for formal analysis such as verification and validation

Engineering Contradiction:
Improvegraphical visualizationVSAvoidformal analysis capability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent introduces an intermediary translation process that converts Simulink/Stateflow diagrams into I/O-EFA models. This mediator preserves the discrete behaviors of the original diagram while transforming it into a formal model suitable for verification and validation, thus resolving the contradiction between graphical ease of use and formal analysis capability

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a formal copy (I/O-EFA model) of the Simulink/Stateflow diagram that replicates its discrete behaviors. This copy can be used for formal analysis without modifying the original graphical model, allowing both graphical visualization and formal verification to coexist

Inventive Principle:
Principle #26Copying

2Reliability

If Stateflow charts are translated into I/O-EFA models, then discrete behaviors are preserved and formal analysis is enabled, but translation complexity increases

Engineering Contradiction:
Improvediscrete behavior preservationVSAvoidtranslation process
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the translation process into distinct components: identifying states and transitions, extracting discrete behaviors, and constructing I/O-EFA models. This segmentation makes the complex translation process more manageable and systematic

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent replaces manual translation efforts with an automated computational process that systematically converts Simulink/Stateflow diagrams into I/O-EFA models, reducing the practical complexity despite the theoretical sophistication required

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Adaptability or versatility

If manual verification and testing are performed on Simulink/Stateflow designs, then flexibility in analysis is maintained, but time consumption and productivity decrease

Engineering Contradiction:
Improveanalysis flexibilityVSAvoidverification time
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent enables the model itself to serve the verification purpose by translating it into a form that can be automatically analyzed. The I/O-EFA model can be subjected to automated formal verification methods, eliminating the need for manual testing while preserving analytical flexibility

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent performs preliminary translation of the Simulink/Stateflow diagram into an I/O-EFA model before verification. This preliminary action enables subsequent automated analysis to proceed efficiently without time-consuming manual intervention during the verification phase

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8849626B1Semantic translation of stateflow diagrams into input/output extended finite automata and automated test generation for simulink/stateflow diagrams
Publication Date: 2014.09.30 IOWA STATE UNIV RES FOUND INC
  • US8849626B1 patent drawing
  • US8849626B1 patent drawing
  • US8849626B1 patent drawing

AI summary

A method of translation of a chart associated with a graphical modeling environment into an input/output-extended finite automata (I/O-EFA) model is provided. The method includes receiving a representation of the chart and processing the representation of the chart with a computing device by (a) representing atomic models for each individual state of the chart, (b) applying composition rules to interconnect the atomic models while preserving state execution and transition behaviors to obtain the I/O-EFA model.