1394 based on WDM driver development and application in CNC System
- Author
- LiuXinYu
- Advisor
- YangZuoPu
- School
- Shanghai Jiaotong University
- Major
- Control Theory and Control Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 54
- Citations
- 3
Abstract
Digital computer control technology, the digital servo bus performance is the level of impact the overall system performance is a key factor. Application of high performance digital servo bus technology has become an important high-end CNC system characteristics and trends. IEEE 1394 as a computer peripheral equipment designed to connect a variety of serial bus technology, with high transmission speed, plug and play, supports two kinds of transmission types, flexible peer architecture and other significant advantages, applications are constantly expanding and enriching . This article from the perspective of driver development, research will IEEE 1394 high-speed serial bus technology and computer numerical control technology combined with the topic. In this new CNC system, the selection of the 1394 bus for industrial control PC and the machine execution unit of communication between the servo bus. Therefore, it is necessary to design and development of the host computer 1394 driver control program for the numerical control system for controlling data transfer bus and application program interface (API). Combined CNC PC specific software operating environment, the 1394 driver should comply with the standard Windows Driver Model (WDM), but also must RTX software-based real-time environment is compatible. Thus, by 1394 driver provides specifications and efficient application programming interface 1394, CNC system control program can access and control the device as a 1394 node machine execution units, the completion of stable high-speed real-time data read and write operations 1394. It is believed that 1394 is to determine the driver's performance CNC system can achieve the desired functionality and performance of one of the key indicators. This article first IEEE 1394 standard system the main content and Windows Driver Model Works mechanism was studied, and then elaborated on this basis 1394 generic driver development and application. Since CNC PC control program runs on RTX real-time environment, the paper discusses the 1394 Universal Driver real-time program, given a 1394 real-time implementation of the API method. In order to improve data transmission efficiency, optimize overall performance of the 1394 bus, also filed a 1394 uses DMA mode to achieve high-speed real-time driver's principles and mechanisms, and asynchronous data transmission example describes a detailed implementation processes. Finally, combined with the actual data transmission CNC system needs, priorities described the 1394 API calls the process.
Table of contents
Abstract 5-7
ABSTRACT 7-12
acronym for table 12-13
Tables 13-14 < br /> Image catalog 14-16
first chapter 16-21
1.1 Background and purpose of this study 16-17
1.2 IEEE 1394 Overview 17-18
1.2.1 IEEE 1394 is proposed and developed 17
1.2.2 IEEE 1394 features 17-18
1.3 Windows Driver Model Overview 18-19
1.4 The main research work 19-21
Chapter IEEE 1394 architecture 21-33 <br / > 2.1 IEEE 1394 topology and addressing 21-23
2.1.1 IEEE 1394 topology 21-22
2.1.2 IEEE 1394 addressing 22-23
2.2 IEEE 1394 protocol structure 23-27
2.2.1 Transaction Layer 24-25
2.2.2 Link Layer 25-26
2.2.3 Physical layer 26-27
2.2.4 serial bus management 27
2.3 IEEE 1394 bus configuration 27-28
2.4 IEEE 1394 communication model 28-33
2.4.1 Asynchronous Transfer 28-30
2.4.2 Isochronous 30-33
Chapter Windows Driver Model 33-44
3.1 Windows Driver Overview 33-36
3.2 WDM hierarchical architecture 36-40
3.2.1 driver stack 36-37
3.2.2 IRP and handling 37-40
3.3 WDM basic routines 40-44
Chapter 1394 generic driver development and application 44-56
4.1 Driver Development Tools DDK 44-45
4.2 1394 Universal Driver structural mechanisms 45-49
4.2.1 applications and device drivers interact 46-47
4.2.2 device driver and bus driver interaction 47-49
4.3 1394 intermediate interface program to achieve 49-53
4.3.1 intermediate interface program implementation mechanism 49-52
4.3.2 intermediate interface program derivation function 52-53
4.4 1394 device driver implementation 53-54
4.5 1394 Universal Driver Installation 54 - 56
Chapter 1394 real driver development and application 56-66
5.1 real-time solutions RTX 56-59
5.1.1 RTX introduced background 56-57
5.1.2 RTX Features 57-58
5.1.3 RTX 1394 real-time driver 58-59
5.2 1394 real-time interface program 59-66
5.2.1 RTDLL Overview 59-61
5.2.2 1394 to achieve real-time interface program 61-66
Chapter 1394 DMA-based real-time driver 66-85
6.1 DMA Solution Overview 66-71
6.1.1 DMA introduction of the new program 66
6.1.2 1394 OHCI and DMA 66-71
6.2 1394 DMA controller 71-75
6.2.1 ContextControl register 71 - 72
6.2.2 CommandPtr register 72-73
6.2.3 IntEvent register 73-74
6.2.4 descriptor hardware processing control 74-75
6.3 RTX API application 75-77
6.3.1 chip registers are accessed 75-76
6.3.2 contiguous physical memory allocation and Use 76-77
6.4 AT DMA implementation 77-83
6.4.1 AT DMA descriptor block 77-80
6.4.2 AT DMA implementation process 80-83
6.5 real-time dynamic link library implementation 83-85
Chapter VII of the 1394 driver CNC System 85 -91
7.1 application layer data transmission needs 85-86
7.2 1394 API calls 86-91
7.2.1 1394 initialization 86 - 88
7.2.2 1394 data transmission 88-91
Chapter VIII Conclusions and Prospects 91-93
8.1 The main conclusions 91-92 < br /> 8.2 Research Prospects 92-93
References 93-96
Thanks 96-97
have been published during the master's degree or hired papers 97-98
Shanghai Jiaotong University dissertation written resolutions 98-100
Related dissertations
- Based on real-time extension technology CNC shoe last machine System
- The Research on Rtx-Based PC-NC Software
- Design and Implementation of Continuous Glucose Monitoring System Based on Wireless
- Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
- Real-time Performance of the Semi-physical Simulation System Based on RTX
- The Design and Implementation of Software System for Integrated Circuit Burn-in Test Equipment Based on Embedded Linux
- Research on Multi-function Intelligent Electric Power Monitor
- The Study of Laser Processing Movement Control and NC Programming
- Research on the NC System Design and the Simulation of Aspheric Surface Fabrication Based on Tool Swing Feeding
- CNC System Hardware Design and Realization Based on Embedded Processor
- Studies in Laser-cutting Technology CNC System Based on STEP-NC
- Design and Development of Special CNC for PCB Drilling Machine
- The Tap Grinder Control Model Research Based on HNC-21CNC System
- Study on Field Bus Technology with High Speed and High Precision Multi-channel CNC System
- The Selection of Key Components and Interface Design of Pentahedral Gantry Machining Center
- Development and research of CNC system based on ARM and CPLD
- Research on Cnc System of Finishing Machine Toolfor Hemispherical Resonator Based on UMAC
- Research on the Key Technology of Compiled-typed Cnc System Based on USB Communication Interface
- Research and Development of Interpolation Control on CNC System for Gear Machine
- Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System