Ring Component for Model Attribute Definition

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Complex graphical models often face compatibility issues when integrating subsystem and referenced models due to undefined attributes and non-atomic execution, leading to errors and inefficient code generation.

Innovation Solution

The introduction of ring components that specify model-level and block-level attributes for referenced models, allowing for different execution and code generation behaviors, and enabling incremental loading and code generation, thereby resolving compatibility issues and enhancing model flexibility.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If subsystem blocks are used to represent sets of blocks in graphical models, then model complexity is reduced and readability is improved, but attributes such as data types, data dimensions, and sample times remain undefined leading to compatibility issues

Engineering Contradiction:
Improvemodel complexityVSAvoidattribute definition
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The invention segments the model into hierarchical levels (parent model and referenced model) with clear separation of concerns. Subsystem blocks are further segmented into atomic execution units with explicitly defined attributes, resolving the contradiction by organizing complexity hierarchically while maintaining attribute precision at each level.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The invention applies preliminary action by requiring attributes such as data types, data dimensions, and sample times to be defined in advance during subsystem block creation. This preliminary definition of attributes ensures compatibility is established before integration into parent models, preventing the undefined attribute problems that arise with traditional subsystem blocks.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If referenced models are integrated into parent models, then code generation efficiency is improved through incremental loading, but compatibility errors occur due to attribute conflicts between parent and referenced models

Engineering Contradiction:
Improvecode generation efficiencyVSAvoidmodel compatibility
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The invention applies parameter changes by allowing attributes of referenced models to be dynamically adjusted based on the parent model context. When a referenced model is integrated into a parent model, its attributes (such as data types, dimensions, and sample times) can be modified to match the parent model's requirements, resolving compatibility conflicts while preserving code generation efficiency through incremental loading.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If subsystem blocks execute non-atomically with interleaved execution, then model flexibility is improved, but code generation becomes inefficient and error-prone

Engineering Contradiction:
Improveexecution flexibilityVSAvoidcode generation efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The invention applies dynamics by allowing the execution mode of subsystem blocks to be configurable. Subsystem blocks can execute either atomically or non-atomically depending on the specific requirements of the parent model and the nature of the subsystem functionality. This dynamic execution approach maintains model flexibility while enabling efficient code generation by selecting the appropriate execution mode for each case.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10365897B1Model ring component
Publication Date: 2019.07.30 MATHWORKS INC
  • US10365897B1 patent drawing
  • US10365897B1 patent drawing
  • US10365897B1 patent drawing

AI summary

A system and method creates a plurality of different ring components for a referenced model included within a parent model. The ring components include values for one or more model-level, block-level, and signal-level attributes of the referenced model. One or more ring components are selected and assigned to the referenced model in the context of the parent model. During execution of the parent model, information from the selected ring component is accessed and used to control execution of the referenced model. During code generation for the parent model, information from the selected ring component is accessed and used to control the code generation process for the referenced model.