Why do Transfer Blocks sometimes generate noise ?
2 views (last 30 days)
Show older comments
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 Comments
Mathieu NOE
on 3 Mar 2022
hello
sorry but I am not a simscape user... I will not be able to do anything on your model
Accepted Answer
Pratik
on 1 Feb 2024
Edited: Pratik
on 1 Feb 2024
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 Comments
More Answers (0)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!