Why do Transfer Blocks sometimes generate noise ?

조회 수: 2 (최근 30일)
Matthias Menge
Matthias Menge 2022년 3월 2일
편집: Pratik 2024년 2월 1일
Hello,
I often use transfer functions or transport delays to break up algebraic loops in my models. I pay attention to choose time constants and delays which are are multiple of the fastest rate in my simulation.
But sometimes those blocks add peaks to the signals as shown below.
The green signal is the output and the black signal the input of the block depicted on the right side.
Does anybody know why those peaks occur or are there better ways to break up the loops instead of transport delay and transfer functions ?
EDIT:
As requested I added an Example Model. Unfortunatly I only had an example at hand which also uses Simscape electrical Blocks.
I hope this helps never the less.
  댓글 수: 4
Matthias Menge
Matthias Menge 2022년 3월 3일
Hello Mathieu and Benjamin,
than you very much for your quick answers. I added an Example. As mentioned in the Edit it unfortunately uses Simscape Electrical Blocks.
I use the standard solver configuration, but will gladly look into using fixed step solver.
Mathieu NOE
Mathieu NOE 2022년 3월 3일
hello
sorry but I am not a simscape user... I will not be able to do anything on your model

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

채택된 답변

Pratik
Pratik 2024년 2월 1일
편집: Pratik 2024년 2월 1일
Hi Matthias,
As per my understanding, you want to break up algebraic loops in your Simulink model and for that you are using a Transfer function block. However, this block seems to be creating noise in the signal.
If you're observing spikes in the simulation after introducing a transfer function to break an algebraic loop, it's possible that the dynamics introduced by the transfer function are not negligible.
As a workaround, “Transport Delay” block can be used with a very small delay time. For the example model provided a “Transport Delay” block with time delay of 1e-4 works fine.
Please refer to the documentation of “Transport Delay” Block for more information:
Please refer to this MATLAB Answers post for more information about algebraic loops and how to solve them:
I Hope this helps!

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by