simulink transfer function with time constant changing during simulation
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Marian
le 17 Déc 2011
Réponse apportée : Marian
le 26 Mar 2020
I'm trying to create in Simulink a transfer function, say 1/(T1*s+1), with T1 changing during simulation depending on various conditions. Since I cannot change manually the value for T1 the use of Transfer Fcn block is not possible. My question is how can I implement this transfer function?
0 commentaires
Réponse acceptée
Fangjun Jiang
le 17 Déc 2011
Assume your input is x and output is y:
y=x/(T1*s+1)
y*T1*s+y=x
y*T1*s=x-y
y=(x-y)*(1/s)*(1/T1)
1/s is an integrator, use a negative feedback to get (x-y), 1/T1 is the gain, or can be a multiplication block. You can construct your transfer function now.
7 commentaires
Molly Brun
le 25 Mar 2020
How would you acheive this with the function looking more like this: K/(T1s^2+T2s+1) ? I am trying to keep it all in the transfer function block and change the denominator coefficient to include these variables.
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Additional Math and Discrete dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


