# closedloop with delay and difference between Inputdelay and Outputdelay

조회 수: 1 (최근 30일)
Hi all!!
Well, My problem is that I can't find the transfer function of closed loop model with delay.
I use
s=tf('s');
Gp = 250/(s*(1+s/10));
Gp.OutputDelay = 0.05;
feedback(Gp,tf([1],[1]))
??? Error using ==> lti.feedback at 127 System interconnection gives rise to internal delays and can only be represented in state space. Convert at least one of the models to state space using the "ss" command.
And I don't want to use my model in state space. And i don't wanna use any approximation (pade...), too. Any idea?
I have one more question. Which is the difference between "Gp.InputDelay" and "Gp.OutputDelay" ?

댓글을 달려면 로그인하십시오.

### 채택된 답변

Arnaud Miege 2011년 6월 2일
You have no choice but to use state-space:
>> feedback(ss(Gp),tf([1],[1]))
a =
x1 x2
x1 -10 -2500
x2 1 0
b =
u1
x1 64
x2 0
c =
x1 x2
y1 0 39.06
d =
u1
y1 0
(values computed with all internal delays set to zero)
Internal delays: 0.05
Continuous-time model.
Note that in R2011a, it works without converting to state-space:
>> feedback(Gp,tf([1],[1]))
a =
x1 x2
x1 -10 -2500
x2 1 0
b =
u1
x1 64
x2 0
c =
x1 x2
y1 0 39.06
d =
u1
y1 0
(values computed with all internal delays set to zero)
Internal delays (seconds): 0.05
Continuous-time model.
HTH,
Arnaud
##### 댓글 수: 2없음 표시없음 숨기기
Do you know anything about my second question?
Which is the difference between "Gp.InputDelay" and "Gp.OutputDelay" ?
Arnaud Miege 2011년 6월 2일
InputDelay applies a time delay to the input of the LTI object, whereas OutputDelay applies a time delay to the output of the LTI object, see:
http://www.mathworks.com/help/releases/R2011a/toolbox/control/ug/bstzkhr.html

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

### 태그

아직 태그를 입력하지 않았습니다.

### Community Treasure Hunt

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

Start Hunting!

Translated by