An uncertainty analysis method for assembly pose monocular vision measurement system
By analyzing the uncertainty propagation path of the assembly pose combination system and calculating each uncertainty, the problem of improving the accuracy of the assembly pose monocular vision measurement system was solved, and the accuracy of the assembly pose and error compensation were achieved.
Patent Information
- Application Number
- CN202510346780.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2045-03-24
AI Technical Summary
The lack of analysis of the uncertainty of the assembly pose monocular vision measurement system in the existing technology leads to the inability to further improve the assembly accuracy, which affects the accuracy of the overall assembly task.
By determining the uncertainty propagation path of the assembly pose combination system, input uncertainties such as image pixel uncertainty and robot motion uncertainty are obtained. The uncertainties of camera calibration, pose calculation, hand-eye calibration and assembly pose are calculated in sequence, and their sensitivity is analyzed to improve the accuracy of assembly pose.
An effective uncertainty analysis method is provided, which can improve the accuracy of assembly pose monocular vision measurement system. It is applicable to any form of assembly pose monocular vision system and provides a reference for uncertainty analysis of complex systems, and can be extended to binocular vision system.
Smart Images

Figure CN120287286B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to uncertainty analysis methods, and particularly to an uncertainty analysis method for assembly pose monocular vision measurement systems, belonging to the fields of machine vision measurement and robotic automated assembly technology. Background Technology
[0002] Modern industry automates production tasks through industrial robots. In the past, this automation primarily relied on offline programming and the repetitive nature of the robots. This method is rigid, requiring significant time and effort for programming and debugging, and is particularly unsuitable for the high precision requirements of aerospace manufacturing. To address this issue, measurement-aided manufacturing (MAM) has emerged in aerospace manufacturing. Various measurement systems, including laser trackers, lidar, iGPS, and vision measurement, guide the movement of industrial robots to flexibly complete various manufacturing tasks. Among these systems, monocular vision measurement offers advantages such as small size, high accuracy, and strong environmental adaptability, leading to its widespread application in aerospace manufacturing, especially for high-precision assembly tasks in confined spaces. However, during assembly guided by monocular vision measurement, various errors and uncertainties can be transmitted, affecting overall assembly accuracy. Therefore, evaluating the uncertainty of the entire assembly pose measurement system is crucial for error compensation to improve overall assembly accuracy and can also provide guidance for subsequent research.
[0003] Currently, no researchers have analyzed the uncertainty of assembly pose monocular vision measurement systems, resulting in a lack of theoretical guidance when conducting research on core technologies related to monocular vision measurement, which hinders further improvement in assembly pose accuracy. Summary of the Invention
[0004] Technical solution:
[0005] The purpose of this invention is to provide an uncertainty analysis method for assembly pose monocular vision measurement systems, thereby solving the problems mentioned in the background art. To achieve the above objective, this invention provides the following technical solution: an uncertainty analysis method for assembly pose monocular vision measurement systems, comprising the following steps:
[0006] S1: Determine the uncertainty propagation path of the assembly posture combination system; the measurement model of the assembly posture combination system includes at least one of the following: camera imaging model, camera calibration model, visual measurement model, hand-eye calibration model;
[0007] S2: Obtain image pixel uncertainty A, image pixel uncertainty B, and robot motion uncertainty as input uncertainties; where image pixel uncertainty A represents the pixel uncertainty of the camera extracting corner features from the chessboard calibration board during camera calibration or hand-eye calibration; image feature pixel uncertainty B represents the pixel uncertainty of the camera extracting relevant features from the target image during pose calculation; and robot motion uncertainty represents the positioning accuracy of the robot used.
[0008] S3: Calculate the camera calibration uncertainty, pose calculation uncertainty, hand-eye calibration uncertainty, and assembly pose uncertainty in sequence; each uncertainty independently includes three positional degrees of freedom X, Y, Z, and three orientational degrees of freedom A, B, C;
[0009] S4: Analyze the uncertainty sensitivity of hand-eye calibration and assembly posture in sequence.
[0010] As an improvement, the image pixel uncertainty A is obtained in step S2. The specific steps are as follows: using an industrial camera, the feature collected is the checkerboard corner feature. During the image acquisition process, the camera frame rate is first set to the highest threshold. The image is repeatedly acquired N times in the experiment to obtain the coordinate distribution of the same corner feature N times. The coordinate distribution is recorded, and the standard deviations in the u direction and v direction are calculated respectively as the uncertainty of corner feature extraction, that is, the image pixel uncertainty A. The u direction and v direction are based on the image acquired by the camera as a planar rectangle, where the horizontal direction is the u direction and the vertical direction is the v direction. That is, for the coordinate distribution of the corner point, the standard deviation in the u direction is the standard deviation of the horizontal coordinate of the corner point, and the standard deviation in the v direction is the standard deviation of the vertical coordinate of the corner point. N is a positive integer.
[0011] As an improvement, in step S2, the step of obtaining the image pixel uncertainty B is as follows: calculate the pose of the chessboard calibration board in the camera coordinate system, and use the PnP algorithm to calculate the uncertainty of the chessboard corner feature extraction, which is the image pixel uncertainty B.
[0012] As an improvement, the steps to obtain the camera calibration uncertainty in S3 are as follows: the pre-obtained image pixel uncertainty A is added to the image features used for camera calibration to generate calibration two-dimensional feature points and corresponding three-dimensional spatial points. Then, the camera calibration program is run repeatedly, and the standard deviation of the output parameters is calculated and recorded as the camera calibration uncertainty.
[0013] The camera calibration method, based on MATLAB, firstly reads several pre-acquired calibration board images taken in different poses, for example, 10 to 20; secondly, it uses MATLAB's built-in detectCheckerboardPoints operator to detect the corner points of the calibration board, for example, by using the input values of the calibration board images and the actual size of the calibration board, to obtain the coordinates of the detected corner points on the calibration board; then, it determines the pre-obtained image pixel uncertainty A value.
[0014] Next, perform several iterations, for example, 10,000 to 15,000 times. In each iteration, the pre-obtained image pixel uncertainty A is superimposed on the detected calibration board corner coordinates. The estimatedCameraParameters operator built into MATLAB is used to complete the calibration of the camera's internal parameters.
[0015] Finally, the standard deviation of all internal parameters of the camera after the last loop is calculated.
[0016] As an improvement, the steps to obtain the pose calculation uncertainty in S3 are as follows: add the pre-obtained image pixel uncertainty B to a certain image feature used for pose calculation, add the pre-obtained camera uncertainty to the camera intrinsic parameters, then repeat the pose calculation method, and calculate the standard deviation of the output parameters, which is recorded as the pose calculation uncertainty. The pose includes three position degrees of freedom X, Y, Z, and three orientation degrees of freedom A, B, C.
[0017] The specific steps of the pose calculation method are as follows:
[0018] (1) Read the images of the target under test taken in different poses in advance, such as the calibration board;
[0019] (2) Use the detectCheckerboardPoints operator built into MATLAB to detect the corner points of the calibration board; however, it is not limited to corner point detection, other detections can also be performed. Corner point detection is just one example in the calculation, and the others are mature and conventional detection items.
[0020] (3) Then determine the previously obtained camera calibration uncertainty value;
[0021] (4) Perform 5000 to 15000 iterations. In each iteration, the pre-obtained camera calibration uncertainty is superimposed on the camera intrinsic parameters. Using the extrinsics operator built into MATLAB, the 6-DOF pose of the calibration board in the camera coordinate system is calculated. That is, the camera intrinsic parameters after inputting the superimposed uncertainty are completed, and the corner coordinates of the detected calibration board are obtained. Output: The process of the target's 6-DOF pose in the camera coordinate system.
[0022] (5) Calculate the standard deviation of 5000 to 15000 pose calculations; that is, the process of inputting 10000 pose calculations of all 6 degrees of freedom poses and outputting the standard deviation of the 6 degrees of freedom poses of the pose calculations is completed.
[0023] As an improvement, the steps for obtaining the hand-eye calibration uncertainty in S3 are as follows: the pre-obtained image pixel uncertainty A is added to the image features used for hand-eye calibration, the pre-obtained camera uncertainty is added to the camera intrinsic parameters to obtain the pose of the calibration board in the camera coordinate system, the pre-obtained robot motion uncertainty is added to the robot pose used for hand-eye calibration, and then the Horaud hand-eye calibration method is used to repeatedly run the hand-eye calibration method and the standard deviation of the output parameters is calculated and recorded as the uncertainty of hand-eye calibration.
[0024] The specific steps of the hand-eye calibration method are as follows: (1) First, read the pre-calculated 5 to 15 different poses of the calibration plate in the camera coordinate system and the corresponding robot poses for robot hand-eye calibration.
[0025] (2) Then determine the pre-obtained pose calculation uncertainty value and robot motion uncertainty value;
[0026] (3) Perform another 5000 to 15000 cycles. Within each large cycle, there are 8 to 15 small cycles. The pre-obtained pose calculation uncertainty is superimposed on the pose of the calibration board in the camera coordinate system, and the pre-obtained robot motion uncertainty is superimposed on the corresponding robot pose. After superposition, the calibrateHandEye operator provided by the OpenCV vision library is used, and the HORAUD method is used to complete the hand-eye calibration.
[0027] For example, you can input 10 sets of poses of the calibration plate in the camera coordinate system after superimposed uncertainty, and 10 sets of corresponding robot motion poses; the output is a 6-DOF hand-eye pose relationship.
[0028] (4) Finally, calculate the standard deviation of the hand-eye calibration from 5,000 to 15,000 times;
[0029] For example, you can input 10,000 hand-eye calibrations of all 6 degrees of freedom poses; the output is the standard deviation of the hand-eye calibration 6 degrees of freedom poses.
[0030] As an improvement, the steps for obtaining the assembly pose uncertainty in S3 are as follows: add the pre-obtained pose calculation uncertainty to the target pose in the camera coordinate system, add the pre-obtained hand-eye calibration uncertainty to the hand-eye relationship matrix, then repeat the assembly pose calculation method, and calculate the standard deviation of the output parameters, which is recorded as the assembly pose uncertainty.
[0031] The specific steps of the assembly pose calculation method are as follows: (1) Determine the pose calculated by a pose without superimposed uncertainty, and the hand-eye relationship matrix without superimposed uncertainty (including all 6 degrees of freedom poses of hand-eye calibration).
[0032] (2) Determine the pre-obtained pose calculation uncertainty value and hand-eye calibration uncertainty value;
[0033] (3) Perform 5000 to 15000 cycles. In each large cycle, add the pre-obtained pose calculation uncertainty to the pose calculated from the pose, and add the pre-obtained hand-eye calibration uncertainty to the pose calibrated from the hand-eye calibration. After superposition, perform matrix multiplication on the two to complete the calculation of the 6-DOF assembly pose.
[0034] For example, the input is the pose calculated after adding uncertainty, and the pose calibrated by hand and eye after adding uncertainty; the output is the 6-DOF assembly pose.
[0035] (4) Calculate the standard deviation of assembly poses for 5000 to 15000 times.
[0036] For example, the input is all 6-DOF poses of 10,000 assembly poses; the output is the standard deviation of the 6-DOF poses of the assembly poses.
[0037] As an improvement, in S4, the steps for analyzing the sensitivity of hand-eye calibration uncertainty are as follows: First, the X uncertainty in the pose calculation uncertainty is increased from 0 to m times sequentially, and the change in hand-eye calibration uncertainty is analyzed; then, the A uncertainty in the pose calculation uncertainty is increased from 0 to n times sequentially, and the change in hand-eye calibration uncertainty is analyzed; subsequently, the position uncertainties X, Y, and Z in the robot motion uncertainty are increased from 0 to s times sequentially, and the change in hand-eye calibration uncertainty is analyzed; finally, the attitude uncertainties A, B, and C in the robot motion uncertainty are increased from 0 to t times sequentially, and the change in hand-eye calibration uncertainty is analyzed; where m, n, t, and s are positive integers.
[0038] As an improvement, in S4, the steps for analyzing the sensitivity of assembly pose uncertainty are as follows: First, the X uncertainty in the pose calculation uncertainty is increased from 0 to h times sequentially, and the change in assembly pose uncertainty is analyzed; then, the A uncertainty in the pose calculation uncertainty is increased from 0 to i times sequentially, and the change in assembly pose uncertainty is analyzed; subsequently, the X uncertainty in the hand-eye calibration uncertainty is increased from 0 to j times sequentially, and the change in assembly pose uncertainty is analyzed; finally, the A uncertainty in the hand-eye calibration uncertainty is increased from 0 to k times sequentially, and the change in assembly pose uncertainty is analyzed; where h, i, j, and k are positive integers.
[0039] Beneficial effects:
[0040] Compared with existing technologies, the beneficial effects of this invention are: it proposes an uncertainty analysis method for assembly pose monocular vision measurement systems, including determining the system uncertainty propagation path, uncertainty analysis of the assembly pose monocular vision measurement system, and sensitivity analysis to input uncertainty. This method is applicable to any type of assembly pose monocular vision system and can effectively analyze their uncertainties.
[0041] (1) The conclusions obtained by the method of the present invention have important guiding significance for the accuracy analysis, error compensation and further improvement of assembly pose accuracy of the monocular vision measurement system.
[0042] (2) The method of the present invention can be extended to binocular vision systems and can provide a reference for uncertainty analysis of other complex systems. Attached Figure Description
[0043] Figure 1 This is a flowchart illustrating the method of the present invention.
[0044] Figure 2 A schematic diagram showing the composition of the pose monocular vision measurement system assembled for the object of the method of the present invention.
[0045] Figure 3 Uncertainty propagation path diagram for assembling a pose monocular vision measurement system for the object of the present invention.
[0046] Figure 4 This refers to the variation of the hand-eye calibration uncertainty with the pose calculation uncertainty X in Embodiment 1 of the method of the present invention.
[0047] Figure 5 This refers to the change in hand-eye calibration uncertainty with pose calculation uncertainty A in Embodiment 1 of the method of the present invention.
[0048] Figure 6 This refers to the variation of hand-eye calibration uncertainty with robot motion position uncertainty in Embodiment 1 of the present invention.
[0049] Figure 7 This refers to the change in hand-eye calibration uncertainty as a function of robot motion posture uncertainty in Embodiment 1 of the present invention.
[0050] Figure 8 The variation of assembly pose uncertainty with pose calculation uncertainty X in Embodiment 1 of the present invention is shown.
[0051] Figure 9 The variation of assembly pose uncertainty with pose calculation uncertainty A in Embodiment 1 of the present invention is shown.
[0052] Figure 10 The assembly pose uncertainty in Embodiment 1 of the present invention varies with the hand-eye calibration X uncertainty.
[0053] Figure 11 The assembly pose uncertainty in Embodiment 1 of the method of the present invention varies with the hand-eye calibration uncertainty A.
[0054] In the figure: 1. Six-DOF robot; 2. Object in pose to be measured; 3. Industrial camera for vision measurement; 4. Robot base coordinate system; 5. Robot end effector coordinate system; 6. Object coordinate system; 7. Camera coordinate system; 8. Hand-eye calibration process; 9. Robot motion process; 10. Vision measurement process. Detailed Implementation
[0055] The technical solutions in the embodiments of the present invention will be clearly and completely described below, so that those skilled in the art can better understand the advantages and features of the present invention, thereby making a clearer definition of the scope of protection of the present invention. The embodiments described in this invention are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0056] Please see Figure 1-3 This invention provides an uncertainty analysis method for a monocular vision measurement system for assembly pose, the method comprising the following steps:
[0057] S1: Determine the uncertainty propagation path of the assembly posture combination system;
[0058] S2: Obtain image pixel uncertainty A, image pixel uncertainty B, and robot motion uncertainty as input uncertainties;
[0059] S3: Calculate the camera calibration uncertainty, pose calculation uncertainty, hand-eye calibration uncertainty, and assembly pose uncertainty in sequence;
[0060] S4: Analyze the uncertainty sensitivity of hand-eye calibration and assembly posture in sequence.
[0061] After obtaining the structure of S4 in this invention, the purpose is to investigate whether the final assembly pose can meet the requirements of the relevant measurement and assembly tasks. Analyzing the uncertainty sensitivity of hand-eye calibration and assembly pose is to determine how to adjust and optimize the input uncertainty when the final assembly pose uncertainty does not meet the task requirements, so as to improve the final assembly pose accuracy from the perspective of maximum efficiency.
[0062] Step S1 includes the following steps:
[0063] A1: Based on the specific hardware settings of the assembly posture combination system, sort out the measurement models involved, including but not limited to: camera imaging model, camera calibration model, visual measurement model, hand-eye calibration model, and determine the system uncertainty propagation path;
[0064] A2: Based on the uncertainty propagation path of the system, analyze the interaction of the uncertainties of each part.
[0065] Step S2 includes the following steps:
[0066] A1: Obtain the image pixel uncertainty A;
[0067] A2: Obtain the image pixel uncertainty B; where the image pixel uncertainty A and the image feature pixel uncertainty B are essentially independent of each other due to the different feature extraction objects;
[0068] A3: Obtain the uncertainty of robot motion.
[0069] Furthermore, in step A1, the image pixel uncertainty A is related to calibration, including camera parameter calibration and robot hand-eye calibration. During the calibration process, a calibration board with high feature extraction accuracy is typically used. Preferably, a checkerboard calibration board is used as the test object.
[0070] In this invention, the pre-obtained image pixel uncertainty A is added to the image features used for camera calibration to generate calibration two-dimensional feature points and corresponding three-dimensional spatial points. Then, the camera calibration program is run repeatedly, and the standard deviation of the output parameters is calculated and recorded as the uncertainty of camera calibration.
[0071] Furthermore, in step A2, the image pixel uncertainty B is related to the specific visual measurement task. In the visual measurement task, it is necessary to extract the relevant features of the target to be measured. The relevant features vary depending on the target to be measured.
[0072] Because the image pixel uncertainty B, in conjunction with the pose calculation method, affects the pose calculation uncertainty, this invention, for the sake of simplicity and operability, directly calculates the pose of the chessboard calibration board in the camera coordinate system. The pose calculation method used is the PnP algorithm, and the corresponding image pixel uncertainty B is the same as the image pixel uncertainty A, i.e., the uncertainty of chessboard corner feature extraction.
[0073] Step S3 includes the following steps:
[0074] A1: Obtain the camera calibration uncertainty;
[0075] A2: Uncertainty in pose calculation;
[0076] A3: Obtain the hand-eye calibration uncertainty;
[0077] A4: Obtain the assembly pose uncertainty.
[0078] Further, in step A1, the pre-obtained image pixel uncertainty A is added to the image features used for camera calibration to generate calibration two-dimensional feature points and corresponding three-dimensional spatial points. Then, the camera calibration program is run repeatedly, and the standard deviation of the output parameters is calculated and recorded as the uncertainty of camera calibration.
[0079] Further, in step A2, the pre-obtained image pixel uncertainty B is added to a certain image feature used for pose calculation, the pre-obtained camera uncertainty is added to the camera intrinsic parameters, and then the pose calculation program is run repeatedly, and the standard deviation of the output parameters is calculated and recorded as the uncertainty of pose calculation.
[0080] Further, in step A3, the pre-obtained image pixel uncertainty A is added to the image features used for hand-eye calibration, and the pre-obtained camera uncertainty is added to the camera intrinsic parameters to obtain the pose of the calibration board in the camera coordinate system. Then, the pre-obtained robot motion uncertainty is added to the robot pose used for hand-eye calibration. Then, the Horaud hand-eye calibration method is used to repeatedly run the hand-eye calibration program, and the standard deviation of the output parameters is statistically analyzed and recorded as the uncertainty of hand-eye calibration.
[0081] Further, in step A4, the pre-obtained pose calculation uncertainty is added to the pose of the target in the camera coordinate system, and the pre-obtained hand-eye calibration uncertainty is added to the hand-eye relationship matrix. Then, the assembly pose calculation program is run repeatedly, and the standard deviation of the output parameters is calculated and recorded as the uncertainty of the assembly pose.
[0082] Step S4 includes the following steps:
[0083] A1: Analyze the uncertainty sensitivity of hand-eye calibration;
[0084] A2: Analyze the sensitivity of assembly pose uncertainty.
[0085] Further, in step A1, the uncertainty sensitivity of hand-eye calibration is analyzed. First, the X uncertainty in the pose calculation uncertainty is increased from 0 several times, and the change in hand-eye calibration uncertainty is analyzed. Then, the A uncertainty in the pose calculation uncertainty is increased from 0 several times, and the change in hand-eye calibration uncertainty is analyzed. Subsequently, the position uncertainty (XYZ) in the robot motion uncertainty is increased from 0 several times, and the change in hand-eye calibration uncertainty is analyzed. Finally, the attitude uncertainty (ABC) in the robot motion uncertainty is increased from 0 several times, and the change in hand-eye calibration uncertainty is analyzed.
[0086] Further, in step A2, the sensitivity of the assembly pose uncertainty is analyzed by first increasing the X uncertainty in the pose calculation uncertainty from 0 several times and analyzing the change in the assembly pose uncertainty; then increasing the A uncertainty in the pose calculation uncertainty from 0 several times and analyzing the change in the assembly pose uncertainty; subsequently increasing the X uncertainty in the hand-eye calibration uncertainty from 0 several times and analyzing the change in the assembly pose uncertainty; finally increasing the A uncertainty in the hand-eye calibration uncertainty from 0 several times and analyzing the change in the assembly pose uncertainty.
[0087] Example 1
[0088] Example 1 Objective: To comprehensively analyze the uncertainty of a bullet screen visual measurement system for a specific assembly pose.
[0089] Step 1: Determine the uncertainty propagation path of the assembly pose combination system, as follows:
[0090] according to Figure 3 Image feature pixel uncertainty A represents the pixel uncertainty of the camera extracting corner features from the checkerboard calibration board during camera calibration or hand-eye calibration, while image feature pixel uncertainty B represents the pixel uncertainty of the camera extracting relevant features from the target image during pose calculation. Assembly pose uncertainty is jointly determined by pose calculation uncertainty and hand-eye calibration uncertainty. Figure 3 The uncertainties in each part arise from interactions, including:
[0091] (1) Pose calculation uncertainty: The original data in the pose calculation process is the target image data. By combining the relevant features in the target image with the camera intrinsic parameter data obtained by calibration, the pose of the target in the camera coordinate system is output. Therefore, the sources of pose calculation uncertainty are the image feature pixel uncertainty B and the camera calibration uncertainty.
[0092] (2) Hand-eye calibration uncertainty: The Horaud hand-eye calibration method is adopted. The original data required for hand-eye calibration are several calibration board images acquired by industrial cameras and the corresponding robot end poses. First, the corner features in the calibration board images are extracted. The pose of the calibration board in the camera coordinate system is calculated based on the camera intrinsic parameters. Then, the hand-eye calibration is completed by combining the corresponding robot end pose and the hand-eye relationship matrix is output. Therefore, the sources of hand-eye calibration uncertainty are image feature pixel uncertainty A, camera calibration uncertainty and robot motion uncertainty.
[0093] (3) Camera calibration uncertainty: Zhang Zhengyou calibration method is adopted. The original data required for camera calibration are several calibration board images collected by industrial cameras. Corner features in the calibration board images are extracted and camera intrinsic parameters are output. Therefore, the source of camera calibration uncertainty is the image feature pixel uncertainty A.
[0094] Step 2: Obtain image pixel uncertainty and calculate uncertainty, as follows:
[0095] (1) For the image pixel uncertainty A, the model parameters of the industrial camera used in the experiment are shown in Table 1. The collected features are checkerboard corner features. In order to reduce the impact of environmental changes during the image acquisition process, the camera frame rate was set to the highest. The experiment was repeated 500 times to obtain the coordinate distribution of the same corner feature 500 times. The coordinate distribution was recorded, and the standard deviations in the u and v directions were calculated respectively as the uncertainty of corner feature extraction, i.e., image pixel uncertainty A, as shown in Table 2.
[0096] Table 1 Camera Model Parameters for Repeated Tests
[0097]
[0098] Table 2 Uncertainty of Corner Feature Extraction
[0099]
[0100] (2) The image pixel uncertainty B, in conjunction with the pose calculation method, affects the pose calculation uncertainty. Here, the pose of the chessboard calibration board in the camera coordinate system is directly calculated. The PnP algorithm is used for the pose calculation method. The corresponding image pixel uncertainty B is the image pixel uncertainty A, that is, the uncertainty of chessboard corner feature extraction.
[0101] (3) Regarding the robot's motion uncertainty, this invention uses the robot's positioning accuracy as its motion uncertainty. The robot's position positioning accuracy is 0.03 mm, and its attitude positioning accuracy is 5 × 10⁻⁶ mm. -5Therefore, the robot's positional motion uncertainty is set to 0.03 mm, and its attitude motion uncertainty is set to 5 × 10⁻⁶ rad. -5 rad.
[0102] Step 3: Calculate the camera calibration uncertainty, pose calculation uncertainty, hand-eye calibration uncertainty, and assembly pose uncertainty in sequence, as follows:
[0103] (1) For camera calibration uncertainty, the number of iterations is set to 10,000. First, the uncertainty of corner feature extraction in Table 2 is used as the input uncertainty to calculate the camera calibration uncertainty, as shown in Table 3.
[0104] Table 3 Camera calibration uncertainty
[0105]
[0106] (2) For the pose calculation uncertainty, the corner feature extraction uncertainty in Table 2 and the camera calibration uncertainty in Table 3 are then used as input uncertainties to calculate the pose calculation uncertainty, as shown in Table 4. Since the radian value is small, it is uniformly retained to 7 decimal places, the same below.
[0107] Table 4. Uncertainty in Pose Calculation
[0108]
[0109] (3) For hand-eye calibration uncertainty. Since the pose calculation uncertainty of this invention is to calculate the pose of the chessboard calibration board in the camera coordinate system, the robot motion uncertainty and the pose calculation uncertainty in Table 4 are directly used as input uncertainty. The Horaud hand-eye calibration method is selected to calculate the hand-eye calibration uncertainty, as shown in Table 5.
[0110] Table 5 Uncertainty of Hand-Eye Calibration
[0111]
[0112] (4) Assembly pose uncertainty. Finally, the pose calculation uncertainty in Table 4 and the hand-eye calibration uncertainty in Table 5 are used as input uncertainties to calculate the assembly pose uncertainty, as shown in Table 6.
[0113] Table 6 Assembly orientation uncertainty
[0114]
[0115] (5) First, observe the hand-eye calibration uncertainty in Table 5. Although the input uncertainty, robot motion uncertainty, and pose calculation uncertainty are all around 0.03 mm (XYZ), after the hand-eye calibration process, the hand-eye calibration uncertainty in Table 5 reaches 1.5 mm (XYZ). Next, observe the assembly pose uncertainty in Table 6. Although the pose calculation uncertainty is around 0.03 mm (XYZ), due to the large hand-eye calibration uncertainty, the final assembly pose uncertainty is further increased based on the hand-eye calibration uncertainty. To explore the impact of changes in input uncertainty on hand-eye calibration uncertainty and assembly pose uncertainty, sensitivity analyses are performed on hand-eye calibration uncertainty and assembly pose uncertainty respectively.
[0116] Step 4: Analyze the uncertainty sensitivity of hand-eye calibration and assembly posture in sequence, as follows:
[0117] (1) First, the sensitivity of the hand-eye calibration uncertainty is analyzed. The X uncertainty in the pose calculation uncertainty is increased from 0 to 0.01, 0.02, 0.03, and 0.04 mm. The changes in the hand-eye calibration uncertainty are as follows: Figure 4 As shown.
[0118] analyze Figure 4 The results show that as the uncertainty of pose calculation X increases, the uncertainties of A, B, and C in hand-eye calibration do not change significantly, but the uncertainties of X, Y, and Z increase to a certain extent. Among them, the increase in uncertainty of X is relatively small, while the increase in uncertainty of Y and Z is relatively large and consistent.
[0119] Next, the A uncertainty in the pose calculation uncertainty was increased sequentially from 0 to 0.0001, 0.0002, 0.0003, and 0.0004 rad. The changes in the hand-eye calibration uncertainty are as follows: Figure 5 As shown.
[0120] analyze Figure 5 The results show that, with the increase of the uncertainty A in the pose calculation, the uncertainties X, Y, Z, A, B, and C in the hand-eye calibration all increase to some extent. Regarding position uncertainty, the increase in X uncertainty is the largest, followed by Z uncertainty, and the increase in Y uncertainty is the smallest. Regarding attitude uncertainty, the increases in B and C uncertainties are relatively large and consistent, while the increase in A uncertainty is relatively small.
[0121] Subsequently, the position uncertainty (XYZ) in the robot motion uncertainty was increased sequentially from 0 to 0.01, 0.02, 0.03, and 0.04 mm. The changes in hand-eye calibration uncertainty are as follows: Figure 6 As shown.
[0122] analyze Figure 6 The results show that as the uncertainty of the robot's motion position increases, the uncertainties A, B, and C in the hand-eye calibration uncertainty do not change significantly, but the uncertainties X, Y, and Z increase to varying degrees. The increase in X uncertainty is relatively small, while the increases in Y and Z uncertainties are larger and consistent. It is important to note that because the robot's motion uncertainties X, Y, and Z increase simultaneously, the increases in X, Y, and Z in the hand-eye calibration uncertainty are all greater than... Figure 7 The middle one should be large.
[0123] Finally, the attitude uncertainty (ABC) in the robot motion uncertainty was increased sequentially from 0 to 0.00005, 0.0001, 0.00015, and 0.0002 mm. The changes in hand-eye calibration uncertainty are as follows: Figure 7 As shown.
[0124] analyze Figure 7 The results show that as the uncertainty of the robot's motion posture increases, the uncertainties of X, Y, Z, A, B, and C in the hand-eye calibration all increase to some extent. Regarding position uncertainty, the increase in X uncertainty is relatively large, while the increases in Y and Z uncertainties are smaller and essentially constant. Regarding posture uncertainty, the increases in A and B uncertainties are relatively large and consistent, while the increase in C uncertainty is relatively small. Here, the robot's motion uncertainty ABC also increases simultaneously.
[0125] Summarize Figures 4 to 7 The results lead to the following conclusions: For hand-eye calibration uncertainty, the position uncertainty in the input uncertainties (including pose calculation uncertainty and robot motion uncertainty) has a relatively limited impact on the final hand-eye calibration uncertainty, only affecting the position uncertainty to a certain extent. Conversely, the attitude uncertainty in the input uncertainties has a significant impact on the final hand-eye calibration uncertainty, affecting both the position and attitude uncertainties simultaneously. For the attitude uncertainty, there is even a certain amplification effect, such as... Figure 8 As shown, the input uncertainty increases from 0.0001 to 0.0002 rad, an increase of only 0.0001 rad, but this leads to an increase of approximately 1 mm in the X uncertainty and approximately 0.001 rad in the B uncertainty during the final hand-eye calibration. This phenomenon also explains why the input position uncertainty is around 0.03 mm, but the final hand-eye calibration position uncertainty exceeds 1 mm.
[0126] (2) The sensitivity of the assembly pose uncertainty is analyzed below. First, the X uncertainty in the pose calculation uncertainty is increased from 0 to 0.01, 0.02, 0.03, and 0.04 mm. The changes in the assembly pose uncertainty are as follows: Figure 8 As shown.
[0127] analyze Figure 8 The results show that as the uncertainty of pose calculation X increases, the uncertainties A, B, and C in the hand-eye calibration uncertainty do not change significantly, but the uncertainties of X, Y, and Z increase to a certain extent, although the increases are small. The reason for this is that the position uncertainty of pose calculation is much smaller than that of hand-eye calibration; therefore, a slight increase in the position uncertainty of pose calculation has little impact on the final assembly pose uncertainty.
[0128] Next, the A uncertainty in the pose calculation uncertainty was increased sequentially from 0 to 0.0001, 0.0002, 0.0003, and 0.0004 rad. The changes in assembly pose uncertainty are as follows: Figure 9 As shown.
[0129] analyze Figure 9 The results show that as the uncertainty of pose calculation A increases, the uncertainties of X, Y, Z, A, B, and C in the assembly pose uncertainty also increase to some extent. However, the increase is not significant. This is because the pose uncertainty of pose calculation is much smaller than the pose uncertainty of hand-eye calibration.
[0130] Subsequently, the X uncertainty in the hand-eye calibration uncertainty was increased sequentially from 0 to 1, 2, 3, and 4 mm, and the changes in assembly pose uncertainty were as follows: Figure 10 As shown.
[0131] analyze Figure 10 The results show that, with the increase of the hand-eye calibration uncertainty (X), the uncertainties of Y, Z, A, B, and C in the assembly pose uncertainty do not change significantly, but the uncertainty of X increases considerably, and the increasing trend is gradually accelerating. However, since the pose calculation uncertainty is much smaller than the hand-eye calibration uncertainty, there is a certain dilution effect, and the increase in the assembly pose uncertainty (X) is less than the increase in the hand-eye calibration uncertainty (X).
[0132] Finally, the A uncertainty in the hand-eye calibration uncertainty was increased sequentially from 0 to 0.0015, 0.003, 0.0045, and 0.006 mm. The changes in assembly pose uncertainty are as follows: Figure 11 As shown.
[0133] analyze Figure 11 The results show that as the hand-eye calibration uncertainty (A) increases, the uncertainties of X, Z, B, and C in the assembly pose uncertainty do not change significantly, but the uncertainties of Y and A increase considerably. Due to the specific configuration of the robot's hand-eye relationship in this study, the hand-eye calibration uncertainty (A) affects the assembly pose uncertainty (Y).
[0134] Summarize Figures 8 to 11The results lead to the following conclusions: For assembly pose uncertainty, if there is a difference of more than one order of magnitude between the pose calculation uncertainty and the hand-eye calibration uncertainty in the input uncertainty, then the change in the smaller uncertainty has a negligible impact on the uncertainty of the final result; however, the change in the larger position uncertainty will significantly affect the position uncertainty of the final result, and the change in the larger attitude uncertainty will significantly affect the position and attitude uncertainties of the final result.
[0135] (3) To further summarize the above conclusions: In order to obtain higher hand-eye calibration accuracy, i.e., lower hand-eye calibration uncertainty, lower pose calculation and robot motion uncertainty are required, especially the attitude uncertainty. Conversely, to obtain higher assembly pose accuracy, the pose calculation and hand-eye calibration uncertainties should be controlled to the same order of magnitude as much as possible. If one uncertainty is too high, then even the most accurate one will be of no use. Therefore, to some extent, improving hand-eye calibration accuracy and improving pose calculation accuracy are equally important for obtaining higher assembly pose accuracy.
[0136] Example 2
[0137] Step 1: After completing the hardware platform setup, in order to initially assess the accuracy of the entire assembly system, the relevant input uncertainties were obtained using the method presented in this paper, and a preliminary analysis of the system uncertainties was conducted. The results of the uncertainty analysis are shown in Table 7.
[0138] Table 7 Uncertainties before assembling the system
[0139]
[0140] Step Two: As shown in Table 7, the initial accuracy of the assembly system differs significantly from the actual assembly accuracy requirements. In particular, the hand-eye calibration uncertainty is substantial, greatly affecting the uncertainty of the assembly pose. Guided by this conclusion, relevant accuracy optimization work was carried out to improve the hand-eye calibration accuracy and pose measurement accuracy, ultimately reducing these two uncertainties to within the same order of magnitude. After completing the above work, the method of this invention was used again to re-obtain the relevant input uncertainties, and the uncertainty of the assembly system was further analyzed. The results are shown in Table 8.
[0141] Table 8 Current Uncertainties of the Assembly System
[0142]
[0143] Step 3: The data in Table 8 shows that the accuracy of the assembly system has basically met the assembly accuracy requirements, that is, the assembly system is now assemblable. With the support of the data in Table 8, a certain system has successfully completed assembly.
[0144] The above embodiments demonstrate, on the one hand, the feasibility of the method of the present invention for uncertainty analysis of complex systems, especially suitable for large assembly systems with high precision requirements; on the other hand, they demonstrate the accuracy of the simulation data obtained by the method of the present invention, with the simulation results being close to the final assembly results, indicating that the method of the present invention can well characterize the accuracy of the assembly pose of the entire system.
[0145] The conclusion of Example 2 is that when the method of the present invention is applied to actual assembly production, the following results are achieved: 1. Before assembly, the accuracy of the entire assembly system is initially assessed, and it is found that the existing accuracy cannot meet the requirements; 2. After accuracy optimization, the accuracy of the entire assembly system is reassessed, and it is confirmed that the existing accuracy has met the requirements.
[0146] The above-described embodiments are merely one implementation of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the scope of protection of the present invention. Therefore, the scope of protection of this invention should be determined by the appended claims.
Claims
1. An uncertainty analysis method for a monocular vision measurement system for assembly pose, characterized in that, The uncertainty analysis method for the assembly pose monocular vision measurement system includes the following steps: S1: Determine the uncertainty propagation path of the assembly posture combination system; the measurement model of the assembly posture combination system includes a camera imaging model, a camera calibration model, a visual measurement model, and a hand-eye calibration model. S2: Obtain image pixel uncertainty A, image pixel uncertainty B, and robot motion uncertainty as input uncertainties; where image pixel uncertainty A represents the pixel uncertainty of the camera extracting corner features from the chessboard calibration board during camera calibration or hand-eye calibration; image pixel uncertainty B represents the pixel uncertainty of the camera extracting relevant features from the target image during pose calculation; and robot motion uncertainty represents the positioning accuracy of the robot used. S3: Calculate the camera calibration uncertainty, pose calculation uncertainty, hand-eye calibration uncertainty, and assembly pose uncertainty in sequence; among them, the robot motion uncertainty, pose calculation uncertainty, hand-eye calibration uncertainty, and assembly pose uncertainty each independently include three positional degrees of freedom X, Y, Z, and three orientation degrees of freedom A, B, C. S4: Analyze the uncertainty sensitivity of hand-eye calibration and assembly posture in sequence; The steps to obtain the camera calibration uncertainty in S3 are as follows: the pre-obtained image pixel uncertainty A is added to the image features used for camera calibration to generate calibration two-dimensional feature points and corresponding three-dimensional spatial points. Then, the camera calibration method is run repeatedly, and the standard deviation of all internal parameters of the camera is statistically output, which is recorded as the camera calibration uncertainty. The steps to obtain the pose calculation uncertainty in S3 are as follows: add the pre-obtained image pixel uncertainty B to a certain image feature used for pose calculation, add the pre-obtained camera calibration uncertainty to the camera intrinsic parameters, then repeat the pose calculation method, and statistically output the standard deviation of the 6 degrees of freedom of pose calculation, which is denoted as the pose calculation uncertainty. The pose includes three position degrees of freedom X, Y, Z, and three orientation degrees of freedom A, B, C. The steps to obtain the hand-eye calibration uncertainty in S3 are as follows: add the pre-obtained image pixel uncertainty A to the image features used for hand-eye calibration, add the pre-obtained camera calibration uncertainty to the camera intrinsic parameters to obtain the pose of the calibration board in the camera coordinate system, add the pre-obtained robot motion uncertainty to the robot pose used for hand-eye calibration, and then use the Horaud hand-eye calibration method to repeatedly run the hand-eye calibration method and output the standard deviation of the 6-DOF pose of the hand-eye calibration, which is denoted as the hand-eye calibration uncertainty. The steps to obtain the assembly pose uncertainty in S3 are as follows: add the pre-obtained pose calculation uncertainty to the pose of the target image in the camera coordinate system, add the pre-obtained hand-eye calibration uncertainty to the hand-eye relationship matrix, then repeat the assembly pose calculation method, and statistically output the standard deviation of the 6-DOF pose of the assembly pose, which is denoted as the assembly pose uncertainty.
2. The uncertainty analysis method for a monocular vision measurement system for assembly pose according to claim 1, characterized in that: In step S2, the image pixel uncertainty A is obtained. The specific steps are as follows: using an industrial camera, the features collected are checkerboard corner features. During the image acquisition process, the camera frame rate is first set to the highest threshold, and the image acquisition is repeated in the experiment. N Once, the same corner feature is obtained. N Record the coordinate distribution of each step and calculate them respectively. u direction and v The standard deviation of the direction is used as the uncertainty of corner feature extraction, i.e., the image pixel uncertainty A, where u direction and v The direction is defined by the image captured by the camera as a planar rectangle, where the horizontal direction is... u Direction, vertical v Direction, i.e., the coordinate distribution of corner points. u The standard deviation of direction is the standard deviation of the x-coordinate of the corner points. v The standard deviation of the direction is the standard deviation of the ordinate of the corner points. N It is a positive integer.
3. The uncertainty analysis method for a monocular vision measurement system for assembly pose according to claim 1, characterized in that: In step S2, the step of obtaining the image pixel uncertainty B is as follows: calculate the pose of the chessboard calibration board in the camera coordinate system. The pose calculation method is the PnP algorithm. Calculate the uncertainty of the chessboard corner feature extraction, which is the image pixel uncertainty B.
4. The uncertainty analysis method for a monocular vision measurement system for assembly pose according to claim 1, characterized in that: In S4, the steps for analyzing the uncertainty sensitivity of hand-eye calibration are as follows: First, the uncertainty of the position degree of freedom X in the pose calculation uncertainty is increased sequentially from 0. m Next, the changes in hand-eye calibration uncertainty are analyzed; then, the uncertainty of the pose degree of freedom A in the pose calculation uncertainty is increased sequentially from 0. n First, the changes in hand-eye calibration uncertainty are analyzed; then, the uncertainties of the position degrees of freedom X, Y, and Z in the robot motion uncertainty are increased sequentially from 0. s Next, the changes in hand-eye calibration uncertainty are analyzed; finally, the uncertainties of the posture degrees of freedom A, B, and C in the robot motion uncertainty are increased sequentially from 0. t Next, the changes in hand-eye calibration uncertainty were analyzed; among which... m, n, t, s It is a positive integer.
5. The uncertainty analysis method for a monocular vision measurement system for assembly pose according to claim 1, characterized in that: In S4, the steps for analyzing the sensitivity of assembly pose uncertainty are as follows: First, the uncertainty of the position degree of freedom X in the pose calculation uncertainty is increased sequentially from 0. h The changes in assembly pose uncertainty were analyzed several times; then the uncertainty of the attitude degree of freedom A in the pose calculation uncertainty was increased sequentially from 0. i Next, the changes in assembly pose uncertainty were analyzed; then, the uncertainty of the positional degree of freedom X in the hand-eye calibration uncertainty was increased sequentially from 0. j Next, the changes in assembly pose uncertainty are analyzed; finally, the uncertainty of the pose degree of freedom A in the hand-eye calibration uncertainty is increased sequentially from 0. k Next, the changes in assembly pose uncertainty are analyzed; among which... h, i, j, k It is a positive integer.
Citation Information
Patent Citations
Mechanical arm multi-station accurate alignment method with far and near sight distance guiding function
CN114654457A
Device for evaluating hole-axis alignment precision of mechanical arm guided based on binocular vision
CN118372250A
