Font Size: a A A

Hla Federate Development Of Technology Based On Simulink

Posted on:2006-09-26Degree:MasterType:Thesis
Country:ChinaCandidate:H ChenFull Text:PDF
GTID:2208360155966948Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
In the engineering field, modeling and simulation are important assistant methods of system design, development and test. With the gradual increase in complexity of various systems and in level of cooperation over the days, traditional convergent pattern in system design, development and test is no longer meeting demand, so the research on distributed modeling and simulation platform and related techniques for engineering is very necessary. Aiming at how to make simulink model of various complex system HLA-compatible federate and join the distributed simulation based on HLA, the simulink-based HLA federate development method was researched in this paper, which was on the basis of HLA (High Level Architecture) and the system modeling and simulation software Matlab/Simulink.First of all, the paper discussed ways and practical meanings that applying Matlab to HLA-compliant simulation. Different schemes of the integration of HLA into Matlab were presented. By analyzing the intermediate code that RTW(Real Time Workshop) generated from Simulink model, and contrasting the run-time framework of the intermediate code with general federate programs, the HLA interface for the generated intermediate code was developed and the code of Simulink model was modified.In creating a federation comprised of Simulink model federates, the techniques for developing FOM(Federation Object Model) were discussed, and the different time management policies in the execution of federation were researched also. In according to the characteristics of Simulink model during simulation, the interaction relations between model federates during the three simulation phases(simulation preparation, simulation loop, simulation ending) were analyzed. In external mode, Simulink model federation was executed, and the data exchanged between model federates could be watched through simulink's scope during simulation.The SL2HLA tool for automatic generation of Simulink model's federate code was developed and verified on the basis of RTW and TLC(Target Language Compiler). The core of SL2HLA is port map matrices for each model, each matrix describes the relationships between model's input ports and other models' output ports. After some necessary settings in the customized RTW options dialog, the model's federate code and makefile can be generated automatically using SL2HLA.By developing SL2HLA, it was not only getting an easy and effective way in developing federate code from Simulink model, but also presented a reference for other researchers in similar field.
Keywords/Search Tags:HLA, Simulink Model, RTW/TLC, port map, SL2HLA
PDF Full Text Request
Related items