Rigidly connected port error with Simscape Multibody Contact Forces Library

조회 수: 99 (최근 30일)
Adding blocks from the Simscape Multibody Contact Forces Library to a new model gives the following error message:
"External Force and Torque External_Force_and_Torque_PlaB has its follower port rigidly connected to the world frame; it has no effect. You can configure this diagnostic in the Simscape Multibody Configuration Parameters dialog."
  댓글 수: 2
superman
superman 2020년 9월 9일
Dear, sir. I am doing biped walking simulation by Matlab2017b。 When i use four sphere to plane contact models on flat foot of the biped robot, the biped flied off the ground at the beginning of simulation, as shown in the attachment. The robot mass is 74 kg. The contact sphere radius is 0.01 m. The contact stiffness and damping are 90000 and 4000. Could you give me some advices? Thanks very much. I am looking forward to your reply.
Madhav rijal
Madhav rijal 2021년 3월 17일
I have applied spatial connection force to sphere of the leg. I am not able to model thr ground. How do you do it. I have created a brick block and connected it to it.but Spatial Contact Force is not connected through its B port to a valid geometry. This error comes. How to solve it?

댓글을 달려면 로그인하십시오.

채택된 답변

Sebastian Castro
Sebastian Castro 2018년 1월 23일
편집: Sebastian Castro 2018년 2월 7일
This error is due to a default setting with new Simulink models, which is incompatible with the Contact Forces Library.
To resolve this:
  1. Go to Simulation > Model Configuration Parameters
  2. In the Simscape Multibody > Diagnostics pane, change the "Rigidly constrained block" diagnostic to "warning" or "none"
For those interested the details: The Contact Forces Library blocks uses "External Force and Torque" blocks to apply contact forces/torques to both bodies in contact. If at least one of these bodies is rigidly connected to the World Frame, you will get this error based on the diagnostic setting above. This error essentially warns you that you're applying a force to a body that will not move regardless of the applied force.
- Sebastian
  댓글 수: 5

댓글을 달려면 로그인하십시오.

추가 답변 (4개)

Edgar Andres Parra Rucaurte
Edgar Andres Parra Rucaurte 2018년 6월 12일
Thank Sebastian.

Guillermo Herrera
Guillermo Herrera 2018년 10월 3일
Awesome! Thanks!

peng peng
peng peng 2020년 4월 19일
THANKS

Ramkumar Natarajan
Ramkumar Natarajan 2020년 9월 5일
In the newer versions of Simulink, the setting is in Modeling > Model Settings instead of Simulation > Model Configuration Parameters

Community Treasure Hunt

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

Start Hunting!

Translated by