| The realization of surface packaging technology,so that the SMD welding method has become a new type of electronic components of the welding method,gradually replaced the traditional plug-in class welding,the current study of solder joints from the plug-in class solder joints gradually transformed into SMD class solder joints,compared with the traditional plug-in class solder joints,the shape of the SMD class solder joints have changed greatly,but because of the current domestic small and medium-sized micro enterprises to plug-in class circuit boards and SMD class circuit boards However,because the current domestic small and medium-sized micro-enterprise to plug-in circuit boards and chip-type circuit board mixed production,and some small circuit boards are still mainly plug-in circuit boards,so the quality inspection for plug-in type solder joints is still very necessary.This paper is based on Lab View software,for the board plug-in type solder joints produced by Dengfeng Technology(Jiangxi)Co.The device consists of three parts: imaging unit,mechanical drive unit and software processing unit,in order to improve the efficiency of circuit board inspection and reduce the manual burden.The main work of the paper is as follows:(1)The paper firstly discusses the current development status of automatic optical inspection equipment at home and abroad and the application of Lab View in industrial production,so as to determine the construction of the overall system based on Lab View software.(2)The development of the overall scheme of the testing device.In order to get clearer images,it is necessary to select suitable industrial cameras and optical lenses,and to determine the installation plan of industrial cameras and optical lenses.Analyze the impact of different color light sources on the circuit board image,select the appropriate light source,and build the imaging unit.Select the motion control card and motor in the mechanical drive unit,and complete the hardware selection of the plug-in circuit board inspection system.(3)Design of the mechanical drive unit.According to the function of each part of the transmission belt,the corresponding design is made,and the motion control card PCI-1245 is controlled by the upper computer Lab View software,so as to realize the operation of the circuit board transmission according to the different functions of each conveyor belt.(4)The image processing unit is designed based on the Vision Developments Module of Lab View software.According to the actual production circuit board solder joints are classified,and then the representative qualified solder joints are extracted with features to make standard solder joint templates,which are matched with the image of the board to be inspected through multiple template geometry matching to achieve automatic detection of solder joints. |