I need to draw a spring into SimMechanic

3 Ansichten (letzte 30 Tage)
yogan sganzerla
yogan sganzerla am 30 Sep. 2017
Bearbeitet: Nathan am 24 Okt. 2017
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

Antworten (1)

Nathan
Nathan am 24 Okt. 2017
Bearbeitet: Nathan am 24 Okt. 2017
"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

Kategorien

Mehr zu Simscape Multibody finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by