| CNC punch feeding system is mainly used to assist the punch in order to achieve automatic punching.The traditional stamping production process relies on human feeding and nesting,which is thus not only inefficient but also risky.To solve these problems,an automatic feeding system based on machine vision is designed.It combines the machine vision technology with the feeding process and uses the collected image information to complete the nesting algorithm design so that it could achieve a high degree of automation of feeding and nesting set.The main work of this paper is as follows:1.Based on research of the existing feeding system,the designing scheme that combines machine vision technology with the feeding system is proposed,and its feasibility is discussed overall.2.The machine vision design of this system is described in detail.Firstly,it explains the camera geometric imaging model,the purpose and principle of calibration and its implementation method.The calibration process is achieved through MATLAB simulation.Secondly,the key technologies such as perspective transformation and image segmentation in system image processing are analyzed.The role of the feature point and its extraction in the sub-pixel accuracy are highlighted.Finally,an efficient and suitable image mosaicking method is presented that utilizes the phase relationship between images.3.It analyzes the relationship and difference between actual nesting and theoretical layout problem encountered in the system,and proposes the efficient algorithm of solving the actual nesting problem while meeting the constraints of margin,spacing,time and other aspects by the idea of divide.4.On the basis of the above research,the C ++ and OpenCV libraries are used to implement the image processing and nesting algorithm.The user-friendly human-computer interaction interface is designed by Qt framework,so as to realize the software design of the host computer as a whole.The multi-task program based on the motion controller of the lower computer software is designed,and the synchronization relationship between the motion controller,the upper machine and punch die is respectively discussed.5.The prototype of the system is completed and a multi-dimensional test of this system in the actual production has been carried out.The result of this test confirms the advantages of this system are work piece identification accuracy,high utilization of nesting,system stability and that it could greatly improve the efficiency of stamping production and work piece utilization and so on. |