blockDerivative

Approximated derivative block

Extends from Interfaces.SISO (Single Input Single Output continuous control block).

Information

This blocks defines the transfer function between the input u and the output y as approximated derivative:

        k * s
y = ------------ * u
       T * s + 1

If you would like to be able to change easily between different transfer functions (FirstOrder, SecondOrder, ... ) by changing parameters, use the general block TransferFunction instead and model a derivative block with parameters
b = {k,0}, a = {T, 1}.

If k=0, the block reduces to y=0.

Parameters

TypeNameDefaultDescription
Realk1Gains
SI.TimeT0.01Time constants (T>0 required; T=0 is ideal derivative block)
Initialization
InitinitTypeInit.NoInitType of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
Realx_start0Initial or guess value of state
Realy_start0Initial value of output (= state)

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal

Components

TypeNameDefaultDescription
RealxState of block