Font Size: a A A

Research On 3D Simulation System Of NC Turning On The Basis Of OpenGL

Posted on:2013-05-17Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhaoFull Text:PDF
GTID:2231330371457256Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
Correctness of mechanical parts depend on validity of NC program during CNC machining. The traditional method is trial-manufacture or trajectories display, but these methods made the cost increased, production cycle is extended and the effect is poor, these methods is circumscribed. At present, the effect is poor because equipment’s amount is limited in CNC training in the vocational education and training institutions. In addition, if beginners operate directly on the nc lathe before don’t know whether NC code is validity or not, the equipment is would be damaged and operator would easily injuried.Through the simulation system was researched and developed, the problem of production’s trial-manufacture can completely has been solved, With this system, vocational education and training institutions can develope the virtual experiment, overhead, The development of simulation system provide the reference for other similar simulation system and the design of word processing software.The simulation system mainly studied and solved the following questions: Firstly, the topics studied on CNC lathe machining process. The system requirement had been analysed, function module of system had been designed, and the function of each module had been analysed, framework of simulation system had been bulit, the function of each module had been ensured.Secondly, the processing algorithm of NC code data flow had been studied and realized. The NC code lexical analysis, grammar analysis, semantics analysis had been completed. The structure of object code had been bulit. The method that store object code with CObArray Class had been proposed.Again, work mechanism of the Visual c++ platform had been researched, initialization technology of the OpenGL graphic system in MFC had been studied, machining environment modeling had been researched and finished in OpenGL graphics system. The animation technology, simulation algorithms and the tool path algorithm had been studied, one kind of simplified simulation algorithm had been proposed, the lathe-turning simulation and calculation of tool path had been finished.Finally, the design of man-machine interface and handle of error code and error operating process had been researched and finished in the simulation system.Through validated a practical NC program, the lathe-turning simulation system can handle correctly the NC file, translate code, display machining environment, realize dynamic simulation machining process and handle abnormalities, human-machine interaction. The demand of lathe-turning simulation system had been satisfied. The function of the system had been realized.
Keywords/Search Tags:Lathe-turning simulation, Code translation, Algorithm, Tool path, Visual C++, OpenGL
PDF Full Text Request
Related items