Design of a CNC System Based on USB Communication under Windows2000

Author
HuXiDong
Advisor
YouYouPeng
School
Nanjing University of Aeronautics and Astronautics
Major
Mechanical and Electronic Engineering
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2005
Downloads
333
Citations
5

Request the full text

Abstract

The traditional numerical control system uses a closed structure , different users is difficult for secondary development platform open CNC system can solve this problem . PC-based open CNC system has become the inevitable trend of development of CNC technology . This article discusses the history, current situation and trend of the development of the CNC system , based on the characteristics of the PC CNC (PCNC) , communication interface , operating system platform , and USB communication characteristics , protocol , based the mainstream Winows2000 operation system platform from CNC system architecture via USB interface fine interpolation communications master . The system uses a quadratic interpolation strategy, the coarse interpolation by the PC software , hardware fine interpolation . On this basis, the completion of the hardware and software design of the prototype system . Under Windows2000 , the host system using Visual C 6.0 , as well as object-oriented , modular program design methods , complete system operation interface NC code editor , compiler module path interpolation module , simulation module , USB driver module and USB the specific design of the communication module . Completed the circuit design of USB communication interface device to the Philips company PDIUSBD12 and P89C58 microcontroller as the core , from the design of the machine system based on the design of FPGA- fine interpolation controller interface with hardware design from the firmware of the machine system .

Table of contents

Summary 4-5 Abstract 5-6 directory the chart 6-9 index 9-11 first Introduction 11-18 1.1 numerical control system technology development 11-14 1.1.1 CNC system technology development course 11-12 <br / 1.1.2 CNC system development status 12-13 1.1.3 modern CNC system of trends 13-14 1.2 PC-based CNC system 14-18 1.2.1 PCNC advantage 14-15 1.2.2 the PCNC interface type 15-16 1.2.3 PCNC, operating system platforms 16-18 Chapter II USB communication protocol Introduction 18-28 2.1 USB characteristics 18-19 2.2 USB architecture overview 19-21 the 2.2.1 USB system description 19 2.2.2 bus layout techniques 19-20 2.2.3 USB host 20 2.2.4 USB devices 20-21 the 2.2.5 USB physical interface and the electrical characteristics 21 2.3 USB data transfer 21-27 2.3.1 USB communication flow model 21-22 2.3.2 USB data transfer of process 22-23 2.3.3 transfer type of the 23-24 2.3.4 USB data unit the 24-25 2.3.5 USB standard equipment of the request 25-26 2.3.6 Standard USB descriptors 26-27 2.4 USB2.0 protocol introduced 27 2.5 Chapter Summary 27-28 Chapter CNC system The overall program design 28-33 3.1 overall system design 28-30 3.1.1 PC-based open architecture 28 3.1. the 2 CNC system interpolation strategy 28-29 3.1.3 CNC system functions divided 29-30 3.2 The system developed technology roadmap 30-32 < br /> 3.2.1 development of ideas and principles the 30-31 3.2.2 system development tools the 31-32 3.3 This chapter subsections 32-33 of the CNC system hardware design 33-45 4.1 CNC system hardware components and the principle of 33-34 4.2 USB interface communication circuit design 34-39 4.2.1 USB chip select 34-35 4.2.2 USB peripheral interface controller chip D12 35-37 4.2 .3 D12 cable connector schematic 37-38 4.2.4 connection with the MCU D12 the fine interpolation controllers 38-39 4.3 design 39 -44 4.3.1 fine interpolation interpolation algorithm controller the 39-41 4.3.2 FPGA chip characteristics and selection 41-42 4.3 .3 fine interpolation controller works 42-43 4.3.4 FPGA and microcontroller interface design 43-44 4.4 Chapter Summary 44 - 45 Chapter firmware design to 45-58 the Firmware overall structure 5.1 and firmware programming ideas nbsp the 5.1.1 firmware structures 45-48 ; 45-46 5.1.2 firmware programming ideas 46-48 5.2 firmware design 48-55 5.2.1 D12 endpoint configuration 48 5.2.2 Hardware Abstraction Layer 48-49 5.2.3 D12 instruction interface layer 49-50 5.2.4 USB standard request-response 50-52 5.2.5 MAIN main program 52 5.2.6 interrupt service routine 52-55 5.3, two key issues instructions 55-57 the 5.3.1 USB transfer mode analysis and the realization 55-56 5.3.2 firmware debugging 56-57 5.4 Chapter Summary 57-58 Chapter CNC system host software design 58-80 6.1 host software design 58-62 6.1.1 host software structure 58-59 6.1.2 host system interface and functionality design 59-62 6.2 NC code editing and compiling 62 - 68 6.2.1 compiled the CNC code standards the 62-64 6.2.2 compile process 64-65 the 6.2.3 NC program segment pretreatment 65 6.2.4 NC code error checking 65 6.2.5 NC code feature recognition and coarse interpolation required data generated 65-67 <br / > 6.2.6 NC code compiler function expansion 67-68 6.3 coarse interpolation procedures designed the the 68-72 6.3.1 straight line interpolation 68 -69 6.3.2 circular interpolation the 69-72 6.4 USB Driver Design 72-77 6.4.1 WDM driver model 72-73 6.4.2 USB driver architecture the 73-75 6.4.3 USB driver design 75-77 6.5 communications program designed nbsp basic principles; 77-79 6.5.1 USB communication program nbsp 77 6.5.2 USB communication program implementation; 77-79 6.6 Chapter Summary 79-80 Chapter VII Summary and Outlook 80-82 1.1 summarizes 80-81 1.2 Further work and outlook 81-82 Reference 82-84 Acknowledgements 84-85 Master during the academic papers published 85

Related dissertations

  1. Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
    LuJie ·Xiamen University ·2014 ·Master's thesis
  2. Design and Realization of Data Acquisition and Storage System Based on STM32
    ZhaoShengFei ·University of North ·2014 ·Master's thesis
  3. Research on Measurement and Contrl System of Testing Machine Base on DSP
    WangXiaoLiang ·Qilu Industrial University ·2014 ·Master's thesis
  4. The Research of Mass Spectrum Signal Acquisition System Modularization
    FanXiaoGuang ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. New Design of the Central Control System in Reflectance Difference Spectrometer Using Field Programmable Gate Array
    XiaXiangLong ·Tianjin University ·2012 ·Master's thesis
  6. The Study of Laser Processing Movement Control and NC Programming
    FuDeLiang ·Ocean University of China ·2013 ·Master's thesis
  7. Research on the NC System Design and the Simulation of Aspheric Surface Fabrication Based on Tool Swing Feeding
    HeYuSong ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. CNC System Hardware Design and Realization Based on Embedded Processor
  9. Studies in Laser-cutting Technology CNC System Based on STEP-NC
    PanKeJiang ·Tianjin University ·2012 ·Master's thesis
  10. Design and Development of Special CNC for PCB Drilling Machine
  11. The Tap Grinder Control Model Research Based on HNC-21CNC System
    ZhanMingWei ·Hubei University ·2013 ·Master's thesis
  12. Study on Field Bus Technology with High Speed and High Precision Multi-channel CNC System
    GongQiang ·Hefei University of Technology ·2013 ·Master's thesis
  13. The Selection of Key Components and Interface Design of Pentahedral Gantry Machining Center
    ZongWeiYa ·Agricultural University of Hebei ·2013 ·Master's thesis
  14. Development and research of CNC system based on ARM and CPLD
    XinRui ·Southwest Petroleum University ·2013 ·Master's thesis
  15. Research on Cnc System of Finishing Machine Toolfor Hemispherical Resonator Based on UMAC
    GuoZhan ·Harbin Institute of Technology ·2013 ·Master's thesis
  16. Research on the Key Technology of Compiled-typed Cnc System Based on USB Communication Interface
    RenYanHai ·Harbin Institute of Technology ·2013 ·Master's thesis
  17. Research and Development of Interpolation Control on CNC System for Gear Machine
    ChengJie ·Hefei University of Technology ·2013 ·Master's thesis
  18. Research and Design of a New High-Precision Deep Hole Honing Equipment CNC System
  19. Research and Application of the CNC System for the Fully Automatic Saw Grinding
  20. Micro-Nano Grinding Machine CNC System Planning and Integration of Spindle Control and Monitoring
    TianErLiang ·Donghua University ·2014 ·Master's thesis