Research and Implementation of Key Technologies of Real-time Semi-physical Simulation Platform
- Author
- DanYong
- Advisor
- JiangZhiWen
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 435
- Citations
- 5
Abstract
Real-time semi-physical simulation platform is the core of the semi-physical simulation. Modeling convenience, good real-time performance, to meet different user needs has always been the goals that real-time semi-physical simulation platform pursuit. YH-AStar Simulation Workstation has been widely used in the domestic real-time semi-physical simulation field, but YHSIM simulation language modeling can not satisfy graphical modeling of the user needs; in addition, multi-core-based parallel technology can improve real-time performance ,and most semi-physical simulation platform at present is often difficult to effectively play to the advantages of multi-core. To this end, the research of key technologies of real-time semi-physical simulation platform can improve the efficiency of simulation modeling and real-time performance of the systems, in order to develop a new generation real-time semi-physical simulation platform for basis.According to the characteristics of real-time semi-physical simulation, the key technologies of the real-time semi-physical simulation platform are discussed thoroughly in the paper based on the relevant Real-time semi-physical simulation platform. Major work and innovation include:1. According to the semi-physical simulation needs of graphical modeling, The thesis proposes a platform structure based on RTX which support YHSIM simulation language modeling and Simulink graphical modeling, the structure get two ways of modeling and simulation program together, through the shared memory to achieve Windows environment and the RTX environment interaction, and supports model reuse, improve the efficiency of the simulation application, also, real-time simulation program has provided a guarantee.2. According to the problem of most semi-physical simulation platform for real-time is often difficult to effectively play to the advantages of multi-core, the simulation program will be divided into real-time processes and non-real-time process and separate multi-threaded transformation based on multi-threading technology in the research, and also designed synchronization mechanism so as to achieve a good simulation program run in parallel.3. Real-time simulation program through the IPC shared memory to achieve data exchange between real-time and non-real time processes. According to establishment of a shared memory area large enough to waste system resources and impact of system performance problems, based on IPC shared memory data exchange technology on the basis of the study, the paper introduces a scheme of circular block of memory for data sharing, and gives the arithmetic for the number of shared memory block. Using this method can get ideal shared memory blocks, and can guarantee the accuracy of data exchange between processes to reduce the waste of system resources, then finally improve system performance.4. Hardware is an important part of hardware-in-the-loop simulation system. According to the problem of the real-time semi-physical simulation platform based on RTX is difficult to meet the graphical modeling needs of the I/O interface, a real-time Driver Development Method of I/O interface based on RTX’s is proposed under the analysis of RTX drive system, Simulink provides the preparation of packaging I/O interface module template procedures for real-time simulation platform provides support for graphical modeling of the I/O interface module.Based on the above designs and implements a prototype system for a real-time semi-physical simulation platform which not only support the YHSIM simulation language modeling, but also supports Simulink graphical modeling, the system has been successfully applied.
Table of contents
Abstract 10-11
ABSTRACT 11-13
first chapter 13-20
1.1 Background topics 13-17
1.1.1 subject sources 13-14
1.1.2 research status 14-16
1.1.3 research faces major technical problems 16-17
1.2 research significance and target 17
1.3 of this paper work and innovation 17-18
1.4 thesis structure 18-20
real-time semi-physical simulation platform architecture 20-33
2.1 operating system real-time analysis of 20-22
2.1.1 Real Time Operating System Overview 20-21
the 2.1.2 Windows operating system real-time performance 21-22
2.2 Windows-based real-time extension package RTX introduced 22-25
2.2.1 Real-time system RTX Overview 22-23
2.2.2 RTX architecture 23-24
2.2.3 Windows system based on RTX real-time analysis of 24-25
2.3 real-time loop simulation platform architecture research 25-32
2.3.1 Simulink graphical modeling 25-28
2.3.2 loop simulation principles and processes in real-time analysis 28-29
2.3.3 Real-time semi-physical simulation platform framework 29-32
2.4 This chapter Summary 32-33
Chapter of real-time simulation program in parallel with the data interactive technology research 33-46
3.1 based on the real-time simulation of multi-threaded research 33-40
3.1.1 multithreading technology 33-34
3.1.2 Real-time simulation program multithreaded design 34-39
3.1.3 synchronization mechanism 39-40
3.2 based on IPC shared memory data exchange technology research 40-45
3.2.1 IPC shared memory technology 41-42
3.2.2 shared memory algorithms 42-44
3.2.3 shared memory-based data interaction 44-45
3.3 Chapter Summary 45-46
Chapter component I / O interface real-time communication technology 46-60
4.1 I / O interface drive and communication procedures 46-51
4.1.1 RTX drive system structure 46-47
4.1.2 design based on RTX real-time I / O interface driver 47-49
4.1.3 VMIC real-time card, for example the development of real-time driver 49-50
4.1.4 Address mapping mechanism 50-51
4.2 based on the S-function hardware interface technology 51-57
4.2.1 S-function hardware interface technology works 52-54
4.2.2 S-function hardware interface technology implementation 54-57
4.3 based on Simulink I / O interface graphical 57-59
4.4 This chapter subsections 59-60
Design and implementation of real-time loop simulation platform 60-68
5.1 real-time semi-physical simulation platform system structure design 60-62
Design and Implementation of the main function
5.2 62-67
5.2.1 main program framework designed to achieve 62-64
the
design 5.2.2 simulation control and realization 64-66
5.2.3 data storage and real-time display of the design and implementation 66
the 5.2.4 parameter set design and realization 66-67
5.3 This chapter subsections 67-68
Chapter VI testing and application of real-time loop simulation platform prototype system 68-74
6.1 system function test 68-72
6.1.1 Real-time semi-physical simulation platform prototype system functional test 68-71
6.1.2 based on the S-function I / O interface, the use of graphical test 71-72
6.2 system performance test 72-73
the practical application of the system
6.3 73-74
Chapter VII Conclusion 74-76
7.1 Full-text work summarizes 74-75
7.2 Job Outlook 75-76
Acknowledgements 76-77
the
References 77-80
the
author achieved academic achievements during the study period 80-81
the
Appendix A: S function encapsulates the interface board real-time driver graphical templates 81-84
Related dissertations
- Based on Real Time Operating System in Multi Axis and Multi Channel Digital Control System and System Reliability Research
- Real-time Performance of the Semi-physical Simulation System Based on RTX
- The Design of Video Software System on DaVinci DM6446
- Design and Implementation of Monitoring and Evaluation System for a Dedicated Communications Network
- Research on Multi-function Intelligent Electric Power Monitor
- Research on Quad Rotor Helicopter Control System for Bridge Inspection
- The Research of CNC System of Grinder Based on Windows+RTX
- Design of High-Speed Multi-Threaded Slitting-Welding-Rewinding Integrated Production Line
- Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
- Key Issues Study of Monitoring Platform for Logistic Transport Vehicles Based on Internet of Things
- Research of Auto-sorting System Based on RTX and Multi-core Technology
- Control System Design and Implementation for6-DOF Electric Platform Based on RTX
- The Real-time Research of Control System Based on Windows
- Control System Software Design of the Palletizing Robot Based on Windows/RTX
- On the Web Server Performance Testing
- The Research and Implementation of Graphical Modeling and Data Display System in Simulation Platform
- Research and Application on Realtime Techniques for General Simulation&Test Platform
- Research on Video Based Real-time Multiple Face Detection, Recognition and Tracking Methods
- Research and Design on High-speed Press Quality Image Detection System
- Research and application of image restoration algorithm of diffuse multi-core architecture system based on