Why does my acceleration signal from simscape looks so weird?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Rik Bakker
am 6 Jan. 2019
Kommentiert: Rik Bakker
am 25 Jan. 2019
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.
![figure 3.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200251/figure%203.jpeg)
0 Kommentare
Akzeptierte Antwort
Martin
am 22 Jan. 2019
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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multibody Modeling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!