modelSignalBasedNoise

Demonstrates the a simple case of signal based noise

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates a simple use of the signal based noise block:

  • The input to block signalBasedNoise is the path parameter of a circle: The path parameter s starts at s=0 and continuously increases until it arrives at s=2*pi*r at the same point again (default: r=1). The simulation scenario is defined so that the path parameter increases with time until it reaches s=2*pi*r at every second and then the path parameter is reset to s=0.
  • The signalBasedNoise block defines a noise band of -0.05 .. 0.05. This could be interpreted as the height of a rough circle surface. A sample period of 0.5 in the input (so in the path parameter) is used. This means that along the circle 2*pi*r / 0.5 + 1 random values are drawn.

The result of a simulation is show in the next diagram. It can be clearly seen that the noise repeats after every second (when the path parameter is reset to s=0):

Diagram SignalBasedNoise.png

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.Radiusr1Radius of circle
RealpiModelica.Constants.piConstant pi

Components

TypeNameDefaultDescription
Modelica.Blocks.Noise.GlobalSeedglobalSeed
AdvancedNoise.Sources.SignalBasedNoisesignalBasedNoise
Modelica.Blocks.Sources.RealExpressionpathParameter

Revisions

DLR logo Copyright © DLR Institute of System Dynamics and Control
Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control