Font Size: a A A

Development Of Carton Samplemaker's Embedded Numerical Control System Based On Windows CE

Posted on:2012-12-25Degree:MasterType:Thesis
Country:ChinaCandidate:D XuFull Text:PDF
GTID:2131330335474249Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
The development of the embedded technology has a profound impact to the industrial control field, which has prompted the technological change and product upgrade. The new technical field, i.e., embedded numerical control(ENC) technology has been formed as the numerical control(NC) technology has also more and more combined with embedded technology. The target is to develop one embedded numerical system based on Windows CE embedded system for the carton samplemaker of this paper. The implementation of key parts of the ENC system is given, and the application software for the carton samplmaker' ENC system is developed.The current situation of carton samplemaker of domestic and international, as well as the application of embedded technology in the NC filed are analyzed firstly, then the characteristics and system structure of Windows CE is introduced in detail, furthermore, the reason why Windows CE was selected as the system platform for the carton samplmaker's NC system is also presented. With ARM9 processor S3C2440A and special motion control chip MCX314, the compact, good opening capability and expansibility hardware platform of NC system is built, and the hardware architecture of the ENC system and the circuit connection between the S3C2440A and MCX314 are introduced. Besides, the device driver of MCX314 is developed by using stream interface driver mode, and adopting one timer of S3C2440A as the interpolation timer, the real-time interpolation is realized.The interpolation method with the combination of software and hardware is adopted in the ENC system of the carton samplemaker, the coarse interpolation is realized in the host computer, while the fine interpolation is carried out by MCX314. The improved time division method is proposed, which is used to implement the coarse interpolation, and the specific calculation process of the line and arc is discussed. In order to improve the sampling precision and efficiency, the velocity look-ahead algorithm based on pre-interpolation acceleration/deceleration control is proposed, which can find the approximate-optimal velocity adaptively according to the maximum number of the look-ahead blocks and the geometric properties of the machining path, so that the high-speed and smooth transfer of feed-speed among machining path blocks can be achieved. Meanwhile, the acceleration/deceleration processing method of the single block, which can avoid the problem of difficultly predicating the deceleration point and end-point of the machining path, is also presented. The NC node is analyzed as the method of compiling & Interpretation, and with storing the compiled output dada in the form of "instructions" & "data, so that less memory is needed to realize machining data storage. In the process of actual machining, the main thread, control thread, interpretation thread, interpolation thread and simulation thread are created to realize real-time control of the ENC system, and the synchronizations and communications of the multithreads are discusses on focus.The NC system application of the carton samplemaker is developed in the environment of eMbedded Visual C++, whose partial functions are demonstrated by instance. From the actual machining process, it is proved that the ENC system of carton samplemaker developed based on Windows CE has feature of good real-time quality, steady performance, high machining efficiency and simple operating.
Keywords/Search Tags:Samplemaker, Numerical Control System, Windows CE, Time-divided Method, Look-ahead, Multithread
PDF Full Text Request
Related items