Double-camera high-speed flying shooting alignment fitting visual application method

Through the dual-camera high-speed flying alignment method, visual coordinate transformation and point-around-point rotation formula are used to solve the problems of low efficiency and insufficient accuracy in traditional technology, achieve high-precision and high-speed fitting effects, and improve Production efficiency and automation.

CN118654571AActive Publication Date: 2024-09-17BEIJING CREATIVE VISION EXPERT VISION TECH CO LTD

Patent Information

Application Number
CN202411055020.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-09-17
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

Traditional visual alignment and lamination technology has low efficiency, low yield, serious waste of raw materials, and low degree of automation in industrial automation, and cannot meet the high-precision and high-speed production needs.

Method used

Using a dual-camera high-speed flying alignment method, through nine-point calibration of the upper camera and the machine and nine-point calibration of the lower camera and the upper camera, the visual coordinates are converted into mechanical coordinates, and the rotation center of the nozzle and the target movement position of the manipulator are calculated, using The point-around-point rotation formula optimizes fitting accuracy and speed.

Benefits of technology

The detection speed and lamination accuracy are improved. The equipment speed can reach 800mm/s, the lamination accuracy reaches ±0.03mm, the overall accuracy of the equipment is ±0.05mm, and the single-board product processing time does not exceed 1s, which significantly improves production efficiency and equipment reliability. Degree of automation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118654571A
    Figure CN118654571A
Patent Text Reader

Abstract

The invention provides a double-camera high-speed flying shooting alignment fitting visual application method, which comprises the following steps of: respectively converting upper camera visual coordinates and lower camera visual coordinates of a workpiece into mechanical coordinates in a manner of carrying out nine-point calibration by adopting an upper camera and a machine and carrying out nine-point calibration by adopting a lower camera and the upper camera; according to the position of the lower camera during modeling and the rotation angle of the workpiece, the rotation center of the suction nozzle during rotation by sucking the workpiece is calculated; and according to the actual position of the workpiece and the calculated rotation center, the actual target moving position of the manipulator can be calculated according to a point-around-point rotation formula. According to the invention, the detection speed and the laminating precision are improved, the compatible speed is high, the highest speed can reach 800mm / s, and the distance between equipment suction nozzles can be reduced to 28mm; the laminating precision is high, the pure visual precision can reach + / -0.03 mm, and the overall precision of equipment can reach + / -0.05 mm; the detection speed is high, and the processing time of a single-board product (the upper camera and the lower camera need to process eight images) does not exceed 1s.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of visual inspection technology, and more specifically, to a dual-camera high-speed flying alignment and bonding visual application method. Background Art

[0002] Visual alignment technology is a technology that matches perceived images with pre-established models. It can analyze information such as feature points, edges, and colors in the image and compare it with known models to achieve target object recognition, positioning, and tracking. This technology is widely used in various fields, including industrial automation, robot navigation, medical imaging, augmented reality, and virtual reality.

[0003] In industrial automation, visual alignment technology can be used for product quality inspection, automatic positioning and assembly of parts, etc. In robot navigation, it can help robots locate and navigate in complex environments. In medical imaging, visual alignment technology can be used for surgical navigation and tumor positioning, etc. In augmented reality and virtual reality applications, it can achieve the alignment and interaction of virtual objects with the real environment. Visual alignment technology can provide precise image analysis and recognition capabilities, providing more possibilities and convenience for applications in various fields.

[0004] In the production workshop, high-precision electronic components produced on the workshop production line are bonded and assembled. In order to ensure the quality of the electronic components produced, high bonding accuracy is often required. However, it is generally difficult for the human eye to achieve mm-level errors, so high-precision bonding equipment came into being; in order to improve the production rhythm, flying shooting has become the best choice; however, the machine has to bond at a fixed position each time, and the accuracy of the tooling material and the suction nozzle is very high, but the accuracy of the tooling material and the suction nozzle cannot be guaranteed, so the production line personnel need to adjust the mechanical bonding position at any time; the yield is low, and raw materials are lost; the degree of automation is low, and manual intervention is required; the efficiency of low-speed flying shooting bonding equipment is low, and the equipment output rate cannot meet the requirements; in order to allow more time for the camera to take pictures, the distance between the suction nozzles will be a big problem. Summary of the invention

[0005] The purpose of the present invention is to provide a dual-camera high-speed flying shooting alignment and fitting visual application method.

[0006] The present invention aims to solve the problems of low efficiency, low yield and waste of raw materials in the traditional method.

[0007] Compared with the prior art, the technical solution of the present invention and its beneficial effects are as follows: A dual-camera high-speed flying alignment and fitting vision application method comprises: using an upper camera and a machine to perform nine-point calibration, and using a lower camera and an upper camera to perform nine-point calibration to convert the upper camera visual coordinates and the lower camera visual coordinates of the workpiece into mechanical coordinates respectively; according to the position of the lower camera during modeling and the rotation angle of the workpiece, the rotation center of the suction nozzle when sucking the workpiece is rotated is calculated; according to the actual position of the workpiece and the calculated rotation center, the actual target moving position of the manipulator can be calculated according to the point-around-point rotation formula.

[0008] The beneficial effects of the present invention are: The present invention improves the detection speed and fitting accuracy. It can be compatible with a fast speed, the fastest of which can reach 800mm / s, and the distance between the equipment nozzles can be reduced to 28mm; the fitting accuracy is high, the pure visual accuracy can reach ±0.03mm, and the overall equipment accuracy can reach ±0.05mm; the detection speed is fast, and the processing time of a single-board product (the upper and lower cameras need to process a total of 8 images) does not exceed 1s. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a schematic diagram of a dual-camera high-speed flying shot alignment and bonding visual application method provided by an embodiment of the present invention.

[0010] Figure 2 This is a diagram of the lighting effect of the upper camera provided by an embodiment of the present invention.

[0011] Figure 3 This is a diagram of the lighting effect of the lower camera provided by an embodiment of the present invention.

[0012] Figure 4 It is a schematic diagram of a visual program running interface provided by an embodiment of the present invention.

[0013] Figure 5 is a schematic diagram of a calibration image of an upper camera provided in an embodiment of the present invention.

[0014] Figure 6 It is a first schematic diagram of a lower camera calibration image provided by an embodiment of the present invention.

[0015] Figure 7 This is a second schematic diagram of a lower camera calibration image provided by an embodiment of the present invention.

[0016] Figure 8 This is a third schematic diagram of a lower camera calibration image provided by an embodiment of the present invention.

[0017] Fig. 9 This is a fourth schematic diagram of a lower camera calibration image provided by an embodiment of the present invention.

[0018] Fig.10 It is a schematic diagram of the position change of the workpiece and vision in the visual guidance provided by an embodiment of the present invention.

[0019] Fig.11 It is a schematic diagram of point-around-point rotation provided by an embodiment of the present invention.

[0020] Fig.12 It is a schematic diagram of a dual-camera high-speed flying shooting alignment and bonding visual device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0022] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0023] Reference Figures 1 to 12 As shown, a dual-camera high-speed flying alignment and fitting vision application method includes: using an upper camera and a machine to perform nine-point calibration, and using a lower camera and an upper camera to perform nine-point calibration to convert the upper camera visual coordinates and the lower camera visual coordinates of the workpiece into mechanical coordinates respectively; according to the position of the lower camera during modeling and the rotation angle of the workpiece, the rotation center of the suction nozzle when it rotates while sucking the workpiece is calculated; according to the actual position of the workpiece and the calculated rotation center, the actual target moving position of the manipulator can be calculated according to the point-around-point rotation formula.

[0024] Reference Fig.12 As shown, in the device, the following operation steps are included: In the first step, PLC controls four suction nozzles 1 to go to the material taking position to take materials; In the second step, the PLC sends four trigger signals to the upper camera 2 and the lower camera 3 of the flying camera respectively. The upper camera 2 and the lower camera 3 of the flying camera respectively take four pictures and save them into the memory; In the third step, after the image is taken, the visual program calls the visual detection algorithm for calculation; In the fourth step, the visual program merges the calculation results of the upper camera 2 and the lower camera 3 and sends the results to the PLC via TCP / IP; In the fifth step, PLC controls the equipment to perform product bonding based on the results sent by vision.

[0025] The method of using the upper camera and the machine to perform nine-point calibration, and using the lower camera and the upper camera to perform nine-point calibration to convert the upper camera visual coordinates and the lower camera visual coordinates of the workpiece into the machine coordinates respectively, includes: Mechanical coordinate system = rotation coefficient * image coordinate + displacement coefficient, specifically: ; Expands to: ; Transformed into the following three-variable linear equation ; It can be expressed as ; as well as ; It can be expressed as .

[0026] According to the above formula, at least 3 points are needed to calculate the coefficients of the matrix transformation, but in order to improve accuracy and reduce errors, 9 points are generally selected for calculation.

[0027] The effect of this step in this embodiment is as follows (the four positions only have offsets in the X and Y directions, so the four positions can use exactly the same data): The calibration data used are as follows, and a total of eight sets of data are used for calibration:

[0028] Reference Figure 5 As shown, the light blue points represent uncorrected points, the dark red points represent the original corrected points, and the calibration error is 0.38 pixels.

[0029] Reference Figure 6 As shown, the calibration data of the nine-point calibration of the lower camera is as follows: The first set of data

[0030] Reference Figure 7 As shown, The second set of data

[0031] Reference Figure 8 As shown, The third set of data

[0032] Reference Fig. 9 As shown, The fourth set of data

[0033] The light blue points represent uncorrected points, the dark red points represent the original corrected points, and the calibration errors of the four groups are 0.26, 1.23, 1.12, and 0.54 pixels, respectively.

[0034] Reference Fig.10 As shown in the figure, it can be seen that the changes of the workpiece are mainly divided into two types, one is that the workpiece only undergoes translation, and the other is that the workpiece undergoes both translation and rotation. In practical applications, in most cases, the workpiece undergoes both translation and rotation.

[0035] The CCD in the figure refers to the camera, FOV refers to the field of view of the camera, and the Mark point refers to the feature point on the workpiece that can be used as a positioning feature (the change of the feature point is the change of the workpiece).

[0036] The method further comprises: calculating the rotation center of the suction nozzle when sucking the workpiece and rotating the workpiece according to the position of the lower camera during modeling and the rotation angle of the workpiece; The actual position of the workpiece is translated and rotated relative to the standard position. According to the difference in coordinates and the rotation angle, the compensation value of the manipulator of the actual position of the workpiece of the upper camera and the lower camera relative to the standard position is calculated respectively. The calculation formula of the compensation value of the manipulator is: ;

[0037] Among them, CDx is the compensation value in the x direction, and Cdy is the compensation value in the y direction; The calculation formulas for StDx and StDy in the above formula are as follows: ; Wherein, α is the rotation angle of the workpiece, Mdx is the difference between the x-coordinate of the actual position of the workpiece and the standard position, and Mdy is the difference between the y-coordinate of the actual position of the workpiece and the standard position.

[0038] Reference Fig.11 As shown, according to the actual position of the workpiece and the calculated rotation center, the actual target moving position of the manipulator can be calculated according to the point-around-point rotation formula, where the point-around-point rotation formula is: ;

[0039] Among them, (x, y) represents the coordinates of the rotation starting point A; (rx0, ry0) represents the coordinates of the rotation center point B; (x0, y0) represents the coordinates of the rotation end point C.

[0040] The above embodiments are only used to explain the technical solutions of the present invention rather than to limit them. Those skilled in the art should understand that any modification and equivalent substitution that does not depart from the spirit and scope of the present invention should fall within the protection scope of the claims of the present invention.

Claims

1. A dual-camera high-speed flying alignment and lamination visual application method, characterized in that: include: The upper camera and the machine are calibrated at nine points, and the lower camera and the upper camera are calibrated at nine points to convert the upper camera visual coordinates and the lower camera visual coordinates of the workpiece into the machine coordinates respectively; According to the position of the lower camera during modeling and the rotation angle of the workpiece, the rotation center of the nozzle when sucking the workpiece is calculated; According to the actual position of the workpiece and the calculated rotation center, the actual target moving position of the manipulator can be calculated according to the point-around-point rotation formula.

2. The dual-camera high-speed flying shooting alignment and lamination visual application method according to claim 1, characterized in that: The method of using the upper camera and the machine to perform nine-point calibration, and using the lower camera and the upper camera to perform nine-point calibration to convert the upper camera visual coordinates and the lower camera visual coordinates of the workpiece into the machine coordinates respectively, includes: Mechanical coordinate system = rotation coefficient * image coordinate + displacement coefficient, specifically: ; Expands to: ; Transformed into the following three-variable linear equation ; ; ; It can be expressed as ; as well as ; ; ; It can be expressed as ; Among them, a, b, c, a', b', c' are the conversion coefficients from image coordinates to mechanical coordinate system.

3. The dual-camera high-speed flying shooting alignment and lamination visual application method according to claim 1, characterized in that: The method further comprises: calculating the rotation center of the suction nozzle when sucking the workpiece and rotating the workpiece according to the position of the lower camera during modeling and the rotation angle of the workpiece; The actual position of the workpiece is translated and rotated relative to the standard position. According to the difference in coordinates and the rotation angle, the compensation value of the manipulator of the actual position of the workpiece of the upper camera and the lower camera relative to the standard position is calculated respectively. The calculation formula of the compensation value of the manipulator is: ; Among them, CDx is the compensation value in the x direction, and Cdy is the compensation value in the y direction; The above formula and The calculation formulas are as follows: ; in, is the workpiece rotation angle, is the difference between the x-coordinate of the actual position of the workpiece and the standard position, It is the difference between the y coordinate of the actual position of the workpiece and the standard position.

4. The dual-camera high-speed flying shooting alignment and lamination visual application method according to claim 1, characterized in that: According to the actual position of the workpiece and the calculated rotation center, the actual target moving position of the manipulator can be calculated according to the point-around-point rotation formula, wherein the point-around-point rotation formula is: ; Among them, (x, y) represents the coordinates of the rotation starting point A; (rx0, ry0) represents the coordinates of the rotation center point B; (x0, y0) represents the coordinates of the rotation end point C.

Citation Information

Patent Citations

  • Method and system for automatically compensating concentricity error of suction nozzles of surface-mounted chip mounter

    CN106998624A

  • Elevator door sheet positioning and grabbing device and method based on vision

    CN108177150A

  • Upper and lower CCD camera alignment guiding method

    CN110332884A

  • Manipulator locating, guiding and calibrating method based on machine vision cooperation

    CN112692840A

  • Combined multi-camera visual alignment method

    CN114677430A

Cited By

  • Manipulator automatic visual alignment fitting method and system

    CN119217383A

  • A method and system for automatic visual alignment and lamination of a robot

    CN119217383B

  • Material taking and placing method, system and equipment with double-vision guiding alignment

    CN122607779A