Array as input in force damper block

I know that the Force and Damper block accept only scalar values as input, so I want to know if there is some trick to use a vector as input. If not, can you suggest me some simple method to replace this block?
circuit.jpg

回答 (1 件)

Steve Miller
Steve Miller 2021 年 6 月 16 日

0 投票

There are many ways to do this. One way to do it for a general translational case where you are connecting any two arbitrarily oriented frames is to put a Prismatic Joint between these two points and define your force law using Physical Signal blocks or Simscape Language.
Below are a couple screenshots showing one way to do this on sm_four_bar.slx. The reason the additonal joints and Rigid Transform blocks are used is to put the spring in the xz-plane.
Thanks,
--Steve
Here you can see the nonlinear elemented added between the two links in the four-bar linkage.
These blocks implement a nonlinear spring-damper between two frames on the four bar linkage.

1 件のコメント

Tudor Miron
Tudor Miron 2022 年 8 月 10 日
Am I missing something or there's a little mistake in the model - v (velocity) is fed to Spring lookup table and translation to damper look up table? I would assume that it should be the other way around?
Overall this a very neat way to implement a non linear damper.
Thank you,
Ted

サインインしてコメントする。

カテゴリ

製品

リリース

R2019a

コメント済み:

2022 年 8 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by