Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
![]() | Noise generator |
![]() | Smooth step Set pointgenerator |
![]() | Smooth thooth Set point generator |
![]() | Smooth step Set Point generator, driven by signals |
![]() | Smooth thooth Set Point generator, driven by signals |
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).
Name | Description |
---|---|
Ts | sampling time |
nInput | number 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 |
Name | Description |
---|---|
u[nInput] | input vector |
y | output |
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).
Name | Description |
---|---|
Ts | sampling time |
nInput | number 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 |
Name | Description |
---|---|
u[nInput] | input vector |
y | output |
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).
Name | Description |
---|---|
Ts | sampling time |
nInput | number 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 |
Name | Description |
---|---|
u[nInput] | input vector |
y | output |
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).
Name | Description |
---|---|
Ts | sampling time |
nInput | number 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 |
Name | Description |
---|---|
u[nInput] | input vector |
y | output |
ENup |
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).
Name | Description |
---|---|
Ts | sampling time |
nInput | number 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 |
Name | Description |
---|---|
u[nInput] | input vector |
y | output |
ENup | |
ENdown |