Signal\Discrete
Domains: Discrete. Size: 1-D. Kind: Block Diagrams.
This model represents the discrete equivalent of the continuous integration:
output(k) = initial; (k = 0)
inp(k-T)*T + inp(k-2T)*T + inp(k-3T)*T
+ ... + inp(0)*T + initial; (k = n * T , n = 1,2,3,...)
The sampletime T can be set in the Simulator (choose Properties, Simulation and Discrete System). The discrete transfer function of this model is:
H(z) = sampletime / ( z - 1)
which is the equivalent (using the forward difference transformation) of the continuous time transfer function:
H(s) = 1/s
Inputs |
Description |
input |
|
Outputs |
|
output |
|
Parameters |
|
initial |
Initial value of the output. |
The input and output of this model are discrete signals. 20-sim will automatically detect the existence of discrete models. Each chain of discrete models will be assigned a specific sampletime. You can set this sample time to any desired value in the Simulator (choose Properties, Simulation and Discrete System).