The differentiator block is a simple derivative stage that approximates the time derivative of an input signal by calculating the incremental slope of that signal since the previous timepoint.

The block also includes gain and output offset parameters to allow for tailoring of the required signal, and output upper and lower limits to prevent convergence errors resulting from excessively large output values. The incremental value of output below the output_upper_limit and above the output_lower_limit at which smoothing begins is specified via the limit_range parameter.

In AC analysis, the value returned is equal to the radian frequency of analysis multiplied by the gain.

Note: |
---|

Note that since truncation error checking is not included in the differentiator block, it is not recommended that the model be used to provide an integration function through the use of a feedback loop. Such an arrangement could produce erroneous results. Instead, you should make use of the "integrate" model, which does include truncation error checking for enhanced accuracy. |

# Parameters

Parameter | Description | Default |
---|---|---|

out_offset | Output offset. | 0 |

gain | Gain. | 1 |

out_lower_limit | Output lower limit. | |

out_upper_limit | Output upper limit. | |

limit_range | Upper and lower limit smoothing range. | 1.0e-6 |