Font Size: a A A

Research And Implementation Of Key Technologies Of Real-time Semi-physical Simulation Platform

Posted on:2011-11-26Degree:MasterType:Thesis
Country:ChinaCandidate:Y DanFull Text:PDF
GTID:2178360305982710Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:YHSIM, RTX, I/O interfaces, real-time semi-physical simulation, graphical modeling, multi-threaded
PDF Full Text Request
Related items