Transfer function vs. gains, differentiator, integrator = different, but I don't know why?
5 views (last 30 days)
Show older comments
Hi,
I'm really confused why the two systems shown in the picture below give different outputs. I thought they were mathematically equivalent but give different outputs.
Please could someone show me where I have gone wrong!
Many thanks,
Peter
0 Comments
Accepted Answer
Fangjun Jiang
on 27 Dec 2011
It must be due to the limitation of calculating du/dt. If you are using all the default setting, you'll notice some warning message in the Command Window regarding step size.
There is no perfect way of calculating the theoretical du/dt in numerical simulation. Doing the du/dt first and then the integration is the problem. If you move the two integrators ahead of the du/dt block (right after the negative feedback summation block), you'll find that the results match perfectly.
3 Comments
Fangjun Jiang
on 28 Dec 2011
For canonical realizations, see http://en.wikipedia.org/wiki/Realization_(systems)
Fangjun Jiang
on 28 Dec 2011
Or a better reference at http://arri.uta.edu/acs/Lectures/realization.pdf
More Answers (0)
See Also
Categories
Find more on PID Controller Tuning in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!