Parameter calibration method, pose data set construction method, device and electronic equipment

By acquiring multi-view images during the motion of the end effector and extracting geometric features for matching, the calibration parameters are optimized, solving the error problem in the pose calibration of the end effector in the prior art, and realizing high-precision pose annotation and dataset construction.

CN123160677APending Publication Date: 2026-11-24CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611325561.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies for end effector pose calibration suffer from limitations such as missing point clouds due to depth cameras, restricted motion due to calibration boards, and accumulated open-loop errors due to initial parameters and forward kinematics, making it impossible to achieve high-precision, automated pose annotation.

Method used

By acquiring multi-view image sequences and kinematic feedback data during the robot's motion, the 3D model is projected onto the image plane based on the initial pose. First and second geometric features are extracted, and the projected contour points are matched with the image edge points. The contour reprojection error is aggregated as the optimization objective function for solution, and the calibration parameters are optimized.

Benefits of technology

It achieves high-precision pose annotation in scenarios where the end effector moves freely, avoiding point cloud holes and error accumulation, and improving absolute accuracy under complex motion trajectories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160677A_ABST
    Figure CN123160677A_ABST
Patent Text Reader

Abstract

This invention provides a parameter calibration method, a pose dataset construction method, an apparatus, and an electronic device. The method includes: acquiring multi-view image sequences and projecting a 3D model onto an image plane to extract features, thereby overcoming the limitations of a specific calibration board and eliminating the need for hardware devices to acquire 3D point clouds, improving flexibility in scenarios where the end effector moves freely, and avoiding the loss of 3D information and calculation errors caused by point cloud voids; then, accurately matching the projected contour points with image edge points based on first and second geometric features, and aggregating the contour reprojection errors of multiple frames corresponding to multiple sampling times as the optimization objective function for global solution, thereby eliminating the inherent errors of the initial calibration parameters and the cumulative errors of the robotic arm joints during movement, ensuring absolute accuracy under multiple sampling times and complex motion trajectories.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of artificial intelligence technology, and in particular to a parameter calibration method, a pose dataset construction method, an apparatus, and an electronic device. Background Technology

[0002] The primary tool for robots to interact with their environment is the end effector. During robot task execution, whether it's using a deep learning model to output the target pose of the end effector to complete the operation, or performing traditional high-precision hand-eye coordination control, it's typically necessary to acquire the precise pose of the end effector in space. To ensure this high-precision pose acquisition, it's essential to perform high-precision calibration of various parameters within the robot system, such as the pose relationship between the camera and the robot base, and the pose relationship between the end effector and the robotic arm flange.

[0003] Currently, methods for acquiring pose or calibration parameters of end effectors can be mainly divided into depth camera-based methods and conventional color camera-based methods. Depth camera-based methods primarily utilize RGB-D images to generate 3D point clouds of the scene and estimate object pose using point cloud registration algorithms. Conventional color camera-based methods either fix the target object on a specific calibration plate and rely on the calibration plate for continuous pose recognition between different frames, or directly use conventional initial calibration parameters and the forward kinematics of the robotic arm to perform open-loop pose calculation.

[0004] However, depth camera-based solutions heavily rely on hardware to acquire 3D point clouds. In complex real-world scenarios, depth maps are prone to point cloud holes, leading to missing 3D information and computational errors. Solutions relying on specific calibration boards lack flexibility and are unsuitable for end effectors mounted on the end of a robotic arm that move freely in space. Furthermore, open-loop calculations using initial parameters and the robot's forward kinematics directly introduce inherent errors in the initial parameters and accumulated errors from the robotic arm's joints during motion into the final result, making it difficult to guarantee absolute accuracy under multiple sampling times and complex motion trajectories. Summary of the Invention

[0005] This invention provides a parameter calibration method, a pose dataset construction method, a device, and an electronic device to address the shortcomings of existing technologies, which, whether relying on the lack of point clouds from depth cameras, the limited motion of calibration boards, or the accumulation of open-loop errors from initial parameters and forward kinematics, cannot achieve high-precision and automated pose annotation of freely moving end effectors without relying on external auxiliary equipment.

[0006] This invention provides a parameter calibration method, comprising the following steps.

[0007] Acquire multi-view image sequences of the robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling time, and initial calibration parameters; Based on the kinematic feedback data, the initial pose of the end effector in each frame of the multi-view image sequence is determined; Based on the initial pose, the three-dimensional model of the end effector is projected onto the image plane of each frame image to obtain the projected contour points and the first geometric features corresponding to the projected contour points, and the image edge points and the second geometric features corresponding to the image edge points are extracted from each frame image. Based on the first geometric feature and the second geometric feature, the projected contour points are matched with the image edge points to obtain the contour reprojection error of each frame image. The contour reprojection errors of multiple frames corresponding to multiple sampling times in the multi-view image sequence are aggregated as the optimization objective function. The optimization objective function is solved with the initial calibration parameters as optimization variables to obtain the optimization calibration parameters.

[0008] According to a parameter calibration method provided by the present invention, the first geometric feature includes a first normal vector; Based on the initial pose, the three-dimensional model of the end effector is projected onto the image plane of each frame image to obtain projected contour points and the first geometric features corresponding to the projected contour points, including: Based on the initial pose, a two-dimensional mask image of the three-dimensional model of the end effector in the image plane is determined; Based on the two-dimensional mask image, a set of two-dimensional contour points is extracted as the projected contour points; Polynomial surface fitting is performed on the local neighborhood of the projected contour points to obtain the surface function; Based on the second derivative of the surface function, the Hessian matrix is ​​determined, and the eigenvector corresponding to the largest eigenvalue of the Hessian matrix is ​​determined as the first normal vector.

[0009] According to a parameter calibration method provided by the present invention, the second geometric feature includes a second normal vector; The step of extracting image edge points and corresponding second geometric features from each frame image includes: Extract the initial edge pixels and initial gradient map of each frame image; The two-dimensional mask is dilated to obtain an expanded two-dimensional mask. The initial edge pixels are then filtered based on the expanded two-dimensional mask, and the initial edge pixels located within the expanded two-dimensional mask are retained as real edge pixels. Centered on the real edge pixel, a local gradient neighborhood is selected in the initial gradient map, and a polynomial surface fitting is performed based on the gradient values ​​in the local gradient neighborhood to obtain the fitted surface function. Based on the eigenvectors of the Hessian matrix of the fitted surface function, the second normal vector corresponding to the real edge pixel is determined; In a local coordinate system with the real edge pixel as the origin, the fitted surface function is expanded by a second-order Taylor series, and the derivative of the expanded fitted surface function is calculated along the direction of the second normal vector. The sub-pixel offset corresponding to the derivative being zero is superimposed on the image coordinates of the real edge pixel to obtain the edge sub-pixel coordinates. The point with the edge sub-pixel coordinates is determined as the image edge point.

[0010] According to a parameter calibration method provided by the present invention, the step of extracting the initial edge pixels and initial gradient map of each frame image includes: Each frame of the image is converted to grayscale to obtain a grayscale image; The gradient of the grayscale image is calculated to obtain the initial gradient map; Edge detection is performed on the initial gradient map to obtain an initial edge response map, and the pixels in the initial edge response map that meet the preset edge conditions are determined as the initial edge pixels.

[0011] According to a parameter calibration method provided by the present invention, the step of matching the projected contour points with the image edge points based on the first geometric features and the second geometric features to obtain the contour reprojection error of each frame image includes: Using the projected contour point as the center, a bidirectional search is performed along the direction of the first geometric feature corresponding to the projected contour point to obtain each candidate image edge point within the bidirectional search range. Determine the similarity between the first geometric feature corresponding to each of the projected contour points and the second geometric feature corresponding to each of the candidate image edge points, and determine the candidate image edge point with the highest similarity as the preliminary matching point corresponding to the projected contour point; Based on the preliminary matching points corresponding to all the projected contour points, a preliminary matching point set is determined; The contour reprojection error is determined based on the distance between the projected contour points and the preliminary matching points in the preliminary matching point set.

[0012] According to a parameter calibration method provided by the present invention, determining the contour reprojection error based on the distance between the projected contour points and the preliminary matching points in the preliminary matching point set includes: The preliminary matching points in the preliminary matching point set are sorted based on the similarity to obtain the sorting result; Select preliminary matching points that meet the preset ratio conditions from the sorting results as the target matching points; The contour reprojection error is determined based on the distance between the projected contour points and the target matching points.

[0013] According to a parameter calibration method provided by the present invention, the initial calibration parameters include an initial hand-eye calibration matrix and an initial tool coordinate system calibration matrix; the optimized calibration parameters include an optimized hand-eye calibration matrix and an optimized tool coordinate system calibration matrix. The contour reprojection error of multiple frames corresponding to multiple sampling times in the multi-view image sequence is aggregated as the optimization objective function. The optimization objective function is solved using the initial calibration parameters as optimization variables to obtain the optimization calibration parameters, including: Obtain the intrinsic parameter model of the camera used to acquire the multi-view image sequence; Based on the intrinsic parameter model of the camera, a global projection mapping function is constructed to map the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix to the image plane; Based on the global projection mapping function, the contour reprojection error of the multi-frame images is constructed into the optimization objective function, and the optimization objective function is solved using the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix as optimization variables to obtain the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix.

[0014] This invention also provides a method for constructing a pose dataset, comprising: The system acquires image sequences from real-world scenarios, kinematic feedback data of the robot, and optimizes calibration parameters; these optimized calibration parameters are obtained based on the aforementioned parameter calibration method. Based on the optimized calibration parameters and the kinematic feedback data, the target pose of the robot's end effector corresponding to each frame in the image sequence is updated, and a real pose dataset is constructed based on each frame and the target pose corresponding to each frame.

[0015] According to a method for constructing a pose dataset provided by the present invention, the method further includes, after constructing a real pose dataset based on the target poses corresponding to each frame image, the method further includes: In the virtual rendering space, a virtual robot equipped with an end effector model is controlled to move along a simulated motion trajectory, and the virtual robot is rendered and photographed based on a virtual camera to obtain a synthetic image sequence. Based on the pose of the end effector model in the synthesized image sequence, the synthetic pose annotation is determined, and a synthetic pose dataset is constructed based on the synthetic image sequence and the synthetic pose annotation. Based on the real pose dataset and the synthetic pose dataset, a target pose dataset is constructed.

[0016] According to a method for constructing a pose dataset provided by the present invention, the step of determining the simulated motion trajectory includes: In the basic motion trajectory of the virtual robot, a preset system velocity sensitivity coefficient and system acceleration sensitivity coefficient are obtained, and a first pose perturbation matrix is ​​generated based on the system velocity sensitivity coefficient and the system acceleration sensitivity coefficient. The second pose perturbation matrix is ​​generated based on the preset inverse kinematics solution of the delay function, and the third pose perturbation matrix corresponding to the high-frequency micro-vibration is generated based on the composite vibration spinor containing harmonic amplitude and physical noise. The first pose perturbation matrix, the second pose perturbation matrix, and the third pose perturbation matrix are superimposed on the basic motion trajectory to obtain the simulated motion trajectory.

[0017] The present invention also provides a parameter calibration device, comprising the following units: The first acquisition unit is used to acquire a multi-view image sequence of the robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling time, and initial calibration parameters; The determining unit is used to determine the initial pose of the end effector in each frame of the multi-view image sequence based on the kinematic feedback data. The projection unit is used to project the three-dimensional model of the end effector onto the image plane of each frame image based on the initial pose, to obtain the projection contour points and the first geometric features corresponding to the projection contour points, and to extract the image edge points and the second geometric features corresponding to the image edge points from each frame image. The solving unit is used to match the projected contour points with the image edge points based on the first geometric features and the second geometric features to obtain the contour reprojection error of each frame image, aggregate the contour reprojection errors of multiple frames corresponding to multiple sampling times in the multi-view image sequence as the optimization objective function, and solve the optimization objective function with the initial calibration parameters as optimization variables to obtain the optimization calibration parameters.

[0018] The present invention also provides a pose dataset construction apparatus, comprising the following units: The second acquisition unit is used to acquire image sequences in real-world scenarios, robot kinematic feedback data, and optimized calibration parameters; the optimized calibration parameters are obtained based on the above parameter calibration method. A dataset unit is constructed to update the target pose of the robot's end effector in each frame of the image sequence based on the optimized calibration parameters and the kinematic feedback data, and to construct a real pose dataset based on each frame of the image and the target pose corresponding to each frame of the image.

[0019] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the parameter calibration method described above, or implements the pose dataset construction method described above.

[0020] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the parameter calibration method as described above, or implements the pose dataset construction method as described above.

[0021] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the parameter calibration methods described above, or implements any of the pose dataset construction methods described above.

[0022] The parameter calibration method, pose dataset construction method, device, and electronic device provided by this invention acquire multi-view image sequences and project a 3D model onto the image plane to extract features. This eliminates the limitations of a specific calibration board and does not require hardware devices to acquire 3D point clouds, improving flexibility in scenarios where the end effector moves freely and avoiding the loss of 3D information and calculation errors caused by point cloud voids. Furthermore, based on the first and second geometric features, the projected contour points are accurately matched with image edge points, and the contour reprojection errors of multiple frames corresponding to multiple sampling times are aggregated as the optimization objective function for global solution. This eliminates the inherent errors of the initial calibration parameters and the cumulative errors of the robot arm joints during movement, avoiding the inaccuracy problem caused by directly using the initial parameters and robot forward kinematics for open-loop calculation, and ensuring absolute accuracy under multiple sampling times and complex motion trajectories. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0024] Figure 1 This is one of the flowcharts illustrating the parameter calibration method provided by the present invention.

[0025] Figure 2 This is the second flowchart illustrating the pose dataset construction method provided by this invention.

[0026] Figure 3 This is a schematic diagram of the process for constructing the contour nearest point reprojection error provided by the present invention.

[0027] Figure 4 This is a schematic diagram of the bidirectional search provided by the present invention.

[0028] Figure 5 This is a schematic diagram of the truncated spherical trajectory sampling strategy used in the data acquisition stage provided by the present invention.

[0029] Figure 6 This is a flowchart illustrating the pose dataset construction method provided by the present invention.

[0030] Figure 7 This is a schematic diagram of the parameter calibration device provided by the present invention.

[0031] Figure 8 This is a schematic diagram of the pose dataset construction device provided by the present invention.

[0032] Figure 9 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0034] The terms "first," "second," etc., used in this invention are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention can be implemented in orders other than those illustrated or described herein, and that the objects distinguished by "first," "second," etc., are generally of the same class.

[0035] The primary tool for robot interaction with the environment is the end effector. During robot task execution, the target pose of the end effector is typically output using a deep learning model to complete the operation. However, deep learning models, as a data-driven technology, require a large amount of image data with precise pose annotations for training. Since six-degree-of-freedom pose includes three degrees of rotation and three degrees of translation in three-dimensional space, extremely high annotation accuracy is required. If open-loop pose annotation is performed directly based on the robot's forward kinematics calculations and initial calibration results, hand-eye calibration errors and the accumulated errors of the robotic arm itself will directly contribute to the final pose annotation. On the other hand, relying on depth cameras for point cloud registration can easily lead to missing 3D information and annotation errors due to point cloud voids. Therefore, this invention provides a parameter calibration method that optimizes and corrects initial calibration parameters using only image information, thus providing a precise calibration foundation for subsequent high-precision pose annotation, pose dataset construction, and other downstream tasks.

[0036] This invention provides a parameter calibration method. It should be noted that the execution entity of the parameter calibration method provided by this invention can be an electronic device with data processing capabilities, such as a computer, server, controller, or edge computing device, or it can be a processing module integrated into a robot control system. This invention does not limit this. In a specific embodiment, the hardware system implementing this method may include a robot, an end effector, a camera, and a computer, wherein the computer is used to control the robot, acquire images captured by the camera, and execute the parameter calibration method described in this invention.

[0037] Figure 1 This is one of the flowcharts illustrating the parameter calibration method provided by the present invention, such as... Figure 1 As shown, the method includes the following: Step 110: Obtain a multi-view image sequence of the robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling moment, and initial calibration parameters.

[0038] Specifically, firstly, it is possible to acquire multi-view image sequences of a robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling moment, and initial calibration parameters.

[0039] In this invention, a robot refers to a robotic arm with any serially connected structure that has a software interface to control the robot to move arbitrarily in the workspace. For example, it can be a six-axis industrial robotic arm, a seven-axis redundant robotic arm, a collaborative robotic arm, etc. The specific configuration and number of axes of the robot are not limited in this invention.

[0040] Here, an end effector refers to an actuator installed at the end of a robot for interacting with the environment. For example, it can be connected to the end of a robotic arm via a flange. The specific configuration of the end effector can be any configuration such as a parallel gripper, a suction cup, or a dexterous hand. It is understandable that the end effector moves along with the robot, and its image in the camera's field of view will change with the robot's pose.

[0041] Here, the multi-view image sequence is used to reflect the image information presented by the end effector from multiple different observation perspectives during the robot's motion. The multi-view image sequence contains multiple frames of images corresponding to multiple sampling times. Each frame of the image corresponds to a sampling time during the robot's motion, that is, to a spatial pose of the end effector.

[0042] In one specific embodiment, a camera is fixedly placed outside the robot and kept stationary. The robot is controlled to move the end effector according to a preset motion trajectory, and the camera simultaneously captures multiple frames of images from different poses, thereby obtaining a multi-view image sequence. It should be noted that the camera only needs to be capable of acquiring monocular RGB images; a depth camera is not required, thus simplifying the hardware dependencies of the entire process. Furthermore, imaging devices capable of outputting two-dimensional images, such as binocular cameras or the RGB channels of an RGB-D camera, can also be used to implement this invention; this embodiment of the invention does not limit the scope of the invention.

[0043] As an optional embodiment, the aforementioned preset motion trajectory can be generated using a truncated spherical trajectory sampling method. That is, the robot is controlled to move on a pre-defined truncated spherical surface, with a virtual point as its center. Motion trajectory points are generated by sampling the azimuth and elevation angles. The coordinates of the trajectory points... It can be represented as: ; in, , These represent the azimuth and elevation angles of a point on a trajectory, respectively. Represents the radius of the sphere. The azimuth and elevation angles of the trajectory points are obtained by sampling on the sphere within a specified range. ; in, , , , These represent the minimum and maximum values ​​of the azimuth angle on the sphere, respectively. , These represent the minimum and maximum values ​​of the spherical elevation angle range, respectively. , These represent the number of samples for azimuth and elevation, respectively, both greater than 1. Each group... It uniquely corresponds to a trajectory sampling point on the truncated sphere.

[0044] Here, the rotation of the robot's end effector can be determined by the vector pointing from the end effector to the virtual point (virtual center). Using truncated spherical trajectory sampling ensures that the end effector presents a sufficiently diverse range of viewing angles in the image sequence, which is beneficial for the stability and globality of subsequent optimization solutions. In other optional embodiments, the preset motion trajectory can also be a taught trajectory, a random trajectory, or other trajectory forms covering multiple perspectives; this embodiment of the invention does not limit this.

[0045] The kinematic feedback data reflects the robot's motion state at each sampling moment. This may include, for example, joint angle readings at each sampling moment, and / or the robot's end-effector pose in the robot's base coordinate system at each sampling moment, calculated using the robot's forward kinematics. In one specific embodiment, while the camera captures each frame, the kinematic feedback data calculated using the robot's forward kinematics is simultaneously recorded. The frame corresponds to the pose of the robot's end effector in the base coordinate system at the sampling time, denoted as the transformation matrix. .

[0046] It is understandable that each sampling moment corresponds synchronously with each frame in the multi-view image sequence, meaning that each frame has corresponding kinematic feedback data.

[0047] Here, the initial calibration parameters reflect the initial transformation relationships between relevant coordinate systems in the robot system, serving as the initial values ​​and optimization targets for subsequent optimization solutions. For example, the initial calibration parameters may include the initial transformation matrix from the robot's base coordinate system to the camera coordinate system, i.e., the initial hand-eye calibration matrix obtained through hand-eye calibration, denoted as... The initial transformation matrix from the end effector coordinate system to the robot end effector coordinate system, i.e., the initial tool coordinate system calibration matrix obtained through tool coordinate frame (TCF) calibration, is denoted as... At least one of them.

[0048] Here, conventional hand-eye calibration methods can be used, such as hand-eye calibration based on a calibration board and / or conventional tool coordinate system calibration methods to pre-calibrate and obtain initial calibration parameters. Alternatively, historical calibration results or system nominal values ​​can be read as initial calibration parameters. This embodiment of the invention does not limit this.

[0049] It should be noted that, due to limitations in the accuracy of the calibration method itself and the cumulative error of the open-loop positive kinematics of the robotic arm, the initial calibration parameters usually have a certain deviation, so it is necessary to optimize the initial calibration parameters.

[0050] Step 120: Based on the kinematic feedback data, determine the initial pose of the end effector in each frame of the multi-view image sequence.

[0051] Specifically, after obtaining the kinematic feedback data, the initial pose of the end effector in each frame of the multi-view image sequence can be determined based on the kinematic feedback data.

[0052] Here, the initial pose is used to reflect the coarse position and attitude information of the end effector in the camera coordinate system corresponding to each frame image, that is, the coarse pose of the end effector relative to the camera. It can be represented by the SE(3) transformation matrix, the combination of rotation matrix and translation vector, the combination of quaternion and translation vector, etc. The present invention does not limit the specific representation.

[0053] In one specific embodiment, when the initial calibration parameters include the initial hand-eye calibration matrix and initial tool coordinate system calibration matrix At that time, the kinematic feedback data can be combined with the first The pose of the robot end effector in the base coordinate system corresponding to the frame The initial pose of the end effector in the camera coordinate system is calculated through coordinate system chain transformation. : ; That is, the coordinate system of the end effector is transformed to the camera coordinate system in sequence through the robot end effector coordinate system and the robot base coordinate system.

[0054] It is understandable that, due to the deviation in the initial calibration parameters and the cumulative error in the robot's forward kinematics calculation, the initial pose calculated is a coarse pose, which deviates from the actual pose of the end effector.

[0055] Step 130: Based on the initial pose, project the 3D model of the end effector onto the image plane of each frame image to obtain the projected contour points and the first geometric features corresponding to the projected contour points, and extract the image edge points and the second geometric features corresponding to the image edge points from each frame image.

[0056] Specifically, after obtaining the initial pose, the three-dimensional model of the end effector can be projected onto the image plane of each frame image based on the initial pose to obtain the projected contour points and the first geometric features corresponding to the projected contour points, and the image edge points and the second geometric features corresponding to the image edge points can be extracted from each frame image.

[0057] Here, the three-dimensional model of the end effector refers to the three-dimensional geometric structure of the end effector. For example, it can be a computer-aided design (CAD) model, a triangular mesh model, a three-dimensional point cloud model, etc. The three-dimensional model of the end effector can be obtained directly from the design file of the end effector or it can be obtained through three-dimensional scanning and reconstruction. This embodiment of the invention does not limit this.

[0058] Here, the image plane refers to the imaging plane of the camera used to acquire multi-view image sequences. Projecting a 3D model onto the image plane refers to the process of transforming the 3D model from the end effector model coordinate system to the camera coordinate system based on the initial pose, and then, in conjunction with the camera's intrinsic parameter model, mapping the 3D model onto a 2D image according to the pinhole imaging principle. In specific implementations, this projection process can be achieved using a graphics rendering engine, such as OpenGL rendering, or it can be achieved by directly projecting points on the surface of the 3D model. This embodiment of the invention does not limit this approach.

[0059] Here, projection contour points refer to two-dimensional points on the contour of the projection area formed on the image plane after the 3D model is projected as described above. For example, points on the boundary of the projection area can be extracted as projection contour points based on the model projection area obtained by projection.

[0060] The first geometric feature is used to reflect the local geometric properties of the projected contour at the projected contour point. For example, the first geometric feature may include at least one of the following: normal vector, tangent vector, gradient direction, and local curvature at the projected contour point. The first geometric feature may be obtained by numerical fitting or difference calculation of the local neighborhood of the projected contour point, and the embodiments of the present invention do not limit this.

[0061] Taking the first geometric feature, which includes the normal vector, as an example, the normal vector at the projection contour point represents the direction of the projection contour perpendicular to the contour direction at that point, which can provide directional guidance for the subsequent matching between the projection contour point and the image edge point.

[0062] Here, image edge points refer to points located at the edges of objects in the image, extracted from each frame of the actual captured image. Image edge points can be edge points with pixel-level precision or sub-pixel-level precision. Image edge points can be obtained by edge detection methods such as the Canny operator and the Sobel operator on each frame of the image. This invention does not limit the specific edge extraction method.

[0063] It is understandable that, since each frame of the image contains the end effector that moves with the robot, the edge points of the image contain the edge points on the actual imaging contour of the end effector, and their positions reflect the actual pose information of the end effector.

[0064] Here, the second geometric feature is used to reflect the local geometric properties of the image edge at the image edge point. For example, the second geometric feature may include at least one of the normal vector, gradient direction, local curvature, etc. at the image edge point.

[0065] It is understandable that the second geometric feature and the first geometric feature should use the same type of geometric attributes, such as normal vectors, to facilitate comparison and matching between features.

[0066] Step 140: Based on the first geometric feature and the second geometric feature, match the projected contour points with the image edge points to obtain the contour reprojection error of each frame image. Aggregate the contour reprojection errors of multiple frames corresponding to multiple sampling times in the multi-view image sequence as the optimization objective function. Solve the optimization objective function with the initial calibration parameters as optimization variables to obtain the optimization calibration parameters.

[0067] Specifically, after obtaining the first geometric feature and the second geometric feature, the projected contour points can be matched with the image edge points based on the first geometric feature and the second geometric feature to obtain the contour reprojection error of each frame image. The contour reprojection error of multiple frames corresponding to multiple sampling times in the multi-view image sequence is aggregated as the optimization objective function. The optimization objective function is solved with the initial calibration parameters as optimization variables to obtain the optimization calibration parameters.

[0068] Matching projected contour points with image edge points refers to the process of determining the corresponding matching point among the image edge points for each projected contour point. Since the projected contour points are obtained based on the initial pose projection with deviations, while the image edge points reflect the actual imaging position of the end effector, the positional deviation between correctly matched point pairs characterizes the error of the initial calibration parameters.

[0069] In practical implementation, matching can be based on the similarity between the first geometric feature and the second geometric feature. For example, the image edge point corresponding to the second geometric feature most similar to the first geometric feature of the projected contour point can be determined as the matching point of the projected contour point. The similarity between features can be measured by cosine similarity, vector angle, Euclidean distance, etc., and this embodiment of the invention does not limit this. Compared with the nearest point matching method based solely on spatial distance, introducing the first geometric feature and the second geometric feature for matching can effectively eliminate the interference of erroneous edges with inconsistent directions and improve the accuracy of matching.

[0070] Here, contour reprojection error is used to reflect the overall deviation between the projected contour points and their matching image edge points in a single frame image on the image plane. For example, the first... Contour reprojection error of frame image It can be constructed as the sum of squared two-dimensional distances between all matching point pairs in the image frame: ; in, The image coordinates of the projected contour points. This represents the image coordinates of the image edge points that match the projected contour points. The summation iterates through all matching point pairs in the image frame.

[0071] Here, the optimization objective function is obtained by aggregating the contour reprojection errors of multiple frames corresponding to multiple sampling times in the multi-view image sequence, with the initial calibration parameters as independent variables. The aggregation method can be, for example, summing or weighted summing the contour reprojection errors of multiple frames. In a specific embodiment, all... The contour reprojection error of the frame image is used as the optimization objective to construct the following nonlinear optimization problem: ; For each frame Using the initial hand-eye calibration matrix and initial tool coordinate system calibration matrix Combined with the robot's feedback on the end-effector pose The process involves projecting the 3D model of the end effector onto the image and comparing the distance between the projected contour and the real edge. The summation of the contour reprojection errors across all frames is then used as the objective function to optimize the algorithm. and This allows for the acquisition of more accurate calibration parameters.

[0072] It is understandable that, since the initial calibration parameters are globally shared across all frames, aggregating the contour reprojection errors of multiple frames into a unified optimization objective function for joint solution is equivalent to applying constraints to the same set of calibration parameters using observation information from multiple perspectives and multiple sampling times. This can effectively eliminate the influence of single-frame observation noise and cumulative errors during robot motion, and avoid single-frame optimization from getting stuck in local optima.

[0073] The objective function is solved using the initial calibration parameters as optimization variables. This can be achieved using nonlinear least squares optimization algorithms, such as the Levenberg-Marquardt algorithm, the Gauss-Newton method, or the trust region method. This invention does not limit the specific algorithm used. During the solution process, iterative optimization is performed using the initial calibration parameters as the initial values ​​of the optimization variables. In each iteration, the pose of the end effector in each frame is recalculated based on the current calibration parameter values, and the contour reprojection error is updated, thereby updating the values ​​of the optimization variables. The iteration continues until a preset convergence condition is met, such as the change in the total contour reprojection error of all images between two iterations being less than a set threshold, or the number of iterations reaching a preset upper limit. The optimized variable values ​​output after convergence are the optimized calibration parameters.

[0074] Here, optimized calibration parameters refer to the coordinate system transformation relationship that has been optimized and has higher accuracy than the initial calibration parameters. After obtaining the optimized calibration parameters, the pose of the end effector in each frame image can be recalculated based on the optimized calibration parameters and kinematic feedback data, thereby obtaining high-precision pose results for downstream tasks such as pose annotation, pose dataset construction, and robot hand-eye collaborative control.

[0075] To facilitate understanding, a specific example will be used below. Suppose that in a coffee-making robot system in an unmanned restaurant, high-precision pose data needs to be built for the end effector, such as a parallel gripper, to support the training of the vision-language-motion model. First, a monocular RGB camera is fixed to the outside of the robotic arm. The robotic arm is controlled to move the parallel gripper along a truncated spherical trajectory. The camera simultaneously acquires a multi-view image sequence containing dozens of frames, and records the end-effector pose of the robotic arm calculated by forward kinematics at each sampling moment. Initial calibration parameters are obtained through conventional hand-eye calibration and tool coordinate system calibration. Next, based on the initial calibration parameters and kinematic feedback data, the initial pose of the parallel gripper in each frame is calculated. The 3D model of the parallel gripper is projected onto the image plane of each frame according to the initial pose, obtaining the projected contour points and their first geometric features. Image edge points and their second geometric features are extracted from each frame of real images. Then, based on the two types of geometric features, the projected contour points and image edge points are matched to construct the contour reprojection error of each frame. The contour reprojection errors of all frames are aggregated into an optimization objective function, and iteratively solved using the initial calibration parameters as optimization variables to finally obtain the optimized calibration parameters. The parallel gripper pose recalculated based on the optimized calibration parameters has significantly higher accuracy than the coarse pose obtained by open-loop calculation based on the initial calibration parameters.

[0076] The method provided in this invention acquires multi-view image sequences and projects a 3D model onto an image plane to extract features, thereby overcoming the limitations of a specific calibration board and eliminating the need for hardware devices to acquire 3D point clouds. This improves flexibility in scenarios where the end effector moves freely and avoids the loss of 3D information and calculation errors caused by point cloud voids. Furthermore, based on the first and second geometric features, the projected contour points are accurately matched with image edge points, and the contour reprojection errors of multiple frames corresponding to multiple sampling times are aggregated as the optimization objective function for global solution. This eliminates the inherent errors of the initial calibration parameters and the cumulative errors of the robot arm joints during motion, avoiding the inaccuracy problem caused by directly using the initial parameters and robot forward kinematics for open-loop calculations, and ensuring absolute accuracy under multiple sampling times and complex motion trajectories.

[0077] Based on the above embodiments, the first geometric feature includes a first normal vector; Step 130 includes: Step 21: Based on the initial pose, determine the two-dimensional mask image of the three-dimensional model of the end effector on the image plane; Step 22: Extract a set of two-dimensional contour points based on the two-dimensional mask image as the projected contour points; Step 23: Perform polynomial surface fitting on the local neighborhood of the projected contour points to obtain the surface function; Step 24: Based on the second derivative of the surface function, determine the Hessian matrix, and determine the eigenvector corresponding to the largest eigenvalue of the Hessian matrix as the first normal vector.

[0078] Specifically, the first geometric feature includes a first normal vector. The first normal vector reflects the local normal direction of the projected contour at the projected contour point; that is, it is a unit direction vector at the projected contour point that is perpendicular to the direction of the projected contour and points towards the direction of the most drastic change in image grayscale or amplitude.

[0079] First, based on the initial pose, a two-dimensional mask of the end effector's 3D model on the image plane can be determined. The two-dimensional mask refers to the image area covered by the end effector's 3D model after it is projected onto the image plane according to the initial pose. It can be a binary image with the same size as each frame, where pixels within the projection area of ​​the 3D model take foreground values ​​(e.g., 1), and pixels outside the projection area take background values ​​(e.g., 0).

[0080] Then, a two-dimensional contour point set can be extracted from the two-dimensional mask image as the projected contour points. Here, the two-dimensional contour point set refers to the set of pixels on the boundary between the foreground and background regions in the two-dimensional mask image. In a specific embodiment, a two-dimensional contour image can be obtained by performing contour extraction on the two-dimensional mask image, such as boundary tracking or morphological boundary extraction, and a two-dimensional contour point set can be generated from each point on the two-dimensional contour image. Each point in the two-dimensional contour point set can then be used as the projected contour points.

[0081] Furthermore, a polynomial surface fitting is performed on the local neighborhood of the projected contour points to obtain a surface function. Here, the local neighborhood of the projected contour points refers to a local pixel region selected on the image centered on the projected contour points. For example, it can be a 3×3 neighborhood centered on the projected contour points, or other sizes such as a 5×5 neighborhood can be selected according to accuracy requirements; this invention does not limit this.

[0082] Here, the surface function refers to the continuous functional relationship between the image amplitude and the local coordinates in the local neighborhood. That is, a two-dimensional polynomial surface is used to continuously approximate the discrete amplitude distribution in the local neighborhood.

[0083] In one specific embodiment, to suppress jagged edges and noise in the contour, the extracted two-dimensional contour image can first be Gaussian blurred, and then a facet model can be used to apply Gaussian blur to each projected contour point. Polynomial surface fitting of the magnitude within a 3×3 neighborhood yields the following surface function: ; in, This represents a surface function within a 3×3 region, i.e., its position within a local neighborhood. The fitting amplitude at that point; and These represent the two coordinate components in the local coordinate system with the projected contour points as the origin, i.e. and All are measured in local coordinates; , , , , and are the fitting coefficients of the polynomial surface, where The coefficient of the constant term, , They are respectively direction and The coefficient of the first term in the direction, , u 2 Item and v 2 The coefficient of the quadratic term, for Cross term coefficient. Fit coefficient. It can be obtained by convolving a 3×3 neighborhood with a facet model mask. That is, a fixed convolution template corresponding to each coefficient is pre-constructed, and each convolution template is convolved with the neighborhood magnitude to obtain the corresponding coefficient, thereby avoiding the point-by-point solution of the least squares problem and making the computation efficient.

[0084] Finally, the Hessian matrix can be determined based on the second derivative of the surface function, and the eigenvector corresponding to the largest eigenvalue of the Hessian matrix can be determined as the first normal vector.

[0085] Here, the Hessian matrix is ​​used to reflect the second-order rate of change of the surface function along each direction at the projected contour points, that is, the rate of change of the surface function with respect to local coordinates. and The matrix formed by the second-order partial derivatives of .

[0086] Since the eigenvector corresponding to the largest eigenvalue of the Hessian matrix points in the direction of the most drastic second-order change in the amplitude of the surface, and for the contour, the direction of the most drastic change in amplitude is perpendicular to the contour's orientation, eigenvalue decomposition is performed on the Hessian matrix H, and the eigenvector corresponding to the largest eigenvalue of the Hessian matrix is ​​determined as the first normal vector of the projected contour point. .

[0087] The method provided in this invention renders a two-dimensional mask image based on an initial pose and extracts a set of two-dimensional contour points as projected contour points. Then, it uses polynomial surface fitting and Hessian matrix eigenvalue decomposition to determine the first normal vector of the projected contour points. This makes the calculation of the first normal vector based on the continuous surface representation of the local neighborhood, effectively suppressing the interference of discrete pixel noise on the normal estimation.

[0088] Based on the above embodiments, the second geometric feature includes a second normal vector; Step 130, which involves extracting image edge points and corresponding second geometric features from each frame image, includes: Step 31: Extract the initial edge pixels and initial gradient map of each frame image; Step 32: Perform a dilation operation on the two-dimensional mask to obtain an dilated two-dimensional mask. Based on the dilated two-dimensional mask, filter the initial edge pixels and retain the initial edge pixels located within the dilated two-dimensional mask as real edge pixels. Step 33: Taking the real edge pixel as the center, select a local gradient neighborhood in the initial gradient map, and perform polynomial surface fitting based on the gradient values ​​in the local gradient neighborhood to obtain the fitted surface function; Step 34: Based on the eigenvectors of the Hessian matrix of the fitted surface function, determine the second normal vector corresponding to the real edge pixel; Step 35: In a local coordinate system with the real edge pixel as the origin, perform a second-order Taylor expansion on the fitted surface function, and take the derivative of the expanded fitted surface function along the direction of the second normal vector. Add the sub-pixel offset corresponding to the derivative being zero to the image coordinates of the real edge pixel to obtain the edge sub-pixel coordinates, and determine the point with the edge sub-pixel coordinates as the image edge point.

[0089] Specifically, the second geometric feature includes a second normal vector. This second normal vector reflects the local normal direction of the real image edge at the image edge point; that is, it is a unit direction vector at the image edge point that is perpendicular to the real edge direction and points in the direction of the most drastic change in image gradient.

[0090] Accordingly, initial edge pixels and initial gradient maps can be extracted from each frame of the image. Initial edge pixels refer to the pixels at unfiltered edge locations obtained after directly performing edge detection on each frame. The initial gradient map reflects the intensity and direction of grayscale changes at each pixel in each frame; it is a map composed of the image gradients of each pixel. It is understandable that the extracted initial edge pixels at this stage include not only edge pixels on the actual imaging contour of the end effector but also potentially interfering edge pixels generated by background objects, scene textures, etc.

[0091] Then, a dilation operation can be performed on the two-dimensional mask to obtain a dilated two-dimensional mask. Based on the dilated two-dimensional mask, the initial edge pixels are filtered, and the initial edge pixels located within the dilated two-dimensional mask are retained as real edge pixels.

[0092] Here, the dilated 2D mask refers to the image area covered by the foreground region of the 2D mask after morphological dilation. Due to initial pose deviations, there is a certain misalignment between the actual imaging position of the end effector and the projection area identified by the 2D mask. Expanding the mask coverage through dilation can tolerate this misalignment while excluding background interference edges far from the end effector.

[0093] Here, true edge pixels refer to the edge pixels that are retained after being filtered by the dilated two-dimensional mask and are likely to belong to the true imaging contour of the end effector.

[0094] Furthermore, a true image edge map can be determined based on true edge pixels. This true image edge map reflects the positional distribution information of all true edge pixels within the image.

[0095] In one specific embodiment, the edge map of the real image can be determined by the following formula: ; in, The expansion nucleus is the structural element used in morphological expansion operations. Indicates an expansion operation; It is a two-dimensional mask image. This is a two-dimensional mask image for expansion; This is the actual image after grayscale conversion; This indicates that the Canny operator is used to extract edges from the image; This represents the gradient extraction part in the Canny operator computation process; This is a true image edge map, where pixels with a value of 1 are true edge pixels; This refers to the gradient map corresponding to the actual edge pixels, specifically the gradient map retained after filtering by the dilated 2D mask map. In the above formula... This indicates pixel-by-pixel multiplication, meaning that the dilated 2D mask image is used as a filtering window to retain only the edge response and gradient response located within the dilated mask area.

[0096] Furthermore, a local gradient neighborhood is selected in the initial gradient map, centered on the real edge pixel. A polynomial surface fitting is then performed based on the gradient values ​​within this local gradient neighborhood to obtain the fitted surface function. Here, the fitted surface function refers to the continuous functional relationship between the gradient magnitude and local coordinates within the local neighborhood centered on the real edge pixel.

[0097] In one specific embodiment, for each of the selected real edge pixels Similarly, a small-facet model is used for polynomial surface fitting, and the fitting region here is the gradient map. The 3×3 neighborhood at the same pixel coordinate as the real edge pixel is fitted, meaning the object being fitted is the gradient magnitude rather than the contour magnitude. The form of the resulting fitted surface function is the same as the aforementioned surface function. The fit coefficients are consistent and can also be obtained by convolving the 3×3 neighborhood with the facet model mask.

[0098] After obtaining the fitted surface function, the second normal vector corresponding to the true edge pixel can be determined based on the eigenvectors of the Hessian matrix of the fitted surface function. Similar to the method for determining the first normal vector, the Hessian matrix is ​​obtained by taking the second derivative of the fitted surface function, and the eigenvector corresponding to the largest eigenvalue of this Hessian matrix is ​​determined as the second normal vector corresponding to the true edge pixel. .

[0099] Finally, in a local coordinate system with the real edge pixels as the origin, the fitted surface function can be expanded by a second-order Taylor expansion, and the derivative of the expanded fitted surface function can be obtained along the direction of the second normal vector. The sub-pixel offset corresponding to the derivative being zero is superimposed on the image coordinates of the real edge pixels to obtain the edge sub-pixel coordinates, and the points with edge sub-pixel coordinates are determined as image edge points.

[0100] Here, sub-pixel edge coordinates refer to the precise positional information of the real image edge at sub-pixel accuracy, which is more accurate than the real edge pixel coordinates at the integer pixel level. In a specific embodiment, a second-order Taylor expansion is first performed at the origin of the local coordinate system with the real edge pixels as the origin: ; in, This represents the value of the fitted surface function at the origin; , They represent the fitted surface function with respect to local coordinates, respectively. and The first-order partial derivative at the origin; , Represent the fitted surface function pairs and The second partial derivative at the origin; Represents the fitted surface function pair and The second-order mixed partial derivative at the origin.

[0101] Constrain the local coordinates along the second normal vector. In the direction, that is to say Then the Taylor expansion along the direction of the second normal vector is: ; in, and They represent the second normal vectors respectively. In the local coordinate system direction and The component in the direction, that is, the coordinate along the direction of the normal vector; This represents the offset parameter along the direction of the second normal vector. The precise location of the true edge corresponds to the extreme point of the gradient magnitude along the normal direction, thus making... Taking the derivative with respect to t and setting the derivative to 0, we obtain the sub-pixel offset. : ; Therefore, the sub-pixel coordinates of each real edge pixel can be obtained by the following formula: ; in, Integer pixel image coordinates representing the actual edge pixels; This is the sub-pixel offset along the direction of the second normal vector; These are the edge sub-pixel coordinates obtained after superimposing sub-pixel offsets. (The last part, "having edge sub-pixel coordinates," appears to be a separate, unrelated sentence fragment and is left untranslated.) The points are determined as image edge points.

[0102] Furthermore, all real edge pixels are calculated in the above manner to obtain sub-pixel level image edge points, which in turn can generate an edge sub-pixel coordinate map. and normal vector graph In this context, each pixel value in the edge subpixel coordinate map represents the edge subpixel coordinates corresponding to that pixel, and each pixel value in the normal vector map represents the second normal vector corresponding to that pixel, so that the corresponding subpixel coordinates and second normal vectors can be quickly queried based on the pixel position during subsequent matching.

[0103] The method provided in this invention filters initial edge pixels using an expanded two-dimensional mask, effectively eliminating background interference edges and ensuring that all edges participating in the matching originate from the vicinity of the actual imaging contour of the end effector. Furthermore, by performing polynomial surface fitting, second-order Taylor expansion, and derivative optimization along the second normal vector direction on the local neighborhood of the gradient map, the positioning accuracy of image edge points is improved from the integer pixel level to the sub-pixel level. This ensures that the subsequent contour reprojection error is based on the sub-pixel level of the actual edge, fundamentally improving the upper limit of the accuracy of calibration parameter optimization and overcoming the problem of insufficient pose accuracy caused by the semantic features extracted by the pre-trained model not reaching the sub-pixel level in the prior art.

[0104] Based on the above embodiments, step 31 includes: Step 311: Perform grayscale processing on each frame image to obtain a grayscale image; Step 312: Perform gradient calculation on the grayscale image to obtain the initial gradient map; Step 313: Perform edge detection on the initial gradient map to obtain an initial edge response map, and determine the pixels in the initial edge response map that meet the preset edge conditions as the initial edge pixels.

[0105] Specifically, firstly, each frame of the image can be converted to grayscale to obtain a grayscale image. A grayscale image is an image where color information is removed from each frame, leaving only brightness information. In a specific embodiment, when each frame is an RGB color image, a weighted average method can be used. For example, this involves weighting and summing the R, G, and B channels according to the human eye's light-sensing characteristics, using the maximum value method, or the average value method to convert each frame to grayscale and obtain a grayscale image. This invention does not limit the specific method of grayscale conversion.

[0106] Secondly, gradient calculation is performed on the grayscale image to obtain an initial gradient map. In a specific embodiment, gradient operators such as the Sobel operator can be used to perform differential convolution on the grayscale image in both the horizontal and vertical directions to obtain the gradient components of each pixel in the two directions, thereby obtaining the initial gradient map, i.e., the one in the above formula. The corresponding calculations.

[0107] Finally, edge detection is performed on the initial gradient map to obtain the initial edge response map, and the pixels in the initial edge response map that meet the preset edge conditions are determined as the initial edge pixels.

[0108] Here, the initial edge response map is used to reflect the response intensity information of each pixel belonging to the image edge. The preset edge condition refers to a pre-set judgment condition used to identify true edge pixels from the edge response. In a specific embodiment, firstly, non-maximum suppression is performed along the gradient direction based on the initial gradient map to obtain a refined initial edge response map; then, a dual-threshold judgment and edge connectivity are used as the preset edge condition, that is, pixels with edge responses higher than the high threshold are directly determined as initial edge pixels, and pixels with edge responses between the high and low thresholds and connected to the determined initial edge pixels are also determined as initial edge pixels. Furthermore, the preset edge condition can also adopt other forms such as single-threshold judgment, which is not limited in this embodiment of the invention.

[0109] Based on the above embodiments, step 140, which involves matching the projected contour points with the image edge points based on the first geometric feature and the second geometric feature to obtain the contour reprojection error of each frame image, includes: Step 1401: Using the projected contour point as the center, perform a bidirectional search along the direction of the first geometric feature corresponding to the projected contour point to obtain each candidate image edge point within the bidirectional search range. Step 1402: Determine the similarity between the first geometric feature corresponding to each of the projected contour points and the second geometric feature corresponding to each of the candidate image edge points, and determine the candidate image edge point with the highest similarity as the preliminary matching point corresponding to the projected contour point; Step 1403: Determine a preliminary matching point set based on the preliminary matching points corresponding to all the projected contour points; Step 1404: Determine the contour reprojection error based on the distance between the projected contour points and the preliminary matching points in the preliminary matching point set.

[0110] Specifically, firstly, taking the projected contour point as the center, a bidirectional search is performed along the direction of the first geometric feature corresponding to the projected contour point to obtain each candidate image edge point within the bidirectional search range.

[0111] Bidirectional search refers to a search method that uses the projected contour point as the center and searches for image positions one by one within a set pixel range along the direction indicated by the first geometric feature, such as the first normal vector, and its opposite direction. Here, each candidate image edge point is used to reflect the image edge points within the bidirectional search range that may correspond to the projected contour point. The bidirectional search along the first normal vector direction is necessary because the initial pose deviation is mainly manifested as the offset of the projected contour relative to the real edge along the contour normal direction. Searching along the normal direction can hit the corresponding real edge with the shortest path; however, since the offset direction may be towards the positive or negative direction of the normal vector, a bidirectional search is required.

[0112] In one specific embodiment, as an optional method for acquiring and updating projected contour points, the three-dimensional contour point set can be randomly sampled, and the sampled three-dimensional contour points can be projected onto a two-dimensional image plane using camera intrinsic parameters and the pinhole imaging principle. A projection point The projection process can be represented as: ; in, Represents the projection function; This represents the current pose estimate of the end effector coordinate system, i.e., the object coordinate system to the camera coordinate system (which is the initial pose at the beginning). A three-dimensional point in the object coordinate system, i.e., the coordinate system of the end effector model; This indicates the transformation of a 3D point from the object coordinate system to the camera coordinate system. For a 3D contour point represented in the camera coordinate system... Assuming the image is distortion-free, the projection function can be expressed as: ; Where X, Y, and Z represent the coordinate components of the three-dimensional contour point along the three coordinate axes in the camera coordinate system; and These represent the equivalent focal length in pixels; and These represent the principal point coordinates in pixels. For each projection point... Centered on the first normal vector, and within a set pixel range (e.g., ±10 pixels), a bidirectional search is performed based on the initial calibration parameter accuracy level. This search determines whether each found pixel is an extracted sub-pixel level image edge point, for example, by using an edge sub-pixel coordinate map. The query is performed, and the matched image edge points are identified as candidate image edge points.

[0113] Secondly, the similarity between the first geometric feature corresponding to each projected contour point and the second geometric feature corresponding to each candidate image edge point is determined, and the candidate image edge point with the highest similarity is determined as the preliminary matching point corresponding to the projected contour point.

[0114] Here, similarity is used to reflect the degree of proximity between the first geometric feature and the second geometric feature in terms of direction or value. The preliminary matching point reflects the image edge point corresponding to the projected contour point, initially determined after similarity comparison. In a specific embodiment, when the first geometric feature includes a first normal vector... The second geometric feature includes the second normal vector. In this case, cosine similarity can be used to measure similarity: ; Where S represents the similarity, that is, the cosine similarity between the first normal vector and the second normal vector; This represents the transpose of the first normal vector; and Let represent the magnitudes of the first and second normal vectors, respectively. A higher cosine similarity indicates a more consistent direction between the two normal vectors, making it more likely that the corresponding projected contour point and the candidate image edge point belong to the same physical location on the end effector contour. The candidate image edge point with the highest cosine similarity, i.e., the real sub-pixel point, is selected as the initial matching point corresponding to that projected contour point.

[0115] Further, based on the preliminary matching points corresponding to all the projected contour points, a preliminary matching point set is determined. Here, the preliminary matching point set reflects the set of matching point pairs formed by all projected contour points and their preliminary matching points in a single frame image.

[0116] After determining the initial set of matching points, the contour reprojection error can be determined based on the distance between the projected contour points and the initial matching points in the initial set. The distance reflects the two-dimensional positional deviation between the projected contour points and their initial matching points on the image plane; for example, it can be measured using two-dimensional Euclidean distance. In a specific embodiment, the sum of the squares of the two-dimensional distances between each pair of matching points in a single frame can be determined as the contour reprojection error of that frame; alternatively, the initial matching points in the initial set can be further filtered before calculating the contour reprojection error.

[0117] Based on the above embodiments, step 1404 includes: Step 1404-1: Sort the preliminary matching points in the preliminary matching point set based on the similarity to obtain the sorting result; Step 1404-2: Select preliminary matching points that meet the preset ratio conditions from the sorting results as the target matching points; Step 1404-3: Determine the contour reprojection error based on the distance between the projected contour points and the target matching points.

[0118] Specifically, firstly, the preliminary matching points in the preliminary matching point set can be sorted based on similarity to obtain a sorting result. Here, the sorting result refers to the order in which the preliminary matching points in the preliminary matching point set are arranged according to their corresponding similarity values. For example, they can be sorted in descending order of similarity.

[0119] Secondly, preliminary matching points that meet the preset ratio conditions are selected from the sorting results as target matching points. The preset ratio conditions refer to the pre-defined ratios used to extract high-quality matching points from the sorting results. Here, the target matching points are the matching points that ultimately participate in the contour reprojection error calculation after ratio screening.

[0120] In one specific embodiment, all matched point pairs can be sorted according to cosine similarity, and only the top half with the highest similarity is selected, i.e., the preset ratio condition is the top 50% as the final matched point set M. Alternatively, the preset ratio condition can be set to other ratios such as the top 30% or top 60% depending on image quality and scene complexity; this embodiment of the invention does not limit this. It is understood that preliminary matched points with low similarity are more likely to be mismatched points or matched points contaminated by noise. Removing them through ratio filtering can avoid interference from mismatched points in the optimization process.

[0121] Finally, the contour reprojection error can be determined based on the distance between the projected contour points and the target matching points.

[0122] In a specific embodiment, the sum of squared two-dimensional distances between the projected contour points in the final matching point set M and their matched sub-pixel level image edge points is calculated to construct the contour reprojection error of a single frame, i.e., the contour nearest point reprojection error: ; in, Indicates the current pose estimation The contour reprojection error of the next frame image; The final set of matching points is the set of matching point pairs consisting of all target matching points and their corresponding projected contour points. The image coordinates of the projected contour points; This represents the sub-pixel coordinates of the edge of the target matching point that matches the projected contour point. It represents the square of the two-dimensional Euclidean distance between a single pair of matching points.

[0123] The method provided in this invention, by sorting based on similarity and truncating according to a preset ratio, retains only a portion of the matching point pairs with the highest matching quality to participate in the construction of the contour reprojection error. This effectively eliminates the pollution of the error function by mismatched points and low-quality matching points, enhances the ability of the contour reprojection error to express the true deviation of the calibration parameters, and thus improves the robustness and convergence accuracy of the optimization solution.

[0124] Based on the above embodiments, the initial calibration parameters include an initial hand-eye calibration matrix and an initial tool coordinate system calibration matrix; the optimized calibration parameters include an optimized hand-eye calibration matrix and an optimized tool coordinate system calibration matrix. In step 140, the contour reprojection error of multiple frames corresponding to multiple sampling times in the multi-view image sequence is aggregated as the optimization objective function. The optimization objective function is solved using the initial calibration parameters as optimization variables to obtain the optimization calibration parameters, including: Step 141: Obtain the intrinsic parameter model of the camera used to acquire the multi-view image sequence; Step 142: Based on the intrinsic parameter model of the camera, construct a global projection mapping function that maps the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix to the image plane; Step 143: Based on the global projection mapping function, construct the contour reprojection error of the multi-frame images into the optimization objective function, and solve the optimization objective function with the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix as optimization variables to obtain the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix.

[0125] Specifically, the initial calibration parameters include the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix; the optimized calibration parameters include the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix.

[0126] The initial hand-eye calibration matrix reflects the initial transformation relationship from the robot's base coordinate system to the camera coordinate system, and is denoted as... It can be pre-observed through hand-eye calibration; the initial tool coordinate system calibration matrix is ​​used to reflect the initial transformation relationship from the end effector coordinate system to the robot end effector coordinate system, denoted as... This can be obtained in advance through tool coordinate system calibration. Accordingly, the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix are used to reflect the two transformation relationships mentioned above that improve accuracy after optimization.

[0127] Accordingly, firstly, the intrinsic parameter model of the camera used to acquire multi-view image sequences can be obtained. This intrinsic parameter model reflects parameter information about the camera's own imaging geometry, such as the equivalent focal length in pixels. , and principal point coordinates in pixels , When the image is distorted, the intrinsic parameter model can further include distortion coefficients.

[0128] The intrinsic parameter model can be pre-calibrated using conventional camera calibration methods, such as the Zhang Zhengyou calibration method, or the camera's factory-specified parameters can be read directly. This embodiment of the invention does not limit this.

[0129] Secondly, based on the camera's intrinsic parameter model, a global projection mapping function is constructed to map the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix to the image plane.

[0130] Here, the global projection mapping function reflects the complete mapping relationship between the calibration parameters (i.e., the hand-eye calibration matrix and the tool coordinate system calibration matrix) and the contour reprojection error on the image plane. Through the global projection mapping function, any change in the calibration parameters can be translated into a change in the contour reprojection error on the image plane, thus transforming the optimization problem of the calibration parameters into a problem of minimizing the error on the image plane.

[0131] Finally, based on the global projection mapping function, the contour reprojection error of multiple frames of images can be constructed into an optimization objective function. The optimization objective function is then solved using the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix as optimization variables to obtain the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix.

[0132] In one specific embodiment, each frame is calculated based on the initial pose. The contour reprojection error will affect all Using the combined errors of the frame images as the optimization objective, a nonlinear optimization problem is constructed with the hand-eye calibration matrix and the tool coordinate system calibration matrix as the optimization objects: ; in, This represents the value of the optimization variable that minimizes the objective function; The hand-eye calibration matrix to be optimized (with the initial hand-eye calibration matrix as the initial value); The tool coordinate system calibration matrix to be optimized (with the initial tool coordinate system calibration matrix as the initial value); The first term is calculated from the robot's forward kinematics. The frame corresponds to the pose of the robot's end effector in the base coordinate system at the sampling time. Indicates the number of image frames participating in the joint optimization; The reprojection error of the constructed single-frame contour.

[0133] The optimization problem constructed above is subjected to nonlinear least squares iterative optimization, for example, using the Levenberg-Marquardt algorithm, where in each iteration, based on the current... and The contour points are reprojected, rematched, and the contour reprojection error of each frame is updated until the total reprojection error of all images between the two optimizations is less than a set threshold. At this point, the optimized and accurate hand-eye calibration matrix and tool coordinate system calibration matrix are output, i.e., the optimized hand-eye calibration matrix and optimized tool coordinate system calibration matrix.

[0134] It is understandable that, since the hand-eye calibration matrix and the tool coordinate system calibration matrix are globally shared physical quantities across all frames, using them as optimization variables for multi-frame joint solution is equivalent to applying joint constraints to the same set of calibration parameters with image observations from multiple perspectives and at multiple sampling times. Therefore, the observation noise of any single frame cannot dominate the optimization result.

[0135] The method provided in this invention combines all contour reprojection errors of the sequence images to construct a nonlinear least squares optimization problem with the hand-eye calibration matrix and tool coordinate system calibration matrix as the optimization objects, and performs multi-frame joint iterative optimization. This effectively eliminates the accumulated errors caused by the open-loop forward kinematics of the robotic arm and the initial calibration, avoids the problem of directly using the initial parameters and robot forward kinematics to perform open-loop calculations and directly introducing the errors into the final result, and achieves globally optimal high-precision calibration parameter output.

[0136] Based on any of the above embodiments Figure 2 This is the second flowchart illustrating the pose dataset construction method provided by this invention. Figure 2As shown, the framework consists of two core branches: real dataset construction and synthetic dataset construction. Ultimately, it generates a dataset containing real images, synthetic images, and high-precision pose annotations through a combination of real and virtual methods. In the real dataset construction branch, the system follows the principle of automated annotation and joint optimization from coarse to fine. First, it fixes the camera, controls the robot's movement, and acquires image sequences. Then, it calculates coarse pose based on forward kinematics and initial hand-eye and tool coordinate frame (TCF) calibration. Subsequently, through 3D model projection and sub-pixel edge extraction, it enters feature matching, constructing a key step for reprojecting the nearest point of the single-frame contour to correct the error. After completing the single-frame calculation, the system further combines multi-frame errors to construct a nonlinear optimization problem of hand-eye and TCF, and uses this to perform global iterative solutions to eliminate errors, outputting accurate pose annotations. The parallel synthetic dataset construction branch focuses on kinematic perturbation simulation and physical rendering. It first assembles the 3D model of the end effector onto the simulated robot's end effector, uses a random walk algorithm to dynamically adjust the camera pose, and randomly generates the robot's motion trajectory. Then, it incorporates kinematic perturbation factors into the trajectory to simulate dynamic observation in a real physical environment. Before rendering, the scene structure is enriched by introducing a multi-domain randomization strategy, and finally, a physical rendering engine is used to generate realistic images and pose annotations in batches.

[0137] Figure 3 This is a schematic diagram illustrating the process of constructing the contour nearest point reprojection error provided by the present invention. Figure 4 This is a schematic diagram of the bidirectional search provided by the present invention, as shown below. Figure 3 As shown, the real image side obtains initial edge information through Canny edge extraction and performs normal vector and subpixel fitting to achieve subpixel-level accuracy; the model projection side renders the 3D model onto the projection image plane, performs normal vector fitting, and performs random sampling for computational efficiency. These two sets of data enter a bidirectional search process to ultimately determine the reprojection error of the nearest point of the contour. Figure 4 As shown, the matching logic is specifically manifested as follows: Figure 4 Centered on the red projection point, a bidirectional search is performed within the defined search range along its first normal vector direction. Figure 4 The direction of the red dashed arrow in the middle). When sub-pixel edge points are found in the real image ( Figure 4 When the green dot is selected, the system not only considers the spatial distance between the two points, but also extracts the second normal vector corresponding to the point and calculates the similarity between the two normal vectors. This similarity is used to reflect the degree of fit between the two normal vectors in the direction. The point with the highest similarity is selected as the matching point, thereby constructing a reprojection error function with high robustness.

[0138] Figure 5 This is a schematic diagram of the truncated spherical trajectory sampling strategy used in the data acquisition phase provided by the present invention, as shown below. Figure 5 As shown, this strategy reflects the relative observation relationship between the camera and the robot in space. With the camera position fixed, a truncated sphere is constructed with a virtual point as its center, and the robot equipped with an end effector is controlled to move on this sphere. Motion trajectories are generated by discretizing the azimuth and elevation angles, allowing the end effector to present omnidirectional perspective transformations across multiple frames. This sampling method, combined with the aforementioned coarse-to-fine automated annotation and joint optimization process, ensures sufficient geometric constraints when the system performs global iterative solutions to eliminate errors, effectively bridging the initial residuals in hand-eye and TCF nonlinear optimization problems. The multi-view observation data obtained through this sampling strategy, combined with the simulated data generated by the synthetic path, ultimately achieves automated and high-precision construction of a dataset containing real images, synthetic images, and high-precision pose annotations.

[0139] Based on any of the above embodiments, the present invention provides a method for constructing a pose dataset. Figure 6 This is a flowchart illustrating the pose dataset construction method provided by the present invention, as shown below. Figure 6 As shown, the method includes: Step 610: Obtain image sequences from the real scene, kinematic feedback data of the robot, and optimized calibration parameters; the optimized calibration parameters are obtained based on the above parameter calibration method. Step 620: Based on the optimized calibration parameters and the kinematic feedback data, update the target pose of the robot's end effector corresponding to each frame of the image sequence, and construct a real pose dataset based on each frame of the image and the target pose corresponding to each frame of the image.

[0140] Specifically, firstly, image sequences from a real-world scene, the robot's kinematic feedback data, and optimized calibration parameters can be acquired. These optimized calibration parameters are obtained based on the parameter calibration method described in any of the above embodiments.

[0141] In this context, the image sequence in a real-world scenario refers to a series of images captured by a camera in a real physical environment, showing the movement of a robot equipped with an end effector. It is understood that the image sequence in a real-world scenario can directly reuse the multi-view image sequence acquired during parameter calibration, or it can be an image sequence acquired separately in a real-world scenario after parameter calibration is completed; this invention does not impose any limitations on this.

[0142] Here, the robot's kinematic feedback data includes information such as the robot end effector's pose in the base coordinate system, which is calculated from the robot's forward kinematics and recorded synchronously with each frame of the image.

[0143] Secondly, based on the optimized calibration parameters and kinematic feedback data, the target pose of the robot's end effector in each frame of the image sequence is updated, and a real pose dataset is constructed based on each frame of the image and the target pose corresponding to each frame of the image.

[0144] Here, the target pose refers to the high-precision pose of the end effector in the camera coordinate system corresponding to each frame image, which is recalculated based on optimized calibration parameters.

[0145] In one specific embodiment, the initial calibration parameters are replaced with optimized hand-eye calibration matrices and optimized tool coordinate system calibration matrices. Combined with the kinematic feedback data corresponding to each frame image, the pose of the end effector in the camera coordinate system is recalculated according to the coordinate system chain transformation. That is, the coarse pose originally calculated based on the initial calibration parameters is updated to a high-precision target pose, and finally the high-precision pose annotation of the end effector in each frame is completed.

[0146] Here, the real pose dataset refers to a data set consisting of each frame of images in a real scene and its corresponding target pose annotations. Each data set contains a real image frame and the six-degree-of-freedom target pose annotation of the end effector in that frame. It can be directly used for training deep learning models, such as pose estimation models and vision-language-action models.

[0147] The method provided in this invention updates the pose of the end effector in each frame image by combining the optimized calibration parameters obtained by the parameter calibration method with kinematic feedback data. This makes the accuracy of pose annotation no longer limited by the inherent error of the initial calibration parameters and the cumulative error of the open-loop positive kinematics of the robotic arm. It can achieve high-precision automated annotation of the end effector pose in real-world scenarios by relying only on the image and positive kinematics results, greatly reducing the hardware dependence and manual cost of acquiring high-precision pose datasets.

[0148] Based on the above embodiments, step 620, which involves constructing a real pose dataset based on the target pose corresponding to each frame image, further includes: Step 621: In the virtual rendering space, control the virtual robot equipped with the end effector model to move along the simulated motion trajectory, and render and capture the virtual robot based on the virtual camera to obtain a synthetic image sequence. Step 622: Based on the pose of the end effector model in the synthesized image sequence, determine the synthetic pose annotation, and construct a synthetic pose dataset based on the synthetic image sequence and the synthetic pose annotation; Step 623: Construct a target pose dataset based on the real pose dataset and the synthetic pose dataset.

[0149] Specifically, firstly, in a virtual rendering space, a virtual robot equipped with an end effector model can be controlled to move along a simulated motion trajectory, and the virtual robot can be rendered and photographed based on a virtual camera to obtain a synthetic image sequence.

[0150] Virtual rendering space refers to a virtual 3D scene constructed by 3D modeling software or a physically based rendering engine to simulate a real physical environment. Virtual robot refers to a 3D robot model imported into the virtual rendering space.

[0151] Here, the end effector model refers to the 3D model of the end effector that is imported into the virtual rendering space and attached to the end of the virtual robot. In a specific embodiment, the end effector model and the robot model are first imported into the physical rendering software, and then the end effector model is attached to the end of the virtual robot.

[0152] Here, a virtual camera refers to a virtual imaging device set up in a virtual rendering space for rendering and imaging a virtual robot. In a specific embodiment, the pose of the virtual camera can be dynamically determined as follows: the virtual camera takes the entire virtual robot as its center, samples and generates camera placement points between two truncated spherical surfaces of different diameters, and introduces a random walk algorithm to change the pose of the virtual camera, thereby covering a rich variety of observation angles and observation distances in the synthetic data.

[0153] Among them, simulated motion trajectory refers to the virtual robot motion trajectory generated in the virtual rendering space to approximate the actual motion state of a real robot.

[0154] Among them, the synthetic image sequence refers to the multi-frame synthetic image obtained by rendering and shooting a virtual robot moving along a simulated motion trajectory using a virtual camera. As an optional embodiment, in order to enhance the diversity of synthetic data and bridge the visual difference between the synthetic domain and the real domain, the following four domain randomization strategies can also be applied during the rendering process: (1) randomly arrange the position, color and intensity of spatial lighting in the virtual rendering space; (2) randomly adjust the material parameters such as diffuse reflection, metallicity and roughness of the rendered object; (3) randomly select background image or solid color background; (4) introduce random three-dimensional interference objects to enrich the scene structure.

[0155] Secondly, based on the pose of the end effector model in the synthesized image sequence, the synthetic pose annotation is determined, and a synthetic pose dataset is constructed based on the synthetic image sequence and the synthetic pose annotation.

[0156] Here, synthetic pose annotation refers to the pose annotation of the end effector model in the virtual camera coordinate system corresponding to each frame of the synthetic image sequence.

[0157] Understandably, since the poses of the virtual robot, end effector model, and virtual camera in the virtual rendering space are all known and precise quantities, synthetic pose annotations can be directly obtained during the rendering process, inherently possessing accuracy without any additional annotation operations. A synthetic pose dataset refers to a collection of data composed of synthetic image sequences and synthetic pose annotations.

[0158] Finally, a target pose dataset can be constructed based on real pose datasets and synthetic pose datasets.

[0159] Here, the target pose dataset refers to the end effector pose dataset formed by combining the real pose dataset and the synthetic pose dataset. It includes real images, synthetic images, and pose annotations of both. The combination method can be, for example, directly merging the two datasets, or merging them after mixing and sampling according to a preset ratio. This embodiment of the invention does not limit the method.

[0160] The method provided in this invention generates a series of synthetic images with precise synthetic pose annotations in batches using physical rendering in a virtual rendering space, and then combines the synthetic pose dataset with the real pose dataset to construct a target pose dataset. This method can expand data diversity on a large scale at extremely low cost, overcome the shortcomings of existing solutions that mostly only collect data from real scenes and lack data diversity, effectively bridge the gap between the synthetic domain and the real physical environment, and improve the generalization ability of the model trained using the target pose dataset.

[0161] Based on the above embodiments, the step of determining the simulated motion trajectory includes: Step 61: In the basic motion trajectory of the virtual robot, obtain the preset system velocity sensitivity coefficient and system acceleration sensitivity coefficient, and generate the first pose perturbation matrix based on the system velocity sensitivity coefficient and the system acceleration sensitivity coefficient; Step 62: Generate a second pose perturbation matrix based on the preset inverse kinematics solution of the delay function, and generate a third pose perturbation matrix corresponding to the high-frequency micro-vibration based on the composite vibration spinor containing harmonic amplitude and physical noise. Step 63: The first pose perturbation matrix, the second pose perturbation matrix, and the third pose perturbation matrix are superimposed on the basic motion trajectory to obtain the simulated motion trajectory.

[0162] Specifically, considering that real robots do not move strictly according to an ideal trajectory during actual movement, but are inevitably affected by various disturbances caused by their own physical characteristics, in order to accurately reproduce this real dynamic observation state in synthetic data, the steps for determining the simulated motion trajectory may include the following: First, preset system velocity sensitivity coefficients and system acceleration sensitivity coefficients can be obtained from the basic motion trajectory of the virtual robot, and a first pose perturbation matrix can be generated based on the system velocity sensitivity coefficients and system acceleration sensitivity coefficients.

[0163] The basic motion trajectory refers to the ideal motion trajectory generated within the virtual robot's motion space, before any perturbations are added. For example, it can be an initial motion trajectory randomly generated within the robot's motion space for each camera placement point. Let the pose of the end effector's basic motion trajectory (reference trajectory) at time t be... The local space velocity is Spatial acceleration is .

[0164] In this embodiment, the pose perturbation is expressed mathematically using Lie algebras. To Liqun Exponential mapping Arbitrary six-dimensional pose perturbation vector All of these can be converted into specific pose transformation matrices: ; in, This represents a six-dimensional pose perturbation vector, which includes a three-dimensional translational perturbation component and a three-dimensional rotational perturbation component; for The antisymmetric matrix; Representing Lie algebra To Liqun Exponential mapping; This is the pose transformation matrix obtained through the transformation.

[0165] Here, the system velocity sensitivity coefficient and the system acceleration sensitivity coefficient are used to reflect the sensitivity of the robot system's pose deviation to motion velocity and motion acceleration, respectively.

[0166] The first pose perturbation matrix is ​​used to reflect the pose deviation information caused by velocity and acceleration perturbations, i.e., robot physical inertia and servo steady-state following error, when the real robot moves between set poses.

[0167] In one specific embodiment, a diagonal coefficient matrix is ​​constructed. , Let represent the system's sensitivity to velocity and acceleration disturbances, respectively, in matrix form as the system velocity sensitivity coefficient and the system acceleration sensitivity coefficient. The robot's physical inertia and servo steady-state following error are mapped to deviation vectors in a six-dimensional Lie algebra space, thus yielding the pose disturbance matrices for velocity and acceleration, i.e., the first pose disturbance matrix. ; in, Show The first pose perturbation matrix at time step; This is the diagonal coefficient matrix corresponding to the system velocity sensitivity coefficient; This is the diagonal coefficient matrix corresponding to the system acceleration sensitivity coefficients; Based on the trajectory of motion Local spatial velocity at a given moment; Based on the trajectory of motion Spatial acceleration at any given moment; This represents the antisymmetric matrix of the six-dimensional deviation vector.

[0168] Then, a second pose perturbation matrix can be generated by solving the delay function based on the preset inverse kinematics, and a third pose perturbation matrix corresponding to high-frequency micro-vibrations can be generated based on the composite vibration spinor containing harmonic amplitude and physical noise.

[0169] Here, the preset inverse kinematics solution delay function is used to reflect the statistical distribution information of the time delay generated by the real robot control system during inverse kinematics solution. In a specific embodiment, the robot inverse kinematics solution delay is modeled as a random variable following a normal distribution: ; in, express Solve for the delay time using inverse kinematics at time step; The mean is variance is It follows a normal distribution.

[0170] Here, the second pose perturbation matrix is ​​used to reflect the pose deviation information caused by the delay in inverse kinematics solution, which results in the robot's actual pose lagging behind the commanded pose. At the current instantaneous velocity... Under the effect, delay time Caused pose perturbation matrix That is, the second pose perturbation matrix is ​​defined as: ; in, This represents the six-dimensional pose deviation vector that the robot lags behind the current instantaneous velocity direction within the delay time. Its negative sign indicates the lag direction of the actual pose relative to the commanded pose. This represents the antisymmetric matrix of the six-dimensional deviation vector.

[0171] Here, the composite vibration spinor is used to reflect the pose tremor information of high-frequency micro-vibrations caused by reducer harmonics and cogging torque in six-degree-of-freedom space. It is composed of multi-order harmonic components and physical noise components. In a specific embodiment, the high-frequency micro-vibrations caused by reducer harmonics and cogging torque are directly modeled as pose tremors in six-degree-of-freedom space, letting... For the combined vibrational spinor: ; in, express The composite vibrational spinor at time t; Indicates the total number of harmonic orders; For the first The six-dimensional spatial amplitude vector of a harmonic, i.e., the harmonic amplitude; and The first The vibration frequency and initial phase of the first harmonic; To simulate the six-dimensional physical noise of random micro-tremors, i.e., physical noise.

[0172] Here, the third pose perturbation matrix is ​​used to reflect the pose deviation information caused by the aforementioned high-frequency micro-vibrations, and it is obtained by exponentially mapping the composite vibration spinor: ; in, express The third pose perturbation matrix at time t; The antisymmetric matrix representing the composite vibrational spinor.

[0173] Finally, the first pose perturbation matrix, the second pose perturbation matrix, and the third pose perturbation matrix can be superimposed on the basic motion trajectory to obtain the simulated motion trajectory.

[0174] In one specific embodiment, the above-mentioned perturbation factors are introduced into the basic motion trajectory to obtain the final simulated robot motion trajectory: ; in, express The pose on the simulated motion trajectory at all times, that is, the simulated motion trajectory in Position at any given moment; Based on the trajectory of motion Position at any given moment; This is the second pose perturbation matrix; This is the first pose perturbation matrix; This is the third pose perturbation matrix.

[0175] Here, the virtual robot ultimately follows The simulated motion trajectory is moved, and the virtual camera can capture and render images of the moving virtual robot at a frequency of 30 Hz, thereby achieving a physical-level accurate simulation of the dynamic observation of the real robot.

[0176] The method provided in this invention models the velocity and acceleration perturbations, inverse kinematics solution delay, and high-frequency mechanical vibrations at the end of the robot as a first pose perturbation matrix, a second pose perturbation matrix, and a third pose perturbation matrix, respectively, and superimposes them onto the basic motion trajectory to form a simulated motion trajectory. This makes the robot motion state presented by the synthesized image sequence highly restore the dynamic observation characteristics under the real working state, further eliminating the inter-domain difference between the synthetic domain and the real physical environment under dynamic observation, thereby significantly improving the realism of the synthesized pose dataset and the virtual-real transfer capability of the model trained based on the target pose dataset.

[0177] The parameter calibration device provided by the present invention will be described below. The parameter calibration device described below can be referred to in correspondence with the parameter calibration method described above.

[0178] Based on any of the above embodiments, the present invention provides a parameter calibration device. Figure 7 This is a schematic diagram of the parameter calibration device provided by the present invention, as shown below. Figure 7 As shown, the device includes: The first acquisition unit 710 is used to acquire a multi-view image sequence of the robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling time, and initial calibration parameters; The determining unit 720 is used to determine the initial pose of the end effector in each frame of the multi-view image sequence based on the kinematic feedback data. The projection unit 730 is used to project the three-dimensional model of the end effector onto the image plane of each frame image based on the initial pose, to obtain the projection contour points and the first geometric features corresponding to the projection contour points, and to extract the image edge points and the second geometric features corresponding to the image edge points from each frame image. The solving unit 740 is used to match the projected contour points with the image edge points based on the first geometric features and the second geometric features to obtain the contour reprojection error of each frame image, aggregate the contour reprojection errors of multiple frames corresponding to multiple sampling times in the multi-view image sequence as the optimization objective function, and solve the optimization objective function with the initial calibration parameters as the optimization variables to obtain the optimization calibration parameters.

[0179] The apparatus provided in this invention acquires multi-view image sequences and projects a 3D model onto an image plane to extract features, thereby overcoming the limitations of a specific calibration plate and eliminating the need for hardware devices to acquire 3D point clouds. This improves flexibility in scenarios where the end effector moves freely and avoids the loss of 3D information and calculation errors caused by point cloud voids. Furthermore, it accurately matches the projected contour points with image edge points based on the first and second geometric features, and aggregates the contour reprojection errors of multiple frames corresponding to multiple sampling times as the optimization objective function for global solution. This eliminates the inherent errors of the initial calibration parameters and the accumulated errors of the robot arm joints during motion, avoiding the inaccuracy problem caused by directly using the initial parameters and robot forward kinematics for open-loop calculations, and ensuring absolute accuracy under multiple sampling times and complex motion trajectories.

[0180] Based on any of the above embodiments, the first geometric feature includes a first normal vector; The projection unit 730 is specifically used for: Based on the initial pose, a two-dimensional mask image of the three-dimensional model of the end effector in the image plane is determined; Based on the two-dimensional mask image, a set of two-dimensional contour points is extracted as the projected contour points; Polynomial surface fitting is performed on the local neighborhood of the projected contour points to obtain the surface function; Based on the second derivative of the surface function, the Hessian matrix is ​​determined, and the eigenvector corresponding to the largest eigenvalue of the Hessian matrix is ​​determined as the first normal vector.

[0181] Based on any of the above embodiments, the second geometric feature includes a second normal vector; The projection unit 730 specifically includes: An extraction unit is used to extract the initial edge pixels and initial gradient map of each frame image; The dilation unit is used to perform a dilation operation on the two-dimensional mask to obtain an dilated two-dimensional mask. Based on the dilated two-dimensional mask, the initial edge pixels are filtered, and the initial edge pixels located in the dilated two-dimensional mask are retained as real edge pixels. The fitting unit is used to select a local gradient neighborhood in the initial gradient map with the real edge pixel as the center, and perform polynomial surface fitting based on the gradient values ​​in the local gradient neighborhood to obtain the fitted surface function. A normal vector unit is determined to determine the second normal vector corresponding to the real edge pixel based on the eigenvector of the Hessian matrix of the fitted surface function. The image edge point unit is determined by performing a second-order Taylor expansion of the fitted surface function in a local coordinate system with the real edge pixel as the origin, and taking the derivative of the expanded fitted surface function along the direction of the second normal vector. The sub-pixel offset corresponding to the derivative being zero is superimposed on the image coordinates of the real edge pixel to obtain the edge sub-pixel coordinates, and the point with the edge sub-pixel coordinates is determined as the image edge point.

[0182] Based on any of the above embodiments, the extraction unit is specifically used for: Each frame of the image is converted to grayscale to obtain a grayscale image; The gradient of the grayscale image is calculated to obtain the initial gradient map; Edge detection is performed on the initial gradient map to obtain an initial edge response map, and the pixels in the initial edge response map that meet the preset edge conditions are determined as the initial edge pixels.

[0183] Based on any of the above embodiments, the solving unit 740 specifically includes: A bidirectional search unit is used to perform a bidirectional search along the direction of the first geometric feature corresponding to the projection contour point, with the projection contour point as the center, to obtain each candidate image edge point within the bidirectional search range. A similarity unit is used to determine the similarity between the first geometric feature corresponding to each of the projected contour points and the second geometric feature corresponding to each of the candidate image edge points, and to determine the candidate image edge point with the highest similarity as the preliminary matching point corresponding to the projected contour point. A set unit is defined for determining a set of preliminary matching points based on the preliminary matching points corresponding to all the projected contour points; An error determination unit is used to determine the contour reprojection error based on the distance between the projected contour points and the preliminary matching points in the preliminary matching point set.

[0184] Based on any of the above embodiments, the error determination unit is specifically used for: The preliminary matching points in the preliminary matching point set are sorted based on the similarity to obtain the sorting result; Select preliminary matching points that meet the preset ratio conditions from the sorting results as the target matching points; The contour reprojection error is determined based on the distance between the projected contour points and the target matching points.

[0185] Based on any of the above embodiments, the initial calibration parameters include an initial hand-eye calibration matrix and an initial tool coordinate system calibration matrix; the optimized calibration parameters include an optimized hand-eye calibration matrix and an optimized tool coordinate system calibration matrix. The solving unit 740 is specifically used for: Obtain the intrinsic parameter model of the camera used to acquire the multi-view image sequence; Based on the intrinsic parameter model of the camera, a global projection mapping function is constructed to map the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix to the image plane; Based on the global projection mapping function, the contour reprojection error of the multi-frame images is constructed into the optimization objective function, and the optimization objective function is solved using the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix as optimization variables to obtain the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix.

[0186] The pose dataset construction apparatus provided by the present invention is described below. The pose dataset construction apparatus described below and the pose dataset construction method described above can be referred to in correspondence.

[0187] Based on any of the above embodiments, the present invention provides a pose dataset construction apparatus. Figure 8 This is a schematic diagram of the pose dataset construction device provided by the present invention, as shown below. Figure 8 As shown, the device includes: The second acquisition unit 810 is used to acquire image sequences in a real scene, kinematic feedback data of the robot, and optimized calibration parameters; the optimized calibration parameters are obtained based on the above parameter calibration method. A dataset unit 820 is constructed to update the target pose of the robot's end effector in each frame of the image sequence based on the optimized calibration parameters and the kinematic feedback data, and to construct a real pose dataset based on each frame of the image and the target pose corresponding to each frame of the image.

[0188] The device provided in this invention updates the pose of the end effector in each frame image by combining the optimized calibration parameters obtained by the parameter calibration method with kinematic feedback data. This makes the accuracy of pose annotation no longer limited by the inherent error of the initial calibration parameters and the cumulative error of the open-loop positive kinematics of the robotic arm. It can achieve high-precision automated annotation of the end effector pose in real-world scenarios by relying only on the image and positive kinematics results, greatly reducing the hardware dependence and manual cost of acquiring high-precision pose datasets.

[0189] Based on any of the above embodiments, a construction unit is further included, wherein the construction unit is specifically used for: In the virtual rendering space, a virtual robot equipped with an end effector model is controlled to move along a simulated motion trajectory, and the virtual robot is rendered and photographed based on a virtual camera to obtain a synthetic image sequence. Based on the pose of the end effector model in the synthesized image sequence, the synthetic pose annotation is determined, and a synthetic pose dataset is constructed based on the synthetic image sequence and the synthetic pose annotation. Based on the real pose dataset and the synthetic pose dataset, a target pose dataset is constructed.

[0190] Based on any of the above embodiments, a unit for determining a simulated motion trajectory is further included, wherein the unit for determining a simulated motion trajectory is specifically used for: In the basic motion trajectory of the virtual robot, a preset system velocity sensitivity coefficient and system acceleration sensitivity coefficient are obtained, and a first pose perturbation matrix is ​​generated based on the system velocity sensitivity coefficient and the system acceleration sensitivity coefficient. The second pose perturbation matrix is ​​generated based on the preset inverse kinematics solution of the delay function, and the third pose perturbation matrix corresponding to the high-frequency micro-vibration is generated based on the composite vibration spinor containing harmonic amplitude and physical noise. The first pose perturbation matrix, the second pose perturbation matrix, and the third pose perturbation matrix are superimposed on the basic motion trajectory to obtain the simulated motion trajectory.

[0191] Figure 9 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 9 As shown, the electronic device may include: a processor 910, a communications interface 920, a memory 930, and a communications bus 940, wherein the processor 910, the communications interface 920, and the memory 930 communicate with each other through the communications bus 940. The processor 910 can call logic instructions in the memory 930 to execute a parameter calibration method. This method includes: acquiring a multi-view image sequence of a robot equipped with an end effector during its motion, kinematic feedback data of the robot at each sampling moment, and initial calibration parameters; determining the initial pose of the end effector in each frame of the multi-view image sequence based on the kinematic feedback data; projecting the three-dimensional model of the end effector onto the image plane of each frame based on the initial pose, obtaining projected contour points and corresponding first geometric features, and extracting image edge points and corresponding second geometric features from each frame; matching the projected contour points with the image edge points based on the first and second geometric features to obtain the contour reprojection error of each frame; aggregating the contour reprojection errors of multiple frames corresponding to multiple sampling moments in the multi-view image sequence as an optimization objective function; and solving the optimization objective function with the initial calibration parameters as optimization variables to obtain optimized calibration parameters.

[0192] Furthermore, the logical instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0193] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the parameter calibration method provided by the above methods. The method includes: acquiring a multi-view image sequence of a robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling moment, and initial calibration parameters; determining the initial pose of the end effector in each frame of the multi-view image sequence based on the kinematic feedback data; projecting the three-dimensional model of the end effector onto the image plane of each frame of the image based on the initial pose to obtain projection contour points and a first geometric feature corresponding to the projection contour points, and extracting image edge points and a second geometric feature corresponding to the image edge points from each frame of the image; matching the projection contour points with the image edge points based on the first geometric feature and the second geometric feature to obtain the contour reprojection error of each frame of the image; aggregating the contour reprojection errors of multiple frames of the image corresponding to multiple sampling moments in the multi-view image sequence as an optimization objective function; and solving the optimization objective function with the initial calibration parameters as optimization variables to obtain optimized calibration parameters.

[0194] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the parameter calibration method provided by the above methods. The method includes: acquiring a multi-view image sequence of a robot equipped with an end effector during its motion, kinematic feedback data of the robot at each sampling moment, and initial calibration parameters; determining the initial pose of the end effector in each frame of the multi-view image sequence based on the kinematic feedback data; projecting a three-dimensional model of the end effector onto the image plane of each frame of the image based on the initial pose to obtain projection contour points and a first geometric feature corresponding to the projection contour points, and extracting image edge points and a second geometric feature corresponding to the image edge points from each frame of the image; matching the projection contour points with the image edge points based on the first geometric feature and the second geometric feature to obtain the contour reprojection error of each frame of the image; aggregating the contour reprojection errors of multiple frames of the image corresponding to multiple sampling moments in the multi-view image sequence as an optimization objective function; solving the optimization objective function with the initial calibration parameters as optimization variables to obtain optimized calibration parameters.

[0195] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0196] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0197] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A parameter calibration method, characterized in that, include: Acquire multi-view image sequences of the robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling time, and initial calibration parameters; Based on the kinematic feedback data, the initial pose of the end effector in each frame of the multi-view image sequence is determined; Based on the initial pose, the three-dimensional model of the end effector is projected onto the image plane of each frame image to obtain the projected contour points and the first geometric features corresponding to the projected contour points, and the image edge points and the second geometric features corresponding to the image edge points are extracted from each frame image. Based on the first geometric feature and the second geometric feature, the projected contour points are matched with the image edge points to obtain the contour reprojection error of each frame image. The contour reprojection errors of multiple frames corresponding to multiple sampling times in the multi-view image sequence are aggregated as the optimization objective function. The optimization objective function is solved with the initial calibration parameters as optimization variables to obtain the optimization calibration parameters.

2. The parameter calibration method according to claim 1, characterized in that, The first geometric feature includes a first normal vector; Based on the initial pose, the three-dimensional model of the end effector is projected onto the image plane of each frame image to obtain projected contour points and the first geometric features corresponding to the projected contour points, including: Based on the initial pose, a two-dimensional mask image of the three-dimensional model of the end effector in the image plane is determined; Based on the two-dimensional mask image, a set of two-dimensional contour points is extracted as the projected contour points; Polynomial surface fitting is performed on the local neighborhood of the projected contour points to obtain the surface function; Based on the second derivative of the surface function, the Hessian matrix is ​​determined, and the eigenvector corresponding to the largest eigenvalue of the Hessian matrix is ​​determined as the first normal vector.

3. The parameter calibration method according to claim 2, characterized in that, The second geometric feature includes a second normal vector; The step of extracting image edge points and corresponding second geometric features from each frame image includes: Extract the initial edge pixels and initial gradient map of each frame image; The two-dimensional mask is dilated to obtain an expanded two-dimensional mask. The initial edge pixels are then filtered based on the expanded two-dimensional mask, and the initial edge pixels located within the expanded two-dimensional mask are retained as real edge pixels. Centered on the real edge pixel, a local gradient neighborhood is selected in the initial gradient map, and a polynomial surface fitting is performed based on the gradient values ​​in the local gradient neighborhood to obtain the fitted surface function. Based on the eigenvectors of the Hessian matrix of the fitted surface function, the second normal vector corresponding to the real edge pixel is determined; In a local coordinate system with the real edge pixel as the origin, the fitted surface function is expanded by a second-order Taylor series, and the derivative of the expanded fitted surface function is calculated along the direction of the second normal vector. The sub-pixel offset corresponding to the derivative being zero is superimposed on the image coordinates of the real edge pixel to obtain the edge sub-pixel coordinates. The point with the edge sub-pixel coordinates is determined as the image edge point.

4. The parameter calibration method according to claim 3, characterized in that, The extraction of the initial edge pixels and initial gradient map of each frame image includes: Each frame of the image is converted to grayscale to obtain a grayscale image; The gradient of the grayscale image is calculated to obtain the initial gradient map; Edge detection is performed on the initial gradient map to obtain an initial edge response map, and the pixels in the initial edge response map that meet the preset edge conditions are determined as the initial edge pixels.

5. The parameter calibration method according to any one of claims 1 to 4, characterized in that, The step of matching the projected contour points with the image edge points based on the first and second geometric features to obtain the contour reprojection error of each frame image includes: Using the projected contour point as the center, a bidirectional search is performed along the direction of the first geometric feature corresponding to the projected contour point to obtain each candidate image edge point within the bidirectional search range. Determine the similarity between the first geometric feature corresponding to each of the projected contour points and the second geometric feature corresponding to each of the candidate image edge points, and determine the candidate image edge point with the highest similarity as the preliminary matching point corresponding to the projected contour point; Based on the preliminary matching points corresponding to all the projected contour points, a preliminary matching point set is determined; The contour reprojection error is determined based on the distance between the projected contour points and the preliminary matching points in the preliminary matching point set.

6. The parameter calibration method according to claim 5, characterized in that, Determining the contour reprojection error based on the distance between the projected contour points and the preliminary matching points in the preliminary matching point set includes: The preliminary matching points in the preliminary matching point set are sorted based on the similarity to obtain the sorting result; Select preliminary matching points that meet the preset ratio conditions from the sorting results as the target matching points; The contour reprojection error is determined based on the distance between the projected contour points and the target matching points.

7. The parameter calibration method according to claim 6, characterized in that, The initial calibration parameters include the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix; the optimized calibration parameters include the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix. The contour reprojection error of multiple frames corresponding to multiple sampling times in the multi-view image sequence is aggregated as the optimization objective function. The optimization objective function is solved using the initial calibration parameters as optimization variables to obtain the optimization calibration parameters, including: Obtain the intrinsic parameter model of the camera used to acquire the multi-view image sequence; Based on the intrinsic parameter model of the camera, a global projection mapping function is constructed to map the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix to the image plane; Based on the global projection mapping function, the contour reprojection error of the multi-frame images is constructed into the optimization objective function, and the optimization objective function is solved using the initial hand-eye calibration matrix and the initial tool coordinate system calibration matrix as optimization variables to obtain the optimized hand-eye calibration matrix and the optimized tool coordinate system calibration matrix.

8. A method for constructing a pose dataset, characterized in that, include: Acquire image sequences from real-world scenarios, robot kinematic feedback data, and optimize calibration parameters; The optimized calibration parameters are obtained based on the parameter calibration method as described in any one of claims 1 to 7; Based on the optimized calibration parameters and the kinematic feedback data, the target pose of the robot's end effector corresponding to each frame in the image sequence is updated, and a real pose dataset is constructed based on each frame and the target pose corresponding to each frame.

9. The pose dataset construction method according to claim 8, characterized in that, The step of constructing a real pose dataset based on each frame image and the target pose corresponding to each frame image, further includes: In the virtual rendering space, a virtual robot equipped with an end effector model is controlled to move along a simulated motion trajectory, and the virtual robot is rendered and photographed based on a virtual camera to obtain a synthetic image sequence. Based on the pose of the end effector model in the synthesized image sequence, the synthetic pose annotation is determined, and a synthetic pose dataset is constructed based on the synthetic image sequence and the synthetic pose annotation. Based on the real pose dataset and the synthetic pose dataset, a target pose dataset is constructed.

10. The pose dataset construction method according to claim 9, characterized in that, The steps for determining the simulated motion trajectory include: In the basic motion trajectory of the virtual robot, a preset system velocity sensitivity coefficient and system acceleration sensitivity coefficient are obtained, and a first pose perturbation matrix is ​​generated based on the system velocity sensitivity coefficient and the system acceleration sensitivity coefficient. The second pose perturbation matrix is ​​generated based on the preset inverse kinematics solution of the delay function, and the third pose perturbation matrix corresponding to the high-frequency micro-vibration is generated based on the composite vibration spinor containing harmonic amplitude and physical noise. The first pose perturbation matrix, the second pose perturbation matrix, and the third pose perturbation matrix are superimposed on the basic motion trajectory to obtain the simulated motion trajectory.

11. A parameter calibration device, characterized in that, include: The first acquisition unit is used to acquire a multi-view image sequence of the robot equipped with an end effector during its movement, kinematic feedback data of the robot at each sampling time, and initial calibration parameters; The determining unit is used to determine the initial pose of the end effector in each frame of the multi-view image sequence based on the kinematic feedback data. The projection unit is used to project the three-dimensional model of the end effector onto the image plane of each frame image based on the initial pose, to obtain the projection contour points and the first geometric features corresponding to the projection contour points, and to extract the image edge points and the second geometric features corresponding to the image edge points from each frame image. The solving unit is used to match the projected contour points with the image edge points based on the first geometric features and the second geometric features to obtain the contour reprojection error of each frame image, aggregate the contour reprojection errors of multiple frames corresponding to multiple sampling times in the multi-view image sequence as the optimization objective function, and solve the optimization objective function with the initial calibration parameters as optimization variables to obtain the optimization calibration parameters.

12. A pose dataset construction device, characterized in that, include: The second acquisition unit is used to acquire image sequences in real-world scenarios, robot kinematic feedback data, and optimized calibration parameters. The optimized calibration parameters are obtained based on the parameter calibration method as described in any one of claims 1 to 7; A dataset unit is constructed to update the target pose of the robot's end effector in each frame of the image sequence based on the optimized calibration parameters and the kinematic feedback data, and to construct a real pose dataset based on each frame of the image and the target pose corresponding to each frame of the image.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the parameter calibration method as described in any one of claims 1 to 7, or the pose dataset construction method as described in any one of claims 8 to 9.

14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the parameter calibration method as described in any one of claims 1 to 7, or the pose dataset construction method as described in any one of claims 8 to 10.

15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the parameter calibration method as described in any one of claims 1 to 7, or the pose dataset construction method as described in any one of claims 8 to 10.