How to input exponentials in transfer functions using Simulink?

223 Ansichten (letzte 30 Tage)
Milca Munguia
Milca Munguia am 22 Mär. 2023
Kommentiert: Walter Roberson am 30 Mär. 2023
This is my transfer function but I don't know how to input this on Simulink.

Antworten (3)

Sam Chak
Sam Chak am 22 Mär. 2023
You can insert the Transport Delay block (found in the Library of Continuous function blocks) after the transfer function.
See example here:

Walter Roberson
Walter Roberson am 22 Mär. 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 Kommentare
Paul
Paul am 22 Mär. 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
Walter Roberson am 30 Mär. 2023
You are right, @Paul -- that is a difference between the Simulink blocks and the MATLAB functions.

Melden Sie sich an, um zu kommentieren.


Paul
Paul am 22 Mär. 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')) )

Kategorien

Mehr zu Interactive Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by