Coulomb and Viscous Friction
Model discontinuity at zero, with linear gain elsewhere
Libraries:
Simulink /
Discontinuities
HDL Coder /
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.
For a scalar input,
Gain
andOffset
can have dimensions that differ from the input. The output is a scalar, vector, or matrix depending on the dimensions ofGain
andOffset
.For a vector or matrix input,
Gain
andOffset
must be scalar or have the same dimensions as the input. The output is a vector or matrix of the same dimensions as the input.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced before R2006a