I need to draw a spring into SimMechanic

1 vue (au cours des 30 derniers jours)
yogan sganzerla
yogan sganzerla le 30 Sep 2017
Modifié(e) : Nathan le 24 Oct 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

Réponses (1)

Nathan
Nathan le 24 Oct 2017
Modifié(e) : Nathan le 24 Oct 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

Catégories

En savoir plus sur Simscape Multibody dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by