Font Size: a A A

Research And Implementation Of On-line Collision Detection Function In Open CNC System

Posted on:2018-04-03Degree:MasterType:Thesis
Country:ChinaCandidate:H Z LiFull Text:PDF
GTID:2321330542487259Subject:(degree of mechanical engineering)
Abstract/Summary:PDF Full Text Request
With the national industry continues to move towards the intelligent,high-speed,flexible direction,the traditional industry will gradually be replaced by new industries.CNC technology,as a measure of a country’s industrial development standards,has aroused the concern at home and abroad.At present,the open CNC system is a hot and difficult research in the field of numerical control at home and abroad.Compared with the traditional CNC system,open CNC system can be customized according to the needs of the corresponding functional modules,but also has the advantages of compatibility and interchangeability.The final essence of the development of open CNC system is reflected in the specific CNC machining,how to ensure the correctness of NC program block in CNC machining is a prominent problem.NC program block error can easily cause the tool path to change,resulting in tool and machine itself,tool and fixture and other unnecessary collision.This collision will not only cause damage to the workpiece and equipment,but also may cause casualties.So in the CNC machine tools to add collision detection technology is very necessary.In view of the above problems which may occur in the actual processing and based on the PA numerical control system as the technical background,in this paper,a set of numerical control system used in three-coordinate CNC milling machine with simulation and collision detection function is developed and the coordinate CNC milling machine.Firstly,according to the general characteristics and module attributes of the open CNC milling machine system,the functional planning is carried out,and the PA system is deeply researched,and the overall framework of the NC system with simulation function and collision detection function is designed.Secondly,understand the advantages and disadvantages of various bounding boxes,master the intersecting test principle of various bounding boxes,and design a bounding box with the good tightness that can fit the shape of most parts.Thirdly,combined with computer graphics and visualization technology,the humanmachine interaction(HMI)module of CNC system is developed twice.The hardkey system,softkey system and human-computer interaction window layout are modified,and the XML language is used to achieve the function of softkey.The “3DMAX” software is used to convert the assembly generated in the “Solidworks” modeling software into a 3DS file,then the structure of 3DS file is analyzed and read,and the machine model is parsed by OpenGL.Finally,the use of C + + programming language combined with OpenGL and MFC technology,developed with the simulation function and collision detection function ActiveX control.The control embedded in the PA system for integration,registration.In the PA open CNC system to achieve the simulation function and collision detection function.Using the simulation function of the numerical control system to monitor the movement of the machine,simulate the actual machining process of the machine.Combined with the collision detection algorithm to avoid collision,cost savings,protect the safety of personnel.
Keywords/Search Tags:open CNC system, PA numerical control system, collision detection, simulation function, Spheres-K-DOPs bounding box algorithm
PDF Full Text Request
Related items