Font Size: a A A

Member Development Environment Based On Simulink / Stateflow Model

Posted on:2003-09-25Degree:MasterType:Thesis
Country:ChinaCandidate:X H TianFull Text:PDF
GTID:2208360065461442Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
HLA ( High Level Architecture ),has been designed to facilitate interoperability among simulations and to promote resue of simuliation and their components.lt 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 developing process of the federate consist of two parts: the one is the development of the Simulation Objects Model ( SOM ), the other is the development of the simulation entity model. There are many software tools such as OMDT, FED Wizard etc. which can be used by the development of the Simulation Objects Model ( SOM ). But developing the entity model usually depends on the special technique and tool which is not HLA compatible. Intergration of these software tools for developing entity model is one of the hot problems in distributed simulation field. This paper will tell us how to integrate Simulink/Stateflow in MATLAB, which are both software tools for developing entity model, into HLA frame.At first, the article presents the two ways to realizing integrating Simulink/Stateflow into HLA frame. Then, the article specify the way ,wnich was selected in this paper. In this way, we embed the Simulink/Stateflow model's midest C code, which was generated by Real-Time Workshop, into HLA federation Frame. The article introduces the priciple and mechanism by way of parsing the structure of C code of Simulink/Stateflow model ( including run-time interface routine, external interface routine, Simstruct structure ,Data structure ) and point out a way to extend the HLA-compliant interface for the model. Through this way, we must solve the problems, which were resulted in by extending HLA-compliant interface, including model's external interface object-oriented encapsulation, modifying model's run-time interface routine, time consistence, event broadcast, evnet-parallel mechanism. In addition, this paper introduce the building process of Real-Time Workshop ( RTW ) and a example model named "Commpost" which was designed by Stateflow.At last, this article present a kind of software tool ?SMIT ( Simulink/Stateflow Model Imported Tool). SMIT can automaticly transfer Simulink/Stateflow Model to a federate.
Keywords/Search Tags:Simulink/Stateflow model, interface map list, HLA wrapper, SMIT, Event broadcast
PDF Full Text Request
Related items