Simulink / Stateflow model for the study of the members of the development environment

Author
TianXinHua
Advisor
HuangKeZuo
School
National University of Defense Science and Technology
Major
Control Theory and Control Engineering
Classification
TP391.9 Computer simulation
Degree
Master's thesis
Year
2002
Downloads
493
Citations
10

Request the full text

Abstract

HLA (High Level Architecture) based on the simulation components interoperable and reusable form for the purpose of the modeling and simulation of the field of architecture, it provides a common integrated framework for all types of simulation. Federal members of HLA simulation system component interoperability and reusability, its development process, including the development of the solid model and the object model of development. The object model OMDT, federal framework generation tool developers can use to generate the corresponding model code, but the development of the solid model often requires the use of specialized model development tools in the various disciplines. The various entities in the model development tools integrated into the HLA framework to one of the hot issues of the simulation community. Thesis work is the MATLAB environment Simulink / Stateflow both solid model development tools integrated into the HLA framework under the articles on a variety of techniques and principles used to achieve this integration and the realization process details . The paper first describes the MATLAB model development environment integrated into two of the HLA system framework implementation and realization of the principle, and this article select the integrated way (model intermediate C code embedded HLA run-time framework) explained. Then, the thesis of this integration Institute should take the technical route. Then, the paper from the intermediate C code structure analysis model based on this technology route starting Simulink model describes the continuous dynamics and discrete sampling system and describe a discrete event simulation system the Stateflow model as well as the two comprehensive model of the C program made in-depth analysis of the structure (including its running time frame, the data structure and its external interface), and according to the analysis results, the proposed the HLA Interface extension ways and means of achieving the model. In the unfolding process analysis, the paper pointed out that the HLA interface extension must be considered and addressed: including the model external interface object package, the framework of the model run time to modify the consistency processing, time advance; Stateflow model needed to solve the concurrent event processing, processing of the external import events after receiving interactive events broadcast processing, model export event external way broadcast. Since this article Simulink / Stateflow model analysis in these models through Real-time Workshop (MATLAB another software tool used to generate real-time code, after the papers it abbreviated to RTW) Build process C code based on the federal members of the development process based on Simulink / Stateflow models, the model of RTW Build process is one step Therefore, the thesis also associated RTW and TLC (Target Language Compiler) briefly introduction. In addition, the paper also provides a use of Stateflow the design development Commpost model to examples. On the basis of the above analysis, the paper comprehensive approach these problems with the automatic extension of the HLA interface model solutions. The core content of the program Simulink / Stateflow models defined model interface mapping table to make external interface with the HLA Object Model interface associated with the HLA extended so the model automatically HLA interface extensible software tools to know how to model the external interface . And papers on this program developed based the federal member development tools Simulink / Stateflow models SMIT (Simulink / Statef low Model Imported Tool) was introduced.

Table of contents

Directory 2-4 Chinese Abstract 4-5 English summary 5-6 first chapter 6-12 < br /> the purpose and subject of § 1.1 thesis research status 6-8 1.1.1 Purpose and application background 6-7 .1.2 subject research status 7-8 § 1.2 MATLAB model with HLA integration to achieve two implementations 8-10 1.2 C-MEX .1 MATLAB model HLA interface implementations 8-9 1.2.2 MATLAB model intermediate code embedded framework of HLA running time realization way 9-10 the § 1.3 research technology roadmap as well as the paper is organized the 10-12 1.3.1 research technology roadmap 10 1. 3.2 papers organized and organizations nbsp 10-12 second chapter Simulink model and its external interface HLA Extension; 12-24 § 2.1 Simulink model module shows its RTW build process 12-15 2.1.1 Simulink model indicates 12 2.1.2 Simulink model RTW build C code represented 12-15 § 2.2 C language program structure of the Simulink model 15-20 2.2.1 Simulink model run time interface 15 -16 2.2.2 Simulink model data structure 16-17 2.2.3 SimStruct structure, 17-19 2.2.4 the external Simulink model the interface routines 19-20 § 2.3 Simulink model of HLA interface extensions 20-24 2.3.1 federates run time framework and Simulink model run time frame 20-21 2.3.2 HLA shell Simulink model external interface object encapsulation 21-24 third Chapter Stateflow model and its external interface HLA extended 24-39 § 3.1 Stateflow model structure 24-29 3.1.1 Simulink model and state flow machine (Stateflow Machine) 24-25 the 3.1.2 state flow diagram (Stateflow chart) objects, and associated with several concepts 25-28 3 .1.3 finite state machine (Finite State Machine) and Stateflow model 28-29 the § 3.2 Stateflow model C language structure 29-35 3.2 .1 create a Stateflow model 29-32 3.2.2 Simulink / Stateflow model RTW build process 32-33 3.2.3 Simulink / Stateflow model the C language structures 33-35 § 3.3 the Stateflow model the external interface and its HLA extended 35-39 3.3.1 Import Export event, an event broadcast and _sfEvent_commpost_ variable the events HLA 35-36 3.3.2 Export expansion and export event queue 36-37 3.3.3 import events HLA extended the HLA extended 37-38 3.3.4 Import data objects and export data object interface the 38-39 Chapter SMIT realization 39 - 47 § 4.1 based on the development of the federal members of the Simulink / Sratenow model 39 § 4.2 SMIT overall design 39-42 4.2 .1 Simulink / Stateflow model the HLA interface extension manually to achieve 39-41 4.2.2 SMIT overall design 41-42 4.2.3 SMIT's six key modules 42 the § 4.3 SMIT implementation and verification description of use cases (use-case) 42-47 4.3.1 SMIT nbsp 42-45 4.3.2 SMIT verify ; 45-47 Chapter Summary and Outlook 47-48 Acknowledgements 48-49 Reference 49