How to get the setting time?
Show older comments
I want to calculate the Kp and Kv, I only have their approximate interval. In addition,for the system, a 5% settling time on a step response lower or equal to 1.5s. So I need write a cycle to try it.

figure 1
I use the function STEP, and I find that it can display the setting time directly. But I donot know how to get this data. And its default ERROR Interval is 2%.
Is there anyone knows how to get the setting time DIRECTLY?
Accepted Answer
More Answers (0)
Categories
Find more on PID Controller Tuning 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!