Why is the error of the close loop PID max of 1? File is provided.. please help
2 ビュー (過去 30 日間)
古いコメントを表示
Why is the error of the PID close loop equal to the step input?? I would like to perform iteration update using ILC method which will reduce the overall settling time and other performance index. but i need to compare that the maximum error for my system is decreasing. If i use RMS of the iteration for a set of values, the values decrease. But for max error, it is always same as input step.
Please help. I have attached the file as a sample of what i need from the error signal After simulation,using the following command, i will get a plot of the error.
figure(1)
plot(e)
e_max=max(abs(e))
the plot for 1st iteration shows it has 1 as max error which the command above will display...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148817/image.jpeg)
the image below is for my RMS values which shows it is decreasing for 15 updates
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148818/image.jpeg)
but since for all my iteration, the max error is 1, i get the plot below for 15 iteration.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148819/image.jpeg)
Any suggest on how can i obtain so realistic values of the error to see a decreasing values of error?? Absolute tracking error method?? any help or suggestion??
Thank you
0 件のコメント
採用された回答
Arkadiy Turevskiy
2015 年 9 月 11 日
The max error is always one because at time 0, when you command the reference to step from 0 to 1, your plant model is initialized at 0. So, no matter how you change the controller gains, the initial error will always stay 1 - this is your initial condition.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!