The Design of Data Acquisition Card Based PCI Bus
- Author
- TuShuMin
- Advisor
- ChenSanBao
- School
- Wuhan University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 906
- Citations
- 7
Abstract
With the LSI and the rapid development of computer technology, digital technology has been widely applied. But in real life, the physical signals are analog signals. Therefore, the analog signal is converted into a digital signal for signal processing and analysis of the primary prerequisite. The system is completed this task, and will gather the analog signal into a digital signal of the computer can recognize. Capture card and the host host is generally use ISA bus interface connection to transfer data information, but because of the low rate of the ISA bus transfer. Could easily lead to a bottleneck effect. Independent of the processor and PCI bus, transmission speed and many other advantages, is the mainstream of the PC motherboard configuration. The main task of the research is the acquisition of ISA interface card into a PCI interface capture card; board CPLD technology to replace some of the components, streamlined circuit. The papers collected from the PCI card system composition, the principle card hardware and software technology and design experience. Hardware, covers the hardware circuit design of high-speed PCI capture cards, CPLD technology. Mainly on the overall design of the system, the function of each module and details. Focus on the basic structure and characteristics of the PCI bus, PCI bus interface circuit realization are discussed in detail. On the basis of the analysis of several typical PCI bus interface circuit to achieve, as the core of the PCI bus interface chip PLX9052 structure of the data acquisition card and realized. It also presents the basic principles based on the of the AHDL language the CPLD development process and high-speed PCB design. WINDOWS operating system software, operating hardware needed by the device driver. This paper first introduces a the driver development methods and several development tools: the DDK VtoolsD, Windriver, etc. and discuss design ideas and methods of the PCI capture card device driver DLL, given some PCI device driver code. The system development process mainly consists of the following steps: first application Protel99 software design communication card hardware schematic and PCB diagram, PCB plans to manufacture production plant; 2. Diagram based on the principle of ALTERA company, making download cable; 3. CPLD technology to achieve some of the features on the card the MAX PLUS compilation, simulation correctly downloaded to the chip; according PCI9052 user manual to configure the serial EEPROM. And write EEPROM burner; 5. Written PCI capture card device driver DLL; This thesis has completed the design of the data acquisition card PCI interface and debugging, has been able to use the test shows that the performance reached requirements.
Table of contents
Chapter 1 Introduction 9-11
the 1.1 research background and significance the 9 1.2 PCI data acquisition card implementation
9-10
1.3 the research work 10
1.4 thesis 10-11
Chapter 2 PCI interface to achieve foundation 11-32
2.1 PCI bus Overview the 11-25 2.1.1 PCI bus characteristics
11-12
2.1.2 PCI bus system architecture 12-13
2.1. 3 PCI bus signals defined the 13-17 2.1.4 PCI configuration address space
introduced 17-19
2.1.5 PCI bus command 19-21
2.1.6 PCI bus operating rules 21-24
2.1.7 of the electrical characteristics of the PCI bus the 24-25
2.2 PCI interface of achieve 25 - 31
2.2.1 using programmable logic devices 25-26
2.2.2 using a dedicated interface chip 26-31
2.3 the final PCI interface program Select 31-32
Chapter 3 programmable logic design and application 32-39
3.1 CPLD's characteristics 32-34
3.1.1 the the MAX7000 series characteristics of Altera Corporation the 32-33 online programming
3.1.2 MAX7000 33-34
3.2 CPLD design flow 34
3.3 CPLD design and development tools 34-38
3.3.1 Max Plus II 34-37
3.3.2 AHDL language
3.4 CPLD 37-38 in PCI the acquisition card application 38-39
Chapter 4 PCI capture card hardware and software design 39-59
4.1 PCI capture card Overview 39-41
4.2.1 PCI capture card system 39-40
4.2.2 PCI capture card works 40-41
4.3 PCI capture card hardware design 41-50
4.3.1 Analog input circuit the 41-42
4.3.2 multiplexer switches and programmable gain amplifier circuit 42-44
4.3 .3 A / D conversion control circuit design the collected 44-45
4.3.4 PCI card in the PCI interface 45-46
4.3.5 serial EEPROM 93LC46B configuration the 46-48
4.3.6 RAM bus strobe 48-49
4.3.7 shared RAM address formation 49-50
4.4 system address space allocation and the port assignments 50-54
4.4.1 system addressing space 50
4.4.2 port address assignment 50-51
4.4.3 data buffer space allocated 51
4.4.4 host capture card I / O port address assignment 51-52
4.4.5 Parameter Design The 52-54
4.4.6 states lamps indicates 54
4.5 software design 54-59
4.5.1 ASM96, macro assembler language 56-57
4.5.2 software anti-interference method 57-59
Chapter 5 PCI capture card circuit board (PCB) is designed 59-67
5.1 capture card circuit board (PCB) Overview 59
5.2 PCB wiring the 59-61 5.2.1
power, ground handling 60
5.2 .2 digital circuits and analog circuits to handle a total of 5.2.3 a large area of ??the conductor connection 60
leg of processing 60-61
5.2.4 design rule checking (DRC ) 61
5.3 PCB layout 61
5.4 high-speed PCB design 61-64
5.4.1 PCB high-speed digital circuit design 61 -62
5.4.2 transmission line effects 62
5.4.3 to avoid the effect of the transmission line the 62-64
5.5 on PCI bus PCB Design 64-66
5.6 PCI capture card PCB design 66-67
Chapter 6 PCI capture card drivers 67-82
6.1 driver Overview the 67-69
6.1.1 driver design steps the 68-69
6.1.2 dynamic link library DLL 69
6.2 driver realization 69-78
6.2.1 configuration space access the PCI card 69-71
6.2.2 to find the PCI card program 71-73 <br / 6.2.3 port operation DLL function the 73-74
6.2.4 device object class Cdev the 74-76 6.2.5 node operation
76-77 < br /> 6.2.6 input and output data processing 77-78
6.3 system test procedures designed the 6.3.1 DLLs loaded
78-82 78 < br /> 6.3.2 system initialization 78-81
6.3.3 the data refresh thread and automatic demo thread are found; 81-82
Chapter 7 Conclusions and Prospects 82-85
7.1 summarize 82
7.2 Next work and Prospects 82-85
thank the 85-86
References 86-88
papers published during the study for master 88
Related dissertations
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Design and Simulation of Turntable Servo Control System Based on DSP
- Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
- Design and implementation of the short range active defense system in the central controller based on DSP
- Design of Magnetic Compass Sensor Based on CPLD
- Industrial Intelligent Camera Design Based on DSP
- The Research and Design of Field Tester of1553B Bus
- Design and Implementation of the Motion Control System Based on USB Interface
- Research and Implementation of Model Machine Based on Combinational Logic Controller
- Research and Implementation of Method for Clock Synchronization Control in Wireless Communication Testing Systems
- CPLD experimental board the development and teaching application based on
- Design and implementation of intelligent control system of the pellet formula of traditional Chinese medicine pharmacy
- The Design of the Control System for the Long Pulsed Magnetic Facility Supplied by Batteries
- The10kV5Mvar Cascade STATCOM Device Research and Development
- Research for Optimization Algorithm of the Power Factor Compensation and Intelligent Controller
- Study on Parallerable High Frequency Switch Model Power Supply
- Research on Wound-Field Doubly Salient Motor Drive System
- Coordinated Control of the Steering Machine Fatigue Test
- Research of Superalloy Turbine Disk by Phased Array Testing System
- The Research of Optical Fiber Array Icing Detection System