A 3D detection system and method for semiconductor solder balls
The multi-frequency grating pattern is generated by the structured light control module and the 3D camera calibration module, and combined with the 3D point cloud processing module, it solves the problem of semiconductor solder ball height measurement, improves high-speed measurement efficiency, and is suitable for the measurement of a variety of industrial products.
Patent Information
- Application Number
- CN202110701458.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-06-24
AI Technical Summary
The existing technology fails to measure the height of semiconductor solder balls, thereby failing to improve measurement efficiency.
The structured light control module, 3D camera calibration module, multi-frequency grating encoding and decoding module and 3D point cloud processing module are used to obtain 3D point cloud data by generating and projecting multi-frequency grating patterns, and use pre-trained 3D point cloud models for filtering , denoising, segmentation and fitting processing to achieve 3D detection of semiconductor solder balls.
It achieves high-speed measurement, improves measurement efficiency, and integrates 3D camera calibration, multi-frequency grating encoding and decoding, 3D point cloud generation, automatic control and other technical contents, and is suitable for the measurement of a variety of industrial products.
Smart Images

Figure CN113538548B
Abstract
Description
Technical Field
[0001] The present invention relates to 3D visual inspection technology, and in particular to a 3D inspection system and method for semiconductor solder balls. Background Art
[0002] With the development of science and technology, the requirements for the measurement accuracy and efficiency of various workpieces and parts are getting higher and higher, especially in the semiconductor manufacturing industry, the requirements for detection are becoming more and more demanding. Image measurement perfectly combines image measurement technology, optical technology, control technology and software technology to achieve non-contact and accurate measurement of products. Due to its non-contact characteristics, it is the first choice for many products with high surface requirements. Fully automatic image measurement is highly intelligent and automated, making the entire measurement process simple and easy. Through simple programming, automatic image measurement can easily learn all the practical operations of the operator with high precision and repeatability. This frees operators from the tiring precise visual alignment, frequent point selection, repeated movement, function switching and other monotonous operations and increasingly heavy tasks to be tested, and exponentially improves the efficiency of batch measurement of workpieces to meet the needs of industrial sampling and large-scale testing.
[0003] The Chinese utility model patent with publication number CN208921053U discloses a detection device for a circuit board with solder balls, comprising a mounting platform, a detection unit and a power unit, wherein the power unit is used to drive the detection unit to move in a plane relative to the solder balls, the detection unit comprises a 3D camera, the mounting platform comprises a bearing portion for receiving the circuit board with solder balls, a vertical plate is arranged on the mounting platform, the power unit is arranged on the vertical plate, the 3D camera is arranged on the power unit, the 3D camera is located on a side of the power unit close to the solder balls, the mounting platform and the vertical plate are both made of marble material, and the detection unit also comprises a control device electrically connected to the 3D camera and used to receive a feedback signal from the 3D camera and obtain height information of the solder balls.
[0004] The Chinese invention patent with publication number CN 111429405 A discloses a PCB solder ball defect detection method based on 3D CNN, comprising the following steps: 1) reading a 3D reconstructed model of a PCB board, obtaining a cross section of a solder ball plane and cutting out a target area for detection; 2) binarizing and image segmenting the target area to obtain single solder ball image data; 3) classifying the single solder ball image data obtained in step 2) into training, verification and test sets; 4) establishing a 3D CNN network based on a linear combination of a Focal Loss loss function and a Triplet Loss loss function, inputting the obtained data into the established CNN for training, and obtaining a detection network model for detecting PCB solder ball defects.
[0005] There is no technical solution in the prior art for measuring the height of semiconductor solder balls and improving the measurement efficiency. Summary of the invention
[0006] In view of the defects existing in the prior art, the object of the present invention is to provide a 3D detection system and method for semiconductor solder balls, which can achieve high-speed measurement and thus improve measurement efficiency.
[0007] In order to achieve the above object, the specific technical solution adopted by the present invention is as follows:
[0008] A 3D detection system for semiconductor solder balls, comprising:
[0009] The structured light control module outputs high-speed stroboscopic structured light with different codes and spectra synchronized with the 3D camera according to programmed control;
[0010] 3D camera calibration module, which calibrates the internal and external parameters of 3D camera and structured light according to the preset program;
[0011] The multi-frequency grating encoding and decoding module generates multiple multi-frequency grating patterns according to the encoding and projects them onto the semiconductor solder ball through the structured light control module, decodes the image obtained by the 3D camera, and obtains 3D point cloud data;
[0012] 3D point cloud processing module, which uses the pre-trained 3D point cloud model to filter, denoise, segment and fit the 3D point cloud data;
[0013] The software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module, sends control data to the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module, and receives feedback data.
[0014] Preferably, the software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module.
[0015] The software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module based on software UI design, parameter design, and CNC programming operation module design.
[0016] Preferably, the encoding in the structured light control module and the multi-frequency grating encoding and decoding module is Gray code;
[0017] The formula for generating an n-bit Gray code coded image with a resolution of M*N is:
[0018]
[0019] in Indicates no more than 2 i The maximum integer of Y′ / N+0.5, where X′Y′ refers to the pixel coordinates in the projected image and i represents the order from the least significant bit to the most significant bit in the Gray code;
[0020] Perform the inversion operation on the Gray code encoded image, and the image generation formula is:
[0021]
[0022] g 2i (X′,Y′) and g 2i+1 (X′, Y′) is thrown toward the semiconductor solder ball in the order of the value of i.
[0023] Preferably, it also includes a cloud processing module connected to the software processing module.
[0024] Preferably, the internal and external parameters of the 3D camera and structured light are calibrated according to the preset program.
[0025] The calibration of the internal and external parameters of the 3D camera and structured light is divided into two parts. The first part is the calibration of the 3D camera itself, which mainly calibrates the internal parameters of the 3D camera; the second part is the calibration of the digital light projector, which mainly calibrates the external parameters of the digital light projector, that is, to find out the position parameters of the plane of the line structured light beam, and find out the position relationship of the projection plane of the digital light projector in the 3D camera coordinate system, and finally use the triangulation principle to realize the conversion of image coordinates and space coordinates; the 3D camera includes two lenses, and coordinate systems are established for the two lenses respectively. P is a point in three-dimensional space, and points p1 (X1, Y1) and p2 (X2, Y2) are respectively the imaging points of P on the imaging planes of the two lenses, f is the focal length of the two lenses, θ is the angle between the camera optical axis and the projection beam of the digital light projector, d1 and d2 are respectively the distances from the light source to the optical centers of the two lenses, and the coordinates of P in the coordinate system corresponding to the first lens are P (x1, y1, z1), and the coordinates in the coordinate system corresponding to the second lens are P (x2, y2, z2), then In the image coordinate system, the relationship between the coordinates of the imaging point (u1, v1) and the coordinates of the imaging plane (X1, Y1) is: and is the pixel size of the lens in both directions on the image coordinates, so, By the same token, P(x2, y2, z2) can be calculated.
[0026] A 3D detection method for semiconductor solder balls comprises the following steps:
[0027] S1, calibrate the internal and external parameters of the 3D camera and structured light according to the preset procedure;
[0028] S2, according to the programmed control, outputs high-speed stroboscopic structured light with different codes and different spectra synchronized with the 3D camera;
[0029] S3, generates multiple multi-frequency grating patterns according to the encoding and projects them onto the semiconductor solder ball, decodes the image acquired by the 3D camera, and obtains 3D point cloud data;
[0030] S4, using the pre-trained 3D point cloud model to filter, denoise, segment and fit the 3D point cloud data to obtain the 3D detection results of the semiconductor solder balls.
[0031] Preferably, the encoding in step S3 is Gray code;
[0032] The formula for generating an n-bit Gray code coded image with a resolution of M*N is:
[0033]
[0034] in Indicates no more than 2 i The maximum integer of Y′ / N+0.5, where X′Y′ refers to the pixel coordinates in the projected image and i represents the order from the least significant bit to the most significant bit in the Gray code;
[0035] Perform the inversion operation on the Gray code encoded image, and the image generation formula is:
[0036]
[0037] g 2i (X′,Y′) and g 2i+1 (X′, Y′) is thrown toward the semiconductor solder ball in the order of the value of i.
[0038] Preferably, the 3D point cloud model pre-trained in step S4 is a 3D point cloud model trained based on cloud computing technology.
[0039] Preferably, step S1 specifically includes the following steps:
[0040] The calibration of the internal and external parameters of the 3D camera and structured light is divided into two parts. The first part is the calibration of the 3D camera itself, which mainly calibrates the internal parameters of the 3D camera; the second part is the calibration of the digital light projector, which mainly calibrates the external parameters of the digital light projector, that is, to find out the position parameters of the plane of the line structured light beam, and find out the position relationship of the projection plane of the digital light projector in the 3D camera coordinate system, and finally use the triangulation principle to realize the conversion of image coordinates and space coordinates; the 3D camera includes two lenses, and coordinate systems are established for the two lenses respectively. P is a point in three-dimensional space, and points p1 (X1, Y1) and p2 (X2, Y2) are respectively the imaging points of P on the imaging planes of the two lenses, f is the focal length of the two lenses, θ is the angle between the camera optical axis and the projection beam of the digital light projector, d1 and d2 are respectively the distances from the light source to the optical centers of the two lenses, and the coordinates of P in the coordinate system corresponding to the first lens are P (x1, y1, z1), and the coordinates in the coordinate system corresponding to the second lens are P (x2, y2, z2), then In the image coordinate system, the relationship between the coordinates of the imaging point (u1, v1) and the coordinates of the imaging plane (X1, Y1) is: and is the pixel size of the lens in both directions on the image coordinates, so, By the same token, P(x2, y2, z2) can be calculated.
[0041] The beneficial effects of the present invention are as follows: it integrates the technical contents of 3D camera calibration, multi-frequency grating encoding and decoding, 3D point cloud generation, automatic control, etc. It is the development trend in the field of image measurement, can be widely used in the measurement of various industrial products such as 3C and semiconductors, and can achieve high-speed measurement, thereby improving measurement efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 It is a principle block diagram of a 3D detection system for semiconductor solder balls provided by an embodiment of the present invention;
[0044] Figure 2 It is a schematic diagram of the principle of triangulation;
[0045] Figure 3 The present invention provides a flow chart of a 3D detection method for semiconductor solder balls. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0047] In the description of the present invention, it should be noted that the terms "vertical", "up", "down", "horizontal", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are 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 on the present invention.
[0048] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] like Figure 1 As shown, the present invention proposes a 3D detection system for semiconductor solder balls, including
[0050] The structured light control module outputs high-speed stroboscopic structured light with different codes and different spectra synchronized with the 3D camera according to programmed control; the structured light control module is connected to the digital light projector to control the digital light projector to emit a projected image.
[0051] In the specific implementation process, the encoding of the structured light control module can select one or more encodings from a variety of encodings including time domain encoding, space encoding, and time and space domain mixed encoding. In the embodiment of the present invention, Gray code encoding is adopted, that is, the encoding in the structured light control module and the multi-frequency grating encoding and decoding module can adopt Gray code.
[0052] The formula for generating an n-bit Gray code coded image with a resolution of M*N is:
[0053]
[0054] in Indicates no more than 2 iThe maximum integer of Y′ / N+0.5, where X′Y′ refers to the pixel coordinates in the projected image, and i represents the order from the least significant bit to the most significant bit in the Gray code. Increasing the number of gratings can effectively improve the spatial resolution.
[0055] In order to further improve the anti-interference ability of Gray code, the Gray code image is inverted, and the image generation formula is:
[0056]
[0057] g 2i (X′,Y′) and g 2i+1 (X′, Y′) is thrown toward the semiconductor solder ball in the order of the value of i.
[0058] 3D camera calibration module, which calibrates the internal and external parameters of 3D camera and structured light according to the preset program;
[0059] The calibration of the internal and external parameters of the 3D camera and structured light can be divided into two parts. The first part is the calibration of the 3D camera itself, which mainly calibrates the internal parameters of the 3D camera in order to correct the influence of lens distortion on imaging. The calibration of the 3D camera can be calibrated by the plane method; the second part is the calibration of the digital light projector, which mainly calibrates the external parameters of the digital light projector, that is, to find out the position parameters of the plane of the line structured light beam, and find out the position relationship of the projection plane of the digital light projector in the 3D camera coordinate system. Finally, the triangulation principle is used to realize the conversion between image coordinates and space coordinates. The 3D camera consists of two lenses, and coordinate systems are established for the two lenses respectively, such as Figure 2 As shown, P is a point in three-dimensional space, points p1(X1, Y1) and p2(X2, Y2) are the imaging points of P on the imaging planes of the two lenses, f is the focal length of the two lenses, θ is the angle between the camera optical axis and the projection beam of the digital light projector, d1 and d2 are the distances from the light source to the optical centers of the two lenses, and the coordinates of P in the coordinate system corresponding to the first lens are P(x1, y1, z1), and the coordinates in the coordinate system corresponding to the second lens are P(x2, y2, z2), then In the image coordinate system, the relationship between the coordinates of the imaging point (u1, v1) and the coordinates of the imaging plane (X1, Y1) is: and is the pixel size of the lens in both directions on the image coordinates, so, By the same token, P(x2, y2, z2) can be calculated.
[0060] The multi-frequency grating encoding and decoding module generates multiple multi-frequency grating patterns according to the encoding and projects them onto the semiconductor solder ball through the structured light control module, decodes the image obtained by the 3D camera, and obtains 3D point cloud data;
[0061] The 3D point cloud processing module uses a pre-trained 3D point cloud model to filter, denoise, segment and fit the 3D point cloud data; filtering and denoising the 3D point cloud data specifically refers to first removing the platform plane according to the system characteristics, further limiting the imaging range of the semiconductor solder balls, and then using a statistical filter to remove obvious outliers.
[0062] The software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module, sends control data to the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module, and receives feedback data.
[0063] The present invention adopts high-frequency structured light to quickly obtain relevant data of the 3D image of the semiconductor solder ball, decodes the image obtained by the 3D camera, and obtains 3D point cloud data; uses a pre-trained 3D point cloud model to filter, denoise, segment and fit the 3D point cloud data, and finally obtains the detection result of the semiconductor solder ball.
[0064] Preferably, the software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module.
[0065] The software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module based on software UI design, parameter design, and CNC programming operation module design.
[0066] Specifically, the software UI is a medium for information interaction with the user. It is used to receive control commands input by the user, and is also used to display the operation interface and operation status of the structured light control module, 3D camera calibration module, multi-frequency grating encoding and decoding module, and 3D point cloud processing module. The parameter design is used to receive custom parameters from the user, and is also used to display the operation parameters, default parameters and custom parameters of the structured light control module, 3D camera calibration module, multi-frequency grating encoding and decoding module, and 3D point cloud processing module; the CNC programming operation module is designed to display the operation status of the product and the operation status of the industrial robot / robotic arm / PLC, and can also send control information to the industrial robot / robotic arm / PLC.
[0067] The software processing module includes an operation interface, which is further divided into multiple areas, including but not limited to a mode switching area, a servo control area, a mode interface area, and a function selection area. The mode switching area includes a manual mode, an automatic mode, program editing, and parameter setting.
[0068] Preferably, it further comprises a cloud processing module connected to the software processing module. The cloud processing module can be used to pre-select and train the 3D point cloud model to reduce the computing pressure of the local terminal.
[0069] like Figure 3 As shown, the present invention also proposes a 3D detection method for semiconductor solder balls, which specifically includes the following steps:
[0070] S1, calibrate the internal and external parameters of the 3D camera and structured light according to the preset procedure;
[0071] The calibration of the internal and external parameters of the 3D camera and structured light can be divided into two parts. The first part is the calibration of the 3D camera itself, which mainly calibrates the internal parameters of the 3D camera in order to correct the influence of lens distortion on imaging. The calibration of the 3D camera can be calibrated by the plane method; the second part is the calibration of the digital light projector, which mainly calibrates the external parameters of the digital light projector, that is, to find out the position parameters of the plane of the line structured light beam, and find out the position relationship of the projection plane of the digital light projector in the 3D camera coordinate system. Finally, the triangulation principle is used to realize the conversion between image coordinates and space coordinates. The 3D camera consists of two lenses, and coordinate systems are established for the two lenses respectively, such as Figure 2 As shown, P is a point in three-dimensional space, points p1(X1, Y1) and p2(X2, Y2) are the imaging points of P on the imaging planes of the two lenses, f is the focal length of the two lenses, θ is the angle between the camera optical axis and the projection beam of the digital light projector, d1 and d2 are the distances from the light source to the optical centers of the two lenses, and the coordinates of P in the coordinate system corresponding to the first lens are P(x1, y1, z1), and the coordinates in the coordinate system corresponding to the second lens are P(x2, y2, z2), then In the image coordinate system, the relationship between the coordinates of the imaging point (u1, v1) and the coordinates of the imaging plane (X1, Y1) is: and is the pixel size of the lens in both directions on the image coordinates, so, By the same token, P(x2, y2, z2) can be calculated.
[0072] S2, according to the programmed control, outputs high-speed stroboscopic structured light with different codes and different spectra synchronized with the 3D camera;
[0073] S3, generates multiple multi-frequency grating patterns according to the encoding and projects them onto the semiconductor solder ball, decodes the image acquired by the 3D camera, and obtains 3D point cloud data;
[0074] The coding in steps S2 and S3 may be one or more coding selected from a variety of coding including time domain coding, space coding, and time and space domain mixed coding. In the embodiment of the present invention, Gray code coding is adopted.
[0075] The formula for generating an n-bit Gray code coded image with a resolution of M*N is:
[0076]
[0077] in Indicates no more than 2 i The maximum integer of Y′ / N+0.5, where X′Y′ refers to the pixel coordinates in the projected image, and i represents the order from the least significant bit to the most significant bit in the Gray code. Increasing the number of gratings can effectively improve the spatial resolution.
[0078] In order to further improve the anti-interference ability of Gray code, the Gray code image is inverted, and the image generation formula is:
[0079]
[0080] g 2i (X′,Y′) and g 2i+1 (X′, Y′) is thrown toward the semiconductor solder ball in the order of the value of i.
[0081] S4, using the pre-trained 3D point cloud model to filter, denoise, segment and fit the 3D point cloud data to obtain the 3D detection results of the semiconductor solder balls. Filtering and denoising the 3D point cloud data specifically refers to first removing the platform plane according to the system characteristics, further limiting the imaging range of the semiconductor solder balls, and then using statistical filters to remove obvious outliers.
[0082] The pre-trained 3D point cloud model in step S4 is a 3D point cloud model trained based on cloud computing technology, which reduces the computing pressure of the local terminal.
[0083] The beneficial effect of the present invention is that it solves the problem of semiconductor solder ball 3D measurement, and perfectly integrates the image measurement technology and semiconductor solder ball 3D measurement in one machine, thereby bringing the image measurement equipment to a new level. It integrates the technical contents such as 3D camera calibration, multi-frequency grating encoding and decoding, 3D point cloud generation, automatic control, etc., which is the development trend in the field of image measurement. It can be widely used in the measurement of various industrial products such as 3C and semiconductors, and can achieve high-speed measurement, thereby improving measurement efficiency.
[0084] With the above-mentioned ideal embodiments of the present invention as inspiration, through the above-mentioned description, those skilled in the art can make various changes and modifications without departing from the technical concept of the present invention. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A 3D detection system for semiconductor solder balls, characterized in that: include The structured light control module outputs high-speed stroboscopic structured light with different codes and spectra synchronized with the 3D camera according to programmed control; 3D camera calibration module, which calibrates the internal and external parameters of 3D camera and structured light according to the preset program; The multi-frequency grating encoding and decoding module generates multiple multi-frequency grating patterns according to the encoding and projects them onto the semiconductor solder ball through the structured light control module, decodes the image obtained by the 3D camera, and obtains 3D point cloud data; 3D point cloud processing module, which uses the pre-trained 3D point cloud model to filter, denoise, segment and fit the 3D point cloud data; A software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module, sends control data to the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module, and receives feedback data; The encoding in the structured light control module and the multi-frequency grating encoding and decoding module is Gray code; The formula for generating an n-bit Gray code coded image with a resolution of M*N is: in Indicates no more than 2 i The maximum integer of Y′ / N+0.5, where X′Y′ refers to the pixel coordinates in the projected image and i represents the order from the least significant bit to the most significant bit in the Gray code; Perform the inversion operation on the Gray code encoded image, and the image generation formula is: g 2i (X′,Y′) and g 2i+1 (X′, Y′) is thrown to the semiconductor solder ball in the order of the value of i; Calibrate the internal and external parameters of the 3D camera and structured light according to the preset program. The calibration of the internal and external parameters of the 3D camera and structured light is divided into two parts. The first part is the calibration of the 3D camera itself, which mainly calibrates the internal parameters of the 3D camera; the second part is the calibration of the digital light projector, which mainly calibrates the external parameters of the digital light projector, that is, to find out the position parameters of the plane of the line structured light beam, and find out the position relationship of the projection plane of the digital light projector in the 3D camera coordinate system, and finally use the triangulation principle to realize the conversion of image coordinates and space coordinates; the 3D camera includes two lenses, and coordinate systems are established for the two lenses respectively. P is a point in three-dimensional space, and points p1 (X1, Y1) and p2 (X2, Y2) are respectively the imaging points of P on the imaging planes of the two lenses, f is the focal length of the two lenses, θ is the angle between the camera optical axis and the projection beam of the digital light projector, d1 and d2 are respectively the distances from the light source to the optical centers of the two lenses, and the coordinates of P in the coordinate system corresponding to the first lens are P (x1, y1, z1), and the coordinates in the coordinate system corresponding to the second lens are P (x2, y2, z2), then In the image coordinate system, the relationship between the coordinates of the imaging point (u1, v1) and the coordinates of the imaging plane (X1, Y1) is: and is the pixel size of the lens in both directions on the image coordinates, so, By the same token, P(x2, y2, z2) can be calculated.
2. A 3D detection system for semiconductor solder balls according to claim 1, characterized in that: The software processing module realizes the data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module. The software processing module realizes data interaction among the structured light control module, the 3D camera calibration module, the multi-frequency grating encoding and decoding module, and the 3D point cloud processing module based on software UI design, parameter design, and CNC programming operation module design.
3. The 3D detection system for semiconductor solder balls according to claim 1, characterized in that: It also includes a cloud processing module connected to the software processing module.
4. A 3D detection method for semiconductor solder balls, characterized in that: The specific steps include: S1, calibrate the internal and external parameters of the 3D camera and structured light according to the preset procedure; S2, according to the programmed control, outputs high-speed stroboscopic structured light with different codes and different spectra synchronized with the 3D camera; S3, generates multiple multi-frequency grating patterns according to the encoding and projects them onto the semiconductor solder ball, decodes the image acquired by the 3D camera, and obtains 3D point cloud data; S4, using the pre-trained 3D point cloud model to filter, denoise, segment and fit the 3D point cloud data to obtain the 3D detection results of the semiconductor solder balls; The encoding in step S3 is Gray code; The formula for generating an n-bit Gray code coded image with a resolution of M*N is: in Indicates no more than 2 i The maximum integer of Y′ / N+0.5, where X′Y′ refers to the pixel coordinates in the projected image and i represents the order from the least significant bit to the most significant bit in the Gray code; Perform the inversion operation on the Gray code encoded image, and the image generation formula is: g 2i (X′,Y′) and g 2i+1 (X′, Y′) is thrown to the semiconductor solder ball in the order of the value of i; Calibrate the internal and external parameters of the 3D camera and structured light according to the preset program. The calibration of the internal and external parameters of the 3D camera and structured light is divided into two parts. The first part is the calibration of the 3D camera itself, which mainly calibrates the internal parameters of the 3D camera; the second part is the calibration of the digital light projector, which mainly calibrates the external parameters of the digital light projector, that is, to find out the position parameters of the plane of the line structured light beam, and find out the position relationship of the projection plane of the digital light projector in the 3D camera coordinate system, and finally use the triangulation principle to realize the conversion of image coordinates and space coordinates; the 3D camera includes two lenses, and coordinate systems are established for the two lenses respectively. P is a point in three-dimensional space, and points p1 (X1, Y1) and p2 (X2, Y2) are respectively the imaging points of P on the imaging planes of the two lenses, f is the focal length of the two lenses, θ is the angle between the camera optical axis and the projection beam of the digital light projector, d1 and d2 are respectively the distances from the light source to the optical centers of the two lenses, and the coordinates of P in the coordinate system corresponding to the first lens are P (x1, y1, z1), and the coordinates in the coordinate system corresponding to the second lens are P (x2, y2, z2), then In the image coordinate system, the relationship between the coordinates of the imaging point (u1, v1) and the coordinates of the imaging plane (X1, Y1) is: and is the pixel size of the lens in both directions on the image coordinates, so, By the same token, P(x2, y2, z2) can be calculated.
5. The 3D detection method of semiconductor solder balls according to claim 4, characterized in that: The 3D point cloud model pre-trained in step S4 is a 3D point cloud model trained based on cloud computing technology.
Citation Information
Patent Citations
Solder ball defect detection method and device based on 3D CNN
CN111429405A
Detection equipment for circuit board with solder balls with solder joints
CN208921053U
3D imaging method based on coded structured light and binocular vision
CN111028295A
Acupoint positioning system and method based on combination of binocular vision and coded structured light
CN112509055A
Multi-camera reconstruction method based on DLP surface structured light
CN113012277A
