Hierarchical Block Diagram Documentation Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for generating code from block diagrams in electronic control units lack effective documentation, particularly for debugging and modification, requiring improved methods for generating flexible and user-friendly documentation text.

Innovation Solution

A computer-implemented method that automatically generates documentation from block diagrams by verifying documentation conditions, generating text for blocks, and utilizing a hierarchical structure, with options for customization and integration with simulation engines, filter scripts, and data definition tools.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If detailed documentation is generated for debugging and modification, then documentation completeness is improved, but documentation complexity increases

Engineering Contradiction:
Improvedocumentation completenessVSAvoiddocumentation complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The documentation is segmented into multiple hierarchical levels corresponding to the block diagram structure. Each level documents only the blocks visible at that level, creating modular documentation sections that can be independently managed and understood, thus reducing overall complexity while maintaining completeness.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a hierarchical dimension to documentation organization. Instead of flat documentation, it creates multi-level documentation structures where each level corresponds to a specific hierarchical level in the block diagram, allowing detailed information to be organized systematically across dimensions.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If automated documentation generation is implemented, then productivity is improved, but documentation customization capability deteriorates

Engineering Contradiction:
Improvedocumentation generation efficiencyVSAvoiddocumentation customization
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The documentation generation system is made dynamic by allowing users to select different hierarchical levels for documentation. The system can adaptively generate documentation at any desired level of detail, from high-level overviews to detailed block-level descriptions, maintaining both automation and flexibility.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent enables customization by allowing users to change parameters such as the hierarchical level of documentation, the types of information included, and the output format. These parameter changes allow the same automated system to produce different documentation variants suited to different needs.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If hierarchical block structure is documented in detail, then documentation precision is improved, but ease of operation deteriorates

Engineering Contradiction:
Improvedocumentation precisionVSAvoiduser accessibility
Core Design Contradiction:
Manufacturing precisionVSEase of operation

Solution Approach 1:

By segmenting documentation into hierarchical levels, users can access only the level of detail they need for their current task. This segmentation makes the documentation easier to navigate and use, while the complete hierarchical structure ensures that precise detailed information is available when needed.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10678537B1Method and system for documenting a control program
Publication Date: 2020.06.09 DSPACE DIGITAL SIGNAL PROCESSING & CONTROL ENGINEERING GMBH
  • US10678537B1 patent drawing
  • US10678537B1 patent drawing
  • US10678537B1 patent drawing

AI summary

A method for generating a documentation of a program, the program being generated from one or more blocks of a block diagram in a technical computing environment, the one or more blocks of the program having at least one hierarchical block whose functionality is defined by a plurality of blocks in a subordinate hierarchical level of the block diagram. The method is carried out by a computer system having at least one processor, the processor opening the block diagram at a top hierarchical level in a model editor of the technical computing environment and verifying if a documentation condition is fulfilled for the current hierarchical level of the block diagram. When the documentation condition is fulfilled, the processor generates documentation text for the blocks in the current hierarchical level.