Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for producing source code

A source code and block diagram technology, applied in the direction of creating/generating source code, code compilation, program code conversion, etc., can solve problems such as side effects

Pending Publication Date: 2019-11-26
디스페이스게엠베하
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this merging of module variables, also known as "merge", is not without risk, since the continued use of variables in several modules can especially have undesired side effects due to changes in the data flow in the source code

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for producing source code
  • Method for producing source code
  • Method for producing source code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] figure 1 A preferred embodiment of a computer system PC is shown. The computer system has a processor CPU, which can be realized in particular as a multi-core processor, a working memory RAM and a bus controller BC. The computer system PC is preferably designed for direct manual operation by the user, wherein the display DIS is preferably connected via the graphics card GPU and the keyboard KEY and mouse MOU are connected via the peripheral interface HMI. In principle, the human-machine interface of the computer system PC can also be designed as a touch interface. The computer system also includes a non-volatile data storage HDD, which can be designed in particular as a hard disk and / or solid-state disk, and an interface NET, in particular a network interface. The control device ES can be connected via the interface NET. In principle, one or more arbitrary interfaces, in particular wired interfaces, are present on the computer system PC and can be used in each case f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for generating source code from one or more blocks of a block diagram comprising a model of a dynamic system having at least one directional connection between two blocks, wherein the block diagram can be designed to simulate the dynamic system, and wherein at least one region in which one or more blocks are located is defined in the block diagram. The block diagram comprises a first block and a second block, wherein the first block has a first block variable and the second block has a second block variable, each block variable of the block diagram having a descriptor. The descriptor of the first block variable is compared with the descriptor of the second block variable, and a check is performed to determine whether the first block and the second block are located in the same region. The first block variable and the second block variable are implemented in the source code as a single variable if the descriptors are concordant and the blocks are located in one region. If the descriptors are different and / or the blocks are not located in the same region, the first block variable and the second block variable are implemented in the source code as twoseparate variables. Moreover, the invention relates to a method for configuring a controller, to a computer program product and to a computer system.

Description

technical field [0001] The invention relates to the generation of executable code from block diagrams, in particular for the programming of control devices. Background technique [0002] The control unit is used in various applications in order to detect physical variables of the process and / or to influence the process by means of connected actuators; for example, this can involve anti-lock control of the braking process. The time constants that determine the dynamics of the process often result in cycle times of 1 ms or less, requiring real-time capability of the control equipment. For cost reasons, control devices often have microcontrollers with small memory and limited computing performance, so the size and efficiency of the executable code is of great importance. [0003] To speed up the design of control devices, control strategies are often developed with the aid of models in computing environments such as MATLAB / Simulink. It is thus possible first to simulate the b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/34G06F8/41
CPCG06F8/34G06F8/433G06F8/44G06F8/35G06F8/60
Inventor M·迈尔W·特劳特曼
Owner 디스페이스게엠베하
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products