when i applied same input like step on transfer function block and on the LTI system in simulink model ; the output in scope does not the same although the transfer function is same in two blocks (tf, LTI system)

Answers (1)

Check if you are using the same sample time for the two models

5 Comments

I am getting the same answer for the two blocks. what have you written inside the LTI block? it should be
tf(num,den,0.03)
at start the transfer function is in continuous form , I converted it to discrete with sample time 0.03 , the discrete tf appear in work space as model. after that i open the simulink model and put in it (tf block and LTI system block) then i put the constant of the transfer function in tf and LTI system put in it the name of tf .... the result from LTI is correct but from tf is not correct as i need
Tp11=1.970407430927219e+02; Tp12=1.199085665307412e+03; Tz=1.463902703922180e+02; Kp=7.520971369140306; num=Kp*[Tz 1] den=conv([Tp11 1],[Tp12 1]) G_Pump=tf(num,den) sysd_G_Pump=c2d(G_Pump,0.03)

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 20 May 2016

Commented:

on 21 May 2016

Community Treasure Hunt

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

Start Hunting!