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!

 Réponse acceptée

Mathieu NOE
Mathieu NOE le 6 Nov 2020

0 votes

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)

Plus de réponses (1)

Mathieu NOE
Mathieu NOE le 6 Nov 2020

0 votes

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 commentaire

Manh Pham
Manh Pham le 6 Nov 2020
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.

Connectez-vous pour commenter.

Produits

Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by