Research and Implement on Control Algorithm in Embedded CNC System Based on SOPC

Author
ZhengYunHua
Advisor
JiangXinHua
School
Central South University
Major
Computer Science and Technology
Classification
TG659 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2011
Downloads
64
Citations
3

Request the full text

Abstract

On the basis of SOPC (System on Programmable Chip) embedded technology, the embedded CNC (Computer Numerical Control) system with master-slave processor architecture was studied in this dissertation. And in addition, the bus interface module, crude interpolation module, fine interpolation module and wheel pulse module were designed in the slave processor system of FPGA, the control algorithm of CNC system based on SOPC was realized at the same time.Through analyzing the pulse increment interpolation and data sampling interpolation algorithms, a new algorithm named secant interpolation of arc was proposed. According to the error analysis and comparison with the tangent of chord interpolation and secant of arc interpolation algorithms, the simulation results through Matlab simulator confirmed the validity of our new algorithm, and showed that our algorithm can improve the accuracy of interpolation. Based on the basic principle of pulse incremental interpolation, a fine interpolator was devised in FPGA circuit of slave processor system, and the muliti-axis pulse output was achieved on the basis of digital integration method. And simultaneously, as for the uneven pulse output problem, a pulse uniform approach was proposed, and the control circuit was devised with the Verilog hardware description language. Through waveform simulation, it is proved to be able to solve the phenomenon of uneven pulse. And at the same time, the equalization of multi-axis control pulse was achieved through the circuit testing and field testing, which verified the function of our interpolator.After analyzing the acceleration and deceleration of the CNC system, the straight-line acceleration and deceleration algorithm was devised. And aim at mutation and inefficient phenomenon of traditional line acceleration and deceleration, a novel improved straight-line acceleration and deceleration algorithm was designed, and through the simulation based on the same curve, the results showed that the new algorithm has better efficiency than the previous algorithm. Currently, the basic principle of most of the interpolation algorithms in the CNC system is to divide the graphics into many small line segments to do interpolation by using the specified CAM software, which will lead the turning point to be generated among the small segments. So, as for the above problem of turning point, a speed limit mathematical model based on secant interpolation was proposed in this dissertation also.

Table of contents

Abstract 4-5 ABSTRACT 5-9 The first chapter 9-15 1.1 Background 9-10 1.2 Research 10-13 1.2.1 SOPC Embedded System Overview 10-11 1.2.2 embedded CNC system development and status quo 11 1.2.3 Control Algorithm Research and horizontal 11-13 1.3 research content, purpose and significance 13-14 1.4 essay structure 14 1.5 Summary 14-15 Chapter II SOPC CNC system structure design 15-25 2.1 CNC system architecture 15-19 2.1.1 Embedded CNC system hardware architecture 16-18 2.1.2 Embedded CNC System Based on SOPC hardware architecture design 18-19 2.2 six -axis embedded CNC system structure 19-24 2.2.1 SOPC-based embedded system design 20-22 2.2.2 Embedded CNC system software system design 22-24 2.3 Chapter Summary 24-25 Chapter Embedded CNC System Interpolation Algorithm 25-43 3.1 CNC interpolation principle analysis 25-34 3.1.1 pulse incremental interpolation analysis 25-30 3.1.2 Data sampling interpolation analysis 30-32 3.1.3 Parameter Interpolation analysis 32-34 3.2 thick multi-axis linear interpolation design 34-36 3.3 arc secant interpolation method design 36-39 3.4 arc secant interpolation algorithm simulation 39-42 3.5 Summary 42-43 Chapter fine interpolator based on SOPC design and implementation 43-57 4.1 fine interpolation Design 43-50 4.1.1 fine interpolation of the structure 43-44 4.1.2 interpolator buffer design 44-47 4.1.3 integrator module design 47-48 4.1.4 Timing Generator module design 48-50 4.1.5 bidirectional pulse counter module design 50 4.2 interpolation pulse equalization algorithm design 50-52 4.2.1 interpolation pulse uneven analysis 50-51 4.2.2 pulse equalization algorithm programming 51-52 4.2.3 pulse equalization algorithm simulation experiments 52 4.3 fine interpolator in the FPGA board to achieve 52-55 4.4 Summary 55-57 Chapter embedded numerical control system for motion control 57-71 5.1 deceleration control analysis 57-66 5.1.1 deceleration control type 57-61 5.1.2 linear acceleration and deceleration of the design 61-64 5.1.3 linear acceleration and deceleration algorithm 64-66 5.2 minute line segments between continuous speed control 66-69 5.2.1 slight arc segment velocity analysis 66-68 5.2.2 arc secant interpolation speed processing algorithm 68-69 5.3 Chapter Summary 69-71 Chapter VI Conclusion and Outlook 71-73 6.1 Summary 71 6.2 Prospects 71-73 References 73-77 Thanks 77-78 pursue a degree during the main research 78

Related dissertations

  1. Application of Robot in Profiled Tank Welding Based on DSP Multi-axis Motion Controller
    JiaJia ·University of Jinan ·2013 ·Master's thesis
  2. Study on Channel Estimation Techniques for OFDM System Based on Block Pilot
    ZhaoRuiDi ·Liaoning University of Technology ·2014 ·Master's thesis
  3. The Research of Bayer Format Real-time Color Image Recovery System Based on FPGA
  4. The Study of Full Functionalized Controler for Solar Water Heating System Based on FPGA
    ZhongHuiJuan ·Hebei University of Technology ·2012 ·Master's thesis
  5. The Research of CNC System of Grinder Based on Windows+RTX
    SiJinBao ·Yanshan University ·2013 ·Master's thesis
  6. Design and Implementation of Image Acquisition Processing Device Based-on CIS
  7. Design of Continuous and Automatic Computerized Quilting Machine
  8. The research and development of integrated NC experimental system
    KongYiMin ·Nanjing Normal University ·2013 ·Master's thesis
  9. Study on Trajectory Planning and Simulate of Robot with Six Degrees of Freedom
    ShenLu ·Dalian University of Technology ·2013 ·Master's thesis
  10. Research on Calculating Method of High-speed Dynamic Measurement of Time-grating Sensor
    LiuShuXiang ·Chongqing University of Technology ·2013 ·Master's thesis
  11. Research on Bayer CFA Imaging Processing Algorithm Based on Hybrid Model
    LiMingMing ·Tianjin University ·2012 ·Master's thesis
  12. Resolution Research Based on Integral Imaging Reconstruction
  13. Based on SystemVerilog CBCT Key Modules Reconstruction
    LiangChong ·Harbin Institute of Technology ·2013 ·Master's thesis
  14. Design of Bayer Image Interpolation Module of Visual Presenter Based on FPGA
    ZhaoLiJuan ·Taiyuan University of Technology ·2013 ·Master's thesis
  15. Algorithm and Research on the PAPR reducing techniques based channel estimation for OFDM
    RuanXuFen ·Jiangxi University of Technology ·2012 ·Master's thesis
  16. Research on Channel Estimation Algorithm in MIMO-OFDM Systems
    LianLiPing ·Henan University of Technology ·2011 ·Master's thesis
  17. Research on Detecting Technology of Railway Frequency-Shift Keying Signal
    MaJing ·Xi'an Technological University ·2012 ·Master's thesis
  18. Channel Estimation Technology Study Based on LTE Wireless Communication System
  19. Hardware design and implementation of time error correction and waveform interpolation algorithm in TIADC system
  20. Design and Implementation the IF Circuit Interpolation and Frequency Measurement Method of9k to3GHz Spectrum Analyzer