IndustrialControlSystems.MathOperations.RealType.Signals

Real signals for modelling disturbances or smooth set point references

Information


This sub-package contains a set of set point signal generator as well noise ones.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
IndustrialControlSystems.MathOperations.RealType.Signals.noiseGen noiseGen Noise generator
IndustrialControlSystems.MathOperations.RealType.Signals.SmoothStep SmoothStep Smooth step Set pointgenerator
IndustrialControlSystems.MathOperations.RealType.Signals.SmoothThooth SmoothThooth Smooth thooth Set point generator
IndustrialControlSystems.MathOperations.RealType.Signals.SmoothStepSignal SmoothStepSignal Smooth step Set Point generator, driven by signals
IndustrialControlSystems.MathOperations.RealType.Signals.SmoothThoothSignal SmoothThoothSignal Smooth thooth Set Point generator, driven by signals

IndustrialControlSystems.MathOperations.RealType.Signals.noiseGen IndustrialControlSystems.MathOperations.RealType.Signals.noiseGen

Noise generator

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

Extends from Interfaces.RealNinOperation (Real comparison interface).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
useInputs=true, if inputs are enabled
Fixed Point
FixedPoint Use fixed point real numbers
Nbit Number of bit for representing the real numbers
scaleFactor Scale factor for Fixed Point numbers
MAX maximum number that can be represented with Fixed Point notation
MIN mainimum number that can be represented with Fixed Point notation
Noise generator
amp Amplitude
Tf First order filter time constant
X_start Initial value

Connectors

NameDescription
u[nInput]input vector
youtput

IndustrialControlSystems.MathOperations.RealType.Signals.SmoothStep IndustrialControlSystems.MathOperations.RealType.Signals.SmoothStep

Smooth step Set pointgenerator

Information

  

Description

Model of a smooth step signal.



The output ( y ) remains at its initial value yin until time is equal to tin.
Then the signal changes smoothly. After the smoth start the signal grows up linearly with a slope m. When the output signal is close to the final value yfin, it is reached smoothly.
The parameter alfa (that has to be coprises between 0 and 1), indicates the portion of the rising time occupied by the smooth junction.
In this case alfa = 0.1, this indicates that each junction occupy the 10 % of the total rising time.


Fixed Point not available in this model

Extends from Interfaces.RealNinOperation (Real comparison interface).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
useInputs=true, if inputs are enabled
Fixed Point
FixedPoint Use fixed point real numbers
Nbit Number of bit for representing the real numbers
scaleFactor Scale factor for Fixed Point numbers
MAX maximum number that can be represented with Fixed Point notation
MIN mainimum number that can be represented with Fixed Point notation
Smooth step
tin Initial time
alfa Portion of time for parabolic junctions
yin Output initial value
yfin Output final value
m Slope of the ramp

Connectors

NameDescription
u[nInput]input vector
youtput

IndustrialControlSystems.MathOperations.RealType.Signals.SmoothThooth IndustrialControlSystems.MathOperations.RealType.Signals.SmoothThooth

Smooth thooth Set point generator

Information

  

Description

Model of a smooth thooth signal.



The output ( y ) remains at its initial value yin until time is equal to ts.
Then the signal changes smoothly. After the smoth start the signal grows up linearly with a slope m. When the output signal is close to the final value yfin, it is reached smoothly.
At time td the signal returns at its initial value in a specular way.
The parameter alfa (that has to be coprises between 0 and 1), indicates the portion of the rising time occupied by the smooth junction.
In figure are compared two models that have respectively alfa = 0.1 and alfa = 0.4.


Fixed Point not available in this model

Extends from Interfaces.RealNinOperation (Real comparison interface).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
useInputs=true, if inputs are enabled
Fixed Point
FixedPoint Use fixed point real numbers
Nbit Number of bit for representing the real numbers
scaleFactor Scale factor for Fixed Point numbers
MAX maximum number that can be represented with Fixed Point notation
MIN mainimum number that can be represented with Fixed Point notation
Smooth step
ts Initial rising time
td Initial falling time
alfa Portion of time for parabolic junctions
yin Output initial value
yfin Output final value
m Slope of the ramp

Connectors

NameDescription
u[nInput]input vector
youtput

IndustrialControlSystems.MathOperations.RealType.Signals.SmoothStepSignal IndustrialControlSystems.MathOperations.RealType.Signals.SmoothStepSignal

Smooth step Set Point generator, driven by signals

Information

  

Description

Model of a smooth step signal.



The output ( y ) remains at its initial value yin until the enabling input ENup remains false.
Then the signal changes smoothly. After the smoth start the signal grows up linearly with a slope m. When the output signal is close to the final value yfin, it is reached smoothly.
The parameter alfa (that has to be coprises between 0 and 1), indicates the portion of the rising time occupied by the smooth junction.
In this case alfa = 0.1, this indicates that each junction occupy the 10 % of the total rising time.
The additional parameter Delay = 1.5, indicates that the output has to be delayed by 1.5 seconds.


Fixed Point not available in this model

Extends from Interfaces.RealNinOperation (Real comparison interface).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
useInputs=true, if inputs are enabled
Fixed Point
FixedPoint Use fixed point real numbers
Nbit Number of bit for representing the real numbers
scaleFactor Scale factor for Fixed Point numbers
MAX maximum number that can be represented with Fixed Point notation
MIN mainimum number that can be represented with Fixed Point notation
Smooth step
alfa Portion of time for parabolic junctions
yin Output initial value
yfin Output final value
m Slope of the ramp
tin Initial time
delay Delay

Connectors

NameDescription
u[nInput]input vector
youtput
ENup 

IndustrialControlSystems.MathOperations.RealType.Signals.SmoothThoothSignal IndustrialControlSystems.MathOperations.RealType.Signals.SmoothThoothSignal

Smooth thooth Set Point generator, driven by signals

Information

  

Description

Model of a smooth thooth signal.



The output ( y ) remains at its initial value yin until the enabling input ENup remains false.
Then the signal changes smoothly. After the smoth start the signal grows up linearly with a slope m. When the output signal is close to the final value yfin, it is reached smoothly.
The signal returns at its initial value in a specular way, when the input ENup becomes true.
The parameter alfa (that has to be coprises between 0 and 1), indicates the portion of the rising time occupied by the smooth junction.
The rising is delayed by wait_s seconds, while the falling is delayed by wait_d seconds.
Initial and final values are externally defined.


Fixed Point not available in this model

Extends from Interfaces.RealNinOperation (Real comparison interface).

Parameters

NameDescription
Tssampling time
nInputnumber of inputs
useInputs=true, if inputs are enabled
Fixed Point
FixedPoint Use fixed point real numbers
Nbit Number of bit for representing the real numbers
scaleFactor Scale factor for Fixed Point numbers
MAX maximum number that can be represented with Fixed Point notation
MIN mainimum number that can be represented with Fixed Point notation
Smooth step
alfa Portion of time for parabolic junctions
m Slope of the ramp
wait_s Rising delay
wait_d Falling delay

Connectors

NameDescription
u[nInput]input vector
youtput
ENup 
ENdown 

Automatically generated Mon May 21 13:34:14 2012.