Research and Implementation of CNC Hardware Interpolation System Based on FPGA
- Author
- YangJingWei
- Advisor
- WangZuoZuo
- School
- Xi'an Technological University
- Major
- Mechanical and Electronic Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 105
- Citations
- 0
Abstract
The structure of "MCU+FPGA" is adopted in the CNC hardware interpolation system to reduce the complexity of traditional hardware interpolation circuit, also it is overcome by using software interpolation the shortcoming of low speed, poor real-time, low reliability, it can also take advantage of the characteristics of FPGA with repeated programming to realize the reconstruction of the system to facilitate the development of open CNC system requirements. MCU, as the core control chip of hardware interpolation system, is mainly used to control the start, stop and data transmission.Because the internal procedures are written in C language, the program of readability and portability is increased. FPGA, as the core chip of hardware interpolation system, is used to complete the interpolation work of the entire numerical control system. The modular design concept is adopted in this hardware interpolation system, the ISA bus module, the dual-port RAM module, the MCU module, the FPGA interpolation module, the voltage conversion module and the configuration of FPGA module, etc. In the Quartus119.0environment, using the principle of DDA interpolation algorithm, the procedures of linear interpolation, the procedures of arc interpolation, the composite interpolation procedures of linear and circular, the composite interpolation procedures of circular and circular are written in VHDL language, then the interpolation module is generated after compiling and simulating, and these interpolation modules are connected to create schematics. The acceleration and deceleration control and the feed rate control are achieved by using the accumulation and frequency division method in the FPGA. A host computer and motion control card data communications is achieved by using the dual-port RAM. The problmes of communication software programming of the host computer software and motion control card in C++Builder have been resolved by introducing WinIO components.The result of the debugging shows that the CNC hardware interpolation system can not only complete the general linear circular interpolation, but also complete the linear and circular composite interpolation and the circular and circular composite interpolation function. The Characteristics of repetitive programming of FPGA makes the hardware interpolation circuit as convenient and flexible as software, thus the reconstruction of the system can be realized by changing device programming momentarily. Or modify the interpolation function according to the needs of further improvement, which greatly facilitates the maintenance and upgrading of the system, thus it shows the system maintenance and upgrades.
Table of contents
Summary 3-5
Abstract 5-10
1 Introduction purpose and significance of sources and studies 10-16
1.1 topics sources 10-11
1.1.1 topics purpose and meaning 10
1.1.2 research topic 10-11
1.2 CNC interpolation system at home and abroad Research Status research status 11-13
1.2.1 foreign CNC interpolation system 11-12
1.2.2 Research Status domestic CNC interpolation system the development trend of 12-13
1.3 CNC system main contents and chapters 13-14
1.4 of this research arrangements 14-16
1.4.1 of the the main content of the research of 14-15
1.4.2 of the research section arrangements 15-16
determine nbsp 2 CNC system functional requirements and overall program ; 16-20
function 2.1 CNC system requirements 16
2.1.1 motion Control Card functional requirements 16
2.1.2 PC software functional requirements overall program 16
2.2 CNC system hardware interpolation to determine 16-18
2.2.1 four hardware interpolation platform 16-17 <br hardware design 18-20
2.3.1 CNC system ; / > OK nbsp 2.2.2 CNC hardware interpolation platform ; 17-18
overall structural design nbsp 2.3 CNC system ; nbsp 18-19
software architecture design nbsp 2.3.2 CNC system ; 19-20
hardware design nbsp 3 NC system ; 20-31
3.1 the overall design of the hardware architecture CNC system 20
3.2 CNC system hardware structure of each module design 20-29
3.2.1 ISA bus circuit module 20 -22
3.2.2 ISA bus driver and decoding circuit module 22-23
3.2.3 dual-port RAM circuit module 23-26
3.2.4 microcontroller circuit module 26-28
3.2.5 supply voltage conversion circuit module 28-29
3.2.6 FPGA chip configuration circuit module 29
3.3 schematic structure of the entire hardware 29-30
3.4 PCB circuit board design and production 30-31
4 FPGA interpolation module design and simulation 31 -54
4.1 FPGA development software and VHDL language Introduction 31-33
4.1.1 Quartus Ⅱ software 31
4.1.2 VHDL language Introduction 31-33
4.2 DDA interpolation algorithm and the basic principles of 33-34
4.2.1 DDA interpolation algorithm 33
the basic principle 4.2.2 DDA design and simulation 33-34
4.3 speed control module principle 34-36
4.3.1 speed control 34-35
4.3. 2 speed control module and simulation in FPGA 35-36
4.4 linear interpolation module design and simulation 36-42
4.4.1 DDA linear interpolation process 36-39
4.4.2 using VHDL language part of the program DDA linear interpolation 39-41
4.4.3 linear interpolation module in FPGA implementation and simulation 41-42
4.5 circular interpolation design and simulation module 42-48
4.5.1 DDA circular interpolation process 42-46
4.5.2 using VHDL language part of the program DDA circular interpolation 46-48
4.5.3 circular interpolation module in FPGA design 48
4.6 complex linear and circular interpolation module design composite 48-51
4.6.1 linear and circular interpolation process 48-49
4.6.2 The use of VHDL language of linear and circular interpolation of a composite part of the program 49-51
design nbsp 4.7 arc and arc complex interpolation module ; 51-54 principle composite
4.7.1 arcs and arc interpolation 51-52
4.7.2 using part of the program nbsp VHDL language and circular arc complex interpolation ; software design nbsp 52-54
5 NC system ; overall structural design nbsp 54-62
5.1 CNC system software ; 54-55
5.2 PC communication between the software and motion control card design 55-57
5.3 motion Control library functions designed 57-60
5.3.1 linear interpolation motion function 57
5.3.2 circular interpolation function 57-58
5.3.3 sports complex interpolation function 58-60
5.4 CNC management software design 60-62
6 CNC machine control cabinet installation and commissioning 62-67
6.1 CNC machine control cabinet installation 62-64
6.2 debugging nbsp motion control card ; 64-66
6.2.1 motion control card hardware debugging 64-65
6.2.2 motion control card software debugging 65 debugging between -66
6.3 PC and the next crew communication program 66-67
7 Conclusion 67-68
research summary 7.1 of 67
lack nbsp 7.2 of this research ; 67-68
References 68-71
studying for a master's degree theses published 71 - 72
Thanks 72-75
Appendix a motion control card schematic 75-76
Appendix B motion Control Card PCB board design 76 -77
Appendix C CNC control cabinet wiring diagrams 77
Related dissertations
- The research and design of CAN bus controller based on FPGA
- Chaotic Encryption System Research Based on FPGA
- Design and Implementation of FPGA- MCS-51 nuclear - based VHDL language
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- The Foam Insulation Greenhouse Monitoring System Design
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA