Research and Development of CNC Based on DSP and FPGA
- Author
- WeiLiJun
- 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
- 2008
- Downloads
- 583
- Citations
- 4
Abstract
With the CNC system of universal and miniaturization , the numerical control system as the core digital signal processor (DSP) and field programmable gate array (FPGA) is becoming an important direction of development of the CNC system . On the one hand , in order to the DSP as CNC system core processor , able to play the high-speed computing and flexible programming expertise , to facilitate the realization of complex real-time motion control algorithm to improve the control performance of the system ; On the other hand , the use of the FPGA to a large number of logic control the function and the peripheral interface circuit integrated therein , can be effectively reduced system volume, to improve the reliability and stability of the CNC system . This article , based on a comparative study of numerical control system on different hardware platforms , design and development of a DSP and FPGA as main control unit of the four-axis closed loop CNC system platform . First , on the basis of the needs analysis , planning and design of the CNC system hardware solution , the implementation of DSP and FPGA peripheral circuits , digital pulse output circuit , the output circuit of the analog encoder signal acquisition circuit , general-purpose I / O interface circuit discussed in detail , and to complete the design of the system hardware . To improve the numerical control system hardware integration and reliability in the FPGA to achieve high-speed S-shaped acceleration and deceleration smooth motion control programming of FPGA design , hardware fine interpolation , spindle speed control DAC interface , encoder signal processing circuit , the hand pulse signal processing circuit , digital I / O signal processing circuit and dual-port RAM function module , debug , test and passed . Finally , based on the hardware platform , modular design methods and C language programming CNC system software design , including the DSP-side motion control module test procedures and the human-machine interface microcontroller control software , and complete the main functions of the system hardware and software FBI .
Table of contents
Abstract 4-5
ABSTRACT 5-11
first chapter 11-17
1.1 CNC system development 11-13
1.2 CNC system trends 13-14
1.3 CNC system hardware platform implementations 14-15
1.4 The purpose of this study and the content 15-17
the CNC system overall program design 17-23
the
the 2.1 NC system functional requirements and technical indicators 17-18
2.2 CNC system hardware platform overall program 18-22
2.2.1 central control unit design 18-19
2.2.2 motor drive module design 19-20
2.2.3 encoder interface module design 20
2.2.4 manual pulse generator interface module design 20
the
the 2.2.5 switch input / output interface module design program 20-21
2.2.6 man-machine interface module design 21-22
2.3 CNC system software planning 22
2.4 This chapter Summary 22-23
Chapter CNC system hardware platform design 23-35
3.1 DSP hardware circuit design 23-26
3.1.1 DSP power circuit design 24
3.1.2 DSP power supply monitoring and reset circuit design 24-25
3.1.3 DSP external expansion SRAM circuit design 25-26
3.2 FPGA hardware circuit design 26-28
3.2.1 FPGA power module design 26-27
3.2.2 FPGA configuration module design are found; 27-28
3.3 communication module circuit design 28-29
3.4 digital pulse output circuit design 29
3.5 analog output circuit design 29-32
3.6 encoder interface circuit design 32-33
3.7 manual pulse generator module circuit design 33
3.8 digital input / output interface module circuit design 33-34
a 3.9 some hardware anti-jamming measures 34
3.10 This chapter Summary 34-35
Chapter CNC system motion control algorithm 35-43
4.1 motion control acceleration and deceleration technology 35-36
4.2 acceleration and deceleration control algorithm 36-40
4.2.1 trapezoidal acceleration and deceleration 36-38
4.2.2 S curve acceleration and deceleration 38-40
4.3 in hardware interpolation control digital integration method 40-42
4.4 This chapter Summary 42-43
the
FPGA internal each functional module 43-59
5.1 FPGA About 43-46
5.1.1 FPGA development environment and the Design Process Description 43-45
5.1.2 FPGA design principles 45-46
5.2 fine interpolation circuit design 46-48
5.2.1 The timing generation circuit 46-47
5.2.2 fine interpolation decoding circuit 47
5.2.3 DDA integrator circuit 47-48
5.3 air travel of the S-shaped acceleration and deceleration control circuit design 48-52
5.3.1 master module 48-51
5.3.2 DDA integrator module 51-52
5.3.3 pulse counter latch module 52
5.4 encoder interface module circuit design 52-54
5.4.1 fourth harmonic subdivision and identified to the circuit design 53-54
5.4.2 reversible counter design 54
5.5 MPG interface module circuit design 54-55
5.6 DAC interface circuit design 55-56
5.7 input / output switch signal processing circuit design 56-57
5.8 dual-port RAM module design 57-58
5.9 This chapter Summary 58-59
the
underlying software design Chapter CNC system 59-67
6.1 DSP-side software design 59-61
6.1.1 main program module 59-60
6.1.2 Based on dual-port RAM both DSP and MCU communication module are found; 60-61
6.1.3 Motion Control system function module test procedures 61
6.2 microcontroller end software design 61-66
6.2.1 file manager interface design 61-62
6.2.2 Dry run interface design 62
6.2.3 auto-run interface design 62-63
6.2.4 manually run the interface design 63-64
6.2.5 back to zero interface design 64
6.2.6 MDI interface design 64
6.2.7 knives interface design 64-65
6.2.8 parameter setting interface design 65-66
6.3 software anti-jamming measures 66
6.4 This chapter Summary 66-67
Chapter VII Summary and Outlook 67-69
7.1 text summarizes 67-68
7.2 Research Prospects 68-69
Reference 69-72
Acknowledgements 72-73
studying for a master's degree during the academic 73-74
Appendix A CNC system hardware motherboard PCB diagram with the man-machine interface Figure 74
Related dissertations
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- Modeling and Implementation of Motor Function Module Based on PLCopen
- The Design and Research of Embedded Multi-axis Control System
- 5D film motion experience platform motion control card design
- The research and design of a multi legged robot motion control system
- The Research on the Ptical Mirror Reflector Single CCD Panoramic Imaging System
- The Research and Implementation of the M-GNSS Positioning Receiver
- Design and implementation of universal software radio platform based on multi core DSP
- Research of Image Data Caching and Processing in Monitoring System
- Design and Implementation of the Hardware Platform for Broadband Digital Beamforming
- Design and Realization of Multi-antenna Attitude Measurement Receiver Based on GPS
- Research on Preprocessing Technology in CNC System
- Research and Development of Glasses Grinding System Based on DSP
- Study on NC Complex Curve and Surface Interpolation Technology
- Research on Open Numerical Control System Based on GM-400 Motion Controller
- The Research on Rtx-Based PC-NC Software
- Research and Realization of Monitoring System in Combination Switch Based on Fourier Series Algorithm
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP