Change internal mechanics of a prismatic joint during a simulation

조회 수: 10 (최근 30일)
Limeng
Limeng 2024년 10월 18일
댓글: Limeng 2024년 10월 24일 20:27
I have a simscape model that using a prismatic joint. During a simulation, i want to modeify my damping coefficient. But looks like i can't modify it during the simulation. Is there a way i can do this, or can i modify the prismatic joint source code to make my own prismatic joint block?

채택된 답변

Sahas
Sahas 2024년 10월 21일
Hi @Limeng,
As per my understanding, you would like to modify the "Damping Coefficient" of the "Prismatic Joint" in the model during simulation.
One way to achieve this is by using the "Variable Translational Damper" block in Simscape and connecting it to the Prismatic Joint. You can use the "Translation Multibody Interface" block to link the Simscape circuits to Simscape Multibody joints based on the model.
Refer to the following MathWorks documentation links for more information on "Variable Translational Damper", "Translation Multibody Interface" blocks and steps to connect Simscape networks to Simscape Multibody joints:
I hope this is beneficial!

추가 답변 (1개)

Dhruv
Dhruv 2024년 10월 21일
In Simscape, modifying parameters like the damping coefficient of a Prismatic Joint during a simulation can be challenging because Simscape typically requires parameters to remain constant throughout the simulation. However, you can try implementing one of the following approaches:
I hope this helps!

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by