discreteintegral

Navigation:  Library > Signal > Discrete >

discreteintegral

Previous pageReturn to chapter overviewNext page

Library

Signal\Discrete

Use

Domains: Discrete. Size: 1-D. Kind: Block Diagrams.

Description

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

 

Interface

Inputs

Description

input

 

Outputs

 

output

 

Parameters

 

initial

Initial value of the output.

Limitations

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).