Pid tuner, tuning tools section is inactive

Hi Folks, I am not able to click aggresive, transient behavior and robust buttons. Do you have some advice?

2 Comments

When you launch the PID Tuner app, what are the plant system and the selected PID control structure?
It is a transfer function which is "1/s^2+10*s+20". However I was able to use them since I added " I + D " layers to my " P " block. Thanks for reading my question.

Sign in to comment.

 Accepted Answer

I investigated the issue. In the PID Tuner app, the Response Time slider and the Transient Behavior slider represent two closely interrelated design choices. However, the app greys out the Transient Behavior slider because a P-only controller has only one single control parameter to adjust.
Despite this visual lockout, it does not mean that a P-only controller is incapable of changing transient behavior. As we can clearly see from manual simulations below, changing the gain directly alters the system response, affecting how fast the system reacts, how much it overshoots, and its steady-state error.
The app disables the slider strictly due to a software design choice regarding how the two sliders interact. Because a P-only controller cannot achieve a fast response time and a robustly low overshoot simultaneously with just a single control parameter, the interface locks the 2nd slider to prevent conflicting design inputs.
s = tf('s');
G = 1/(s^2 + 10*s + 20)
G = 1 --------------- s^2 + 10 s + 20 Continuous-time transfer function.
pidTuner(G, 'P')
figure
hold on
C = pidtune(G, 'P'); % Propotional Controller
step(feedback(C*G, 1), 1.2),
C = pid(C.Kp + 100);
step(feedback(C*G, 1), 1.2),
C = pid(C.Kp + 100);
step(feedback(C*G, 1), 1.2),
C = pid(C.Kp + 100);
step(feedback(C*G, 1), 1.2),
C = pid(C.Kp + 100);
step(feedback(C*G, 1), 1.2), hold off
grid on

2 Comments

what does '1.2' stand for?
The "1.2" in the code is actually the final simulation time for plotting the step response.
Here is the 2nd demo.
s = tf('s');
G = 1/(s^2 + 10*s + 20) % Plant
G = 1 --------------- s^2 + 10 s + 20 Continuous-time transfer function.
F = tf(20) % Scaling factor
F = 20 Static gain.
Gol = series(F, G) % Open-loop
Gol = 20 --------------- s^2 + 10 s + 20 Continuous-time transfer function.
Tfin= 4; % final simulation time
step(Gol, Tfin)
grid on
title('Open-loop system with a scaled step input')

Sign in to comment.

More Answers (0)

Products

Release

R2015a

Asked:

on 1 Sep 2026 at 5:24

Edited:

about 8 hours ago

Community Treasure Hunt

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

Start Hunting!