a unit step disturbance
Afficher commentaires plus anciens
Hi All,
I need to Simulate a controllers with a unit step change in set-point followed by a unit step
disturbance at a time of 40 seconds.
My question is, what ways are there of going about implementing the unit step disturbance?
Some guidance with this would be appreciated.
Some of the code is below
K = 2;
tau = 3;
den = [tau 1];
sysmod = tf(K,den,'inputdelay',1)
plot (time,response,'g');
hold on
step (sysmod,'k')
hold off
Hagglund-Astrom
Kc = 0.175;
tauI = 2;
theta = 0; %Defines the dead time in the process
haggast1 = feedback((tf(Kc*exp(-theta*s)/s)*sysmod),0.5);
step (haggast1,'g')
hold on
step (sysmod,'k')
legend ('haggast1','sysmod')
hold off
Thanks
Toby
1 commentaire
Toby Russell
le 23 Août 2020
Réponses (0)
Catégories
En savoir plus sur Legend dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!