Borrar filtros
Borrar filtros

transfer function zeros are more than poles

9 visualizaciones (últimos 30 días)
aiman
aiman el 22 de Nov. de 2023
Comentada: Sam Chak el 23 de Nov. de 2023
Hello,can someone help me explainig how to implement this transfer function
2 s^2 + 30 s + 100
------------------
s
in simulink ?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by