Skip to Main Content Skip to Search
Product Documentation

Coulomb and Viscous Friction - Model discontinuity at zero, with linear gain elsewhere

Library

Discontinuities

Description

The Coulomb and Viscous Friction block models Coulomb (static) and viscous (dynamic) friction. The block models a discontinuity at zero and a linear gain otherwise.

The block output matches the MATLAB result for:

y = sign(x) .* (Gain .* abs(x) + Offset)

where y is the output, x is the input, Gain is the signal gain for nonzero input values, and Offset is the Coulomb friction.

The block accepts one input and generates one output. The input can be a scalar, vector, or matrix with real and complex elements.

Data Type Support

The Coulomb and Viscous Friction block supports real inputs of the following data types:

The block supports complex inputs only for floating-point data types, double and single. The output uses the same data type as the input.

For more information, see Data Types Supported by Simulink in the Simulink documentation.

Parameters and Dialog Box

Coulomb friction value

Specify the offset that applies to all input values.

Coefficient of viscous friction

Specify the signal gain for nonzero input values.

Examples

Scalar Input

Suppose that you have the following model:

In this model, block input x and Gain are scalar values, but Offset is a vector. Therefore, the block uses element-wise scalar expansion to compute the output.

Vector Input

Suppose that you have the following model:

In this model, vector dimensions for block input x and Offset are the same.

Matrix Input

Suppose that you have the following model:

In this model, matrix dimensions for block input x and Offset are the same.

Characteristics

Direct Feedthrough

Yes

Sample Time

Inherited from the driving block

Scalar Expansion

Yes

Dimensionalized

Yes

Multidimensionalized

No

Zero-Crossing Detection

No

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS