Study on the Application of VxWorks to High Speed cPCI Data Acquisiton System
- Author
- TangXiaoPing
- Advisor
- LiangDianNong
- School
- National University of Defense Science and Technology
- Major
- Information and Communication Engineering
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 250
- Citations
- 2
Abstract
In this paper, the background of distributed satellite SAR simulation system, system VxWorks cPCI high-speed data acquisition system. The system provides support for distributed satellite SAR radar signal simulation platform for the analysis of target echo and the various characteristics of the interference signals to provide designers with real spaceborne SAR model and test platform. This work mainly includes the following three aspects: to drive the realization of the self-study cPCI data acquisition boards, the papers focus on how to write a program to achieve PCI device driver in VxWorks environment, summarizes the PCI device driver design process specific chip PCI9656 and program design, and also combined with the VxWorks real-time multi-tasking environment for driver design considerations discussed. For the board multiple functions in the system extensions, the paper focuses on the VxWorks interrupt handling mechanism, the hardware environment combined with the subject discussed basic hardware interrupt handling. Then explore the structure of the interrupt service routine design of real-time systems, designed for specific procedures to follow basic framework. Finally, according to the hardware platform of the topics discussed in more detail the specific implementation of the multi-interrupt processing program will be successfully applied to the DMA transfer of the data in the interrupt handling mechanism. Against the IPC chassis on the host computer and the control terminal man-machine interface between the realization of the command channel the thesis stream socket workflow, analysis, establish dual stream socket-based client / server network programming mode buffer queue network communication architecture. Then, to study the implementation of the double-buffer queue element dynamic management and communication protocols. Finally, based on the above, the implementation of the network command channel. The main innovation of this paper is the following two aspects: interrupt handling, the use of semaphores traditional interrupt service routine is broken down into a short interrupt service routine and an interrupt service tasks, thereby improving the system's real-time interrupt response and at the same time enhance the ability to interrupt processing. In terms of network communication, the use of double-buffered the queue FIFO scheduling and priority preemptive scheduling organic combination, to further reduce the system of multi-task scheduling overhead in the premise to ensure real-time response of the emergency task.
Table of contents
Abstract 10-11
ABSTRACT 11-13
first chapter 13-21
1.1 subject background and significance 13-14
1.2 subject research status 14-15
1.3 topics chosen data acquisition technology 15-19
1.3.1 software control platform selection 15-17
1.3.2 data transmission standard choice 17-19
1.4 This article mainly work 19-21
of Chapter II real-time system programming methods 21-33
2.1 Introduction 21
2.2 Introduction to real-time systems 21-22
2.3 VxWorks development environment 22
2.4 multi-task scheduling mechanism 22-26
2.4.1 task structure and status 23-24
2.4.2 priority-based preemptive scheduling 24-25
2.4.3 round-robin scheduling 25-26
2.4.4 priority-based preemptive scheduling with round-robin scheduling combined 26
2.5 inter-task synchronization and communication mechanisms 26-30
2.5.1 shared memory 27
2.5.2 semaphore 27-29
2.5.3 the message queue 29-30
2.6 interrupt management mechanism 30-31
2.7 This chapter Summary 31-33
Chapter VxWorks-based PCI device driver design 33-57
3.1 Introduction 33-34
3.2 PCI bus Introduction 34-35
Under VxWorks 3.3 device driver analysis 35-40
3.3.1 Under VxWorks device classification 35-36
3.3.2 Device Drivers Overview 36-37
3.3.3 device driver in VxWorks system-level 37-38
3.3.4 device driver installation 38-40
3.4 VxWorks-based PCI device driver design 40-51
3.4.1 PCI device configuration space structure 40-42
3.4.2 PCI device configuration space functions 42-45
3.4.3 PCI device driver design 45-51
3.5 issues register configuration 51-55
3.5.1 AD9230 register configuration 51-53
3.5.2 memory PC2700 register configuration 53-55
3.6 driver running a multitasking environment 55
3.7 This chapter Summary 55-57
Chapter VxWorks interrupt processing design are found; 57-73
4.1 Introduction 57-58
4.2 interrupt About 58-59
4.3 VxWorks interrupt handling mechanism 59-64
4.3.1 interrupt handling mechanism in the system 59-60
4.3.2 hardware interrupt handling basic 60-61
4.3.3 The structure of the interrupt service routine 61-64
4.3.4 interrupt service routine real-time constraint 64
4.4 cPCI backplane interrupt handler design 64-71
4.4.1 initialization interrupt source 64-65
4.4.2 installation interrupt vector 65-66
4.4.3 interrupt signal response program designed 66-67
4.4.4 single interrupt source handler design 67-69
4.4.5 Multiple interrupt source handler design 69-71
4.5 of this chapter Summary 71-73
Chapter VxWorks-based network communication design 73-86
5.1 Introduction 73
the
VxWorks 5.2 network system structural About 73-74
5.3 BSD socket client / server communication model 74-76
5.3.1 stream socket workflow 74-75
5.3.2 stream socket-based client / server network programming mode 75-76
of 5.4 double buffering queuing network communication architecture design 76-78
5.5 double-buffer queue-based network communication 78-85
5.5.1 double buffering queue 78-81
5.5.2 VxWorks end command channel realization 81-85
5.6 This chapter Summary 85-86
Conclusion 86-88
Acknowledgements 88-89
the
References 89-93
the
author achieved academic achievements during the study period 93
Related dissertations
- The Artillery Disturbance to Line of Sight of the Shipboard Electro-optical Tracker and the Solution
- VxWorks simulation of the flight control system research and design based on
- Research on Embedded Temperature Control System of PCR Microfluidic Chip Based on VxWorks
- Research and Realization on Platform of CompactPCI-to-VME Bridge
- VDR system under VxWorks network communication technology research
- Design and Implementation of Multi-CCD Scanner Data Collection System Based on VxWorks
- Research on the Reform of Taxation Information Management Mechanism in China
- The Ningbo Public Transit Circuit Capacity Model and Practical Research
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of Alarming Management System about Fireproof and Burglar
- Design and development of Suzhou metro line two station terminal equipment monitoring system
- Research on Mechanical Vibration Testing System
- Study on Embedded Data Acquisition System Application
- The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
- Development of ATE Signals On-line Monitoring Equipment
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- Electromagnetic Tomography System for Biological Electrical Impedance Imaging
- Research and Implementation of Meteorological Monitoring System Based on ARM9
- Design and Implementation of High Speed Data Recorder Based on FPGA