transfer function zeros are more than poles

11 vues (au cours des 30 derniers jours)
aiman
aiman le 22 Nov 2023
Commenté : Sam Chak le 23 Nov 2023
Hello,can someone help me explainig how to implement this transfer function
2 s^2 + 30 s + 100
------------------
s
in simulink ?

Réponse acceptée

Sam Chak
Sam Chak le 23 Nov 2023
You can try these configurations (2 methods). Both should produce nearly the same output signals.
  2 commentaires
aiman
aiman le 23 Nov 2023
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 le 23 Nov 2023
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:
.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by