Is it possible to get correct result in simulink if derivative block is used to obtain the derivative of a signal? If not how to obtain derivative of signals in matlab/simulink?
6 views (last 30 days)
Show older comments
I am working on control system and i am using simulink for my my design and analysis, so in my design I need to perform derivative of signals. I used derivative block of simulink for this purpose and it gives correct result sometimes and error sometimes. so I would like know whether it is correct or not?
0 Comments
Answers (1)
Sebastian Castro
on 8 Dec 2015
The Derivative block only approximates a derivative and can therefore be very unstable when the derivative of a signal is high.
The usual workaround, which is what the continuous-time PID Controller block in Simulink can do, is to implement a filtered derivative. See section 3c of the following Answer for more details:
- Sebastian
See Also
Categories
Find more on Discontinuities in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!