How to solve a degenerate mass distribution on its follower side.

30 次查看(过去 30 天)
How to solve a degenerate mass distribution in simmechanics?

回答(1 个)

Samar
Samar 2025-6-13,11:35
编辑:Samar 2025-6-13,11:37
When Simscape/SimMechanics reports a "degenerate mass distribution", it means there is a degree of freedom with no physical inertia, which leads to nonsensical (infinite) acceleration. Here are the common causes and corresponding fixes:
  1. Joint-to-joint without mass: You cannot connect two joints directly without a solid or inertia block in between. Fix: Insert a small “dummy” Solid/Inertia block or use a composite joint (like 6DOF) if appropriate.
  2. Unconnected or floating bodies: A body is not properly grounded—especially with imports from CAD. Fix: Ensure main parts are fixed via a weld or 6DOF joint to the world frame. Refer the discussion given here: www.mathworks.com/matlabcentral/answers/484741-sharing-solution-about-degenerate-mass-on-follower-side-issues-when-evaluate-simscape-mechanic-mod
  3. Frame alignment issues: Overlapping coordinate frames with mismatched orientations can cause numerical issues. Fix: Verify base and follower frames are aligned correctly in orientation and position.
  4. Ill-conditioned inertia: Inertia tensor may be singular or degenerate (zero, Inf, NaN, etc.). Fix: Confirm your solids have valid geometry-based inertia or defined positive-definite inertia matrices.
Simulation Solver Tips
Even with structural corrections, if face persists, follow these steps:
By ensuring every scheduled motion has real inertia and using appropriate solver settings, you will eliminate degenerate mass errors and simulate reliably.

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by