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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 1 | Gains |
| SI.Time | T | 0.01 | Time constants (T>0 required; T=0 is ideal derivative block) |
| Initialization | |||
| Init | initType | Init.NoInit | Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output) |
| Real | x_start | 0 | Initial or guess value of state |
| Real | y_start | 0 | Initial value of output (= state) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | State of block |