| The electric discharge machining(EDM) belongs to the category of special machining,which is an auxiliary process way to general metal-cutting machine tool and is widely used in mold processing domains. Graphical interface system is the important component of EDM control system, which is in charge of managing and monitoring the whole EDM system. The system researched can read the numerical control(NC)information compiled on PC through the USB interface, carry on the pretreatment,realize Human-Machine interaction using keyboard and LCD,transmit control data to interpolation unit or receive the field information from the slave machine to analyze and process which can display on the LCD.The current development situation and development trend of EDM are firstly introduced in the beginning of the thesis,and then the thought of applying the embeded system to EDM control system is put forword. After that ,the basic working principle ,the structure of machine tool and processing characteristic of EDM are introduced. Based on that ,the system functional demand and structural design have been analized. Simultaneously the deciphering plan of numerical control code and the selection of control parameter are proposed.The design of hardwara is based on 32-bit embeded ARM microprocessor LPC2290,which have deployed the starting style of microprocessor. Then the core circuit of system including power source,the clock circuit,the reset circuit, the memory and the JTAG module have been designed. Afterwards the LCD module,keyboard,USB interface and the CAN bus module have been extended, which have also elaborated their connecting and working priciple. Finally the reliablity desigh of hardwara circuit is summarized.The softwara is based on embeded real-time operating systemμC/OS-II,which have been completed thansplanting to LPC2290 ,expanding the softwara system,dividing and dispatching the task program. Considering the end-user operating conveniences, MiniGUI which is a kind of Graphical User Interface support system is used to develop HMI. The steps and key techniques of development of graphical intercace have been elaborated .Finally the functional surface have been realized. In order to thansmit data with slavy machine reliably,the CAN bus is used to communicate in the control system. The communication priciple of CAN bus have been expatiated and communication format also have been specified at last.Lastly,the whole research work of system have been summarized and what we need to perfect in future have also been proposed which can be reference for further development. |