How to input exponentials in transfer functions using Simulink?
211 views (last 30 days)
Show older comments
This is my transfer function but I don't know how to input this on Simulink.
0 Comments
Answers (3)
Sam Chak
on 22 Mar 2023
You can insert the Transport Delay block (found in the Library of Continuous function blocks) after the transfer function.
See example here:
0 Comments
Walter Roberson
on 22 Mar 2023
If this must be implemented as transfer functions then you will need to copy the transfer function block several times, set the Input Delay differently on each copy, and then add the results all together.
Each individual transfer function can only represent a single exp(), not a sum of exp()
3 Comments
Paul
on 22 Mar 2023
Neither the Transfer Fcn nor the State Space block can model an Input Delay (nor Output Delay) as far as I can tell.
Walter Roberson
on 30 Mar 2023
Paul
on 22 Mar 2023
In addition to using a single transfer function along with gains and transport delays as suggested by @Sam Chak, if you have the Control SystemToolbox, you can use one LTI System block and enter the transfer function as the LTI system variable parameter. For example, if
H(s) = 1/(s +1)*(exp(-1*s) - exp(-0.5*s))
then the expression for the block parameter would be:
tf(1,[1 1])*( exp(-1*tf('s')) - exp(-0.5*tf('s')) )
0 Comments
See Also
Categories
Find more on Interactive Model Editing 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!