Font Size: a A A

The Software Development Of Embedded NC System Base On Text Instruction

Posted on:2010-02-02Degree:MasterType:Thesis
Country:ChinaCandidate:G Q LinFull Text:PDF
GTID:2131360308475322Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
The CNC system is a typical application of computer technology in the field of mechanical manufacturing integrates electronics. It contains control theory, machinery manufacturing, precision testing technology, computer technology, data processing technology and automation technology. As a core technology in the modern manufacturing, the development of digital control level has close relationship with national strategic planning, and CNC system is also an important fundamental industry which can exhibit our country's comprehensive ability.Along with the development of CNC technology, high-speed, high-precision, high-stability, flexible, network, digital and opening is a new generation developing trend and direction for CNC system. Embedded CNC system which combined with embedded technology and CNC technology has a huge advantage and meets development trends and characteristics of the new generation CNC system. This study finished based on software designing of the Embedded CNC system.Based on the "ARM+DSP" double CPU structure which is constructed by ARM9 S3C2410 microprocessor and motion control chip MCX314AL construct for software designing, this study develops a economical CNC system which has strong compatibility, good versatility and high value. According to the software development process of embedded CNC system, this paper expounds emphatically the contents:the overall design, operating system customization and driver development, motion control chip operating methods, text instruction compile, software operating modular design and implementation. Each chapter is arranged as following:Chapter 1:introduction. Introduces the present situation of numerical control technology and the development trend, and points out the research significance of this topic.Chapter 2:the overall design of embedded CNC system. In the second part, this paper chooses the proper hardware platform and operating system according to the system demand analysis, introduces Windows CE operating system, and expounds emphatically operating system customization and software modules partition.Chapter 3:the operation method of MCX314AL. Firstly it introduces its bus operate and its library function writing, and then it describes pulse driver ordered, speed control, interpolation control, and exception handling in detail. The corresponding MCX314AL interface functions are also obtained in this paper.Chapter 4:the realization of text instruction compiles. Through CNC system common instruction format text and structure analysis, it expounds emphatically NC and HPGL grammar analysis and CNC processing information extraction. Meanwhile, it also introduces compiles and conversion algorithm of the DXF text instruction.Chapter 5:software operating modular design and implementation. Firstly, this part introduces the Main interface and system operation process, then it introduced respectively four software function module design and implementation:file management function module, automatic processing function module, manual processing function module and parameter setting function module.Chapter 6:summarize and expectation. Summarize the research contents of this paper and the achievement of the subject, and point out the expectation of future research. The embedded CNC system which is described in this paper has already been developed out and proven to the market. The function and performance of this system are anticipated. It is an economical CNC system which has strong compatibility, good versatility and high value. The innovations of this paper are listed as following:First, based on the "ARM+DSP" double CPU hardware platform structure, this paper combines organic the information processing capability and management ability of ARM9 with strong data processing ability and high precise control ability of DSP.Second, using motion control chip MCX314AL and its strong control ability, good stability, simple interface can reduce cost and shorten the development cycle.Third, the text instructions strong compatibility, compatible with multiple formats text instructions:standard NC code, HP plotter HPGL format and AutoCAD DXF format.Fourth, it uses multithreading technology to achieve automatic processing function. The CNC system can real-time monitoring and real-time simulation while automatic processing. The system has power-down protection function, when suddenly loses power, ensure the processing quality.
Keywords/Search Tags:Text Instruction, Windows CE, MCX314AL, CNC System, Software Design
PDF Full Text Request
Related items