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

Manh Pham
Manh Pham 2020년 11월 6일
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

질문:

2020년 11월 6일

댓글:

2020년 11월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by