How to add forced displacement or oscillation into Simscape Multibody?
30 views (last 30 days)
Show older comments
Yuya Takahashi
on 9 Jul 2023
Answered: Nathan Hardenberg
on 11 Jul 2023
I'm trying conducting oscillation analysys of multibody dynamics in Simscape Multibody.
In my model, I need to add forced displacement. The figure is an example model that I want to make. In this model, the wall is moving and its displacement is oscillating. I know how to add external force in Simscape Multibody. But what I need is forced displacement like the figure.
The below figure is a model I'm making. In this model, I want to make 'Base solid' oscillate without external force.
Please tell me how to add forced displacement.
0 Comments
Accepted Answer
Nathan Hardenberg
on 11 Jul 2023
You can easily use the "Prismatic Joint"-Block, which is for purely translational movement along one axis. Just set the following options:
As Input you provide a "Sine Wave" that you configure to your needs (e.g. change phase to convert to cosine). Note that you need to convert the Simulink signal to a physical signal with the "Simulink-PS Converter" converter.
A few elaborations
Instead of using the "Spring and Damper Force"-Block you can also provide Spring Stiffness and Damping Coefficent (under Internal Mechanics) inside of the (Prismatic/Revolute) joint-Block. This can simplify your model. Since you are using a Revolute-Joint in your model I'm guessing that your drawing does not reflect the whole model, but you are rather building a real pivot of some kind. In this case using the Blocks in your configuration might already be the better solution.
0 Comments
More Answers (0)
See Also
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!