The Software Development of Embedded NC System Base on Text Instruction
- Author
- LinGuiQing
- Advisor
- GanMing
- School
- China University of Geosciences
- Major
- Control Theory and Control Engineering
- Classification
- TG659 Program control machine tools, CNC machine tools and machining
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 92
- Citations
- 0
Abstract
CNC system is a typical application of computer technology in the field of machinery manufacturing, which combines e-science, control theory, the number of machinery manufacturing, sophisticated detection technology, computer technology, data processing technology and automation technology in one. CNC system as the level of development of the core of modern manufacturing technology, digital technology related to the status of a national strategy is an important basic industry reflects the country's comprehensive national strength level. At present, the rapid development of the numerical control technology, high-speed, high-precision, high stability, flexible, networked, digitized, and opening of the trend and direction of the development of new generation CNC system and CNC machine tools. With the increasing development of CNC technology and embedded technology and technology integration, embedded numerical control system with both embedded technology and CNC technology combined with a huge advantage, in line with the trends and characteristics of the new generation CNC system development. The papers have been written on the basis of the development of text-based instructions embedded NC system software part. \open CNC system. In this thesis, the embedded NC system software development process, one by one the overall design, operating system migration driven development, motion control chip operation, text instruction compiler function implementation, software operating module design and implementation in detail elaborated, each chapter is organized as follows: Chapter 1: Introduction. The status and development trend of CNC technology, the research significance. Chapter II: embedded CNC system design. Embedded NC system needs analysis to determine the system's hardware and operating system selection. Introduced by using the Windows CE operating system, specifically addressed the customization of the operating system and software tasks and function modules is divided. Chapter: MCX314AL motion control chip functions. First bus read and write operations and its library functions to write MCX314AL motion control chips, highlights MCX314AL pulse driver command, speed control and interpolation, and MCX314AL exception handling and gives the corresponding interface function. Chapter 4: text instruction compilation feature. Instruction format and structure of the NC system commonly used text, highlight the word order of both texts, NC and HPGL instruction syntax analysis and processing information extraction, and DXF format text instruction processing information extraction and processing algorithms. Chapter 5: Design and Implementation of embedded NC system operation functions. First introduced the main control interface and system operation, and then introduced the Design and Implementation of a file management function module, automatic processing function modules, manual processing function module parameter setting function module four software function modules, and focuses on the automatic processing module The realization of the principle and method of real-time multi-threaded control analysis of automatic processing, power-down protection and real-time simulation. Chapter VI: Summary and Outlook, papers and topics completed the process and results are summarized, and pointed out the lack of prospect. Text-based instruction, this paper embedded NC system proven products and system functionality and performance to achieve the desired objectives, is a strong compatibility, versatility, and cost-effective economic open CNC systems. The innovation lies in: First, the hardware platform based on the the \together; dedicated DSP motion control chip MCX314AL control ability, good stability, simple interface, reduce development costs and shorten the development cycle; Third, text instructions compatibility and is compatible with a variety of formats text instructions such as the standard NC NC code, the HP plotter HPGL format and AutoCAD DXF format; Fourth, the use of multi-threading technology to achieve automatic processing function, automatic processing of numerical control system, real-time monitoring processing status, real-time simulation machining track processing suddenly can achieve power brownout protection, and quality assurance process.
Table of contents
Author 5-6
summary 6-8
ABSTRACT 8-12
first chapter 12-15
1.1 CNC technology overview 12
1.2 CNC system trends sources, significance and main content of 12-13
1.3 topics 13-15
1.3.1 sources and research significance of the subject the thesis 13
1.3.2 13-15
overall design of embedded NC system 15-27
2.1 System Requirements 15-16
2.2 hardware platform architecture 16-19
2.2.1 hardware overall structure 16 - 17
2.2.2 ARM microprocessor S3C2410 17-18
2.2.3 Motion Control Chip MCX314AL 18-19
2.3 software overall design 19-27
2.3.1 embedded real-time operating system the 19-20 2.3.2 Windows CE system
custom 20-24
2.3.3 software features modules of design 24-27
Chapter motion control chip MCX314AL function to achieve 27-42
3.1 MCX314AL's, drive development and bus read and write operations 27-30 < br /> 3.1.1 MCX314AL the driven development and bus operation nbsp the 27-29
3.1.2 MCX314AL, library functions; 29-30
3.2 MCX314AL pulse, driven command and application 30-33
3.2.1 pulse drive command the 31-32
3.2.2 drive command interface functions achieve 32-33
3.3 speed control speed curve 33-36
the 3.3.1 speed control 33-35
3.3.2 speed curve 35-36
3.4 Interpolation 36-40
3.4.12 shaft of 3-axis linear interpolation 37-38
3.4.2 circular interpolation 38-39
3.4 .3 continuous interpolation 39-40
3.5 MCX314AL's, exception handling the 40-42
3.5.1 interrupt 40-41
3.5.2 Emergency stop 41
3.5.3 software and hardware limit 41-42
Chapter text instructions compiled function to achieve 42-57
4.1 text instructions compiled function analysis 42-43
4.1.1 NC code compiler uses 42
4.1.2 compiler principle and function block diagram 42-43
4.2 NC / HPGL format text instructions compiled 43-50
4.2.1 instruction reads the 43-44
4.2.2 lexical, parsing 44-46
4.2.3 extraction processing information 46-50
4.3 DXF text instructions compiled 50-57
4.3.1 DXF instructions read 50
4.3.2 DXF file storage structure 50-51
4.3.3 ENTITIES in entity segment 51-57
Chapter embedded NC system realization of the operating functions 57-68
5.1 embedded NC system master interface nbsp the; 57-58
5.1.1 master interface introduced 57
5.1.2 system operation process 57-58
5.2 file management function module nbsp the; 58-60
5.2.1 graphical preview function 59-60
5.2.2 document management and instruction edit 60
5.3 automatic processing function module 60-66
5.3.1 multi-threaded real-time control 60-62 <br / the> 5.3.2 Automatic processing thread the the 62-63
5.3.3 Brownout monitor thread and brownout protection to achieve the 63-64
5.3.4 Real-time monitoring thread 64-66
5.4 manual processing function module 66
the 5.5 parameter setting function modules 66-68
Chapter Summary and Outlook 68 -70
6.1 summarizes the 68-69
6.2 Looking 69-70
Acknowledgements to References 70-71
71-73
Related dissertations
- Research on the Open NC Systems Based on PC
- Design and Implementation of Motion Controller and PLC Controller Based on Windows CE
- Development of Carton Samplemaker’s Embedded Numerical Control System Based on Windows CE
- Development and Application about Data Management System of PVC Glove Production Line
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- Research on Distributed Control System of Batch Dyeing
- Research on Control Technology of CNC Wire Bending Robot with Single-head and Multi-mode
- The Development and Application Research on Emotional Design in Garment Cad Software
- The Design of a User Software for a Portable Infrared System on Windows CE Operating System
- A Study of Agile Method SCRUM in the Mobile Game Development for Small Team
- The Design and Realization of the Windows CE Vehicle Navigation System Modem Driver
- Research on the Agricultural Biological Resources Utilization Information System Based on Webgisc
- The Performance Evaluation of Commercial Banks and System Software Development
- Research and Realization on Selection of Mine Water Drainage Equipment
- Qualification Test Software Development for Civil Full Flight Simulator
- Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
- Design and Implementation of Agriculture to Super Message Docking System for Bureau of Commerce of Chengdu City
- Design and Implementation of Medical Equipment Management System