How do I input a 5(1+0.8s) block into simulink?
조회 수: 29 (최근 30일)
이전 댓글 표시
I am trying to solve a system.
I know how to input a transfer function, and everything but a 5(1+0.8s) block. Could someone help me with how to input this block in simulink?
Here is a picture of the block diagram
Here is what I have, but I know this is wrong...
Thanks!!
댓글 수: 1
채택된 답변
Dennis
2016년 2월 11일
편집: Dennis
2016년 2월 11일
Your teacher probably wants you to think on a different way. Instead of implementing the blocks each in a single transfer function block, you can use your knowledge that two transfer functions behind each other in a block diagram mean mathematically multiplying them:
sys=sys1*sys2
If the first block from the block diagram is sys1 and the second is sys2, you can exchange the two with just one whole sys transfer function. If you don't want to calculate it on paper, use matlab to calculate what transfer function results:
sys1=tf(5*[0.8 1],[1])
sys2=tf([1],[5 1 0])
sys=sys1*sys2
The result will be displayed in the form you are used to it. It you don't know how the numbers in the brackets are entered, read:
It explains how the numerator and denumerator from a transfer function are entered to the function and also, the exact same numerator / denumerator form applies for simulink!
Finally, delete the gain in simulink and change the numerator and denumerator block to the values you just got by multiplying the two functions.
Or: Probably you figured out that if you leave the gain 5 outside, multiplying the two system is like placing the first function 1+ 0.8s on top of the second function, because the second function only has a numerator of 1.
P.s.: In your Simulink transfer function block, you have too many '5's
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classical Control Design에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!