Industrial robot repeatability accuracy deep learning prediction detection method and system
By fusing cyclic regression benchmark correction and deep learning prediction, the migration trend and discrete state of the industrial robot's positioning center are identified, and a predictive positioning error domain is generated. This solves the problems of inaccuracy in repeatability accuracy detection and insufficient number of detections in existing technologies, and achieves efficient repeatability accuracy detection.
Patent Information
- Application Number
- CN202611345413.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-01
- Publication Date
- 2026-11-24
AI Technical Summary
Existing methods for detecting the repeatability of industrial robots are unable to distinguish between the overall pose reference migration and the robot's own repeatability discreteness, and cannot effectively utilize the temporal evolution relationship between continuous detection action cycles, resulting in inaccurate detection results and insufficient dynamic adjustment of the number of detections.
By fusing cyclic regression benchmark correction with time-series prediction, deep learning is used to identify the migration trend of the localization center and the discrete state of repeated localization, generating a prediction localization error domain, dynamically adjusting the number of verification detections, and forming a closed-loop detection mechanism of prediction, verification and model correction.
It enables accurate prediction and dynamic adjustment of the repeatability of industrial robot positioning, improving the effectiveness and efficiency of detection and reducing redundant detection.
Smart Images

Figure CN123156602A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial robot performance testing technology, and in particular to a deep learning prediction testing method and system for repeatability positioning accuracy of industrial robots. Background Technology
[0002] Industrial robots are widely used in welding, assembly, handling and precision machining. Their repeatability directly affects the consistency of position when the end effector reaches the target pose multiple times, and is an important indicator for evaluating the performance of industrial robots. Current repeatability testing usually controls the robot to reach the target pose multiple times according to a fixed program, and performs statistical evaluation based on the dispersion of each measured pose relative to the target pose or average pose.
[0003] During continuous operation, industrial robots are affected by factors such as joint transmission backlash, servo response, load changes, temperature rise, and measurement reference drift. The positioning center of each detection action cycle may gradually migrate during operation, and the dispersion of positioning points around the positioning center may also change. Traditional methods usually treat the pose data obtained from different detection action cycles as the same statistical population, making it difficult to distinguish between the overall pose reference migration and the robot's own repeated positioning dispersion. Furthermore, they mainly rely on completed detection data for post-event evaluation and cannot effectively utilize the temporal evolution relationship between continuous detection action cycles to predict the range of possible subsequent positioning errors.
[0004] Existing detection methods typically employ a pre-fixed number of repetition cycles, making it difficult to dynamically adjust the number of verification cycles based on the actual error state. This can lead to insufficient verification when approaching the allowable error boundary, while redundant detection can easily occur when the positioning state is stable. Therefore, it is necessary to propose an industrial robot repetitive positioning accuracy detection method that can correct the cyclic pose reference, identify the positioning center migration and discrete states of repetitive positioning, predict the subsequent positioning error range, and conduct targeted verification accordingly. Summary of the Invention
[0005] This invention provides a deep learning-based prediction and detection method and system for the repeatability accuracy of industrial robots.
[0006] The first aspect is a deep learning-based prediction and detection method for the repeatability accuracy of industrial robots, which includes the following steps: The industrial robot to be inspected is controlled to run in a cycle according to a preset repetitive positioning and inspection action, so that each inspection action cycle passes through the fixed return pose and the target detection pose in sequence; Based on the measured pose change corresponding to the fixed regression pose, the target detection pose in the same detection action loop is corrected by regression benchmark to obtain a benchmarked repeating localization sequence. Based on the benchmarked repeat localization sequence, the repeat localization accuracy is input into the deep learning prediction model according to the sequential relationship of the detection action loop; Based on the deep learning prediction model for repeated positioning accuracy, the migration trend of the positioning center between adjacent detection action cycles and the discrete state of repeated positioning around the positioning center are identified. Based on the location center migration trend and repeated location discrete state, the prediction location error domain is obtained; Based on the predicted positioning error domain, determine the verification and detection action loop that needs to be executed, and verify the actual pose obtained by the verification and detection action loop against the predicted positioning error domain. The repeatability accuracy test result of the industrial robot is determined based on the verification result, and the verification action cycle and its verification result are used as feedback samples to update the repeatability accuracy deep learning prediction model.
[0007] Secondly, the deep learning prediction and detection system for repeatability accuracy of industrial robots includes the following modules: The repeatable positioning detection and reference correction module is used to control the industrial robot under test to run in a loop according to a preset repeatable positioning detection action, obtain the measured pose corresponding to the fixed regression pose and the target detection pose, and perform regression reference correction on the target detection pose in the same detection action loop according to the measured pose change of the fixed regression pose, so as to obtain a referenced repeatable positioning sequence arranged according to the detection action loop. The deep learning prediction module is used to input the benchmarked repeated positioning sequence into the repeated positioning accuracy deep learning prediction model according to the order of the detection action loops, identify the positioning center migration trend between adjacent detection action loops and the repeated positioning discrete state around the positioning center, and generate a predicted positioning error domain based on the positioning center migration trend and the repeated positioning discrete state. The verification detection and feedback update module is used to determine the verification detection action loop based on the predicted positioning error domain, verify the correspondence between the measured pose obtained from the verification detection action loop and the predicted positioning error domain, determine the repeatability accuracy detection result of the industrial robot, and use the verification detection action loop and its verification result as feedback samples to update the repeatability accuracy deep learning prediction model.
[0008] The beneficial effects of this invention are: This invention integrates cyclic regression benchmark correction and temporal prediction. A fixed regression pose is introduced in each detection action loop. The measured regression pose is used to form a regression benchmark offset. The measured target pose in the same loop is compensated by reverse pose to obtain a benchmarked repeated localization sequence. Deep learning is then used to identify the localization center migration trend and the repeated localization discrete state, realizing the transformation from historical statistical detection to continuous temporal prediction detection.
[0009] This invention uses adaptive verification and feedback updates driven by the predicted positioning error domain. It generates the predicted positioning error domain for subsequent detection action loops based on the migration trend of the positioning center and the discrete state of repeated positioning. It dynamically determines the verification detection action loop based on the spatial relationship between the predicted positioning error domain and the preset allowable range of repeated positioning. It obtains the repeated positioning accuracy detection result through the inclusion verification of the measured pose, and feeds back the verification result to update the prediction model, forming a closed-loop detection mechanism of prediction, verification and model correction. Attached Figure Description
[0010] 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 only for this invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 This is a schematic diagram of the method flow of Embodiment 1 of the present invention; Figure 2 This is a diagram of the deep learning prediction model architecture for repeatability accuracy in Embodiment 1 of the present invention. Figure 3 This is a schematic diagram of the method flow for S2 in Embodiment 1 of the present invention; Figure 4 This is a schematic diagram of the system modules in Embodiment 2 of the present invention. Detailed Implementation
[0012] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. For some well-known technologies, those skilled in the art may also use other alternative methods to implement the invention. Moreover, the accompanying drawings are only for more specific description of the embodiments and are not intended to specifically limit the present invention.
[0013] Example 1 like Figures 1-3 As shown, the deep learning prediction and detection method for repeatability accuracy of industrial robots includes the following steps: S1, control the industrial robot to be tested to run in a loop according to a preset repetitive positioning and testing action, so that each detection action loop passes through a fixed regression pose and a target detection pose in sequence. Based on the measured pose change corresponding to the fixed regression pose, the target detection pose in the same detection action loop is corrected by regression reference, so as to obtain a referenced repetitive positioning sequence arranged according to the detection action loop.
[0014] S11, a fixed regression pose and a target detection pose are pre-determined in the base coordinate system of the industrial robot to be inspected; the fixed regression pose is set as a unified reference pose that the industrial robot needs to reach before each target detection, and is used to characterize the overall pose reference change that occurs in the current detection action cycle; the target detection pose is the actual detection pose that needs to be repeatedly positioned for accuracy testing.
[0015] Using the base coordinate system of the industrial robot under test as a unified pose reference, and based on the rated working range, joint range of motion, and the actual working area corresponding to this repeatability positioning accuracy test, a target detection position is selected from a location that the robot can stably reach without singular configurations, joint limitations, or collision risks. The corresponding posture is determined based on the working direction of the tool center point during actual operation, and this position and posture are jointly determined as the target detection pose. Based on the approach direction of the industrial robot when it reaches the target detection pose, a fixed return position is selected from a location far from the target detection pose that allows the robot to stably enter the target detection pose in the same direction of motion. A fixed and repeatable approach path is formed between the fixed return pose and the target detection pose. This fixed return position and the robot end effector posture that matches the approach path are jointly determined as the fixed return pose.
[0016] The fixed regression pose and the target detection pose are respectively represented by homogeneous pose transformation matrices as follows: ; ; in, Indicates a fixed return pose; Indicates the target detection pose; This represents the attitude rotation matrix corresponding to a fixed regression pose; This represents the pose rotation matrix corresponding to the target detection pose; Represents the position vector of a fixed regression pose; This represents the position vector of the target detection pose. and All methods use a 3×3 rotation matrix based on Euler angles, and uniformly adopt the ZYX rotation sequence, that is, determine the robot end effector posture by rotating around the X-axis, Y-axis and Z-axis of the base coordinate system in sequence.
[0017] For the The detection action cycle first controls the industrial robot under test to move from the current pose to a fixed return pose. After the robot's end effector speed decreases to a stop, continuous pose measurement is performed on the fixed return pose.
[0018] Suppose that continuous acquisition is obtained within a stability judgment window Based on the group position measurement results, the mean position of the fixed regression pose is expressed as: ; in, Indicates the first In the fixed regression pose during the detection action loop, the first detection action loop... The position vector obtained from the second sampling; This indicates the number of sampling points within the stability assessment window; This represents the average position of the fixed regression pose within the stability assessment window.
[0019] The positional fluctuation of a fixed regression pose is expressed as: ; in, This refers to the positional fluctuation of a fixed regression pose. This represents the average position of the fixed regression pose within the stability assessment window; For attitude measurement, the first The sub-attitude measurement result is expressed as a unit quaternion. First, quaternions within the same stability assessment window are corrected for hemisphericity, and the normalized average quaternion is calculated as follows: ; ; in, Indicates the first The quaternion corresponding to each attitude measurement result is the same as the hemispherical correction coefficient, used to eliminate unit quaternions. -q indicates a sign jump caused by the same attitude; Indicates the first In the detection action loop, the first detection action obtained at the fixed return pose is... The unit quaternion corresponding to each attitude measurement result; This represents the average pose quaternion of the fixed regression pose within the stability judgment window; Represents a symbolic function; Indicates the first The unit quaternion corresponding to the first attitude measurement result obtained within the stability judgment window of each detection action cycle.
[0020] The corresponding attitude fluctuation is: ; in, This represents the maximum attitude fluctuation relative to the average attitude within the current stability assessment window; Represents the average attitude quaternion transpose; Represents the inverse cosine function; When the following conditions are met: and And maintain the preset stabilization time continuously. When the industrial robot under test is determined to have completed a stable stop in a fixed return pose, the average pose corresponding to the current stability judgment window is determined as the first... The measured regression pose of each detection action cycle is represented as: ; in, This is the position stability threshold; This is the attitude stability threshold; To stabilize the duration of the stop; This represents the homogeneous pose transformation matrix corresponding to the measured regressed pose. The measured regression posture rotation matrix is a 3×3 matrix used to characterize the attitude relationship between the end-effector coordinate system and the base coordinate system of the industrial robot under the measured regression posture. The measured regression posture rotation matrix is obtained by transforming the average posture quaternion obtained during the stable pause of the detection action cycle in the fixed regression posture. The measured regression location vector is a 3×1 column vector, represented as follows: ,in, , and These represent the measured position coordinates of the industrial robot's end effector in the X, Y, and Z axes of the base coordinate system, respectively. Take the average value of the positions ; From the average attitude quaternion Obtained through conversion.
[0021] While keeping the industrial robot stationary, continuously collect position and orientation data output by the measuring device, and obtain the static measurement standard deviation of the position. and the standard deviation of static attitude measurement And combined with the position resolution of the measuring device and attitude resolution , is represented as: ; ; in, This is the position stability threshold; This is the attitude stability threshold; This represents the standard deviation of position measurement results under static conditions. This represents the standard deviation of attitude measurement results under static conditions. This indicates the position resolution of the pose measurement device used; This indicates the attitude resolution of the pose measurement device used.
[0022] The standard deviations of static position measurement and static attitude measurement are obtained through static benchmark tests of the measuring device before the formal repeatability accuracy test. The industrial robot under test is controlled to a stable static pose within the workspace and kept in servo lock. Under the conditions that the robot end effector has no active movement and the external environment remains stable, the end effector pose measurement results are continuously collected using the same pose measurement device, installation position, coordinate system, sampling frequency and data processing method as in the formal test. Based on the continuous position measurement results, the standard deviations of the X, Y and Z directions relative to their respective average positions are calculated, and the maximum value of the standard deviations of the three directions is taken as the standard deviation of static position measurement. To characterize the random fluctuations in the position measurement of the measuring device under the condition of robot stationary conditions; for attitude measurement results, the attitudes measured in each measurement are uniformly converted into unit quaternions and corrected for the same hemisphere, and the average attitude corresponding to all attitude measurement results is used as the static attitude reference. The rotation angle difference between each measured attitude and the static attitude reference is calculated, and then the standard deviation of the rotation angle difference is calculated and used as the standard deviation of the static attitude measurement. To characterize the random fluctuations in the static attitude measurement of the measuring device; the position resolution of the measuring device and attitude resolution Determine based on the verification certificate, calibration certificate, or valid technical specifications provided by the manufacturer for the measuring device.
[0023] For the duration of stable dwell Before the formal testing, several fixed-regression pose-holding pre-tests were performed to record the pose fluctuations of the robot after it stopped moving, ensuring that the pose met the requirements for the first time. and Required settling time Then it can be done according to: Configure settings; in, Indicates the number of pre-tests; Indicates the 95th percentile of the stability time for each pre-test; This represents a sampling period of the pose measurement device, which is determined based on the actual output sampling frequency of the pose measurement device. The value range is 0.005 to 0.05 s, preferably 0.01 s, which can balance the ability to capture short-term pose fluctuations during the stable stopping phase of the industrial robot with the data processing efficiency of continuous detection. The 95th percentile stabilization time is used and an additional sampling period is added to avoid the stable stopping time being set too short due to accidental rapid stabilization processes.
[0024] After completing the fixed return pose measurement, the industrial robot under test is controlled to move from the fixed return pose to the target detection pose according to the preset approach path. The preset approach path remains consistent in each detection action cycle, that is, the movement direction, the order of path nodes and the target approach direction are consistent, so as to reduce the additional impact of joint return state changes caused by different approach methods on the repeated positioning detection results.
[0025] The preset approach path is determined based on the spatial relationship between the fixed return pose and the target detection pose. First, with the fixed return pose as the starting point and the target detection pose as the ending point, a continuous motion path is planned under the conditions of satisfying the robot's joint range of motion, obstacle avoidance requirements, and no singular configuration. The final approach direction and path node sequence before the target detection pose are fixed. After confirming that the path can be stably and repeatedly executed through no-load test run before formal testing, it is determined as the preset approach path.
[0026] After the industrial robot reaches the target detection pose, it uses the same stabilization and dwell criteria as the fixed regression pose. After satisfying the position stability threshold, attitude stability threshold, and stable dwell duration, the measured target pose corresponding to this detection action cycle is obtained as follows: ; in, Indicates the first The homogeneous pose transformation matrix corresponding to the measured target pose obtained after the industrial robot to be detected reaches the target detection pose and completes a stable stop in a detection action cycle; Indicates the first The measured target posture rotation matrix corresponding to each detection action cycle is a 3×3 matrix, which is used to characterize the actual posture relationship of the industrial robot end coordinate system relative to the industrial robot base coordinate system at the target detection pose. Indicates the first The measured target position vector corresponding to each detection action loop is: Column vector, represented as ,in, , and These represent the measured target position coordinates of the industrial robot end effector in the X, Y, and Z axes of the base coordinate system, respectively. This indicates the target detection pose; Indicates the loop number of the detection action. .
[0027] A detection action loop consists of moving to a fixed return pose, stabilizing and measuring the actual return pose, moving to the target detection pose according to a preset approach path, and stabilizing and measuring the actual target pose.
[0028] Execute continuously in the same sequence of movements. The detection process is repeated, resulting in: ; in,; This represents the homogeneous pose transformation matrix corresponding to the measured regressed pose. Indicates the first The homogeneous pose transformation matrix corresponding to the measured target pose is obtained after the industrial robot under test reaches the target detection pose and completes a stable stop in each detection action cycle.
[0029] S12, process each detection action loop separately according to the execution order of the detection action loop.
[0030] For the Each detection action loop will return the corresponding measured regressed pose. With a predetermined fixed return pose The corresponding comparison is represented as: ; in, For the first The regression baseline offset corresponding to each detection action cycle; For a predetermined fixed return pose; This is the homogeneous pose transformation matrix corresponding to the measured regression pose.
[0031] Control the industrial robot under test to move to the return position. Under the conditions of meeting the joint range of motion, no collision, no singular configuration, and being able to stably reach the target detection pose according to the preset approach path, make the robot end effector complete the stable parking, and record the set end effector position coordinates and attitude parameters at this time as the fixed return pose.
[0032] The regression benchmark offset is expressed as: ; ; ; in, Indicates the first The regression attitude baseline offset of each detection action cycle; Indicates the first The regression position reference offset of each detection action cycle; This represents the measured regression attitude rotation matrix; Represents the measured regression position vector; For the fixed regression posture rotation matrix, since the rotation matrix is an orthogonal matrix, its transpose is also its inverse matrix; This is the fixed regression position vector corresponding to a predetermined fixed regression pose.
[0033] The regression baseline offset is converted into a six-dimensional offset description as follows: ; in, , and These are the components of the regression baseline offset in the three positional directions of the industrial robot's base coordinate system; , and These are used to characterize the changes in the three attitude directions corresponding to the regression baseline offset.
[0034] The attitude offset is obtained by the logarithmic mapping of the rotation matrix: ; in, Represents the matrix logarithm operation for rotation matrices; This represents the operation of converting an antisymmetric matrix into a three-dimensional rotation vector; Corresponding to the above , and .
[0035] The regression baseline offset is not directly used as the repetitive positioning error of the industrial robot, but is used to describe the overall pose baseline change of the current detection action cycle relative to the unified fixed regression pose. Since the fixed regression pose and the target detection pose are in the same detection action cycle, the regression baseline offset is used to correct the subsequent regression baseline of the measured target pose in the same detection action cycle.
[0036] The first The one-to-one correspondence between the regression baseline offset of each detection action cycle and its corresponding measured target pose is expressed as follows: ; in, For the first Each detection action loop corresponds to a loop pose unit; This represents the homogeneous pose transformation matrix corresponding to the measured target pose. For the first The regression baseline offset corresponding to each detection action cycle.
[0037] continuous A cycle of detection actions is formed: ; in, It is a set of cyclic pose corresponding units formed according to the cyclic execution order of the detection actions; For the first Each detection action loop corresponds to a loop pose unit.
[0038] This ensures that each measured target pose has a unique corresponding regression baseline offset, avoiding the use of adjacent loops or global average offsets to correct the target pose, thus preserving the baseline change characteristics of each detection action loop itself.
[0039] S13, for the first Each cyclic pose corresponds to a unit Read the regression baseline offset. and the corresponding measured target pose .
[0040] Since the regression reference offset represents the overall pose reference migration from the preset fixed regression pose to the current measured regression pose, applying pose compensation to the measured target pose in the opposite direction to the regression reference offset is expressed as follows: ; in, For the first The reference target pose corresponding to each detection action cycle; For the first The regression baseline offset corresponding to each detection action cycle; This is the homogeneous pose transformation matrix corresponding to the measured target pose.
[0041] No. The reference target pose corresponding to each detection action cycle is represented as follows: ; The corresponding baseline pose is then represented as: ; The corresponding benchmark position is represented as: ; in, For the first The reference target pose corresponding to each detection action cycle; This indicates the target attitude after correction based on the regression baseline; This indicates the target position after correction to the regression benchmark; and These represent the attitude and position corresponding to the measured target pose, respectively; Indicates the first The regression attitude reference offset of each detection action cycle.
[0042] The technical purpose of reverse pose compensation is to reduce the overall pose reference migration that can be synchronously reflected by the fixed regression pose from the measured target pose of the current detection action cycle. For example, when the fixed regression pose and the target detection pose change in the same direction at the same time due to body temperature rise, slow change of joint zero position or slow offset of measurement reference during continuous robot operation, reverse compensation can be performed using the regression reference offset of the same detection action cycle to reduce the direct mixing of such common changes into the repeated positioning discrete results.
[0043] To characterize the actual deviation of each benchmarked target pose from the target detection pose, the following definition is used: ; in, Indicates the first The relative pose of the benchmark target pose with respect to the target detection pose for each detection action cycle; This represents the homogeneous pose transformation matrix corresponding to the target detection pose determined in advance before formal detection. For the first The reference target pose corresponds to each detection action cycle.
[0044] Converting it into a six-dimensional pose description is as follows: ; in, Indicates the first The six-dimensional pose deviation description vector of the benchmark target pose corresponding to each detection action cycle. To standardize the target pose A numerical representation; , and They represent the first The deviation of a benchmark target pose from the target detection pose in three positional directions; , and These represent the deviations in the three corresponding attitude directions.
[0045] The positional deviation is expressed as: ; The attitude deviation is expressed as: ; ; ; in, This is the position deviation vector of the benchmark target pose relative to the target detection pose; The target attitude after correction based on the regression baseline; The position vector of the target detection pose; This is the pose deviation vector of the benchmark target pose relative to the target detection pose; This represents the pose rotation matrix corresponding to the target detection pose; Represents the matrix logarithm operation for rotation matrices; This represents the operation of converting an antisymmetric matrix into a three-dimensional rotation vector.
[0046] The transpose of the pose rotation matrix corresponding to the target detection pose is combined with the first... Multiplying the attitude rotation matrices of the two reference target poses yields the relative attitude rotation matrix between the two poses. The corresponding relative rotation angle is determined based on the trace of this relative attitude rotation matrix, and the relative rotation axis is determined by combining the difference between the relative attitude rotation matrix and its transpose. The relative rotation axis and relative rotation angle are combined to form an antisymmetric matrix, which is the matrix logarithm of the relative attitude rotation matrix. Subsequently, three independent rotation components are extracted from this antisymmetric matrix using a VEE mapping to obtain the first... A pose deviation vector of a benchmark target pose relative to the target detection pose. .
[0047] The poses of each benchmark target are arranged in the order of the detection action cycle as follows: ; in, This represents a standardized, repetitive localization sequence arranged according to the chronological order of the detection action cycle. Indicates the first The six-dimensional pose deviation description vector of the benchmark target pose corresponding to each detection action cycle.
[0048] The results obtained by arranging the above detection actions in a cyclical order are determined as the benchmarked repeating localization sequence.
[0049] Each sequence unit in the final benchmarked repetitive localization sequence corresponds to an actual detection action loop, and the regression benchmark correction is completed by using the fixed regression pose change of the detection action loop itself.
[0050] S2, the benchmarked repeated positioning sequence is input into the repeated positioning accuracy deep learning prediction model according to the order of the detection action cycles. The repeated positioning accuracy deep learning prediction model identifies the positioning center migration trend between adjacent detection action cycles and the repeated positioning discrete state around the positioning center. Based on the positioning center migration trend and the repeated positioning discrete state, a predicted positioning error domain characterizing the spatial range that subsequent detection action cycles may reach is generated.
[0051] S21, the specific structure of the deep learning prediction model for repetitive localization accuracy includes an input layer, a temporal coding layer, a center migration prediction branch, a discrete state prediction branch, and an error domain generation layer. The input layer receives a baseline repetitive localization sequence arranged in the order of detection action cycles, and combines the baseline target pose corresponding to each detection action cycle with its pose change relative to the previous detection action cycle to form a temporal input. The temporal coding layer uses a gated recursive network structure to recursively encode the pose changes between consecutive detection action cycles, outputting the repetitive localization temporal state. The center migration prediction branch predicts the direction and extent of the localization center movement for subsequent detection action cycles based on the repetitive localization temporal state, outputting the localization center migration trend. The discrete state prediction branch predicts the degree of deviation of the baseline target pose from the localization center, which changes with the cycle, in each pose direction based on the repetitive localization temporal state, outputting the repetitive localization discrete state. The error domain generation layer further determines the predicted localization center based on the localization center migration trend and, combined with the repetitive localization discrete state, determines the prediction extension range in each pose direction, forming the prediction localization error domain.
[0052] The construction of the deep learning prediction model for repeatability accuracy is as follows: Multiple benchmark repeatability sequences formed during the historical repeatability detection process of an industrial robot are acquired. The temporal relationship of each sequence is preserved according to the actual sequential order of the detection action loops within each sequence. Several consecutive detection action loops are used as input windows, and the detection action loops following the input window are used as the corresponding prediction targets. The position and attitude components of each benchmark target pose in the input window are standardized, and the pose change between adjacent detection action loops is calculated. The standardized benchmark target pose and pose change are input together into the temporal coding layer. Following a shared temporal coding and dual-branch prediction approach, a center migration prediction branch and a discrete state prediction branch are established. The center migration prediction branch uses the actual center migration formed by subsequent detection action loops as the supervision target, while the discrete state prediction branch uses the degree of dispersion in each direction formed by subsequent detection action loops around the positioning center as the supervision target. Finally, an error domain generation layer is connected at the output, thus forming a complete mapping relationship from the repeatability temporal state to the center migration trend, the repeatability discrete state, and then to the predicted positioning error domain.
[0053] Historical benchmark repetitive localization sequences are divided into training samples, validation samples, and test samples according to the detection task. During the training phase, input samples and corresponding subsequent real results are constructed using a sliding window method according to the detection action loop sequence. The localization center migration trend and repetitive localization discrete state are obtained through forward propagation. The predicted results are compared with the localization center migration amount and dispersion obtained by the actual calculation of the corresponding subsequent detection action loop to construct the center migration prediction loss and discrete state prediction loss. The two are weighted to form a joint training loss. The network weights of the temporal coding layer, center migration prediction branch, and discrete state prediction branch are updated through backpropagation. The loss weights are initially set to equal weights and adjusted according to the normalized magnitude of the two types of prediction errors in the validation samples so that the contributions of the two types of losses to the total loss are within a similar range. Training is stopped when the joint prediction loss of the validation samples no longer decreases for several consecutive training cycles, and the model parameters with the minimum validation loss are saved. Finally, the prediction ability of the localization center migration trend, repetitive localization discrete state, and predicted localization error domain for subsequent measured poses is tested using independent test samples to obtain the trained deep learning prediction model for repetitive localization accuracy.
[0054] The first The benchmark target pose corresponding to each detection action cycle is converted into a six-dimensional pose deviation description vector as follows: ; in, Indicates the first The six-dimensional pose deviation description vector of the benchmark target pose corresponding to each detection action cycle; , , These represent the deviations from the target detection pose in three positions, respectively. , , These represent the deviations in the three orientation directions, respectively. This indicates the loop number of the detection action.
[0055] Since position deviation and attitude deviation have different physical dimensions, the data of each dimension are standardized and represented as follows before being input into the temporal coding layer: ; in, Indicates the first In the loop of the detection action, the first... The input values after standardization for each pose direction; express The first in One original pose deviation component; ; The repeatability accuracy of the deep learning prediction model training samples represents the first... The sample mean of each pose direction; This represents the sample standard deviation for the corresponding pose direction.
[0056] The and All were obtained directly from historical benchmarked repeated localization sequences used to train the deep learning prediction model for repeated localization accuracy; further, the following was formed: ; in, Indicates the first The standardized target pose vector corresponding to each detection action cycle.
[0057] To explicitly establish the association between the current detection action loop and the previous detection action loop, the pose change vector of adjacent detection action loops is calculated as follows: ; in, Indicates the first The detection action loop is relative to the first The standardized pose change vector generated by the detection action loop; and Let these represent the normalized reference target pose vectors corresponding to the current detection action loop and the previous detection action loop, respectively; for the first detection action loop, let... .
[0058] The current standardized benchmark target pose vector and the corresponding pose change vector are combined to form a temporal encoded input, represented as follows: ; in, Indicates the first The temporal encoded input vector corresponding to each detection action loop simultaneously retains the pose information of the current reference target and the pose change information between adjacent detection action loops.
[0059] The timing coding layer uses a gated recursive structure for timing recursive coding, represented as follows: ; ; ; ; in, Indicates the first The temporal hidden state corresponding to each detection action loop; This indicates the temporal hidden state corresponding to the previous detection action loop; This indicates the reset gate state used to control the degree to which historical states are retained; This indicates the update gate state used to control the degree of update of the current state; This represents the candidate time sequence state calculated cyclically based on the current detection action; This represents the Sigmoid activation function; Represents the hyperbolic tangent activation function; This indicates element-wise multiplication; , , and These represent the trainable weight matrices of the temporal coding layer; , These represent the corresponding trainable bias vectors.
[0060] The Sigmoid activation function has a single-input, single-output nonlinear mapping structure. It performs an exponential transformation on each element of the linear combination result formed by the current temporal coding input, the temporal hidden state of the previous detection action loop, and the corresponding bias in the temporal coding layer, compressing any real number input to between 0 and 1, and forming the reset gate state and update gate state respectively. First, it calculates the product of the current temporal coding input and the corresponding trainable weight matrix, as well as the product of the previous temporal hidden state and the corresponding trainable weight matrix, and adds the two to the bias vector to obtain the gated input. Then, it takes the negative of each element of the gated input and performs an exponential operation, adds 1 to the exponential result, and takes the reciprocal to obtain the corresponding gate coefficient.
[0061] The specific structure of the hyperbolic tangent activation function is a nonlinear mapping structure centered at zero and with an output range of -1 to +1. It is used to perform element-wise nonlinear transformation on the linear combination result formed by the historical temporal hidden state after the reset gate state filtering and the current temporal encoded input, and to generate the candidate temporal state corresponding to the current detection action loop. First, the reset gate state is multiplied element-wise with the temporal hidden state of the previous detection action loop to determine the historical information involved in the calculation of the current candidate state. Then, the result and the current temporal encoded input are multiplied with the corresponding trainable weight matrix and added to the bias vector to obtain the candidate state input. Subsequently, the positive and negative exponent values of the candidate state input are calculated respectively. The ratio of the difference between the two to the sum of the two is used as the hyperbolic tangent activation result, so that positive pose changes are mapped to positive values and reverse pose changes are mapped to negative values, and the excessively large input amplitude is compressed to a limited range, finally obtaining the candidate temporal state.
[0062] This will be formed by continuously iterating according to the detection action cycle: ; in, As of the date The repeated positioning timing state is formed by a detection action cycle; the repeated positioning timing state simultaneously retains the changes in the reference target pose itself and the continuous evolution information of the direction and magnitude of change between adjacent detection action cycles.
[0063] The weight matrix in the aforementioned temporal coding layer is not a fixed value assigned manually, but is obtained through training with historical benchmarked repeated localization sequences; during the initial training phase of the model, the weight matrix is initialized using the Xavier method as follows: ; in, Represents an element in any weight matrix to be initialized; Indicates a uniform distribution; This indicates the number of input nodes for the corresponding network layer; This indicates the number of output nodes for the corresponding network layer; the initial value of the corresponding bias is set to 0, and then the training samples formed by the historical detection actions are updated through backpropagation to finally obtain the weight parameters actually used by the deep learning prediction model for repetitive localization accuracy.
[0064] S22, to characterize the localization center corresponding to the continuous detection action loop, select multiple consecutive reference target poses before the current detection action loop, and calculate the current localization center as follows: ; ; in, Indicates the first The location center corresponding to each detection action cycle; Indicates the first The standardized benchmark target pose vector corresponding to each detection action cycle; This indicates the current number of detection action loops actually involved in the location center's calculations; This indicates the length of the pre-determined positioning center calculation window.
[0065] The predetermined localization center calculation window length is used during the model building phase to construct localization centers using different numbers of consecutive detection action loops, such as 3, 5, 7, and 10 consecutive detection action loops. The localization center prediction error for the next detection action loop is calculated on independent validation samples, and the number of detection action loops that minimizes the root mean square error of the localization center prediction is determined as follows: ; Ideally, five detection actions should be cycled, and then the selection should be based on the verification results.
[0066] The changes between adjacent positioning centers are represented as follows: ; in, Indicates the first The detection action loops to the next... The localization center migration vector between each detection action loop; and These represent the positioning centers corresponding to the current detection action cycle and the previous detection action cycle, respectively. The vector direction of the positioning center migration vector is used to characterize the overall movement direction of the positioning center, and its magnitude is used to characterize the degree of migration of the positioning center between adjacent detection action cycles.
[0067] The center migration prediction branch makes predictions based on the current temporal hidden state in the repeated location temporal state, as follows: ; in, This indicates that the subsequent [number] The location center migration vector obtained by cyclic prediction of each detection action is the numerical representation of the location center migration trend. Indicates the current repetitive positioning timing status; The trainable weight matrix represents the center migration prediction branch; This represents the trainable bias vector for the center migration prediction branch.
[0068] The predicted localization center corresponding to the subsequent detection action loop is represented as follows: ; in, Indicates the first Predicted localization center corresponding to each detection action cycle; Indicates the current location center; This indicates the predicted migration trend of the location center.
[0069] because The center migration prediction branch is formed by a cyclical recursion of multiple consecutive detection actions in the output. It not only utilizes the current center change, but also retains the migration direction, migration amplitude and their change relationship in the previous multiple detection action loops, thereby characterizing the continuity of the localization center migration.
[0070] For the discrete state of repeated localization, the center deviation of the benchmarked target pose is first determined based on the localization center corresponding to each detection action cycle, and is expressed as: ; in, Indicates the first The center deviation vector corresponding to each detection action loop; This represents the corresponding standardized target pose vector; Indicates the first The location center corresponding to each detection action cycle.
[0071] Considering the robot's repetitive localization error, the positive and negative directions in the same pose may have different degrees of dispersion. For the first... The positive and negative deviations for each pose direction are calculated and expressed as follows: ; ; in, Indicates the number of elements in the current window. The degree of positive dispersion of each pose direction relative to the positioning center; This indicates the corresponding degree of inverse dispersion; Indicates the first The center deviation vector of the detection action cycle in the first... Components in each pose direction; This indicates the number of detection action loops contained in the current location center calculation window; .
[0072] The discrete state prediction branch predicts the degree of discreteness in each direction of the subsequent detection action loop based on the repeated positioning temporal state, as expressed as follows: ; in, This represents a vector composed of six positive prediction discrete components corresponding to the subsequent detection action loop; This represents a vector composed of six backward prediction discrete components. The trainable weight matrix represents the discrete state prediction branch; The trainable bias vector represents the discrete-state prediction branch; This indicates element-wise exponentiation, used to ensure that all discrete values in the output are positive.
[0073] The discrete states corresponding to the repeated localization in the subsequent detection action loop are represented as follows: ; in, The discrete states are repeatedly located for subsequent detection actions; the forward and backward predicted discrete components together describe the direction and degree of deviation of each benchmark target pose relative to the positioning center that changes with the cycle in different pose directions.
[0074] The Both are model parameters obtained through supervised training of historical detection actions. During training, the repeated localization temporal states generated in the early part of the historical sequence are used as input, and the localization center migration amount and the forward and reverse dispersion degrees calculated by the subsequent actual detection actions are used as supervision targets. The center migration prediction error and the discrete state prediction error are reduced together through backpropagation, thus obtaining the final weight parameters.
[0075] S23, for the first For each pose direction, the repeated localization discrete state is converted into the corresponding forward prediction extension range and backward prediction extension range, represented as follows: ; ; in, Indicates the first The detection action loop is in the first cycle. Positive prediction extension range relative to the prediction positioning center in each pose direction; This indicates the corresponding reverse prediction extension range; and These represent the first and second discrete states of repeated positioning, respectively. The degree of dispersion in the forward and backward predictions corresponding to each pose direction; This represents the coverage calibration coefficient for the prediction error domain.
[0076] Coverage calibration coefficients of the prediction error domain Determined in independent calibration samples; for the first The calculation of each calibration sample is represented as follows: ; in, Indicates the first The maximum standardized deviation of a calibration sample from its predicted localization center and predicted discrete state; Indicates the first The calibration sample at the ... The actual standardized pose value in each pose direction; Indicates the first corresponding predicted location center One component; and These represent the degree of dispersion in the forward and reverse predictions, respectively.
[0077] The coverage calibration coefficient for the prediction error domain is then determined based on all calibration samples and expressed as follows: ; in, The coverage calibration coefficient represents the prediction error domain; Indicates the calibration sample Gain experience quantiles; Indicates the number of independently calibrated samples; This indicates the target coverage level that the expected predicted positioning error domain should cover in relation to the subsequent actual benchmarked target pose.
[0078] The predicted coverage is preset according to the requirements of the detection task; in general repeatability accuracy prediction detection, it is set to 0.95, which means the predicted positioning error domain covers about 95% of the calibrated measured pose; when the detection task requires a more conservative boundary, it is set to 0.99; the actual coverage of the generated predicted positioning error domain is verified on independent calibration samples to ensure that it is not lower than the preset value. Thus, the final choice is determined. .
[0079] In the standardized pose space, the first The prediction and localization error domain corresponding to each detection action cycle is represented as follows: ; in, This represents the predictive localization error domain in the standardized pose space. Represents any standardized six-dimensional pose vector to be judged; This indicates that the vector is at the th... Components in each pose direction; Indicates the predicted location center at the th Components in each pose direction; and These represent the positive and negative prediction extension ranges in the pose direction, respectively.
[0080] To restore the actual position and attitude dimensions, the predicted localization center is converted to the original pose coordinates as follows: ; And convert the prediction extension range in each direction to: ; ; in, This indicates the predicted localization center in the original pose dimension. One component; and These represent the forward and backward prediction extension ranges under the original pose dimensions, respectively; and represents the mean and standard deviation of the training samples for the corresponding pose direction, respectively.
[0081] The final predicted positioning error domain is expressed as follows: ; in, For the first The predictive positioning error domain corresponding to each subsequent detection action loop; This represents the six-dimensional pose deviation vector in its original dimensions. Indicates its first There are three pose direction components; the first three pose directions correspond to the spatial position extension range, and the last three pose directions correspond to the attitude extension range. Therefore, the predicted positioning error domain can simultaneously reflect the positioning center migration that may occur in the subsequent detection action cycle and the repeated positioning discrete boundary formed around the predicted positioning center.
[0082] S3, determine the verification and detection action loop that needs to be executed again based on the predicted positioning error domain, verify the correspondence between the measured pose obtained by the verification and detection action loop and the predicted positioning error domain, determine the repeatability accuracy detection result of the industrial robot based on the verification result, and update the repeatability accuracy deep learning prediction model as a feedback sample using the verification and detection action loop and its verification result.
[0083] S31, First, a preset repeatable positioning allowable range is established in the same six-dimensional pose space as the predicted positioning error domain, expressed as follows: ; in, Indicates the preset allowed range for repeated positioning; This represents the six-dimensional pose deviation description vector corresponding to the benchmark target pose. The sixth dimension represents the deviation of the six-dimensional pose from the description vector. Each pose direction component; and They represent the first The lower and upper limits allowed for each pose direction; The corresponding three positions deviate from the direction. Corresponding to the three orientation deviation directions.
[0084] The first Lower limit of permissible positional orientation and upper limit The repeatability accuracy technical specifications of the industrial robot to be tested, the testing task requirements, or the applicable testing standards are predetermined. The target detection pose is used as a zero-deviation reference. The corresponding allowable repeatability deviation limits are read for the X, Y, and Z position directions and the three attitude directions. When a symmetrical allowable error is adopted for a certain direction, its negative limit is set to... The positive limit value is set as follows: When using asymmetric permissible errors, the specified maximum negative permissible deviation and maximum positive permissible deviation are respectively taken as... and .
[0085] Based on the obtained prediction positioning error domain, the first The prediction boundary for each pose direction corresponding to each detection action loop is represented as follows: ; ; in, and These represent the prediction and positioning error domains at the th... The lower and upper boundaries in each pose direction; Indicates the first The predicted localization center corresponding to the 1st subsequent detection action loop is in the 1st... Components in each pose direction; and These represent the reverse prediction extension range and the forward prediction extension range of the corresponding pose direction relative to the prediction positioning center, respectively.
[0086] The margin between the predicted positioning error domain and the preset repeatability allowable range boundary in each pose direction is expressed as follows: ; in, The predicted positioning error domain is represented in the th... The margin of distance from the nearest allowable boundary in each pose direction; when When, it indicates that the predicted positioning error domain in that pose direction is still within the preset repeatability range; when When, it indicates that the predicted positioning error domain is in contact with the corresponding allowable boundary; when When this occurs, it indicates that the predicted positioning error domain has exceeded the corresponding allowable boundary.
[0087] To eliminate the influence of different dimensions in different position and attitude directions, the residual margin in each direction is normalized and expressed as follows: ; in, Indicates the first The minimum normalized boundary margin of each predicted positioning error domain relative to the preset allowable range of repeated positioning. Indicates the first The allowable range width corresponding to each pose direction is used; the minimum value among the six pose directions is adopted so that the prediction positioning error domain can be improved as long as it approaches or exceeds the allowable boundary in any pose direction, thereby increasing the corresponding verification requirements.
[0088] The near-boundary determination threshold is further set as follows: ; in, This indicates the threshold for determining the proximity of the predicted positioning error range to the preset allowable range for repeated positioning. The pose measurement device is in the first Composite standard measurement uncertainty in each pose direction.
[0089] Combined standard measurement uncertainty The determination is made jointly by the calibration results of the pose measurement device and the static repeated measurement results before formal testing; among them, the measurement uncertainty in the direction corresponding to the calibration certificate is combined with the standard deviation obtained from repeated measurements when the robot is stationary to obtain the corresponding... Take 3 As the near-boundary width, the verification strength is increased so that the distance between the predicted positioning error domain and the allowable boundary reaches the range where measurement fluctuations may affect the judgment.
[0090] Let the number of basic verification and detection action loops be . The number of verification and detection loops that need to be executed is expressed as: ; in, This indicates the number of verification and detection action loops that need to be executed continuously. Indicates the number of loops for the basic verification and detection actions; This indicates the threshold for determining the proximity of the predicted positioning error range to the preset allowable range for repeated positioning. Indicates the first The minimum normalized boundary margin of the predictive localization error domain corresponding to each subsequent detection action loop relative to the preset allowable range of repeated localization.
[0091] Number of basic verification and detection action loops Prioritize using the minimum number of verification cycles specified in the testing task or testing plan. When the testing plan does not specify this number, gradually increase the number of verification testing action cycles through pre-testing before formal testing. Calculate the repeatability range judgment result and the predicted positioning error domain coverage result under different number of cycles. Take the minimum number of cycles corresponding to the condition that neither of these two results changes after further increasing the number of verification cycles as the minimum number of cycles. .
[0092] when When this occurs, it indicates that the predicted positioning error domain has exceeded the preset allowable range for repeated positioning, therefore the number of verifications is doubled from the basic number of verifications; when At that time, the verification detection action loop is gradually increased according to the degree of approach to the boundary; when both the current predicted positioning error domain and its previous predicted positioning error domain satisfy... When this condition is met, it is considered to be stable within the preset allowable range for repeated positioning, and the basic verification quantity is then used. This avoids performing a large number of unnecessary repeated tests when the prediction results are clearly stable.
[0093] S32, in each verification detection action loop, the detection action is still performed according to the fixed regression pose, preset approach path, and target detection pose. After the fixed regression pose and target detection pose have stabilized and stopped, the corresponding measured regression pose and measured target pose are obtained respectively. The regression reference offset corresponding to the verification detection action loop is calculated in the same way as the formation of the reference repeating localization sequence, and is expressed as follows: ; Further, the reverse pose compensation of the measured target pose in the same verification and detection action loop is expressed as follows: ; in, This indicates the loop number of the verification and detection action. ; Indicates the first The regression baseline offset corresponding to each verification and detection action loop; This represents the corresponding measured regression pose; This indicates a predetermined fixed return pose; This indicates the measured target pose corresponding to the verification and detection action loop; This indicates the validation benchmarked target pose obtained after completing the regression benchmark correction; superscript This indicates that the corresponding parameters originate from the verification and detection action loop.
[0094] Following the same pose description method as the aforementioned benchmarked repetitive localization sequence, the verification benchmarked target pose is transformed and represented as follows: ; in, Indicates the first The six-dimensional pose deviation description vector of the verification benchmark target pose corresponding to each verification and detection action loop; , and This represents the positional deviation relative to the target detection pose. , and This indicates the corresponding attitude deviation.
[0095] The per-direction spatial inclusion check performed on the verification benchmark target pose and the corresponding predicted localization error domain is represented as follows: ; in, Indicates the first The inclusion verification result of the predicted positioning error domain corresponding to each verification and detection action cycle; This represents an indicator function that takes the value 1 if the condition within the parentheses is true, and otherwise takes the value 0. ; and Respectively represent the first The prediction and localization error domain corresponding to the verification and detection action loop is in the _ ... The lower and upper boundaries in each pose direction; The first verifies the benchmark target pose. Each pose direction component.
[0096] when This indicates that all six pose directions of the verified benchmark target pose are within the prediction positioning error domain; when If the position is outside the predicted positioning error range, it indicates that at least one pose direction is outside the predicted positioning error range.
[0097] Simultaneously, the verification of the benchmark target pose and the preset repeatable positioning allowable range is represented as follows: ; in, Indicates the first The verification result of the benchmark target pose relative to the preset repeatable positioning allowable range; The first verifies the benchmark target pose. Each pose direction component; and They represent the first The lower and upper limits allowed for each pose direction; This represents an indicator function that takes the value 1 if the condition within the parentheses is true, and otherwise takes the value 0. .
[0098] when When the target pose of the verification benchmark is within the preset repeatable positioning allowable range, it indicates that the target pose is within the preset repeatable positioning allowable range. when When this occurs, it indicates that at least one pose direction exceeds the corresponding allowable range.
[0099] Statistical analysis of the continuous verification and detection action loop yields the actual coverage rate of the predicted positioning error domain, expressed as follows: ; The allowable range compliance rate for verifying the benchmark target pose is expressed as: ; in, This represents the actual coverage rate of the predicted localization error domain corresponding to the verification and detection action loop; This indicates the proportion of the verified benchmark target pose that is within the preset allowable range for repeated positioning. This indicates the actual number of verification and detection action loops performed.
[0100] The maximum normalized out-of-bounds degree of the calculated and verified benchmark target pose relative to the preset repeatability range is expressed as: ; in, This indicates the maximum normalized out-of-bounds error rate in the entire verification and detection action loop; Represents the positive part function; when When, it indicates that the poses of all verified benchmark targets have not exceeded the preset repeatability range; when When, it indicates that at least one verification detection action loop has occurred that exceeds the allowed range, and The larger the value, the higher the degree of boundary violation.
[0101] The repeatability accuracy test result of the industrial robot is expressed as: ; in, This refers to the repeatability accuracy test results for the industrial robot. and This is used to reflect whether the actual repeated arrival at the target detection pose of an industrial robot meets the preset repeatability range. It is used to reflect the coverage of the predicted positioning error domain to the actual verified benchmark target pose.
[0102] When making a specific determination: when When it is determined that the pose of the verification benchmark target exceeds the preset repeatable positioning allowable range; when and At time 1, it is determined that the current verification and detection action loop meets the preset repeat positioning allowable range.
[0103] For the reliability of the predicted positioning error domain, then With the already determined target coverage level Compare; when When this occurs, it indicates that the actual verification coverage of the current predicted positioning error domain has reached the predetermined level; when If the verification results are obtained, they will be used primarily for updating the deep learning prediction model for repetitive positioning accuracy.
[0104] S33, for each verification and detection action, a feedback sample is cyclically established as follows: ; in, Indicates the first Feedback samples corresponding to each verification and detection action loop; Indicates the loop number of the verification and detection action; This indicates the repetitive positioning timing state formed before the execution of this verification and detection action loop; This represents the corresponding verification benchmark target pose; This indicates the predicted positioning error domain corresponding to the verification and detection action loop; This indicates the result of the predictive positioning error domain inclusion verification. This indicates the result of the preset repeated positioning allowable range verification.
[0105] The feedback samples corresponding to all verification and detection action loops are represented as follows: ; in, This represents the set of feedback samples generated by the current detection task.
[0106] The actual localization center is recalculated based on the verified benchmark target pose, and the corresponding actual localization center migration amount is expressed as follows: ; in, This represents the actual migration amount of the localization center calculated from the actual verified benchmark target pose. and These represent the actual positioning centers obtained by calculating the window based on the same positioning center after incorporating the actual data from the current and previous verification and detection action loops; superscript This indicates that the parameter was calculated from the actual verification results.
[0107] The center migration prediction loss, calculated using the actual results generated from the verification and detection action loop, is expressed as follows: ; in, This indicates the predicted loss due to center migration. This indicates the location center migration trend predicted by the center migration prediction branch in a loop for the corresponding verification and detection actions; This represents the actual migration of the positioning center; dividing by 6 is used to average the prediction errors for the six pose directions.
[0108] Following the same forward and reverse discretization calculation method described above, the following is obtained based on the actual verification benchmark target pose: ; The repeated location discrete state prediction loss is constructed as follows: ; in, This represents the loss for predicting discrete states in repeated positioning. and These represent the forward and reverse discrete states obtained from the discrete state prediction branch prediction, respectively; and 1 and 2 respectively represent the forward and reverse discrete states calculated from the actual verified benchmark target pose; 12 corresponds to the total number of six forward discrete components and six reverse discrete components.
[0109] Simultaneously, based on the degree to which the actual target pose exceeds the predicted positioning error domain, the error domain verification loss is established and expressed as follows: ; in, This represents the loss for verification of the prediction and localization error domain. When the verified reference target pose is within the corresponding prediction and localization error domain, the loss corresponding to that pose direction is 0. When the verified reference target pose exceeds the prediction and localization error domain, the greater the distance it exceeds, the greater the corresponding loss. In order to be with the first The prediction and localization error domain corresponding to the verification and detection action loop is in the _ ... The lower boundary in each pose direction; For the first The verification benchmark target pose corresponding to the verification detection action loop is in the 1st... The actual deviation component in each pose direction; For the corresponding prediction and positioning error domain in the th The upper boundary in each pose direction.
[0110] Since the position and orientation directions have been standardized, and the three losses mentioned above have been averaged according to their respective output dimensions, the feedback update loss for a single feedback sample is expressed as: ; in, This indicates that the feedback update loss has been received.
[0111] The updated sample set, composed of the feedback sample set and the historical updated samples from the original deep learning prediction model for repeated positioning accuracy, is represented as follows: ; in, This indicates that the model updates the sample set; This refers to the set of historical updated samples that are retained or extracted from the original historical training samples. This represents the set of feedback samples generated by the current verification and detection action loop; the historical update samples are used to prevent the model from only adapting to the current verification data and weakening its ability to predict the original repeated localization states.
[0112] The historical update sample set is retained or extracted from the original historical training samples according to the detection conditions and pose states. Specifically, historical samples with the same or similar target detection pose, running speed, load state and detection action cycle conditions as the current industrial robot to be detected are first retained. Then, the historical samples are extracted in layers according to the distribution range of the benchmark target pose, so that the extraction results simultaneously cover states such as stable positioning center, positioning center migration and changes in the degree of repeated positioning dispersion. For a large number of similar samples, they are extracted at equal intervals, and finally a historical update sample set with controlled scale and representative of the original historical data distribution is formed.
[0113] The parameter update using the average loss of the updated sample set is expressed as: ; in, This represents the total loss during the model update phase; This indicates the number of historical update samples that participated in this update; Indicates the number of feedback samples; Indicates the first The loss corresponding to each historical updated sample; Indicates the first Feedback update loss corresponding to each feedback sample.
[0114] The parameters of the deep learning prediction model for repeatability accuracy are represented as follows: ; in, Indicates the first The set of trainable parameters for the temporal coding layer, center migration prediction branch, and discrete state prediction branch before the next update; This represents the updated model parameters; This represents the gradient of the total loss with respect to the model parameters; This indicates that the learning rate is updated in response to feedback.
[0115] Feedback to update learning rate During the model building phase, multiple candidate learning rates are tested using independent validation samples. The updated center migration prediction loss, repeated localization discrete state prediction loss, and the original historical validation sample loss are compared. The learning rate that reduces the prediction loss of the feedback samples without significantly increasing the loss of the historical validation samples is selected as the learning rate. And remain unchanged in the same detection task.
[0116] The verification and detection action loop can verify that the actual localization center migration deviation, repeated localization discrete deviation, and missing packets in the predicted localization error domain can be fed back to the temporal coding layer, the center migration prediction branch, and the discrete state prediction branch through feedback samples. This allows the updated repeated localization accuracy deep learning prediction model to continue to be used for the localization center migration trend, repeated localization discrete state, and predicted localization error domain prediction in subsequent detection action loops, thus forming a complete verification feedback loop.
[0117] Example 2 like Figure 4 As shown, the deep learning prediction and detection system for repeatability positioning accuracy of industrial robots includes the following modules: The repeatable positioning detection and reference correction module is used to control the industrial robot under test to run in a loop according to a preset repeatable positioning detection action, obtain the measured pose corresponding to the fixed regression pose and the target detection pose, and perform regression reference correction on the target detection pose in the same detection action loop according to the measured pose change of the fixed regression pose, so as to obtain a referenced repeatable positioning sequence arranged according to the detection action loop. The deep learning prediction module is used to input the benchmarked repeated positioning sequence into the repeated positioning accuracy deep learning prediction model according to the order of the detection action loops, identify the positioning center migration trend between adjacent detection action loops and the repeated positioning discrete state around the positioning center, and generate a predicted positioning error domain based on the positioning center migration trend and the repeated positioning discrete state. The verification detection and feedback update module is used to determine the verification detection action loop based on the predicted positioning error domain, verify the correspondence between the measured pose obtained from the verification detection action loop and the predicted positioning error domain, determine the repeatability accuracy detection result of the industrial robot, and use the verification detection action loop and its verification result as feedback samples to update the repeatability accuracy deep learning prediction model.
[0118] This invention encompasses any substitutions, modifications, equivalent methods, and solutions made within the spirit and scope of this invention. To provide the public with a thorough understanding of this invention, specific details are described in detail in the following preferred embodiments; however, those skilled in the art will fully understand the invention even without these details. Furthermore, to avoid unnecessary misunderstanding of the essence of this invention, well-known methods, processes, procedures, components, and circuits are not described in detail.
[0119] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A deep learning-based prediction and detection method for repeatability positioning accuracy of industrial robots, characterized in that, Includes the following steps: The industrial robot to be inspected is controlled to run in a cycle according to a preset repetitive positioning and inspection action, so that each inspection action cycle passes through the fixed return pose and the target detection pose in sequence; Based on the measured pose change corresponding to the fixed regression pose, the target detection pose in the same detection action loop is corrected by regression benchmark to obtain a benchmarked repeating localization sequence. Based on the benchmarked repeat localization sequence, the repeat localization accuracy is input into the deep learning prediction model according to the sequential relationship of the detection action loop; Based on the deep learning prediction model for repeated positioning accuracy, the migration trend of the positioning center between adjacent detection action cycles and the discrete state of repeated positioning around the positioning center are identified. Based on the location center migration trend and repeated location discrete state, the prediction positioning error domain is obtained; Based on the predicted positioning error domain, determine the verification and detection action loop that needs to be executed, and verify the actual pose obtained by the verification and detection action loop against the predicted positioning error domain. The repeatability accuracy test result of the industrial robot is determined based on the verification result, and the verification action cycle and its verification result are used as feedback samples to update the repeatability accuracy deep learning prediction model.
2. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 1, characterized in that, Within the workspace of the industrial robot to be tested, a fixed regression pose and a target detection pose are pre-determined. The industrial robot is then controlled to move from its current pose to the fixed regression pose. After the fixed regression pose is stabilized and stationary, the corresponding measured regression pose is obtained. The corresponding attitude fluctuation is: ;in, This represents the maximum attitude fluctuation relative to the average attitude within the current stability assessment window; Represents the average attitude quaternion transpose; Represents the inverse cosine function; Indicates the first In the detection action loop, the first detection action obtained at the fixed return pose is... The unit quaternion corresponding to each attitude measurement result; When the following conditions are met: and And maintain the preset stabilization time continuously. When the industrial robot under test is determined to have completed a stable stop in a fixed return pose, the average pose corresponding to the current stability judgment window is determined as the first... The measured regression pose of each detection action cycle is represented as: ; in, This is the position stability threshold; This is the attitude stability threshold; To stabilize the duration of the stop; This represents the homogeneous pose transformation matrix corresponding to the measured regressed pose. This represents the measured regression attitude rotation matrix; The measured regression position vector is represented by the vector, and the industrial robot to be detected is then controlled to move from the fixed regression pose to the target detection pose according to a preset approach path. ;in, Indicates the first The homogeneous pose transformation matrix corresponding to the measured target pose obtained after the industrial robot to be detected reaches the target detection pose and completes a stable stop in a detection action cycle; Indicates the first The measured target attitude rotation matrix corresponding to each detection action cycle; Indicates the first The measured target position vector corresponding to each detection action loop is obtained after the target detection pose is stabilized and stopped. One fixed regression pose movement and one target detection pose movement constitute a detection action loop, and multiple detection action loops are executed continuously in the same movement sequence.
3. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 2, characterized in that, According to the execution order of the detection action loop, the measured regression pose in each detection action loop is compared with the fixed regression pose, and the regression reference offset generated by the detection action loop relative to the fixed regression pose is determined as follows: ; ; ; in, For the first The regression baseline offset corresponding to each detection action cycle; Indicates the first The regression attitude baseline offset of each detection action cycle; Indicates the first The regression position reference offset of each detection action cycle; This represents the measured regression attitude rotation matrix; Represents the measured regression position vector; For the fixed regression posture rotation matrix, since the rotation matrix is an orthogonal matrix, its transpose is also its inverse matrix; The fixed regression position vector is determined in advance, and the regression reference offset is established to correspond to the measured target pose in the same detection action loop, so as to obtain the loop pose corresponding unit for each detection action loop. Based on the regression reference offset in each of the corresponding cyclic pose units, the reverse pose compensation for the corresponding measured target pose is expressed as follows: ;in, For the first The reference target pose corresponding to each detection action cycle; For the first The regression baseline offset corresponding to each detection action cycle; This is the homogeneous pose transformation matrix corresponding to the measured target pose; No. The reference target pose corresponding to each detection action cycle is represented as follows: ; ; ; in, For the first The reference target pose corresponding to each detection action cycle; This indicates the target attitude after correction based on the regression baseline; This indicates the target position after correction to the regression benchmark; and These represent the attitude and position corresponding to the measured target pose, respectively; Indicates the first The regression pose reference offset of each detection action cycle is used to reduce the influence of the overall pose reference migration on the target detection pose during the continuous repetitive operation of the industrial robot, so as to obtain the referenced target pose corresponding to each detection action cycle, and arrange the referenced target poses according to the order of the detection action cycles to form the referenced repetitive positioning sequence.
4. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 1, characterized in that, According to the sequence of detection action loops, the reference target poses in the reference repetitive localization sequence are sequentially input into the repetitive localization accuracy deep learning prediction model. The temporal coding layer of the repetitive localization accuracy deep learning prediction model establishes an inter-loop correlation between the current reference target pose and the reference target pose corresponding to the previous detection action loop, and performs temporal recursive coding on the pose changes of multiple consecutive detection action loops. The temporal coding layer uses a gated recursive structure for temporal recursive coding, represented as follows: ; ; ; ; in, Indicates the first The temporal hidden state corresponding to each detection action loop; This indicates the temporal hidden state corresponding to the previous detection action loop; This indicates the reset gate state used to control the degree to which historical states are retained; This indicates the update gate state used to control the degree of update of the current state; This represents the candidate time sequence state calculated cyclically based on the current detection action; This represents the Sigmoid activation function; Represents the hyperbolic tangent activation function; This indicates element-wise multiplication; , , and These represent the trainable weight matrices of the temporal coding layer; , These represent the corresponding trainable bias vectors; Indicates the first The temporal encoding input vector corresponding to each detection action cycle is used to obtain the repetitive localization temporal state that represents the evolution of the benchmark target pose with the detection action cycle.
5. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 4, characterized in that, The repeated localization timing states are respectively input into the center migration prediction branch and the discrete state prediction branch of the repeated localization accuracy deep learning prediction model. The center migration prediction branch determines the localization center migration trend corresponding to the subsequent detection action cycle based on the direction and continuity of the overall movement of the benchmark target pose in the continuous detection action cycle. The positive and negative deviations for each pose direction are calculated and expressed as follows: ; ; in, Indicates the number of elements in the current window. The degree of positive dispersion of each pose direction relative to the positioning center; This indicates the corresponding degree of inverse dispersion; Indicates the first The center deviation vector of the detection action cycle in the first... Components in each pose direction; This indicates the number of detection action loops contained in the current location center calculation window; The discrete state prediction branch determines the repeated positioning discrete state around the positioning center based on the deviation direction and degree of each benchmark target pose relative to the positioning center that changes with the cycle.
6. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 5, characterized in that, The location center migration trend and the repeated positioning discrete state are input into the error domain generation layer of the repeated positioning accuracy deep learning prediction model. Based on the location center migration trend, the predicted location center corresponding to the subsequent detection action loop is determined. Based on the repeated positioning discrete state, the predicted extension range around the predicted location center in each pose direction is determined. Using the predicted location center as the spatial range reference and the predicted extension range in each pose direction as the boundary constraint, in the standardized pose space, the first... The prediction and localization error domain corresponding to each detection action cycle is represented as follows: ; in, This represents the predictive localization error domain in the standardized pose space. Represents any standardized six-dimensional pose vector to be judged; This indicates that the vector is at the th... Components in each pose direction; Indicates the predicted location center at the th Components in each pose direction; and These represent the positive and negative prediction extension ranges in the pose direction, respectively; To restore the actual position and attitude dimensions, the predicted localization center is converted to the original pose coordinates as follows: ; And convert the prediction extension range in each direction to: ; ; in, This indicates the predicted localization center in the original pose dimension. One component; and These represent the forward and backward prediction extension ranges under the original pose dimensions, respectively; and Let the mean and standard deviation of the training samples in the corresponding pose direction be represented, respectively. The predicted localization error domain, which represents the spatial range that subsequent detection action loops may reach, is expressed as: ; in, For the first The predictive positioning error domain corresponding to each subsequent detection action loop; This represents the six-dimensional pose deviation vector in its original dimensions. Indicates its first Each pose direction component.
7. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 1, characterized in that, The verification requirements are determined based on the predicted expansion range of the predicted positioning error domain in each pose direction and the spatial relationship between the predicted positioning error domain and the preset repeatable positioning allowable range. When the predicted positioning error domain approaches or exceeds the preset repeatable positioning allowable range, the number of verification detection action loops that need to be executed is increased. When the predicted positioning error domain is stably within the preset repeatable positioning allowable range, the number of verification detection action loops that need to be executed is reduced. The corresponding verification detection action loop is expressed as follows: ; in, This indicates the number of verification and detection action loops that need to be executed continuously. Indicates the number of loops for the basic verification and detection actions; This indicates the threshold for determining the proximity of the predicted positioning error range to the preset allowable range for repeated positioning. Indicates the first The minimum normalized boundary margin of the predictive localization error domain corresponding to each subsequent detection action loop relative to the preset allowable range of repeated localization.
8. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 7, characterized in that, The industrial robot under test is controlled to execute the verification and testing action loop, and the measured pose corresponding to each verification and testing action loop is obtained. The corresponding verification benchmark target pose is obtained according to the same regression benchmark correction method as the benchmark repetitive positioning sequence. The spatial inclusion of each verification benchmark target pose and its corresponding predicted positioning error domain is checked to determine whether the verification benchmark target pose is located within the predicted positioning error domain. Based on the inclusion check results of the continuous verification and testing action loops and the positional relationship of the verification benchmark target pose relative to the preset repetitive positioning allowable range, the continuous verification and testing action loops are statistically analyzed to obtain the actual inclusion rate of the predicted positioning error domain, expressed as: ; The allowable range compliance rate for verifying the benchmark target pose is expressed as: ; in, This represents the actual coverage rate of the predicted localization error domain corresponding to the verification and detection action loop; This indicates the proportion of the verified benchmark target pose that is within the preset allowable range for repeated positioning. This indicates the actual number of verification and detection action loops performed. Indicates the first The inclusion verification result of the predicted positioning error domain corresponding to each verification and detection action cycle; Indicates the first The verification result of the benchmark target pose relative to the preset repeatable positioning allowable range; The maximum normalized out-of-bounds degree of the calculated and verified benchmark target pose relative to the preset repeatability range is expressed as: ; in, This indicates the maximum normalized out-of-bounds error rate in the entire verification and detection action loop; Represents the positive part function; and They represent the first The lower and upper limits allowed for each pose direction; The first verifies the benchmark target pose. The repeatability accuracy test result of the industrial robot is obtained by considering each pose direction component.
9. The deep learning prediction and detection method for repeatability positioning accuracy of industrial robots according to claim 8, characterized in that, Establish a cyclic correspondence between the verification benchmark target pose, its corresponding predicted localization error domain, and the inclusion verification result for each verification detection action loop, forming feedback samples. These feedback samples are then appended to the update sample set of the repetitive localization accuracy deep learning prediction model. Based on the actual deviation between the verification benchmark target pose and the predicted localization error domain, the temporal coding layer, center migration prediction branch, and discrete state prediction branch of the repetitive localization accuracy deep learning prediction model establish an error domain verification loss based on the degree to which the verification benchmark target pose actually exceeds the predicted localization error domain. ; in, This represents the error domain verification loss for prediction and positioning. In order to be with the first The prediction and localization error domain corresponding to the verification and detection action loop is in the _ ... The lower boundary in each pose direction; For the first The verification benchmark target pose corresponding to the verification detection action loop is in the 1st... The actual deviation component in each pose direction; For the corresponding prediction and positioning error domain in the th The upper boundary in each pose direction enables the updated repetitive positioning accuracy deep learning prediction model to be used for subsequent detection of the positioning center migration trend of action cycles, repetitive positioning discrete state, and prediction of positioning error domain.
10. A deep learning prediction and detection system for repeatability accuracy of industrial robots, used to implement the deep learning prediction and detection method for repeatability accuracy of industrial robots as described in any one of claims 1-9, characterized in that, Includes the following modules: The repeatable positioning detection and reference correction module is used to control the industrial robot under test to run in a loop according to a preset repeatable positioning detection action, obtain the measured pose corresponding to the fixed regression pose and the target detection pose, and perform regression reference correction on the target detection pose in the same detection action loop according to the measured pose change of the fixed regression pose, so as to obtain a referenced repeatable positioning sequence arranged according to the detection action loop. The deep learning prediction module is used to input the benchmarked repeated positioning sequence into the repeated positioning accuracy deep learning prediction model according to the order of the detection action loops, identify the positioning center migration trend between adjacent detection action loops and the repeated positioning discrete state around the positioning center, and generate a predicted positioning error domain based on the positioning center migration trend and the repeated positioning discrete state. The verification detection and feedback update module is used to determine the verification detection action loop based on the predicted positioning error domain, verify the correspondence between the measured pose obtained from the verification detection action loop and the predicted positioning error domain, determine the repeatability accuracy detection result of the industrial robot, and use the verification detection action loop and its verification result as feedback samples to update the repeatability accuracy deep learning prediction model.
