The Development of Experimental Teaching CNC Simulation System Base on X-Y Table

Author
ZhangPeiMing
Advisor
ZhangLei
School
Northeastern University
Major
Mechanical Manufacturing and Automation
Classification
TG659-4 Program control machine tools, CNC machine tools and machining
Degree
Master's thesis
Year
2009
Downloads
85
Citations
1

Request the full text

Abstract

Innovation and application of numerical control technology, to promote the needs of CNC personnel, the drawbacks of traditional training model, in order to better train the staff of the CNC technology, developed a set of the NC primary education the experimental teaching CNC XY table The simulation system. The system is simple, clear module to set up, easy operation, suitable for colleges and universities and vocational colleges as the mechatronics curriculum design and CNC technology experimental teaching. The system consists of PC, microcontroller control board, stepper motor drives and XY table, microcontroller control board and stepper motor drives, modular design, fabrication and experimental testing, object-oriented and based on Microsoft's Visual Basic 6.0 NC simulation programming software development for XY table operating system, complete communication technology for the system, interpolation techniques, stepper motor control technology, NC code compiler technology and systems for anti-jamming technology research. The system is designed to combine the PC, suitable for large-scale program to calculate and microcontroller advantages apply to site control, PC and MCU running online work, both send and receive data through the RS-232 serial communication interface. Interpolation operation of a PC for system, data processing, and two-dimensional simulation and NC code simulation is set up on a PC, position control, manual control of the control module. Microcontroller used to respond to a variety of PC machine control commands to issue commands to the stepper motor drive, drive stepper motor running. The NC simulation operating systems modular design concept, the operator can add the appropriate hardware and software function modules on demand to extend the system performance. Successful XY table to run real-time data acquisition and two-dimensional simulation system, the operator can easily understand the operational status of the XY table and precise positioning. The system has been integrated debugging, to determine the operating parameters of the system, build the NC code for the system and the methods of compiling. The system is able to adapt to the NC code, two-dimensional graphics simulation run, has formed a teaching experiment environment to provide students with a good simulation of the operating environment, mechatronics technology and CNC technology can enrich teaching content, improve teaching effect for NC teaching and training has obvious practical value. This article is divided into eight chapters. Chapter 1 is an introduction part of the background and significance of issues arising; Chapter 2 describes the overall structure of the system; Chapter 3 describes the system hardware circuit structures process; Chapter 4 examines the system stepper motor control strategies and methods; 5 Chapter study and discussion of a number of technical problems in the system set up; Chapter 6 describes the design and functionality of the workbench operating system; Chapter 7 describes the system to build and debug; Chapter 8 Summary and Outlook.

Table of contents

Abstract 5-6 Abstract 6-12 Chapter 1 Introduction 12-17 1.1 topics generated background 12-15 overview of the development of the 1.1.1 CNC technology 12-13 1.1.2 CNC personnel needs analysis 13-14 the main problems in 1.1.3 NC teaching 14-15 1.1.4 NC teaching should focus on the experimental teaching 15 1.2 topics presented and the significance of experimental teaching 15-16 1.2.1 issues raised 15-16 1.2.2 subject experimental teaching meaning 16 1.3 topics content 16-17 Chapter 2 system overall program design 17-25 2.1 system design parameters 17-18 2.2 system consisting 18-20 2.2.1 PC machine 18 2.2.2 MCU are 18-19 2.2.3 stepper motor drive 19-20 2.2.4 X-Y table 20 2.3 system coordinate system 20-21 2.4 system functions 21-22 2.5 system code rules 22-25 2.5.1 system block format 22 2.5.2 system function code 22-25 Chapter 3 system hardware design 25-39 3.1 system test circuit structures 25 3.2 stepper motor drive design 25-31 3.2.1 Control object 25-26 3.2.2 stepper motor driver select 26-27 3.2.3 drive hardware circuit design 27-28 3.2.4 annular distributor 28 3.2.5 signal processing stage 28-29 3.2.6 voltage isolation interface 29 3.2.7 driver circuit 29-30 3.2.8 freewheeling circuit 30-31 3.3 MCU are hardware circuit design 31-36 3.3.1 MCU Selection 32 3.3.2 microcontroller power supply circuit 32-33 3.3.3 MCU clock circuit 33-34 3.3.4 MCU reset circuit 34-35 3.3.5 MCU I / O port allocation circuit 35 3.3.6 microcontroller serial communication circuit 35 3.3.7 microcontroller JTAG circuit 35-36 the the 3.4 electronic components package selection and production 36 3.5 PCB board production 36-38 3.6 printed circuit board welding 38-39 Chapter 4 stepper motor operation control 39-49 4.1 stepper motor pulse distribution 39-41 4.1.1 software method pulse distribution 39-40 4.1.2 through hardware method to achieve the pulse distribution (based PMM8713) 40-41 4.2 stepper motor speed control 41-43 4.2.1 software law 42 4.2.2 Timer Interrupt Method 42-43 4.3 stepper motor position control 43-44 4.4 stepper motor acceleration and deceleration control 44-49 4.4.1 stepper motor acceleration and deceleration process 44-45 4.4.2 deceleration curve discrete processing 45-46 4.4.3 stepper motor acceleration and deceleration control parameter calculation and achieve 46-49 Chapter 5 system a number of key technology research 49-68 5.1 PC Serial Communication Design 49-54 5.1.1 RS-232 standard interface bus 49 5.1.2 RS-232 electrical characteristics and level conversion 49-50 5.1.3 C8051F020 microcontroller serial communication characteristics 50-51 the the 5.1.4 serial communication baud rate settings and produce 51-52 5.1.5 PC and microcontroller serial communication to achieve 52-54 5.2 interpolation to achieve 54-61 5.2.1 point-by-point comparison method the linear interpolation 55-58 5.2.2 point-by-point comparison method arc interpolation 58-61 5.3 NC code compiler 61-65 5.3.1 NC code error analysis 61-62 5.3.2 NC code compiler implementations 62-63 5.3.3 NC code error handling principle achieve 63-65 5.4 system anti-jamming measures 65-68 5.4.1 system hardware anti-jamming technology 65-66 5.4.2 system software anti-jamming technology 66-68 Chapter 6 XY table CNC simulation system 68-83 6.1 development software 68 the of 6.2 XY workbench NC simulation system overall design 68-77 6.2.1 login screen 68-69 6.2.2 Communication setting 69-70 6.2.3 XY table CNC simulation system 70-73 6.2.4 XY table manually control system 73-74 6.2.5 XY worktable position control system 74-75 6.2.6 XY table deceleration control system 75-76 6.2.7 XY workbench-by-point comparison Linear interpolation simulation system 76 6.2.8 XY the bench by-point comparison circular interpolation simulation system 76-77 6.3 Access database technology system applications 77-80 6.3.1 Visual Basic and Microsoft Access connection and operation methods 77-78 6.3.2 Access-based user management system 78-79 6.3.3 Access-based workbench save 79-80 6.4 help system 80-83 6.4.1 Help system's functional design 80 6.4.2 theme of the help system 80-81 6.4.3 help system implementations 81-82 6.4.4 help system and the operating system to connect 82-83 Chapter 7, system integration and debugging 83-89 7.1-system integration 83 7.2 system debugging 83-86 7.2.1 MCU control version of the communication function debugging and I / O port debugging 84 7.2.2 stepper motor drives debugging 84 7.2.3 support platform and easy penholder making 84-85 7.2.4 system simulation 85-86 7.3 system parameters to determine 86-87 7.4 system debugging results 87 7.5 system software performance optimization 87-89 Chapter 8 Conclusions and Outlook 89-90 8.1 Conclusion 89 8.2 Looking 89-90 the References 90-94 Acknowledgements 94

Related dissertations

  1. Reserch on Open CNC Wire Cutting Platform's Trajectory Control Technology and Decoding Module
    TangMing ·Harbin Engineering University ·2010 ·Master's thesis
  2. Study on Nano-meter Interpolation and Control for Numerial Control System
    YeWei ·Beijing Jiaotong University ·2010 ·Doctoral dissertation
  3. The Development of Experimental Teaching NC System Based on AT89S52
    YinChunHua ·Hefei University of Technology ·2007 ·Master's thesis
  4. Research of High Speed and Accuracy CNC System for Carving and Milling Machine
    TanYong ·Hefei University of Technology ·2004 ·Master's thesis
  5. Windows economic type CNC milling system control software - based research
    ZhangRu ·Northwestern Polytechnical University ·2004 ·Master's thesis
  6. Design and Development of HS-WEDM System Based on Windows
  7. Research and Develop on NC System for Sealing Machine
  8. The Numeric Control System Research of 3-RRRT Parallel Manipulator
    LeiNaiHua ·Tianjin University of Technology ·2005 ·Master's thesis
  9. Research on Multi-axis Motion Controller Based on CAN Bus
    LiGang ·Xi'an University of Engineering ·2012 ·Master's thesis
  10. Design and Experiment of a Motion Control System Based on FPGA
    ZhouZan ·South China University of Technology ·2013 ·Master's thesis
  11. Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
    LuJie ·Xiamen University ·2014 ·Master's thesis
  12. Research on Applications of Multiresolution Analysis in Geometry Modeling
  13. Research on Surface Reconstruction from Triangular Mesh
    LiWeiTao ·Shandong University ·2013 ·Doctoral dissertation
  14. The Interpolation and Conformal Smooth Stitching of NURBS Curves and Surfaces
    DengPeiSen ·Wuhan University of Technology ·2013 ·Master's thesis
  15. Point Spread Function Obtaining Research Based on the Linear Space Variant Image Restoration
    HaoLing ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Research on Pilot-Aided OFDM Channel Estimation Methods
    MaMingZhuo ·Northeastern University ·2011 ·Master's thesis
  17. Research on Pilots Based Channel Estimation Technology for Compatible Single-sideband Modulation OFDM Transmission with Direct Detection
    ShuQingLong ·Hunan University ·2013 ·Master's thesis
  18. Design and Implementation of Audio Resampling Algorithms
  19. Design of Interpolation Type Time-to-digital Converter
    ZhangGenMiao ·Hunan University ·2013 ·Master's thesis
  20. Key Technologies for Diffusion Tensor Imaging
    CaiMengChen ·Tianjin University ·2012 ·Master's thesis