Online dynamic test method and system for coating quality of workpiece

Through multi-sensor fusion and dynamic lamination technology of robotic arms, the problem of shaking of suspended workpieces of engineering vehicles and modification of detection instruments has been solved, and automated online detection of the coating quality of workpieces has been achieved, improving detection accuracy and safety, and reducing costs.

WO2024188101A1PCT designated stage expired Publication Date: 2024-09-19HUNAN UNIV

Patent Information

Application Number
PCT/CN2024/080066
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2024-03-05
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

In the production process of engineering vehicles, the shaking of suspended workpieces makes it impossible to apply traditional automated coating quality inspection methods. Moreover, the cost of replacing or modifying existing inspection instruments is high, making it difficult to realize automated online inspection of workpiece coating quality.

Method used

Using a multi-sensor fusion method, the workpiece image and distance information are collected in real time through 3D cameras and displacement sensor components, and a detection plane coordinate system is constructed. Combined with the free drive mode of the robotic arm and the suction cup function, the dynamic fit and quality inspection of the suspended workpiece are realized. .

Benefits of technology

It realizes automated online coating quality inspection of suspended workpieces, solves the problem of shaking and the difficulty of modifying inspection instruments, improves the accuracy and safety of inspection, and reduces inspection costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080066_19092024_PF_FP_ABST
    Figure CN2024080066_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are an online dynamic test method and system for the coating quality of a workpiece. The method comprises: collecting image data of a workpiece to be tested and preprocessing same, selecting point cloud data of when the swing amplitude of said workpiece is at the maximum, obtaining a first target pose by means of a point cloud registration method, and controlling a mechanical arm to drive an end effector mechanism to arrive at the first target pose; collecting in real time distance information between the end effector mechanism and said workpiece by using a displacement sensor, constructing a real-time test plane coordinate system as a second target pose, and controlling the mechanical arm to drive the end effector mechanism to arrive at the second target pose in real time; and detecting an attachment state of the end effector mechanism and said workpiece by using an optical fiber sensor, after the end effector mechanism is attached to said workpiece, sucking air by means of a suction cup, so as to suction the end effector mechanism to the surface of said workpiece, and a coating quality test module on the end effector mechanism performing a coating quality test on said workpiece. The method can realize an online dynamic test for the coating quality of a workpiece.
Need to check novelty before this filing date? Find Prior Art

Description

A method and system for online dynamic detection of workpiece coating quality

[0001] This application claims priority to the Chinese patent application filed with the Patent Office of China on March 16, 2023. The application number of the Chinese patent application is CN202310255890.X, and the name of the invention is “A method and system for online dynamic detection of workpiece coating quality”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present invention belongs to the technical fields of robot three-dimensional vision, object 6D posture estimation and plane dynamic tracking, and in particular relates to an online dynamic detection method and detection system for workpiece coating quality. Background Art

[0003] Engineering vehicles, such as excavators, pump trucks, cranes, etc., need to complete their work tasks outdoors for a long time. Due to the complex outdoor environmental conditions and the fact that most of the structural components of engineering vehicles are made of steel, if rust prevention measures are not taken or improper rust prevention measures are taken, it is very easy for the vehicle's steel structure to rust, resulting in frequent vehicle repairs or even scrapping. In order to extend the service life of these engineering vehicles and reduce the subsequent repair and maintenance costs, these engineering vehicles need to focus on steel rust prevention during the production process.

[0004] Spraying anti-rust paint on steel structures is the most economical and effective means of rust prevention. The quality of the coating is directly related to the rust prevention ability of steel. Therefore, coating quality indicators, such as film thickness, glossiness, color difference, etc., have also become an important standard for assessing the production and manufacturing quality of engineering vehicles. In the spraying process, the spraying plant needs to handle a large number of workpieces (parts) to be sprayed, which are of various types and large in size, and require a large spraying area. Most plants are designed to suspend workpieces with hooks for assembly line operations, that is, the workpiece is suspended on the upper guide rails by hooks, and the guide rails drive the workpiece to complete each production process. In this working mode, the workpiece is always in a state of disordered shaking. The traditional method of controlling the robotic arm through teaching to achieve automated coating quality inspection cannot solve the problem of workpiece shaking and cannot be applied to the above working conditions; manual coating quality inspection is time-consuming and labor-intensive, and there are safety hazards. Therefore, in order to realize automated online dynamic detection of coating quality, it is necessary to provide a method of dynamic fitting and dynamic following of the workpiece to solve the shaking problem of the workpiece to be inspected.

[0005] The present invention aims to propose an online detection method for workpiece coating quality based on multi-sensor fusion, so as to realize the upgrading and transformation of the existing coating quality detection mode. At present, the paint surface quality detection instruments used in spray painting plants are mostly handheld. If you want to realize automated detection operations, you need to replace or modify the detection instruments. However, considering that the cost of a single detection instrument is relatively high, and each plant has formed relatively complete evaluation indicators for the type of workpiece to be inspected, it is difficult to replace or modify the detection instruments. Therefore, in order to realize the automated online detection of coating quality, it is necessary to consider how to complete the acquisition of relevant detection data without changing the existing detection instruments.

[0006] In summary, how to solve the problem of hanging workpiece shaking and the problem of modification and replacement of coating quality inspection instruments to realize automated online inspection of workpiece coating quality is a relatively difficult problem currently existing in this field.

[0007] Summary of the Invention

[0008] In order to solve the above problems, the present invention provides an online dynamic detection method and detection system for workpiece coating quality.

[0009] A method for online dynamic detection of workpiece coating quality, the method comprising the following steps:

[0010] S1. Preset the initial position of the end effector, and use the 3D camera on the end effector to collect a preset number of frames of image data of the workpiece to be inspected in real time at a preset acquisition frequency. The image data includes RGB images and point cloud data. The RGB image and point cloud data collected in a single time are grouped together. Each group of image data is preprocessed in turn to select the point cloud data when the swing amplitude of the workpiece to be inspected is the largest.

[0011] S2. Using a point cloud registration method to obtain the pose of the workpiece to be inspected corresponding to the point cloud data when the swing amplitude is maximum, obtaining a first target pose based on the pose of the workpiece to be inspected, and controlling the robotic arm to drive the end effector fixed at its end to move to the first target pose;

[0012] S3: Use the displacement sensor assembly on the end effector to collect the distance information between the end effector and the workpiece to be inspected in real time, construct a real-time detection plane coordinate system based on the distance information, use the real-time detection plane coordinate system as the second target posture, control the robotic arm to drive the end effector to reach the second target posture in real time, and gradually bring the end effector and the workpiece to be inspected closer until they are in contact;

[0013] S4. Using the optical fiber sensor assembly on the end effector to detect the contact state between the end effector and the workpiece to be inspected, when the end effector and the workpiece to be inspected are in contact, the robotic arm starts the free drive mode, and the suction cup on the end effector absorbs air, adsorbing the end face of the end effector to the surface of the workpiece to be inspected;

[0014] S5. Use the coating quality inspection module on the end effector to inspect the coating quality of the surface of the workpiece to be inspected. After the inspection is completed, the suction cup is deflated, and the swing of the workpiece to be inspected pushes the end effector to reach the extreme position of the swing of the workpiece to be inspected. Then the robotic arm exits the free drive mode and drives the end effector to return to its initial position.

[0015] Preferably, in S1, each set of image data is preprocessed in turn to filter out the point cloud data when the swing amplitude of the workpiece to be detected is the largest, specifically including:

[0016] S11, identifying the area where the workpiece to be detected is located through the RGB image in each set of image data, and generating a mask;

[0017] S12, cutting the point cloud data in each set of image data by using a mask to separate the cut point cloud data corresponding to the workpiece to be inspected;

[0018] S13, filtering the cut point cloud data to obtain filtered point cloud data;

[0019] S14, sequentially calculating the AABB bounding boxes of the filtered point cloud data, and determining the point cloud data when the swing amplitude of the workpiece to be inspected is the largest according to the side length of the AABB bounding box.

[0020] Preferably, in S2, a point cloud registration method is used to obtain the posture of the workpiece to be detected corresponding to the point cloud data when the swing amplitude is maximum, specifically including:

[0021] S21, reading the 3D model point cloud data of the workpiece to be inspected, aligning the center of gravity of the 3D model point cloud data with the origin of the 3D camera coordinate system, and using this as the source point cloud data; using the center of gravity of the 3D model point cloud data as the initial center of gravity of the source point cloud data; using the posture of the 3D model point cloud data as the initial posture of the source point cloud data; and using the point cloud data of the workpiece to be inspected when the swing amplitude is the largest as the target point cloud data;

[0022] S22, reading the maximum value and the minimum value on each coordinate axis in the target point cloud data as the coordinate positions of the farthest corner point and the closest corner point of the AABB bounding box of the target point cloud data respectively;

[0023] S23, calculating the coordinates of the center of gravity of the AABB bounding box of the target point cloud data using the coordinates of the farthest corner point and the nearest corner point of the AABB bounding box, using the coordinates of the center of gravity of the AABB bounding box as a reference, changing the position of the center of gravity of the source point cloud data until the center of gravity of the source point cloud data coincides with the center of gravity of the AABB bounding box of the target point cloud data, and obtaining a first transformation matrix based on the difference between the pose of the source point cloud data after the coincidence and the initial pose of the source point cloud data;

[0024] S24, using the FPFH algorithm to perform coarse registration on the source point cloud data and the target point cloud data, and obtaining a second transformation matrix according to the difference between the pose of the source point cloud data after the coarse registration and the pose of the source point cloud data after the overlap in S23;

[0025] S25, using the ICP algorithm to optimize the second transformation matrix to complete the fine registration, and obtaining the third transformation matrix based on the difference between the pose of the source point cloud data after the fine registration and the pose of the source point cloud data after the coarse registration in S24;

[0026] S26. Obtain the transformation matrix between the source point cloud data and the target point cloud data through the first transformation matrix, the second transformation matrix, and the third transformation matrix, perform coordinate transformation on the source point cloud data through the transformation matrix, and transform the posture of the workpiece to be detected in the camera coordinate system to the posture of the workpiece to be detected in the robot arm base coordinate system.

[0027] Preferably, in S23, the coordinates of the center of gravity of the AABB bounding box are calculated by the coordinate positions of the farthest corner point and the nearest corner point of the AABB bounding box of the target point cloud data. The specific formula is: [x tc ,y tc ,z tc ]=(P tmax +P tmin ) / 2

[0028] Among them, P tmax =[x tmax ,y tmax ,z tmax ] P tmin =[x tmin ,y tmin ,z tmin ]

[0029] Where, P tmax is the target point cloud data P t The coordinates of the farthest corner of the AABB bounding box, P min is the target point cloud data P tThe coordinates of the nearest corner of the AABB bounding box, x tmax ,y tmax ,z tmax They are the maximum values ​​on each coordinate axis of the target point cloud data, x tmin ,y tmin ,z tmin are the minimum values ​​of each coordinate axis of the target point cloud data, x tc ,y tc ,z tc They are the coordinates of the center of gravity of the AABB bounding box of the target point cloud data.

[0030] Preferably, the first conversion matrix in S23 is specifically formulated as follows:

[0031] Where T1 is the first transformation matrix, x tc ,y tc ,z tc They are the coordinates of the center of gravity of the AABB bounding box of the target point cloud data.

[0032] Preferably, in S26, the conversion matrix between the source point cloud data and the target point cloud data is obtained by using the first conversion matrix, the second conversion matrix and the third conversion matrix. The specific formula is: s2t =T3·T2·T1 Point target =T s2t Point source

[0033] Where Point target is the target point cloud data, Point source is the source point cloud data, T s2t is the conversion matrix between the source point cloud data and the target point cloud data, T1 is the first conversion matrix, T2 is the second conversion matrix, and T3 is the third conversion matrix.

[0034] Preferably, the displacement sensor assembly includes a first displacement sensor, a second displacement sensor, and a third displacement sensor. In S3, the displacement sensor assembly on the end effector is used to collect distance information between the end effector and the workpiece in real time, and a real-time detection plane coordinate system is constructed based on the distance information, specifically including:

[0035] S31, using a first displacement sensor, a second displacement sensor, and a third displacement sensor on the end effector to collect distance information between the end effector and the workpiece in real time;

[0036] S32, determining the two-dimensional coordinates of the first displacement sensor, the second displacement sensor, and the third displacement sensor in the end coordinate system of the manipulator according to the installation positions of the first displacement sensor, the second displacement sensor, and the third displacement sensor on the end actuator;

[0037] S33, expanding the distance information and the two-dimensional coordinates into the three-dimensional coordinates of the first displacement sensor, the second displacement sensor, and the third displacement sensor in the coordinate system of the end of the robotic arm;

[0038] S34, calculating a normal vector of a real-time detection plane formed by the first displacement sensor, the second displacement sensor, and the third displacement sensor according to the three-dimensional coordinates;

[0039] S35. Construct a real-time detection plane coordinate system according to the robot arm end coordinate system and the normal vector of the real-time detection plane.

[0040] Preferably, in S34, a normal vector of a real-time detection plane formed by the first displacement sensor, the second displacement sensor, and the third displacement sensor is calculated according to the three-dimensional coordinates. The normal vector of the real-time detection plane is specifically:

[0041] in,

[0042] Where, is the three-dimensional vector pointing from the second displacement sensor to the first displacement sensor, is the three-dimensional vector pointing from the third displacement sensor to the first displacement sensor, x si ,y si ,z si is the three-dimensional coordinate corresponding to the i-th displacement sensor, i = 1, 2, 3, To detect the normal vector of the plane in real time.

[0043] Preferably, in S35, a real-time detection plane coordinate system is constructed according to the normal vector of the manipulator end coordinate system and the real-time detection plane. The real-time detection plane coordinate system is specifically:

[0044] Where, O w To detect the plane coordinate system in real time, To detect the positive direction of the x-axis in the plane coordinate system in real time, To detect the positive direction of the y-axis in the plane coordinate system in real time, To detect the positive direction of the z-axis in the plane coordinate system in real time.

[0045] A dynamic detection system using the above-mentioned online dynamic detection method for workpiece coating quality includes: a robotic arm, an industrial computer and an end-effector. The industrial computer is connected to the robotic arm, and the end-effector is installed at the end of the robotic arm. The industrial computer is equipped with a posture calculation module, a communication module, and a motion control module. The end-effector includes a bracket, a 3D camera, a displacement sensor component, an optical fiber sensor component, a suction cup, and a coating quality detection module.

[0046] The 3D camera is fixed on the bracket and is used to capture images of the real-time scene containing the workpiece to be inspected, obtain real-time image data, and send it to the posture calculation module;

[0047] The displacement sensor assembly is fixed on the bracket and is used to collect the distance information between the end effector and the workpiece to be detected in real time and send it to the posture calculation module;

[0048] The posture calculation module is used to receive real-time image data and distance information, process them, output target posture information, and send the target posture information to the motion control module through the communication module;

[0049] After receiving the target posture information, the motion control module processes it to obtain the target posture, and controls the robotic arm to drive the end actuator fixed at its end to reach the target posture;

[0050] The optical fiber sensor assembly is fixed on the bonding surface of the bracket to detect the bonding status of the end actuator and the workpiece to be detected, and sends the bonding OK signal to the motion control module through the communication module;

[0051] The suction cup is fixed in the center of the bracket. After the motion control module receives the signal from the communication module indicating that the bonding is OK, it controls the suction cup to complete the air extraction action and adsorbs the end effector onto the surface of the workpiece to be inspected.

[0052] The coating quality inspection module is fixed on the bracket and is used to inspect the coating quality of the surface of the workpiece to be inspected.

[0053] The above-mentioned method and system for online dynamic detection of workpiece coating quality obtains the posture of the workpiece to be detected through real-time 3D point cloud model registration analysis of the workpiece to be detected; uses a displacement sensor to form a detection plane, and dynamically adjusts the posture of the end actuator on the robotic arm in real time based on the distance information between the workpiece to be detected and the end actuator on the robotic arm detected in real time by the displacement sensor, so that it can flexibly fit the workpiece to be detected; cooperates with the free drive mode of the robotic arm to ensure that the end face of the end actuator of the detection instrument is stably fitted with the surface of the workpiece to be detected during detection, which can solve the problem of workpiece shaking during the detection process. In addition, the end actuator can be equipped with any coating quality index detection instrument to obtain the corresponding index data; it is equipped with a suction cup to further ensure that the end face of the end actuator and the surface of the workpiece to be detected remain relatively still during the detection process, ensuring the reliability of the detection value, so as to realize online detection of workpiece coating quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] FIG1 is a flow chart of a method for online dynamic detection of workpiece coating quality according to one embodiment of the present invention;

[0055] FIG2 is a schematic diagram of an online dynamic detection system for workpiece coating quality according to an embodiment of the present invention;

[0056] FIG3 is a schematic diagram of an end effector mechanism of an online dynamic detection system for workpiece coating quality in one embodiment of the present invention, FIG3(a) is a top schematic diagram of the end effector mechanism, and FIG3(b) is a bottom schematic diagram of the end effector mechanism.

[0057] Explanation of the accompanying symbols: 1. Robotic arm; 2. Industrial computer; 3. End effector; 31. Gloss meter; 32. Film thickness meter; 33. Displacement sensor assembly; 34. Colorimeter; 35. 3D camera; 36. Fiber optic sensor assembly; 37. Suction cup; 38. Bracket. DETAILED DESCRIPTION

[0058] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below with reference to the accompanying drawings.

[0059] A method for online dynamic detection of workpiece coating quality, the method comprising the following steps:

[0060] S1. Preset the initial position of the end effector, and use the 3D camera on the end effector to collect a preset number of frames of image data of the workpiece to be inspected in real time at a preset acquisition frequency. The image data includes RGB images and point cloud data. The RGB image and point cloud data collected in a single time are grouped together. Each group of image data is preprocessed in turn to select the point cloud data when the swing amplitude of the workpiece to be inspected is the largest.

[0061] S2. Using a point cloud registration method to obtain the pose of the workpiece to be inspected corresponding to the point cloud data when the swing amplitude is maximum, obtaining a first target pose based on the pose of the workpiece to be inspected, and controlling the robotic arm to drive the end effector fixed at its end to move to the first target pose;

[0062] S3: Use the displacement sensor assembly on the end effector to collect the distance information between the end effector and the workpiece to be inspected in real time, construct a real-time detection plane coordinate system based on the distance information, use the real-time detection plane coordinate system as the second target posture, control the robotic arm to drive the end effector to reach the second target posture in real time, and gradually bring the end effector and the workpiece to be inspected closer until they are in contact;

[0063] S4. Using the optical fiber sensor assembly on the end effector to detect the contact state between the end effector and the workpiece to be inspected, when the end effector and the workpiece to be inspected are in contact, the robotic arm starts the free drive mode, and the suction cup on the end effector absorbs air, adsorbing the end face of the end effector to the surface of the workpiece to be inspected;

[0064] S5. Use the coating quality inspection module on the end effector to inspect the coating quality of the surface of the workpiece to be inspected. After the inspection is completed, the suction cup is deflated, and the swing of the workpiece to be inspected pushes the end effector to reach the extreme position of the swing of the workpiece to be inspected. Then the robotic arm exits the free drive mode and drives the end effector to return to its initial position.

[0065] Specifically, referring to FIG1 , FIG1 is a flow chart of a method for online dynamic detection of workpiece coating quality in one embodiment of the present invention.

[0066] A method for online dynamic detection of workpiece coating quality, firstly, presetting the initial posture of the end effector installed at the end of a robotic arm, and using a 3D camera on the end effector to collect more than or equal to 60 frames of image data of the workpiece to be detected in real time at an acquisition frequency of more than or equal to 20 Hz, the real-time image data includes RGB images and point cloud data, and a single acquisition of RGB images and point cloud data is grouped together; then, the image data is preprocessed in groups, and the point cloud data when the swing amplitude of the workpiece to be detected is the largest is screened out; then, a point cloud registration method is used to obtain the posture of the workpiece to be detected corresponding to the point cloud data when the swing amplitude is the largest, and a first target posture is obtained according to the posture of the workpiece to be detected, specifically, the posture of the workpiece to be detected at the maximum swing position is used as a reference, and the posture of the workpiece 10 cm away from the maximum swing position is used as the first target posture, and the robotic arm is controlled to drive the end effector to the first target posture; then, a displacement sensor is used The sensor component collects the distance information between the end effector of the robot arm and the workpiece to be detected in real time, constructs a detection plane coordinate system based on the distance information, and uses the coordinate origin of the detection plane coordinate system and the positive directions of the x, y, and z axes as the second target posture. The robot arm is controlled to drive the end effector to reach the second target posture. The second target posture is dynamically updated as the workpiece to be detected shakes. By gradually reducing the z-axis value in the detection plane coordinate system, the robot arm drives the end effector to gradually approach the workpiece to be detected until the end effector fits the workpiece to be detected; finally, the optical fiber sensor component is used to detect the fitting state of the end effector and the workpiece to be detected. When the end effector is fitted with the workpiece to be detected, the robot arm starts the free drive mode, and the suction cup on the end effector sucks air to adsorb the end effector to the surface of the workpiece to be detected. The coating quality detection module on the end effector performs coating quality detection on the surface of the workpiece to be detected. After the detection is completed, The suction cup is deflated, and the swing of the workpiece to be inspected pushes the end effector to the extreme position of the swing of the workpiece to be inspected. This can prevent collision during the return process of the robotic arm. Then the robotic arm exits the free drive mode and drives the end effector to return to its initial position.

[0067] In one embodiment, S1 pre-processes each set of image data in sequence to filter out the point cloud data when the swing amplitude of the workpiece to be inspected is the largest, specifically including:

[0068] S11, identifying the area where the workpiece to be detected is located through the RGB image in each set of image data, and generating a mask;

[0069] S12, cutting the point cloud data in each set of image data by using a mask to separate the cut point cloud data corresponding to the workpiece to be inspected;

[0070] S13, filtering the cut point cloud data to obtain filtered point cloud data;

[0071] S14, sequentially calculating the AABB bounding boxes of the filtered point cloud data, and determining the point cloud data when the swing amplitude of the workpiece to be inspected is the largest according to the side length of the AABB bounding box.

[0072] Specifically, the RGB image is used to identify the area where the workpiece to be inspected is located and a mask is generated. The point cloud data is then cut using the mask to separate the cut point cloud data of the workpiece to be inspected from the point cloud data. Filtering is then used to remove discrete points in the cut point cloud data to reduce the impact on subsequent analysis, thereby obtaining filtered point cloud data. Finally, the AABB (Axis-aligned bounding box) of each group of filtered point cloud data is calculated in turn, and the data with sudden changes in the bounding box side length are eliminated. The point cloud data when the swing amplitude of the workpiece to be inspected is determined according to the side length of the bounding box.

[0073] In one embodiment, S2 uses a point cloud registration method to obtain the pose of the workpiece to be inspected corresponding to the point cloud data when the swing amplitude is the largest, specifically including:

[0074] S21, reading the 3D model point cloud data of the workpiece to be inspected, aligning the center of gravity of the 3D model point cloud data with the origin of the 3D camera coordinate system, and using this as the source point cloud data; using the center of gravity of the 3D model point cloud data as the initial center of gravity of the source point cloud data; using the posture of the 3D model point cloud data as the initial posture of the source point cloud data; and using the point cloud data of the workpiece to be inspected when the swing amplitude is the largest as the target point cloud data;

[0075] S22, reading the maximum value and the minimum value on each coordinate axis in the target point cloud data as the coordinate positions of the farthest corner point and the closest corner point of the AABB bounding box of the target point cloud data respectively;

[0076] S23, calculating the coordinates of the center of gravity of the AABB bounding box of the target point cloud data using the coordinates of the farthest corner point and the nearest corner point of the AABB bounding box, using the coordinates of the center of gravity of the AABB bounding box as a reference, changing the position of the center of gravity of the source point cloud data until the center of gravity of the source point cloud data coincides with the center of gravity of the AABB bounding box of the target point cloud data, and obtaining a first transformation matrix based on the difference between the pose of the source point cloud data after the coincidence and the initial pose of the source point cloud data;

[0077] S24, using the FPFH algorithm to perform coarse registration on the source point cloud data and the target point cloud data, and obtaining a second transformation matrix according to the difference between the pose of the source point cloud data after the coarse registration and the pose of the source point cloud data after the overlap in S23;

[0078] S25, using the ICP algorithm to optimize the second transformation matrix to complete the fine registration, and obtaining the third transformation matrix based on the difference between the pose of the source point cloud data after the fine registration and the pose of the source point cloud data after the coarse registration in S24;

[0079] S26. Obtain the transformation matrix between the source point cloud data and the target point cloud data through the first transformation matrix, the second transformation matrix, and the third transformation matrix, perform coordinate transformation on the source point cloud data through the transformation matrix, and transform the posture of the workpiece to be detected in the camera coordinate system to the posture of the workpiece to be detected in the robot arm base coordinate system.

[0080] Specifically, first read the complete point cloud data of the workpiece to be inspected generated by the 3D model, and set its center of gravity as the origin of the 3D camera coordinate system, which is used as the source point cloud data. The center of gravity of the 3D model point cloud data is used as the initial center of gravity of the source point cloud data, and the posture of the 3D model point cloud data is used as the initial posture of the source point cloud data. The point cloud data when the swing amplitude of the workpiece to be inspected is the largest is used as the target point cloud data. The purpose of point cloud registration is to transform the posture of the source point cloud so that it coincides with the target point cloud and obtain its transformation matrix T. s2t ; Then use the target point cloud data P of the workpiece to be detected ti =[x ti ,y ti ,z ti ], (i=1,2,…,n) for analysis: Take the maximum value x on each coordinate axis in the target point cloud data coordinate system tmax ,y tmax ,z tmax , and the minimum value x on the coordinate axis tmin ,y tmin ,z tmin , respectively saved as P tmax =[x tmax ,y tmax ,z tmax ], P tmin = = [x tmin ,y tmin ,z tmin ], calculate the center of gravity of the AABB bounding box of the target point cloud data [x tc ,y tc ,z tc ], by changing the position of the center of gravity of the source point cloud data until the center of gravity of the source point cloud data coincides with the center of gravity of the AABB bounding box of the target point cloud data, and taking the difference between the pose of the source point cloud data after the coincidence and the initial pose of the source point cloud data as the first transformation matrix T1;

[0081] The source point cloud data and the target point cloud data are roughly aligned using the FPFH (Fast Point Feature Histograms) algorithm. The rotation matrix R is obtained based on the difference between the pose of the source point cloud data after rough alignment and the pose of the source point cloud data after overlap. FPFH , the translation matrix is ​​t FPFH , according to the rotation matrix R FPFH and the translation matrix t FPFH Obtain the second transformation matrix T2;

[0082] The ICP (Iterative Closest Point) algorithm is used to optimize the second transformation matrix T2 obtained after coarse registration to complete fine registration. The rotation matrix R is obtained based on the difference between the pose of the source point cloud data after fine registration and the pose of the source point cloud data after coarse registration. ICP , the translation matrix is ​​t ICP , according to the rotation matrix R ICP and the translation matrix t ICP Obtain the third transformation matrix T3;

[0083] The transformation matrix between the source point cloud data and the target point cloud data is calculated based on T1, T2, and T3. The source point cloud data is transformed through the transformation matrix to transform the 6D posture of the workpiece to be detected in the camera coordinate system to the 6D posture of the workpiece to be detected in the robot arm base coordinate system.

[0084] In one embodiment, in S23, the coordinates of the center of gravity of the AABB bounding box are calculated by the coordinate positions of the farthest corner point and the nearest corner point of the AABB bounding box of the target point cloud data. The specific formula is: tc ,y tc ,z tc ]=(P tmax +P tmin ) / 2

[0085] Among them, P tmax =[x tmax ,y tmax ,z tmax ] P tmin =[x tmin ,y tmin ,z tmin ]

[0086] Where, P tmax is the target point cloud data P t The coordinates of the farthest corner of the AABB bounding box, P minis the target point cloud data P t The coordinates of the nearest corner of the AABB bounding box, x tmax ,y tmax ,z tmax They are the maximum values ​​on each coordinate axis of the target point cloud data, x tmin ,y tmin ,z tmin are the minimum values ​​of each coordinate axis of the target point cloud data, x tc ,y tc ,z tc They are the coordinates of the center of gravity of the AABB bounding box of the target point cloud data.

[0087] Specifically, the point cloud data P of the workpiece to be detected is used ti =[x ti ,y ti ,z ti ], (i=1,2,…,n) for analysis, and take the point cloud data P of the workpiece to be detected t The maximum value P on each coordinate axis tmax =[x tmax ,y tmax ,z tmax ] and the minimum value P tmin =[x tmin ,y tmin ,z tmin ], then through P tmax , P tmin Calculate the center of gravity of the AABB bounding box of the target point cloud data [x tc ,y tc ,z tc ].

[0088] In one embodiment, the first conversion matrix in S23 is specifically formulated as follows:

[0089] Where T1 is the first transformation matrix, x tc ,y tc ,z tc They are the coordinates of the center of gravity of the AABB bounding box of the target point cloud data.

[0090] In one embodiment, in S26, the conversion matrix between the source point cloud data and the target point cloud data is obtained by using the first conversion matrix, the second conversion matrix, and the third conversion matrix. The specific formula is: s2t =T3·T2·T1 Point target =T s2 t·Point source

[0091] Where Point target is the target point cloud data, Point source is the source point cloud data, T s2t is the conversion matrix between the source point cloud data and the target point cloud data, T1 is the first conversion matrix, T2 is the second conversion matrix, and T3 is the third conversion matrix.

[0092] Specifically, taking the coordinates of the center of gravity of the AABB bounding box of the target point cloud data as the reference, the position of the center of gravity of the source point cloud data is changed until the center of gravity of the source point cloud data coincides with the center of gravity of the AABB bounding box of the target point cloud data. The first transformation matrix thus obtained is T1:

[0093] Where T1 is the first transformation matrix, x tc ,y tc ,z tc They are the x, y, and z axis coordinate values ​​of the center of gravity of the target point cloud AABB bounding box.

[0094] Use the FPFH (Fast Point Feature Histograms) algorithm to roughly align the source point cloud data and the target point cloud data, and obtain the rotation matrix R based on the difference between the pose of the source point cloud data after rough alignment and the pose of the source point cloud data after overlap. FPFH and the translation matrix t FPFH , and on this basis, the second transformation matrix T2 is obtained: T2=[R FPFH t FPFH ]

[0095] The ICP (Iterative Closest Point) algorithm is used to optimize the second transformation matrix obtained by coarse registration to complete fine registration. The rotation matrix R is obtained based on the difference between the pose of the source point cloud data after fine registration and the pose of the source point cloud data after coarse registration. ICP and the translation matrix t ICP , and on this basis, the third transformation matrix T3 is obtained:

[0096] T3=[R ICP t ICP ]

[0097] The conversion relationship between the source point cloud data and the target point cloud data is obtained according to the first conversion matrix T1, the second conversion matrix T2 and the third conversion matrix T3. The specific formula is: s2t =T3·T2·T1 Pointtarget =T s2 t·Point source

[0098] Where Point target is the target point cloud data, Point source is the source point cloud data, T s2t is the conversion matrix between the source point cloud data and the target point cloud data, T1 is the first conversion matrix, T2 is the second conversion matrix, and T3 is the third conversion matrix.

[0099] In one embodiment, the displacement sensor assembly includes a first displacement sensor, a second displacement sensor, and a third displacement sensor. In S3, the displacement sensor assembly on the end effector is used to collect distance information between the end effector and the workpiece in real time, and a real-time detection plane coordinate system is constructed based on the distance information, specifically including:

[0100] S31, using a first displacement sensor, a second displacement sensor, and a third displacement sensor on the end effector to collect distance information between the end effector and the workpiece in real time;

[0101] S32, determining the two-dimensional coordinates of the first displacement sensor, the second displacement sensor, and the third displacement sensor in the end coordinate system of the manipulator according to the installation positions of the first displacement sensor, the second displacement sensor, and the third displacement sensor on the end actuator;

[0102] S33, expanding the distance information and the two-dimensional coordinates into the three-dimensional coordinates of the first displacement sensor, the second displacement sensor, and the third displacement sensor in the coordinate system of the end of the robotic arm;

[0103] S34, calculating a normal vector of a real-time detection plane formed by the first displacement sensor, the second displacement sensor, and the third displacement sensor according to the three-dimensional coordinates;

[0104] S35. Construct a real-time detection plane coordinate system according to the robot arm end coordinate system and the normal vector of the real-time detection plane.

[0105] In one embodiment, in S34, a normal vector of a real-time detection plane formed by the first displacement sensor, the second displacement sensor, and the third displacement sensor is calculated based on the three-dimensional coordinates. The normal vector of the real-time detection plane is specifically:

[0106] in,

[0107] Where, is the three-dimensional vector pointing from the second displacement sensor to the first displacement sensor, is the three-dimensional vector pointing from the third displacement sensor to the first displacement sensor, x si ,y si ,z si is the three-dimensional coordinate corresponding to the i-th displacement sensor, i = 1, 2, 3, To detect the normal vector of the plane in real time.

[0108] In one embodiment, in S35, a real-time detection plane coordinate system is constructed according to the robot arm end coordinate system and the normal vector of the real-time detection plane. The real-time detection plane coordinate system is specifically:

[0109] Where, O w To detect the plane coordinate system in real time, To detect the positive direction of the x-axis in the plane coordinate system in real time, To detect the positive direction of the y-axis in the plane coordinate system in real time, To detect the positive direction of the z-axis in the plane coordinate system in real time.

[0110] Specifically,

[0111] 1) The distance information between the end effector fixed on the robot arm and the workpiece is collected in real time through three displacement sensors. The measured value is regarded as the z-axis length, and the two-dimensional coordinates (x s1 ,y s1 )、(x s2 ,y s2 )、(x s3 ,y s3 ), expand the two-dimensional coordinates of the three displacement sensors into three-dimensional coordinates (x s1 ,y s1 ,z s1 )、(x s2 ,y s2 ,z s2 )、(x s3 ,y s3 ,z s3 ).

[0112] 2) Calculate the normal vector of the real-time detection plane formed by three displacement sensors based on the three-dimensional coordinates

[0113] Where, is the three-dimensional vector pointing from the second displacement sensor to the first displacement sensor, is the three-dimensional vector pointing from the third displacement sensor to the first displacement sensor, x si ,y si,z si is the three-dimensional coordinate corresponding to the i-th displacement sensor, i = 1, 2, 3, To detect the normal vector of the plane in real time.

[0114] 3) Construct the real-time detection plane coordinate system based on the robot arm end coordinate system and the calculated normal vector of the real-time detection plane:

[0115] in,

[0116] The real-time detection plane coordinate system is used as the second target posture, and the end effector is driven by the robotic arm to reach the second target posture. Since the second target posture is continuously updated based on the distance information collected in real time by the three displacement sensors, the z-axis value in the real-time detection plane coordinate system can be gradually reduced, so that the robotic arm drives the end effector to gradually approach the workpiece to be detected until the end effector is in contact with the workpiece to be detected.

[0117] An online dynamic detection system for workpiece coating quality uses an online dynamic detection method for workpiece coating quality. The dynamic detection system includes: a robotic arm, an industrial computer, and an end-effector. The industrial computer is connected to the robotic arm, and the end-effector is installed at the end of the robotic arm. The industrial computer is equipped with a posture calculation module, a communication module, and a motion control module. The end-effector includes a bracket, a 3D camera, a displacement sensor component, a fiber optic sensor component, a suction cup, and a coating quality detection module.

[0118] The 3D camera is fixed on the bracket and is used to capture images of the real-time scene containing the workpiece to be inspected, obtain real-time image data, and send it to the posture calculation module;

[0119] The displacement sensor assembly is fixed on the bracket and is used to collect the distance information between the end effector and the workpiece to be detected in real time and send it to the posture calculation module;

[0120] The posture calculation module is used to receive real-time image data and distance information, process them, output target posture information, and send the target posture information to the motion control module through the communication module;

[0121] After receiving the target posture information, the motion control module processes it to obtain the target posture, and controls the robotic arm to drive the end actuator fixed at its end to reach the target posture;

[0122] The optical fiber sensor assembly is fixed on the bonding surface of the bracket to detect the bonding status of the end actuator and the workpiece to be detected, and sends the bonding OK signal to the motion control module through the communication module;

[0123] The suction cup is fixed in the center of the bracket. After the motion control module receives the signal from the communication module indicating that the bonding is OK, it controls the suction cup to complete the air extraction action and adsorbs the end effector onto the surface of the workpiece to be inspected.

[0124] The coating quality inspection module is fixed on the bracket and is used to inspect the coating quality of the surface of the workpiece to be inspected.

[0125] Specifically, referring to Figures 2 and 3, Figure 2 is a schematic diagram of an online dynamic detection system for workpiece coating quality in one embodiment of the present invention, and Figure 3 is a schematic diagram of the end actuator of an online dynamic detection system for workpiece coating quality in one embodiment of the present invention, Figure 3(a) is a top schematic diagram of the end actuator, and Figure 3(b) is a bottom schematic diagram of the end actuator.

[0126] In Figure 2, an online dynamic detection system for workpiece coating quality includes a robotic arm 1, an industrial computer 2 and an end-effector 3, wherein the industrial computer 2 is connected to the robotic arm 1, and the end-effector 3 is installed at the end of the robotic arm 1. The robotic arm 1 drives the end-effector 3 to move through the industrial computer 2, and the motion control module, posture calculation module, and communication module are set in the industrial computer 2.

[0127] In Figures 3(a) and (b), the end actuator 3 includes a bracket 38, a 3D camera 35, a displacement sensor assembly 33, a fiber optic sensor assembly 36, a suction cup 37, and a coating quality detection module, wherein the 3D camera 35, the displacement sensor assembly 33, the coating quality detection module, the fiber optic sensor assembly 36 and the suction cup 37 are all fixedly installed at corresponding positions on the bracket 38, the suction cup 37 is fixed to the center of the surface to be bonded of the bracket 38, and the fiber optic sensor assembly 36 is evenly arranged around the suction cup 37.

[0128] The 3D camera 35 collects images of the real-time scene containing the workpiece to be detected, obtains real-time image data, and sends it to the posture calculation module;

[0129] The displacement sensor assembly 33 includes three laser displacement sensors, which are fixedly mounted on the bracket 38 and collect the distance information between the end effector and the workpiece in real time, and send it to the posture calculation module; the posture calculation module calculates the target posture and sends the target posture to the motion control module through the communication module;

[0130] The optical fiber sensor assembly 36 includes three optical fiber sensors, which are used to detect the bonding status of the end effector 3 and the workpiece to be tested (the optical fiber sensors are used for 0 and 1 state detection, 0 means not bonded, 1 means bonded OK), and send the bonding OK signal to the motion control module through the communication module;

[0131] The motion control module controls the robotic arm 1 to drive the end effector 3 to reach the target position, and controls the suction cup 37 to inhale or deflate, so that the end effector 3 is in contact with or separated from the surface of the workpiece to be measured;

[0132] The coating quality detection module includes a gloss meter 31 , a film thickness meter 32 and a colorimeter 34 (which can be arbitrarily combined according to implementation requirements) for detecting the coating quality of the surface of the workpiece to be inspected.

[0133] Furthermore, as an improvement to the above-mentioned online dynamic detection system for workpiece coating quality, the end actuator 3 of the dynamic detection system also includes a buffer structure (not shown in Figure 3). The buffer structure is fixed on the end actuator 3, specifically at the fitting surface between the end actuator 3 and the workpiece to be tested, and is slightly higher than the detection surface of the coating quality detection module, which can prevent damage to the coating quality detection module due to violent collision during the adsorption process.

[0134] The specific definition of an online detection system for workpiece coating quality can be found in the above definition of an online dynamic detection method for workpiece coating quality, which will not be repeated here.

[0135] The above-mentioned method and system for online dynamic detection of workpiece coating quality obtains the posture of the workpiece to be detected through real-time 3D point cloud model registration analysis of the workpiece to be detected; uses a displacement sensor to form a detection plane, and dynamically adjusts the posture of the end actuator on the robotic arm in real time based on the distance information between the workpiece and the end actuator on the robotic arm detected in real time by the displacement sensor, so that it can flexibly fit the workpiece to be detected; cooperates with the free drive mode of the robotic arm to ensure that the end face of the end actuator of the detection instrument is stably fitted with the surface of the workpiece to be detected during detection, which can solve the problem of workpiece shaking during the detection process. In addition, the end actuator can be equipped with any coating quality index detection instrument to obtain the corresponding index data; it is equipped with a suction cup to further ensure that the end face of the end actuator and the surface of the workpiece to be detected remain relatively still during the detection process, ensuring the reliability of the detection value, so as to realize online detection of workpiece coating quality.

[0136] The above is a detailed introduction to an online dynamic detection method and detection system for workpiece coating quality provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of ​​the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A method for online dynamic detection of workpiece coating quality, characterized in that: The method comprises: S1, presetting the initial posture of the end-effector, collecting a preset number of frames of image data of the workpiece to be detected in real time at a preset acquisition frequency through a 3D camera on the end-effector, the image data including RGB images and point cloud data, taking a single acquisition of RGB images and point cloud data as a group, pre-processing each group of image data in turn, and screening out the point cloud data when the swing amplitude of the workpiece to be detected is the largest; S2, using a point cloud registration method to obtain the posture of the workpiece to be detected corresponding to the point cloud data when the swing amplitude is the largest, obtaining a first target posture according to the posture of the workpiece to be detected, and controlling the robotic arm to drive the end actuator fixed at its end to move to the first target posture; S3, using the displacement sensor assembly on the end actuator to collect the distance information between the end actuator and the workpiece to be detected in real time, constructing a real-time detection plane coordinate system according to the distance information, taking the real-time detection plane coordinate system as the second target posture, controlling the robot arm to drive the end actuator to reach the second target posture in real time, so that the end actuator and the workpiece to be detected gradually approach each other until they are in contact; S4, using the optical fiber sensor assembly on the end actuator to detect the bonding state between the end actuator and the workpiece to be detected. When the end actuator and the workpiece to be detected are bonded, the robot arm starts the free drive mode, and the suction cup on the end actuator sucks air to adsorb the end face of the end actuator to the surface of the workpiece to be detected; S5. Use the coating quality inspection module on the end actuator to inspect the coating quality of the surface of the workpiece to be inspected. After the inspection is completed, the suction cup is deflated, and the swing of the workpiece to be inspected pushes the end actuator to reach the extreme position of the swing of the workpiece to be inspected. Then the robot arm exits the free drive mode and drives the end actuator to return to its initial position.

2. The method for online dynamic detection of workpiece coating quality according to claim 1, characterized in that: In S1, each group of the image data is preprocessed in turn to filter out the point cloud data when the swing amplitude of the workpiece to be detected is the largest, specifically including: S11, identifying the area where the workpiece to be detected is located through the RGB image in each group of the image data, and generating a mask; S12, cutting the point cloud data in each group of the image data by using the mask to separate the cut point cloud data corresponding to the workpiece to be inspected; S13, filtering the cut point cloud data to obtain filtered point cloud data; S14, calculating the AABB bounding boxes of the filtered point cloud data in sequence, and determining the point cloud data when the swing amplitude of the workpiece to be inspected is the largest according to the side length of the AABB bounding box.

3. The method for online dynamic detection of workpiece coating quality as claimed in claim 2, characterized in that: The point cloud registration method is used in S2 to obtain the position and posture of the workpiece to be detected corresponding to the point cloud data when the swing amplitude is the largest, specifically including: S21, reading the 3D model point cloud data of the workpiece to be detected, aligning the center of gravity of the 3D model point cloud data with the origin of the 3D camera coordinate system, taking this as the source point cloud data, taking the center of gravity of the 3D model point cloud data as the initial center of gravity of the source point cloud data, taking the posture of the 3D model point cloud data as the initial posture of the source point cloud data, and taking the point cloud data of the workpiece to be detected when the swing amplitude is the largest as the target point cloud data; S22, reading the maximum value and the minimum value on each coordinate axis in the target point cloud data as the coordinate positions of the farthest corner point and the nearest corner point of the AABB bounding box of the target point cloud data respectively; S23, calculating the coordinates of the center of gravity of the AABB bounding box of the target point cloud data by the coordinates of the farthest corner point and the nearest corner point of the AABB bounding box, taking the coordinates of the center of gravity of the AABB bounding box as a reference, changing the position of the center of gravity of the source point cloud data until the center of gravity of the source point cloud data coincides with the center of gravity of the AABB bounding box of the target point cloud data, and obtaining a first transformation matrix according to the difference between the posture of the source point cloud data after the coincidence and the initial posture of the source point cloud data; S24, using the FPFH algorithm to roughly align the source point cloud data and the target point cloud data, and obtaining a second transformation matrix according to the difference between the posture of the source point cloud data after the rough alignment and the posture of the source point cloud data after the overlap in S23; S25, optimizing the second conversion matrix using the ICP algorithm to complete the fine registration, and obtaining the third conversion matrix according to the difference between the posture of the source point cloud data after the fine registration and the posture of the source point cloud data after the coarse registration in S24; S26. Obtain a transformation matrix between the source point cloud data and the target point cloud data through the first transformation matrix, the second transformation matrix and the third transformation matrix, perform coordinate transformation on the source point cloud data through the transformation matrix, and transform the posture of the workpiece to be detected in the camera coordinate system to the posture of the workpiece to be detected in the robot base coordinate system.

4. The method for online dynamic detection of workpiece coating quality as claimed in claim 3, characterized in that: In S23, the coordinates of the center of gravity of the AABB bounding box are calculated by the coordinate positions of the farthest corner point and the nearest corner point of the AABB bounding box of the target point cloud data. The specific formula is: tc ,y tc ,z tc ]=(P tmax +P tmin ) / 2 Among them, P tmax =[x tmax ,y tmax ,z tmax ] P tmin =[x tmin ,y tmin ,z tmin ] Where P tmax is the target point cloud data P t The coordinates of the farthest corner of the AABB bounding box, P min is the target point cloud data P t The coordinates of the nearest corner of the AABB bounding box, x tmax ,y tmax ,z tmax are the maximum values ​​of each coordinate axis of the target point cloud data, x tmin ,y tmin ,z tmin are the minimum values ​​of each coordinate axis of the target point cloud data, x tc ,y tc ,z tc They are the coordinates of the center of gravity of the AABB bounding box of the target point cloud data.

5. The method for online dynamic detection of workpiece coating quality as claimed in claim 4, characterized in that: The specific formula of the first conversion matrix in S23 is: Where T1 is the first transformation matrix, x tc ,y tc ,z tc They are the coordinates of the center of gravity of the AABB bounding box of the target point cloud data.

6. The method for online dynamic detection of workpiece coating quality as claimed in claim 5, characterized in that: In S26, the conversion matrix between the source point cloud data and the target point cloud data is obtained by using the first conversion matrix, the second conversion matrix and the third conversion matrix. The specific formula is: s2t =T3·T2·T1 Point target =T s2t Point source In the formula, Point target is the target point cloud data, Point source is the source point cloud data, T s2t The number of source point clouds The conversion matrix between the data and the target point cloud data, T1 is the first conversion matrix, T2 is the second conversion matrix, and T3 is the third conversion matrix.

7. The method for online dynamic detection of workpiece coating quality as claimed in claim 6, characterized in that: The displacement sensor assembly includes a first displacement sensor, a second displacement sensor, and a third displacement sensor. In S3, the displacement sensor assembly on the end actuator is used to collect the distance information between the end actuator and the workpiece to be detected in real time, and a real-time detection plane coordinate system is constructed according to the distance information, which specifically includes: S31, using a first displacement sensor, a second displacement sensor, and a third displacement sensor on the end actuator to collect distance information between the end actuator and the workpiece to be detected in real time; S32, determining the two-dimensional coordinates of the first displacement sensor, the second displacement sensor, and the third displacement sensor in the robot end coordinate system according to the installation positions of the first displacement sensor, the second displacement sensor, and the third displacement sensor on the end actuator; S33, expanding the distance information and the two-dimensional coordinates into three-dimensional coordinates of the first displacement sensor, the second displacement sensor, and the third displacement sensor in the robot end coordinate system; S34, calculating a normal vector of a real-time detection plane formed by the first displacement sensor, the second displacement sensor, and the third displacement sensor according to the three-dimensional coordinates; S35, constructing a real-time detection plane coordinate system according to the robot arm end coordinate system and the normal vector of the real-time detection plane.

8. The method for online dynamic detection of workpiece coating quality as claimed in claim 7, characterized in that: In the S34, a normal vector of a real-time detection plane formed by the first displacement sensor, the second displacement sensor, and the third displacement sensor is calculated according to the three-dimensional coordinates. The normal vector of the real-time detection plane is specifically: in, In the formula, is the three-dimensional vector pointing from the second displacement sensor to the first displacement sensor, is the three-dimensional vector pointing from the third displacement sensor to the first displacement sensor, x si ,y si ,z si is the three-dimensional coordinate corresponding to the i-th displacement sensor, i = 1, 2, 3, Normal vector for real-time detection of planes.

9. The method for online dynamic detection of workpiece coating quality as claimed in claim 8, characterized in that: In the S35, a real-time detection plane coordinate system is constructed according to the robot end coordinate system and the normal vector of the real-time detection plane. The real-time detection plane coordinate system is specifically: In the formula, O w To detect the plane coordinate system in real time, To detect the positive direction of the x-axis in the plane coordinate system in real time, To detect the positive direction of the y-axis in the plane coordinate system in real time, To detect the positive direction of the z-axis in the plane coordinate system in real time.

10. An online dynamic detection system for workpiece coating quality, using the online dynamic detection method for workpiece coating quality as described in any one of claims 1 to 9 for detection, characterized in that: The dynamic detection system includes: a mechanical arm, an industrial computer and an end-actuator, wherein the industrial computer is connected to the mechanical arm, and the end-actuator is installed at the end of the mechanical arm. The industrial computer is provided with a posture calculation module, a communication module, and a motion control module, and the end-actuator includes a bracket, a 3D camera, a displacement sensor component, an optical fiber sensor component, a suction cup, and a coating quality detection module. The 3D camera is fixed on the bracket, and is used to collect images of a real-time scene including a workpiece to be detected, obtain real-time image data, and send the real-time image data to the posture calculation module; The displacement sensor assembly is fixed on the bracket, and is used to collect the distance information between the end actuator and the workpiece to be detected in real time, and send it to the posture calculation module; The posture calculation module is used to receive the real-time image data and the distance information, output the target posture information after processing, and send the target posture information to the motion control module through the communication module; After receiving the target posture information, the motion control module obtains the target posture through processing, and controls the robot arm to drive the end actuator fixed at its end to reach the target posture; The optical fiber sensor assembly is fixed on the bonding surface of the bracket, and is used to detect the bonding state between the end actuator and the workpiece to be detected, and send a bonding OK signal to the motion control module through the communication module; The suction cup is fixed at the center of the bracket, and after the motion control module receives the bonding OK signal sent by the communication module, it controls the suction cup to complete the air extraction action, so as to adsorb the end actuator on the surface of the workpiece to be inspected; The coating quality detection module is fixed on the bracket and is used to detect the coating quality of the surface of the workpiece to be detected. Detection.

Citation Information

Patent Citations

  • Method and system for grabbing workpieces stacked in mess based on three-dimensional measurement guiding mechanical arm

    CN111775152A

  • Intelligent detecting and polishing system and method for automobile body paint surface defects

    CN114720475A

  • Workpiece coating quality online dynamic detection method and detection system

    CN115965628A

Cited By

  • Method for detecting vehicle door, computing equipment and storage medium

    CN119437045A

  • Feature constraint-free blank two-dimensional contour matching adaptive positioning method and system

    CN120411234A

  • Transparent glass pose detection method and system based on multi-modal data and glass grabbing method

    CN120533689A

  • Method and system for adaptively tracking and correcting actual shape detection path by point laser

    CN120926906A