A method and system for spatiotemporal dual-domain adaptive collision checking of a robot arm
By using a conservative approach to assess insufficient clearance and predicting computational costs, combined with time segmentation and geometric precision upgrades, the problem of insufficient clearance in dynamic obstacle environments during robotic arm motion planning was solved, thus improving verification efficiency and accuracy.
Patent Information
- Application Number
- CN202611673329.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-27
AI Technical Summary
In robotic arm motion planning, existing technologies may miss obstacle crossings when performing motion segment verification in dynamic obstacle environments by sampling at fixed times, and increasing the sampling density will increase the computational workload. Furthermore, finite sampling clearing itself cannot serve as continuous time clearance verification, resulting in insufficient verification.
By adopting a conservative approach to insufficient clearance certification and estimated computational costs, and by selecting either time-based subdivision or geometric precision upgrades, combined with work weighting for selective refinement, geometric calculations are reduced while maintaining the distinction between certification pass and conditional collision witness criteria.
Given a computational budget, some geometric calculations for dynamic obstacle movement segment verification are reduced, improving the efficiency and accuracy of certification and avoiding unnecessary computational work.
Smart Images

Figure CN123169130A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to geometric calculation and collision verification of motion segments in robot motion planning, specifically to a collision verification method and system that selects time subdivision or geometric precision upgrade within the time interval of local link obstacles based on the conservative clearance certification deficiency and the expected calculation cost. Background Technology
[0002] When a robotic arm performs a motion segment in a dynamic obstacle environment, fixed-time sampling only checks a limited configuration and may miss obstacle crossings between sampling moments. Increasing the sampling density will increase computational workload, but clearing the limited samples alone cannot serve as a continuous-time clearance verification.
[0003] Existing research has combined adaptive temporal checking, hierarchical geometric distance lower bounds, link workspace motion upper bounds, and local object pair processing. Schwarzer, Saha, and Latombe's *Adaptive Dynamic CollisionChecking for Single and Multiple Articulated Robots in Complex Environments* discloses such a framework, whose refined checker further combines bounding volume pairs with temporal segments. This invention does not distinguish itself by these basic modules or their general combinations. This article is from IEEE Transactions on Robotics, 2005, Vol. 21, No. 3, pp. 338–353.
[0004] When different geometric orders involve varying computational workloads, and the degree of relaxation in interval motion boundaries and geometric queries can lead to insufficient certification, a fixed refinement order may not be suitable for the current item to be inspected. It is necessary to clearly define which local time interval should be shortened or which link-obstacle pair's geometric query accuracy should be improved in the next calculation, and to ensure that this choice is distinct from the final certification criteria. Summary of the Invention
[0005] The technical problem this invention aims to solve is: given a robotic arm motion, geometry, and observation error model and a shared computational budget, to reduce the geometric calculations required to obtain a identifiable result in dynamic obstacle motion segment verification, while maintaining the distinction between authentication success, conditional collision witnessing, and authentication failure. Specifically, the insufficient authentication amount of the same local inspection item is used to truncate the two types of expected benefits, and then refined based on the workload weight; reducing the total time consumption for all inputs is not recommended.
[0006] This method obtains the starting point, ending point, actual joint interpolation function, and execution interval [t0,t1] of the robotic arm joints. It also obtains the axis-aligned bounding box, nominal translation speed, observation validity period, and upper bound of coordinate-by-coordinate translation error for each obstacle at the observation time. Furthermore, it obtains the strictly positive net clearance threshold σ and shared computation budget, and configures multiple geometric query levels for the links that can generate conservative distance lower bounds. Figure 1 S101 corresponds to this input step.
[0007] The items to be inspected are associated with link identifiers, obstacle identifiers, time sub-intervals [a,b], geometric query level, lower bound set of distances from the same midpoint, and subdivision depth. Initially, the lowest-level items to be inspected covering [t0,t1] are established for each link-obstacle pair. Unresolved items are maintained in a priority queue, and certified items are saved without further refinement. Figure 1 S103 corresponds to this initialization step.
[0008] For the selected item to be inspected, let m = (a + b) / 2 and h = (b - a) / 2. Calculate q(m) using the actual interpolation function. Perform a geometric query on the midpoint box of the obstacle after error inflation to obtain the legal lower bound. d is the maximum value of the legal lower bound already obtained for the item at the same midpoint, and u is the minimum point box distance from the source geometric vertex to the inflation box. Here, the error inflation amount is explicitly e(b), not e(m), and both the lower and upper bounds are obtained for the same inflation box. Figure 1 S104 corresponds to the midpoint query and witness candidate check steps.
[0009] Let M be the sum of the upper bounds of the nominal motion displacements of the robot and the obstacle relative to the midpoint. Construct the authentication margin μ, the authentication deficiency δ, and the geometric query uncertainty width G. Authentication is performed on the entire subinterval of the pair when μ≥0 and σ>0; refinement selection is only performed when μ<0 using δ and G. Figure 1 S106 corresponds to the certification margin determination.
[0010]
[0011]
[0012]
[0013] For the allowed time-division operation T and the local geometry upgrade operation corresponding to the target geometry query level r Let g(T) = M / 2 and g( )= G, where The dimensionless expected return coefficients are preset according to the target level; the specific values of L1 and L2 are shown in
[0028] . c(T) is the preset time operation workload weight, c( The working weight corresponds to the number of primitives or the number of preset support directions at the target level; in this embodiment, the mapping and benefit coefficient remain unchanged within a single request. The expected benefit is truncated to the current insufficient amount δ, and all allowed operations are compared according to the following formula, with the operation having the highest score selected. c uses a dimensionless weight on a common pricing scale for both types of operations, with a unit weight of 1, not milliseconds or actual query time; g, δ, and G are all in meters. The expected benefit does not guarantee that the actual margin will increase by the same amount after execution and is not used as a basis for authentication.
[0014]
[0015] When choosing time bisection, only [a,m] and [m,b] sub-items are generated for the link-obstacle pair. The kinematic boundary is re-queried and recalculated at the new midpoint. When choosing geometric upgrade, only the query level of the current item is increased, and the existing valid lower bounds at the same midpoint are retained and the maximum value is taken. Only one of the two operations is performed this time, and other certified intervals remain unchanged. The two new sub-items of time bisection are both set to L0 and the lower bound set is cleared; geometric upgrade retains the original [a,b] and m, adds the new lower bound to the set, and takes the maximum value. This local retention rule only applies to items where the model, obstacle observation, and interval have not changed within the same request, and it does not encourage direct reuse of certificates across time periods, across observations, or across requests.
[0016] Output COLLISION_WITNESS when a source geometry vertex collision witness is obtained; output SAFE_CERTIFIED when the authentication interval of all links and input obstacle pairs covers the entire execution interval; output UNKNOWN when no witness is obtained and budget or refinement constraints prevent the remaining interval from being authenticated. Return INVALID_MODEL and EXPIRED_OBSERVATION for invalid model and expired observation, respectively.
[0017] The corresponding system includes a processor and a memory for storing programs. The program forms a geometric query module, a motion domain calculation module, an obstacle and validity period processing module, a dual-domain refined scheduling module, and a certificate and result module. The same process can be implemented by a program stored in a computer-readable storage medium; this system is a verification calculation system and does not require a physical robotic arm control output module.
[0018] In validated scenarios, this processing relationship alters the allocation of computational workload between time splitting and fine-grained geometric queries, reducing some unnecessary fine-grained geometric work under the same conservative certification criteria. This effect depends on input and cost settings and does not guarantee fewer queries, lower total time, or globally optimal scheduling across all scenarios.
[0019] The accompanying diagram is described below.
[0020] Figure 1This is the overall algorithm flowchart. S101 represents the input of the robotic arm motion segment, obstacle observation, positive clearance threshold, and budget calculation; S102 represents the verification of the model and observation validity period, returning the corresponding abnormal state when the conditions are invalid; S103 represents the initialization of the link-obstacle to be inspected items; S104 represents the extraction of the to be inspected items and the geometric query and witness check at the midpoint, returning the collision witness when a source geometric vertex witness that meets the conditions is obtained; S105 represents the calculation of the relative motion boundary and certification margin; S106 represents the interval certification based on the certification margin, saving the interval certificate for the passed items, and outputting certification passed when the certificates of all link-obstacle pairs cover the executed interval; S107 represents the check of the remaining budget and allowed refinement operations, outputting failure to be certified when it cannot continue and there are still uncertified intervals; S108 represents the scoring of allowed refinement operations and the execution of the selected local update, and then returning to the to be inspected item processing.
[0021] Figure 2 This is a schematic diagram of a three-layer geometric representation, using two-dimensional projection to illustrate the three-dimensional geometric relationships. Figure 2 (a) P represents the boundary of the convex hull of all source geometry vertices of the source STL on the projection plane; Figure 2 (b) L0 represents the single capsule envelope covering the geometry of the target link, with the capsule axis indicated by a dashed line; Figure 2 (c) L1 shows a preserved volume cell and its eight corner points, the local capsule covering the cell, and the projected outline of the target convex hull. The remaining preserved cells and their capsules are not drawn one by one to avoid occlusion. The actual L1 query uses all preserved capsules. Figure 2 (d) L2 shows the projection intervals of the link target geometry and obstacle bounding box in one direction, as well as their separation intervals. The L2 query also checks other unit directions, obtaining conservative distance lower bounds based on the projection intervals in each direction. Figure 2 The middle views use different projection directions. Each view is intended to help understand the geometric relationships and should not be used to determine 3D collision based on the overlap of projections.
[0022] Figure 3 This is a schematic diagram for time-conservative clearance certification. a and b represent the start and end times of the interval to be inspected, and m is the midpoint. The three upper positions represent two-dimensional representations of the robotic arm model and obstacles at the corresponding times. The connecting lines represent the connection between the origins of the model bodies, and the dashed capsule represents the L0 geometric envelope projection of the selected link. The dashed frame outside the nominal box of the midpoint obstacle represents the box obtained by expanding according to the upper bound of the interval error e(b). Figure 3The lower part is a conceptual diagram of midpoint distance query: the circle represents a schematic cross-section of the link envelope, the inner and outer squares represent the obstacle's nominal box and expansion box, respectively, d represents the conservative lower bound of the distance obtained from the expansion box; M represents the sum of the upper bounds of the nominal motion of the robot and the obstacle relative to the midpoint, σ represents the positive clearance threshold, and μ=d−M−σ represents the authentication margin. The projected positions at the three moments and the lower schematic diagram do not represent the actual measured distances, nor do they replace continuous-time authentication within the interval with finite-time graphics.
[0023] Figure 4 A flowchart is used to select time and geometric refinement. For items to be inspected with insufficient certification margin, the certification insufficiency δ and the upper and lower bounds of the query G are calculated; allowable operations for time bisection and local geometric upgrade are formed respectively, and the expected benefit g and work weight c of each operation are determined. They are compared according to the score S and one of them is selected. In the figure, κ is the geometric expected benefit coefficient of the example, 0.5 and 0.85 correspond to upgrade to L1 and L2 respectively, and do not represent the proven global optimum; the score is used to select refinement operations, and certification is still based on the recalculated conservative margin.
[0024] Figure 5 This is a local link-obstacle interval update graph. A represents the certified local task and the retained interval certificate; B represents the current interval to be inspected [a,b] and its midpoint m. When time bisection is selected, two sub-intervals [a,m] and [m,b] are generated, and their respective new midpoints are re-queried from L0; or when geometry upgrade is selected, the original interval and midpoint m are retained, and the newly obtained effective lower bound is the maximum of the previous effective lower bound of that midpoint. One of the two operations shown is executed in a single selection. C represents other items to be inspected and their queue states are maintained; the certified A is not recalculated due to the update of B.
[0025] Figure 6 This is a status diagram for the authentication result. 601 indicates an input motion segment verification request; 602 indicates a model and observation validity period pre-check, corresponding to abnormal outputs for invalid models and expired observations, respectively; 603 indicates midpoint query, interval authentication, and local refinement processing. Authentication passes when the certificate coverage of all link-obstacle pairs extends to the execution interval; collision witness is output when a source geometry vertex witness meeting the error conditions is obtained; authentication fails when no witness is obtained and the budget or refinement conditions are insufficient to complete the authentication. The above figures illustrate the relationship between the model, algorithm, and data, and do not represent any new hardware structures.
[0026] The specific implementation method is as follows.
[0027] The following implementation uses the seven-link source STL, URDF, and MuJoCo kinematic models of Fairino FR3. The certification object is the continuous-time clearance between the conservative convex hull of the source CAD link and the explicitly input translational AABB obstacle under a given actual interpolated motion, dependent on the listed models and error bounds; it does not constitute a guarantee of the manufacturing accuracy, tracking error, or physical safety of the physical robotic arm. Unexpectedly input ground, self-collision, tools, and cables are not included in the certification object of this embodiment. Figure 6 601 indicates a request for input, and 603 indicates the midpoint query, authentication, and local refinement loop in this implementation.
[0028] For link l, read all source geometry vertices V after scaling and local pose transformation, and define the target conservative geometry P = conv(V). Points within a triangular face are convex combinations of three vertices, therefore all continuous triangular faces are contained within P; for closed bounded source entities, their interiors are also contained within P. This construction may fill in depressions, and the distance to P cannot be considered the precise distance of the original non-convex entity. This specification uniformly refers to the source STL model vertices after scaling and local pose transformation as source geometry vertices, and V is the set of these vertices; witnesses use the vertices actually stored within V, and do not use outer corner points to impersonate source geometry vertices. In this method, P is used as the common model geometry to be authenticated at each query level; the cumulative lower bound of the same midpoint is only used within the same request where the motion segment, model, obstacle observation, interval, and corresponding dilatation box remain unchanged.
[0029] The first level, L0, consists of a single capsule. A capsule is fitted to all V values, with a numerical margin added, and each vertex is checked to ensure its distance to the axis segment is no greater than the radius. The capsule is a convex set, containing all V values, which in turn contains P; its distance to the obstacle box is a conservative lower bound of the distance between P and the obstacle box. Outer overlap only indicates that separation failed at this level.
[0030] The second level, L1, divides the complete local bounding box into closed volume units of 2×2×2. A unit is discarded only if its supporting projection area is strictly separated from the full vertex projection area of P. Each retained unit uses a capsule covering its eight corner points; convexity ensures that the capsule covers the entire unit volume. The union of all retained capsules therefore includes P, and the lower bound of the distance to the obstacle box is the minimum distance between each capsule. In this embodiment, each of the seven links retains eight units.
[0031] The third-level L2 calculates the support projection for all V values. It calculates the projection separation interval from the obstacle box along the world coordinate axes, the transformed local PCA, the combined direction, and the existing projection tool direction. The maximum non-negative interval is taken, and the numerical margin is subtracted as the lower bound of the distance. The projection interval in any unit direction is no greater than the Euclidean distance; therefore, this lower bound is conservative. In this embodiment, L2 actually calculates 34 to 37 directions, including repetitive directions within the reuse tool; a finite lower bound of zero for certain directions does not prove entity collision.
[0032] The source geometry vertex belongs to P, and its minimum distance u to the obstacle box is not less than the distance from P to the box, so it can be used as an upper bound. G=max(0,u−d) includes both the outer bound and the relaxation of the finite direction query; G is not the measured tight geometric outer bound error, and it is not guaranteed that the actual lower bound will necessarily increase after increasing the precision level. The levels do not need to be nested, and taking the maximum value of the legal lower bound with the same midpoint is still conservative.
[0033] It can also record a relaxed upper bound for the geometric outer bound error: Let c be the mean of all V values, then c belongs to P; when the capsule ends are A and B and the radius is r, the distance from any point in the capsule to P is no greater than max(‖A−c‖,‖B−c‖)+r. L1 takes the maximum value of this quantity for all retained capsules; L2 has zero representation error for the target P, but the projection query relaxation is not zero. The lower bound of the distance has been incorporated into the conservatism through the outer bound relation, and this geometric error is not deducted again.
[0034] With z = (t−t0) / (t1−t0), the program supports monotonic interpolation of z, z², or 3z²−2z³ for each joint, and q(j,t) = q_start(j) + (q_end(j)−q_start(j))f(j,z). The absolute upper bound ω(j) of the analytic derivative is calculated for each sub-interval, and the peak position of the cubic derivative is truncated to 0.5 within that sub-interval; if a valid motion bound cannot be obtained, the program is not certified. Joint endpoints are checked for model limitations, and monotonic interpolation ensures that intermediate states remain within the endpoint range.
[0035] Ancestor joints are determined along the kinematic parent-child chain. For non-ancestor joints, R(l,j) = 0; for ancestor joints, the maximum radius of all link vertices relative to the origin of the link body is taken, plus the sum of the lengths of all fixed translation vectors along the path from the joint body to the link body, and a numerical margin. Triangle inequalities ensure that this quantity covers the lever arm from the joint to the link point under any support configuration. The current model has zero joint anchor point offset; the prototype does not accept this type of construction with non-zero anchor points.
[0036] The upper bound of the path length of the robot point relative to the midpoint of the interval is obtained from the upper bound of the angular velocity of each ancestor joint. The upper bound of the translation of the obstacle nominal box is given by the velocity vector v. The two are added together. Figure 1 S105 corresponds to the calculation of the kinematic boundary and the subsequent margin calculation.
[0037]
[0038]
[0039] Let the observation time be t_obs, τ = t − t_obs ≥ 0, and the error be the L∞ bound of the coordinate-by-coordinate translation e(t) = e_p + e_vτ + 0.5e_aτ², where the three error parameters are non-negative. Expanding the nominal box at the midpoint along each axis according to e(b) covers the allowable error for the entire interval; the nominal velocity translation is still included in M by h‖v‖. The error is no longer repeatedly counted as Euclidean displacement. This embodiment does not handle predictions involving obstacle rotation, deformation, or no upper bound. In the source code, t_obs corresponds to acquired, e_p, e_v, and e_a correspond to position_error, velocity_error, and acceleration_error, respectively, and radius(t) gives the error radius at time t. Since the parameters are non-negative, e(t) does not decrease with time, and e(b) is the upper bound of the error radius for this interval; the query call box(mid, error_at=b) does not treat e(m) as the upper bound of the error for the entire interval. For each t, the translation error vector is allowed to belong to E(t) = [−e(t), e(t)]³.
[0040] For any t belonging to [a, b], the robot's geometric displacement relative to the midpoint does not exceed B, the nominal translation of the obstacle does not exceed h‖v‖, and the error is covered by the midpoint expansion box. The change in distance with the displacements on both sides does not exceed the sum of the displacements, therefore the net clearance of the entire interval is at least d−M. The interval certification is valid when d−M≥σ>0. The numerical implementation uses 1e−7 m protection quantity and does not use outward rounding interval arithmetic; the machine floating-point error must be covered by this assumption for this mathematical condition to apply.
[0041] For items that fail, the expected return from the time bisection is taken as M / 2, and the expected return coefficient is applied to L1 or L2. The values are 0.5 and 0.85, respectively, which correspond to 0.5G and 0.85G. The time operation workload weight c(T) = 10. The L1 workload weight is taken as the number of reserved volumetric units, which is 8 in this embodiment; the L2 workload weight is taken as the number of pre-set support directions of the link plus 18, which is 34 in this embodiment. This mapping is set by the target query workload structure and remains unchanged in this verification, without online learning. The actual L2 direction test may be between 34 and 37. The budget before the query is reserved based on the worst-case workload and counted according to the actual workload. The scoring weight should not be regarded as the budget consumption. Figure 4 κ is merely the expected geometric return coefficient, not a global optimum or a constant with special critical effects. The coefficients and weight symbols described are used to describe this type of fixed mapping; existing experiments only verify the explicitly configured values in this section and do not claim that other values have the same computational return.
[0042] Time candidates are generated only when M>0 and the depth and number of splits are still allowed; geometric candidates are only unreached levels higher than the current level, allowing L0 to go directly to L2. The S(o) scores of all allowed operations are compared; in case of a tie, the first candidate is selected in the fixed order of time, L1, L2. Expected returns do not guarantee a corresponding increase in the actual margin after execution; a re-query is required. The prototype does not have online learning costs, predict the global optimum, or pre-exclude all options unsuitable for the remaining budget. Figure 1 The S108 corresponding rating selection and partial update.
[0043] Initially, items to be inspected are given a fixed high priority; after processing failed items, they are returned to the queue based on the number of insufficient certifications, and the initial priority of the time-based sub-item is half of the parent item's insufficient priority. Figure 5 The certificate for the already certified pair A is maintained. Only the selected pair B is split or upgraded, while the original queue state of pair C is retained. If the new time midpoint is different, the distance from the parent midpoint cannot be used; if the geometric upgrade midpoint is the same, the lower bound of the valid distance can be accumulated. Figure 5 Pairs A, B, and C represent different link-obstacle local tasks; only the selected interval for pair B is updated, while the certificate for pair A and the queue state for pair C are retained, and pair A is not recalculated.
[0044] All items to be inspected share the same upper limit on the number of queries and primitive or direction tests for linkage obstacles. Before querying, the remaining budget is checked based on the worst-case operation volume of the required level; if not met, the entire certification is terminated and UNKNOWN is returned. Time-based binary search is also limited by the total number of queries and depth; UNKNOWN is also returned if no operations are allowed and the current process has not yet passed. Existing partial certificates or those kept in place cannot be automatically treated as a complete certification pass. Figure 1 S107 corresponds to this resource and allows operation checks; the budget is still verified before the actual query.
[0045] Each midpoint geometry query first retrieves a candidate point from the source geometry vertices within the expansion box, then calls `robust_inside(point,m)` to verify whether it is strictly within the nominal midpoint box eroded coordinate-by-coordinate according to e(m) and included in the numerical protection quantity. If a reliable witness is found, the query returns immediately without calculating the motion bound or refinement score for that item. Only when no reliable witness is found does the lower bound of the same midpoint accumulate, M and the certification margin are calculated, and then refinement is performed as needed. Let the nominal box coordinates be [L(m), U(m)], the world coordinates of the candidate vertex be x, and η = 10⁻ 7 The sufficient condition for witnessing is that all coordinates i satisfy the condition. The box(m) already contains the expansion e(m). The program then adds and subtracts 2e(m) and η respectively, which is equivalent to the above erosion. The authentication query box still uses the upper bound of the interval error e(b), and they are not mixed. No witness is granted if no candidate is obtained, or if it is only in an expanded box or an overlapping outer box. The prototype only verifies the selected candidate and does not enumerate all internal vertices. Cases such as edge-face intersections may not be authenticated. This result is only a conditional intersection witness under the source CAD model, translation AABB, and error set, and is not a real collision proof of the physical robotic arm.
[0046] The pre-check criteria include a strictly positive threshold, geometric verification, consistent model fingerprints, valid motion and obstacle error boundaries, unique obstacle identifiers, and valid joint states. Observation times must not be later than the requested start point, and the validity period must not be earlier than the requested end point. If the entire requested segment is not covered, EXPIRED_OBSERVATION is returned, and the validity period is not automatically extended. If the model and motion boundary conditions are not met, INVALID_MODEL is returned. Figure 1 S102 and Figure 6 602 corresponds to this pre-inspection.
[0047] Each certified item records the segment identifier, model identifier, link and obstacle identifiers, a and b, midpoint time and configuration, used geometry and lower bounds, final d, upper bound of geometric representation error, robot and obstacle motion boundaries, contribution of each joint, observation validity period and error amount, μ, and applicable assumptions. The entire segment is only approved after each pair of gap-free coverages [t0,t1]; the verification program can recalculate these lower bounds, motion boundaries, and coverage relationships. Verification uses the same geometry library and is not equivalent to independent formal verification. The recorded observation error amount is the upper bound of the interval e(b), while witness verification uses the point time e(m); the uses and fields of these two should not be confused.
[0048] The corresponding module implementations are robot_geometry.py, motion_bounds.py, obstacles.py, scheduler.py, and certificates.py. The FR3 read-only adapter converts the original platform's ObstacleState into a specified time-sensitive input, only mapping SAFE_CERTIFIED to accepted; it does not submit joint commands, does not modify the original SafetyGate, and contains no actual hardware control.
[0049] A total of 56,438 unique source geometry vertices were used in the actual FR3 seven-link system. 21 source geometry and compiled MuJoCo geometry world bounding box checks were performed under three orientations, with a maximum difference of 6.48 × 10⁻⁻⁶. 9 m; The maximum elemental difference between the URDF and MuJoCo volume transformations is approximately 1.139 × 10⁻ 6This is a software model coordinate verification, not a physical manufacturing precision measurement. All 18 unit and regression tests passed.
[0050] The existing experiments included 12 deterministic real-world FR3 model scenarios: A consisted of 8 fixed sampling segments, B of 64 fixed sampling segments, C of time-adaptive conservative checks using the same wide and narrow phases and a fixed L2 narrow phase, and D of the proposed method. Additionally, 6 supplementary comparisons were conducted in F03, F05, and F12 using the E error-dominant rule and the F fixed geometry stepwise rule, totaling 54 records. All four groups used the same threshold of 2mm, model, obstacles, and budget, with a default of 600 queries, 20,000 primitive or orientation tests, 100 binary splits, and a depth of 13.
[0051] F03 represents the sampling-interval crossing between a stationary robotic arm and a synthesized 20 m / s translational box. The HOME joint is (0,−0.8,1.2,−0.6,0.6,0), with a time interval of [0,1] s and a preset collision point at 0.37 s. Both A and B output only sample clearing, while C and D provide recalculated collision witnesses. C performs 2535 primitive or direction tests, 69 L2 queries, and 62 bisections; D performs 406, 2, and 79 tests respectively. This synthesized speed is not based on actual human body or camera measurements.
[0052] F05 The coarse capsule could not be separated, but the independent full-link AABB could prove separation. Both C and D passed. The number of primitive tests decreased from 75 to 57, and the number of geometric queries increased from 9 to 10. F12 includes slow joint movements and near obstacles. Both C and D have recalculation certification. The number of primitive tests decreased from 114 to 65, and the number of queries increased from 10 to 11. F12 does not have an independent universal truth label.
[0053] In F03, D and E performed 406 and 512 primitive tests and 2 and 8 L2 queries, respectively. However, D's time splitting (79 times) was higher than E's (72 times), and its total queries (158 times) were higher than E's (150 times). D also took longer than E for the same record. The D / E / F counts were the same for F05 and F12. Therefore, the evidence supports the difference in computational allocation in specific scenarios, but does not support the fact that this method is faster in all scenarios, nor can it be attributed to the scoring formula for all the benefits of multi-level geometry. The complete original program closest to the paper was not reproduced. C is not an equivalent implementation of all the algorithms in the paper, and therefore does not claim to be superior to the paper. In F03, D took 145.902 ms for a single record and E took 114.831 ms. It cannot be claimed that D is superior to E or F in all aspects. The original 54 records were not repeated for timing, and no statistical significance conclusion was drawn. The subsequent ablation and repeated timing are shown in
[0042] to
[0044] .
[0054] Model out-of-bounds errors, tampering, expired observations, and insufficient budget all exited independently. Certificates for 14 complete pass results and witnesses for 10 collision results out of 54 records have been verified; D did not receive an error SAFE in known collision scenarios, but zero errors in finite scenarios do not replace proof of correctness for all inputs. SAMPLED_CLEAR for fixed sampling is not considered a continuous certification result.
[0055] After the prototype was completed, independent ablation validation was performed on 12 existing input scenarios, 6 neighbor parameter configurations, and 6 budget reduction configurations. Each configuration had 5 strategies and was repeated 3 times, for a total of 360 runs. D represents the complete score for this embodiment; U only removes the insufficient authentication truncation for the benefit; V only removes cost normalization; W removes both; E uses the simple error-dominated rule for the motion bound and query upper and lower bound widths. The remaining geometry, obstacle information, error handling, authentication, and witness criteria are consistent with the budget for each configuration. The 24 configurations are not independent random population samples; the counts are consistent within 3 runs. Repeated runs are used for timing description and do not infer overall significance.
[0056] The primitive tests for F03 (D, U, V, W, E) were 406, 548, 681, 705, and 512, respectively, all yielding model collision evidence. D was reduced by 25.91%, 40.38%, and 20.70% relative to U, V, and E, respectively. Keeping the crossing position constant at 0.37 seconds, and changing the synthetic obstacle velocity to 18 and 22 m / s, the results were 236 and 276 for D, 280 and 394 for U, and 330 and 378 for E. These results support the primitive workload gain near the construction but do not demonstrate an advantage in safety certification pass rate, all velocities, or all inputs.
[0057] In F03, the average time taken for D and E in three rounds was 117.286 and 117.228 milliseconds, respectively, with sample standard deviations of 0.958 and 2.344 milliseconds, respectively, failing to establish a speedup advantage of D over E. D's 158 queries and 79 binary search queries were still higher than E's 150 and 72 queries, respectively. In F05, D / U / V / E each had 57 primitives, and W had 75. In F12, D / U / E each had 65 primitives, V had 59, and W had 114, indicating that the complete strategy did not have a universally minimum number of primitives. The final state categories of all 5-strategy configurations were the same, and F03 failed to validate under low budget conditions; no improvement in completion rate was observed. 270 SAFEs or witnesses completed the same model boundary recalculation or vertex internal verification. Limited verification does not prove that arbitrary inputs are absolutely safe, nor does it constitute a physical robot experiment.
Claims
1. A spatiotemporal dual-domain adaptive collision verification method for a robotic arm, characterized in that, include: The system acquires the joint interpolation function and execution time interval of the robotic arm joint motion segment, the link source STL model, the nominal motion and observation validity period of the translation axis aligned bounding box obstacle, the non-decreasing coordinate translation error bound e(t) after observation, the positive clearance threshold σ, and the shared computation budget; the vertices of the source STL model after scaling and local attitude transformation are defined as source geometric vertices, and the convex hull of all source geometric vertices of each link is used as the geometry of the model to be certified, and a geometric query level with a preset order and capable of generating conservative distance lower bounds is configured for the model geometry; Within the same verification request, an item to be inspected is established for each link-obstacle pair. The item to be inspected records the time interval [a,b], the current geometric query level, and the effective distance lower bound set at the midpoint m=(a+b) / 2. The initial item to be inspected covers the execution time interval and uses the lowest geometric query level and an empty lower bound set. When the shared computing budget allows for the current geometric query, the midpoint configuration is obtained according to the joint interpolation function. The nominal obstacle box at the midpoint is expanded by e(b) along each coordinate direction to obtain the expanded box, and a geometric query is performed on the current item to be inspected. The lower bound of the distance from the geometry of the model to be certified to the expanded box and the minimum point box distance u from all source geometry vertices to the expanded box are obtained. If there are source geometry vertices inside the expanded box, candidate vertices are obtained from them. If the world coordinates of the candidate vertex after the midpoint configuration transformation are strictly located inside the nominal obstacle box at the midpoint that is eroded coordinate by coordinate according to e(m) and includes positive value protection, then the source CAD model collision witness is output and the verification ends. If the collision witness is not obtained, the lower bound obtained from the current query is added to the effective distance lower bound set, and the maximum value of the set is taken as d. The upper bound of the relative displacement relative to the midpoint is determined according to the linkage motion boundary and the nominal motion boundary of the obstacle, and the certification margin μ=d−M−σ is calculated. When μ is not less than zero, the current item to be inspected is saved as an interval certificate and removed from the item to be inspected set. When μ is less than zero, calculate the authentication deficiency δ=σ+M−d and the upper and lower bounds of the query G=max(0,u−d). For the allowed time bisection operation T, set the expected benefit g(T)=M / 2. For each local geometric upgrade operation where the target geometric query level is higher than the current level... Set the expected return g( )= G, where The dimensionless expected return coefficient is preset for the target level r; the preset time operation work weight c(T) and the work weight c(t) corresponding to the number of primitives or the number of preset support directions at the target geometric query level are used. As an operational cost, according to The operation o with the highest score is selected, where c(o) uses a dimensionless work weight on a common pricing scale, and g(o), δ, and G are in meters. The revenue coefficient and work weight remain unchanged in this verification. Time-based binary split candidates are generated only when M is greater than zero and the number of splits and depth allow. Geometric upgrade candidates only point to target levels higher than the current level. When choosing time-division, only the current link-obstacle interval is divided into [a,m] and [m,b]. Each sub-item starts from the lowest geometric query level and the empty lower bound set, and re-establishes distance and motion boundaries at its new midpoint. When choosing local geometric upgrade, the current interval and midpoint remain unchanged, and the maximum value of the upgraded lower bound and the previous effective lower bound at the same midpoint is taken. The above lower bounds are accumulated only for the items to be inspected in the same request where the model, obstacle observation, time interval, and dilatation box have not changed. Other link-obstacle intervals that have already been certified are not recalculated. Repeat the query, authentication, and refinement process. The authentication pass determination for each interval is based on the recalculated conservative authentication margin rather than the expected revenue. When the interval certificates of all link-obstacle pairs cover the execution time interval, the authentication pass is output. If the collision witness is not obtained and the shared computing budget is insufficient to support the required query or there are no more allowed refinement operations and there are still unauthenticated intervals, the authentication failure is output.
2. The method according to claim 1, characterized in that, The geometric query level includes, in a preset order, a single capsule level L0, a local volume capsule union level L1, and a source geometry vertex support projection level L2; the capsule of L0 contains all the source geometry vertices of the link; L1 is constructed by dividing the local bounding boxes of the source geometry vertices into volume units of 2×2×2, only removing units that do not intersect with the convex hull after separation and determination by the support projection interval of all source geometry vertices, and covering the corresponding unit volume with capsules containing the eight corner points of each retained unit; L2 generates a conservative lower bound distance based on the projection separation interval between all source geometry vertices and the expansion box in a unit direction; in the kinematic model where the joint anchor point offset is zero, Obtain the upper bound of the relative displacement, where h = (b − a) / 2, l is the current link identifier, j is the joint index, R(l,j) for non-ancestor joints is zero, and R(l,j) for ancestor joints is the sum of the maximum radius of all source geometric vertices of the link relative to the origin of the link body, the sum of the lengths of the fixed translation vectors on the path from the joint body to the link body, and the sum of the numerical protection quantity. Let v be the upper bound of the absolute value of the derivative of the joint interpolation function in [a,b], and v be the nominal translational velocity of the obstacle.
3. The method according to claim 2, characterized in that, The expected return coefficients when the target levels are L1 and L2 The values are 0.5 and 0.85 respectively; c(T)=10, the working weight when the target level is L1 is equal to the number of retained volumetric units, and the working weight when the target level is L2 is equal to the number of local pre-set support directions of the link plus 18; when the current level is L0, the time bisection operation, the upgrade operation to L1 and the upgrade operation to L2 that meet the generation conditions described in claim 1 are listed as allowed candidates respectively, and the geometric upgrade target is set to L2 when the current level is L1; when the scores are the same, the first allowed candidate is selected in the order of time bisection, upgrade to L1 and upgrade to L2.
4. The method according to claim 1, characterized in that, The coordinate-by-coordinate translation error boundary is , where τ=t− Not less than zero For the observation time, , and These are the non-negative position error parameters, velocity error parameters, and acceleration error parameters, respectively; the internal condition for the collision witness is that for each coordinate i, the following condition is satisfied. ,in[ (m), [m] represents the interval of the nominal obstacle box at the midpoint on coordinate i. Let η be the world coordinate component of the candidate vertex, and η = 10⁻ 7 Meters; maintain the items to be inspected in a priority queue. The interval certificate records the motion segment and model identifier, link and obstacle identifier, time interval, midpoint configuration, geometric query level used and each effective lower bound, relative displacement upper bound, observation validity period and certification margin; before geometric query, check the remaining budget of the shared link-obstacle pair query times and the remaining budget of primitive or direction test times according to the worst workload of the required geometric query level. If the budget is insufficient, the verification ends and the output cannot be certified; perform a pre-inspection before initializing the items to be inspected. If the model fingerprint is inconsistent, the geometry has not been conservatively verified or the motion boundary is invalid, output the model is invalid. If the observation time is later than the start of the execution interval or the observation validity period is earlier than the end of the execution interval, output the observation expired.
5. A spatiotemporal dual-domain adaptive collision verification system for a robotic arm, comprising a processor and a memory, characterized in that, The memory stores a computer program, which, when executed by the processor, causes the system to perform the method according to any one of claims 1 to 4.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 4.
