Problem using Derivative block

Hello MathWorks Support Team!
I am having problems using secondary derivative as shown in the picture, please tell me how to fix it.
Why is there such a peak here?
Thank you very much!

 采纳的回答

Mathieu NOE
Mathieu NOE 2020-11-6

0 个投票

hello
I personnaly would not use the derivative blocks
In the worst case I replace with high pass filter (as you did)
just to smooth the sharp transients of the derivative blocks, I added some rate limiter blocks, but the rate limits must be set according to your signal amplitude and frequency , which is definitively less practical than a high pass filter (IMHO)

更多回答(1 个)

Mathieu NOE
Mathieu NOE 2020-11-6

0 个投票

hi
your initial conditions of the derivation blocks are probably zero (by default)
the first derivative is the initial slope of you signal , which is 1
so at the very beginning of the first derivative you have a discontinuity from 0 (IC) to 1, which is a step by definition
when you derive a step function, you get an infinite impulse (theory)

1 个评论

Thank "mathieu NOE" very much, so is there a way for me to fix that in the simple schematic above? I have also referenced the method cited in this link but failed, looking forward to your help!
Send you the file and link.

请先登录,再进行评论。

产品

版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by