Font Size: a A A

Numerical Control System Based On Embedded Linux And MCX314

Posted on:2010-05-16Degree:MasterType:Thesis
Country:ChinaCandidate:S Y ChenFull Text:PDF
GTID:2121360278960575Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
With the more and more important place of the manufacturing among the national economy, it becomes urgent to improve the efficiency, reduce the cost and better the quality. Numerical control system which acts as a central technology of modern manufacturing can demonstrate the level of a country's manufacturing. It's high time to research and implement a kind of numerical control system of high precision, high efficiency and high stability to accelerate development of the manufacturing of our country. MCX314 is designed by NOVA electronics companies from Japan to achieve a 4-axis motion control IC. The IC can be used to control the stepper motor or pulse-controlled servo motor-driven 4-axis position, velocity, interpolation.This paper proposes a new research of numerical control system based on the motion control chip of MCX314 on the embedded Linux platform. The S3C2410 of SAMSUNG is the CPU of the system which controls the MCX314 via bus. S3C2410 is an embedded microprocessor including ARM920t core with many interfaces which are helpful to the design. Some of the MCX314 circuit is included in the paper, such as pulse output circuit, limit switch. There are also some optical isolation circuits to get rid of the undesired signal.The embedded Linux OS is successfully planted into the hardware platform, including BOOTLOADER, inner core and file system. A specific file system based on which the relative drivers are designed according to the hardware circuits is designed to meet the demand of the numerical system.Having finished the hardware and software of the numerical control system, the ingredients and features of the NC codes are introduced and analyzed. This paper then states the specific implementation steps and methods. Next it analyzes the grammar of the NC codes based on non-context and lists the possible errors. Lastly the compiler of the NC codes is successfully developed using the specific tool of morphology analyzer called FLEX and grammar analyzer called BISON. FLEX and BISON which are exclusive lexical analysis tools LEX and YACC syntax analysis tools for the GNU-specific version . At the same time, this paper also introduced the FLEX with LEX and YACC and BISON points of similarities and differences.When completion all the work above, System integration can be done with the integrated debugger, First of all, we process hardware testing, The purpose of the hardware test is to determine the design of hardware circuit whether we can work properly. Including whether the normal power supply, whether from David Crystal. End of hardware in the test circuit, we can get our compiler BootLoader, core file zImage, and the file system to burn to the hardware system. Debugging whether the system is correct or not .after the System is activated, the driver will be able to carry out testing, at the final we combinat of stepper motor, the preparation of a section of NC program, testing procedures for lexical and syntax analysisTo sum, the numerical control system this paper introduces is designed on the basis of the research method of the embedded system. Compared with the traditional PC control, the system characterizes low power consumption, low cost, high stability and high performance, which indicates the trend and requirement of the development of the numerical control system.
Keywords/Search Tags:MCX314, embedded system, Linux, numerical control system, compiler
PDF Full Text Request
Related items