Research on the Embedded Real-Time Platform for Simulation and Test
- Author
- HuZhiWei
- Advisor
- LiangJiaHong
- School
- National University of Defense Science and Technology
- Major
- Control Science and Engineering
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 195
- Citations
- 2
Abstract
Embedded computer system has been widely used in many fields because of its small volume, light weight, low-power and high dependability. Under the background of the applications of embedded system in the maintenance and test for weapon equipments, an embedded system platform for simulation and test is designed and implemented in this dissertation, which is easy to cut and extend. The method of development on this platform is presented as well. The tested system is rapidly modeled and simulated with Matlab/Simulink on the host computer and the embedded real-time code is automatically generated by RTW. Then the code is cross compiled and burnt into the hardware, consequently the real-time simulation and test can be started. The errors in design and the inaccuracy in modeling can be easily found by this method and the developer can exploit the products faster and more efficiently.This dissertation is divided into several parts as follows: Firstly, the dissertation presented the background and the application requirements, analyzed the application and development tendency of the embedded computer system in the weapon equipments and investigated the-state-of-art of simulation test platform at home and abroad and the application of simulation test technique. Secondly, the overall design for the embedded real-time simulation test platform was given based on the idea of the platform-based design and Model Driven Architecture. This dissertation selected ARM processor as the core of Hardware platform, the embedded real-time Linux as the software platform and Matlab/Simulink/RTW as the development environment. Thirdly, by analyzing the real-time performance of the Linux kernel, this dissertation used the Real-Time Application Interface to enhance the hard real-time performance for the Linux kernel and transplanted the real-time Linux RTAI into the ARM board. The interface technique between embedded Linux RTAI and Matlab/Simulink/RTW was studied. Finally, based on the research of the process of building the RTW embedded real-time program and the mechanism of code automatic generation, Embedded Linux RTAI Target was exploited, the code specialized for the embedded Linux RTAI system was automatically generated. The model of moonlet attitude control system is used to prove the feasibility of this method.
Table of contents
Abstract 6-7
ABSTRACT 7-8
first chapter 8-13
the
§ 1.1 subject background and application requirements 8
§ 1.2 embedded computer systems, military applications, status quo and development trend 8-10
§ 1.2.1 embedded computer systems the military application status 8-10
§ 1.2.2 embedded computer development trend 10
§ 1.3 Simulation Test Technology Application 10-11
§ 1.4 of paper work and organizations 11-13
§ 1.4.1 thesis work 11-12
the
§ 1.4.2 papers organizational structures 12-13
overall design of embedded real-time simulation test platform 13-24
The
§ 2.1 platform overall design thinking 13-15
§ 2.1.1 platform-based design ideas 13
the
§ 2.1.2 Model Driven Architecture MDA 13-14
the
§ 2.1.3 COTS technology and open source technology Applications
the
§ 2.1.4 simulation technology and testing technology combine 14-15
§ 2.2 embedded real-time system and its key technology analysis 15-20
the
§ 2.2.1 Real-Time System Overview 15-16
§ 2.2.2 embedded systems, key technology research 16-17
§ 2.2.3 common embedded real-time operating system comparative analysis 17-20
the
§ 2.2.3.1 commercial embedded real-time operating system 17-18
§ 2.2.3.2 open source embedded real-time operating system 18-20
the
§ 2.3 embedded real-time simulation test platform Design 20-23
the
§ 2.3.1 Overall structure design 20-21
§ 2.3.2 embedded system development model 21-22
§ 2.3.3 embedded real-time target program development process 22-23
§ 2.4 Chapter Summary 23-24
Chapter of embedded real-time simulation test platform 24-49
the
§ 3.1 Linux real-time kernel 24-27
the
§ 3.1.1 Linux kernel analyze 24-25
the
§ 3.1.2 Linux kernel real-time performance analysis 25
§ 3.1.3 Linux kernel real-time research 25-27
the
§ 3.2 RTAI scheme to achieve 27-33
§ 3.2.1 RTAI program based on RTHAL 28-29
§ 3.2.2 ADEOS-based RTAI program 29-32
the
§ 3.2.3 RTHAL and ADEOS two programs comparative analysis 32
§ 3.2.4 RTAI real-time program 32-33
the
§ 3.3 embedded Linux real-time operating system to achieve 33-45
§ 3.3.1 Linux programming environment Introduction 33-34
§ 3.3.2 embedded Linux RTAI system to achieve 34-43
the
§ 3.3.2.1 cross compiler tool chain generates 34-35
the
§ 3.3.2.2 of the Bootloader transplant and start 35-38
the
§ 3.3.2.3 Linux kernel porting and startup 38-42
the
§ 3.3.2.4 kernel module loading methods 42-43
§ 3.3.3 embedded Linux real-time program development 43-45
§ 3.4 RTAI-Lab 45-47
§ 3.4.1 RTAI-Lab environment 45
§ 3.4.2 RTAI-Lab and Matlab / Simulink / RTW interface technology research 45-47
§ 3.5 Chapter Summary 47-49
Chapter embedded real-time program development methodology 49-69
the
§ 4.1 RTW program development methodology 49-54
§ 4.1.1 Real-Time Workshop Real-time workplace 49-50
the
§ 4.1.2 RTW embedded program framework Research 50-52
§ 4.1.2.1 system related components 51
§ 4.1.2.2 independent system components 51-52
the
§ 4.1.2.3 application components 52
the
§ 4.1.3 RTW procedure creation process analysis 52-54
§ 4.2 RTW embedded code generation 54-56
the
§ 4.2.1 embedded code data structure and code modules 54-55
§ 4.2.2 embedded program execution mechanism 55-56
the
§ 4.2.3 embedded code generation requirements and restrictions 56
§ 4.3 Embedded Linux RTAI Target development 56-61
§ 4.3.1 system target file created 56-58
§ 4.3.2 templates associated build files created 58-60
§ 4.3.3 Embedded Linux RTAI Target configuration to achieve 60-61
the
§ 4.4 satellite attitude control system model of embedded real-time code achieve 61-68
§ 4.4.1 system modeling and non-real-time simulation 61-65
to § 4.4.1.1 satellite attitude model 61-62
The
§ 4.4.1.2 gyro sensor 62-63
§ 4.4.1.3 controller model 63-65
the
§ 4.4.2 Linux RTAI environment, real-time simulation 65-66
the
§ 4.4.3 embedded the Linux RTAI real-time simulation 66-68
§ 4.5 Chapter Summary 68-69
Chapter Summary and Outlook 69-71
the
§ 5.1 thesis work summarizes 69
§ 5.2 research outlook 69-71
Acknowledgements 71-72
the
master's stage papers circumstances 72-73
the
References 73-75
Appendix 75
Related dissertations
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- Research and Design of Harmonic Detecting Device Based on ARM9
- The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
- Development of Small Smart Controller Software Technology Based on ARM9
- Design of the Paper Quality Control System Based on Industrial Ethernet
- The Research of Embeded Intelligent Household Based on ARM
- Research on Intelligent Home Furnishing system based on Android
- Research and Development of Intelligent Board Based on Multi-sensor Fusion
- Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
- Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
- Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
- Research&Realization on Key Technologies of Semi-physical Simulation Platform Based on RTAI
- Motion Object Detection Based on Dm642
- The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
- The Research and Design of Embedded Linux Based on ST-E9500
- Research of Embedded Linux Device Drivers Concurrency Control
- Research and design of Beidou navigation terminal based on ARM+FPGA
- Designing and implement of terminal display and control of radar based on Embedded System