Dynamic Transfer Function in simulink

조회 수: 4 (최근 30일)
Javier Gonzalez
Javier Gonzalez 2011년 6월 27일
댓글: Shahzad Ali 2018년 7월 2일
I have a Transfer function of my model... but my model is dynamic, the coefficients change in time . so this means that i need to represent this in Simulink, but i haven't being able to represent this , the blocks of TF in simulink are for fixed values. Any ideas???
b3*s^3+b2*s^2+b1*s^1+b0
-------------------------------------
a5*s^5+a4*s^4+a3*s^3+a2*s^2+a1*s+a0

채택된 답변

Guy Rouleau
Guy Rouleau 2011년 6월 27일
I recommend this solution "How do I model a transfer function with coefficients that vary with simulation time in Simulink 7.5 (R2010a)?"
I also recommend going through this post on this exact topic:

추가 답변 (3개)

Fangjun Jiang
Fangjun Jiang 2011년 6월 27일
No. When you use the transfer function block in Simulink, you can specify the coefficients as b1, b2, a1, a2, etc. Then you'll have to set the value for a1, a2, b1, b2 etc. in the MATLAB base workspace. Then you can change the value for a1, a2, b1, b2 and re-run simulation without changing your Simulink model.
  댓글 수: 2
Paulo Silva
Paulo Silva 2011년 6월 27일
Actually it's possible to change the parameters with time without stopping the simulation, the only thing that can't change is the size of the Numerator and Denominator of the transfer function.
Shahzad Ali
Shahzad Ali 2018년 7월 2일
can you please tell me that how to change the coefficients of the transfer function without stopping the simulation. it would be very helpful. i have a complex system but i ask this question for a simple block, which i am going to link it for you. https://ch.mathworks.com/matlabcentral/answers/408336-how-to-change-the-coefficients-of-a-transfer-function-block-in-simulink-during-simulation?s_tid=prof_contriblnk

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


Javier Gonzalez
Javier Gonzalez 2011년 6월 27일
Well... what I need is in the same simulation without stop change the values of the a1, b1.... and change this again, i know how to change this but how to represent this is the key.. i have seen something about Observability, in control theory.. but is not clear for me...

Fangjun Jiang
Fangjun Jiang 2011년 6월 27일
Okay, then you need to do the controller realization of the transfer function. Refer to this article but do a double check with a creditable control theory text book. In stead of constant block, you can use a dynamic signal to implement the multiplication so a1, b1 etc. can be changed during the simulation.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by