| Simulink® | ![]() |
Discontinuities
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 offset corresponds to the Coulombic friction; the gain corresponds to the viscous friction. The block is implemented as
y = sign(u) * (Gain * abs(u) + Offset)
where y is the output, u is the input, and Gain and Offset are block parameters.
The block accepts one input and generates one output. The input can be a scalar, vector, or matrix. If using a vector or matrix input, the offset and gain must have the same dimensions as the input or be scalars. If using a scalar input, the output will be a scalar, vector, or matrix based on the dimensions of the offset and gain. For example, passing a scalar input to the block when using the default offset produces an output vector with four elements.
The Coulomb and Viscous Friction block accepts and outputs real signals of type double.

The offset, applied to all input values. The default is [1 3 2 0].
The signal gain at nonzero input points. The default is 1.
Direct Feedthrough | Yes |
Sample Time | Inherited from driving block |
Scalar Expansion | Yes |
Dimensionalized | Yes |
Zero Crossing | Yes, at the point where the static friction is overcome |
![]() | Constant | Counter Free-Running | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |