The Study on the Circuit Application of PCI Bus in Open CNC

Author
LiuYong
Advisor
WangYongQing
School
Dalian University of Technology
Major
Mechanical Design and Theory
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2005
Downloads
373
Citations
3

Request the full text

Abstract

CNC(Computer Numerical Controller) taking the technique of PC just develops into the current of world and will be a leap having the most profound meaning to NC technique. Usually it means that movement controller (open CNC) or CNC function module plugs into PC bus slot, and uses the standard hardware platform and operate system. While the interface technique between PC and CNC module is the important guarantee for the system stability and its high-speed performance.This paper carries on the research to the application of advanced technique of PCI bus.Aiming at the interface design it researches and discusses in three vital links-PCI busprotocol, realization of hardware interface circuit and drivers development. It enunciates the theory of PCI bus operation, puts forward two concrete projects of developping the PCI bus that one is using ASIC and the other is using special interface chip.Discuss the project each from advantage to shortage and do analysis and argumentation. On this foundation, one path is found that has a higher proportion when its price compares to its ownperformance-taking the chip of PCI9052 as the key subassembly and use it as thekernel of PCI hardware circuit in the open CNC. Then get the technique target.According to the PCI bus protocol, this paper studys the experiment circuit with holding the function characteristics of its abrupt data transfer. The paper researches the techniques of D/A and A/D conversions with high or low speeds through multiple channels. Choose the chip DAC7724 of TI-BB Company and the chip ADC7865 of AD Company. Study their structure, principle and control methods. In order to satisfy the request to real time and levity(delay and wait) by function modules for data communication in open CNC, the paper not only makes use of the PCI9052 multi-function characteristics well, and but also develops the bus drivers to the hardware equipment. It will make the system control to hardware more flexible and valid.The paper develops drivers according to the Windows 2000 WDM. The operate system of Windows 2000 has the mature structure system, and is compliant to higher request of the industrial control system for the securities and reliabilities. The paper studies the principle and structures of the WDM drivers, and discusses general process of developing PCI drives with the Device Driver Kit(DDK) from Microsoft.The software package of Compuware Company’s DriverStudio realizes the encapsulation to the DDK. It complies with C++ and is object-oriented namely. The paper makes use of the DriverStudio kits and then programs, adjusts the PCI drives aound the function modules followed by the PCI equipment initialization, configuration space accessing, I/O operations, memories read-write etc. The result indicates DriverStudio is a kind of efficiently, practical development tool, and shortens the software development cycle of PCI bus.PCI bus satisfies the development request of the open CNC system’s interface. The paper accumulates some practice experience of studying and resolving the key technique for one kind of open CNC systems-the multiple axes movement controller.

Table of contents

Summary 3-4 Abstract 4-8 1 Introduction 8-13 research background and significance 1.1 topics development Overview and Status 8-10 1.2 computer bus development Overview and Status 10-12 1.2.1 computer bus 10 1 background .2.2 PCI bus momentum 10-11 1.2.3 PCI bus 11-12 1.3 the main work and structural arrangements 12-13 2 PCI bus technology research 13-27 2.1 PCI bus characteristics 13-14 2.2 PCI bus signals and define 14-16 2.2.1 bus signals 14-15 2.2.2 signal Definitions 15-16 2 .3 PCI bus transfer protocol 16-18 2.3.1 PCI bus transfer control 16-17 addressing nbsp 2.3.2 PCI bus ; 17-18 2.4 PCI bus data transfer process 18-20 nbsp 2.4.1 read on the bus ; 18 2.4 co- operation .2 bus 18-19 2.4.3 transmission termination 19-20 2.5 PCI bus arbitration 20-21 2.6 PCI configuration space bus structure 21-27 2.6.1 configuration space 21-22 2.6.2 configuration space functions and register 22-27 3 PCI bus Ji hair scheme of 27-41 3.1 solutions 27-31 3 .1.1 programmable ASIC chip (ASIC) solutions 27 3.1.2 universal interface chip solution 27-28 3.1.3 common Interface function and type of chip 28-31 3.1.4 solution of choice 31 3.2 PCI bus interface chip PCI9052 research 31-41 3.2.1 PCI9052 architecture 32-33 3.2.2 local bus operating mechanism 33-36 3.2.3 configuration register 36-39 3.2.4 configuration register configuration 39-41 4 experimental system circuit research 41-56 4.1 system study architecture 41-42 4.2 A / D and D / A conversion 42-47 4.2.1 DAC7724 chip structure and principles 42-44 4.2.2 ADC7865 chip structure and principles 44-47 Research 4.3 Interface circuit 47-52 4.3.1 9052 and the local bus (A / O and D / A) interfaces 47-50 4.3.2 9052 and PC interfaces 50 4.3.3 9052 serial EEPROM interface 50-52 4.4 PCB board design requirements 52-53 4.5 circuit debugging 53-56 5 based on the PCI bus driver Windows2000 research 56-68 principle studies 5.1 Windows drivers 56-61 5.1.1 Windows system components 56-57 5.1.2 Windows2000 WDM driver model 57 5.1.3 Windows2000 WDM driver basic structure 57-61 <br / > 5.2 PCI device Driver development 61-68 5.2.1 mode selection and development tools 61 5.2.2 bus hardware processing and Tip 61-62 functional studies 5.2.3 PCI driver 62-67 5.2.4 driver calls 67-68 <br / > 6 experimental system driver development - using DriverWorks 68-78 6.1 development environment installed and set 68-69 6.2 experimental System driver Framework 69-72 6.3 experimental system driver module 72-74 6.3.1 initialization module 72 6.3. 2 configuration space access module 72-73 6.3.3 I / O operation module 73-74 6.3.4 memory reader module 74 6.4 driver installation files (INF) 74-75 6.5 driver debugging 75-76 6.6 user programs and drivers program communication 76-78 7 Conclusion and Outlook 78-79 7.1 Conclusion 78 7.2 Prospects 78 -79 References 79-81 Appendix A PCI bus interface circuit board 81-83 Appendix B PCI interface circuit schematics 83 - post 85 master's degree during the academic situation 85-86 Thanks 86-87 Dalian University dissertation copyright attorney 87

Related dissertations

  1. Development of ISA to PCI Transfer Card on PCI Bus
  2. The Study on Design Methods of PCI Bus-Based Memory Module of Automotive Electronic Control System Development Equipment
    HuangChangWan ·Chongqing Jiaotong University ·2008 ·Master's thesis
  3. Design and Realize of Control Device Test Equipment of Navigation Computer
  4. Investigation and Design of the Time Adjust Card Based on PCI Bus
    LiuJiHong ·North China Institute of Technology ·2004 ·Master's thesis
  5. The Design of PCI-GPIB Interface Card in Electromagnetic Automatic Measuring System
    YinCuiRan ·Beijing Jiaotong University ·2007 ·Master's thesis
  6. Improved data acquisition card based on DSP and PCI bus technology
  7. Design of 485 Communication Card Based on PCI Bus
    ZhongChongFu ·Lanzhou University ·2006 ·Master's thesis
  8. The radar communication card based on PCI bus design
  9. Research & Development of Multi-axis Motion Controller Based on PCI Bus
    LiHongYu ·Jilin University ·2005 ·Master's thesis
  10. Drivers of Sustainable Growth of International New Ventures
  11. Research of Driving Factors to Food Processing Enterprises to Adopt Postponement
  12. The Study on Drivers of Brand Equit of Cultural Products
    ChenLei ·Anhui University of Finance ·2014 ·Master's thesis
  13. The Design and Research of PCI Data Acquisition Card Based on FPGA
  14. The Rearch of MIC Bus Controller Based on FPGA
  15. The Design and Application of Servo Control Card Based on PCI9052
  16. Design of Vechicle Pressure Sensor Automatic Control and Calibration System
  17. Development of Parallel Polishing CNC with Real-time Simulation System
    HuZuoRui ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. The Research and Implementation of Payment Terminals Based on Fingerprint Identification Technology
  19. The Products Planning and Design Research of Le Tu Mobile Applicatioii
    QiJia ·Beijing Institute of Printing ·2013 ·Master's thesis
  20. Research and Realization of FPGA-Based Serial Bus