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!