Process: K_p=2, T_p=5 s. A reference step r=1 is applied at t=0, and a disturbance step d at t=15 s. Setting τ_F=0 reduces to the 1-DoF case.
Top = output y(t) (red = 1-DoF, blue = 2-DoF, grey dashed = reference r) / Bottom = control input u(t) / vertical dotted line = disturbance applied at t=15 s
A 2-DoF control structure designs setpoint and disturbance responses with separate transfer functions. With process $G_p(s) = K_p/(T_p s + 1)$, a PI controller $C(s) = K_c(1 + 1/(T_i s))$ and a pre-filter $F(s)$ are designed independently.
Setpoint response (r to y):
$$T(s) = \frac{F(s)\,C(s)\,G_p(s)}{1 + C(s)\,G_p(s)}$$Disturbance response (d to y):
$$S_d(s) = \frac{G_p(s)}{1 + C(s)\,G_p(s)}$$In this simulator the pre-filter is a first-order lag:
$$F(s) = \frac{1}{\tau_F\,s + 1}$$Because $F$ does not appear in the disturbance response $S_d$, $\tau_F$ shapes only the setpoint side. That is the essence of 2-DoF design. With the 1-DoF case ($F=1$), strengthening $C$ improves disturbance rejection but introduces setpoint overshoot.