A model-driven understandable physical world model building method

By using multi-view stereo reconstruction and uncertainty modeling, combined with the inter-frame motion priors of the inertial measurement unit, the contact and support relationships are inferred, and a physical scene graph is constructed. This solves the problems of high cost and weak adaptability to dynamic scenes in existing embodied intelligent agent environmental perception methods, and realizes the establishment of a high-precision and interpretable physical world model.

CN123181729APending Publication Date: 2026-11-27BEIJING XINGSI ZHIYUAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611456766.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing methods for environmental perception using embodied intelligent agents suffer from problems such as reliance on massive amounts of labeled data and high training computational costs, uninterpretable models, weak adaptability to dynamic scenes, and high deployment costs.

Method used

By employing multi-view stereo reconstruction and uncertainty modeling, combined with the inter-frame motion priors of the inertial measurement unit, and through geometric primitive extraction and parameterization, the contact and support relationships are inferred to construct a physical scene graph. Joint optimization is then performed through physical constraints to achieve model self-checking and incremental updates.

Benefits of technology

It enables the creation of physical world models driven by the entire model and with zero training data. It has high accuracy, interpretability and automatic layering capabilities, is suitable for embedded mass production, and has strong cross-scenario generalization ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure SMS_6
    Figure SMS_6
  • Figure SMS_7
    Figure SMS_7
  • Figure SMS_18
    Figure SMS_18
Patent Text Reader

Abstract

The application discloses a model-driven understandable physical world model establishment method, which sequentially executes five steps of multi-view stereoscopic reconstruction and uncertainty modeling, geometric primitive extraction and parameterization, physical scene graph construction, physical constraint joint optimization, model self-checking and incremental updating, is completely based on multi-view geometry, classical mechanics and numerical optimization principles, and does not need deep learning and labeled data. The application corrects the geometric reconstruction accuracy through the physical constraint, outputs the stable margin, anchoring degree and passability attribute with confidence, constructs the explainable and attributable physical scene graph, and simultaneously supports the hierarchical incremental updating of the dynamic scene. The application can run on an embedded platform without GPU, is suitable for the establishment of the inferable environment representation of a humanoid robot, a mobile robot and other equipment in an unstructured environment, and has the advantages of high precision, high explainability and low deployment cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of embodied intelligence and robotic environmental perception, specifically to a model-driven method for establishing an understandable physical world model. Background Technology

[0002] Embodied intelligent agents perform tasks such as carrying, grasping, and human-machine collaboration in the real physical world, which requires the establishment of an internal representation of the environment that possesses both metrical precision and physical relationships. Metrical precision needs to reach the millimeter to centimeter level to support fine operations, while the physical relationship representation needs to clearly define the support relationships between objects, surface load-bearing capacity, object stability, traversable areas, and static structural properties. Only when both are present can the intelligent agent make reliable reasoning and decisions in the environment.

[0003] Currently, existing methods for embodied intelligent agents to perceive are mainly divided into two categories: 1. Data-driven deep learning solutions include scene understanding based on large-scale visual models, 3D semantic segmentation and scene graph generation based on neural networks, and implicit scene representation based on neural radiation fields or 3D Gaussian splashing. These solutions have the following drawbacks: they rely on massive amounts of labeled data and training computing power, resulting in high costs for collecting and labeling data for a single scene; the internal representation is a black box, making inference results unattributable, unacceptable in safety-critical scenarios, and difficult to pass functional safety certification; generalization is constrained by the distribution of the training set, requiring retraining or fine-tuning for new scenes, and there is a catastrophic forgetting problem; inference relies on GPUs or dedicated accelerators, resulting in high power consumption and material costs, making them unsuitable for cost-sensitive mass-produced robots.

[0004] 2. Classical geometric vision mapping schemes rely on multi-view geometry, such as sparse point feature mapping, point-line-surface mapping, and TSDF dense reconstruction. These schemes have the following drawbacks: the resulting model consists only of low-level geometric primitives such as points, lines, and surfaces, without carrying any physical relationships; they implicitly assume a static scene, failing to distinguish between static structures and moving objects, meaning the model partially fails and cannot automatically detect changes in the environment; and the model cannot directly infer upper-level task planning, requiring additional semantic or geometric post-processing modules. Summary of the Invention

[0005] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method for building an understandable physical world model that is driven entirely by mathematical models and physical laws and requires no labeled data or deep learning modules. This solves the technical problems of existing solutions, such as the separation of physical reasoning and geometric reconstruction, poor model interpretability, weak adaptability to dynamic scenes, and high deployment costs.

[0006] To address the aforementioned technical problems, the present invention provides a model-driven method for establishing an understandable physical world model, comprising the following steps: Step 1: Multi-view stereo reconstruction and uncertainty modeling; Scene images are acquired using a calibrated multi-view vision system, and disparity maps are obtained through stereo matching. Depth information of dense point clouds is recovered through triangulation, and anisotropic covariance is established for each 3D point based on uncertainty propagation. Combining the inter-frame motion prior and feature matching of the inertial measurement unit, the point clouds of multiple frames are unified into the same coordinate system to obtain joint optimization initial values. Step 2: Geometric primitive extraction and parameterization; preprocess the point cloud and perform region growing segmentation to obtain connected clumps. For each clique, multiple parameterized geometric primitives are fitted with weights. The optimal primitive type is selected based on the Bayesian information criterion. The primitive parameters are solved and the parameter covariance is calculated. Large-area planar primitives are merged across clumps to extract the boundary polygons of the supporting surface. Step 3: Contact and support relationship reasoning and physical scene graph construction; Contact detection is performed based on the gravity direction, support polygons are constructed, signed stability margin and anchorage are calculated, and accessibility is determined by combining the three criteria of slope, clearance and reachability migration, and a physical scene graph containing node attributes and directed edge relationships is constructed. Step 4: Joint optimization of physical constraints; Construct a joint objective function that includes reprojection error, contact coplanar residual, gravity alignment residual, coplanar coaxial residual and stability barrier, and perform joint nonlinear optimization on camera pose, primitive parameters and 3D point coordinates, and use physical constraints to correct geometric reconstruction accuracy in reverse. Step 5: Model self-check and incremental update; Perform chi-square consistency test on the optimized residuals and output attributable model diagnostic results; Using static impossibility as the trigger condition, check the reconstruction error, external constraints and scene change assumptions in sequence, and perform hierarchical migration and local reconstruction on the changed objects.

[0007] Furthermore, in step one, stereo matching uses Hamming distance and gradient magnitude from Census transform to construct the matching cost, which is then aggregated through semi-global matching to obtain a disparity map and refined to sub-pixel quality; depth uncertainty is calculated as follows: calculate, Where Z is the depth, b is the baseline length, f is the pixel focal length, and σd is the standard deviation of the disparity estimate; the anisotropic covariance of the three-dimensional points is obtained by propagating the pixel and disparity uncertainties through the Jacobian matrix of the back projection function.

[0008] Furthermore, in step two, the weights for fitting the geometric primitives are determined by the covariance and normal uniformity of the points, and the weight calculation formula is as follows: , Where Σp is the covariance matrix of the point, n is the basic element normal vector, ni is the point normal vector, and η is the smoothing coefficient; the planar basic elements are solved using weighted least squares closed-form, while the cylindrical, sphere, and conical basic elements are solved using algebraic initial solution plus Gauss-Newton refinement; the covariance of the basic element parameters is calculated from the Fisher information matrix.

[0009] Furthermore, in step two, the Bayesian information criterion... , Where N is the number of fitting points, σ̂ 2 To fit the residual variance, k is the number of degrees of freedom of the primitives. The primitive type with the smallest BIC is selected as the parameterized representation of the clique. When merging large-area planes across cliques, the significance of the differences in plane parameters is tested by Mahalanobis distance, and the α-shape algorithm is used to extract the boundary polygons of the merged plane.

[0010] Furthermore, in step three, the formula for calculating the signed stability margin is as follows: , Where Πg is the projection operator along the direction of gravity, cb is the centroid of the supported primitive, H is the supporting polygon, and sd is the signed distance from the point to the boundary of the polygon; a positive stability margin indicates stable support, close to zero indicates critical stability, and a negative margin indicates static infeasibility.

[0011] Furthermore, in step three, the formula for calculating the anchorage is as follows: , Where l_b is the number of support chain jumps from the primitive to the ground root node, Ac is the contact area, and σ(・) is the S-shaped saturation function; anchorage is used to distinguish between static structures and movable objects, and the higher the anchorage, the less likely the object is to be moved.

[0012] Furthermore, in step three, accessibility is determined by three criteria that are met simultaneously: the angle between the normal to the support surface and the opposite direction of gravity does not exceed the maximum slope threshold, the clearance height above the support surface is not less than the height of the aircraft, and there is a reachable migration from the current standing surface to the support surface; the reachable migration requires that the height difference does not exceed the single-step crossing capability and the horizontal gap does not exceed the set threshold.

[0013] Furthermore, in step four, the joint objective function is: The first term is the robust kernel-weighted reprojection error, the second term is the contact coplanar residual, the third term is the gravity alignment residual, the fourth term is the coplanar or coaxial residual, and the fifth term is the stability barrier; the stability barrier ψ(s)=(max(0,s_min-s)).2 The stability margin is constrained within the feasible region; the joint optimization is solved using the Levenberg-Marquardt method, and the computation is accelerated by Schur complement elimination using the sparse structure.

[0014] Furthermore, in step five, the statistic for the chi-square consistency test is: , It follows a chi-square distribution with degrees of freedom equal to the total number of observations minus the total number of parameters to be estimated; when the test fails, it locates the specific primitive and physical relationship and outputs a diagnostic conclusion; when the scene change judgment is valid, it moves the corresponding object from the static skeleton layer to the movable body layer and triggers the reconstruction of the local area.

[0015] With the above structure, this invention has the following advantages: 1. Full model-driven, zero training data. All processing is based on multi-view geometry, numerical optimization, computational geometry, and classical mechanics, without any black-box learning modules. No data collection or annotation is required, and it can be used out of the box for completely new scenes. There is no catastrophic forgetting, nor is there any problem of out-of-distribution failure of the training set.

[0016] 2. Physics feeds back into geometry, providing theoretical support for accuracy. The standard deviation of single-point depth increases with the square of the distance, while the standard deviation of a plane primitive, which is a weighted fit of a large number of points, converges to the square root of the number of interior points. Therefore, the geometric accuracy of the supporting plane can be much higher than that of single-point depth. Contact constraints use a high-confidence plane reference to correct the low-confidence depth of small objects, and gravity alignment residuals eliminate pitch and roll drift during long-term mapping. This accuracy gain cannot be obtained through the existing "reconstruction first, annotation later" process.

[0017] 3. Automatic layering prevents the entire model from failing due to environmental changes. Anchoring ensures that immovable structures automatically separate from movable objects. When items are removed or containers are moved, the static skeleton layer remains effective, requiring only local updates and eliminating the need to rebuild the entire model.

[0018] 4. Physical attributes are given confidence levels, are explainable, attributable, and self-checkable. Stability margins are continuous quantities rather than Boolean labels, basic parameters have covariance, and model consistency is determined by the chi-square test. When contradictions occur, it can be pointed out which specific physical relationship conflicts with the observation, providing a basis for the transparency of functional safety certification and human-computer interaction.

[0019] 5. Lightweight and efficient, suitable for embedded mass production. The core algorithms are stereo matching, primitive fitting, and sparse nonlinear optimization, all of which can run in real time on general-purpose CPUs or embedded ARM processors without the need for a GPU. The power consumption and material costs are far lower than those of solutions that rely on deep learning.

[0020] 6. Cross-scenario generalization. The method does not rely on any object category vocabulary. Any structure that can be described by geometric primitives can be understood and utilized. The mechanism is consistent in scenarios such as factories, warehouses, homes, offices, and businesses. Detailed Implementation

[0021] The present invention will now be described in further detail.

[0022] Step 1: Multi-view stereo reconstruction and uncertainty modeling Dense point clouds are recovered using a calibrated multi-view vision system, and anisotropic covariance is established for each 3D point.

[0023] At least one pair of rigorously calibrated global shutter binocular cameras are used to simultaneously acquire scene images; in weakly textured scenes, a near-infrared speckle projector can be optionally added to form an active binocular system. After distortion correction and epipolar correction, the images are used as a reference, and the Hamming distance of the Census transform and the horizontal / vertical gradient magnitude are combined to construct a matching cost. The disparity map is obtained by multi-path semi-global matching (SGM) aggregation, and sub-pixel refinement is achieved by quadratic parabolic interpolation.

[0024] Depth is recovered from triangulation, and the propagation result of the first-order uncertainty at that depth is simultaneously provided: (1) Where b is the baseline length, f is the focal length (pixels), d is the disparity, and σd is the standard deviation of the disparity estimate. The second equation in equation (1) shows that the depth uncertainty increases with the square of the distance, which is the physical basis for all subsequent weightings.

[0025] Furthermore, the uncertainties of pixel coordinates and disparity are propagated to 3D points to obtain the anisotropic covariance: (2) In the formula, Jπ is the Jacobian matrix of the back projection function with respect to pixel coordinates and disparity. This covariance is used throughout the entire process of primitive fitting and joint optimization, and is the interpretable numerical basis of this invention—the reliability of any geometric quantity can be traced back to the imaging model itself.

[0026] Between consecutive frames, inertial measurement unit (IMU) integration is used to provide inter-frame motion priors and to give an estimate of the unit vector of gravity direction; combined with corner feature matching and random sampling consistency estimation of relative pose, the multi-frame point cloud is transformed to a unified coordinate system as the initial value for subsequent joint optimization.

[0027] Step 2: Geometric Primitive Extraction and Parameterization The point cloud is decomposed into parameterized geometric primitives, and the covariance of the parameters of each primitive is given.

[0028] Voxel downsampling and statistical outlier filtering are performed on the point cloud, followed by region growing based on the angle between normal vectors and curvature thresholds to obtain connected supervoxel clumps. For each clump, parametric primitives such as planes, cylinders, spheres, and cones are successively fitted.

[0029] Unlike conventional methods, the fitting weights in this invention are jointly given by the covariance and normal uniformity of the points: (3) The weighted fitting problem of planar primitives and its closed-form solution are: (4) The solution to this problem is the eigenvector corresponding to the smallest eigenvalue of the weighted centered covariance matrix, which can be directly obtained by singular value decomposition. d is obtained by substituting the weighted centroid into the plane equation. Similarly, the solutions for primitives such as cylinders, spheres, and cones are obtained using a two-step method of initial algebraic solution followed by Gauss-Newton refinement.

[0030] The covariance of the basic parameters is given by the Fisher information matrix and used for subsequent weighting and diagnosis. (5) In the formula, k represents the number of degrees of freedom of the basic element.

[0031] (6) The primitive type with the smallest BIC is taken as the parameterized representation of the clique, and its mathematical equation, parameter covariance, and envelope convex hull are recorded. Cliques that are not well fitted by any primitive are retained as dense point cloud clusters, which participate in adjacency relationships as unparalleled nodes in the scene graph but do not participate in pose constraints.

[0032] For large-area planes (ground, wall, countertop), cross-block merging is performed: if the parameter difference between two planes is not significant in the sense of their covariance (through Mahalanobis distance test), and their envelopes are adjacent in the plane, they are merged into the same primitive, and their boundary polygons are extracted using the α-shape algorithm to accurately determine the actual range of the surface that can be supported.

[0033] Step 3: Reasoning about contact and support relationships and constructing a physical scene diagram By deriving continuous and differentiable stability margins and anchorages from statics and computational geometry, a physical scene diagram is constructed. This module is the key difference between this invention and existing support relationship reasoning schemes: existing schemes output Boolean labels, while this invention outputs continuous, differentiable physical quantities with uncertainty.

[0034] (1) Contact detection and supporting polygon For a basic element b, take the set of its bottom points along the direction of gravity; if the directed distances of these points to the plane where the candidate supporting basic element a is located fall within the interval [0, ε], then record them in the contact point set B.

[0035] (2) Signed stability margin Let cb be the centroid of primitive b (taken as the geometric center of the point cloud under the assumption of uniform mass; if the density distribution is known, then weighted according to the distribution), Πg be the projection operator along the direction of gravity, and H be the supporting polygon. Then, define the signed stability margin: (7) Where sd is the signed distance (positive inside the polygon, negative outside), and the denominator is the square root of the area of ​​the supporting polygon, used to eliminate scale dependence and allow direct comparison of the stability margins of objects of different sizes. The physical meaning of this quantity is: how far the object needs to be pushed horizontally (relative to its own supporting scale) before it overturns. s>0: stable support, establishing a directed edge a supporting b with edge weight s; s≈0: critically stable, marked as prone to overturning, prompting the agent to interact cautiously; s<0: statically impossible. This invention does not simply mark it as a physical anomaly, but rather as a falsifiable hypothesis fed into step five, indicating either an error in reconstruction, the existence of unobserved external constraints (fixed, clamped, laterally pressed), or a change in the scene.

[0036] (3) Anchorage Anchorage strength describes how unlikely a primitive is to be moved, and it is the core quantity of this invention for dealing with dynamic scenarios: (8) In the formula, ℓb represents the number of support chain jumps of element b along the support edge to the root node on the ground, Ac represents the contact area, and σ(·) represents the S-shaped saturation function. The number of support chain jumps between the ground and the wall is zero, the contact area is extremely large, and the anchorage is close to 1; the number of jumps of the water cup on the table is two, the contact area is very small, and the anchorage is significantly low. This quantity is entirely derived from geometry and statics, requiring no object category recognition.

[0037] (4) Accessibility Criterion Existing solutions equate direct or indirect ground support with traversability, thus classifying tabletops as traversable as well. This invention provides a triple-based judgment criterion: (9) The three criteria are: slope criterion (the angle between the normal to the supporting surface and the opposite direction of gravity does not exceed a threshold), clearance criterion (the clearance height from any point within the supporting polygon along the anti-gravity direction to the nearest upper element is not less than the body height), and reachability criterion (there is a migration from the current standing surface to this surface, the height difference does not exceed the single-step traversal capability, and the horizontal gap does not exceed a threshold). Desktops are automatically excluded due to insufficient clearance, steps are included because reachability is established, and sofa seats are marked as climbable but not by default passable.

[0038] (5) Data structure of physical scene graph Construct the physical scene graph G=(V,E) from the above quantities: Node V: primitive type, parameters and covariance, boundary convex hull, centroid, stability margin, anchorage, passability marker, number of observations and most recent observation time; Edge E: Supporting edge (with stability margin weight and direction), adjacent edge, coplanar edge, coaxial edge, containing edge, each edge is assigned a relative pose transformation and its covariance.

[0039] The diagram is a physical world model that the embodied intelligent agent can understand: each attribute can be traced back to the imaging model and the laws of mechanics through formulas (1) to (9), and there are no unexplainable intermediate quantities.

[0040] Step 4: Joint Optimization with Physical Constraints By jointly minimizing contact, gravity, coplanarity, and stability constraints with reprojection errors, we use physical laws to improve geometric accuracy.

[0041] This is the key step that distinguishes this invention from all existing technologies. The process of existing solutions is "reconstruction → reasoning about physical relationships → termination", where physical relationships are a downstream product of geometry; the process of this invention is "reconstruction → reasoning about physical relationships → using physical relationships to constrain geometry → iteration", where physical relationships become an upstream constraint on geometry.

[0042] Construct the following joint objective function to simultaneously optimize camera pose, primitive parameters, and 3D point coordinates: (10) The four physical residual terms are as follows: (1) Contact coplanar residual For any two primitives with a supporting relationship, the bottom contact point of the supported object must fall on the supporting plane. This residual locks their geometry onto the same plane: (11) The practical effect of this is quite remarkable: the depth estimation of stereo matching on weakly textured surfaces (white tabletop, solid-color cargo box top surface) has a systematic bias, while the contact constraint uses the high confidence fitting result of the entire support plane to correct the low confidence depth of small objects on it, which is equivalent to using a large area statistic to provide a depth benchmark for small objects.

[0043] (2) Gravity alignment residual The normal to the horizontal support surface must be parallel to the direction of gravity, and the normal to the vertical wall surface must be perpendicular to the direction of gravity. (12) The gravity unit vector g is given by the average acceleration of the IMU in the stationary segment, or, in the absence of an IMU, by the combined estimation of the dominant large plane normal in the scene and the hidden point of the vertical edge. This directly eliminates the pitch and roll drift accumulated over long-term mapping—these two degrees of freedom are precisely the ones most prone to drift in pure visual odometry and have the greatest impact on subsequent support determination.

[0044] (3) Coplanar / coaxial residuals (13) It is used to stitch together the same physical surface that has been occluded and split into multiple segments into a single primitive, which is called coaxial residual when corresponding to a cylindrical primitive.

[0045] (4) Stability barrier If the stability margin of a certain primitive becomes negative during the optimization process, it means that the current geometric solution is statically impossible. Applying a one-sided soft constraint will push it back into the feasible region. (14) This joint problem is solved using the Levenberg-Marquardt method, which utilizes the sparse structure of the problem to first solve the pose and primitive parameter blocks using Schur complement elimination. All residuals are normalized to Markovian form after their respective covariances are normalized before summing, thus eliminating the dimension inconsistency problem; a robust kernel function is used to suppress the influence of the false contact assumption.

[0046] Step 5: Model Self-Check and Incremental Update The unreachability of static equilibrium is used as a trigger for detecting reconstruction errors and scene changes, thereby enabling the model to self-correct.

[0047] (1) Self-test for chi-square consistency After the joint optimization converges, a weighted consistency test is performed on each residual term in equation (10): (15) In the formula, n represents the total number of parameters to be estimated. If the statistic exceeds the critical value at a given significance level, the model is determined to be inconsistent with the observations. Since each residual corresponds to a specific primitive and a specific physical relationship, the system can output a readable diagnostic conclusion such as "the k-th support relationship is inconsistent with the current observations," rather than simply reporting a failure flag. This is the practical application of comprehensibility in engineering.

[0048] (2) Model updates driven by physical impossibility If the signed stability margin of a node changes from positive to negative, or if its observations continue to conflict with the model, then three hypotheses are tested in sequence: the reconstruction contains errors, there are unobserved external constraints (fixed, clamped, or laterally pressed), and the scene has changed. If the first two hypotheses are denied, it is determined that the object has been moved or removed, and it is removed from the static skeleton layer, its anchorage is reduced, and it is written into the movable body layer, while triggering local reconstruction of that region.

[0049] In a specific implementation of this invention, Example 1: A humanoid robot establishes a physical world model in a home indoor environment. 1. Hardware Configuration The robot's head is equipped with a pair of global shutter binocular cameras with a baseline of approximately 12cm and a resolution of 1280×800, which are jointly calibrated with the inertial measurement unit; it also features a near-infrared speckle projector. The computing platform is a quad-core ARM Cortex-A72-level embedded processor, without a GPU.

[0050] 2. Step 1: Deep Recovery and Uncertainty Modeling After distortion and epipolar correction, the left and right images are used as a reference to calculate the Census descriptor of a 9×7 window. The matching cost is constructed by combining the horizontal and vertical gradient magnitudes. The disparity map is obtained by eight-path SGM aggregation and subpixel refinement is performed by quadratic parabolic interpolation. The depth and depth standard deviation are calculated according to Equation (1), and the covariance is established for each point according to Equation (2).

[0051] Using the parameters in this example for order-of-magnitude estimation: taking b=0.12m, f≈640px, and subpixel parallax standard deviation σd≈0.2px, the standard deviation of single-point depth at Z=2m is approximately 10mm. A 2m square tabletop typically contains tens of thousands of interior points, and its planar parameter standard deviation converges to below millimeters by the square root. This is precisely the quantitative basis for how the contact constraint in equation (11) can correct the depth of small objects on the supporting plane.

[0052] 3. Step Two: Primitive Extraction and Parameterization Isolated points were removed by downsampling with 2cm voxels and statistical filtering. The living room scene was decomposed into hundreds of clumps by growing regions based on the normal angle and curvature threshold. For each clump, a weighted plane was fitted according to equations (3) and (4), with an interior point distance threshold of 1cm. Then, cylinders and spheres were fitted. The primitive type was selected using BIC according to equation (6), and the parameter covariance was recorded according to equation (5). After merging large planes such as the ground, walls, and coffee table surface across clumps, the boundary polygons were extracted using α-shape.

[0053] 4. Step Three: Reasoning about Contact and Support Relationships The direction of gravity is determined by the stationary segment of the IMU. For each primitive, take its bottom point set and detect the contact with the candidate support plane (within a threshold of 2cm). Construct the support polygon according to the convex hull of the contact point projection and calculate the signed stability margin according to Equation (7).

[0054] For example, a water cup on a coffee table has a contact ring with a bottom diameter of about 6cm. The center of gravity projection falls within this ring and is about 2cm from the boundary. The stability margin is positive and the value is moderate, so it is judged as a stable support. If the same water cup is moved to the edge of the coffee table, the center of gravity projection falls outside the contact convex hull, the stability margin turns negative, the model marks it as critical to tip over and prompts the robot to interact with caution.

[0055] Anchorage is calculated according to formula (8): the number of jumps of the ground support chain is zero and the contact area is extremely large, so the anchorage is close to 1; the coffee table is directly supported by the ground and the contact area of ​​the four legs is moderate, so the anchorage is relatively high; the water cup is supported by the coffee table, the number of jumps is two and the contact area is very small, so the anchorage is significantly low. Accessibility is determined according to formula (9): the ground passes the three criteria; although the coffee table surface is indirectly supported by the ground and is horizontal, the clearance above it is insufficient for the height of the machine body, so it is correctly excluded; the sofa seat surface is marked as climbable but not passable by default because the height difference exceeds the single-step crossing ability.

[0056] 5. Step Four: Joint Optimization with Physical Constraints The joint objective function of construct (10) feeds the reprojection error within the sliding window along with the four types of physical residuals (contact, gravity, coplanarity, and stability) into the Levenberg-Marquardt solver, utilizing the sparse structure through Schur elimination. Each weight coefficient is automatically determined based on the covariance of its respective residual, requiring no manual parameter tuning. After optimization, the depth bias of objects on the white coffee table surface is significantly corrected, and the normals of the ground and walls are strictly aligned with the gravity direction.

[0057] 6. Step Five: Model Self-Check and Update Perform the chi-square consistency test according to formula (15). When the water cup is taken away, the observation of the node continues to conflict with the model, and its location no longer meets the contact condition. Based on this, the model moves the node into the movable body layer and triggers local reconstruction; while the high anchorage nodes such as the ground, wall, and coffee table are not affected, and the static skeleton layer remains intact.

[0058] 7. Direct Uses of the Model The established model can directly answer three types of questions from the upper-level task: First, whether an object is stable and whether it can be safely grasped or placed; second, whether a plane can support an object of a specified weight and where the placement point should be chosen to maximize the stability margin; and third, whether there is a passable path from the current location to the target area that meets the requirements of slope, clearance, and crossing capability. These three criteria are directly given by equations (7) to (9) without the need for any additional recognition modules.

[0059] Example 2: Palletizing Stability Modeling in Warehousing and Logistics Scenarios The hardware consists of a forward-facing binocular camera and an inertial measurement unit. The scene includes shelves, uprights, pallets, and boxes. The support chains of the ground, uprights, and shelf frames have the lowest number of jumps and the largest contact area, resulting in the highest anchorage and forming a static skeleton layer. Pallets and boxes are supported by the ground or shelf panels, resulting in medium anchorage. Loose small items have the lowest anchorage.

[0060] The modeling stage is jointly optimized according to Equation (10), where the contact constraint between the top surface of the carton and the goods on it significantly improves the depth estimation of the solid color carton surface - such surfaces are the places where stereo matching is most likely to produce systematic depth bias.

[0061] The core value of this embodiment lies in palletizing safety: the signed stability margin of each layer of cartons is calculated according to formula (7), and accumulated from bottom to top along the support chain to obtain the weakest link and its location in the entire stack. Stacks with stability margins below a set threshold are automatically added to the risk list for on-site handling or adjustment of the stacking order. If a pallet is lifted off the ground by a forklift, its stability margin changes from positive to negative and continues to conflict with the model. Based on this, M5 removes it from the static layer without any dynamic object detection network.

[0062] The accessibility criterion, based on formula (9), automatically excludes aisles under shelves with insufficient clearance and marks aisle sections where clearance is not up to standard due to improper stacking of goods. These sections can be directly output as an on-site rectification list.

[0063] The present invention and its embodiments have been described above. This description is not restrictive, and the actual structure is not limited thereto. In conclusion, if those skilled in the art, inspired by this description, design similar structures and embodiments without departing from the spirit of the invention, such designs should fall within the scope of protection of this invention.

Claims

1. A model-driven method for establishing an understandable physical world model, characterized in that, Includes the following steps: Step 1: Multi-view stereo reconstruction and uncertainty modeling; Scene images are acquired using a calibrated multi-view vision system, and disparity maps are obtained through stereo matching. Depth information of dense point clouds is recovered through triangulation, and anisotropic covariance is established for each 3D point based on uncertainty propagation. Combining the inter-frame motion prior and feature matching of the inertial measurement unit, the point clouds of multiple frames are unified into the same coordinate system to obtain joint optimization initial values. Step 2: Geometric primitive extraction and parameterization; preprocess the point cloud and perform region growing segmentation to obtain connected clumps. For each clump, weighted fit multiple parameterized geometric primitives, select the optimal primitive type based on the Bayesian information criterion, solve the primitive parameters and calculate the parameter covariance; Merge large-area planar primitives across clusters and extract the boundary polygons of the supporting surfaces; Step 3: Reasoning about contact and support relationships and constructing a physical scene diagram; Contact detection is performed based on the direction of gravity, supporting polygons are constructed, signed stability margin and anchorage are calculated, and accessibility is determined by combining the three criteria of slope, clearance and reachability migration. A physical scene graph containing node attributes and directed edge relationships is constructed. Step 4: Joint optimization of physical constraints; Construct a joint objective function that includes reprojection error, contact coplanar residual, gravity alignment residual, coplanar coaxial residual and stability barrier, and perform joint nonlinear optimization on camera pose, primitive parameters and 3D point coordinates, and use physical constraints to correct geometric reconstruction accuracy in reverse. Step 5: Model self-check and incremental update; Perform chi-square consistency test on the optimized residuals and output attributable model diagnostic results; Using static impossibility as the trigger condition, check the reconstruction error, external constraints and scene change assumptions in sequence, and perform hierarchical migration and local reconstruction on the changed objects.

2. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step one, stereo matching uses Hamming distance and gradient magnitude from Census transform to construct the matching cost, which is then aggregated through semi-global matching to obtain a disparity map and refined to sub-pixel quality; depth uncertainty is calculated as follows: calculate, Where Z is the depth, b is the baseline length, f is the pixel focal length, and σd is the standard deviation of the disparity estimate; the anisotropic covariance of the three-dimensional points is obtained by propagating the pixel and disparity uncertainties through the Jacobian matrix of the back projection function.

3. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step two, the weights of the geometric element fitting are determined by the covariance and normal uniformity of the points, and the weight calculation formula is as follows: , Where Σp is the covariance matrix of the point, n is the basic element normal vector, ni is the point normal vector, and η is the smoothing coefficient; the planar basic elements are solved using weighted least squares closed-form, while the cylindrical, sphere, and conical basic elements are solved using algebraic initial solution plus Gauss-Newton refinement; the covariance of the basic element parameters is calculated from the Fisher information matrix.

4. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step two, the Bayesian information criterion , Where N is the number of fitting points, σ̂ 2 To fit the residual variance, where k is the number of degrees of freedom of the primitive, the primitive type with the smallest BIC is selected as the parameterized representation of the clutter; When merging large-area planes across clusters, the significance of differences in plane parameters is tested using Mahalanobis distance, and the α-shape algorithm is used to extract the boundary polygons of the merged plane.

5. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step three, the formula for calculating the signed stability margin is as follows: , Where Πg is the projection operator along the direction of gravity, cb is the centroid of the supported primitive, H is the supporting polygon, and sd is the signed distance from the point to the boundary of the polygon; a positive stability margin indicates stable support, close to zero indicates critical stability, and a negative margin indicates static infeasibility.

6. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step three, the formula for calculating the anchorage is: , Where l_b is the number of support chain jumps from the primitive to the ground root node, Ac is the contact area, and σ(・) is the S-shaped saturation function; anchorage is used to distinguish between static structures and movable objects, and the higher the anchorage, the less likely the object is to be moved.

7. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step three, accessibility is determined by three criteria that must be met simultaneously: the angle between the normal to the support surface and the opposite direction of gravity does not exceed the maximum slope threshold; the clearance height above the support surface is not less than the height of the aircraft; and there is a reachable migration from the current standing surface to the support surface. The reachable migration requires that the height difference does not exceed the single-step crossing capability and the horizontal gap does not exceed the set threshold.

8. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step four, the joint objective function is: , , The first term is the robust kernel-weighted reprojection error, the second term is the contact coplanar residual, the third term is the gravity alignment residual, the fourth term is the coplanar or coaxial residual, and the fifth term is the stability barrier; the stability barrier ψ(s)=(max(0,s_min-s)). 2 The stability margin is constrained within the feasible region; the joint optimization is solved using the Levenberg-Marquardt method, and the computation is accelerated by Schur elimination through sparse structure.

9. The model-driven method for establishing an understandable physical world model according to claim 1, characterized in that, In step five, the statistic for the chi-square consistency test is: , It follows a chi-square distribution with degrees of freedom equal to the total number of observations minus the total number of parameters to be estimated; when the test fails, it locates the specific primitive and physical relationship and outputs a diagnostic conclusion; when the scene change judgment is valid, it moves the corresponding object from the static skeleton layer to the movable body layer and triggers the reconstruction of the local area.