I need to draw a spring into SimMechanic

3 visualizzazioni (ultimi 30 giorni)
yogan sganzerla
yogan sganzerla il 30 Set 2017
Modificato: Nathan il 24 Ott 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

Risposte (1)

Nathan
Nathan il 24 Ott 2017
Modificato: Nathan il 24 Ott 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

Categorie

Scopri di più su Simscape Multibody in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by