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

Answers (1)

Samar
Samar on 13 Jun 2025
Edited: Samar on 13 Jun 2025
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.

Tags

Asked:

on 24 Aug 2016

Edited:

on 13 Jun 2025

Community Treasure Hunt

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

Start Hunting!