A visual positioning method for automatic screwing of a vehicle-mounted screen housing

The visual positioning method is used to calculate the coordinates of the central feature point of the screw hole to achieve automatic alignment and precise screwing of the robot. It solves the problems of low efficiency of traditional manual screwing and low accuracy of automatic screwing of the robot, and improves the efficiency of automated vehicle screen production. efficiency and stability.

CN114683214BActive Publication Date: 2024-09-17WUHAN HAIWEI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202210334559.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2024-09-17
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

In the automated production process of vehicle screens, traditional manual screwing has low efficiency and low precision. Automatic screwing by robots relies on accuracy and position fixation, which leads to accumulation of errors and cannot meet the needs of automated production.

Method used

The visual positioning method is used to calculate the coordinates of the central feature point of the screw hole through camera internal parameters and hand-eye calibration to achieve automatic alignment of the manipulator and precise screwing, including internal parameter calibration, hand-eye calibration, alignment calibration and rigid body conversion, and automatic adjustment of the screw gun relative position to the screw hole.

Benefits of technology

It improves the efficiency and precision of automated production, reduces errors, and achieves highly stable and versatile automated screw driving to meet the assembly needs of different apertures and positions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114683214B
    Figure CN114683214B
Patent Text Reader

Abstract

The present invention relates to a visual positioning method for automatic screwing of a vehicle-mounted screen housing, comprising the following steps: step 1, calibrating the internal parameters of the camera to obtain the internal parameters of the camera; step 2, fixing the camera on the mobile end of the manipulator, performing hand-eye calibration on the camera and the manipulator, and obtaining the conversion relationship between the camera coordinate system and the manipulator coordinate system; step 3, aligning the screw gun on the manipulator with the screw hole to be punched, the state at this time is the standard alignment state, and performing alignment calibration to obtain the camera coordinates of the central feature point of the screw hole to be punched in the aligned state. The internal and external parameters of the camera of the present invention only need to be calibrated once, the operation is simple, and the relative position of the screw gun on the manipulator and the screw hole can be automatically corrected, so as to achieve high precision and high stability in automatic screwing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of automated production of vehicle-mounted electronic products, and in particular to a visual positioning method for automated screwing of a vehicle-mounted screen housing. Background Art

[0002] In the process of automated production of car screens, the back shell of the screen needs to be installed and fixed on the main body of the screen to assemble into a complete product. The shell of the screen is mainly assembled on the main body of the screen through several screws of different diameters. Traditional screw driving is mainly done manually, by manually finding the location of the screw hole, and then finding the screw with the corresponding hole size, and manually screwing it in. It is inefficient and cannot meet the needs of automated production. It is easy to miss screw holes, and it is impossible to record some technical parameters of screw driving, such as the torque, number of turns and angle of the screw. These technical parameters are used to evaluate whether the quality of the screw driving meets the standards, and to feedback some defective products for traceability and rework.

[0003] In order to solve the shortcomings of the current manual screw driving, some units have developed automated screw driving with robots, which rely on the fixed path of the robot to drive the screws. However, this type of screw driving with robots is extremely dependent on the accuracy of the robot's movement and the accuracy of the product's fixed position. The movement trajectory of the robot is fixed each time it drives the screws, so it is necessary to ensure that the product is fixed in the same position each time. This automated screw driving method has low accuracy and stability, will produce cumulative errors, and cannot automatically calibrate the relative position of the screw and the screw hole. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a visual positioning method for automated screwing of a vehicle-mounted screen shell in view of the above shortcomings. The visual positioning method of the present invention has a high degree of automation, high versatility, precise visual positioning, small error, and high stability, and can meet the needs of automated production of vehicle-mounted screen production lines.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0006] A visual positioning method for automatically screwing a vehicle-mounted screen housing comprises the following steps:

[0007] Step 1: Calibrate the camera internal parameters to obtain the camera internal parameters;

[0008] Step 2: Fix the camera on the mobile end of the manipulator, perform hand-eye calibration on the camera and the manipulator, and obtain the conversion relationship between the camera coordinate system and the manipulator coordinate system;

[0009] Step 3: Align the screw gun on the robot with the screw hole to be punched. The state at this time is the standard alignment state, and perform alignment calibration to obtain the camera coordinates of the central feature point of the screw hole to be punched in the aligned state;

[0010] Step 4, calculating the rigid body transformation relationship of the camera coordinates of the center feature point of the screw hole to be punched from the to-be-aligned state to the aligned state according to the camera coordinates of the center feature point of the screw hole to be punched in the aligned state;

[0011] The rigid body transformation relationship of the robot coordinates of the center feature point of the threaded hole to be punched from the to-be-aligned state to the aligned state is calculated according to the transformation relationship between the camera coordinate system and the robot coordinate system;

[0012] Step 5: According to the rigid body transformation relationship obtained in step 4, the coordinates of the center feature point of the threaded hole to be drilled are transformed from the waiting state to the alignment state, and the screw is automatically drilled according to the transformed coordinates of the center feature point of the threaded hole.

[0013] Furthermore, the internal reference calibration in step 1 adopts Zhang Zhengyou's internal reference calibration method.

[0014] Furthermore, the step 2 specifically includes the following steps:

[0015] Step 21, fix the camera on the mobile end of the manipulator;

[0016] Step 22: The manipulator drives the camera to move at least two positions in the X direction and the Y direction from the initial position of the manipulator, and the camera photographs the calibration plate at the two positions to obtain the image pixel coordinates at the two positions, and the two image pixel coordinates are converted into camera coordinates by the camera intrinsic parameter parameters obtained by the intrinsic calibration;

[0017] Step 23, construct the hand-eye calibration equation at each position respectively: AX=XB, where A represents the manipulator coordinates at the corresponding position, and B represents the camera coordinates at the corresponding position;

[0018] Step 24: Solve the transformation relationship X between the camera coordinate system and the manipulator coordinate system through all hand-eye calibration equations.

[0019] Furthermore, the step 3 specifically includes the following steps:

[0020] Step 31: Set the marking point on the screw gun;

[0021] Step 32, manually align the screw gun with the threaded hole, and the state at this time is the standard alignment state;

[0022] Step 33: In the alignment state, obtain the world coordinates P of the mark point on the screw gun 1and the world coordinates P of the center feature point of the screw hole to be drilled 2 ;

[0023] At this time, the camera on the robot captures the mark point on the screw gun and the central feature point of the screw hole to be punched, and obtains the camera coordinates of the mark point on the screw gun and the central feature point of the screw hole to be punched in the camera coordinate system. and

[0024] Step 33: calibrate P and 1 Convert the camera coordinates P to the camera coordinate system 1 c The rigid body transformation relationship and P 2 Convert the camera coordinates P to the camera coordinate system 2 c The rigid body transformation relationship

[0025] Step 34, pass formula: Calculate the camera coordinates of the center feature point of the screw hole to be drilled in the aligned state

[0026] Furthermore, the step 4 specifically includes the following steps:

[0027] Step 41: Fix the position of the screen back cover and set the mark point on the screw gun;

[0028] Step 42, the robot moves to the vicinity of the screw hole to be punched and performs rough positioning;

[0029] Step 43: The camera on the robot captures the marking point on the screw gun and the central feature point of the screw hole to be punched, extracts features from the captured central feature point image, and obtains the image pixel coordinates P of the marking point on the screw gun. 3 and the image pixel coordinates P of the center feature point of the screw hole to be punched 4 ;

[0030] Step 44: calibrate P and 3 Convert the camera coordinates P to the camera coordinate system 3 c The rigid body transformation relationship and P 4 Convert the camera coordinates P to the camera coordinate system 4 c The rigid body transformation relationship

[0031] Step 45, according to the formula: Calculate the camera coordinates of the center feature point of the screw hole to be drilled in the current state

[0032] According to the rigid body transformation equation Solve the rigid body transformation relationship R of the center feature point of the screw hole to be punched in the camera coordinate system from the state to be aligned to the state to be aligned c and t c , where P 2 The world coordinates of the center feature point of the screw hole to be drilled;

[0033] Step 46: The rigid body transformation relationship R of the threaded hole center feature point from the to-be-aligned state to the aligned state in the robot coordinate system b and t b It can be calculated according to the following formula:

[0034]

[0035] in, is the rotation matrix from the camera coordinate system to the manipulator coordinate system, R b for The inverse matrix of is the translation vector from the camera coordinate system to the manipulator coordinate system, t b for The inverse translation vector of

[0036] Furthermore, in the robot coordinate system R b It can be expressed using the pitch angle α, yaw angle β and roll angle γ:

[0037]

[0038] According to the angle definition of the model, α is the rotation angle of the model around the Y axis, β is the rotation angle of the model around the Z axis, and γ is the rotation angle of the model around the X axis.

[0039] After adopting the above technical solution, the present invention has the following advantages compared with the prior art:

[0040] The present invention uses machine vision to locate and guide the manipulator to align the screw holes, realizes automatic screwing by machine vision, and improves the degree of automation of the vehicle-mounted screen production line;

[0041] The design of the present invention has a simple structure, low cost, and easy deployment. The internal and external parameters of the camera only need to be calibrated once. The operation is simple and can automatically correct the relative position of the screw gun and the screw hole on the robot arm, thereby achieving high-precision and high-stability automated screw driving, and can meet the assembly of screws and threaded holes with different apertures and different positions.

[0042] The present invention is described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a result schematic diagram of the device in the embodiment of the present invention;

[0044] Figure 2 This is a diagram showing the threaded hole structure distribution of the screen housing;

[0045] Figure 3 It is the coordinate system conversion principle diagram of the present invention.

[0046] In the accompanying drawings, the components represented by the reference numerals are listed as follows:

[0047] 1. Robot; 2. Screw gun; 3. Main visual positioning component; 3-1. Camera; 3-2. Lens; 3-3. Light source; 4. Auxiliary visual positioning component; 5. Screen shell; 5-1. M1 threaded hole; 5-2. M3 threaded hole; 5-3. M5 threaded hole. DETAILED DESCRIPTION

[0048] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0049] In the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", "clockwise", "counterclockwise", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, they should not be understood as limitations on the present invention.

[0050] A visual positioning method for automatic screwing of a vehicle-mounted screen housing, characterized in that it comprises the following steps:

[0051] Step 1: Calibrate the camera internal parameters to obtain the camera internal parameters;

[0052] Among them, the internal parameter calibration adopts Zhang Zhengyou’s camera internal parameter calibration method. In the process of camera internal parameter calibration, the first posture of the calibration plate is first used as the reference. According to the correspondence between the marker points on the calibration plate, the position relationship of the calibration plate in other postures relative to the first posture is calculated respectively, so as to obtain the initial external parameters under each calibration plate posture, and obtain the rough three-dimensional coordinates of the marker points on the calibration plate through initial three-dimensional reconstruction. Then, the objective equation with the minimum reverse projection error of all marker points is established, and the least squares optimization is used to optimize the internal parameters of the camera and the three-dimensional coordinates of the marker points on the calibration plate at the same time. Assuming that there are n marker points on the calibration plate, and the calibration plate is placed in m postures in the measurement space during the calibration process, the image pixel coordinates of the yth marker point on the calibration plate under the xth posture can be expressed as m xy , then the objective equation is:

[0053]

[0054] Among them, p represents the projection equation, which can project the three-dimensional point in the space onto the two-dimensional image plane; A is the internal parameter matrix of the camera, and its initial value can be calculated according to the nominal values ​​of the camera and lens; is the distortion coefficient, including the radial distortion and tangential distortion of the lens;

[0055] Collect 13 calibration plate images at different positions and angles to calibrate the camera's intrinsic parameters and obtain the camera's intrinsic parameter matrix Where a and b are the normalized focal lengths in the horizontal and vertical directions, respectively. 0 ,v 0 ) are the image pixel coordinates of the principal point, and γ is the tilt angle of the two image axes.

[0056] Furthermore, the camera intrinsic calibration takes into account the third-order radial distortion and second-order tangential distortion of the lens:

[0057]

[0058] in, is the actual physical size coordinate of the image point, (x, y) is the ideal physical size coordinate of the image point, r 2 =x 2 +y 2 , k 1 ,k 2 ,k 3 are the first-order, second-order and third-order radial distortion parameters, p 1 ,p 2 are the first-order and second-order tangential distortions respectively. Since the actual image point pixel coordinate value is The ideal image point pixel coordinate value is u=u 0 +a xx+γy,v=v 0 +a y y, then according to formula (2):

[0059]

[0060] Assuming that there are m image points in each posture, after shooting n postures, the simultaneous equations (3) can obtain 2mn equations, and the least squares solution of the distortion parameters can be obtained.

[0061] Step 2: Fix the camera on the mobile end of the manipulator, perform hand-eye calibration on the camera and the manipulator, and obtain the conversion relationship between the camera coordinate system and the manipulator coordinate system, which specifically includes the following steps:

[0062] Step 21, fix the camera on the mobile end of the manipulator;

[0063] Step 22: The manipulator drives the camera to move at least two positions in the X direction and the Y direction from the initial position of the manipulator, and the camera photographs the calibration plate at the two positions to obtain the image pixel coordinates at the two positions, and the two image pixel coordinates are converted into camera coordinates by the camera intrinsic parameter parameters obtained by the intrinsic calibration;

[0064] Step 23, construct the hand-eye calibration equation at each position respectively: AX=XB, where A represents the manipulator coordinates at the corresponding position, and B represents the camera coordinates at the corresponding position;

[0065] Step 24, solving the transformation relationship X between the camera coordinate system and the manipulator coordinate system through all hand-eye calibration equations;

[0066] Specifically, Figure 3 As shown in the figure, taking the robot driving the camera to move two positions in the X direction and Y direction from the initial position of the robot as an example, two hand-eye calibration equations are constructed: A i X=XB i and A j X=XB j , where A i and A j Represent the manipulator coordinates of the manipulator coordinate system at i and j, respectively, B i and B j Represent the camera coordinates of the camera coordinate system at i and j respectively;

[0067] The solution steps include:

[0068] Step 241, the process of hand-eye calibration is relatively simple: take the solution of the form of AX=XB as an example, Figure 3 In the scene shown, two hand-eye calibration equations are obtained:

[0069] Ai XB i =A j XB j

[0070] The above formula can be converted to in, That is, the transformation of the camera from position j to position i, is the transformation of the manipulator from position i to position j; then:

[0071] AX=XB

[0072] in, Where R is a 3 x 3 unit orthogonal matrix representing rotation, and T is a 3 x 1 translation vector; then:

[0073]

[0074] Step 242: From the number of unknowns, we know that we need another set of equations to complete the solution, namely

[0075]

[0076] Introducing matrix direct product And the vectorization operator vec, from its properties we can know:

[0077]

[0078] Step 243: Translates to:

[0079]

[0080] Among them, I 3 represents the identity matrix with 3 rows and 3 columns, O 9×3 represents a zero matrix of 9 rows and 3 columns, O 9 Represents the zero vector of 9 rows and 1 column;

[0081] The above formula has formed the form of EX=b, where E represents the coefficient matrix, so it can be solved by the following formula:

[0082] X=(E T E) -1 E T b,

[0083] The conversion relationship from the camera coordinate system to the base coordinate system can be obtained as

[0084] in, is the rotation matrix, The translation vector.

[0085] Step 3: Align the screw gun on the robot with the screw hole to be punched. The state at this time is the standard alignment state, and perform alignment calibration to obtain the camera coordinates of the central feature point of the screw hole to be punched in the aligned state, which specifically includes the following steps:

[0086] Step 31: Set the marking point on the screw gun;

[0087] Step 32, manually align the screw gun with the threaded hole, and the state at this time is the standard alignment state;

[0088] Step 33: In the alignment state, obtain the world coordinates P of the mark point on the screw gun 1 and the world coordinates P of the center feature point of the screw hole to be drilled 2 ;

[0089] At this time, the camera on the robot captures the mark point on the screw gun and the central feature point of the screw hole to be punched, and obtains the camera coordinates P of the mark point on the screw gun and the central feature point of the screw hole to be punched in the camera coordinate system. 1 c and P 2 c ;

[0090] Step 33: calibrate P and 1 Convert the camera coordinates P to the camera coordinate system 1 c The rigid body transformation relationship and P 2 Convert the camera coordinates P to the camera coordinate system 2 c The rigid body transformation relationship

[0091] Step 34, pass formula: Calculate the camera coordinates of the center feature point of the screw hole to be drilled in the aligned state

[0092] Step 4, calculating the rigid body transformation relationship of the camera coordinates of the center feature point of the screw hole to be punched from the to-be-aligned state to the aligned state according to the camera coordinates of the center feature point of the screw hole to be punched in the aligned state;

[0093] The rigid body transformation relationship of the robot coordinates of the center feature point of the threaded hole to be punched from the to-be-aligned state to the aligned state is calculated according to the transformation relationship between the camera coordinate system and the robot coordinate system, specifically including the following steps:

[0094] Step 41: Fix the position of the screen back cover and set the mark point on the screw gun;

[0095] Step 42, the robot moves to the vicinity of the screw hole to be punched and performs rough positioning;

[0096] Step 43: The camera on the robot captures the marking point on the screw gun and the central feature point of the screw hole to be punched, extracts features from the captured central feature point image, and obtains the image pixel coordinates P of the marking point on the screw gun. 3 and the image pixel coordinates P of the center feature point of the screw hole to be punched 4 ;

[0097] Step 44: calibrate P and 3 Convert the camera coordinates P to the camera coordinate system 3 c The rigid body transformation relationship and P 4 Convert the camera coordinates P to the camera coordinate system 4 c The rigid body transformation relationship

[0098] Step 45, according to the formula: Calculate the camera coordinates of the center feature point of the screw hole to be drilled in the current state

[0099] According to the rigid body transformation equation Solve the rigid body transformation relationship R of the center feature point of the screw hole to be punched in the camera coordinate system from the state to be aligned to the state to be aligned c and t c , where P 2 The world coordinates of the center feature point of the screw hole to be drilled;

[0100] Step 46: The rigid body transformation relationship R of the threaded hole center feature point from the to-be-aligned state to the aligned state in the robot coordinate system b and t b It can be calculated according to the following formula:

[0101]

[0102] in, is the rotation matrix from the camera coordinate system to the manipulator coordinate system, R b for The inverse matrix of is the translation vector from the camera coordinate system to the manipulator coordinate system, t b for The inverse translation vector of

[0103] Furthermore, in the robot coordinate system R b It can be expressed using the pitch angle α, yaw angle β and roll angle γ:

[0104]

[0105] According to the angle definition of the model, α is the rotation angle of the model around the Y axis, β is the rotation angle of the model around the Z axis, and γ is the rotation angle of the model around the X axis.

[0106] Step 5: According to the rigid body transformation relationship obtained in step 4, the coordinates of the center feature point of the threaded hole to be drilled are transformed from the waiting state to the alignment state, and the screw is automatically drilled according to the transformed coordinates of the center feature point of the threaded hole.

[0107] like Figure 2 As shown, the screen housing 5 is provided with M1 threaded holes 5-1, M3 threaded holes 5-2 and M5 threaded holes 5-3;

[0108] After using the above-mentioned visual calibration method, the M1 threaded hole 5-1, the M3 threaded hole 5-2 and the M5 threaded hole 5-3 on the screen housing 5 can be visually positioned and automatically screwed.

[0109] like Figure 1 As shown, a device for automatically screwing a vehicle-mounted screen housing includes a manipulator 1, a screw gun 2, a main visual positioning component 3, an auxiliary visual positioning component 4 and a screen housing 5. The screw gun 2, the main visual positioning component 3 and the auxiliary visual positioning component 4 are all arranged at the end of the manipulator 1. The main visual positioning component 3 and the auxiliary visual positioning component 4 each include a camera 3-1, a lens 3-2 and a light source 3-3. The screw gun 2 is provided with a marking point.

[0110] In this embodiment, the camera 3-1 is an industrial camera, and the lens 3-2 is an industrial lens;

[0111] When in use, the main visual positioning component 3 and the auxiliary visual positioning component 4 work together. When the camera results of the main visual positioning component 3 and the auxiliary visual positioning component 4 are relatively close, the average value of the measurement results is calculated; when the measurement results of the two cameras of the main visual positioning component 3 and the auxiliary visual positioning component 4 are significantly different, the system performs exception processing.

[0112] The above is an example of the best implementation of the present invention, and the parts not described in detail are common knowledge of ordinary technicians in the field. The protection scope of the present invention shall be based on the content of the claims, and any equivalent transformation based on the technical enlightenment of the present invention is also within the protection scope of the present invention.

Claims

1. A visual positioning method for automatic screwing of a vehicle-mounted screen housing, characterized in that: The following steps are involved: Step 1: Calibrate the camera internal parameters to obtain the camera internal parameters; Step 2: Fix the camera on the mobile end of the manipulator, perform hand-eye calibration on the camera and the manipulator, and obtain the conversion relationship between the camera coordinate system and the manipulator coordinate system; Step 3: Align the screw gun on the robot with the screw hole to be punched. The state at this time is the standard alignment state, and perform alignment calibration to obtain the camera coordinates of the central feature point of the screw hole to be punched in the aligned state; The step 3 specifically comprises the following steps: Step 31: Set the marking point on the screw gun; Step 32, manually align the screw gun with the screw hole, and the state at this time is the standard alignment state; Step 33, in the alignment state, obtain the world coordinates P1 of the mark point on the screw gun and the world coordinates P2 of the center feature point of the screw hole to be punched; At this time, the camera on the robot captures the mark point on the screw gun and the central feature point of the screw hole to be punched, and obtains the camera coordinates P1 of the mark point on the screw gun and the central feature point of the screw hole to be punched in the camera coordinate system. c and P2 c ; Step 33: Calibrate the camera coordinates P1 converted to the camera coordinate system by camera self-calibration. c The rigid body transformation relationship and P2 are converted to the camera coordinates P2 in the camera coordinate system c The rigid body transformation relationship Step 34, pass formula: Calculate the camera coordinates of the center feature point of the screw hole to be drilled in the aligned state Step 4, calculating the rigid body transformation relationship of the camera coordinates of the center feature point of the screw hole to be punched from the to-be-aligned state to the aligned state according to the camera coordinates of the center feature point of the screw hole to be punched in the aligned state; The rigid body transformation relationship of the robot coordinates of the center feature point of the screw hole to be punched from the to-be-aligned state to the aligned state is calculated according to the transformation relationship between the camera coordinate system and the robot coordinate system; The step 4 specifically comprises the following steps: Step 41: Fix the position of the screen back cover and set the mark point on the screw gun; Step 42, the robot moves to the vicinity of the screw hole to be punched and performs rough positioning; Step 43, the camera on the manipulator photographs the mark point on the screw gun and the central feature point of the screw hole to be punched respectively, performs feature extraction on the photographed central feature point image, and obtains the image pixel coordinates P3 of the mark point on the screw gun and the image pixel coordinates P4 of the central feature point of the screw hole to be punched respectively; Step 44: calibrate the camera coordinates P3 converted to the camera coordinate system by camera self-calibration. c The rigid body transformation relationship and P4 are converted to the camera coordinates P4 in the camera coordinate system c The rigid body transformation relationship Step 45, according to the formula: Calculate the camera coordinates of the center feature point of the screw hole to be drilled in the current state According to the rigid body transformation equation Solve the rigid body transformation relationship R of the center feature point of the screw hole to be punched in the camera coordinate system from the state to be aligned to the state to be aligned c and t c , where P2 is the world coordinate of the center feature point of the screw hole to be punched; Step 46: The rigid body transformation relationship R of the screw hole center feature point from the to-be-aligned state to the aligned state in the robot coordinate system b and t b It can be calculated according to the following formula: in, is the rotation matrix from the camera coordinate system to the manipulator coordinate system, R b for The inverse matrix of is the translation vector from the camera coordinate system to the manipulator coordinate system, t b for The inverse translation vector of Furthermore, in the robot coordinate system R b It can be expressed using the pitch angle α, yaw angle β and roll angle γ: According to the angle definition of the model, α is the rotation angle of the model around the Y axis, β is the rotation angle of the model around the Z axis, and γ is the rotation angle of the model around the X axis; Step 5: According to the rigid body transformation relationship obtained in step 4, the coordinates of the central feature point of the screw hole to be drilled are transformed from the waiting state to the alignment state, and the screw is automatically drilled according to the transformed coordinates of the central feature point of the screw hole.

2. The method for automatically screwing a vehicle-mounted screen housing using machine vision according to claim 1, characterized in that: The internal reference calibration in step 1 adopts Zhang Zhengyou's internal reference calibration method.

3. The visual positioning method for automatic screwing of a vehicle-mounted screen housing according to claim 1 is characterized in that: The step 2 specifically includes the following steps: Step 21, fix the camera on the mobile end of the manipulator; Step 22: The manipulator drives the camera to move at least two positions in the X direction and the Y direction from the initial position of the manipulator, and the camera photographs the calibration plate at the two positions to obtain the image pixel coordinates at the two positions, and the two image pixel coordinates are converted into camera coordinates by the camera intrinsic parameter parameters obtained by the intrinsic calibration; Step 23, construct the hand-eye calibration equation at each position respectively: AX=XB, where A represents the manipulator coordinates at the corresponding position, and B represents the camera coordinates at the corresponding position; Step 24: Solve the transformation relationship X between the camera coordinate system and the manipulator coordinate system through all hand-eye calibration equations.

Citation Information

Patent Citations

  • Visual-servo-based screw hole locating and screw locking-removing method

    CN107984201A

  • Machine vision based robot automatic locking control system and method

    CN108312144A

  • Screw locking method and device, and computer readable storage medium

    CN108921890A

  • High-precision method for hand-eye calibration of fixed camera vision system of SCARA mechanical arm

    CN109159114A

  • Visual guidance method for robot to fix screws

    CN110842919A