Over constrained system

39 views
Skip to first unread message

Jakob Pflugbeil

unread,
Oct 29, 2025, 1:23:00 PMOct 29
to ProjectChrono

Hello,

 

I am trying to simulate a robotic movement where the robot has two arms, in the initial state the end effectors are fixed. Meaning the robotic structure creates a closed loop and an over constrained mechanism. But this results in the simulation in a oscillating movement, see attached file, which should not be present.

The robots body is initialy fixed, but this is deactivated shortly after the start.

 Is there a possibility to avoid these oscillations i.e. solver or stepper settings?

-Jakob

test_initial_pos.cpp

Radu Serban

unread,
Nov 12, 2025, 2:39:24 AMNov 12
to ProjectChrono

Hi Jakob,

 

First, a closed loop does not necessarily mean an over-constrained system.  Second, if you do have an over-constrained system, the question is if you have redundant or conflicting constraints.  Most Chrono solvers can deal with redundant constraints (one exception is the Pardiso solver).

 

You will have to carefully analyze your system in terms of DOFs and constraints to decide if any of the above is the case.

If there’s no issue at the kinematics level, then the most likely cause of unexpected oscillations is that the solution is not properly converged. I see that you are using the Barzilai-Borwein solver. Try increasing the number of maximum iterations allowed in the iterative solver (the default is 50). Start with something significantly larger (say, 200) and, if that resolves the issue, start reducing it until you strike a balance between accuracy and performance.

 

--Radu

--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectchron...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/5e4e338d-3d1b-4a4e-9d46-0ef151b6e93cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages