How to add or fix a spring in simscape Multibody?

조회 수: 53 (최근 30일)
Nayla
Nayla 2021년 3월 15일
댓글: Nayla 2021년 4월 1일
I created a suspension assembly in Solidworks and exported it to Simscape Mulibody. The exported Assembly has now an automatic generated block diagramm that has errors since its not working.(see picture). To make a difference i added a prismatic joint between piston and cylinder.
For now, i have simplified the assembly and i am limiting myself to the spring damper only.
I created a spring (for the spring damper) with its cylinder and piston but when i run the simulation in simscape, the spring is not moving along with the piston and just fall into the depth. I thought maybe i could use a joint or something else to add a spring to the assembly or delete it to create a spring in simscape but this is not really easy when you dont know which spring to use (rotational, translational spring, spring and damper force, etc).
I also managed to make the piston move in one direction but it should be oscillating and not just move in one direction, so it can adapt its movement with the wheel. Which parameter do i have to use to make it work, which joint do i have to use?
Any help would be greatly appreciated, even if it's just an explanation of why this isn't working the way I expected. Thanks in advance.

채택된 답변

Juan Sagarduy
Juan Sagarduy 2021년 3월 31일
Hi there
Please check the link Interface between mechanical translational networks and Simscape Multibody joints - MATLAB (mathworks.com). Basically you need to integrate the spring-damper (suspension) with the prismatic joint in your mechanism as shown in this example.
Best of Luck / Juan
  댓글 수: 1
Nayla
Nayla 2021년 4월 1일
Hi,
Thank you very much for the answer. I will definitely try it .
Thanks again.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by