|
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.
|