Font Size: a A A

General Simulation Test System

Posted on:2003-03-03Degree:MasterType:Thesis
Country:ChinaCandidate:H Q QiaoFull Text:PDF
GTID:2208360065461423Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
The automatization of military test system is the important trend of arms development. Developing software for the test system is an important and hard task. This paper presents a general simulation test system, which makes use of Simulink, Real-Time Workshop (RTW) and real-time operating system RTLinux. The system can generate test programs only through graphical operation.Simulink has the powerful capability of modelling and simulation, and has friendly graphical interface. RTW can generate C code from Simulink model while the C code can only run in DOS, Windows and VxWorks which are not suitable enough to test system. This paper chooses hard real-time operating system RTLinux as the test platform, and uses MATLAB, Simulink, RTW as development tools, successfully makes the RTW generated code run in RTLinux, it allows users to model in Simulink and run the test programs in RTLinux.In this paper, RTW is introduced first, including the code generation procedure and the architecture of generated code. Next, RTLinux is introduced in detail, including the design ideas and program development. Also, part of RTLinux source code is analysed and some methods are presented to improve the real-time ability of RTLinux. Based on the above, this paper discusses how to make the generated code run in RTLinux. Especially, the communication between generated program and Simulink, the method and implementation of how to download generated code to target machine automatically are researched. At last it is proved through an experiment that the general simulation test system can work well and can efficiently improve people work.
Keywords/Search Tags:real-time, real-time operating system, Rea I-Time Workshop, Linux, RTLinux
PDF Full Text Request
Related items