transfer function zeros are more than poles

조회 수: 11 (최근 30일)
aiman
aiman 2023년 11월 22일
댓글: Sam Chak 2023년 11월 23일
Hello,can someone help me explainig how to implement this transfer function
2 s^2 + 30 s + 100
------------------
s
in simulink ?

채택된 답변

Sam Chak
Sam Chak 2023년 11월 23일
You can try these configurations (2 methods). Both should produce nearly the same output signals.
  댓글 수: 2
aiman
aiman 2023년 11월 23일
Thanks @Sam Chak the second approach works fine but how did you find the filter value ?
The first configration gave this error :
Component:Simulink | Category:Block diagram warning
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Derivative of state '1' in block 'Simulink2/Transfer Fcn' at time 1.0000000000001645 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
Sam Chak
Sam Chak 2023년 11월 23일
No errors were identified in the 1st method (referred to as the unrealizable ideal config) as demonstrated in my block configuration. However, your error message tells that an error occurred in the block 'Simulink2/Transfer Fcn'. My proposed block configuration above (Method 1) does not have any block named 'Transfer Fcn'. My assumption is that you might have connected the unrealizable ideal config to the 'Transfer Fcn' block. This connection seems to cause the Simulink system to blow up at time 1.0000000000001645. But this is no longer irrelevant to the original question that you asked.
The 2nd method (realizable practical config) is an approximation of the unrealizable ideal config. In the 1st method (unrealizable ideal config), the expression can be rewritten as:
.
Believe it or not, I did not attempt to calculate the filter value; instead, I directly plugged in a very large value, 1 million. The reason for this is that if the filter coefficient, N, in the PID Controller block (realizable practical config), is very large, then the practical derivative term approximates the ideal derivative term, as shown in the expression:
.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by