How to put this transfer function into simulink

10 views (last 30 days)
How can I put this transfer function -(1-0.5*e^(-10s)) / (40s+1)(15s+1) into a transfer function block in simulink.
Mainly confused about how to handle the numerator and whether or not I can use just a transfer function block
or if I can use a transport delay block as well.
Thank you!

Answers (1)

Paul
Paul on 16 Apr 2022
Edited: Paul on 16 Apr 2022
The transfer function in question
syms s
H(s) = -(1 - 0.5*exp(-10*s))/(40*s + 1)/(15*s + 1)
H(s) = 
Starting from a single input signal:
Feed the input signal into a Transport Delay block to implement the 10 second delay. Make sure to set the iniial buffer size large enought relative to the step size of the simulation.
Multiply the output of the time delay by a Gain of 1/2
Feed the input signal into a Gain of -1
Sum togther the outputs of the two Gain blocks
Feed the output of the Sum block into a Transfer Function block. The Numerator is 1. The Denominator is: conv([15 1],[40 1])

Categories

Find more on General Applications in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!