Array as input in force damper block
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Steve Miller
2021년 6월 16일
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
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!