Design of Control System of CNC Cutting Machine Based on ARM&FPGA

Author
LiuWeiHong
Advisor
NieSongHui
School
Xiangtan University
Major
Mechanical Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2010
Downloads
76
Citations
0

Request the full text

Abstract

Numerically-controlled Vibrating Knife Cutting Machine is a kind of automatic equipment applied in processing of flexible products. And as a typical application of electromechanical integration technology, it has wide application prospect in clothing, shoes, luggage industry, handbags, aircrafts, ships, automobiles, etc. In this paper, based on ARM7 & FPGA embedded controllers and NC technology, a 4-axis numerically-controlled vibrating knife cutting machine is designed. The system uses microcomputer as the host computer for processing of graphics data format conversion and cutting documents management. On the other hand, the embedded dual-core control platform basing on ARM7 & FPGA is applied as the lower computer. Then we can control the motion of X axis, Y axis, Z axis, and U axis in the cutting machine by DSP core (DSP core has been designed based on FPGA large-scale gate array circuit). The system can be used as a teaching experimental system and it also can be used in NC cutting, cutting, carving, drawing, and the field of inkjet system.In this paper, Control circuits, design and program implementation of control software of numerically-controlled vibrating knife cutting machine, and algorithms, motion control processing, command parsing, and communications processing methods of the system were studied. The main research works are as follows:(1)Based on studies and feature comparisons of similar products at home and abroad, functional requirements of control system was proposed and its overall framework was built. The working principle of OSM860 motion control system was discussed and its debugging program was designed. And methods for realization of motion control were also studied.(2)NC acceleration and deceleration curves, interpolation algorithms and NC instructions were discussed, and the mathematical model of acceleration and deceleration curves were established. Based on analysis of specific speed control requirements of light industry, a new speed control method on processing of line, curve and arc was proposed to realize a smooth micro-line segment of high-speed machining.(3)ased on object-oriented software development methodology, a communication and data conversion software was designed to realize communication and batch data management of control system between the host computer and the lower computer. (4)Based on process-oriented software development methodology, control function modules of the cutting machine was implemented by programs.The control system applied the dual-core design scheme of ARM7 & FPGA, which takes full advantage of rich resources in ARM7 embedded system and system processing capabilities have been improved greatly. And we can use the functionalities and rich library functions provided by motion control system to fulfill a variety of NC functions to improve development efficiency and shorten the development cycle.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-15 a 1.1 research background and research significance 9-10 1.2 research status 10-14 1.2.1 basic situation 10-11 1.2.2 Cutting machine control system technology 11-14 1.3 Research objectives and content 14-15 Chapter 2 CNC cutting the overall design of the control system 15-30 2.1 overall system design research 15-16 2.2 mechanical part of the work process and structural characteristics 16-18 2.2.1 mechanical structure design 16 2.2.2 Machinery workflow 16-17 2.2.3 cropped head of the briefs 17-18 2.3 control part of the design requirements 18 2.3.1 CNC system requirements 18 2.3.2 CNC system select 18 2.4 control part of hardware circuit design 18-20 2.5 movement control software design principles 20-22 2.5.1 Cutting machine control system software structure 20 2.5.2 Crop the basic run process control system for the main program 20-21 2.5.3 ARM to communicate with the host computer 21 2.5.4 curve cut painting process optimized for speed control 21-22 2.6 ARM FPGA control circuit 22-25 2.6.1 OSM860 motion control platform briefly 22-23 2.6.2 FPGA-based DSP cores 23-25 2.7 UART asynchronous serial communication interface 25-27 2.7.1 Communication interface options 25 2.7.2 RS-232 serial port 25 2.7.3 line connection methods 25-26 2.7.4 asynchronous serial communication 26 2.7.5 serial interrupt program 26-27 2.8 communication and data conversion program 27-28 2.9 Summary 28-30 Chapter 3, the overall design of the CNC software 30-37 3.1 software development platform 30-32 3.1.1 modular design methods 30 3.1.2 development tools 30 3.1.3 CodeWarrior Integrated Development Environment 30-31 3.1.4 ADS debugger 31-32 3.2 software analysis and design 32-34 3.2.1 of the software development process 32-33 3.2.2 software process flow 33 3.2.3 software overall framework 33-34 3.3 main program module design and implementation of 34-36 3.3.1 workflow 34-35 3.3.2 coding to achieve 35-36 3.4 Summary 36-37 Chapter 4 motion control module algorithm 37-65 4.1 machine initialization module 37-38 4.1.1 workflow 37 4.1.2 coding to achieve 37-38 4.2 LCD display module 38-40 4.2.1 workflow 38-39 4.2.2 basic character font 39 4.2.3 coding to achieve 39-40 4.3 keyboard processing module 40-42 4.3.1 Description 40 4.3.2 determinant keyboard works 40 4.3.3 keyboard scanning process 40-41 the 4.3.4 keyboard scan program modules 41-42 4.4 WGL instruction decoder module 42-44 4.4.1 decoding processing flowchart 42-43 4.4.2 read instruction data function 43-44 the the 4.5 instruction decoder handler design 44-46 4.5.1 decoding processing functions described 44-45 4.5.2 the decoding processing function coding to achieve 45-46 4.6 function instruction program design 46-51 4.6.1 IN instruction processing function 46-47 4.6.2 U instruction processing function 47-48 4.6.3 D instruction processing function 48-49 4.6.4 G instruction processing function 49-50 4.6.5 AR instruction processing algorithms 50-51 4.7 C instruction processing algorithms 51-56 4.7.1 polygonal approximation Circle algorithm 51-54 the the 4.7.2 circle C command handling functions 54-55 4.7.3 Circle C instruction program to achieve 55-56 4.8 movement control processing module 56-64 4.8.1 Description 56 4.8.2 linear motion control processing 56-58 4.8.3 curve machining processing 58-64 4.9 Summary 64-65 Chapter 5 movement control test instance 65-70 5.1 Overview 65-66 5.2 drive test module 66-67 5.3 running instance 67-70 5.3.1 song drive control test running instances 67-68 5.3.2 WGL data format Introduction 68 5.3.3 graphical cutting instance 68-70 Chapter 6 Summary and Outlook 70-72 6.1 summarizes 70 6.2 Looking 70-72 the References 72-75 Appendix A catalog of published papers (during the study for a degree) 75

Related dissertations

  1. Research and Design of Embedded Control System of Lower Limb Rehabilitation Robot
    GuoJianLi ·Hebei University of Technology ·2013 ·Master's thesis
  2. AGV car design and development of image recognition and motion control technology based on
  3. Research on Automatic Vision Solder Paste Printer of Embedded Ethernet Control and Communication System
    LuJiaHui ·South China University of Technology ·2013 ·Master's thesis
  4. RTU Design of Irrigation Information Collection System
  5. Design of Continuous and Automatic Computerized Quilting Machine
  6. Research on the Embedded Motion Controller Based on OMAP-L138
    FuHao ·Guangdong University of Technology ·2013 ·Master's thesis
  7. The Design of Control System for NC Carpet Sampling Machine
    ChenZuoHong ·Donghua University ·2013 ·Master's thesis
  8. Research on Embedded and Reconfigurable Numerical Control System
    ZhuGaoFeng ·Guangdong University of Technology ·2007 ·Master's thesis
  9. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  10. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  11. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  12. Video Surveillance System Based on Embedded Technology Research
  13. Design of Video Monitoring System Based on the Embedded
  14. The Design of Embedded Network Video Surveillance System Based on ARM9
  15. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  16. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  17. Data Acquisition System of Cavern Based on Embedded Web Server
  18. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  19. Research on the Indoor Air Monitoring System Based on Embedded Linux
  20. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis