Implementation method for guaranteeing real-time performance of semi-physical simulation through three-layer structure

A semi-physical simulation and three-layer structure technology, which is applied to multi-program devices, instruments, control/regulation systems, etc., can solve problems such as program waiting, and achieve real-time guarantees and gorgeous interface effects

Inactive Publication Date: 2021-07-13
北京星途探索科技有限公司
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] However, under RTX, hyper-threading technology may cause the program to fall into an unexpected wait. In order to ensure the real-time performance of the hardware-in-the-loop simulation software, it is necessary to turn off hyper-threading

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
  • Implementation method for guaranteeing real-time performance of semi-physical simulation through three-layer structure
  • Implementation method for guaranteeing real-time performance of semi-physical simulation through three-layer structure
  • Implementation method for guaranteeing real-time performance of semi-physical simulation through three-layer structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Taking Advantech 610L industrial computer as an example, the design and deployment of a certain type of target missile hardware-in-the-loop simulation software under the three-layer structure is carried out.

[0041] The CPU configuration of Advantech 610L industrial computer is Intel i7-2600: four cores and eight threads, and Windows7+RTX operating system is installed.

[0042] 1) First turn off hyper-threading technology to get a processor with four cores and four threads.

[0043] 2) Assign the two physical cores of the CPU to RTX, and keep the two physical cores of the CPU in Windows.

[0044] 3) Split the hardware-in-the-loop simulation program as follows: the body model module and the communication module are RTX software (the first layer); the simulation parameter reading module, the data recording module, and the shared memory communication module are the interface program (the second layer); The simulation parameter setting module, the simulation status displa...

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 discloses an implementation method for guaranteeing the real-time performance of semi-physical simulation by a three-layer structure, which aims at the real-time performance requirement of a semi-physical simulation system, starts from the top design and software and hardware, and is implemented by adopting a mode of reasonable division and mutual cooperation of hardware and software functions. A multi-core CPU is divided into two parts, wherein one part is that under RTX, threads where codes with high requirements for real-time performance are located independently occupy one CPU physical core respectively; the other part of the CPU is reserved in Windows to execute the codes that are time-consuming but not high in real-time requirement; the codes are divided into three layers on software, wherein the first layer is simulation and communication codes with high requirements on real-time performance; the second layer is a low-speed IO operation code; and the third layer is user interface codes. The division mode fully ensures that the real-time requirement of the semi-physical simulation is met, and ensures that threads where codes with high real-time requirement in the semi-physical simulation software are located can occupy CPU resources at any time and scheduling waiting does not occur. The third layer in the three-layer structure also provides a wide space for the design of the user interface, and the user interface of the third layer can use various UI design and programming languages based on the isolation effect of the second layer.

Description

[0001] 1 technical field [0002] The invention is applied to a realization method for guaranteeing the real-time performance of semi-physical simulations such as missiles / rockets, and belongs to the field of aerospace semi-physical simulations. [0003] 2 background technology [0004] 2.1 Half-physical simulation [0005] Semi-physical simulation is to add part of physical links on the basis of full digital simulation, which makes the original digital simulation must run in real-time simulation environment. The scheduling overhead of the operating system and the competition between threads will affect the real-time performance of hardware-in-the-loop simulation to a certain extent, and this effect will cause unexpected delays in the entire simulation loop, which will reduce the performance of hardware-in-the-loop simulation. Authenticity is not conducive to the restoration of the real environment. [0006] The semi-physical simulation is generally carried out by solving the...

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): G05B17/02G06F9/50G06F9/54
CPCG05B17/02G06F9/505G06F9/544
Inventor 苏森段东建谢雪明王锦辉徐然
Owner 北京星途探索科技有限公司
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
Try Eureka
PatSnap group products