Table Of Contents

Friction (G Dataflow)

Version:
    Last Modified: March 31, 2017

    Implements a discontinuity at zero with linear behavior elsewhere.

    connector_pane_image
    datatype_icon

    input

    Input signal.

    This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

    datatype_icon

    gain

    Slope of the friction element.

    This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

    Default: 0

    datatype_icon

    offset

    Offset of the friction element.

    This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

    Default: 0

    datatype_icon

    output

    Output signal.

    This output can return a double-precision, floating-point number or an array of double-precision, floating-point numbers.

    Algorithm for Computing the Output Signal

    The node uses the following equation to implement a discontinuity at zero with linear behavior elsewhere.

    y = { 0          if u = 0 u * gain + offset if u > 0 u * gain offset       if u < 0

    where y is the output signal and u is the input signal.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics