A method for detecting crimped solder joints and measuring arc height between crimped solder joints

By collecting and processing two-dimensional and three-dimensional images, positioning and measuring the height of semiconductor components, it solves the problem of inconsistent line and arc height measurements caused by differences in processes and materials from different manufacturers, and achieves accurate detection results.

CN114264243BActive Publication Date: 2024-10-25深圳明锐理想科技股份有限公司
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202111670972.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-10-25
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

In the semiconductor automatic optical inspection industry, differences in processes and materials between different manufacturers lead to different measurement methods for crimping solder joints and measuring the arc height between crimped solder joints, resulting in detection errors.

Method used

By collecting two-dimensional and three-dimensional images of the measured object, the position of the component to be tested is located, the characteristics of the reference and test components are extracted, binarization processing and contour extraction are performed, and the component height data is obtained by combining the three-dimensional image scanning, and the reference component height is reduced by Go test component height to get accurate arc height.

Benefits of technology

It effectively solves the problem of different arc height measurement methods caused by different manufacturers' processes and materials, achieves accurate measurement of arc height between crimped solder joints and measured crimped solder joints, and reduces detection errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114264243B_ABST
    Figure CN114264243B_ABST
Patent Text Reader

Abstract

The present invention relates to an optical detection field, and in particular to a semiconductor automatic optical detection field. The method collects a two-dimensional image of the object to be measured, locates the positions of the reference element and the element to be measured in the two-dimensional image, collects a three-dimensional image of the object to be measured according to the positions of the reference element and the element to be measured, obtains the height data of the reference element and the element to be measured according to the three-dimensional image, and calculates the height of the element to be measured by a preset method. The method can effectively solve the problem of different methods for measuring the height of crimped solder joints and line arcs between crimped solder joints caused by different processes and materials of different manufacturers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical detection, and in particular to the field of automatic optical detection of semiconductors. Background Art

[0002] In the semiconductor automatic optical inspection industry, die bond bonding is a very common process.

[0003] Die also refers to the heart of the integrated circuit. It is a small piece of "grain" with circuits cut from the wafer. The gold layer on the back is fixed to the gold-plated surface in the center of the lead frame by instantaneous high-temperature mechanical compression welding or epoxy resin bonding. This is called Die Bond, which completes the first step of IC internal circuit packaging. Due to the differences in processes and materials from different manufacturers, the final result will be a very different detection object. The setting method and detection method of the corresponding detection device are also different. This results in that the detection device produced by one manufacturer can only detect the products of the corresponding manufacturer, and errors may occur when detecting products produced by other manufacturers.

[0004] Therefore, the present invention proposes a solution for detecting crimped solder joints and measuring the height of wire arcs between crimped solder joints, which can effectively solve the problem of different measurement methods for crimped solder joints and measuring the height of wire arcs between crimped solder joints caused by different processes and materials of different manufacturers. Summary of the invention

[0005] An object of an embodiment of the present invention is to provide a method for detecting crimped solder joints and measuring the height of the arc between the crimped solder joints.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a method for measuring the height of a component, comprising:

[0007] Collecting a two-dimensional image of the object being measured;

[0008] Locating the position of the component to be measured of the object to be measured in the two-dimensional image;

[0009] According to the position of the component to be measured, collecting a three-dimensional image of the object to be measured;

[0010] According to the three-dimensional image, the height data of the component to be measured is obtained, and the height of the component to be measured is obtained by a preset method.

[0011] Optionally, according to the component height measurement method, locating the position of the component to be measured of the object to be measured in the two-dimensional image includes:

[0012] The component to be tested includes a reference component and a test component

[0013] Extracting characteristic colors of the reference element and the test element in the object to be tested;

[0014] Marking the characteristic color in the two-dimensional image of the object to be measured to generate a characteristic map of the object to be measured;

[0015] Binarizing the feature map to obtain a binary map of the object under test;

[0016] Contour extraction is performed on the binary image, and the maximum contour is the location of the reference element and the test element in the object to be measured.

[0017] Optionally, according to the component height measurement method, collecting the three-dimensional image of the measured object includes:

[0018] Acquiring the three-dimensional image by a three-dimensional image acquisition device;

[0019] The width of the two-dimensional image is compared with a preset scanning width of the three-dimensional image acquisition device, the scanning times of the three-dimensional device are determined, and the object to be measured is scanned along a preset direction.

[0020] Optionally, according to the component height measurement method, the acquiring of the three-dimensional image of the measured object further includes:

[0021] Determine the length of each scan of the 3D device;

[0022] The scanning length is the first complete test element detected in the scanning process within the preset scanning width range as the starting point and the last complete test element detected in the scanning process as the end point;

[0023] Optionally, according to the component height measurement method, the acquiring of the three-dimensional image of the measured object further includes:

[0024] During the first scanning process, if there are incomplete test components within the preset scanning range, the next scanning starts from the first incomplete test component.

[0025] Optionally, according to the component height measurement method, obtaining the height data of the component to be measured by a preset method specifically includes:

[0026] According to the three-dimensional image, average height data of the area where the test element is located and height data of the reference element are obtained, and the height data of the test element is obtained by subtracting the height data of the reference element from the average height data.

[0027] Optionally, according to the component height measurement method, obtaining average height data of the area where the test component is located specifically includes:

[0028] Obtaining height data of the area where all test elements are located in the three-dimensional image;

[0029] The height data are arranged in a preset sorting manner to obtain the first N height data, and the average height data is obtained based on the first N height data.

[0030] In order to solve the above problems, an embodiment of the present invention provides a component detection device, including:

[0031] Two-dimensional image acquisition module: collects two-dimensional images of the object being measured;

[0032] Image processing module: locates the position of the component to be tested of the object to be tested in the two-dimensional image;

[0033] Three-dimensional image acquisition module: acquires a three-dimensional image of the object to be measured according to the position of the component to be measured;

[0034] Central processing module: obtains the height data of the component to be measured according to the three-dimensional image, and obtains the height of the component to be measured by a preset method.

[0035] In order to solve the above problems, an embodiment of the present invention provides an electronic device, which specifically includes:

[0036] at least one processor; and,

[0037] a memory communicatively connected to the at least one processor; wherein,

[0038] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any one of the component height measurement methods.

[0039] To solve the above problem, an embodiment of the present invention provides a computer program product including program code, characterized in that when the computer program product runs on an electronic device, the electronic device executes any one of the component height measurement methods.

[0040] The present invention collects a two-dimensional image of the object to be tested and a three-dimensional image of the object to be tested, locates the position of the component to be tested in the object to be tested according to the two-dimensional image, analyzes and determines the height data of the test component in the component to be tested by intercepting the area where the component to be tested is located in the three-dimensional image, and then detects the height data of the reference component in the component to be tested by the method, and subtracts the test component height data from the reference component height data, and the result obtained is the height data of the component to be tested.

[0041] Through the above method, the problem of different methods for measuring the crimping solder joints and the arc height between the crimping solder joints caused by different processes and materials of different manufacturers can be effectively solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0043] Figure 1 This is an application scenario diagram of a component height measurement method provided by an embodiment of the present invention;

[0044] Figure 2 is a flow chart of a component height measurement method provided by an embodiment of the present invention;

[0045] Figure 3 is a flow chart of a component position locating method provided by an embodiment of the present invention;

[0046] Figure 4 is a flow chart of a three-dimensional image acquisition method provided by an embodiment of the present invention;

[0047] Figure 5 is a structural schematic diagram of a component detection device provided by an embodiment of the present invention;

[0048] Figure 6 is a schematic structural diagram of an image acquisition device provided by an embodiment of the present invention;

[0049] Figure 7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention; DETAILED DESCRIPTION

[0050] In order to facilitate the understanding of the present invention, the present invention is described in more detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that when an element is described as "fixed to" another element, it can be directly on another element or there can be one or more centered elements therebetween. When an element is described as "connected" to another element, it can be directly connected to another element or there can be one or more centered elements therebetween. The orientation or positional relationship indicated by the terms "upper", "lower", "inner", "outer", "bottom" etc. used in this specification is based on the orientation or positional relationship shown in the accompanying drawings, only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0051] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification and in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0052] In addition, the technical features involved in different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0053] Figure 1 This is an application scenario of the method for measuring the arc height between crimped welding points provided by the embodiment of the present invention. Figure 1 As shown, in this application scenario, a 2D image acquisition device 11, a 3D image acquisition device 12, a measured object 13, a carrier 14 and a motion control device 15 are included.

[0054] The 2D image acquisition device 11 can be any type of 2D imaging device that has the capability of acquiring 2D images and can acquire a clear image of the measured object 13. In this embodiment, the 2D image acquisition device 11 can acquire a clear 2D image of the measured object.

[0055] The 3D image acquisition device 12 can be any type of 3D imaging device that has a 3D image acquisition capability and can acquire a clear image of the measured object 13. In this embodiment, the 3D image acquisition device 12 can acquire a clear 3D image of the measured object.

[0056] The 3D image acquisition device 12 can be divided into active and passive, monocular and binocular, parallax, triangulation principle and time of flight. The active and passive, active means that the camera will actively emit a pattern or laser to detect the distance between the object and the camera. For example, the 3D line scan laser camera provided in the embodiment of the present invention, the camera will project a laser line, and then form an image through a line array camera. The difference between monocular and binocular is whether a single camera or multiple cameras are used for imaging. The parallax principle must be a binocular camera, and the 3D line scan laser camera and the monocular structure 3D camera used in the embodiment of the present invention use the triangulation principle to calculate the distance between the camera and the object 13 to be measured, and ToF uses the flight time to calculate the distance between the camera and the object 13 to be measured.

[0057] The object to be tested 13 is any object that needs to be tested. The object to be tested 13 has corresponding specific components for providing the system with characteristic information. The back object 13 is placed on the carrier 14.

[0058] The carrier 14 is a platform for placing and fixing the object to be measured. The platform may have multiple detectors to send relevant data information to the control device.

[0059] In some embodiments, the carrier is equipped with an object detection device. When the object to be detected 13 is placed at a specific position of the carrier, the system automatically fixes the object to be detected and triggers relevant measurement method steps.

[0060] The motion control device 15 can be any type of electronic device that has logic operation capability and can call executable computer program instructions to execute one or more steps. In this embodiment, the motion control device 15 can run a program for measuring the arc height between crimped welds, which is composed of a series of detection processes, and give corresponding detection results, indicating one or more arc height data in the object being measured.

[0061] In some embodiments, the motion control device 15 is connected to the 2D image acquisition device 11 and the 3D image acquisition device 12 via a bus, and can control the 2D image acquisition device 11 and the 3D image acquisition device 12 to collect image information of the object to be measured 13 fixed on the carrier 14, and the motion control device 15 calculates the corresponding data information of the object to be measured 13.

[0062] It should be noted that the motion control device 15 is a system device platform integrating multiple functions, rather than being limited to a single structural device. It can be composed of multiple device components that have communication connections with each other and are used to perform different functions, or it can be a device that integrates multiple functional modules.

[0063] For example, it may also include multiple MPUs and multiple storage devices for storing relevant data information and one or more different interactive devices for collecting user instructions or displaying and feeding back relevant information to the user. These interactive devices include but are not limited to: input keyboard, display screen, touch screen and speaker, etc.

[0064] In some embodiments, the motion control device 15 can be configured with a display screen and an input keyboard. The user can understand the currently being executed detection process and the detected data information through the display screen, and issue corresponding user instructions to pause the detection process or expand detailed data information by clicking on the input keyboard.

[0065] It should be noted that Figure 1 The application scenarios shown are for illustrative purposes only. Those skilled in the art may add or omit one or more of the devices according to actual needs, without limitation. Figure 1 shown.

[0066] according to Figure 1 In the application scenario shown, the embodiment of the present invention provides a method for measuring the arc height between crimped solder joints. The measurement method can be executed by a motion control device, which is convenient for users to quickly obtain the data required by the measured object 13.

[0067] Figure 2 The flow chart of the method for measuring the arc height between the crimping welding points provided by the embodiment of the present invention. Figure 2 As shown, the method for measuring the arc height between the crimping welding points includes the following steps:

[0068] 21. 2D image acquisition equipment acquires two-dimensional images

[0069] The two-dimensional image device is used to collect a two-dimensional image of the object to be measured.

[0070] The 2D image acquisition device 11 provided in the embodiment of the present invention is a 12MP industrial camera with a resolution of 10μm, equipped with a telecentric lens, and adopts an RGBW four-color light source. The present invention does not limit the type of the camera and the performance of the device. It only needs to take pictures similar to those taken by the 12MP industrial camera described in the embodiment of the present invention.

[0071] 22. Locate the position of the components in the object to be measured based on the two-dimensional image

[0072] Based on the two-dimensional image information, the positions of the main components in the measured object are calibrated through a relevant algorithm.

[0073] The components include a reference component and a component to be tested.

[0074] 23. Use 3D image acquisition equipment to obtain 3D images

[0075] The embodiment of the present invention adopts an industrial-grade 3D line-scan laser camera. In a 3D camera, a laser emitter replaces the light source. Through the design of a complex optical system, the laser emitted by the laser emitter will form a straight line. When the laser is projected onto the surface of an object, it will form a reflection. Under the design of the optical system, the reflected light will be captured by the lens and finally reflected to the photosensitive chip through the lens. Therefore, the three most important components inside a 3D camera are the laser emitter, the lens, and the photosensitive chip. At the same time, some FPGA or ARM will be added for image processing, such as image algorithms and image filtering. In general, the laser emitter needs to be designed by an excellent optical engineer. For example, the laser reflected by different lenses will have different effects. The lenses are basically the normal lenses we see, and the photosensitive chip generally chooses a high-precision CMOS chip.

[0076] 24. Align the two-dimensional image with the three-dimensional image

[0077] The coordinates of the measured object elements calibrated in the two-dimensional image are mapped to the three-dimensional image to avoid large errors in the data calculation process of the system.

[0078] 25. Calculate the height of the positioning element according to the three-dimensional image

[0079] The size and height of each element in the three-dimensional image of the object to be tested are measured using a preset test method.

[0080] In some embodiments, the elements in the object under test include points including but not limited to line arcs, solder joints, crimping areas, cutting areas, and solder joint tops.

[0081] 26. Based on the height of the component, the height of the area where the component is located is obtained

[0082] The system calculates the 3D average height data and the reference component height data in the intercepted area according to the located crimping solder joint and crimping wire area, and the difference between the two is the wire arc height.

[0083] The embodiment of the present invention collects a two-dimensional image and a three-dimensional image of the object to be measured, locates the exact position of the component to be measured in the object to be measured according to the two-dimensional image, obtains accurate data of the component to be measured according to the three-dimensional image, and then obtains the corresponding arc height through a preset algorithm.

[0084] In some embodiments, the component data includes: solder joint location, wire arc height, and reference device height.

[0085] The present invention collects a two-dimensional image and a three-dimensional image of the object to be measured, determines the position of the component according to the two-dimensional image, determines the height of the area where the component is located in the object to be measured and the height of the reference component according to the three-dimensional image, calculates the average height of the component according to the heights of all components in the object to be measured, and determines the height data of the component by subtracting the height of the reference component from the average height of the component.

[0086] The component height includes the arc height;

[0087] In some embodiments, due to the limitations of line arc curvature and line scanning laser principles, there may be a problem of no height data at some high arc positions. Therefore, based on the measurable component height data, a sorting is performed from high to low, and the first 70% of the sorting is selected as the numerical basis to calculate the peak average height. The actual height of the component is determined by subtracting the reference component height from the peak average height.

[0088] Figure 3 Flow chart of the component location method provided by the embodiment of the present invention. Figure 2 As shown, the component position positioning method is a color extraction process, comprising the following steps:

[0089] 31. Extract the characteristic color of the object being measured

[0090] The sample image is subjected to color extraction processing to extract the characteristic color of the component to be tested in the object to be tested.

[0091] 32. Mark the characteristic color in the two-dimensional image of the object being measured

[0092] In the image of the object to be measured obtained by the two-dimensional image acquisition device, a characteristic image of the object to be measured is obtained.

[0093] 33. Binarize the marked feature image to obtain a binary image of the object to be measured. Binarize the feature image to obtain a binary image of the object to be measured.

[0094] 34. Extracting contours according to the binary image

[0095] According to the grayscale values ​​of the pixels in the binary image, the specific contour of the corresponding element of the measured object can be identified, and the system extracts the corresponding contour image according to the multiple contents.

[0096] 35. The area with the largest contour is the specific component in the object being measured

[0097] The present invention uses a color extraction method to locate the components in the object to be measured, and obtains a binary image of the image of the object to be measured by binarization processing. The grayscale value of each pixel in the binary image has a clear numerical value. According to the pre-set grayscale value image, the specific outline of the component is identified, and the area with the largest outline is the area where the component is located.

[0098] In another embodiment, another component position positioning method is provided, and the positioning method is template matching, which specifically includes:

[0099] The method extracts and saves the template from the area where the crimping solder joints and crimping wires are located in the sample image of the object to be tested;

[0100] After acquiring the image of the object to be measured, operations such as template rotation and scaling matching are performed on the image of the object to be measured according to the template to obtain the area and angle where the components of the object to be measured are located.

[0101] In yet another embodiment, another component position positioning method is provided, wherein the positioning method is feature point matching, specifically comprising:

[0102] The method extracts and saves feature points from a sample image of the object being tested;

[0103] After acquiring the image of the object to be measured, feature points are extracted from the image of the object to be measured, and the feature points of the sample image are compared to perform contour matching;

[0104] The contour with the highest matching degree of feature points is the component.

[0105] In yet another embodiment, another component location method is provided, the location method is an AI segmentation method, specifically comprising:

[0106] The method classifies and marks the crimping points and crimping wires on the sample image of the object to be tested;

[0107] After acquiring the image of the object to be tested, the classified and labeled data is trained;

[0108] According to the data, the image of the object to be measured is calculated according to the trained sample set to obtain the area and contour of the object to be measured, so as to determine the position of the component in the object to be measured.

[0109] The component positioning scheme in the arc height measurement scheme described in the present invention can be any one of the four methods of color extraction, template matching, feature point matching and AI segmentation, but is not limited to these four methods.

[0110] Figure 4 The flowchart of the three-dimensional image acquisition method provided by the embodiment of the present invention is shown. The three-dimensional image acquisition method comprises the following steps:

[0111] 41. Compare the width of the object to be measured and determine the number of scans

[0112] By comparing the width of the object to be measured and the scanning width of the 3D image acquisition device, it is determined how many times the 3D image scanning device needs to scan in order to completely scan the image.

[0113] In some embodiments, the 3D image acquisition device includes a laser emitter, a lens, and a photosensitive chip. The laser emitter replaces the light source in a traditional camera. Through a complex optical system, the laser emitter emits a laser. The laser is projected onto the surface of an object and is reflected. Under the design of the optical system, the reflected light is captured by the lens and finally reflected onto the photosensitive chip through the lens. For the 3D image acquisition device, the maximum width that can be scanned in the direction of the sensor laser line at a certain working distance from the measured object is a determined value. The certain working distance is generally the optimal working distance of the sensor. Therefore, it is necessary to compare the measured object to determine the number of scans of the 3D scanning device.

[0114] 42. Determine the length of each scan based on the positioning element

[0115] The system determines the specific position of the component to be tested in the object to be tested based on the image of the object to be tested. In the process of the 3D image acquisition device obtaining a three-dimensional image, the system only needs to obtain the three-dimensional image of the component to be tested. Therefore, in the process of determining the number of scans, the position of the first complete component to be tested scanned is used as the starting point, and the last component to be tested is used as the end point. The distance from the starting point to the end point is the length of this scan.

[0116] In some embodiments, during a single scan of the 3D image acquisition device, if some components to be tested appear and the scan is incomplete, it is necessary to perform another scan based on the components as the width to ensure the integrity of the three-dimensional image of the object to be tested. The additional scan length is the same, with the first component to be tested scanned as the starting point and the last component as the end point, and the distance between the two is the length of this scan.

[0117] 43. Scan the object to be measured to obtain a three-dimensional image

[0118] After determining the number of scans and the length of each scan, the system starts to take three-dimensional images of the object to be measured in a preset direction to obtain a three-dimensional image of the object to be measured.

[0119] In an embodiment of the present invention, the system uses a 2D image acquisition device to obtain a two-dimensional image of the object under test. By analyzing the image of the object under test, the system obtains the position of the component to be tested on the object under test. Based on the image of the object under test and the position of the component to be tested, the system uses the 3D image acquisition device to obtain a three-dimensional image of the object under test, and calculates and obtains data information such as the height and width of the component to be tested based on the three-dimensional image.

[0120] Figure 5 The schematic diagram of the structure of a component measuring device provided by an embodiment of the present invention is shown. The component measuring device specifically comprises: an image acquisition device 51, a motion control device 52 and a loading device 53, wherein

[0121] The image acquisition device 51 is used to acquire the two-dimensional image and the three-dimensional image by acquiring the steps of the line arc height measurement method and the three-dimensional image acquisition method;

[0122] In some embodiments, the image acquisition device 51 includes the 2D image acquisition device and the 3D image acquisition device, and the devices are controlled by the motion control device 52 via a bus.

[0123] In some embodiments, the 3D image acquisition device includes a laser emitter, a lens, and a photosensitive chip. The laser emitter replaces the light source in a traditional camera. Through a complex optical system, the laser emitter emits a laser, which will be reflected when projected onto the surface of an object. Under the design of the optical system, the reflected light will be captured by the lens and finally reflected onto the photosensitive chip through the lens. A complete three-dimensional image of the object being measured is acquired through multiple scans.

[0124] Motion control device 52: used to control the image acquisition device, motion control device 51 and the image acquisition device according to the method for measuring the line arc height between the crimping solder joints, the component positioning method and the three-dimensional image acquisition method.

[0125] The object carrying device 53 is used to place and fix the object to be measured.

[0126] In some embodiments, the object carrier includes a plurality of sensor systems. When the object to be measured is placed into the object carrier, the device can quickly obtain the length and width of the object to be measured through corresponding sensors.

[0127] In some embodiments, the motion control device 52 can simultaneously control the 2D image acquisition device and the 3D image acquisition device, control the position of the image acquisition device through a robotic arm, and connect the image acquisition device 51 through a bus. The image acquisition device also feeds back corresponding information to the motion control device 52 through the bus structure to help the motion control device better adjust the position of the image acquisition device.

[0128] In some other embodiments, the carrier device can process and capture the detected object, and at the same time, the motion control device 51 can control the movement to help the image capture device 51 capture the corresponding image.

[0129] Figure 6 The structure diagram of the image acquisition device in the component measuring device provided in the embodiment of the present invention is shown. The image acquisition device is placed in the motion control device 52, and specifically includes: a two-dimensional image acquisition module 521, an image processing module 522, a three-dimensional image acquisition module 523 and a central processing module 524, wherein:

[0130] Two-dimensional image acquisition module 521: acquires a two-dimensional image of the object to be measured;

[0131] Image processing module 522: locates the position of the component to be tested of the object to be tested in the two-dimensional image;

[0132] The three-dimensional image acquisition module 523 is used to acquire the three-dimensional image of the object to be measured according to the position of the component to be measured;

[0133] Central processing module 524: obtains the height data of the component under test according to the three-dimensional image, and obtains the height of the component under test by a preset method.

[0134] As another aspect of the present invention, the present invention provides an electronic device, which is placed in the motion control device 52. Figure 7 The chip 700 includes: one or more processors 71 and a memory 72. Figure 7 A processor 71 is taken as an example.

[0135] The processor 71 and the memory 72 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0136] The memory 72 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the hardware driving method in the embodiment of the present invention. The processor 71 executes the hardware driving method of each of the above embodiments, or various functional applications and data processing of the hardware driving device of each of the above embodiments by running the non-volatile software programs, instructions and modules stored in the memory 72.

[0137] The memory 72 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 72 may optionally include a memory remotely arranged relative to the processor 71, and these remote memories may be connected to the processor 71 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0138] The program instructions / modules are stored in the memory 72, and when executed by the one or more processors 71, they execute the hardware driving method in any of the above-mentioned method embodiments, for example, thereby executing the hardware driving methods of the above-mentioned embodiments, or various functional applications and data processing of the hardware driving devices of the above-mentioned embodiments.

[0139] An embodiment of the present invention further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a chip to execute the hardware driving method as described above.

[0140] An embodiment of the present invention provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a chip, the chip executes the hardware driving method as described above.

[0141] The present invention collects a two-dimensional image of the object to be measured and a three-dimensional image of the object to be measured, locates the position of the component according to the two-dimensional image, intercepts the area where the component is located in the three-dimensional image, analyzes and determines the height data of the component, and then detects the height of the reference component by the method, and subtracts the component height from the reference component height, and the result obtained is the true height of the component.

[0142] Through the above method, the problem of different methods for measuring the crimping solder joints and the arc height between the crimping solder joints caused by different processes and materials of different manufacturers can be effectively solved.

[0143] The above described device or equipment embodiments are merely illustrative, wherein the unit modules described as separate components may or may not be physically separated, and the components displayed as module units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0145] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for measuring component height, characterized in that: include: Collecting a two-dimensional image of the object being measured; Locating the position of the component to be measured of the object to be measured in the two-dimensional image; The element to be tested includes a reference element and a test element; According to the position of the component to be measured, a three-dimensional image of the object to be measured is collected by a 3D line scanning laser camera; According to the three-dimensional image, obtaining the height data of the component to be measured by a preset method; The obtaining of the height data of the component to be measured by a preset method specifically includes: According to the three-dimensional image, average height data of the area where the test element is located and height data of the reference element are obtained; the area where the test element is located is a crimping wire area; the reference element is a crimping solder joint; Subtracting the reference element height data from the average height data to obtain the arc height; The obtaining of average height data of the area where the test element is located specifically includes: Obtaining height data of the area where all test elements are located in the three-dimensional image; The height data are arranged in a descending order to obtain the first N height data, and the average height data is obtained based on the first N height data.

2. The measuring method according to claim 1, characterized in that: The step of locating the position of the component to be measured of the object to be measured in the two-dimensional image includes: Extracting the characteristic color of the reference element and the characteristic color of the test element in the object to be measured; Marking the characteristic colors in the two-dimensional image of the object to be measured to generate a characteristic map of the object to be measured; Binarizing the feature map to obtain a binary map of the object under test; Contour extraction is performed on the binary image, and the maximum contour is the location of the reference element and the test element in the object under test.

3. The measuring method according to claim 1, characterized in that: The acquiring of the three-dimensional image of the object under test comprises: The three-dimensional image is acquired by a three-dimensional image acquisition device; the three-dimensional image acquisition device is: the 3D line scan laser camera; The two-dimensional image width is compared with a preset scanning width of the three-dimensional image acquisition device, the scanning times of the three-dimensional image acquisition device are determined, and the object to be measured is scanned along a preset direction.

4. The measuring method according to claim 3, characterized in that: The acquiring of the three-dimensional image of the measured object further includes: Determine the length of each scan of the three-dimensional image acquisition device; The length of each scan is: during the scanning process, the first complete component to be tested detected within the preset scanning width range is the starting point, and the last complete component to be tested is the end point.

5. An electronic device, characterized in that: Specifically include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 4.

6. A computer program product comprising program code, characterized in that When the computer program product is run on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Full-automatic three-dimension characteristic extracting method

    CN102135417A

  • Method of inspecting a solder joint

    CN103808269A

  • Contour measurement method applied to three-dimensional contour measurement

    CN106959078A

  • Synchronous acquisition device and method for two-dimensional and three-dimensional images

    CN107421466A

  • Micro-nano-order binary-plane structural line detection method and system

    CN108088386A