Design and Implementation on Driver Software of PCI Motor Control Card
- Author
- ZhaoJingDong
- Advisor
- ZhangZhongXiong , ZhouJingLie
- School
- Nanjing University of Technology and Engineering
- Major
- Electronics and Communication Engineering
- Classification
- TN41 Printed circuit
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 61
- Citations
- 0
- Windows XP Driver software
- PCI Card
- Frequency technology
- Interrupt priority
- Walking in line
- Multi-threads technology
Abstract
With the development of the modern electronic manufacture, more and more strict requirements have been proposed to the product of printed circuit board (PCB) factory and more attention has been paid on the efficiency of the company. The product quality of PCB has direct contact with the electronics products. The appearance of the PCB testing machine gave reliable guarantee to the PCB product quality, and indirectly impacted the entire electronic manufacture companies. Detail researches on development of PCI driver software of flying needle testing machine under Windows XP operating system are discussed in this paper.WDM driver’s architecture and development technology under Windows XP operating system are analyzed completely in the paper, and detailed discussion and analysis on key technology in the process of the PCI driver software development of flying needle testing machine are proposed here. Firstly, the design philosophy and overall architecture of Windows XP are presented. The concept of the involved interrupt priorities, the structure of I/O request packet, I/O processing sequence, objects (include DriverObject, DeviceObject and interrupt object), routines in driver software and multiple threads technology are specially discussed. In order to keep the stability of the machine and direction of the operating system in the operation, considering the problem of interrupt priority under the industrial control environment, the method of hard-coded APIC interrupt vector is proposed to guarantee the machine have higher interrupt priority and could run in real-time. Second, the related information of the PCI card is introduced. At last, considering the control strategy of the motor in the testing machine, a frequency speed control algorithm and a novel acceleration and deceleration method of motor are introduced to keep the motor running stability under required speed and two degrees of freedom plane travelling method is adopted to avoid the collision of two manipulators.The related development in this paper has already been used successfully in the XXX production, which has been produced in large quantity and been sold well.
Table of contents
Summary 5-6
Abstract 6-9
1 Introduction the 1.1 research background and significance of 9-13
9-11 significance and main content
1.2 topics 11-12
1.3 The structure of the article 12
1.4 Summary 12-13
WDM The drivers of the system and the development of technology 13-27 Overview of the Windows operating system
2.1 13-16
2.1.1 Windows family 13
2.1. 2 Windows Features the 13-15 2.1.3 user mode and kernel mode
the 15-16 2.2 Windows
architecture 16-18
2.2 .1 Windows system hierarchy 16
2.2.2 executing program components 16-18
2.2.3 drivers 18
2.2 the .4 kernel 18
2.3 Windows device drivers Category 18-19
2.4 Windows interrupt priority and improved technology 19-23
2.4 .1 CPU priority stratified 19-21
2.4.2 interrupt a priority hard programming important data structure in the 21-23
2.5 drivers 23-25 ??
2.5.1 driver object 23-24
2.5.2 device object of the the 2.5.3 device extension 24-25
25 < br /> 2.6 WDM-driven basic structure 25-26
2.6.1 physical device object and functional device object nbsp to; 25
2.6.2 WDM driver entry program 25-26
2.7 Summary 26-27
3 hardware object PCI-7501 27-37
3.1 PCI bus protocol 27-28
3.1.1 PCI bus Introduction 27-28
3.1.2 PCI bus characteristics the 3.2 PCI chip 9052 of 28
28-30 <br / > 3.3 PCI-7051 board the 30-32 3.4 PCI configuration space
the 32-34
3.5 PCI device driver loader 34-36
3.6 Summary 36-37
motor control technology 37-57
4.1 stepper motor and servo motor 37-41
4.1.1 stepper motor 37-39
4.1.2 servo motor 39
4.1.3 motor performance 39-41
4.2 frequency acceleration technology 41-44
4.3 motor S-curve acceleration and deceleration control 44-51
4.3.1 deceleration 44-48
4.3.2 plus deceleration curve 48-51
4.4 two-dimensional plane straight moves 51-55
4.5 multithreaded synchronization technology 55-56
4.6 Summary 56-57
5 Conclusions and Outlook 57-58
5.1 Conclusion 57
5.2 Looking 57-58
Acknowledgements 58-59
Reference 59-60
Related dissertations
- Fundamental Theory and Experimental Study of Reflective Concentrating Solar Energy Utilization
- C6X-PC Information System Status , Interface and Control
- An application based on the PCI card distributed cache
- The Application of DSP_based Frequency Inversion Technique in Electric Actuators
- Research of Fast Wideband Frequency Synthesizers