CN103308007B - The IC pin coplanarity measuring system of higher order reflection and grating image and method - Google Patents
The IC pin coplanarity measuring system of higher order reflection and grating image and method Download PDFInfo
- Publication number
- CN103308007B CN103308007B CN201310200314.1A CN201310200314A CN103308007B CN 103308007 B CN103308007 B CN 103308007B CN 201310200314 A CN201310200314 A CN 201310200314A CN 103308007 B CN103308007 B CN 103308007B
- Authority
- CN
- China
- Prior art keywords
- pin
- chip
- grating
- catoptron
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000003384 imaging method Methods 0.000 claims abstract description 58
- 230000003287 optical effect Effects 0.000 claims abstract description 46
- 238000005259 measurement Methods 0.000 claims abstract description 36
- 238000001514 detection method Methods 0.000 claims abstract description 26
- 230000007246 mechanism Effects 0.000 claims abstract description 16
- 230000001360 synchronised effect Effects 0.000 claims abstract description 11
- 238000013507 mapping Methods 0.000 claims abstract description 9
- 230000005540 biological transmission Effects 0.000 claims description 16
- 230000008569 process Effects 0.000 claims description 9
- 230000000007 visual effect Effects 0.000 claims description 8
- 230000033001 locomotion Effects 0.000 claims description 5
- 238000013461 design Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 230000011218 segmentation Effects 0.000 claims description 4
- 238000003708 edge detection Methods 0.000 claims description 3
- 229910001220 stainless steel Inorganic materials 0.000 claims description 3
- 239000010935 stainless steel Substances 0.000 claims description 3
- 230000008859 change Effects 0.000 claims description 2
- 238000001914 filtration Methods 0.000 claims description 2
- 230000002452 interceptive effect Effects 0.000 claims description 2
- 238000002347 injection Methods 0.000 claims 2
- 239000007924 injection Substances 0.000 claims 2
- 230000011514 reflex Effects 0.000 claims 2
- 238000006243 chemical reaction Methods 0.000 claims 1
- 230000002950 deficient Effects 0.000 claims 1
- 230000011664 signaling Effects 0.000 claims 1
- 238000005452 bending Methods 0.000 abstract description 25
- 238000011179 visual inspection Methods 0.000 abstract description 7
- 238000004519 manufacturing process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000004888 barrier function Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 238000000691 measurement method Methods 0.000 description 3
- 229910000679 solder Inorganic materials 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000003760 hair shine Effects 0.000 description 2
- 230000009347 mechanical transmission Effects 0.000 description 2
- 238000005476 soldering Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 208000003464 asthenopia Diseases 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000004100 electronic packaging Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 230000003746 surface roughness Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明公开了一种多级反射与光栅成像的IC引脚共面度测量系统与方法,它主要包括IC芯片自重斜向滑动进料机构、外触发同步控制电路、IC芯片引脚成像光路系统、图像采集卡与基于PC的智能视觉检测系统。IC芯片引脚成像光路系统是由两组相互独立的准平行蓝光LED光源、两个光栅、多个有机组合的反射镜和等腰三棱镜所构成。通过该成像光路系统可获取IC芯片引脚的检测光栅条纹图像。图像采集与分析软件系统对带有光栅条纹的IC芯片引脚图像进行分析,评价图像中引脚的等长性和光栅条纹扭曲特性,并根据共面度误差与光栅条纹弯曲程度的对应f函数映射关系,计算相应的共面度误差。本发明可实现IC芯片的两排引脚同时成像,只需一次成像就可完成IC芯片引脚的精密检测,并且结构紧凑,性价比高。
The invention discloses a multi-stage reflection and grating imaging IC pin coplanarity measurement system and method, which mainly includes an IC chip self-weight oblique sliding feeding mechanism, an external trigger synchronous control circuit, and an IC chip pin imaging optical path system , Image acquisition card and PC-based intelligent visual inspection system. The IC chip pin imaging optical system is composed of two sets of independent quasi-parallel blue LED light sources, two gratings, multiple organically combined reflectors and isosceles prisms. The detection grating fringe image of IC chip pins can be obtained through the imaging optical system. The image acquisition and analysis software system analyzes the IC chip pin image with grating stripes, evaluates the equal length of the pins in the image and the distortion characteristics of the grating stripes, and according to the corresponding f function between the coplanarity error and the bending degree of the grating stripes Mapping relationship, calculate the corresponding coplanarity error. The invention can realize the imaging of two rows of pins of the IC chip at the same time, can complete the precise detection of the pins of the IC chip only by one imaging, and has compact structure and high cost performance.
Description
技术领域:Technical field:
本发明专利属于电子集成电路封装领域,具体涉及一种电子封装中的IC芯片引脚的共面度测量的新方法和新系统。适用于DIP(DualIn-linePackage,双列直插),SOP(SmallOut-LinePackage,小外形封装),PFP(PlasticFlatPackage,扁平封装)等大规模集成电路引脚共面度的实时在线测量。The patent of the invention belongs to the field of electronic integrated circuit packaging, and specifically relates to a new method and a new system for measuring the coplanarity of IC chip pins in electronic packaging. It is suitable for real-time online measurement of pin coplanarity of large-scale integrated circuits such as DIP (DualIn-linePackage, dual in-line package), SOP (SmallOut-LinePackage, small outline package), PFP (PlasticFlatPackage, flat package).
背景技术:Background technique:
随着表面贴装技术的发展,贴片元器件取得了飞速的发展。在电路板表面贴装(SMT)生产工艺中,为保证贴装质量,对IC芯片引脚的尺寸与形位精度有一定的要求,特别是由对IC芯片引脚顶点到焊盘的竖直距离(共面度)有一定的精度要求。如果这种共面度超差,则器件的某些引脚跟PCB焊盘就不能紧密接触,就容易造成焊接时融化的焊锡接触不到引脚的底端,焊锡就不能把这些引脚和焊盘连接在一起形成良好的焊点,可能导致虚焊、漏焊和虚接等缺陷,最终会影响产品的可靠性。所以一般IC芯片生产厂家对芯片在引脚共面度都有严格的公差要求。With the development of surface mount technology, SMD components have achieved rapid development. In the surface mount (SMT) production process of circuit boards, in order to ensure the quality of mounting, there are certain requirements for the size and shape accuracy of the IC chip pins, especially the vertical distance from the vertex of the IC chip pins to the pad. The distance (coplanarity) has certain accuracy requirements. If this coplanarity is too poor, some pins of the device cannot be in close contact with the PCB pads, and it is easy to cause the melted solder during soldering to not touch the bottom of the pins, and the solder cannot connect these pins to the PCB pads. The pads are connected together to form a good solder joint, which may lead to defects such as virtual soldering, missing soldering, and virtual connection, which will eventually affect the reliability of the product. Therefore, general IC chip manufacturers have strict tolerance requirements on the coplanarity of the chips on the pins.
由于IC芯片的引脚很小,传统的人工检测引脚共面度的方法会导致人眼疲劳,检测结果容易受到检测人员主观因素的影响。因此,人工检测的检测精度低、检测速度慢。基于机器视觉的工业产品检测可克服上述困难,因此被广泛应用于IC芯片的表面质量自动化监测。Because the pins of the IC chip are very small, the traditional method of manually testing the coplanarity of the pins will cause eye fatigue, and the test results are easily affected by the subjective factors of the testers. Therefore, manual detection has low detection accuracy and slow detection speed. Industrial product inspection based on machine vision can overcome the above difficulties, so it is widely used in the automatic monitoring of the surface quality of IC chips.
现有的光线投影法是把IC芯片引脚朝上放置在水平光滑的平面上,通过人眼在水平方向观测最高引脚与最低引脚之间的垂直距离,其差值为共面度。光线投影法结构简单,易于操作。但是,测量者视力会影响测量的过程,主观因素大,无法保证测量的精度。The existing ray projection method is to place the pins of the IC chip upwards on a horizontal smooth plane, observe the vertical distance between the highest pin and the lowest pin in the horizontal direction through the human eye, and the difference is the coplanarity. The light projection method has a simple structure and is easy to operate. However, the measurer's vision will affect the measurement process, and the subjective factors are large, so the accuracy of the measurement cannot be guaranteed.
中国专利CN100354601C采用与三坐标测量仪等类似的测量方法进行IC引脚共面度的测量。该方法需要一个双面光滑厚度均匀的轻薄平板,用于获取器件三个最高引脚,从而建立参考平面。通过三坐标测量仪测得各引脚到参考平面的距离,从而获得共面度。但是,这种接触式测量方法只能适用于人工抽检,检测速度慢,检测精度低,并且可能会对器件造成二次损伤。Chinese patent CN100354601C uses a measuring method similar to a three-coordinate measuring instrument to measure the coplanarity of IC pins. This method requires a thin, light, smooth, uniform-thick plate on both sides to capture the three highest pins of the device to establish a reference plane. The distance from each pin to the reference plane is measured by a three-coordinate measuring machine, so as to obtain the coplanarity. However, this contact measurement method can only be applied to manual random inspection, the detection speed is slow, the detection accuracy is low, and it may cause secondary damage to the device.
中国专利CN101424511B采用光学图像采集与图像识别技术。但是该系统使用了多种贵重的光学镜片,机械机构复杂,设备成本相对较高。每次成像只能完成单排引脚的图像采集,且成像必须满足以下条件:需要进行光信号的切换;IC芯片需要停止运动;直线电机需要往返一次。以上条件都消耗宝贵的时间,导致成像速度慢,难以满足高速在线检测的要求。Chinese patent CN101424511B adopts optical image acquisition and image recognition technology. However, this system uses a variety of expensive optical lenses, the mechanical mechanism is complicated, and the equipment cost is relatively high. Each imaging can only complete the image acquisition of a single row of pins, and the imaging must meet the following conditions: the switching of optical signals is required; the IC chip needs to stop moving; the linear motor needs to go back and forth once. The above conditions all consume precious time, resulting in slow imaging speed, which is difficult to meet the requirements of high-speed online detection.
中国专利CN102052907A提出了一种基于投影莫尔条纹原理的BGA共面度三维测量系统。该系统使用两台相机同时进行成像,类似于双目机器视觉的方法。这种基于莫尔条纹的引脚共面度测量方法是使用两个相机分别进行成像,以获取平面信息和深度信息。该系统需要另外配备一个辅助软件来控制LCD,从而产生虚拟光栅;需要人为设定一个参考平面;需要高精度的运动平台实现机械定位。该方法可实现大面积、高精度实时测量。但是,该方法采用两个相机成像的结构,使得测量装置体积大,系统结构复杂,检测算法运算量大,设备成本较高。Chinese patent CN102052907A proposes a three-dimensional measurement system for BGA coplanarity based on the principle of projected Moiré fringes. The system uses two cameras for simultaneous imaging, similar to the binocular machine vision approach. This method of pin coplanarity measurement based on Moiré fringes uses two cameras to image separately to obtain plane information and depth information. The system needs to be equipped with an additional auxiliary software to control the LCD to generate a virtual grating; a reference plane needs to be set artificially; a high-precision motion platform is needed to realize mechanical positioning. This method can realize large-area, high-precision real-time measurement. However, this method adopts the imaging structure of two cameras, which makes the measurement device bulky, the system structure is complex, the detection algorithm has a large amount of computation, and the equipment cost is high.
美国专利US7012628B2采用机器视觉系统对生产线上的IC芯片引脚的共面度进行质量检测。该系统需要对左侧引脚和右侧引脚分别进行多次成像,并且都需要从不同的角度进行成像,采集得到的多帧图像进行分析,最终实现共面度的精确测量。但是,在成像过程中要求IC芯片保持静止,多次成像,致使检测速度慢。US Patent No. 7012628B2 adopts a machine vision system to perform quality inspection on the coplanarity of IC chip pins on the production line. The system requires multiple imaging of the left pin and the right pin respectively, and both need to be imaged from different angles, and the multi-frame images collected are analyzed, and finally the precise measurement of the coplanarity is realized. However, during the imaging process, the IC chip is required to keep still and imaged multiple times, resulting in a slow detection speed.
日本专利JP,2003-207326,A是基于机器视觉原理实现IC引脚的共面度测量。该方法使用两个相机分别对IC芯片两排引脚的侧视图进行图像采集。该方法要求所有引脚放置在同一支撑平面上,在测量前人为设定一条基准线。通过视觉的方法,测量所有引脚的末端到基准线的距离,并与标定值进行比较,从而实现共面度的快速测量。但是,该方法采用双相机结构,结构复杂。Japanese patent JP, 2003-207326, A is based on the principle of machine vision to realize the coplanarity measurement of IC pins. The method uses two cameras to collect images of the side views of the two rows of pins of the IC chip respectively. This method requires that all pins be placed on the same support plane, and a reference line is artificially set before measurement. Through the visual method, measure the distance from the end of all pins to the reference line, and compare with the calibration value, so as to realize the rapid measurement of coplanarity. However, this method uses a dual-camera structure, which is complex in structure.
用于IC芯片引脚共面度的高速在线测量技术一直被日本、德国等少数几个国家所垄断,因而造成该类设备价格昂贵,难以在生产线上得以广泛应用。为了满足国内外厂家对经济型共面度测量设备的需求,本发明致力于设计出一种单相机一次成像高精度的在线实时视觉IC引脚共面度测量系统。The high-speed online measurement technology for the coplanarity of IC chip pins has been monopolized by a few countries such as Japan and Germany. As a result, such equipment is expensive and difficult to be widely used in production lines. In order to meet the needs of domestic and foreign manufacturers for economical coplanarity measuring equipment, the present invention is dedicated to designing an online real-time visual IC pin coplanarity measuring system with high precision and single-camera imaging.
发明内容:Invention content:
本发明目的在于实现IC芯片引脚的共面度在线测量,克服现有共面度测量装置结构复杂、体积庞大、设备制造成本高、检测速度慢和检测精度低等缺点和不足之处。受到光线投影法和光栅成像原理的启发,提出了一种由若干相互独立的反射镜、等腰三棱镜、光栅和图像采集单元组成的共面度在线智能视觉测量装置,以适应大规模生产的需求。The purpose of the invention is to realize the on-line coplanarity measurement of IC chip pins, and overcome the shortcomings and deficiencies of existing coplanarity measurement devices such as complex structure, bulky volume, high equipment manufacturing cost, slow detection speed and low detection accuracy. Inspired by the principle of ray projection and grating imaging, a coplanarity online intelligent visual measurement device composed of several independent mirrors, isosceles prisms, gratings and image acquisition units is proposed to meet the needs of mass production .
为实现本发明的目的,本发明采用如下技术方案:For realizing the purpose of the present invention, the present invention adopts following technical scheme:
一种多级反射与光栅成像的IC芯片引脚共面度测量系统,主要包括IC芯片自重斜向滑动进料机构、外触发同步控制电路、IC芯片引脚成像光路系统、图像采集卡、摄像头、基于PC的智能视觉检测系统、光电传感器,A multi-stage reflection and grating imaging IC chip pin coplanarity measurement system, mainly including IC chip self-weight oblique sliding feeding mechanism, external trigger synchronous control circuit, IC chip pin imaging optical system, image acquisition card, camera , PC-based intelligent visual inspection system, photoelectric sensor,
所述IC芯片引脚成像光路系统包括左右对称的左侧光路及右侧光路,所述左侧光路包括左侧蓝光LED光源、左侧透射光栅、左侧第一反射镜、左侧第二反射镜、左侧第三反射镜和两底角为45度的等腰三棱镜的左半部分,所述左侧蓝光LED光源的光线由左向右平行射过左侧透射光栅后,经左侧第一反射镜反射后,光线倾斜地照射在IC芯片引脚的下表面;左侧第二反射镜以45度角布置,使来自IC芯片引脚的漫反射光线被反射后,再次垂直向上射向以45度布置的左侧第三反射镜,左侧第三反射镜反射光线由左向右水平射出后,照射在等腰三棱镜的左侧,继而垂直向上地反射至摄像机;The IC chip pin imaging optical path system includes left and right optical paths that are left and right symmetrical. The left optical path includes a left blue LED light source, a left transmission grating, a left first reflector, and a left second reflector. mirror, the third reflector on the left side, and the left half of the isosceles triangular prism with two base angles of 45 degrees. After being reflected by a reflector, the light irradiates obliquely on the lower surface of the IC chip pin; the second reflector on the left is arranged at an angle of 45 degrees, so that the diffusely reflected light from the IC chip pin is reflected and then shoots vertically upward again. The third reflector on the left is arranged at 45 degrees. After the light reflected by the third reflector on the left is emitted horizontally from left to right, it shines on the left side of the isosceles prism, and then reflects vertically upward to the camera;
所述右侧光路包括:右侧蓝光LED光源、右侧透射光栅、右侧第一反射镜、右侧第二反射镜、右侧第三反射镜、两底角为45度的等腰三棱镜的右半部分,所述右侧蓝光LED光源的光线由右向左平行射过右侧透射光栅,经右侧第一反射镜反射后,光线倾斜地照射在IC芯片引脚的下表面;右侧第二反射镜以45度角布置,使来自IC芯片引脚的漫反射光线被反射后,再次垂直向上射向以45度布置的右侧第三反射镜,右侧第三反射镜反射光线由右向左水平射出后,照射在等腰三棱镜的右侧,继而垂直向上地反射至摄像机;The right optical path includes: the right blue LED light source, the right transmission grating, the first reflector on the right, the second reflector on the right, the third reflector on the right, and an isosceles triangular prism with two base angles of 45 degrees. In the right half, the light from the blue LED light source on the right side passes through the transmission grating on the right side in parallel from right to left, and after being reflected by the first reflector on the right side, the light irradiates obliquely on the lower surface of the IC chip pin; The second reflector is arranged at an angle of 45 degrees, so that after the diffuse reflection light from the IC chip pin is reflected, it shoots vertically upward again to the third reflector on the right arranged at 45 degrees, and the light reflected by the third reflector on the right is After shooting horizontally from right to left, it shines on the right side of the isosceles prism, and then reflects vertically upward to the camera;
所述摄像机包括CCD相机和光学镜头,垂直安装在等腰三棱镜对称中心线的正上方,该摄像机中心轴线垂直于IC芯片自重斜向滑动进料机构的滑动导轨并与IC芯片引脚成像光路系统的中心平面重合;The camera includes a CCD camera and an optical lens, and is installed vertically directly above the symmetrical center line of the isosceles prism. The central axis of the camera is perpendicular to the sliding guide rail of the IC chip self-weight oblique sliding feed mechanism and is connected with the IC chip pin imaging optical path system The center plane of the coincidence;
所述IC芯片自重斜向滑动进料机构位于等腰三棱镜的正下方且该IC芯片自重斜向滑动进料机构的滑动导轨中心线垂直于IC芯片引脚成像光路系统的中心平面;The IC chip self-weight oblique sliding feeding mechanism is located directly below the isosceles prism, and the center line of the sliding guide rail of the IC chip self-weight oblique sliding feeding mechanism is perpendicular to the central plane of the IC chip pin imaging optical path system;
所述光电传感器垂直安装在IC芯片自重斜向滑动进料机构的滑动导轨中,位于摄像机视场的左边界处,当IC芯片滑过导轨穿越IC芯片引脚成像光路系统时,光电传感器向外触发同步控制电路发出位置信号,该信号经处理后,向图像采集卡和左侧蓝光LED光源、右侧蓝光LED光源发出成像信号,光源闪亮,同时摄像机瞬间拍照,所拍照片经图形采集卡传送至具有基于PC的智能视觉检测系统,所述基于PC的智能视觉检测系统用于将获取的照片进行分析处理以得到IC芯片的引脚共面度。The photoelectric sensor is vertically installed in the sliding guide rail of the IC chip self-weight oblique sliding feeding mechanism, and is located at the left boundary of the camera field of view. The trigger synchronous control circuit sends a position signal. After the signal is processed, it sends an imaging signal to the image acquisition card, the left blue LED light source, and the right blue LED light source. The light source is shining, and the camera takes a photo instantly. It is sent to a PC-based intelligent visual inspection system, and the PC-based intelligent visual inspection system is used to analyze and process the acquired photos to obtain the pin coplanarity of the IC chip.
进一步地,所述左侧第一反射镜、左侧第二反射镜、左侧第三反射镜和两底角为45度的等腰三棱镜、右侧第一反射镜、右侧第二反射镜、右侧第三反射镜均为不锈钢,其反射面或成像表面均经过超精密磨床加工而成。Further, the first reflector on the left side, the second reflector on the left side, the third reflector on the left side, the isosceles triangular prism with base angles of 45 degrees, the first reflector on the right side, and the second reflector on the right side , The third reflector on the right is all stainless steel, and its reflective surface or imaging surface is processed by an ultra-precision grinding machine.
进一步地,所述的左侧光路和右侧光路之间设置有防止光信号互相干扰的隔光板。Further, a light barrier is provided between the left optical path and the right optical path to prevent optical signals from interfering with each other.
进一步地,所述光学镜头111为远心镜头。Further, the optical lens 111 is a telecentric lens.
一种多级反射与光栅成像的IC芯片引脚共面度测量系统进行共面度测量的方法,包括步骤:A method for measuring coplanarity by an IC chip pin coplanarity measurement system with multi-level reflection and grating imaging, comprising steps:
步骤1、当IC芯片沿滑动导轨滑至光电传感器时,外触发同步控制电路302触发摄像机及图像采集卡抓拍滑动而下的IC芯片引脚256级灰度图像,作为IC芯片引脚原始处理数据;Step 1. When the IC chip slides to the photoelectric sensor along the sliding guide rail, the external trigger synchronous control circuit 302 triggers the camera and the image acquisition card to capture the 256-level grayscale image of the IC chip pin that slides down, as the original processing data of the IC chip pin ;
步骤2、实现IC芯片两排引脚的粗定位;Step 2, realizing the coarse positioning of the two rows of pins of the IC chip;
步骤3、截取感兴趣区域,建立两排引脚的子图像;Step 3, intercept the region of interest, and create a sub-image of two rows of pins;
步骤4、对两个子图像分别进行中值滤波,消除噪声信号;Step 4, carry out median filter respectively to two sub-images, eliminate noise signal;
步骤5、对两个子图像分别进行目标边缘检测,获取光栅条纹与引脚的边缘特征信号;Step 5. Perform target edge detection on the two sub-images respectively, and obtain edge feature signals of grating stripes and pins;
步骤6、采用灰度平均值作为图像的分割阈值分割图像,实现图像的二值化处理;Step 6, using the average value of the gray level as the segmentation threshold of the image to segment the image to realize the binarization of the image;
步骤7、对每一引脚进行精确定位,建立各个引脚的子图像;Step 7. Precisely locate each pin and establish a sub-image of each pin;
步骤8、分析每个引脚的子图像,跟踪光栅条纹的变化,计算出每一个引脚上光栅条纹的最大扭曲的像素距离;Step 8, analyzing the sub-image of each pin, tracking the change of the grating stripe, and calculating the pixel distance of the maximum distortion of the grating stripe on each pin;
步骤9、根据视觉系统设计的成像精度,计算光栅条纹最大扭曲的物理距离;Step 9. According to the imaging accuracy designed by the vision system, calculate the physical distance of the maximum distortion of the grating stripes;
步骤10、根据共面度误差与光栅条纹的扭曲程度对应的函数关系,计算出每一个引脚的共面度误差ei,并统计已计算的引脚数量,对应函数映射关系表示为:Step 10. Calculate the coplanarity error e i of each pin according to the functional relationship between the coplanarity error and the degree of distortion of the grating stripes, and count the calculated pin numbers. The corresponding function mapping relationship is expressed as:
f(ΔH)=max{f1(ΔH),f2(ΔH),......,fN(ΔH)}-min{f1(ΔH),f2(ΔH),......,fN(ΔH)},其中:fi为IC芯片第i个引脚的高度偏差,设引脚下偏移时fi为正,引脚上偏移时fi为负,K为理论计算值与实际值的调整系数,为IC芯片引脚的上端下表面与IC芯片引脚的下端下表面的期望距离,ΔH为高度偏差,Xi为IC芯片第i个引脚上的光栅条纹弯曲程度,di为IC芯片第i个引脚上的光栅条纹的最大弯曲距离,α为IC芯片引脚下表面的投射光线与竖直方向的夹角,γ为水平投射光线在左侧第一反射镜或右侧第一反射镜上的入射角,f(ΔH)为共面度,其数值为IC芯片引脚的高度偏差的最大值与最小值之差;f(ΔH)=max{f 1 (ΔH),f 2 (ΔH),...,f N (ΔH)}-min{f 1 (ΔH),f 2 (ΔH),... ..., f N (ΔH)}, where: f i is the height deviation of the i-th pin of the IC chip, f i is positive when the pin is shifted downward, and f i is negative when the pin is shifted upward, K is the adjustment coefficient between the theoretical calculation value and the actual value, is the expected distance between the lower surface of the IC chip pin and the lower surface of the IC chip pin, ΔH is the height deviation, X i is the bending degree of the grating stripe on the i-th pin of the IC chip, and d i is the first i-th pin of the IC chip The maximum bending distance of the grating stripes on the i pins, α is the angle between the projected light on the lower surface of the IC chip pin and the vertical direction, and γ is the horizontal projected light reflected by the first reflector on the left or the first reflection on the right The angle of incidence on the mirror, f(ΔH) is the degree of coplanarity, and its value is the difference between the maximum value and the minimum value of the height deviation of the IC chip pins;
步骤11、判定IC芯片的所有引脚子图像是否全部分析完毕,若是,则求出各个引脚的共面度误差的最大值emax=max{e1,e2,...eN}和最小值emin=min{e1,e2,...eN},若否,则返步骤8,直到所有子图像分析完毕;Step 11. Determine whether all the sub-images of the pins of the IC chip have been analyzed, and if so, calculate the maximum value of the coplanarity error of each pin e max =max{e 1 ,e 2 ,...e N } and the minimum value e min = min{e 1 , e 2 ,...e N }, if not, return to step 8 until all sub-images are analyzed;
步骤12、判定所测得的共面度误差的最大值emax和最小值emin是否在预设的共面度公差上下限范围内,若是,则判断为共面度合格,反之,为共面度不合格。Step 12. Determine whether the measured maximum value e max and minimum value e min of the coplanarity error are within the preset upper and lower limits of the coplanarity tolerance. If so, it is judged that the coplanarity is qualified; Face is not up to standard.
本发明把IC引脚的共面度测量转化为CCD相机成像后线纹长度的差异性测量,通过光栅对引脚极其细小的线纹差异图像进行扭曲和放大。通过建立共面度误差与光栅条纹弯曲程度的对应f函数关系,实现IC芯片两排引脚共面度在同一视场的测量。该方法是通过智能视觉检测系统来分析光栅条纹的弯曲程度,并根据共面度误差与光栅条纹弯曲程度的对应函数映射关系最终计算出相应的共面度误差,对应函数映射关系表示为:The invention transforms the measurement of the coplanarity of IC pins into the difference measurement of the line length after imaging by a CCD camera, and distorts and amplifies the extremely fine line difference images of the pins through a grating. By establishing the corresponding f-function relationship between the coplanarity error and the bending degree of the grating stripes, the measurement of the coplanarity of two rows of pins of the IC chip in the same field of view is realized. This method analyzes the bending degree of the grating stripes through an intelligent visual inspection system, and finally calculates the corresponding coplanarity error according to the corresponding function mapping relationship between the coplanarity error and the bending degree of the grating stripes. The corresponding function mapping relationship is expressed as:
f(ΔH)=max{f1(ΔH),f2(ΔH),......,fN(ΔH)}-min{f1(ΔH),f2(ΔH),......,fN(ΔH)},其中:fi为IC第i个引脚的高度偏差,设引脚下偏移时fi为正,引脚上偏移时fi为负,K为理论计算值与实际值的调整系数,为IC引脚的上端下表面与IC引脚的下端下表面的期望距离,ΔH为高度偏差,Xi为IC第i个引脚上的光栅条纹弯曲程度,di为IC第i个引脚上的光栅条纹的最大弯曲距离,α为IC芯片引脚下表面的投射光线与竖直方向的夹角,γ为水平投射光线在左侧第一反射镜或右侧第一反射镜上的入射角。认为高度偏差fi与条纹弯曲程度Xi成正比例关系。条纹弯曲程度越大,则共面度误差就越大。并且条纹弯曲程度与最大弯曲距离、弯曲夹角有关。通过实验标定的方法确定函数关系表达式中的比例系数K(即:根据设计要求,确定成像后获取条纹的di,实际测量得到投射光线夹角γ,接触式测量获取fi,代入上述函数映射关系表达式计算K,并多次测量计算K的平均值)。f(ΔH)命名为共面度,其数值为IC芯片引脚的高度偏差的最大值与最小值之差。f(ΔH)=max{f 1 (ΔH),f 2 (ΔH),...,f N (ΔH)}-min{f 1 (ΔH),f 2 (ΔH),... ..., f N (ΔH)}, where: f i is the height deviation of the i-th pin of the IC, f i is positive when the pin is shifted downward, and f i is negative when the pin is shifted upward, K is the adjustment coefficient between the theoretical calculation value and the actual value, is the expected distance between the lower surface of the upper end of the IC pin and the lower surface of the IC pin, ΔH is the height deviation, X i is the bending degree of the grating stripe on the i-th pin of the IC, d i is the i-th pin of the IC The maximum bending distance of the grating stripes above, α is the angle between the projected light on the lower surface of the IC chip pin and the vertical direction, and γ is the incidence of the horizontal projected light on the left first reflector or the right first reflector horn. It is considered that the height deviation f i is proportional to the degree of fringe curvature X i . The more curved the fringes, the greater the coplanarity error. And the bending degree of the stripes is related to the maximum bending distance and the bending angle. The proportional coefficient K in the functional relationship expression is determined by the method of experimental calibration (that is, according to the design requirements, determine Obtain fringe d i after imaging, actually measure to obtain projected light angle γ, contact measurement to obtain f i , substitute into the above function mapping relationship expression to calculate K, and calculate the average value of K through multiple measurements). f(ΔH) is named as the degree of coplanarity, and its value is the difference between the maximum value and the minimum value of the height deviation of the IC chip pins.
本发明以IC芯片的下平面作为定位平面。为了使得同一型号的IC芯片得到弯曲程度基本一致的光栅条纹,在成像时IC芯片不能沿X方向转动,不能沿Y方向转动,不能沿Z方向移动。In the present invention, the lower plane of the IC chip is used as the positioning plane. In order to make the same type of IC chips obtain grating stripes with basically the same bending degree, the IC chip cannot rotate along the X direction, cannot rotate along the Y direction, and cannot move along the Z direction during imaging.
本发明必须满足以下约束:对于CCD相机的每一次成像,所有镜片的位置和角度都是保持固定不变,使得光线以固定的位置和方向投射到被测物体IC芯片的引脚上。The present invention must meet the following constraints: for each imaging of the CCD camera, the positions and angles of all lenses remain fixed, so that the light is projected onto the pins of the IC chip of the measured object in a fixed position and direction.
光栅、多级反射镜及等腰三棱镜组成的IC芯片引脚成像光路系统:光源发出的光线落在IC芯片的引脚上,基于光线投影法的原理,IC芯片引脚的下表面反射光通过多级反光镜的多级反射,两列引脚的下表面图像分别在等腰三棱镜的两侧得以观测。放置在等腰三棱镜正上方的CCD相机对此进行成像。即:通过专用的成像光路,把IC芯片引脚共面度的测量转化为图像中长度的信息。在上述基础上,在光源与反射镜之间,再加入光栅,得到光栅条纹图像。如果IC芯片的引脚的共面性好,共面度误差小,光栅条纹曲线的走势就基本一致,反之,如果某个引脚上翘或者是下弯,对应的光栅条纹就会发生剧烈的扭曲和放大,与相邻引脚上的光栅条纹相比,显得尤为突出。IC chip pin imaging optical path system composed of grating, multi-level mirror and isosceles prism: the light emitted by the light source falls on the pin of IC chip, based on the principle of light projection method, the reflected light from the lower surface of IC chip pin passes through With the multi-stage reflection of the multi-stage mirror, the images of the lower surfaces of the two columns of pins are respectively observed on both sides of the isosceles triangular prism. This is imaged by a CCD camera placed directly above the isosceles prism. That is: through a dedicated imaging optical path, the measurement of the coplanarity of the IC chip pins is converted into the length information in the image. On the basis of the above, a grating is added between the light source and the reflector to obtain a grating fringe image. If the coplanarity of the pins of the IC chip is good and the coplanarity error is small, the trend of the grating stripe curve is basically the same. Distorted and enlarged, it stands out against the grating stripes on adjacent pins.
IC芯片自重斜向滑动进料机构:IC滑动的机械传送装置是以IC的自身重力作为动力源,整个机械装置倾斜布置,IC芯片沿着导轨自上而下沿斜面做直线运动。因此,要求滑动导轨表面粗糙度小,IC芯片滑动时的摩擦力才会小。由于无额外的动力源,所以整个机械结构紧凑,没有动力传输而引起的振动,有利于成像。特别是当镜头的景深较小时,也能得到清晰的图像。IC chip self-weight oblique sliding feeding mechanism: The IC sliding mechanical transmission device uses the IC's own gravity as the power source. The entire mechanical device is arranged obliquely, and the IC chip moves linearly along the guide rail from top to bottom along the slope. Therefore, the surface roughness of the sliding guide rail is required to be small, so that the frictional force of the IC chip will be small when sliding. Since there is no additional power source, the entire mechanical structure is compact, and there is no vibration caused by power transmission, which is conducive to imaging. Especially when the depth of field of the lens is small, a clear image can also be obtained.
光电传感器及其组成的外触发同步控制电路:IC芯片在倾斜的滑轨上由上至下做直线运动。当IC运动到相机设定视场范围时,光电传感器响应后,给外触发同步电路输出位置感应信号。该外触发同步电路对信号进行处理后,给相机与光源发出触发信号,最后,光源短暂闪亮,同时相机瞬间抓拍图像帧。这种在运动中频闪拍照模式,可提高检测的速度。并且解决了在狭窄空间中LED光源难以散热的问题。Photoelectric sensor and its external trigger synchronous control circuit: the IC chip moves linearly from top to bottom on the inclined slide rail. When the IC moves to the camera's set field of view, the photoelectric sensor responds and outputs a position sensing signal to the external trigger synchronization circuit. After the external trigger synchronization circuit processes the signal, it sends a trigger signal to the camera and the light source. Finally, the light source flashes briefly, and the camera snaps an image frame instantly. This strobe camera mode in motion can improve the speed of detection. And it solves the problem that the LED light source is difficult to dissipate heat in a narrow space.
基于PC的智能视觉检测系统:光栅条纹在CCD相机平面上得以成像,基于PC的智能视觉检测系统对光栅条纹图像进行分析,分析每个引脚上光栅条纹的最大弯曲距离,并根据共面度误差与光栅条纹弯曲程度的函数关系,最终求得IC芯片引脚的共面度。PC-based intelligent visual inspection system: The grating stripes are imaged on the plane of the CCD camera, and the PC-based intelligent visual inspection system analyzes the grating stripe image, analyzes the maximum bending distance of the grating stripes on each pin, and The functional relationship between the error and the bending degree of the grating stripes, and finally obtain the coplanarity of the IC chip pins.
本发明的系统与方法具有检测方法新颖、测量直观化、检测速度快、检测精度高、装置结构紧凑、设备造价便宜的特点。与现有的技术相比,具有如下特点和效果:The system and method of the invention have the characteristics of novel detection method, intuitive measurement, fast detection speed, high detection precision, compact device structure and low equipment cost. Compared with the existing technology, it has the following characteristics and effects:
(1)该检测方法新颖。该发明装置能把IC引脚共面度的测量转化为基于机器视觉的智能化测量,引脚的共面性测量在图像上映射为引脚光栅条纹扭曲程度的判断。(1) The detection method is novel. The inventive device can transform the measurement of the coplanarity of IC pins into an intelligent measurement based on machine vision, and the coplanarity measurement of the pins is mapped on the image to the judgment of the distortion degree of the grating stripes of the pins.
(2)检测速度快。由于CCD相机每次能对IC芯片两侧引脚的光信号进行同时成像,只需要一次成像就可完成整个IC芯片的检测,因而检测速度快。(2) The detection speed is fast. Since the CCD camera can simultaneously image the optical signals of the pins on both sides of the IC chip each time, it only needs one imaging to complete the detection of the entire IC chip, so the detection speed is fast.
(3)检测精度高。由于光栅条纹对IC芯片引脚共面误差具有放大作用,可提高测量的精度。(3) High detection accuracy. Since the grating stripes can amplify the coplanar error of the IC chip pins, the measurement accuracy can be improved.
(4)装置结构紧凑。IC芯片的机械传动装置是以IC芯片本身的自重作为动力源,因而不需要额外的动力装置。因此,整个机械结构设计紧凑,体积小。(4) The structure of the device is compact. The mechanical transmission device of the IC chip uses the self-weight of the IC chip itself as the power source, so no additional power device is needed. Therefore, the entire mechanical structure is compact in design and small in size.
(5)设备成本低。由于采用单相机成像光路系统。因此,设备的制造成本低。(5) The equipment cost is low. Due to the single-camera imaging optical system. Therefore, the manufacturing cost of the device is low.
附图说明Description of drawings
图1是本发明成像系统多级反射与光栅成像光路示意图。Fig. 1 is a schematic diagram of the multi-stage reflection and grating imaging optical path of the imaging system of the present invention.
图2是本发明系统主体框架示意图。Fig. 2 is a schematic diagram of the main frame of the system of the present invention.
图3是本发明外触发同步控制电路示意图。Fig. 3 is a schematic diagram of the external trigger synchronous control circuit of the present invention.
图4是本发明图像采集系统光栅条纹成像示意图。Fig. 4 is a schematic diagram of grating fringe imaging in the image acquisition system of the present invention.
图5是本发明的共面度测量方法流程图。Fig. 5 is a flow chart of the coplanarity measurement method of the present invention.
图6是本发明的单个IC引脚光栅条纹投影成像几何关系图。Fig. 6 is a geometric relationship diagram of grating fringe projection imaging of a single IC pin of the present invention.
图中所示为:100-IC芯片引脚成像光路系统,101-左侧蓝光LED光源,102-左侧透射光栅,103-左侧第一反射镜,104-隔光板,105-右侧第一反射镜,106-右侧透射光栅,107-右侧蓝光LED光源,108-右侧第二反射镜,109-右侧第三反射镜,110-CCD相机,111-光学镜头,112-左侧第三反射镜,113-左侧第二反射镜,114-IC芯片,115-三菱镜,201-基于PC的智能视觉测量系统,202-图像采集卡,301-光电传感器,302-外触发同步控制电路,303-IC芯片自重斜向滑动进料机构,304-优劣产品分类装置,401-光栅条纹,601-弯曲条纹垂直投影平面,602-光栅条纹水平投射平面。The figure shows: 100-IC chip pin imaging optical system, 101-left blue LED light source, 102-left transmission grating, 103-left first reflector, 104-light barrier, 105-right second One reflector, 106-right transmission grating, 107-right blue LED light source, 108-right second reflector, 109-right third reflector, 110-CCD camera, 111-optical lens, 112-left Side third reflector, 113-left second reflector, 114-IC chip, 115-Mitsubishi mirror, 201-PC-based intelligent visual measurement system, 202-image acquisition card, 301-photoelectric sensor, 302-external trigger Synchronous control circuit, 303-IC chip self-weight oblique sliding feeding mechanism, 304-good and bad product classification device, 401-grating stripes, 601-vertical projection plane of curved stripes, 602-horizontal projection plane of grating stripes.
具体实施方式:detailed description:
为了更好地理解本发明,下面结合附图对本发明作进一步的描述,但本发明的实施方式不限于此。In order to better understand the present invention, the present invention will be further described below in conjunction with the accompanying drawings, but the embodiments of the present invention are not limited thereto.
如图2所示,本发明的系统主体框架包括:多反射镜、光栅和等腰三棱镜构成的IC芯片引脚成像光路系统100,IC芯片自重斜向滑动进料机构303,图像采集卡202、CCD相机110和镜头111构成的成像单元,基于PC的智能视觉测量系统201,以及外触发同步控制电路302,优劣产品分类装置304。As shown in Figure 2, the system main framework of the present invention comprises: the IC chip pin imaging optical path system 100 that multi-mirror, grating and isosceles prism constitute, IC chip self-weight oblique sliding feeding mechanism 303, image acquisition card 202, An imaging unit composed of a CCD camera 110 and a lens 111 , a PC-based intelligent visual measurement system 201 , an external trigger synchronous control circuit 302 , and a product classification device 304 for superior and inferior products.
如图1所示,为本发明提出的专用光路系统:IC芯片引脚成像光路系统100,该IC芯片引脚成像光路系统100的左侧光路包括:所述左侧光路包括左侧蓝光LED光源101、左侧透射光栅102、左侧第一反射镜103、左侧第二反射镜113、左侧第三反射镜112和两底角为45度的等腰三棱镜115的左半部分,所述左侧蓝光LED光源101的光线由左向右平行射过左侧透射光栅102后,被与YZ平面垂直并与XY平面成(90°-γ)夹角安装的左侧第一反射镜103反射后,光线倾斜照射在IC芯片引脚的下表面;左侧第二反射镜113以45度角布置,使来自IC芯片引脚的漫反射光线被反射后,再次垂直向上射向以45度布置的左侧第三反射镜112,左侧第三反射镜112反射光线由左向右水平射出后,照射在等腰三棱镜115的左侧,光信号所形成的图像最终在等腰三棱镜115的左侧得以观察。As shown in Figure 1, it is a dedicated optical path system proposed by the present invention: an IC chip pin imaging optical path system 100, the left optical path of the IC chip pin imaging optical path system 100 includes: the left optical path includes a left blue LED light source 101, the left side transmission grating 102, the first reflection mirror 103 on the left side, the second reflection mirror 113 on the left side, the third reflection mirror 112 on the left side and the left half of the isosceles triangular prism 115 whose base angles are 45 degrees, the The light from the left blue LED light source 101 passes through the left transmission grating 102 in parallel from left to right, and then is reflected by the first left reflector 103 installed perpendicular to the YZ plane and at an angle (90°-γ) to the XY plane. Finally, the light is obliquely irradiated on the lower surface of the IC chip pin; the second reflector 113 on the left side is arranged at an angle of 45 degrees, so that after the diffuse reflection light from the IC chip pin is reflected, it shoots vertically upward again and is arranged at 45 degrees. The third reflection mirror 112 on the left side, after the light reflected by the third reflection mirror 112 is horizontally emitted from left to right, it is irradiated on the left side of the isosceles triangular prism 115, and the image formed by the optical signal is finally on the left side of the isosceles triangular prism 115 The side can be observed.
右侧光路与左侧光路相互独立,互不干扰,在位置上形成对称关系。其光路构件包括:右侧蓝光LED光源107、右侧透射光栅106、右侧第一反射镜105、右侧第二反射镜108、右侧第三反射镜109、两底角为45度的等腰三棱镜115的右半部分,所述右侧蓝光LED光源107的光线由右向左平行射过右侧透射光栅106,被与YZ平面垂直并与XY平面成(90°-γ)夹角安装的右侧第一反射镜105反射后,光线垂直均匀地照射在IC芯片引脚的下表面;右侧第二反射镜108以45角度布置,使来自IC芯片引脚的漫反射光线被反射后,再次垂直向上射向以45度布置的右侧第三反射镜109,右侧第三反射镜109反射光线由右向左水平射出后,照射在等腰三棱镜115的右侧,继而垂直向上地反射至摄像机。其光信号的传递过程与左侧光路完全相同,最终,右侧光信号所形成的图像在等腰三棱镜115右侧得以观察。The right optical path and the left optical path are independent of each other, do not interfere with each other, and form a symmetrical relationship in position. Its optical path components include: right blue LED light source 107, right transmission grating 106, right first reflector 105, right second reflector 108, right third reflector 109, two base angles of 45 degrees, etc. The right half of the waist triangular prism 115, the light from the right blue LED light source 107 passes through the right transmission grating 106 in parallel from right to left, and is installed perpendicular to the YZ plane and at an angle of (90°-γ) to the XY plane After being reflected by the first reflector 105 on the right side, the light is vertically and evenly irradiated on the lower surface of the IC chip pin; , shoot vertically upward again to the right third reflecting mirror 109 arranged at 45 degrees, after the light reflected by the third right reflecting mirror 109 is horizontally emitted from right to left, it is irradiated on the right side of the isosceles triangular prism 115, and then vertically upward reflected to the camera. The transmission process of the optical signal is exactly the same as that of the left optical path. Finally, the image formed by the right optical signal is observed on the right side of the isosceles prism 115 .
上述所有光学组件都是以不锈钢为原材料,所有反射面或成像表面都需要经过超精密磨床加,从而呈现出镜面效果,并牢固安装在狭窄的成像空间中。All the above-mentioned optical components are made of stainless steel, and all reflective surfaces or imaging surfaces need to be processed by ultra-precision grinding machines, so as to present a mirror effect and be firmly installed in the narrow imaging space.
CCD相机110和光学镜头111安装在等腰三棱镜115的竖直正上方,一次成像即可完成IC芯片两排引脚的图像采集。The CCD camera 110 and the optical lens 111 are installed vertically directly above the isosceles prism 115, and one imaging can complete the image acquisition of two rows of pins of the IC chip.
被检测对象IC芯片114位于IC芯片自重斜向滑动进料机构303的滑动导轨上,下方为隔光板104;IC芯片114以自身重力沿滑动导轨由上至下斜向滑行,其下表面作为定位表面并贴紧滑动导轨上表面。滑动导轨限制IC芯片114的三个自由度,即:X方向转动、Y方向转动与Z方向移动。如图3所示,当IC芯片114运动到光电传感器301上方时,外触发同步控制电路302获取到位置信号的上升沿。位置信号经过相应处理后,给图像采集卡202发出外触发抓拍信号,实现了运动中快速采集IC芯片引脚图像。The IC chip 114 to be detected is located on the sliding rail of the IC chip's self-weight oblique sliding feed mechanism 303, and the light barrier 104 is below; the IC chip 114 slides obliquely along the sliding rail from top to bottom with its own gravity, and its lower surface serves as a positioning surface and stick to the upper surface of the slide rail. The sliding rail restricts three degrees of freedom of the IC chip 114 , namely: X-direction rotation, Y-direction rotation and Z-direction movement. As shown in FIG. 3 , when the IC chip 114 moves above the photoelectric sensor 301 , the external trigger synchronous control circuit 302 acquires the rising edge of the position signal. After the position signal is correspondingly processed, an external trigger capture signal is sent to the image acquisition card 202, which realizes rapid acquisition of IC chip pin images during motion.
各个透射光栅的黑色条纹投射在IC芯片引脚的下表面。引脚下表面在高度方向的差异,会引起成像后光栅条纹产生不同程度的扭曲。如图4所示,引脚高度保持不变的部分对应的光栅条纹401为直线段,而引脚的圆弧过渡部分对应的光栅条纹401为圆滑过渡的曲线段。对于共面度误差较小的引脚,光栅条纹的最大弯曲距离几乎相等;如图4所示,第1排的第2个引脚为上翘引脚,其共面度误差大,最大弯曲距离d相比正确情况较小,并光栅条纹401以顺时针方向弯曲而成一定的θ弯曲正夹角;如图4所示,第1排的第8个引脚为下弯引脚,其共面度误差也大,最大弯曲距离d相比正常情况较大,并光栅条纹401以逆时针方向弯曲而成一定的θ弯曲负夹角。在测量前进行标定,建立起共面度误差与光栅条纹401的扭曲程度的f函数对应关系。在测量中可定量分析,求得引脚的共面度误差。The black stripes of each transmission grating are projected on the lower surface of the IC chip pins. The difference in the height direction of the lower surface of the pin will cause different degrees of distortion of the grating stripes after imaging. As shown in FIG. 4 , the grating stripes 401 corresponding to the portion where the pin height remains constant are straight line segments, while the grating stripes 401 corresponding to the arc transition portion of the pin are curve segments with a smooth transition. For pins with small coplanarity errors, the maximum bending distance of the grating stripes is almost equal; The distance d is smaller than the correct situation, and the grating stripes 401 are bent in a clockwise direction to form a certain positive angle of θ bending; as shown in Figure 4, the eighth pin in the first row is a downward bent pin, and The coplanarity error is also large, the maximum bending distance d is larger than normal, and the grating stripes 401 are bent counterclockwise to form a certain negative angle of θ bending. Calibration is performed before the measurement, and the f-function correspondence relationship between the coplanarity error and the degree of distortion of the grating stripes 401 is established. It can be quantitatively analyzed in the measurement to obtain the coplanarity error of the pins.
如图5所示,以两排16个引脚为例,根据本发明提出的多级反射与光栅成像的IC芯片引脚共面度测量方法,按以下步骤完成两排引脚的共面度检测,特别是上翘、下弯引脚的检测,包括步骤:As shown in Figure 5, taking two rows of 16 pins as an example, according to the IC chip pin coplanarity measurement method of multi-level reflection and grating imaging proposed by the present invention, the coplanarity of two rows of pins is completed according to the following steps Detection, especially the detection of upturned and downturned pins, includes steps:
步骤S501、当IC芯片沿滑动导轨滑至光电传感器时,外触发同步控制电路触发摄像机及图像采集卡抓拍滑动而下的IC芯片引脚256级灰度图像,作为IC芯片引脚原始处理数据;Step S501, when the IC chip slides to the photoelectric sensor along the sliding guide rail, the external trigger synchronous control circuit triggers the camera and the image acquisition card to capture the 256-level grayscale image of the IC chip pin that slides down, as the original processing data of the IC chip pin;
步骤S502、实现IC芯片两排引脚的粗定位;Step S502, realizing rough positioning of the two rows of pins of the IC chip;
步骤S503、截取感兴趣区域,建立两排引脚的子图像;Step S503, intercepting the region of interest, and establishing sub-images of two rows of pins;
步骤S504、对两个子图像分别进行中值滤波,消除噪声信号;Step S504, respectively performing median filtering on the two sub-images to eliminate noise signals;
步骤S505、对两个子图像分别进行目标边缘检测,获取光栅条纹与引脚的边缘特征信号;Step S505, performing target edge detection on the two sub-images respectively, and obtaining edge feature signals of grating stripes and pins;
步骤S506、采用灰度平均值作为图像的分割阈值分割图像,实现图像的二值化处理;Step S506, segmenting the image by using the average value of the gray level as the segmentation threshold of the image to realize the binarization process of the image;
步骤S507、对每一引脚进行精确定位,建立各个引脚的子图像;Step S507, accurately positioning each pin, and establishing a sub-image of each pin;
步骤S508、分析每个引脚的子图像,跟踪光栅条纹的变化,计算出每一个引脚上光栅条纹的最大扭曲的像素距离;Step S508, analyzing the sub-image of each pin, tracking the changes of the grating stripes, and calculating the pixel distance of the maximum distortion of the grating stripes on each pin;
步骤S509、根据视觉系统设计的成像精度,计算光栅条纹最大扭曲的物理距离;Step S509, according to the imaging accuracy designed by the vision system, calculate the physical distance of the maximum distortion of the grating stripes;
步骤S510、根据共面度误差与光栅条纹的扭曲程度对应的函数关系,计算出每一个引脚的共面度误差ei,并统计已计算的引脚数量,对应函数映射关系表示为:Step S510: Calculate the coplanarity error e i of each pin according to the functional relationship between the coplanarity error and the degree of distortion of the grating stripes, and count the calculated pin numbers. The corresponding function mapping relationship is expressed as:
f(ΔH)=max{f1(ΔH),f2(ΔH),......,fN(ΔH)}-min{f1(ΔH),f2(ΔH),......,fN(ΔH)}其中:fi为IC第i个引脚的高度偏差,设引脚下偏移时fi为正,引脚上偏移时fi为负。K为理论计算值与实际值的调整系数,为IC引脚的上端下表面与IC引脚的下端下表面的期望距离,ΔH为高度偏差,Xi为IC第i个引脚上的光栅条纹弯曲程度,di为IC第i个引脚上的光栅条纹的最大弯曲距离,α为IC芯片引脚下表面的投射光线与竖直方向的夹角,γ为水平投射光线在左侧第一反射镜103或右侧第一反射镜105上的入射角。认为高度偏差fi与条纹弯曲程度Xi成正比例关系。条纹弯曲程度越大,则共面度误差就越大。并且条纹弯曲程度与最大弯曲距离、弯曲夹角有关。通过实验标定的方法确定函数关系表达式中的比例系数K(即:根据设计要求,确定成像后获取条纹的di,实际测量得到投射光线夹角γ,接触式测量获取fi,代入上述函数映射关系表达式计算K,并多次测量计算K的平均值),f(ΔH)命名为共面度,其数值为IC芯片引脚的高度偏差的最大值与最小值之差,函数映射关系公式的具体推导过程如图6中所示。从单个IC引脚光栅条纹投影成像几何关系,可知直线条纹向弯曲条纹转变的过程。同时,弯曲条纹垂直投影平面601可形象反应条纹的弯曲成因,光栅条纹水平投射平面602的倾斜夹角为90°-γ,其大小会影响条纹的弯曲程度,其中N-N’为投射光线在左侧第一反射镜103上的法线;f(ΔH)=max{f 1 (ΔH),f 2 (ΔH),...,f N (ΔH)}-min{f 1 (ΔH),f 2 (ΔH),... ...,f N (ΔH)} Among them: f i is the height deviation of the i-th pin of the IC, f i is positive when the pin is shifted downward, and f i is negative when the pin is shifted upward. K is the adjustment coefficient between the theoretical calculation value and the actual value, is the expected distance between the lower surface of the upper end of the IC pin and the lower surface of the IC pin, ΔH is the height deviation, X i is the bending degree of the grating stripe on the i-th pin of the IC, d i is the i-th pin of the IC The maximum bending distance of the grating stripes above, α is the angle between the projected light on the lower surface of the IC chip pin and the vertical direction, and γ is the horizontal projected light on the left first reflector 103 or the right first reflector 105 angle of incidence. It is considered that the height deviation f i is proportional to the degree of fringe curvature X i . The more curved the fringes, the greater the coplanarity error. And the bending degree of the stripes is related to the maximum bending distance and the bending angle. The proportional coefficient K in the functional relationship expression is determined by the method of experimental calibration (that is, according to the design requirements, determine Obtain fringe d i after imaging, actually measure the angle γ of projected light, obtain f i by contact measurement, substitute the above function mapping relationship expression to calculate K, and calculate the average value of K through multiple measurements), and name f(ΔH) is the coplanarity, and its value is the difference between the maximum value and the minimum value of the height deviation of the pins of the IC chip. The specific derivation process of the function mapping relation formula is shown in FIG. 6 . From the geometric relationship of the grating stripe projection imaging of a single IC pin, we can know the process of the transformation from straight stripes to curved stripes. At the same time, the vertical projection plane 601 of the curved stripes can vividly reflect the bending causes of the stripes. The angle of inclination of the horizontal projection plane 602 of the grating stripes is 90°-γ, and its size will affect the degree of bending of the stripes, where N-N' is the projection light at The normal on the left first reflector 103;
步骤S511、判定IC芯片的所有引脚子图像是否全部分析完毕,若是,则求出各个引脚的共面度误差的最大值emax=max{e1,e2,...eN}和最小值emin=min{e1,e2,...eN},若否,则返步骤8,直到所有子图像分析完毕;Step S511, determine whether all pin sub-images of the IC chip have been analyzed, and if so, calculate the maximum value of the coplanarity error of each pin e max =max{e 1 ,e 2 ,...e N } and the minimum value e min = min{e 1 , e 2 ,...e N }, if not, return to step 8 until all sub-images are analyzed;
步骤S512、判定所测得的共面度误差的最大值emax和最小值emin是否在预设的共面度公差上下限范围内,若是,则判断为共面度合格,反之,为共面度不合格。Step S512. Determine whether the measured maximum value e max and minimum value e min of the coplanarity error are within the preset upper and lower limits of the coplanarity tolerance. If so, it is judged that the coplanarity is qualified; Face is not up to standard.
经上述步骤区分出来的共面度合格产品及共面度不合格经优劣产品分类装置304分开放置,以满足后续加工的需要。The qualified coplanarity products and the unqualified coplanarity products distinguished through the above steps are placed separately by the good and bad product classification device 304 to meet the needs of subsequent processing.
本发明的上述实施例仅仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明权利要求的保护范围之内。The above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, rather than limiting the implementation of the present invention. For those of ordinary skill in the art, other changes or changes in different forms can be made on the basis of the above description. It is not necessary and impossible to exhaustively list all the implementation manners here. All modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the claims of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310200314.1A CN103308007B (en) | 2013-05-24 | 2013-05-24 | The IC pin coplanarity measuring system of higher order reflection and grating image and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310200314.1A CN103308007B (en) | 2013-05-24 | 2013-05-24 | The IC pin coplanarity measuring system of higher order reflection and grating image and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103308007A CN103308007A (en) | 2013-09-18 |
| CN103308007B true CN103308007B (en) | 2016-01-20 |
Family
ID=49133502
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310200314.1A Active CN103308007B (en) | 2013-05-24 | 2013-05-24 | The IC pin coplanarity measuring system of higher order reflection and grating image and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103308007B (en) |
Families Citing this family (24)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103954241B (en) * | 2014-04-22 | 2017-01-25 | 华南理工大学 | IC pin coplanarity measuring system and measuring method based on structured light |
| CN105091793A (en) * | 2015-05-27 | 2015-11-25 | 深圳市维图视技术有限公司 | New parallelism detection method and apparatus |
| CN104897068A (en) * | 2015-06-24 | 2015-09-09 | 上海帆声图像科技有限公司 | Vertical height non-contact detection method and device |
| CN105865512A (en) * | 2016-05-18 | 2016-08-17 | 合肥图迅电子科技有限公司 | Double-end character visual inspection system |
| CN106770285A (en) * | 2016-12-06 | 2017-05-31 | 百奥森(江苏)食品安全科技有限公司 | A kind of food inspection Special experimental operating desk |
| CN107424149A (en) * | 2017-07-20 | 2017-12-01 | 晓视自动化科技(上海)有限公司 | The module measurement method of planeness and equipment of view-based access control model technology |
| CN108317979B (en) * | 2017-12-11 | 2019-12-10 | 天津津航计算技术研究所 | Method for measuring coplanarity of solder balls of BGA (ball grid array) packaged chip |
| CN108180858B (en) * | 2018-03-01 | 2024-03-08 | 东莞市沃德普自动化科技有限公司 | Optical system for stitch detection |
| KR102236269B1 (en) * | 2018-05-09 | 2021-04-05 | 한화정밀기계 주식회사 | Chip mounting apparatus |
| CN112739977B (en) * | 2018-10-05 | 2023-06-20 | 株式会社富士 | Measuring device and component mounting machine |
| CN109445121B (en) * | 2018-11-12 | 2020-12-08 | 中国科学院长春光学精密机械与物理研究所 | Optically Collimated Imaging System for Chip Packaging |
| CN110211183B (en) * | 2019-06-13 | 2022-10-21 | 广州番禺职业技术学院 | Multi-target positioning system based on single imaging large field of view LED lens mounting |
| CN110749282A (en) * | 2019-11-04 | 2020-02-04 | 和卓生物科技(上海)有限公司 | Suction head calibration equipment |
| CN111060036A (en) * | 2020-01-16 | 2020-04-24 | 苏州灵猴机器人有限公司 | Device for detecting straightness of cylinder |
| CN111854608B (en) * | 2020-08-21 | 2025-04-15 | 深圳市哈德胜精密科技股份有限公司 | An automatic calibration device for flip chip material picking suction head |
| CN112730453B (en) * | 2020-12-22 | 2022-07-26 | 华南理工大学 | A visual inspection device for the bottom of a multi-pin component after pin insertion |
| CN113763322B (en) * | 2021-07-30 | 2024-05-24 | 深圳顺络电子股份有限公司 | A pin coplanarity visual detection method and device |
| CN114152200A (en) * | 2022-02-07 | 2022-03-08 | 北京航空航天大学杭州创新研究院 | Chip pin measuring method and device |
| CN114577135B (en) * | 2022-03-01 | 2024-01-19 | 合肥图迅电子科技有限公司 | 3D detection method and system for chip pin warpage based on single lens |
| CN116309818A (en) * | 2022-12-20 | 2023-06-23 | 中国航发控制系统研究所 | A Region of Interest Positioning Method for 3D Dynamic Scanning Imaging |
| CN117781959B (en) * | 2023-12-26 | 2024-07-30 | 成都宏明双新科技股份有限公司 | Method for detecting and aligning Pin flatness of shielding case |
| CN118409379B (en) * | 2024-05-06 | 2025-09-16 | 中国科学院长春光学精密机械与物理研究所 | Spherical wave exposure interference field online regulation and control system and regulation and control method |
| CN118706021B (en) * | 2024-08-28 | 2024-11-05 | 南京理工大学 | High-speed global deformation measurement method for explosion test structure based on prism and plane mirror |
| CN118967695B (en) * | 2024-10-18 | 2025-06-13 | 江苏永鼎股份有限公司 | Surface structure quality detection method and system for DFB laser chip |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5452080A (en) * | 1993-06-04 | 1995-09-19 | Sony Corporation | Image inspection apparatus and method |
| US5917655A (en) * | 1998-04-06 | 1999-06-29 | Motorola, Inc. | Method and apparatus for generating a stereoscopic image |
| CN101424511A (en) * | 2008-12-16 | 2009-05-06 | 桂林电子科技大学 | Coplanarity detector for pins of IC chip |
| CN101454637A (en) * | 2006-05-23 | 2009-06-10 | 新加坡科技研究局 | Method and apparatus for bump inspection |
| CN102052907A (en) * | 2010-11-18 | 2011-05-11 | 华中科技大学 | BGA (ball grid array) coplanarity measuring system based on projection Moire principle |
-
2013
- 2013-05-24 CN CN201310200314.1A patent/CN103308007B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5452080A (en) * | 1993-06-04 | 1995-09-19 | Sony Corporation | Image inspection apparatus and method |
| US5917655A (en) * | 1998-04-06 | 1999-06-29 | Motorola, Inc. | Method and apparatus for generating a stereoscopic image |
| CN101454637A (en) * | 2006-05-23 | 2009-06-10 | 新加坡科技研究局 | Method and apparatus for bump inspection |
| CN101424511A (en) * | 2008-12-16 | 2009-05-06 | 桂林电子科技大学 | Coplanarity detector for pins of IC chip |
| CN102052907A (en) * | 2010-11-18 | 2011-05-11 | 华中科技大学 | BGA (ball grid array) coplanarity measuring system based on projection Moire principle |
Non-Patent Citations (2)
| Title |
|---|
| One-point-of-view high-precision and versatile optical measurement of different sides of objects;Gerd Stanke等;《Proceedings of the SPIE》;19990921;第3824卷;第313-316页 * |
| SO小型元件引脚共面性在线检测装置的设计与实现;谭刚林等;《红外与激光工程》;20080430;第37卷;第309-311页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103308007A (en) | 2013-09-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103308007B (en) | The IC pin coplanarity measuring system of higher order reflection and grating image and method | |
| US6879403B2 (en) | Three dimensional scanning camera | |
| CN102359758B (en) | Method for detecting appearance of semiconductor chip | |
| CN101124453A (en) | Systems for 2D and 3D Image Inspection | |
| CN102538672B (en) | CMOS (complementary metal-oxide-semiconductor)-machine-vision-based component size measuring system and measurement test method | |
| CN103575239B (en) | Light beam parallelism pick-up unit and method | |
| CN108332708A (en) | Laser leveler automatic checkout system and detection method | |
| CN101576372A (en) | Automatic detection device and detection method for size of use part of surgical instrument | |
| CN107884414B (en) | System and method for detecting surface defects of mirror surface object by eliminating influence of dust | |
| US10739132B2 (en) | Flatness detection method, flatness detection device, and flatness detection program | |
| CN110057841A (en) | A kind of defect inspection method based on transmittance structure light | |
| WO2006011852A1 (en) | An inspection system | |
| US9594028B2 (en) | Method and apparatus for determining coplanarity in integrated circuit packages | |
| CN105264329B (en) | Check device and inspection method | |
| CN110579428B (en) | A method and device for measuring and calculating the contact angle of a droplet | |
| US6525331B1 (en) | Ball grid array (BGA) package on-line non-contact inspection method and system | |
| CN111829448A (en) | An optical extensometer and uniform strain measurement method based on lens imaging and double prism reflection | |
| CN101561249A (en) | Device and method for automatically detecting fit dimension of surgical knife blade | |
| CN106030283B (en) | For examining the apparatus and method of semiconductor packages | |
| CN103234483B (en) | A kind of detection method of parallelism of camera chip and device | |
| CN111964600A (en) | High-precision dual-axis optical extensometer and measurement method based on bidirectional field separation | |
| CN2938734Y (en) | An image acquisition device for fiducial measurement and solder paste printing inspection | |
| CN107607050A (en) | Laser thickness measuring apparatus | |
| CN201522265U (en) | A visual inspection system for VCM magnetic steel | |
| CN107270823B (en) | Steel mesh thickness detection equipment and detection method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |