Study of the HLA Compatibility Based on Traditional Simulation Tool SIMULINK

Author
ZhanYuZhi
Advisor
LiuHuaiXun
School
Henan University of Science and Technology
Major
Applied Computer Technology
Classification
TP391.9 Computer simulation
Degree
Master's thesis
Year
2007
Downloads
207
Citations
0

Request the full text

Abstract

With the rapid development of virtual prototype technology and related simulation tools, one-domain simulation can not fully meet the demand for product research and design capability. Therefore, multi-domain co-simulation must replace one-domain simulation. For the best use of the current information resources, promotion of the efficiency of building simulation models and avoidance of the repeated investment in manpower and infrastructure resources, the multi-domain co-simulation based on the current simulation tools should be solvedHLA is designed to facilitate interoperability among simulations and to promote reuse of simulation and their components. It provides a common and standard architecture for many kinds of simulation. A HLA federate is the base element of simulation component for interoperation and reuse. The development process of the federate consists of the Simulation Objects Model(SOM) and the simulation entity model. There are many software tools such as OMDT, FED Wizard etc, which can be used in the development of the Simulation Objects Model (SOM). Developing the entity model may usually depend on the special technique and tools which are not HLA compatible. So embedding these software tools for developing entity model into HLA frame is one of the methods that can be used to solve the multi-domain co-simulation based on the current simulation tools, and it is also one of the hot problems in distributed simulation field.At present, most of simulation tools don’t support HLA standard, so how to make the current simulation tools compatible with HLA standard is the main purpose of this paper. SIMULINK is a kind of software developed by MathWorks Co. Under the support of the software, the model of the dynamic systems can be established and simulated, and the model can be transformed to C codes by using Real-Time-Workshop (RTW). In this paper, transforming an entity model to a HLA federate isstudied and validated based on an example of SIMULINK model. First, the paper introduces the basic concepts, theories of SIMULINK and HLA, and also introduces the structure and external interfaces of SIMULINK models codes. In this paper, the run-time framework of SIMULINK model code is studied, and the corresponding relation of SIMULINK model code framework and HLA federate runtime framework is studied, and the concept ,method and theory of transforming the system that doesn’t support HLA standard into HLA system are given. Then, this paper analyses the methods to integrate the model tools with HLA standard. Finally, this paper details the process and the generated files of transforming SIMULINK model into C code, then presents the method of opening and running SIMULINK model codes in VC++ development environment, and studies some aspects that developing entity federate should comfort to. This paper also presents the HLA simulation scenario ,the development process of federate and the detailed process of embedding antenna model code into federate framework. Finally, the simulation result shows that this method is feasible and correct.

Table of contents

Abstract 2-4 ABSTRACT 4-8 Chapter 1 Introduction 8-14 of 1.1 topics backgrounds and its research significance 8-9 1.2 research status 9-11 1.3 research 11-12 1.4 thesis chapters arranged 12-14 Chapter 2 HLA and its compatibility principle 14-25 2.1 High Level Architecture HLA 14-19 the origin and development of the structure of the 2.1.1 High Level Architecture 14-15 2.1.2 HLA's concept, composition, ideas and main features 15-16 2.1.3 federation execution support environment 16-17 2.1.4 the implementation process and federal members of the federal program design process 17-19 2.2 for non-HLA Simulation System HLA compatibility transformation 19-24 2.2.1 for the problems faced by the transformation of HLA compatibility 19 2.2.2 Basic principles and concepts 19-20 2.2.3 on the development of non-HLA Simulation System SOM 20-23 2.2.4 on the development of non-HLA Simulation System HLA interface 23-24 2.3 This chapter Summary 24-25 Chapter 3 the SIMULINK and HLA compatible program 25-29 3.1 traditional simulation tools and HLA-compatible implementations 25-26 3.2 SIMULINK with HLA-compatible implementations 26-28 3.2.1 SIMULINK model of HLA-compatible two ways 26-27 3.2.2 HLA compatible with the principles and programs and SIMULINK 27-28 3.3 intermediate code extension principle 28 3.4 This chapter Summary 28-29 Chapter 4 SIMULINK internal structure and external interface 29-38 4.1 SIMULINK Introduction 29-31 4.1.1 SIMULINK Introduction 29 4.1.2 Real-Time Workshop (RTW) 29-31 4.2 SIMULINK model into C code and file 31-33 4.3 SIMULINK model external interface C code 33-36 4.3.1 SIMULINK model run-time interface 33-34 4.3.2 SIMULINK model data structures 34-35 4.3.3 SimStruct structure 35 4.3.4 SIMULINK model external interface routines 35-36 4.4 This chapter Summary 36-38 Chapter 5 SIMULINK model HLA interface extension 38-42 5.1 federates run time framework and the SIMULINK model run time frame 38-40 5.1.1 SIMULINK model run-time framework 38 5.1.2 Federal members run time framework and the SIMULINK model run time frame 38-40 5.2 shell as well as the external interface of the SIMULINK model package 40-41 5.3 This chapter Summary 41-42 Chapter 6, two-dimensional antenna stable platform servo system with HLA compatibility design 42-55 the 6.1 dimensional antenna stable platform servo system antenna model 42-45 6.2 dimensional antenna stable platform servo system antenna RTW real-time C code is generated 45-48 6.3 antenna code design with HLA compatibility 48-53 6.3.1 Simulation plot design 48 6.3.2 antenna.fed file design 48-49 6.3.3 federate design 49-52 6.3.4 transformation antenna model code to the HLA simulation members antenna simulation program 52 6.3.5 Simulation results verify 52-53 6.3.6 Note matters 53 6.4 This chapter Summary 53-55 Chapter 7 Conclusion and Outlook 55-56 the References 56-58 the acronyms vocabulary table 58-59 the Appendix A antennaManage.cpp the part of the code 59-69 Acknowledgements 69-70 studying for a master's degree during research 70-71 the detailed summary 71-78

Related dissertations

  1. DOLBY AC-3 decoder C language implementation and verification