I need to draw a spring into SimMechanic

조회 수: 3 (최근 30일)
yogan sganzerla
yogan sganzerla 2017년 9월 30일
편집: Nathan 2017년 10월 24일
Hello,
Can I draw a spring (see the picture below) in Solid on SimMechnics?
My goal is to simulate one system mass/spring/damper like in this video, but using SimMechanics.
This is the link to the video: https://www.youtube.com/watch?v=WC0Su1JYptU
Cheers

답변 (1개)

Nathan
Nathan 2017년 10월 24일
편집: Nathan 2017년 10월 24일
"Simulating" a mass/spring/damper with Simscape is simple, refer to documentation here:
https://www.mathworks.com/help/physmod/simscape/ug/creating-and-simulating-a-simple-model.html
I believe you want to "animate" the mass/spring/damper system using SimMechancis (now called Simscape Multibody) which not going to be as easy. The solid block in SimMechanics creates rigid body which means the spring will not compress or extend in the animation. You could create several discrete elements of the spring and then link them together. It would be similar to creating a flexible beam as in this example:
https://www.mathworks.com/matlabcentral/fileexchange/47051-flexible-beam-in-simscape-multibody

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by