Design of Hardware-in-the-loop Simulator for Flight Control System
- Author
- YangGuang
- Advisor
- ShiWei
- School
- Taiyuan University of Technology
- Major
- Circuits and Systems
- Classification
- V216.8 A variety of test equipment and instruments
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 245
- Citations
- 1
Abstract
Along with the development of science and technology of the aviation, flight control system becomes more and more complicated, and the testing and verification of flight control system also becomes more vital than before. For consideration of safe verification, various parameters of the flight control system can not be verified directly in the real aircraft, so it is particularly important to use simulation technology to verify the flight control system. This paper presents the realization of the hardware-in-the-loop simulator for flight control system. Comparing hardware-in-the-loop simulation with the mathematical simulation, the reliability and authenticity of simulation enhanced. Comparing with the physical simulation, the flexibility of simulation was improved and the development fund was saved. The hardware-in-the-loop simulator compared with the special hardware-in-the-loop simulator, the generality increased but cost decreased.First, this paper analyzes the basic principle of hardware-in-the-loop simulation and presents the basic structure of hardware-in-the-loop simulator. According to the different system tasks, the tasks were distributed to the host computer and the target computer. To ensure the real-time of simulation, the target computer in the simulation adopts a high-performance real-time operating system called VxWorks. The host computer adopts Simulink which is well known among developers to construct the system model.Second, the hardware and software structure of the simulation computers were planned and designed. Considering the overall performance and development costs, the hardware resources was listed, and the performance of every card was introduced in this paper.Third, the card driver under VxWorks and Simulink driver module were developed. By modifying the MATLAB’s RTW, the compilation of Simulink model was achieved and the real-time code which can be downloaded and run in the VxWorks was generated. The storage and upload of local data was realized with the help of software of target computer. The real-time monitoring software design was achieved by VC++ in the host computer. The controlling of tasks in the target computer was realized by this software which monitors and records the specific variables. It is convenient to analyze various parameters of the flight control system.After testing, development of the card drivers and Simulink diver modules achieved the desired performance requirements. The model can be compiled correctly by the modified RTW, and the generated real-time code after compilation can operate in VxWorks system correctly. The adjustable simulation step is able to meet different requirements of simulation. The real-time monitoring software can realize variables monitoring and data storage. As a whole, the design of the simulator is stable and reliable.
Table of contents
Abstract 3-5
ABSTRACT 5-10
The first chapter 10-14
1.1 Simulation Overview 10-11
1.1.1 Simulation Profile 10
1.1.2 Real-time simulation 10-11
1.2 simulation technology 11-12
1.2.1 simulation technology development status 11
1.2.2 semi-physical simulation in the flight control system application 11-12
1.3 research significance of this topic 12
1.4 of this paper is organized 12-14
Chapter simulator overall design 14-22
2.1 Functional Requirements 14
2.2 overall design of the hardware simulator 14-15
2.3 simulator software design 15-22
2.3.1 MATLAB / Simulink / RTW introduced 17
2.3.2 VxWorks operating system 17-22
Chapter simulator hardware implementation 22-26
3.1 bus architecture simulator 22
3.2 Simulator hardware selection and basis 22-26
Chapter simulator software design 26-66
4.1 board -driven design 26-35
4.1.1 VxWorks support for PCI devices 26-27
4.1.2 VxWorks under the Driver board design process 27-29
4.1.3 Timer card driver design 29-30
4.1.4 AD and DA card driver card design 30-31
4.1.5 Digital IO card driver design 31-32
4.1.6 serial card driver design 32
4.1.7 Reflective Memory card driver design 32-35
4.2 BSP 35-41
4.2.1 BSP function 35-37
4.2.2 Creating bootrom image and system image 37-41
4.3 Simulink driver module development 41-51
4.3.1 at the beginning of treatment 42-43
4.3.2 S function process development 43-47
4.3.3 at the end of treatment 47
4.3.4 C MEX S function function function description 47-48
4.3.5 Diagram setting 48-51
4.4 RTW 51-60
4.4.1 Tornado real target interface 52-60
4.5 real-time data recording 60-66
4.5.1 local storage of data 60
4.5.2 real-time data upload 60-63
4.5.3 master data in real-time recording software 63-66
Chapter simulator performance testing 66-70
5.1 a single board test 66
5.2 Closed-loop model test 66-70
Chapter VI Conclusion and Outlook 70-72
References 72-76
Thanks 76-78
master's degree during the academic papers have been published and hiring 78
Related dissertations
- Design and Research on Simulation Technology of Redundancy Flight Control Computer
- PD radar signal processing based on RTW
- Applied Research on HIL Simulation of Fused Quartz Furnace Control System
- Optimization Control Method and Hardware-in-the-loop Simulation Platform of the Raw Slurry Blending Process
- Research&Realization on Key Technologies of Semi-physical Simulation Platform Based on RTAI
- Software Design of the Embedded System for Underwater Targets Recognition
- The software bus and self recovery technology based on VxWorks
- Multi-channel Signal Acquisition Card Based on Compact PCI Bus
- A Design of ISDN Gateway Based on MTCA and Soft Switch
- Research and Design of RTU Based on COLDFIRE Hardware Platform
- Power Hardware In the Loop Simulation Technology of Microgrid
- Research and Design on Main Transformer Intelligent Protection Device for Digital Substation
- The Hardware-in-the-loop Real-time Simulation Research of PMSM with RT-LAB
- The Software Design and Implementation of Hardware-in-the-loop Simulation Platform for Pump-turbine Transient Process
- Research on Path Planning Problem of Underactuated AUV Considering Constraints
- The Application of Wireless Network Technology in Ships Navigation System
- The Simulation Research on Control Strategy of ISG Hybrid Electric Vehicle with Dual Clutches
- Design and Implementation for Real-time Monitoring of Vehicle Terminal
- Study on Hardware-in-the-loop Simulation Test-bed for Steer-by-wire System Based on Model-based Design
- Intelligent Taffic Cntrol Sytem Bsed on VxWorks