Vision alignment calibration method, device, equipment and storage medium
Through the binocular vision system and optical flow estimation algorithm, the accuracy and stability problems of traditional visual alignment methods in processing high-speed moving target workpieces are solved, high-precision dynamic tracking and alignment control are achieved, and the needs of modern industrial production are met. .
Patent Information
- Application Number
- CN202410760684.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-13
AI Technical Summary
Traditional visual alignment methods face image blur and target occlusion problems when processing high-speed moving target workpieces, resulting in insufficient alignment accuracy and system stability, and cannot meet the needs of modern industrial production.
Using a binocular vision system combined with an optical flow estimation algorithm, the initial relative pose information is obtained through continuous image collection and camera calibration, and optical flow estimation and state estimation are performed to achieve efficient tracking and dynamic adjustment of the target workpiece, generate an alignment instruction set, and Perform collision prediction and motion control.
It achieves high-precision alignment tracking in high-speed movements and complex environments, improves alignment accuracy and response speed, enhances the stability and adaptability of the system, and ensures the continuity and safety of the production process.
Smart Images

Figure CN118334087B
Abstract
Description
Technical Field
[0001] The present application relates to the field of vision alignment technology, and in particular to a vision alignment calibration method, device, equipment and storage medium. Background Art
[0002] In the field of modern industrial automation and machine vision, visual alignment and calibration technology is one of the key technologies to achieve precise automated assembly and quality control. With the rapid development of industrial production, the requirements for production efficiency and manufacturing accuracy are constantly increasing. Traditional manual or simple automated alignment methods can no longer meet the needs of modern industrial production.
[0003] However, traditional visual alignment methods face multiple challenges when dealing with high-speed moving target workpieces. Image blur and target occlusion caused by high-speed motion make it difficult to extract and track the features of the target workpiece, which directly affects the alignment accuracy and system stability. In addition, traditional methods often have difficulty updating the target status in real time in a dynamic environment, resulting in insufficient response speed and adjustment accuracy during the alignment process, which cannot meet the needs of efficient automated production. Summary of the invention
[0004] The present application provides a visual alignment calibration method, device, equipment and storage medium, thereby improving the accuracy of visual alignment calibration.
[0005] A first aspect of the present application provides a visual alignment calibration method, the visual alignment calibration method comprising:
[0006] Through the binocular vision system, continuous image acquisition and camera calibration are performed on the moving target workpiece to obtain continuous image data and initial relative posture information;
[0007] Performing optical flow estimation on the moving target workpiece according to the continuous image data to obtain relative speed data of the moving target workpiece;
[0008] Performing state estimation on the relative speed data to obtain target state estimation data;
[0009] Based on the target state estimation data, feature point tracking and posture correction are performed on the initial relative posture information to obtain target relative posture information;
[0010] Performing deviation analysis and alignment instruction calculation on the target relative posture information to generate a target alignment instruction set;
[0011] The moving target workpiece is subjected to collision prediction and motion control according to the target alignment instruction set to obtain a target motion control scheme.
[0012] A second aspect of the present application provides a visual alignment calibration device, the visual alignment calibration device comprising:
[0013] The acquisition module is used to perform continuous image acquisition and camera calibration on the moving target workpiece through a binocular vision system to obtain continuous image data and initial relative posture information;
[0014] An optical flow estimation module, used for performing optical flow estimation on the moving target workpiece according to the continuous image data to obtain relative speed data of the moving target workpiece;
[0015] A state estimation module, used for performing state estimation on the relative speed data to obtain target state estimation data;
[0016] A correction module, used for performing feature point tracking and posture correction on the initial relative posture information based on the target state estimation data to obtain target relative posture information;
[0017] A calculation module, used for performing deviation analysis and alignment instruction calculation on the target relative posture information to generate a target alignment instruction set;
[0018] The control module is used to perform collision prediction and motion control on the moving target workpiece according to the target alignment instruction set to obtain a target motion control solution.
[0019] The third aspect of the present application provides a computer device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the computer device executes the above-mentioned visual alignment calibration method.
[0020] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned visual alignment calibration method.
[0021] In the technical solution provided by the present application, a binocular vision system is used in combination with an optical flow estimation algorithm to accurately track the position and speed of a moving target workpiece in real time. By efficiently tracking and analyzing the optical flow of the feature points of the target workpiece, a high-precision tracking effect can be maintained even when the target moves quickly or is slightly blocked. This precise dynamic tracking greatly improves the accuracy and response speed of alignment. Through the application of real-time state estimation and Kalman filter, the method can effectively suppress environmental noise and measurement errors and optimize the estimation of the target state. This dynamic adjustment and state estimation not only improves the system's adaptability to complex environments, but also enhances the stability and reliability of the entire alignment system. Combined with the generation of the target alignment instruction set, motion trend analysis and collision prediction are performed, and the motion strategy is adjusted in time to avoid potential collisions. This combination of prediction and control strategies not only ensures operational safety, but also ensures the continuity and efficiency of the production process, supports complex decision-making and delicate operations, and enables the system to automatically complete high-precision alignment tasks without human intervention, thereby improving the accuracy of visual alignment calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic diagram of an embodiment of the visual alignment calibration method in the embodiment of the present application;
[0023] Figure 2 It is a schematic diagram of an embodiment of a visual alignment calibration device in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The embodiments of the present application provide a method, device, equipment and storage medium for visual alignment calibration, thereby improving the accuracy of visual alignment calibration.
[0025] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the visual alignment calibration method in the embodiment of the present application includes:
[0027] Step 101: Perform continuous image acquisition and camera calibration on the moving target workpiece through a binocular vision system to obtain continuous image data and initial relative posture information;
[0028] It is understandable that the execution subject of the present application may be a visual alignment calibration device, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0029] Specifically, the binocular vision system is used to continuously collect images of the moving target workpiece. The binocular camera captures the dynamic image of the workpiece from different angles to obtain the initial image data. The resolution of the initial image data is adjusted to optimize the image processing speed and accuracy. The adjusted image data is more suitable for the requirements of the subsequent processing algorithm. The adjusted image data is converted into a color space, usually from the RGB color space to the HSV or grayscale space, to reduce the amount of calculation for subsequent processing and improve the efficiency of image analysis. The converted image data is edge detected, using an algorithm such as the Canny edge detection algorithm to identify the contour and edge of the workpiece in the image and obtain the image edge information. In order to ensure the accuracy of edge detection, the acquired image edge information is subjected to noise filtering. The filtering process can use Gaussian filtering or median filtering to reduce random noise in the image and obtain clearer and continuous image data. The image edge information in the continuous image data is least squares fitted using a nonlinear damping function to calculate the initial calibration parameters of the camera, which reflect the imaging characteristics and spatial position of the camera. In order to improve the stability of the system and the accuracy of alignment, the original sensor data of the inertial measurement unit in the binocular vision system is obtained. These sensor data include acceleration and angular velocity, etc. The raw sensor data is filtered and processed, and a low-pass filter or Kalman filter is used to weaken high-frequency noise and occasional errors to obtain more stable target sensor data. The filtered sensor data is analyzed in correlation with the initial calibration parameters to help the system more accurately determine the initial relative position information of the binocular camera relative to the moving target workpiece.
[0030] The following is a detailed introduction to the principle of alignment.
[0031] 1. Counterpoint
[0032] There are two main types of alignment: fixed target and variable target.
[0033] Fixed position target
[0034] In this mode, the alignment target position is pre-set, and the system will compare it with the target position each time, calculate the position deviation, and make adjustments until the target position is reached.
[0035] Changes in positioning targets
[0036] In this mode, the alignment target position is provided by product A, and the position of product A may be different each time. At this time, the target position of product A needs to be mapped to the coordinate system of product B to ensure accurate alignment.
[0037] 2. Calibration and alignment process
[0038] The alignment algorithm mainly realizes the calculation function, completes the calibration based on the motion feature points provided by the external device, and calculates the return offset based on the provided target position and sample position. During the calibration and alignment process, motion control and image processing are completed externally.
[0039] Calibration Process
[0040] The calibration process includes the following five steps:
[0041] Get the pixel coordinates of the Mark point at the reference position: When the platform is at the reference position, get the pixel coordinates of the Mark point.
[0042] The platform moves to the +X direction: Get the pixel coordinates of the Mark point after the move.
[0043] The platform moves to the +Y direction: Get the pixel coordinates of the Mark point after the move.
[0044] The platform rotates clockwise: Get the pixel coordinates of the Mark point after rotation.
[0045] The platform rotates counterclockwise: Get the pixel coordinates of the Mark point after rotation.
[0046] Call the SY_MD_Free_Calibration function to complete the calibration, call the SY_MD_Free_Align function to return the X / Y / R position offset, and execute motion control to complete the alignment.
[0047] 3. Alignment Results
[0048] The alignment result is obtained through the structure variable AlignData, which includes the offset in the X and Y directions and the offset in the rotation axis. The unit can be pulse or physical unit. The format is as follows:
[0049] typedef struct AlignData {
[0050] float xmm; / / X-direction offset, unit is "mm"
[0051] float ymm; / / Y-direction offset, unit is "mm"
[0052] float angle; / / Angle offset, unit degree
[0053] } AlignData;
[0054] These data are used to adjust the platform position to ensure alignment accuracy.
[0055] 4. Counterpoint Function
[0056] MicroDistPro provides a variety of alignment functions to meet different alignment requirements. The main alignment functions include:
[0057] Coordinate system based alignment function
[0058] AlignData SY_MD_Free_Align(
[0059] Point5dVec CPMA, Point5dVec CPMB,
[0060] Point2dF ORGA, Point2dF ORGB,
[0061] Point2dF SAMPA, Point2dF SAMPB,
[0062] float Xoffset, float Yoffset, float Roffset,
[0063] bool b_CW, bool b_Y );
[0065] This function returns the offset of camera A and camera B, which is calculated using calibration information, alignment origin, and sample points.
[0066] Per-camera positioning function
[0067] AlignData SY_MD_Free_Align2(
[0068] Point5dVec CPMA, Point5dVec CPMB,
[0069] Point2dF ORGA, Point2dF ORGB,
[0070] Point2dF SAMPA, Point2dF SAMPB,
[0071] Point2dF CompensateA, Point2dF CompensateB,
[0072] bool b_CW, bool b_Y );
[0074] This function adds compensation for each camera based on the standard alignment function to improve alignment accuracy.
[0075] 5. Camera Mapping Learning
[0076] Camera mapping is an important function to achieve coordinate conversion between cameras to meet the needs of alignment mode applications with changing target positions. Mapping functions such as SY_MD_StudyAtoB can learn the data mapping relationship between two cameras to ensure accuracy during alignment.
[0077] When using the MicroDistPro system, it is critical to understand and correctly use its important concepts and structures. The following are some key structures:
[0078] Motion axis information structure variable
[0079] typedef struct AxisInfo {
[0080] float DriveRatio; / / Rotation axis ratio
[0081] float DriveRadius; / / Rotation axis radius value, unit is "mm"
[0082] float Pitch; / / The thread pitch of the motion axis, in "mm"
[0083] float PPR; / / Resolution of the motion axis motor, in pulses
[0084] }AxisInfo;
[0085] This structure is used to manage the positioning of the motion axis and is the key to the system's motion control.
[0086] Five-point calibration coordinate structure variables
[0087] typedef struct Point10dF {
[0088] float ORGX; / / origin X coordinate
[0089] float ORGY; / / origin Y coordinate
[0090] float PX_X; / / coordinates after moving in X direction
[0091] float PX_Y;
[0092] float PY_X; / / coordinates after moving in the Y direction
[0093] float PY_Y;
[0094] float CWX; / / Coordinates after clockwise rotation
[0095] float CWY;
[0096] float CCWX; / / Coordinates after counterclockwise rotation
[0097] float CCWY;
[0098] }Point10dF;
[0099] This structure is used to complete self-calibration and determine the relationship between the platform and the camera.
[0100] Step 102, performing optical flow estimation on the moving target workpiece according to the continuous image data to obtain relative speed data of the moving target workpiece;
[0101] Specifically, the continuous image data is time-synchronized to ensure that the video frames obtained from the binocular vision system are aligned in time, and the aligned video frame data is obtained. Time deviation will affect the accuracy and reliability of optical flow estimation. Based on the aligned video frame data, 5 preset feature points are selected for feature point trajectory detection. These feature points are usually easy to track and visually representative positions in the image, such as the corners of the workpiece or the significant color change area. By tracking the position changes of these feature points in continuous video frames, the dynamic trajectory of each feature point is obtained, and these trajectories record the movement path of the feature points over time. The motion trajectory of each preset feature point is analyzed by the optical flow estimation algorithm to calculate its velocity field. The optical flow algorithm estimates its velocity and direction by comparing the position changes of the feature points between continuous frames, and obtains the initial velocity field data of each preset feature point. These initial velocity field data usually contain noise and possible errors, and need to be smoothed to remove outliers and noise and improve the accuracy of velocity estimation. Smoothing uses methods such as Gaussian filtering or mean filtering to balance the continuity and smoothness of the data and obtain smoothed velocity field data for each preset feature point. Error correction is performed on the smooth velocity field data of each preset feature point to obtain the corrected velocity field data of each preset feature point. Error correction usually relies on statistical methods or error detection algorithms to identify and correct abnormal points in the data to ensure that the velocity data of each feature point reflects the actual physical motion state. After the error correction is completed, the smooth velocity field data of each feature point is subjected to velocity vector analysis to calculate the velocity magnitude and direction to obtain the initial relative velocity of each preset feature point. The initial relative velocity of each preset feature point is averaged and summed to obtain the relative velocity data of the moving target workpiece. Simplify the velocity data and improve the comprehensive understanding of the dynamic characteristics of the entire workpiece.
[0102] Step 103, performing state estimation on the relative speed data to obtain target state estimation data;
[0103] It should be noted that the time series analysis of the relative velocity data reveals the time dependence and potential trends in the velocity data and obtains the time series velocity data. The time series velocity data is filtered to remove possible noise and interference. The filtering usually adopts Gaussian filtering or low-pass filtering to retain useful signals while suppressing random fluctuations to obtain denoised velocity data. The position prediction of the denoised velocity data is carried out. The future position of the workpiece is predicted through physical models or mathematical methods, such as linear prediction or regression analysis, to obtain predicted position data. Due to measurement errors and model limitations, the predicted position data often has certain prediction errors. Error analysis is performed to identify and calculate these errors to obtain error correction parameters. The error correction parameters are dynamically adjusted through the Kalman filter. The Kalman filter is an effective recursive filter that can estimate the state of the dynamic system in noisy data and dynamically update the state estimate by considering the uncertainty in the measurement and the imperfection of the prediction model. In this process, the filter continuously adjusts its estimate to minimize the prediction error and obtains the dynamically adjusted state estimate data. The dynamically adjusted state estimate data is position integrated, and the continuous velocity data is integrated to calculate the integrated position data. The position integration provides a comprehensive position estimate based on the integration of velocity and time. The integrated position data is processed by velocity integration, and the integrated velocity data is obtained by integrating the position change. The integrated position data and the integrated velocity data are integrated to construct a comprehensive dynamic model that can simultaneously reflect the position and velocity states of the target and obtain the final target state estimation data.
[0104] Step 104: performing feature point tracking and posture correction on the initial relative posture information based on the target state estimation data to obtain the target relative posture information;
[0105] Specifically, feature points of the moving target workpiece are extracted based on the target state estimation data, and the key visual features of the workpiece, such as edges, corners or significant texture areas, are identified through image processing algorithms to obtain multiple workpiece feature points. Feature point matching is performed on multiple workpiece feature points and preset feature points, and the best correspondence between feature points is ensured by using methods such as nearest neighbor search. The feature point matching process is to ensure accurate tracking of dynamic changes of the workpiece. Feature point tracking is performed on multiple feature point combinations, and tracking data for each feature point combination is generated by analyzing the position changes of feature points in continuous frames. These tracking data contain information about the movement path and speed of feature points over time. Based on the obtained feature point tracking data, the posture correction parameters are initialized, which includes setting the initial conditions and boundary values of various correction algorithms. The key to setting the initial posture correction parameters is to accurately reflect the deviation state of the current workpiece relative to the set target. In order to achieve the highest correction accuracy, the initial posture correction parameters are optimized and solved, and the parameter values are continuously adjusted through algorithms such as gradient descent or Newton-Raphson method to minimize the posture error. The optimization process takes into account various factors, such as the geometric stability of feature points and the consistency of tracking, to ensure that the best posture correction effect is achieved through mathematical and physical models. The initial relative posture information is adjusted according to the optimized target posture correction parameters, and the actual posture of the target workpiece is adjusted through the mechanical components or software instructions of the control system to obtain the target relative posture information, ensuring that the position and direction of the workpiece are aligned with the predetermined working parameters, thereby improving the operating accuracy and efficiency of the entire system.
[0106] Initialize the initial pose correction parameters in groups and create an initial parameter group containing multiple first pose correction parameters. The initial group includes various parameter settings that may be required for pose correction to ensure that optimization starts from a wide search space and improves the probability of finding the global optimal solution. Each parameter instance represents a possible pose correction configuration. By evaluating the performance of each parameter configuration in the actual pose correction task, the fitness of multiple first pose correction parameters is calculated. The fitness calculation may involve applying each parameter configuration to a predetermined test scenario and measuring the accuracy and efficiency of its correction effect. The fitness value reflects the adaptability of each parameter configuration to the current correction task. According to the calculated fitness value, the multiple first pose correction parameters are divided into groups to form multiple target parameter groups. The grouping process classifies the parameter groups according to the fitness value. The grouping strategy helps to concentrate optimization resources and improve the convergence speed and efficiency of the algorithm. The parameters of the target parameter group are updated, and new parameter variations and combinations are introduced through genetic algorithms, particle swarm optimization or other heuristic search methods to generate multiple second pose correction parameters. The mutation and crossover operations introduced during the update process are designed to explore new possibilities while retaining the parameter features that have been proven to be effective, thereby gradually approaching the optimal solution. By adjusting and re-evaluating the performance of each parameter configuration, the updated multiple second pose correction parameters are optimized to obtain the final pose correction parameters. This set of parameters can provide the highest correction performance and the best operating efficiency in practical applications.
[0107] Step 105: performing deviation analysis and alignment instruction calculation on the target relative posture information to generate a target alignment instruction set;
[0108] Specifically, the relative position information of the target is analyzed for deviations and the alignment instructions are calculated, and an accurate alignment instruction set is generated based on the difference between the detected target position and the predetermined position. The current position information of the target, including position, angle, and possible spatial offset, is obtained through image processing and analysis technology. The actual position data is compared with the set target position to determine the specific type and size of the deviation. The alignment system needs to use these deviation data to calculate the necessary adjustment measures, based on simple linear models or more complex control theory models, such as PID control or advanced adaptive control strategies, to ensure that it can effectively respond to various types of deviations. The algorithm will take into account multiple factors, such as the dynamic characteristics of the machine, possible physical limitations, and the requirements for speed and accuracy, to generate the most appropriate adjustment instructions for each deviation situation. The generated alignment instructions will specifically indicate the movements and adjustments that the mechanical system needs to perform, including direction, distance, speed, and any necessary angle adjustments. These instruction sets will be encoded in a format that the machine can understand and execute. When calculating these instructions, the safety and reliability of execution are considered to ensure that the operating limits of mechanical components are not exceeded or unnecessary mechanical wear is caused during the adjustment process. The alignment instruction set will be input into the machine control system, which will convert the instructions into specific mechanical actions.
[0109] Step 106: perform collision prediction and motion control on the moving target workpiece according to the target alignment instruction set to obtain a target motion control solution.
[0110] Specifically, the motion trend analysis and collision prediction of the mobile target workpiece are performed according to the target alignment instruction set. This includes a detailed evaluation of the workpiece's intended motion path, as well as a comprehensive consideration of the relative position and expected dynamics of the path to other objects and obstacles in the work environment. In this process, various encounters and approaches that may occur during the execution of these motion instructions are simulated and predicted to generate collision risk data. These data reflect the severity and probability of collision risks that may be encountered at different operation stages. The collision risk data is input into the collision avoidance strategy analysis to avoid potential collisions by adjusting motion parameters or introducing new motion control instructions. In this process, a variety of measures may be considered, such as deceleration, changing motion trajectory, or adjusting the operation sequence. Through the system's strategy analysis, collision avoidance control instructions are generated, which can respond to the identified specific risks and adapt to possible unforeseen situations, thereby improving the system's adaptability to complex dynamic environments. The mobile target workpiece is motion controlled according to the generated collision avoidance control instructions. This includes transmitting the control instructions to the machine control system in real time, and the system accurately executes these instructions to adjust the workpiece's movement speed, direction, and operation sequence to obtain the target motion control solution.
[0111] In the embodiment of the present application, a binocular vision system is used in combination with an optical flow estimation algorithm to accurately track the position and speed of a moving target workpiece in real time. By efficiently tracking and analyzing the optical flow of the feature points of the target workpiece, a high-precision tracking effect can be maintained even when the target moves quickly or is slightly blocked. This precise dynamic tracking greatly improves the accuracy and response speed of alignment. Through the application of real-time state estimation and Kalman filter, the method can effectively suppress environmental noise and measurement errors and optimize the estimation of the target state. This dynamic adjustment and state estimation not only improves the system's adaptability to complex environments, but also enhances the stability and reliability of the entire alignment system. Combined with the generation of the target alignment instruction set, motion trend analysis and collision prediction are performed, and the motion strategy is adjusted in time to avoid potential collisions. This combination of prediction and control strategies not only ensures operational safety, but also ensures the continuity and efficiency of the production process, supports complex decision-making and delicate operations, and enables the system to automatically complete high-precision alignment tasks without human intervention, thereby improving the accuracy of visual alignment calibration.
[0112] In a specific embodiment, the process of executing step 101 may specifically include the following steps:
[0113] (1) Continuously capture images of the moving target workpiece through a binocular vision system to obtain initial image data;
[0114] (2) adjusting the resolution of the initial image data to obtain adjusted image data;
[0115] (3) performing color space conversion on the adjusted image data to obtain converted image data;
[0116] (4) Performing edge detection on the converted image data to obtain image edge information, and performing noise filtering on the image edge information to obtain continuous image data;
[0117] (5) Using a nonlinear damping function, perform least squares fitting on the image edge information in the continuous image data to obtain the initial calibration parameters of the camera;
[0118] (6) Obtaining the raw sensor data of the inertial measurement unit in the binocular vision system, and filtering the raw sensor data to obtain target sensor data;
[0119] (7) Analyze the correlation between the target sensor data and the initial calibration parameters to obtain the initial relative pose information.
[0120] Specifically, the binocular vision system uses two cameras to continuously capture images of moving target workpieces from different perspectives, capture depth information from stereo vision, and increase the perception of complex scenes. The image sequence is captured by a high-speed camera at a fixed frame rate to obtain the initial image data. The resolution of the initial image data is adjusted to optimize the computational efficiency and accuracy of the subsequent image processing process. By adjusting the image resolution, the computational burden during data processing is reduced, and unnecessary details are removed to focus on key visual information. The adjusted image data is converted to a color space to convert the RGB color mode into a format more suitable for processing, such as grayscale or HSV color space. The conversion of color space helps to highlight certain features in the image. For example, in HSV space, it is easier to separate the foreground and background of the image based on color saturation and brightness. By applying algorithms such as the Canny edge detector, the converted image data is edge detected to identify the outline of the object in the image. The detected edge information is subjected to noise filtering. Various filtering techniques, such as Gaussian blur or median filtering, are used to remove false edges and enhance real edge information. The image edge information in the continuous image data is fitted by least squares using a nonlinear damping function. Through mathematical optimization techniques, a set of parameters is found that best describe the geometry and position of the edge in the image. For example, the fitting process may determine the best mathematical representation of the edge curve, which is used to calculate the initial calibration parameters of the camera, which helps to accurately measure and reconstruct the position of the object in three-dimensional space. The raw sensor data of the inertial measurement unit in the binocular vision system, such as acceleration and angular velocity, are obtained. These data usually contain noise, which is filtered using a low-pass filter or a Kalman filter to provide clearer and more reliable motion data. The filtered target sensor data is combined with the initial calibration parameters of the camera, and the initial relative pose information of the workpiece in space is finally obtained through correlation analysis.
[0121] In a specific embodiment, the process of executing step 102 may specifically include the following steps:
[0122] (1) Perform time synchronization processing on continuous image data to obtain aligned video frame data;
[0123] (2) Based on the five preset feature points, feature point trajectory detection is performed on the aligned video frame data to obtain the feature point motion trajectory of each preset feature point;
[0124] (3) The velocity field of the feature point motion trajectory of each preset feature point is estimated by using the optical flow estimation algorithm to obtain the initial velocity field data of each preset feature point;
[0125] (4) Smoothing the initial velocity field data of each preset feature point to obtain smoothed velocity field data of each preset feature point;
[0126] (5) performing error correction on the smoothed velocity field data of each preset feature point to obtain the corrected velocity field data of each preset feature point;
[0127] (6) Performing velocity vector analysis on the corrected velocity field data of each preset feature point to obtain the initial relative velocity of each preset feature point;
[0128] (7) The initial relative velocity of each preset feature point is averaged and summed to obtain the relative velocity data of the moving target workpiece.
[0129] Specifically, the continuous image data is time-synchronized, and aligned video frame data is obtained by adjusting the timestamp of each camera or using an external synchronization signal. Based on the aligned video frame data, five preset feature points are selected for tracking. These feature points may be obvious marks on the workpiece, such as screw holes, color changes, or any other unique visual elements. The detection of feature point trajectories is usually implemented by a feature point tracking algorithm, such as a KLT tracker, which can efficiently track the movement of the same feature point in multiple consecutive frames to obtain its accurate motion trajectory. The velocity field of the feature point motion trajectory of each preset feature point is estimated by an optical flow estimation algorithm. The optical flow method calculates the motion speed and direction of each pixel by analyzing the pixel intensity changes of the object in the image sequence, thereby deriving the velocity vector of the entire feature point. The initial velocity field data of each preset feature point is smoothed. Through digital filtering techniques such as Gaussian blur or mean filtering, the error is weakened or eliminated to ensure the authenticity and reliability of the velocity data. Error correction is performed on the smoothed velocity field data of each preset feature point. Error correction usually involves using statistical methods or optimization techniques to refine velocity estimates, such as adjusting optical flow parameters through the least squares method, or using machine learning models to predict and correct possible deviations to improve the accuracy of feature point velocity data. Velocity vector analysis is performed on the corrected velocity field data of each preset feature point, the velocity field data is converted into the corresponding velocity vector, and the initial relative velocity of each feature point is calculated. The initial relative velocities of all feature points are averaged and summed to obtain the relative velocity data of the entire moving target workpiece, reflecting the overall dynamic behavior of the target workpiece.
[0130] The 5 preset feature points in this embodiment include the traditional 5-point calibration method and the 5-point calibration method with grid calibration. The test purpose is to use XYR (R is the rotation axis), the rotation axis is the DD motor, the XY platform and the GMT alignment platform to perform an alignment accuracy, and test the angle and XY accuracy. The test process is to move the target workpiece, and after one alignment, calculate the distance difference between the target and the reference origin. Angle, X, and Y are the calculated offsets, and the left point distance and the right point distance are the distances between the target and the origin calculated after alignment.
[0131] Among them, Table 1 and Table 2 are the test results of DD motor:
[0132] Table 1 shows the accuracy of the DD motor after the X-axis, Y-axis and rotation axis are moved a certain amount in the test. The test data of the traditional 5-point calibration method is shown in the following table:
[0133] Table 1:
[0134]
[0135] Table 2 shows the accuracy of the DD motor after the X-axis, Y-axis and rotation axis are moved a certain amount in the test. The test data of the 5-point calibration method with grid calibration is shown in the following table:
[0136] Table 2:
[0137]
[0138] Table 3 and Table 4 are the test results of XY platform:
[0139] Table 3 shows the XY platform's individual movement angles and the corresponding angle responses. The test data of the traditional 5-point calibration method is shown in the following table:
[0140] Table 3:
[0141]
[0142] Table 4 shows the XY platform's individual movement angles and the corresponding angle responses. The test data of the 5-point calibration method with grid calibration is shown in the following table:
[0143] Table 4:
[0144]
[0145] Tables 5 to 8 show the test results of the GMT alignment platform as follows:
[0146] Table 5 shows the accuracy after one-time positioning when the X-axis, Y-axis and rotation axis are all moved by a certain amount. The test data of the traditional 5-point calibration method is shown in the following table:
[0147] Table 5:
[0148]
[0149] Table 6 shows the accuracy of one-time positioning when the X-axis, Y-axis and rotation axis are all moved a certain amount. The test data of the 5-point calibration method with grid calibration is shown in the following table:
[0150] Table 6:
[0151]
[0152] Table 7 shows the response of the corresponding angle when the angle is moved separately. The test data of the traditional 5-point calibration method is shown in the following table:
[0153] Table 7:
[0154]
[0155] Table 8 shows the response of the corresponding angle when the angle is moved separately. The test data of the 5-point calibration method with grid calibration is shown in the following table:
[0156] Table 8:
[0157]
[0158] In a specific embodiment, the process of executing step 103 may specifically include the following steps:
[0159] (1) Perform time series analysis on the relative speed data to obtain time series speed data, and perform filtering on the time series speed data to obtain denoised speed data;
[0160] (2) Predicting the position of the denoised velocity data to obtain predicted position data, and performing error analysis on the predicted position data to obtain error correction parameters;
[0161] (3) Dynamically adjust the error correction parameters through the Kalman filter to obtain dynamically adjusted state estimation data;
[0162] (4) performing position integration on the dynamically adjusted state estimation data to obtain integrated position data, and performing velocity integration on the integrated position data to obtain integrated velocity data;
[0163] (5) Integrate the integrated position data and the integrated velocity data to obtain the target state estimation data.
[0164] Specifically, the relative speed data is processed by time series analysis technology, and the trend of speed data over time is analyzed by statistical methods. Time series analysis helps to identify periodic changes, trends and any potential outliers in the data, and better understand the motion characteristics of the target object. The time series speed data is filtered, and digital filters such as low-pass filters or Gaussian filters are used to remove possible high-frequency noise. For example, when monitoring a fast-moving vehicle, the speed signal obtained from the sensor may be disturbed by engine vibration or uneven roads. Filtering helps to eliminate these interferences and provide more accurate speed readings. Position prediction is performed on the denoised speed data, and the future position is predicted based on the physical motion model or machine learning algorithm. Linear prediction models such as linear regression or neural networks are used to infer future position changes based on historical speed data. After the prediction is completed, the predicted position data is error analyzed, and the prediction error is identified and calculated by comparing the predicted value with the known actual position data, and the error correction parameters are generated. The error correction parameters are dynamically adjusted through the Kalman filter to obtain dynamically adjusted state estimation data. Kalman filtering is an effective recursive filtering technology used for state estimation in noisy dynamic systems. The Kalman filter combines the prediction model with the actual measurement data, dynamically adjusts the prediction model to minimize the prediction error by calculating the covariance of the prediction error. The dynamic adjustment is continuous, and as each new measurement data is added, the filter continuously updates the state estimate to ensure high-precision and high-reliability output. The dynamically adjusted state estimate data is position-integrated, and the position change is calculated based on the velocity data to obtain the integrated position data. Position integration is achieved through numerical integration methods such as the trapezoidal rule or the Simpson rule to convert the velocity data into position data. At the same time, the position data is processed by velocity integration to estimate the new velocity state and maintain the continuity and integrity of the state estimate. The integrated position and velocity data are integrated to obtain the final target state estimate data. These data combine the position and velocity information of the target and provide a comprehensive dynamic description of the system.
[0165] In a specific embodiment, the process of executing step 104 may specifically include the following steps:
[0166] (1) Extract feature points of the moving target workpiece based on the target state estimation data to obtain multiple workpiece feature points;
[0167] (2) Matching multiple workpiece feature points with preset feature points to obtain multiple feature point combinations;
[0168] (3) Tracking multiple feature point combinations to obtain feature point tracking data for each feature point combination;
[0169] (4) Initializing the posture correction parameters of the initial relative posture information based on the feature point tracking data of each feature point combination to obtain the initial posture correction parameters;
[0170] (5) Optimize the initial posture correction parameters to obtain the target posture correction parameters;
[0171] (6) Perform posture correction on the initial relative posture information according to the target posture correction parameters to obtain the target relative posture information.
[0172] Specifically, feature points of the moving target workpiece are extracted based on the target state estimation data. The target state estimation data provides important information about the current position and orientation of the workpiece, and assists in identifying those feature points on the workpiece that are easy to detect and are critical to posture correction. These feature points may include corners, edges, texture features, etc. of the workpiece. For example, in the operation of a robot arm for automatic assembly, screw holes or specific marks on the assembly parts are selected as feature points, which are easy to identify and accurately located in the visual system. The extracted workpiece feature points are matched with preset feature points. The preset feature points are feature point positions based on ideal or expected postures. The feature point matching process uses various algorithms, such as distance-based matching or complex models based on machine learning, to ensure the best correspondence between the feature points detected in the actual image and the preset feature points. The matched feature point combinations are continuously tracked. Feature point tracking usually relies on optical flow algorithms or other tracking techniques to track the motion trajectory of the same feature point in multiple frames of images. This tracking not only provides feature point movement data over time, but also captures small displacements caused by external factors such as machine vibration or operating errors. According to the tracking data of each feature point combination, the posture correction parameters are initialized. Convert the tracked motion data into parameters that can be used to adjust the machine operation. The initialization of the pose correction parameters is to set the initial correction baseline, and these parameters are subsequently adjusted by the algorithm to achieve the best correction effect. Optimize the initial pose correction parameters. For example, use least squares, gradient descent, or other optimization techniques to find the parameter set that minimizes the prediction error. Adjust each parameter to ensure that the final machine operation can accurately align with the preset pose. Perform pose correction on the initial relative pose information based on the optimized target pose correction parameters. The implementation of pose correction may involve the movement of physical machine parts, such as adjusting the angle or position of the robot arm to ensure that the final position of the workpiece is strictly consistent with the design specifications.
[0173] In a specific embodiment, the execution step optimizes and solves the initial posture correction parameters to obtain the target posture correction parameters, which may specifically include the following steps:
[0174] (1) Initializing the parameter group of the initial posture correction parameters to obtain an initial parameter group, where the initial parameter group includes a plurality of first posture correction parameters;
[0175] (2) Calculate the fitness of multiple first pose correction parameters to obtain the fitness value of each first pose correction parameter;
[0176] (3) Dividing multiple first pose correction parameters into parameter groups according to the fitness values to obtain multiple target parameter groups;
[0177] (4) updating parameters of multiple target parameter groups to generate multiple second pose correction parameters;
[0178] (5) Optimize the parameters of the multiple second posture correction parameters to obtain the target posture correction parameters.
[0179] Specifically, the initial pose correction parameters are initialized with a parameter group, and an initial parameter group containing multiple first pose correction parameters is created, each parameter being a possible solution to the pose correction algorithm. A grid is arranged in the multidimensional parameter space, and the pose correction effect corresponding to each grid point is explored. For example, in a job involving high-precision laser cutting, the pose correction parameters of the machine may include the angle, focal length, and power settings of the laser. The initial parameter group may include different combinations of all these parameters, such as 30 points with angles from 0 to 180 degrees, 15 points with focal lengths from 5 mm to 20 mm, and 10 points with powers from 10 to 100 watts. Each combination represents a possible laser operation configuration for cutting different materials or metals of different thicknesses. Fitness calculations are performed on multiple first pose correction parameters. The effectiveness of each pose correction parameter combination in actual operation is evaluated. The fitness calculation may be based on multiple indicators, such as the accuracy of pose correction, the speed of operation, and the stability of completing the task. For example, the fitness evaluation may be based on the accuracy of the cut and the smoothness of the edge, as well as the energy efficiency of the laser configuration during the actual cutting process. Based on the fitness value, the parameter population is divided. The parameter combinations with high fitness are grouped together, and those with low fitness may be excluded or used for further analysis to improve their performance. The target parameter population is updated, and the parameter values are adjusted using genetic algorithms, simulated annealing, or other optimization algorithms to find new possible optimal solutions. These algorithms make the exploration of the parameter space more comprehensive and more likely to find a global optimal solution by introducing randomness and iterative search. For example, the parameter update may include fine-tuning the laser angle or focal length based on the current best parameter settings to test whether there is a possibility of further improving the cutting quality. The second pose correction parameters are optimized to determine the final pose correction parameters. The optimization solution is based on testing, evaluating the performance of each parameter combination, and selecting those parameters that can most effectively achieve the predetermined goals.
[0180] In a specific embodiment, the process of executing step 106 may specifically include the following steps:
[0181] (1) Perform motion trend analysis and collision prediction on the moving target workpiece according to the target alignment instruction set to obtain collision risk data;
[0182] (2) Analyze the collision risk data and generate collision avoidance control instructions;
[0183] (3) The moving target workpiece is motion controlled according to the anti-collision control instruction to obtain the target motion control plan.
[0184] Specifically, the motion trend analysis of the moving target workpiece is performed according to the target alignment instruction set. The motion data about each robot and workpiece are collected, including their speed, path and expected motion trajectory. Through algorithms such as kinematic analysis and dynamic simulation, the position of each entity in the future period of time is predicted. The collision prediction module will use this data to evaluate all possible encounter situations and generate collision risk data. For example, if the predetermined trajectory of a robot arm brings it into the path of another moving robot arm, the system will mark this situation as a high collision risk. The collision risk data is analyzed to develop an effective collision avoidance strategy. Various potential adjustment measures are considered, such as changing speed, adjusting path or temporarily stopping certain actions. The collision avoidance strategy analysis is based on the severity of the collision risk, and the practical feasibility of implementing these strategies and the impact on production efficiency need to be considered. After the strategy analysis is completed, multiple collision avoidance control instructions are generated, which specifically instruct how to adjust the operation of the robot arm to avoid the predicted collision. For example, the system may instruct a robot arm to slow down when approaching another robot or workpiece, or slightly adjust its path to bypass potential obstacles. The moving target workpiece is motion controlled according to the collision avoidance control instructions to obtain the final target motion control plan. The control system executes all adjustment instructions. This includes dynamically adjusting paths, changing speeds, and pausing operations, all without disrupting the overall production process. For example, if a robot arm changes its path to avoid another robot, the system needs to ensure that this adjustment does not affect other operations on the assembly line or delay production.
[0185] The visual alignment calibration method in the embodiment of the present application is described above. The visual alignment calibration device in the embodiment of the present application is described below. Figure 2 In the embodiment of the present application, one embodiment of the visual alignment calibration device includes:
[0186] The acquisition module 201 is used to perform continuous image acquisition and camera calibration on the moving target workpiece through a binocular vision system to obtain continuous image data and initial relative posture information;
[0187] An optical flow estimation module 202 is used to perform optical flow estimation on a moving target workpiece according to continuous image data to obtain relative speed data of the moving target workpiece;
[0188] The state estimation module 203 is used to perform state estimation on the relative speed data to obtain target state estimation data;
[0189] The correction module 204 is used to perform feature point tracking and posture correction on the initial relative posture information based on the target state estimation data to obtain the target relative posture information;
[0190] The calculation module 205 is used to perform deviation analysis and alignment instruction calculation on the target relative posture information to generate a target alignment instruction set;
[0191] The control module 206 is used to perform collision prediction and motion control on the moving target workpiece according to the target alignment instruction set to obtain a target motion control solution.
[0192] Through the cooperation of the above components, the binocular vision system combined with the optical flow estimation algorithm can accurately track the position and speed of the moving target workpiece in real time. By efficiently tracking the feature points of the target workpiece and analyzing the optical flow, high-precision tracking can be maintained even when the target moves quickly or is slightly blocked. This precise dynamic tracking greatly improves the accuracy and response speed of the alignment. Through the application of real-time state estimation and Kalman filter, this method can effectively suppress environmental noise and measurement errors and optimize the estimation of the target state. This dynamic adjustment and state estimation not only improves the system's adaptability to complex environments, but also enhances the stability and reliability of the entire alignment system. Combined with the generation of the target alignment instruction set, motion trend analysis and collision prediction are performed, and the motion strategy is adjusted in time to avoid potential collisions. This combination of prediction and control strategies not only ensures operational safety, but also ensures the continuity and efficiency of the production process, supports complex decision-making and delicate operations, and enables the system to automatically complete high-precision alignment tasks without human intervention, thereby improving the accuracy of visual alignment calibration.
[0193] The present application also provides a computer device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the visual alignment calibration method in the above-mentioned embodiments.
[0194] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the visual alignment calibration method.
[0195] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0196] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0197] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A visual alignment calibration method, characterized in that: The visual alignment calibration method comprises: Through the binocular vision system, continuous image acquisition and camera calibration are performed on the moving target workpiece to obtain continuous image data and initial relative posture information; Performing optical flow estimation on the moving target workpiece according to the continuous image data to obtain relative speed data of the moving target workpiece; Performing state estimation on the relative speed data to obtain target state estimation data; specifically comprising: performing time series analysis on the relative speed data to obtain time series speed data, and filtering the time series speed data to obtain denoised speed data; performing position prediction on the denoised speed data to obtain predicted position data, and performing error analysis on the predicted position data to obtain error correction parameters; dynamically adjusting the error correction parameters through a Kalman filter to obtain dynamically adjusted state estimation data; performing position integration on the dynamically adjusted state estimation data to obtain integrated position data, and performing speed integration on the integrated position data to obtain integrated speed data; integrating the integrated position data and the integrated speed data to obtain target state estimation data; Based on the target state estimation data, the initial relative posture information is subjected to feature point tracking and posture correction to obtain the target relative posture information; specifically comprising: extracting feature points of the mobile target workpiece based on the target state estimation data to obtain a plurality of workpiece feature points; matching the plurality of workpiece feature points with preset feature points to obtain a plurality of feature point combinations; tracking the plurality of feature point combinations to obtain feature point tracking data for each feature point combination; initializing posture correction parameters for the initial relative posture information according to the feature point tracking data for each feature point combination to obtain initial posture correction parameters; and performing feature point matching on the initial posture correction parameters. Initialize a parameter group to obtain an initial parameter group, wherein the initial parameter group includes a plurality of first pose correction parameters; perform fitness calculation on the plurality of first pose correction parameters to obtain a fitness value of each first pose correction parameter; divide the plurality of first pose correction parameters into parameter groups according to the fitness values to obtain a plurality of target parameter groups; perform parameter update on the plurality of target parameter groups to generate a plurality of second pose correction parameters; perform parameter optimization on the plurality of second pose correction parameters to obtain target pose correction parameters; perform pose correction on the initial relative pose information according to the target pose correction parameters to obtain target relative pose information; Performing deviation analysis and alignment instruction calculation on the target relative posture information to generate a target alignment instruction set; The moving target workpiece is subjected to collision prediction and motion control according to the target alignment instruction set to obtain a target motion control scheme.
2. The visual alignment calibration method according to claim 1, characterized in that: The method of performing continuous image acquisition and camera calibration on the moving target workpiece through the binocular vision system to obtain continuous image data and initial relative posture information includes: Continuously collect images of the moving target workpiece through a binocular vision system to obtain initial image data; Adjusting the resolution of the initial image data to obtain adjusted image data; Performing color space conversion on the adjusted image data to obtain converted image data; Performing edge detection on the converted image data to obtain image edge information, and performing noise filtering on the image edge information to obtain continuous image data; Using a nonlinear damping function, performing least square fitting on the image edge information in the continuous image data to obtain initial calibration parameters of the camera; Acquire raw sensor data of an inertial measurement unit in the binocular vision system, and perform filtering processing on the raw sensor data to obtain target sensor data; The target sensing data and the initial calibration parameters are analyzed for correlation to obtain initial relative position information.
3. The visual alignment calibration method according to claim 1, characterized in that: The step of performing optical flow estimation on the moving target workpiece according to the continuous image data to obtain relative speed data of the moving target workpiece includes: Performing time synchronization processing on the continuous image data to obtain aligned video frame data; Based on 5 preset feature points, feature point trajectory detection is performed on the aligned video frame data to obtain a feature point motion trajectory of each preset feature point; The velocity field of the feature point motion trajectory of each preset feature point is estimated by an optical flow estimation algorithm to obtain the initial velocity field data of each preset feature point; Smoothing the initial velocity field data of each preset feature point to obtain smoothed velocity field data of each preset feature point; Performing error correction on the smoothed velocity field data of each preset feature point to obtain corrected velocity field data of each preset feature point; Performing velocity vector analysis on the corrected velocity field data of each preset feature point to obtain the initial relative velocity of each preset feature point; An average sum operation is performed on the initial relative speed of each preset feature point to obtain relative speed data of the moving target workpiece.
4. The visual alignment calibration method according to claim 1, characterized in that: The step of performing collision prediction and motion control on the moving target workpiece according to the target alignment instruction set to obtain a target motion control scheme includes: Performing motion trend analysis and collision prediction on the moving target workpiece according to the target alignment instruction set to obtain collision risk data; Performing anti-collision strategy analysis on the collision risk data and generating anti-collision control instructions; The moving target workpiece is motion controlled according to the anti-collision control instruction to obtain a target motion control solution.
5. A visual alignment calibration device, characterized in that: The visual alignment calibration device comprises: The acquisition module is used to perform continuous image acquisition and camera calibration on the moving target workpiece through a binocular vision system to obtain continuous image data and initial relative posture information; An optical flow estimation module, used for performing optical flow estimation on the moving target workpiece according to the continuous image data to obtain relative speed data of the moving target workpiece; A state estimation module is used to perform state estimation on the relative speed data to obtain target state estimation data; specifically comprising: performing time series analysis on the relative speed data to obtain time series speed data, and filtering the time series speed data to obtain denoised speed data; performing position prediction on the denoised speed data to obtain predicted position data, and performing error analysis on the predicted position data to obtain error correction parameters; dynamically adjusting the error correction parameters through a Kalman filter to obtain dynamically adjusted state estimation data; performing position integration on the dynamically adjusted state estimation data to obtain integrated position data, and performing speed integration processing on the integrated position data to obtain integrated speed data; integrating the integrated position data and the integrated speed data to obtain target state estimation data; The correction module is used to perform feature point tracking and posture correction on the initial relative posture information based on the target state estimation data to obtain the target relative posture information; specifically comprising: extracting feature points of the mobile target workpiece based on the target state estimation data to obtain a plurality of workpiece feature points; performing feature point matching on the plurality of workpiece feature points and preset feature points to obtain a plurality of feature point combinations; performing feature point tracking on the plurality of feature point combinations to obtain feature point tracking data for each feature point combination; initializing posture correction parameters for the initial relative posture information according to the feature point tracking data for each feature point combination to obtain initial posture correction parameters; matching the initial posture correction parameters to the initial posture correction parameters; matching the initial posture correction parameters to the initial posture correction parameters; matching the initial posture correction parameters to the initial posture correction parameters; matching the initial posture correction parameters to the initial posture correction parameters. Initializing a parameter group with positive parameters to obtain an initial parameter group, wherein the initial parameter group includes a plurality of first pose correction parameters; performing fitness calculation on the plurality of first pose correction parameters to obtain a fitness value of each first pose correction parameter; dividing the plurality of first pose correction parameters into parameter groups according to the fitness values to obtain a plurality of target parameter groups; performing parameter update on the plurality of target parameter groups to generate a plurality of second pose correction parameters; performing parameter optimization on the plurality of second pose correction parameters to obtain target pose correction parameters; performing pose correction on the initial relative pose information according to the target pose correction parameters to obtain target relative pose information; A calculation module, used for performing deviation analysis and alignment instruction calculation on the target relative posture information to generate a target alignment instruction set; The control module is used to perform collision prediction and motion control on the moving target workpiece according to the target alignment instruction set to obtain a target motion control solution.
6. A computer device, characterized in that: The computer device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the computer device to execute the vision alignment calibration method according to any one of claims 1 to 4.
7. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the visual alignment calibration method as described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Visual positioning method and device, equipment and storage medium
CN112884840A
Visual positioning method and device, server and computer readable storage medium
CN113920192A
Binocular vision inertial odometer method using road sign point offset pose correction
CN116342661A
Visual alignment calibration method of UVW alignment platform and related device
CN117419749A
Nursing robot distance measurement and obstacle avoidance method based on pose self-adaptive inverse perspective transformation
CN117621103A
