Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Simulation method of real-time embedded system

A technology of embedded system and simulation method, which is applied in the cross field of software engineering, model-driven engineering and system simulation, and can solve problems such as finding no solution and affecting software complexity

Active Publication Date: 2014-06-25
NANJING UNIV
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This approach can cause many problems, especially for software engineers
For example, the choice of sensor location, rate control, delay control, hardware, etc., these have a great impact on the complexity of the software
Moreover, there are many implicit assumptions that first emerge when the system is integrated, which leads to the failure to find the best solution

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
  • Simulation method of real-time embedded system
  • Simulation method of real-time embedded system
  • Simulation method of real-time embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] Combine below figure 1 Specific embodiments of the present invention are described in more detail.

[0066] 1. Reading and conversion

[0067] Use the XmiReader class in org.eclipse.xtend.typesystem.emf to read XMI documents. Use Xpand for model-to-code conversion. Xpand started out as part of the openArchitectureWare project before becoming a component of Eclipse. Xpand is a statically typed templating language. It has the following features: polymorphic calling templates, aspect-oriented programming, functional extensions, a flexible type system abstraction, model conversion, model verification, etc.

[0068] Second, the conversion class diagram

[0069] In the specific implementation, two versions (Stereotype) will be provided: >、>, at most one operation of one of the applications and classes can be used. A codeSegment attribute in > is used as the specific code of the current operation, targetName is used to specify the file location that implements...

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 provides a simulation method of a real-time embedded system. Firstly, an XMI document is read, and elements of the XMI document are divided into a class diagram element collection and a sequence chart element collection; then the class diagram element collection is converted to be C++ codes; on the basis of the C++ codes of class diagrams, the sequence chart element collection is converted to be C++ codes; a Simulink model is converted to be C++ codes through a Simulink Coder, clock interrupt is added, and the C++ codes become real-time codes; then the C++ codes and the real-time codes are combined together according to the set in a class diagram model, an executable file can be compiled and generated, the executable file operates on a target platform, then the simulation of the whole real-time embedded system is achieved, and a test result is given. According to the method, automatic codes of the class diagram model, a sequence chart model and the Simulink model based on UML can be generated, time constraint information is extracted, simulation is carried out by executing the generated codes, and a result report whether the time constraint of the system is met or not is given.

Description

technical field [0001] The invention utilizes UML and Simulink to realize the simulation of a real-time embedded system, and tests the time constraint extracted from the sequence diagram, and belongs to the cross technical field of software engineering, model-driven engineering and system simulation. Background technique [0002] The development of real-time embedded system applications often involves multiple disciplines, such as electronic engineering, mechanical engineering and software engineering. Although these disciplines are tightly coupled in embedded systems, their development is often a serial process. Generally, the mechanical part is designed first, then the hardware facilities are fixed, and finally the embedded software is developed. This approach can lead to many problems, especially for software engineers. For example, the choice of sensor location, rate control, delay control, hardware, etc., which have a great influence on the complexity of the software....

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
Inventor 王林章曹婉琼陈志
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products