modelnoiseGen

Noise generator

Extends from Interfaces.RealNinOperation (Real comparison interface).

Information

Description

Model of a noisy signal.



The output ( y ) is the result of an algorithm that produces a sequence of pseudo random values.
The properties of the signal can be modified through the algorithm parameters: amp and X_start.
The output is filtered through a first order low pass filter, with time constant Ts


Fixed Point not available in this model

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TimeTs (from RealNinOperation)0.1sampling time
IntegernInput (from RealNinOperation)1number of inputs
BooleanuseInputs (from RealNinOperation)true=true, if inputs are enabled
Fixed Point
BooleanFixedPoint (from RealNinOperation)falseUse fixed point real numbers
IntegerNbit (from RealNinOperation)16 Number of bits for representing the real numbers
RealscaleFactor (from RealNinOperation)1Scale factor for Fixed Point numbers
IntegerMAX (from RealNinOperation)integer(2^(Nbit - 1))maximum number that can be represented with Fixed Point notation
IntegerMIN (from RealNinOperation)-integer(2^(Nbit - 1)) + 1minimum number that can be represented with Fixed Point notation
Noise generator
Realamp0.01Amplitude
RealTf1First order filter time constant
RealX_start1Initial value
Algorithm
Realm2^31 - 1coefficient
Reala7^5coefficient
Realc10coefficient

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInput[nInput]u (from RealNinOperation)input vector
Modelica.Blocks.Interfaces.RealOutputy (from RealNinOperation)output

Components

TypeNameDefaultDescription
Integer[nInput]Ufp (from RealNinOperation)floating point converted input
IntegerYfp (from RealNinOperation)floating point converted output

Revisions

Industrial Control Systems (v 1.0.0) : April-May 2012
List of revisions:

  • 11 May 2012 (author: Marco Bonvini)

Main Authors:
Marco Bonvini; <bonvini@elet.polimi.it>
Alberto Leva <leva@elet.polimi.it>
Politecnico di Milano
Dipartimento di Elettronica e Informazione
Via Ponzio 34/5
20133 Milano - ITALIA -
Copyright:
Copyright © 2010-2012, Marco Bonvini and Alberto Leva.
The IndustrialControlSystems package is free software; it can be redistributed and/or modified under the terms of the Modelica license.