Conditional State Execution in Diagram Modeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional state diagramming environments in technical computing environments do not adequately support the conditional execution of states and their actions, limiting the efficient modeling and simulation of event or mode-driven systems.

Innovation Solution

The implementation of a technical computing environment that includes a state diagram modeling tool capable of conditionally executing states, allowing for the association of condition statements with states and substates, enabling the execution of actions only when specific conditions are met, and facilitating efficient translation to computer code or hardware descriptions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional state diagramming environments are used, then basic state modeling is supported, but conditional execution of states and actions is not adequately supported

Engineering Contradiction:
Improveconditional execution capabilityVSAvoidmodeling accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The state execution is segmented into conditional and unconditional parts. A condition statement is associated with each state, and only when the condition evaluates to true does the state execute its actions. This segmentation allows precise control over state execution while maintaining reliable modeling of complex systems with transient errors and conditional behaviors.

Inventive Principle:
Principle #1Segmentation

2Productivity

If conditional execution is implemented, then modeling efficiency is improved, but system complexity increases

Engineering Contradiction:
Improvemodeling efficiencyVSAvoidstate diagram complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The state diagram model performs self-evaluation of conditions automatically during simulation. When a state is entered, the associated condition statement is automatically evaluated, and actions are executed only if the condition is true. This self-service mechanism improves modeling efficiency by eliminating manual intervention while managing complexity through automated condition checking rather than complex control logic.

Inventive Principle:
Principle #25Self-service

3Reliability

If states are always executed, then complete coverage is achieved, but transient errors cannot be handled efficiently

Engineering Contradiction:
Improveerror handling capabilityVSAvoidsimulation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The condition statement associated with each state serves as a preliminary check before execution. If the condition evaluates to false (indicating a transient error or invalid state), the state actions are prevented from executing. This preliminary anti-action approach handles transient errors efficiently by stopping execution before erroneous actions occur, saving simulation time while maintaining reliability.

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS8364456B2Conditionally executed states
Publication Date: 2013.01.29 MATHWORKS INC
  • US8364456B2 patent drawing
  • US8364456B2 patent drawing
  • US8364456B2 patent drawing

AI summary

A system generates a state diagram model in a graphical modeling system, where the state diagram model includes at least one state. A condition statement is associated with the at least one state, and defines a condition upon which one or more actions associated with the at least one state are executed.