Why does my acceleration signal from simscape looks so weird?
조회 수: 3 (최근 30일)
이전 댓글 표시
Can someone help me out?
Why does my acceleration signal look like this? Why isn't it a smooth line?
Is it somewhere in the setting? Did i chose a wrong solver?
The signal is from a transform sensor from Simscape.
댓글 수: 0
채택된 답변
Martin
2019년 1월 22일
Hi Rik,
Numerical derivatives are inherently noisy, and subject to spikes due to time step differences, jumps in the solution, etc. You may want to filter the signal being differentiated. In Simulinik, a straightforward way to do a first-order filter is to use a transfer function block with 1/(tau*s + 1) where tau is the filtering time constant.
Martin
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multibody Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!