A packaging adsorption robot control method and system based on visual detection

By employing adaptive loading control and visual inspection, the problems of imaging saturation on highly reflective surfaces, damage to thin-walled devices, and image blurring in encapsulation and adsorption robots have been solved, enabling high-precision device placement and tool center monitoring.

CN123067342APending Publication Date: 2026-11-10CHENGDU ZIZHIJIAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611235061.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Existing control solutions for encapsulation adsorption robots have limitations in addressing issues such as saturation blinding during imaging of highly reflective surfaces, easy damage caused by adsorption loading of thin-walled devices, difficulty in definitively restoring blurred afterimages captured during aerial photography, untimely correction of placement slippage, and long-term accumulation of tool center offset.

Method used

By acquiring characterization data of the target object, determining loading control parameters using a preset deterministic mapping relationship, employing a non-linearly increasing adsorption amount, and latching the adsorption amount when the deformation reaches a safe threshold, and combining the reconstructed surface height field and linkage adjustment matrix of the vision system to adjust the attitude, adaptive adsorption control is achieved.

Benefits of technology

It effectively avoids blinding caused by high light saturation, reduces damage to thin-walled devices, ensures the certainty and accuracy of image restoration, and monitors tool center offset in real time, thus improving placement accuracy and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123067342A_ABST
    Figure CN123067342A_ABST
Patent Text Reader

Abstract

The application discloses a kind of encapsulation adsorption robot control method and system based on visual detection, belong to machine vision and robot control field, the method includes: the first characteristic data of target object is obtained, it indicates that the geometric deviation degree of the object in the expected adsorption action area relative to reference form;According to the data, determine the loading starting amount and loading rate of change by pre-determined deterministic mapping relationship, and loading rate of change is negatively correlated with geometric deviation degree;Drive adsorption execution mechanism to apply the adsorption action amount that nonlinear growth with time from loading starting amount, and obtain the second characteristic data indicating the edge deformation degree of the object;When the historical extreme value of the data reaches the preset safety threshold, latch current adsorption action amount and stop its growth.The application makes adsorption loading slow down with the geometric state of device self-adaptation, and when deformation is out of limit, it is immediately pressure maintaining, reduce the risk of damage of extremely thin fragile device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of machine vision and robot control, and in particular to a control method and system for a packaging and adsorption robot based on visual inspection. Background Technology

[0002] In semiconductor back-end packaging, microsystem integration, and optoelectronic device mounting, multi-axis motion mechanisms typically use vacuum-adsorption end-effectors to pick up tiny devices from the pick-up station, transport them over the air, and place them at the packaging station. Existing control schemes for this type of adsorption and transport generally rely on operators to pre-set and fix the light source brightness and camera viewing angle based on experience. A vacuum pressure difference is then established using a fixed slope or instantaneous constant pressure to complete the adsorption. Once the robot reaches the packaging station and stops, the device's pose is detected and compensated. The tool center point of the end-effector uses fixed parameters calibrated at the factory and is only recalibrated during periodic maintenance. However, existing solutions have several shortcomings when handling extremely thin, fragile, and highly reflective tiny devices:

[0003] First, solder balls, metal bumps, or plating surfaces have specular reflection characteristics. When the camera, device surface normal, and light source incident direction satisfy a specific geometric relationship, reflected light concentrates into the lens, causing local pixels to reach their saturation limit. The true texture in this area is lost, and the true edges and positioning marks of the device are covered by highlights and cannot be restored through subsequent image processing. Fixed lighting and observation settings are difficult to adapt to different surface roughness, plating reflectivity, solder ball curvature, and device micro-tilt states. Second, extremely thin devices have low bending stiffness and uneven initial warping. Using a fixed slope or instantaneous constant pressure loading independent of the device state can easily create localized concentrated loads and damage the device before the seal between the nozzle and the device is uniformly established. Third, to improve the equipment cycle time, aerial scanning detection is required during robot movement. However, the continuous displacement of the end effector during exposure causes the same true edge to convolve and overlap along the motion trajectory, forming directional blurring. If blind deblurring is used instead, the clear image and the unknown point spread function must be estimated simultaneously. The inherent ambiguity of this problem makes the recovery result uncertain.

[0004] Therefore, existing control schemes for encapsulation adsorption robots suffer from problems such as saturation blinding in imaging of highly reflective surfaces, easy damage to thin-walled devices during adsorption and loading, difficulty in definitively restoring blurred afterimages, untimely correction of placement slippage, and long-term accumulation of tool center offset. Summary of the Invention

[0005] One of the objectives of this invention is to provide a vision-based control method for a packaging and adsorption robot, in order to solve the problems in the prior art such as saturation blindness caused by imaging of highly reflective surfaces, easy damage caused by adsorption and loading of thin-walled devices, difficulty in definitively restoring blurred afterimages, untimely correction of placement and slippage, and long-term accumulation of tool center offset.

[0006] This invention is achieved through the following technical solution: a visual detection-based encapsulation adsorption robot control method, comprising the following steps: acquiring first characterization data of a target object, the first characterization data indicating the degree of geometric deviation of the target object relative to a reference shape within a expected adsorption area; determining loading control parameters based on the first characterization data through a preset deterministic mapping relationship, the loading control parameters including a loading start amount and a loading change rate, wherein the loading change rate is negatively correlated with the degree of geometric deviation; driving an adsorption actuator to apply an adsorption amount to the target object according to the loading control parameters, the adsorption amount increasing non-linearly with time from the loading start amount, and acquiring second characterization data of the target object during the increase of the adsorption amount, the second characterization data indicating the degree of deformation of the target object's edge; when the historical extreme value of the second characterization data from the start of loading to the current moment reaches a preset safety threshold, locking the adsorption amount at the current moment and stopping the further increase of the adsorption amount.

[0007] Further, based on the first characterization data, the loading control parameters are determined through a preset deterministic mapping relationship, including: obtaining the second geometric parameter of the target object, which is used to indicate the solid scale of the target object in its normal direction; using the second geometric parameter as the independent variable, querying a preset stiffness-load correspondence to obtain the loading start amount; the adsorption effect increases nonlinearly with time, including: the growth rate of the adsorption effect decreases exponentially with time from the start of loading, so that the growth of the adsorption effect in the initial stage of loading is faster than its growth when it is close to a steady state.

[0008] Furthermore, the loading change rate is positively correlated with the cube of the second geometric parameter, such that the smaller the second geometric parameter, the lower the loading change rate.

[0009] Furthermore, latching the adsorption amount at the current moment and stopping the continued increase of the adsorption amount includes: interrupting the growth process determined by the loading control parameters within the current control cycle, and outputting a step cutoff command to the gas path of the adsorption actuator so that the adsorption amount is maintained at the value corresponding to the moment when the historical extreme value reaches the preset safety threshold; and the latching remains effective within the current adsorption cycle and is not released due to the decline of the second characterization data.

[0010] Further, acquiring the first characterization data of the target object includes: reconstructing the surface height field of the target object by a vision system, and fitting the reference shape based on the surface height field; within the expected adsorption area, taking the absolute value of the difference between the surface height field and the reference shape, and calculating the average value per unit area, and using the calculated average value per unit area as the degree of geometric deviation.

[0011] Furthermore, before acquiring the first characterization data of the target object, the encapsulation adsorption robot control method further includes: synchronously adjusting the lighting ratio parameter and driving the adsorption actuator to change its attitude adjustment amount within the jointly adjustable range formed by the lighting ratio parameter and the attitude adjustment amount; acquiring an image of the target object for each set of adjusted lighting ratio parameters and attitude adjustment amounts, and determining the structural saliency index of the image, wherein the structural saliency index is used to indicate the saliency of the edge of the target object in the image; determining the set of lighting ratio parameters and attitude adjustment amounts corresponding to the maximum value of the structural saliency index as the optimal detection pose, acquiring the surface height field under the optimal detection pose, and then driving the adsorption actuator to return to the vertical posture.

[0012] Furthermore, the synchronous adjustment of the illumination ratio parameter and the driving of the adsorption actuator to change its attitude adjustment amount are triggered by the following conditions: the gray-level contrast of the local feature region in the acquired image is lower than the preset effective identification threshold, and there is a saturated pixel cluster in the image; and the synchronous adjustment is based on a pre-established linkage adjustment matrix, which is used to indicate the adjustment correspondence between each component of the illumination ratio parameter and each component of the attitude adjustment amount; the structural saliency index is the global variance of the second-order gray-level change response of the image relative to the average value of the response over the entire image, and the determination of the optimal detection pose also includes: for pixels in the image whose gray level exceeds the preset highlight threshold, a penalty is applied according to the square of their excess amplitude and deducted from the structural saliency index, while the amplitude of the attitude adjustment amount is constrained within the preset maximum micro-tilt amount.

[0013] Furthermore, the synchronous adjustment is performed according to a preset fixed step size, that is, each adjustment changes each component of the illumination ratio parameter and each component of the posture adjustment amount by one fixed step size, and images of the posture after each adjustment are acquired one by one and the structural saliency index is determined.

[0014] Furthermore, after latching the adsorption amount at the current moment, the encapsulation adsorption robot control method further includes: triggering motion imaging of the adsorption actuator and the target object during the movement of the adsorption actuator carrying the target object to the encapsulation station, obtaining an original image frame containing afterimages; constructing a motion degradation operator based on the actual displacement of the adsorption actuator within the exposure time window of the motion imaging; performing deterministic inversion on the original image frame using the motion degradation operator as a known quantity, obtaining the contour data of the target object; the method further includes: constructing a motion degradation operator based on the actual displacement of the adsorption actuator within the exposure time window of the motion imaging; and performing deterministic inversion on the original image frame using the motion degradation operator as a known quantity, obtaining the contour data of the target object. The motion degradation operator is constructed by: aligning the sampling times of the joint encoder of the encapsulated adsorption robot with the exposure on and off signals of the motion imaging at the hardware level to obtain a synchronization timestamp sequence; determining the relative displacement of the adsorption actuator projected onto the imaging plane based on the position difference of the joint encoder position at each sampling time in the synchronization timestamp sequence relative to the exposure on time, and converting the relative displacement into discrete pixel displacements according to pixel equivalents; assigning equal weights to the positions corresponding to each discrete pixel displacement and superimposing them to form the motion degradation operator, and normalizing the sum of all weights of the motion degradation operator to one.

[0015] Further, using the motion degradation operator as a known quantity, a deterministic inversion is performed on the original image frame, including: iteratively applying a data consistency correction term and an edge preservation regularization term to the current contour estimate until the convergence condition is met; wherein the data consistency correction term reduces the residual between the current contour estimate and the original image frame after the motion degradation operator is applied, and the edge preservation regularization term preserves the gray-level steps at the edge of the target object while suppressing high-frequency noise in flat areas.

[0016] Furthermore, after obtaining the contour data of the target object, the method further includes: comparing the contour data with preset reference geometric data in a coordinate system to obtain a pose deviation, wherein the pose deviation includes two translational components and one planar rotation component; converting the pose deviation into an axial control quantity of the fine-tuning actuator according to the inverse motion mapping relationship to obtain a candidate compensation quantity; and before the packaging adsorption robot reaches the packaging station, and while its main motion trajectory is not decelerated, superimposing the candidate compensation quantity as a feedforward quantity onto the current control command of the fine-tuning actuator.

[0017] Furthermore, before adding the candidate compensation amount as a feedforward to the current control command of the fine-tuning actuator, the packaging adsorption robot control method further includes: determining the remaining motion time of the packaging adsorption robot from its current path position to the packaging station, and subtracting the mechanical response time of the fine-tuning actuator from the remaining motion time to obtain an available time window; when the available time window is greater than a communication delay threshold, sending the candidate compensation amount via a first sending path; when the available time window is greater than zero and not greater than the communication delay threshold, switching to a second sending path to send the candidate compensation amount, the transmission delay of the second sending path being lower than that of the first sending path; when the available time window is not greater than zero, abandoning this addition.

[0018] Further, determining the remaining motion time of the encapsulation adsorption robot from the current path position to the encapsulation station includes: integrating the reciprocal of the tool's operating speed along the path from the current path position to the encapsulation station; when the tool's operating speed is approximately constant within the remaining path range, the remaining motion time is the ratio of the remaining path length to the operating speed.

[0019] Furthermore, the second distribution path is carried by a programmable logic device, which bypasses the main control flow of the control device and directly outputs the candidate compensation amount as a high-frequency stepping pulse for the fine-tuning actuator to receive.

[0020] Furthermore, the candidate compensation amount includes a first component proportional to the pose deviation amount and a second component proportional to the rate of change of the pose deviation amount over time, such that as the pose deviation amount continues to increase, the candidate compensation amount increases in advance according to its increasing trend.

[0021] Furthermore, the control method for the encapsulation adsorption robot also includes: configuring a first acquisition channel and a second acquisition channel that are coaxial or near-axial, wherein the first acquisition channel is used to acquire the target object, the second acquisition channel has a higher imaging magnification than the first acquisition channel and a smaller field of view than the first acquisition channel, and the second acquisition channel is used to acquire the edge of the adsorption actuator itself; during the non-operational intervals or idle movement of the encapsulation adsorption robot, the second acquisition channel is triggered to acquire the current contour data of the adsorption actuator; the current contour data is subjected to a difference operation with a preset reference contour template to extract the contour change area; the geometric centroids of the reference contour template and the current contour data are determined respectively, and the difference between the two is used as the center offset vector, which is used to indicate the degree of asymmetric wear or asymmetric deformation of the adsorption actuator; when the center offset vector exceeds a preset tolerance limit, the center offset vector is converted into a translation correction amount in the tool coordinate system according to the calibration transformation relationship; the translation correction amount is combined into a homogeneous translation transformation and multiplied on the right by the current tool transformation relationship of the encapsulation adsorption robot to obtain an updated tool transformation relationship, and the update takes effect without interruption of the motion command of the encapsulation adsorption robot.

[0022] Furthermore, the target object includes at least one of the following: an ultra-thin silicon wafer, a thin-film device, a micro-package, and a chip containing solder balls or metal bumps; the adsorption actuator includes an end nozzle, and the adsorption amount is the negative pressure amplitude of the inner cavity of the end nozzle relative to the external environment, wherein the negative pressure amplitude is always non-negative and an increase in its value indicates an enhanced adsorption effect.

[0023] Another aspect of the present invention provides a visual detection-based encapsulation and adsorption robot control system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements any of the visual detection-based encapsulation and adsorption robot control methods described above.

[0024] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0025] 1. This invention transforms the lighting ratio and observation angle, which originally relied on manual experience to set, into a joint optimization problem with a clear objective function and constraints. It actively avoids saturation blind zones by using a high-light truncation penalty term, so that the selection of the optimal detection pose no longer depends on the operator's experience. Even on highly specular surfaces such as solder balls and metal bumps, images with significant edges and no saturation can still be obtained. Furthermore, it deterministically maps the device's own physical thickness and average absolute warpage to the loading initiation amount and loading change rate, so that thin devices and highly warped devices automatically obtain a slower loading process. The loading law adaptively converges to the safe side according to the device's geometric state, rather than using an experience curve that is unrelated to the device.

[0026] 2. This invention balances the requirements of rapidly establishing a basic seal in the initial stage and reducing the loading speed when approaching a stable state by using an adsorption amount that grows nonlinearly over time. It constructs a latching criterion based on the historical extreme values ​​of edge deformation, immediately cutting off the pressure once the limit is exceeded without misinterpreting due to elastic rebound, thus preventing fatigue damage to the device caused by repeated pressure fluctuations after exceeding the limit. Simultaneously, it aligns the sampling time of the joint encoder with the hardware-level clock of the camera exposure signal, and constructs a motion degradation operator deterministically from the actual displacement within the exposure window. This transforms blind deblurring into a non-blind inversion with a known degradation operator, making the deblurring process interpretable and deterministic, and ensuring that the recovery accuracy no longer deteriorates with increasing motion amplitude. The edge-preserving regularization term in the inversion suppresses high-frequency noise in the flat region while preserving the gray-level steps at the device edges, avoiding noise amplification caused by direct inversion.

[0027] 3. This invention uses high magnification and narrow field of view to monitor the contour of the adsorption actuator in situ during the no-load gap, and uses the difference between the geometric centroids of the reference contour and the current contour as the wear measure. This can clearly distinguish between asymmetric wear that requires correction of the tool center and symmetric wear that does not require correction. When the limit is exceeded, the tool transformation relationship is updated in real time with homogeneous transformation, and the cumulative effect of long-term wear of the suction nozzle on the placement accuracy is isolated without interruption of the motion command. Attached Figure Description

[0028] The accompanying drawings, which are included to provide a further understanding of embodiments of the invention and form part of this application, do not constitute a limitation thereof. In the drawings:

[0029] Figure 1 The above is a flowchart of the overall method provided in Embodiment 1 of the present invention.

[0030] Figure 2 This is a comparison chart of the optimal peak positions of the illumination-attitude joint evaluation function provided in Embodiment 1 of the present invention.

[0031] Figure 3 This is a graph showing the change in the saturated pixel ratio as a function of surface reflectivity, as provided in Embodiment 1 of the present invention.

[0032] Figure 4 The graph shows the change rate of loading as a function of device thickness, as provided in Embodiment 1 of the present invention.

[0033] Figure 5 This is a graph showing the change rate of loading versus the mean absolute warpage provided in Embodiment 1 of the present invention.

[0034] Figure 6 This is a comparison diagram of the vacuum pressure difference establishment process provided in Embodiment 1 of the present invention.

[0035] Figure 7This is a comparison diagram of the evolution of the micro-deformation at the edge of the device provided in Embodiment 1 of the present invention.

[0036] Figure 8 This is a comparison chart of vacuum pressure difference fluctuations provided in Embodiment 1 of the present invention.

[0037] Figure 9 This is a comparison image of the edge grayscale profile provided in Embodiment 1 of the present invention.

[0038] Figure 10 This is a diagram illustrating the effect of pixel displacement on the device centroid positioning error, as provided in Embodiment 1 of the present invention.

[0039] Figure 11 This is a noise comparison diagram of the inversion results provided in Embodiment 1 of the present invention.

[0040] Figure 12 This is a comparison diagram of pose deviation evolution provided in Embodiment 1 of the present invention.

[0041] Figure 13 This is a comparison chart of unexpected fine-tuning amounts provided in Embodiment 1 of the present invention.

[0042] Figure 14 This is a comparison diagram of the offset vector of the centroid of the nozzle profile provided in Embodiment 1 of the present invention.

[0043] Figure 15 This is a cumulative comparison chart of placement position deviations provided in Embodiment 1 of the present invention. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0045] It should be noted that, in this application, the encapsulation adsorption robot can be a multi-axis motion mechanism applied to semiconductor back-end packaging, microsystem integration, optoelectronic device mounting, or other micro-device handling stations. Its end is equipped with a vacuum adsorption end nozzle and can be equipped with vision sensing components and fine-tuning actuators. The target device refers to a micro-workpiece to be picked up by the adsorption robot from the material handling station, transported in the air, and placed at the packaging station. This includes at least ultra-thin silicon wafers, thin-film devices, micro-packages, and chips with solder balls or metal bumps, which are prone to non-rigid bending during adsorption and often have strong specular reflective properties on their surfaces. Vacuum pressure difference refers to the negative pressure amplitude of the end nozzle cavity relative to the external environment. In this application, this amplitude is defined as always non-negative; an increase in its value indicates enhanced adsorption. The vacuum negative pressure rise curve appearing in this application refers to the dynamic process curve of the vacuum pressure difference established over time. The bottom vision system refers to a camera system installed below the device handling path, capable of performing upward-looking imaging of the end nozzle and the adsorbed device, used for aerial detection during handling. The Tool Center Point (TCP) refers to the coordinate reference used in the robot's kinematic model to characterize the point of action of the end effector tool. In this application, it specifically refers to the physical center of action of the end effector nozzle. The specific forms of the above terms can be equivalently replaced according to the device type, packaging process, and equipment configuration.

[0046] Example 1

[0047] This embodiment discloses a control method for a packaging and adsorption robot based on vision detection. Figure 1 The overall method flowchart of this embodiment is shown. As can be seen from the figure, this embodiment includes the following steps:

[0048] Step 1: Facing a highly reflective and complex convex surface, perform visual-optical-dynamic collaborative positioning and micro-pose optimization, acquire images of the device surface, and lock the optimal detection pose.

[0049] The vision-light-motion collaborative positioning refers to a positioning process that uses the brightness of multi-channel light sources and the micro-pose of the robot's end effector as optimization variables. By actively changing the illumination and observation directions, it seeks an image acquisition state that has sufficient edge information but avoids large-area high light saturation. The reason for setting up this process in this embodiment is due to the nature of specular reflection: for micro-packaged devices with solder balls, metal bumps, or coated surfaces, although a clear image can be obtained under some device postures when the camera angle and light source brightness are fixed, it is difficult to adapt to different surface roughness, coating reflectivity, solder ball curvature, and device micro-tilt state. Once the reflected light concentrates into the lens, the local pixels reach the saturation limit, and the real texture in the vicinity is lost and cannot be restored through subsequent image processing.

[0050] A multi-channel light source brightness vector is a vector composed of the brightness control values ​​of several independently controllable light source zones, reflecting the energy distribution of the current illumination in various directions. A robot end-effector micro-attitude vector is a vector composed of the pitch and yaw fine-tuning values ​​applied by the robot end-effector relative to a reference detection attitude, reflecting the deviation of the current observation direction from the reference direction.

[0051] A sharpness evaluation metric is a scalar quantity used to quantitatively characterize the saliency of device edges, solder ball outlines, or positioning markers in a currently acquired image. In this application, the metric is measured using the discrete variance of the image's discrete Laplacian response relative to its overall mean. The Laplacian response is used because the Laplacian operator can respond to second-order spatial changes in image grayscale; when solder ball edges and device outlines are relatively sharp, the corresponding areas typically exhibit large second-order grayscale changes. The variance relative to the mean is used instead of the absolute magnitude of the Laplacian response because the absolute response may be affected by the overall image brightness bias, while the variance reflects the edge response differences between different pixel locations, thus more purely characterizing structural saliency rather than overall brightness.

[0052] In this embodiment, in order to avoid the optimizer simply increasing the local grayscale gradient by increasing the brightness of the light source, thereby pushing the real texture into the saturation blind zone, while automatically changing the lighting and viewing direction, the specific operation logic of the view-light-motion collaborative positioning includes:

[0053] The vision system is controlled to perform initial image acquisition and calculate the gray-level contrast of local feature regions.

[0054] When the grayscale contrast is lower than the preset effective identification threshold and a cluster of saturated highlight pixels is detected, a linkage adjustment matrix is ​​established between the multi-channel light source brightness array and the pitch and yaw angles of the end nozzle, so that the illumination ratio and the observation micro-posture are incorporated into the same evaluation framework.

[0055] According to the preset fixed step size value, the brightness ratio of each zone of the multi-channel light source is adjusted synchronously and the end nozzle is driven to change its pitch and yaw angles. For each fine-tuning, the pose is captured and the sharpness evaluation index is calculated. The pose with the largest sharpness evaluation index is locked as the best detection pose. Then the end nozzle is driven back to the vertical posture to enter the subsequent steps.

[0056] For example, in this embodiment, the discrete grayscale image acquired by the vision system is assumed to be:

[0057]

[0058] in, and These are the horizontal and vertical pixel coordinates in the image, respectively. This is a multi-channel light source brightness vector; This is the micro-pose adjustment vector of the robot's end effector relative to the reference detected pose. The light source brightness vector and the robot micro-pose vector can be expressed as follows:

[0059]

[0060] in, The total number of independently controllable light source channels; For the first Brightness control amount for each light source channel; This is the pitch adjustment angle of the end effector relative to the reference detection attitude; This is the fine-tuning angle of the yaw angle relative to the reference detected attitude at the end point; This is the transpose symbol for a matrix.

[0061] First, to evaluate whether the image contains sufficiently sharp structural edges, the full-image mean of the discrete Laplacian response is calculated:

[0062]

[0063] Secondly, to suppress pixels that are close to the saturation limit, a truncated squared penalty function is constructed for pixels that exceed the preset highlight threshold:

[0064]

[0065] Finally, the image edge saliency and highlight saturation penalty are combined into a unified illumination-pose evaluation function, and the combination that maximizes the comprehensive evaluation value is obtained within the allowable adjustment range of the light source and the safe range of the robot's micro-pose.

[0066]

[0067]

[0068] in, Image at pixel position Discrete Laplace response at; , These represent the number of pixels in the horizontal and vertical directions of the image, respectively. This represents the average value of the Laplacian response of the entire image; The amount by which a pixel's grayscale exceeds the highlight threshold is determined. No penalty is applied when the pixel's grayscale does not exceed the highlight threshold. When it does exceed the threshold, the penalty value increases by the square of the exceedance, thus making severely saturated pixels more effectively suppressed. This is the comprehensive imaging evaluation value corresponding to the current combination of light source brightness and micro-attitude. Its first term is the discrete variance of the Laplacian response, which characterizes the significance of edge information, and the second term is the high-light saturation penalty term. To allow for a specific grayscale threshold, in an 8-bit grayscale image, a value close to but less than 255 (e.g., 240) can be set according to the camera's linear response range. This is the highlight penalty factor, used to balance edge sharpness and highlight suppression. , These are the optimal light source brightness vector and the optimal detection micro-pose obtained through optimization, respectively. The feasible region is composed of the upper and lower limits of the allowable brightness of each light source channel; Let L be the L2 norm of the micro-attitude vector; This represents the maximum allowable micro-tilt during the testing process.

[0069] Understandably, both terms in the evaluation function are divided by the total number of pixels. The signal processing aspect of this approach aims to reduce the impact of changes in image resolution or region of interest on the numerical scale of the objective function, thereby ensuring a more consistent evaluation meaning for the same set of parameters across detection regions of different sizes. When a certain posture causes large-area saturated highlights on solder balls or metal bumps, the highlight penalty term will decrease the objective function; conversely, when adjusting the lighting and micro-posture reduces the highlight area and improves the edge sharpness of the device, the objective function increases accordingly. Thus, the camera observation angle and light source brightness, originally determined by manual experience, are transformed into a joint optimization problem with a clearly defined objective function and constraints. Applying the micro-posture L2 norm... The engineering significance of constraints lies in avoiding excessive end-point tilt to eliminate highlights, thereby reducing additional errors caused by changes in working distance, depth of field, and relative device position.

[0070] Figure 2 This diagram shows a comparison of the optimal peak positions of the illumination-attitude joint evaluation function in this embodiment. Figure 2 As can be seen, when only edge saliency is considered, the peak value appears at the end micro-attitude tilt angle of about 3.00 degrees, which happens to fall in the high saturation region of the mirror reflection entering the lens; after introducing the high light saturation penalty term, the peak value of the comprehensive evaluation value shifts to about 5.52 degrees, which is 2.52 degrees outward relative to the former.

[0071] It should be noted that the sharpness evaluation metric in this step is the global variance of the second derivative matrix of the discrete Laplacian operator. A larger global variance value indicates that the light source reflection avoids the highlight blind zone and the edge features are most significant under the current micro-pose. It should also be pointed out that the objective function is only used to specify which image is better; whether to use traversal search, coordinate transformation search, or other numerical optimization methods to determine the optimal image is not the primary concern. and The objective function can be set according to the number of light source channels and the allowable computation time. The objective function itself does not require the optimizer to use a fixed step size. In cases where the computing power of the device is limited or there are few light source channels, synchronous fine-tuning according to a preset fixed step size is a feasible numerical implementation of this optimization problem. Figure 3 The diagram shows the variation of saturated pixel ratio with surface reflectivity under two selection criteria in this embodiment. Figure 3 As can be seen, as the specular reflectivity of the device surface increases, the proportion of saturated pixels in the image obtained by selecting only the edge saliency rises rapidly, reaching 54.6% at a reflectivity of 0.95, while the proportion is only 5.5% when selecting by the comprehensive evaluation value, a relative decrease of 89.9%. Moreover, the gap between the two increases monotonically with the reflectivity, proving the ability of this solution to suppress local pixel saturation blinding on highly specular surfaces such as solder balls and metal bumps.

[0072] Step 2: After locking the optimal detection pose, acquire the three-dimensional topological feature data of the target device surface, extract the thickness parameters, and calculate the surface warpage vector.

[0073] Among them, the three-dimensional topological feature data refers to the spatial height field characterizing the height distribution of the device surface, obtained by a vision system (e.g., structured light, phase-shifting, or stereo vision reconstruction) at the optimal detection pose, reflecting the actual undulation of the device relative to the ideal reference plane. The thickness parameter refers to the physical thickness of the target device in its normal direction, which characterizes the bending stiffness of the device in subsequent adsorption kinetics. The surface warpage vector is a measure used to quantitatively characterize the degree of deviation of the device surface from the ideal reference plane; in this application, it is characterized by the average absolute warpage within the expected adsorption region as a scalar.

[0074] An ideal reference plane refers to a reference surface fitted based on the non-warped area of ​​the device or its design geometry. It can be understood as the height reference that the device should occupy in a completely flat state. The reason for taking the absolute value of the height deviation before integrating and averaging is that if the signed height deviation is integrated directly, positive and negative warping will cancel each other out, resulting in an erroneous result close to zero even when there is significant bidirectional warping, which cannot reflect the actual degree of sealing non-uniformity of the device.

[0075] In this embodiment, to enable the subsequent vacuum pressure differential ramp-up process to adaptively adjust based on the device's own geometry, rather than using a fixed curve unrelated to the device, the specific logic for extracting the thickness parameter and surface warpage vector includes:

[0076] The surface height field of the target device is reconstructed by the vision system under the optimal detection pose, and its ideal reference plane is fitted.

[0077] The device thickness parameters are obtained by measuring along the device normal or by calculating from the reconstruction results;

[0078] Within the intended operating area of ​​the nozzle and the device, the absolute value of the difference between the actual height and the reference plane height is taken, and its average value per unit area is calculated to obtain the average absolute warpage that characterizes the surface warpage. This value will be used as the input for the vacuum pressure difference ramp-up slope in step 3.

[0079] For example, in this embodiment, the height field of the device surface reconstructed by the vision system is assumed to be... The corresponding ideal reference plane is The average absolute warpage of the device within the expected adsorption region can be calculated using the following formula:

[0080]

[0081] in, This represents the average absolute warpage of the device. The intended interaction area between the nozzle and the device; For the region The area; For the device surface at position The actual height at the location; This represents the height of the reference plane at the corresponding location.

[0082] It is understandable that this can be achieved by dividing by the area of ​​the region. , can make The dimension of the measurement is kept as length, and the influence of device size or detection area on the warpage index is reduced, thereby making the index comparable between devices of different specifications. The larger the value, the more significant the average deviation of the device surface from the reference plane, which also means that the actual sealing process between the nozzle and the device is more uneven.

[0083] It should be noted that the thickness parameters extracted in this step... With mean absolute warpage These are not isolated results, but rather two direct inputs to constructing a deterministic mapping logic between visual features and aerodynamic response: thickness determines the allowable loading speed through the bending stiffness trend, and warpage determines whether the pressure build-up process needs to be slower through the sealing uniformity. Together, they determine the initial threshold and ramp slope of the subsequent vacuum negative pressure ramp curve.

[0084] Step 3: Construct a deterministic mapping logic between visual features and aerodynamic response, generate a nonlinear vacuum negative pressure climbing curve based on thickness parameters and surface warp vectors, and combine it with real-time edge deformation feedback to drive the end nozzle to perform adaptive adsorption operation on the target device.

[0085] The deterministic mapping logic refers to the mapping relationship in which the vacuum pressure difference establishment process is determined by the device thickness, initial warpage, and real-time deformation feedback during adsorption. This differs from fixed-slope or instantaneous constant-pressure adsorption in that the initial rate of pressure establishment and the timing of early termination are deterministically given by measurable physical quantities, rather than using empirical curves independent of the device state. The initial threshold corresponds to the initial vacuum pressure difference established after the nozzle initially contacts the device. The ramp slope corresponds to the initial ramp slope parameter of the vacuum pressure difference. .

[0086] The vacuum negative pressure ramp-up curve refers to the nonlinear dynamic curve of the vacuum pressure difference establishing itself over time during the adsorption process. The reason why it is required to be nonlinear and gradually decrease over time is that extremely thin devices are most vulnerable to damage when the seal has not yet been uniformly established. Therefore, it is desirable to establish a basic seal quickly in the early stage of adsorption and reduce the further loading rate when approaching a stable state, thereby avoiding localized concentrated loads.

[0087] The micro-stress safety threshold refers to a preset safe deformation threshold used to determine whether the edge deformation of a device is close to the risk of damage. The reason for using the edge pixel deformation displacement as its indirect characterization is that the local bending caused by vacuum pressure difference will produce micro-displacements at the edge of the device that can be observed by a high-magnification camera. This displacement is a visual external characterization of the device's stress state.

[0088] In this embodiment, to unify the three design concepts of slow loading of thin devices, slow loading of high warp devices, and immediate pressure holding when deformation exceeds the limit into the same pressure control law, the specific logic for generating a vacuum negative pressure ramp-up curve and executing the adsorption operation includes:

[0089] Using the thickness parameter as the independent variable, and substituting it into a preset material stiffness-air pressure load lookup table, the initial contact negative pressure value of the vacuum negative pressure rise curve is determined. ;

[0090] The expected leakage area of ​​the contact surface is calculated using the surface warp vector, and the pressure ramp-up slope function is determined accordingly. The greater the warp, the larger the expected leakage area and the more difficult it is to establish a uniform seal. Therefore, the pressure should ramp up more slowly. This sensitivity is mathematically reflected by the occurrence of the average absolute warp in the denominator of the ramp-up slope, thereby generating a complete vacuum negative pressure ramp-up curve.

[0091] At the moment the end nozzle contacts the target device, the high-magnification camera acquires the displacement of the deformed pixels at the edge of the device in real time, and constructs a latching criterion based on the historical maximum deformation up to the current moment; when it is determined that the displacement of the deformed pixels exceeds the micro-stress safety threshold, the original climbing curve is interrupted within the current control cycle, and a step-by-step airflow valve cutoff command is output to limit the increase of negative pressure in order to maintain the current adsorption force state.

[0092] For example, in this embodiment, firstly, according to the thin plate bending theory, under the same conditions, the bending stiffness of a plate corresponds to the cube of its thickness. Therefore, based on... Characterize the influence of thickness on allowable loading rate, and construct the vacuum pressure differential ramp-up slope:

[0093]

[0094] Secondly, to avoid the pressure increasing at a constant slope, an exponential decay term is used to gradually reduce the pressure increment over time. Before deformation cutoff is triggered, the normal ramp pressure can be calculated using the following formula:

[0095]

[0096]

[0097]

[0098] Its instantaneous growth rate decays exponentially over time:

[0099]

[0100] Furthermore, to ensure that the stopped loading state remains after triggering and is not released again due to measurement noise or device elastic rebound, a deformation over-limit latch variable is constructed using the historical maximum deformation up to the current moment, and the moment when the safety threshold is first reached and the corresponding holding voltage value are defined:

[0101]

[0102]

[0103] Finally, by unifying the normal climbing branch and the pressure holding branch into the same pressure control law, the actual vacuum pressure difference during the adsorption process is obtained:

[0104]

[0105] in, The initial ramp slope parameter for the vacuum pressure difference; For device thickness; This represents the average absolute warpage of the device. A tiny positive number set to prevent the denominator from being zero; its dimensions are the same as... same; This is a proportionality coefficient obtained through device material type, nozzle size, and adsorption test calibration; The vacuum pressure difference calculated according to the preset dynamic law when no deformation exceeds the limit; This refers to the initial vacuum pressure difference established after the nozzle initially contacts the device (i.e., the aforementioned initial contact negative pressure value). This is the pressure increment attenuation coefficient; For integration time; It is in a deformed truncation state; It is the Heaviside step function; Not exceeding the current time Historical time variables; For a historic moment The detected microscopic displacement at the edge of the device; To preset a safe deformation threshold; The deformation truncation trigger time, Indicates the earliest time when the condition is met; This is the pressure hold value corresponding to the trigger moment.

[0106] It is understandable that, as can be seen from the actual form of the ramp slope formula, when the device thickness... When decreasing, Rapid reduction, thus lowering the pressure rise slope; when the average warpage... As the denominator increases, the pressure ramp rate also decreases. Regarding the pressure control law, in... From time to time When the deformation has not yet reached the safety threshold , The vacuum pressure difference continues to increase at an exponentially decreasing slope; once the deformation at any historical moment reaches or exceeds the safety threshold, The value jumps from 0 to 1 and remains at 1 throughout the current adsorption cycle. The system stops increasing the vacuum pressure difference and latches the pressure state at the moment of triggering, thus achieving the pressure-holding effect of the one-step airflow valve cutoff command. The reason for using the historical maximum deformation variable instead of the current instantaneous deformation variable in the Heaviside function is that even if the instantaneous deformation of the device briefly decreases due to elastic rebound after triggering, the latched state will not be mistakenly deleted, thereby preventing fatigue damage to the device caused by repeated pressure rises and falls after exceeding the limit.

[0107] Figure 4 The graph shows the rate of change of loading as a function of device thickness in this embodiment. Figure 4 As can be seen, when the average absolute warpage remains constant, the normalized loading rate decreases by 98.4% when the device thickness decreases from 200 micrometers to 50 micrometers. This means that the thinner the device, the lower the allowable loading rate of the vacuum pressure difference. This indicates that characterizing the bending stiffness trend with the cube of the thickness can make the loading law automatically converge toward the safe side of thin devices. Figure 5 This diagram illustrates the variation of the loading rate with the mean absolute warpage in this embodiment. Figure 5 As can be seen, when the device thickness remains constant, the average absolute warpage increases from 2 micrometers to 20 micrometers, and the normalized loading change rate decreases by 89.1%. Moreover, it exhibits a hyperbolic drop at the small warpage end, indicating that the larger the warpage and the larger the expected leakage area, the slower the pressure rise. Figure 6 This diagram shows a comparison of the vacuum pressure difference establishment process under fixed-slope loading and nonlinear climbing in this embodiment. Figure 6 As can be seen, under the premise that the two schemes achieve the same steady-state vacuum pressure difference, this scheme has established a pressure difference of 31.45 kPa in the first 20% loading time, while the fixed slope loading only establishes 9.00 kPa, which is 3.49 times that of the former; at the same time, the average growth rate of this scheme in the second half is 95.0% lower than that in the first half. Figure 7 This diagram shows a comparison of the evolution of the microscopic deformation at the edge of the device with and without deformation latching in this embodiment. Figure 7 As can be seen, without deformation latching, the micro-deformation at the edge of the device continues to grow to 1.796 micrometers, which has significantly exceeded the safe deformation threshold of 1.000 micrometers; while the proposed solution interrupts loading when the deformation first reaches this threshold, and its deformation peak is limited to 1.000 micrometers, which is 44.3% lower than the former. Figure 8 This diagram shows a comparison of vacuum pressure fluctuations between the instantaneous deformation criterion and the historical extreme value latching criterion in this embodiment. Figure 8 As can be seen from the data, when the deformation includes elastic rebound oscillation, using the current instantaneous deformation as the criterion will cause the vacuum pressure difference to fluctuate repeatedly 16 times after exceeding the limit, with a fluctuation amplitude of 5.36 kPa, and the device will therefore be subjected to repeated loading and unloading. However, this solution uses the historical maximum deformation up to the current moment to construct the latching criterion, and once triggered, it will keep the pressure difference constant, and the fluctuation amplitude after latching is 0 kPa.

[0108] It should be noted that the above formula is a control mapping based on the bending tendency of thickness and the warping sensitivity, rather than a general analytical solution under the boundary conditions of a perfectly thin plate. The numerical values ​​and dimensions should be calibrated according to the pressure units, time units, and device size units in the specific equipment. It should also be noted that visual deformation... It is an indirect characterization of the stress state of a device, rather than a direct measurement of the internal stress of the material, therefore The determination should be based on the device material, thickness, edge geometry, imaging magnification, and the results of destructive testing or non-destructive calibration.

[0109] Step 4: During the movement of the end nozzle adsorbing the device and moving towards the packaging station, the bottom vision system is triggered to perform motion imaging on the end nozzle and the adsorbed device. Based on the hardware synchronization timestamp, a motion point diffusion function is constructed, and deterministic inversion deblurring is performed on the original image frame containing afterimage blur to reconstruct the true edge contour of the target device.

[0110] Among them, aerial imaging detection refers to a method where, to improve equipment cycle time, the robot performs imaging detection on the device during aerial transport without stopping after adsorption. The motion point spread function (PSF) is an operator used to describe image degradation caused by continuous displacement at the end of an exposure, reflecting the superposition of the same real edge being dragged and imaged to multiple pixel positions within a single exposure. Physical inversion algorithms refer to the operation of recovering a sharp image from a degraded image through deterministic deconvolution, given the known point spread function. Its difference from traditional blind deblurring lies in that it no longer simultaneously estimates the sharp image and the unknown point spread function, thus avoiding the inherent multiple solutions in blind inversion.

[0111] Hardware synchronization timestamps refer to the unified clock alignment established at the hardware level between the high-frequency sampling time of the robot joint encoder and the camera exposure on / off signals. The reason for emphasizing hardware-level clock alignment is that only when the exposure time window and the encoder sampling strictly correspond to the same time base can the point spread function be accurately constructed from the actual motion trajectory during the exposure, thereby transforming the blind inversion problem into a non-blind inversion problem with known degradation operators.

[0112] In this embodiment, to eliminate motion blur while increasing the beat rate and suppress noise amplification caused by direct inversion, the specific logic for reconstructing the real edge contour based on hardware synchronization timestamps includes:

[0113] Extract the high-frequency timestamp sequence generated by the robot's joint encoder and align it with the camera exposure on / off signals of the bottom vision system at the hardware level.

[0114] Based on the position difference of the joint encoder within the exposure opening and closing time window, the spatial relative displacement vector of the end nozzle projected onto the camera imaging plane within a single exposure cycle is calculated and mapped to discrete pixel displacement. Based on this, the motion point spread function matrix in the spatial domain is constructed.

[0115] An image degradation model is established, and iterative inversion matrix operations based on spatial geometric boundary constraints are used to deterministically deconvolve the original image frame with the motion point spread function matrix to eliminate pixel ghosting and extract clear and true edge contours.

[0116] For example, in this embodiment, the camera exposure time window is set to... And obtain the high-frequency sampling sequence of the robot encoder within this window:

[0117]

[0118] First, using the device projection position at the start of exposure as the reference center, the displacement of each sampling moment relative to the start of exposure is mapped to a discrete pixel grid:

[0119]

[0120] Secondly, a normalized spatial point spread function is constructed based on the pixel displacement at each sampling time to ensure that the energy scale of the image remains consistent before and after degradation.

[0121]

[0122]

[0123]

[0124]

[0125] Furthermore, a two-dimensional motion degradation model is established (its convolutional form and its matrix form after unfolding into column vectors correspond to the same imaging model), and total variational regularization is introduced to suppress noise amplification from direct inversion, thus constructing the objective function for retrieving a clear image:

[0126]

[0127]

[0128]

[0129] Finally, the above regularization inversion problem is solved iteratively, and its first step is... The sharp image estimate for the next iteration is:

[0130]

[0131] in, This represents the number of encoder synchronous sampling points obtained during a single exposure. , These are the equivalent physical displacements of the robot motion projection onto the camera imaging plane in the horizontal and vertical directions, respectively, after conversion based on the robot-camera calibration relationship (not the unprocessed robot base coordinate system displacement). This refers to the physical equivalent of a camera pixel, and its unit can be micrometers per pixel. The nearest integer operator; , The first The horizontal and vertical pixel displacements corresponding to each sampling point; Point spread function in kernel coordinates Weight at each location; The reference center of the point spread function matrix; Let Vicronecker function be used. Let be the size of the point spread function matrix; For true and clear images, For motion-blurred images captured by the camera, For imaging noise and unmodeled error, This is a two-dimensional convolution operation. It is a linear degenerate operator formed by the point spread function (i.e., a convolution matrix in matrix form). For the clear image obtained by inversion; For total variation of the image, These are the total variation regularization coefficients; , These are the first-order discrete differences of the image in the horizontal and vertical directions, respectively; A small positive number set to prevent division by zero when the gradient magnitude is zero; , The first Clear image estimates for the next iteration and the next iteration; This is the iteration step size; For the transpose of the linear degenerate operator; Image gradient; It is a divergence operator.

[0132] Understandably, the construction process of the point spread function reflects the determinism of constructing the PSF from the position differences of the joint encoder: each encoder sampling point is accumulated at its corresponding pixel trajectory position. The weights are such that when multiple sampling times are mapped to the same pixel position, the weights at that position are superimposed accordingly, thus constructing... It is entirely determined by the actual motion trajectory during exposure, without the need for blind estimation from the image itself. In the iterative process... This is a data consistency correction term. When the currently estimated image becomes inconsistent with the measured image after motion degradation, this term corrects the error in the direction of reducing the reconstruction residual. ; The total variational regularization correction term is used to suppress high-frequency noise in flat regions and reduce the excessive blurring of the actual step edges of the device by the ordinary quadratic smoothing model. This characteristic of smoothing in flat areas and preserving the step at the edges is because the actual edge of the device corresponds to the gray-level geometric boundary in the image. The total variational regularization preserves the gray-level step at the boundary while suppressing noise.

[0133] Figure 9 This example shows a comparison between motion blur and the edge grayscale profile after deterministic inversion in this embodiment. Figure 9As can be seen, under the condition of an end displacement of 24 pixels during exposure, the edge transition width of the original image frame containing the afterimage reaches 19.29 pixels, and the real grayscale step has been completely dragged and flattened. After constructing the degradation operator deterministically through hardware synchronization timestamp and performing non-blind inversion, the edge transition width is narrowed to 3.97 pixels, with a narrowing rate of 79.4%, and the positional deviation of the reconstructed edge relative to the real edge is less than 0.5 pixels. Figure 10 This diagram illustrates the effect of pixel displacement during exposure on device centroid positioning error in this embodiment. Figure 10 As can be seen, without deblurring, the device centroid positioning error increases linearly with the displacement of the end pixel during exposure, reaching 9.00 pixels at a displacement of 20 pixels; blind deblurring leaves an error of 3.30 pixels due to the unknown point spread function; while the maximum error of this scheme is only 0.42 pixels and hardly increases with displacement, which proves that after transforming the blind inversion problem into a non-blind inversion with a known degradation operator, the recovery accuracy is no longer dominated by the motion amplitude, thus making high-frequency flying detection still usable under large displacement conditions. Figure 11 This diagram shows a noise comparison between the direct inversion and the inversion results with edge-preserving regularization terms in this embodiment. Figure 11 As can be seen, directly inverting the degradation model at the same noise level will drastically amplify the noise in the flat region, with a background grayscale standard deviation of 26.87. After introducing the edge preservation regularization term, the standard deviation drops to 2.71, a relative decrease of 89.9%, while the grayscale step amplitude at the actual edge of the device is basically preserved intact and not smoothed.

[0134] It should be noted that the real motion trajectory obtained through hardware timestamps can significantly reduce the uncertainty caused by the unknown point spread function, making the deblurring process interpretable and deterministic; however, the recovery accuracy is still affected by factors such as encoder resolution, time synchronization error, robot-camera calibration error, posture rotation during exposure, depth of field changes and image noise. Therefore, this model should not be interpreted as having no recovery error under all conditions.

[0135] Step 5: Compare the reconstructed real edge contour with the preset standard device CAD geometric center in the coordinate system, calculate the relative slip deviation matrix, and determine the executability of the compensation command in combination with the remaining flight time. Then, complete the dynamic correction of the placement posture before reaching the packaging station through the feedforward control loop.

[0136] The relative slip deviation matrix refers to the deviation quantity, consisting of two-dimensional translation and planar rotation variables, formed by the difference between the actual device pose and the CAD target pose. It reflects the lateral slip and minute rotation of the device relative to the nozzle or design reference during adsorption and high-speed handling. The feedforward control loop refers to a control method that pre-adds compensation to the end effector before the robot reaches the packaging station, i.e., before the deviation actually causes misalignment. This differs from the feedback method of detecting and compensating after the robot has reached the position in that it utilizes the transport flight time to complete the correction in advance, thereby eliminating the deviation without slowing down the main motion trajectory.

[0137] The remaining motion time refers to the remaining theoretical flight time required for the robot to travel from its current path position to the packaging station. It serves as a time budget for determining whether the compensation command can be completed in a timely manner. This time budget is necessary because the micro servo mechanism needs a certain amount of time to establish an effective mechanical displacement after receiving the compensation command. If the remaining time is insufficient, even if a control pulse is generated immediately, the actuator will not have enough time to establish a mechanical response. In this case, issuing a delayed compensation will introduce unexpected fine-tuning after the device reaches the placement area.

[0138] In this embodiment, to ensure that the feedforward compensation completes the time executability check before being sent, and accordingly makes a deterministic selection among the three paths of sending via the regular bus, sending via FPGA bypass, and rejecting execution, the specific logic for calculating the deviation and feedforward control includes:

[0139] The actual rotation angle and actual centroid coordinates of the device are extracted based on the real edge contour, and then subtracted from the preset standard device CAD geometric center to generate a result containing translation variables. , With rotation variables The relative slip deviation matrix;

[0140] Calculate the remaining movement time from the robot's current position to the packaging station. And by deducting the mechanical response time of the micro servo mechanism, a time window that can actually be used for communication, calculation and command issuance is obtained;

[0141] The relative slip deviation matrix is ​​converted into the axial control quantity (i.e., the number of motor drive pulses) of the end-effector via the inverse Jacobian matrix, and candidate feedforward compensation quantities are generated by combining the deviation change rate. The transmission path is selected based on the comparison between the available time window and the maximum communication delay of the conventional bus. When the time window is greater than the bus delay, the transmission is carried out through the conventional link. When the time window is positive but not greater than the bus delay, the transmission is switched to FPGA bypass. When the time window is not greater than zero, the compensation is rejected. When the transmission conditions are met, the compensation quantity is superimposed as a feedforward quantity into the current control command of the end-effector while the main motion trajectory is not decelerated.

[0142] For example, in this embodiment, let the actual device pose obtained from the recovered edge calculation and the CAD reference pose be respectively:

[0143]

[0144] First, to ensure the positive gain control variable points in the error elimination direction, the deviation to be compensated is defined as the target pose minus the actual pose, and candidate feedforward compensation vectors without time window filtering are generated by combining the deviation change rate:

[0145]

[0146]

[0147] Secondly, the remaining theoretical flight time for the robot to reach the target placement position is obtained by integrating along the path:

[0148]

[0149] Secondly, the distribution path selection is represented as a matrix-type time window logic gate, using the remaining available time window. The criterion switches between three paths:

[0150]

[0151] Finally, the candidate compensation amount is multiplied by the time window logic gate to obtain the final feedforward compensation control law after executability determination:

[0152]

[0153] in, , These represent the actual horizontal and vertical positions of the device in the detection coordinate system, respectively. This is the actual plane rotation angle of the device; , , The reference pose components given for CAD design data; The current pose of the device relative to the target pose is the amount to be compensated. The first two components are translation compensation and the third component is planar rotation compensation. This represents the candidate feedforward compensation amount; It is the inverse Jacobian matrix of the end-effector fine-tuning mechanism, used to convert Cartesian space deviations into displacement or pulse commands for each actuator axis; This is the position deviation gain matrix; This is the gain matrix of the rate of change of deviation; This represents the rate of change of the slip deviation over time. , These represent the current and target placement path positions of the robot, respectively. The tool's center point is located on the path. The operating speed at that location, It represents the infinitesimal arc length along the path; The remaining theoretical flight time; The mechanical response time required for a micro servo mechanism to establish effective mechanical displacement from receiving a command; This represents the maximum communication latency of a conventional bus. For time window logic gates, for 1D unit matrix (indicating distribution via conventional bus link). This is the FPGA bypass control mapping matrix (which represents the conversion of candidate compensation quantities into pulse or axis control quantities that can be directly output by the underlying hardware). A zero matrix (indicating no compensation is performed). To fine-tune the number of control axes of the actuator; This is the final feedforward compensation control quantity after time feasibility assessment.

[0154] Understandably, the proportional term Used to generate compensation amounts based on existing pose errors; the larger the deviation, the stronger the compensation effect; rate of change term This is used to reflect whether the slip deviation is still increasing. If the device continues to slide relative to the nozzle, even if the current deviation has not yet reached a large value, compensation can be increased in advance based on its changing trend, thus avoiding ignoring the deviation trend by relying solely on single-frame deviation compensation. Regarding the three paths: when hour The system transmits compensation commands via a conventional bus when hour This indicates that the delay in the regular communication link may exceed the remaining available time. The system maps the candidate compensation amount to a control quantity that can be directly output by the FPGA layer. The FPGA generates a deterministic high-frequency step pulse, bypassing the main controller, to reduce the additional delay caused by the host computer scheduling and bus transmission. hour ,thereby At this point, the remaining flight time is insufficient to support the actuator in establishing effective mechanical displacement, and the system no longer issues delayed compensation commands to avoid unexpected fine-tuning after the device reaches the placement area.

[0155] Figure 12 This diagram shows a comparison of the attitude deviation evolution between post-position feedback correction and in-flight feedforward correction in this embodiment. Figure 12As can be seen, the two schemes have the same deviation accumulation process in the early stage of transportation. However, the scheme applies feedforward compensation during the remaining flight time from the completion of the aerial photography (when the transportation process is about 40%), and the residual pose deviation at the time of arrival is only 2.85 micrometers. In contrast, the scheme that detects and compensates after arrival still has a deviation of 27.89 micrometers at the moment of arrival. The difference between the two is 89.8%. Figure 13 This embodiment shows a comparison of the unexpected fine-tuning amount introduced by lateness compensation when determining time feasibility. Figure 13 As can be seen, when the remaining motion time is insufficient to cover the mechanical response time of the micro servo mechanism, the scheme that does not make an executability judgment still issues a compensation command as usual. This command establishes mechanical displacement only after the device reaches the placement area, and is fully converted into an unexpected fine adjustment of 8.0 micrometers. When the remaining time falls into the range where conventional bus transmission is limited, the delayed command also introduces an unexpected fine adjustment of 3.0 micrometers. However, this scheme uses two paths, namely, refusing execution and switching to a low-latency bypass, to make the unexpected fine adjustment amount in the above two segments 0.

[0156] It should be noted that when the robot's speed remains approximately constant within the remaining path range, the integral of the remaining flight time can be understood as the ratio of the remaining path length to the operating speed. When the robot is still accelerating or decelerating, the integral form can describe the impact of speed changes with the path on the remaining time. It should also be pointed out that FPGA bypass primarily reduces software stack and communication link latency, but it cannot shorten the mechanical response time determined by the micro servo motor structure. Therefore, the above formula always prioritizes deducting... Only when the remaining time is still positive is it allowed to enter the FPGA bypass branch; the core of this model is not simply to increase the compensation gain, but to check its time executability before issuing the compensation amount, thereby reducing the situation where the compensation instruction is calculated correctly, but has exceeded the effective time window by the time it reaches the actuator.

[0157] Step 6: Configure dual-field vision hardware to perform in-situ monitoring of micro-wear on the end-effector during robot idle intervals, and dynamically reconstruct the contour center offset detected in the image into the tool center point transformation matrix when asymmetric deformation exceeds the limit.

[0158] Dual-field fusion refers to configuring coaxial or paraxial dual-field vision hardware. The wide-field acquisition channel is used for the aforementioned contour extraction of the target device (i.e., steps 2 and 4), while the high-magnification narrow-field acquisition channel focuses in real-time on the physical edge boundary of the end-effector to monitor changes in the nozzle's own geometry. The reason for using a high-magnification narrow-field channel specifically for nozzle monitoring is that the microscopic wear, local notches, and asymmetric deformations at the nozzle tip are extremely small, requiring high imaging magnification for reliable resolution.

[0159] Dynamic tool center point reconstruction refers to the process of converting the contour center offset detected in the image into a TCP translation correction in the kinematic system and updating it in real time without interrupting the robot's operation commands when the nozzle experiences asymmetric wear or planar eccentric deformation. Dynamic reconstruction is necessary because even if the encoders of each robot joint remain accurate, once the actual physical center of the nozzle shifts relative to the initial tool center point, if the factory-calibrated fixed TCP parameters are still used, this shift will continue to accumulate in the device gripping and placement positions.

[0160] In this embodiment, to correct the lateral offset of the tool center caused by asymmetric wear of the nozzle plane online without stopping the machine, the specific logic of dual-field-of-view wear measurement and TCP correction includes:

[0161] During the non-operational intervals or the unloaded movement of the adsorption robot back to the material pick-up point, the high-magnification narrow field-of-view acquisition channel is triggered to acquire the current real-time geometric contour array of the end nozzle.

[0162] Boolean difference operation is performed between the real-time geometric profile array and the reference nozzle template in the factory undamaged state to extract the profile change area. The geometric centroids of the initial profile and the current profile are calculated respectively. The difference between the two is the plane center offset vector caused by nozzle wear or asymmetric deformation. Based on this, the micro wear amount and asymmetric deformation vector of the nozzle are quantified.

[0163] When the asymmetric deformation vector exceeds the predetermined physical tolerance limit, the two-dimensional image offset is converted into a TCP translation correction amount in the tool coordinate system through the pixel-physical scaling factor and the camera-tool rotation calibration matrix. The current TCP transformation matrix of the underlying controller is updated in real time in a homogeneous transformation manner, so that the robot's actual motion control center can automatically isolate and compensate for the physical offset caused by nozzle wear.

[0164] For example, in this embodiment, the binary contour image of the suction nozzle in its factory-undamaged state is assumed to be... The current moment's acquired binary contour image of the suction nozzle is: (A pixel is set to 1 if it belongs to the nozzle outline or a solid region, and to 0 if it belongs to the background region). First, an XOR operation is performed on the two binary images to extract the regions that have changed:

[0165]

[0166] Next, calculate the geometric centroids of the initial contour and the current contour respectively; the difference between the two is the plane center offset vector.

[0167]

[0168]

[0169] Secondly, since this offset is located in a two-dimensional image coordinate system while the robot's TCP transformation uses three-dimensional spatial coordinates, it is first extended into a three-dimensional planar offset vector, and then transformed to the tool coordinate system using the pixel-physical scaling factor and the camera-tool rotation calibration matrix:

[0170]

[0171] Finally, the translation corrections in the tool coordinate system are combined into a homogeneous translation transformation, which is then multiplied on the right by the original TCP transformation matrix to obtain the corrected homogeneous transformation matrix of the tool center point:

[0172]

[0173]

[0174] in, For Boolean XOR operation, This is a diagram showing the differences in the nozzle outline. The region represents the area where material loss, contour expansion, local deformation, or positional change has occurred relative to the initial template. The image detection region includes the complete nozzle outline; , These are the centroids of the factory-made, undamaged nozzle outline and the current nozzle outline in the image coordinate system, respectively. The offset vector of the plane center. , These are the horizontal and vertical pixel offsets of the current contour center relative to the initial contour center, respectively. The offset vector of the extended 3D image plane; It is a scaling factor from camera pixel coordinates to actual physical size, and its unit can be millimeters per pixel; This represents the physical offset of the nozzle center in the camera coordinate system. This is the rotation calibration matrix from the camera coordinate system to the nozzle tool coordinate system. This is the TCP translation correction in the tool coordinate system; , These represent the distance from the robot's base coordinate system to the center point of the suction nozzle tool before and after correction. Homogeneous transformation matrix, It is a three-dimensional unit rotation matrix (meaning that this model only corrects the translation component of the tool's center point and does not change the original tool's posture). Let be the zero row vector of the homogeneous transformation matrix.

[0175] It is understandable that a special distinction must be made here between the two concepts of the centroid of the contour difference map and the offset of the contour center: XOR difference map This method is only suitable for characterizing the range of changes in the nozzle profile; the centroid of the difference region cannot be directly equated to the TCP offset. The true tool center offset should be obtained by subtracting the geometric centroids of the initial profile and the current profile. If the nozzle experiences symmetrical and uniform wear, although its profile area may change, the profile centroid will still be close to the initial position. A value close to zero indicates that the center of the planar tool does not require significant translational correction; if the nozzle experiences unilateral wear or asymmetrical deformation, the current profile centroid will shift relative to the initial centroid. The corresponding increase. In terms of the TCP update form, since the correction matrix is ​​right-multiplied by the original TCP transformation matrix, Interpreted as a local translation correction expressed in the original tool coordinate system, its effect is equivalent to changing the local translation in the base coordinate system. After being rotated from the original tool posture, it is superimposed onto the translation column of the original TCP. While keeping the joint control and trajectory planning unchanged, only the center point of the tool is automatically updated according to the actual contour state of the nozzle.

[0176] Figure 14 This embodiment shows a comparison of the offset vector of the nozzle profile centroid center under symmetrical and asymmetrical wear. Figure 14 As can be seen, after 200,000 cumulative suction and discharge cycles, the center shift of the nozzle profile centroid caused by symmetrical uniform wear is only 0.270 pixels, while the center shift caused by unilateral asymmetrical wear reaches 4.200 pixels, which is 15.6 times that of the former. This proves that using the difference between the geometric centroids of the initial profile and the current profile as a wear measure can clearly distinguish between asymmetrical wear that requires correction of the tool center and symmetrical wear that does not require correction, thereby avoiding misjudging simple changes in profile area as tool center shift. Figure 15 This embodiment shows a cumulative comparison chart of placement position deviations with and without tool center point dynamic reconstruction. Figure 15 As can be seen, when using the factory-calibrated fixed tool center point, the offset caused by the asymmetric wear of the suction nozzle is continuously superimposed on the placement position. After a cumulative 200,000 suction and discharge cycles, the placement position deviation has increased to 37.00 micrometers. In contrast, this solution updates the tool center point in real time with homogeneous transformation when the center offset vector exceeds the tolerance limit, so that the placement position deviation is periodically reset and never exceeds 4.50 micrometers.

[0177] It should be noted that the directional relationship between the camera coordinate system and the tool coordinate system, as well as the sign of the offset, should be kept consistent during the nozzle calibration process. It should also be pointed out that this model corrects the nozzle's center offset in the imaging plane based on the two-dimensional contour changes within a single high-magnification field of view. It cannot solely rely on the above formula to identify nozzle axial length shortening, end-face tilting, or three-dimensional wear in the imaging plane normal direction. Its technical function should be understood as online correction of TCP lateral offset caused by asymmetric wear on the plane, rather than complete compensation for three-dimensional wear in any direction.

[0178] Example 2

[0179] This embodiment discloses a visual inspection-based encapsulation and adsorption robot control system.

[0180] Specifically, the vision-based packaging and adsorption robot control system can be integrated into an electronic device, which can be a motion controller, an industrial control computer, an embedded control unit, or a server. The controller can be a multi-axis motion control card, a graphics processing server, an industrial control host, or a personal computer, and can be equipped with a field-programmable gate array (FPGA) to undertake the low-level bypass pulse generation task described in step 5 of embodiment 1. When the electronic device is running, it can realize the vision-based packaging and adsorption robot control method in embodiment 1 of this application.

[0181] In this embodiment, the control system can also be integrated into multiple electronic devices. For example, each functional module can be deployed in the vision processing unit, motion control unit, and FPGA underlying control unit, and multiple units can work together to implement the vision detection-based encapsulation adsorption robot control method in Embodiment 1 of this application.

[0182] In this embodiment, the server can also be implemented as an industrial control host or an embedded control unit.

[0183] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A control method for a packaging and adsorption robot based on vision detection, characterized in that, The control method for the encapsulation and adsorption robot includes: First characterization data of the target object is obtained, wherein the first characterization data is used to indicate the degree of geometric deviation of the target object from the reference shape within the expected adsorption area; Based on the first characterization data, loading control parameters are determined through a preset deterministic mapping relationship. The loading control parameters include the initial loading amount and the loading change rate, and the loading change rate is negatively correlated with the degree of geometric deviation. According to the loading control parameters, the adsorption actuator is driven to apply an adsorption amount to the target object. The adsorption amount increases non-linearly with time from the loading start amount. During the increase of the adsorption amount, the second characterization data of the target object is acquired. The second characterization data is used to indicate the degree of deformation of the edge of the target object. When the historical extreme value of the second characterization data from the start of loading to the current moment reaches a preset safety threshold, the adsorption amount at the current moment is latched, and the continued increase of the adsorption amount is stopped.

2. The control method for a packaging and adsorption robot based on vision detection according to claim 1, characterized in that, The step of determining the loading control parameters based on the first characterization data through a preset deterministic mapping relationship includes: Obtain a second geometric parameter of the target object, the second geometric parameter being used to indicate the solid dimensions of the target object in its normal direction; Using the second geometric parameter as the independent variable, the preset stiffness-load correspondence is queried to obtain the initial loading amount; The adsorption capacity increases non-linearly with time, including: The growth rate of the adsorption capacity decreases exponentially with time from the start of loading, so that the growth of the adsorption capacity is faster in the initial stage of loading than it is when it is close to a steady state.

3. The control method for a packaging and adsorption robot based on vision detection according to claim 1, characterized in that, The process of latching the adsorption amount at the current moment and stopping the further increase of the adsorption amount includes: The growth process determined by the loading control parameters is interrupted during the current control cycle, and a step cutoff command is output to the gas path of the adsorption actuator so that the adsorption amount is maintained at the value corresponding to the moment when the historical extreme value reaches the preset safety threshold. Furthermore, the lock remains effective throughout the current adsorption cycle and is not released due to a drop in the second characterization data.

4. The control method for a packaging and adsorption robot based on vision detection according to claim 1, characterized in that, The acquisition of the first characterization data of the target object includes: The surface height field of the target object is reconstructed by the vision system, and the reference shape is obtained by fitting the surface height field. Within the expected adsorption area, the absolute value of the difference between the surface height field and the reference shape is taken to calculate the average value per unit area, and the calculated average value per unit area is used as the degree of geometric deviation.

5. The visual inspection-based encapsulation and adsorption robot control method according to any one of claims 1 to 4, characterized in that, Before acquiring the first characterization data of the target object, the encapsulation and adsorption robot control method further includes: Within the combined adjustable range of the lighting ratio parameter and the attitude adjustment amount, the lighting ratio parameter is adjusted synchronously and the adsorption actuator is driven to change its attitude adjustment amount. For each set of adjusted lighting ratio parameters and attitude adjustment amounts, an image of the target object is acquired, and the structural saliency index of the image is determined. The structural saliency index is used to indicate the saliency of the edge of the target object in the image. The set of lighting ratio parameters and attitude adjustment values ​​corresponding to the maximum value of the structural saliency index are determined as the optimal detection pose. The surface height field is collected under the optimal detection pose, and then the adsorption actuator is driven to return to the vertical posture.

6. The vision-based detection-based encapsulation and adsorption robot control method according to claim 5, characterized in that, The synchronous adjustment of the lighting ratio parameter and the driving of the adsorption actuator to change its attitude adjustment amount are triggered by the following conditions: The grayscale contrast of local feature regions in the acquired image is lower than the preset effective recognition threshold, and there are saturated pixel clusters in the image; and the synchronous adjustment is based on a pre-established linkage adjustment matrix, which is used to indicate the adjustment correspondence between each component of the illumination ratio parameter and each component of the attitude adjustment amount; The structural saliency index is the global variance of the second-order grayscale change response of the image relative to the average value of that response across the entire image, and the determination of the optimal detection pose further includes: For pixels in the image whose grayscale exceeds a preset highlight threshold, a penalty is applied based on the square of the excess amplitude and deducted from the structural saliency index, while the amplitude of the attitude adjustment is constrained to within a preset maximum micro-tilt amount.

7. The control method for a packaging and adsorption robot based on vision detection according to claim 1, characterized in that, After latching the adsorption amount at the current moment, the encapsulation adsorption robot control method further includes: During the process of the adsorption actuator carrying the target object to the packaging station, motion imaging of the adsorption actuator and the target object is triggered to obtain an original image frame containing afterimages. A motion degradation operator is constructed based on the actual displacement of the adsorption actuator within the exposure time window of the motion imaging. Using the motion degradation operator as a known quantity, a deterministic inversion is performed on the original image frame to obtain the contour data of the target object; The step of constructing a motion degradation operator based on the actual displacement of the adsorption actuator within the exposure time window of the motion imaging includes: The sampling time of the joint encoder of the encapsulated adsorption robot is aligned with the exposure on and exposure off signals of the motion imaging at the hardware level to obtain a synchronized timestamp sequence. Based on the position difference between the joint encoder position at each sampling moment in the synchronous timestamp sequence and the exposure start moment, the relative displacement of the adsorption actuator projected onto the imaging plane is determined, and the relative displacement is converted into discrete pixel displacement according to pixel equivalent. Each of the discrete pixel displacements is assigned the same weight and the weights are superimposed to form the motion degradation operator, and the sum of all weights of the motion degradation operator is normalized to one.

8. The control method for a packaging and adsorption robot based on vision detection according to claim 1, characterized in that, The encapsulation adsorption robot control method further includes: configuring a first acquisition channel and a second acquisition channel that are coaxial or near-axial, wherein the first acquisition channel is used to acquire the target object, the imaging magnification of the second acquisition channel is higher than that of the first acquisition channel and its field of view is smaller than that of the first acquisition channel, and the second acquisition channel is used to acquire the edge of the adsorption actuator itself; During the non-working intervals or unloaded movement of the encapsulation adsorption robot, the second acquisition channel is triggered to acquire the current contour data of the adsorption actuator; Perform a difference operation between the current contour data and the preset baseline contour template to extract the contour variation area; The geometric centroids of the reference contour template and the current contour data are determined respectively, and the difference between the two is used as the center offset vector. The center offset vector is used to indicate the degree of asymmetric wear or asymmetric deformation of the adsorption actuator. When the center offset vector exceeds the preset tolerance limit, the center offset vector is converted into a translation correction amount in the tool coordinate system according to the calibration transformation relationship; The translation correction is combined into a homogeneous translation transformation and multiplied on the right by the current tool transformation relationship of the encapsulation and adsorption robot to obtain the updated tool transformation relationship. The update takes effect without interruption of the motion command of the encapsulation and adsorption robot.

9. The control method for a packaging and adsorption robot based on vision detection according to claim 1, characterized in that, The target object includes: At least one of the following: ultra-thin silicon wafers, thin-film devices, micro-packages, and chips containing solder balls or metal bumps; The adsorption actuator includes an end nozzle, and the adsorption effect is the negative pressure amplitude of the inner cavity of the end nozzle relative to the external environment. The negative pressure amplitude is always non-negative, and an increase in its value indicates an enhanced adsorption effect.

10. A control system for a packaging and adsorption robot based on vision detection, characterized in that, The packaging and adsorption robot control system includes: processor; The memory stores a computer program that, when executed by a processor, implements the vision-based encapsulation and adsorption robot control method as described in any one of claims 1 to 9.