Adding stribeck friction to a pendulum modeled with SimMechanics 2nd Generation

3 views (last 30 days)
I'm trying to learn how to use SimMechanics. There are simple examples that show to to make a pendulum. I'd like to add stribeck friction to the revolute joint. There is a block that does exactly this in the Simscape mechanical rotation foundation library but I cannot figure out how to interface it with the 2nd generation SimMechanics.
Should I not assume that the Simscape Foundation library (mechanical specifically) can work with the 2nd generation SimMechanics? If the answer is no... then what is the recommended way to implement a custom function at a joint (e.g. custom friction)?
Thanks.

Answers (1)

Steve Miller
Steve Miller on 20 Nov 2022
For custom friction at a joint, take a look at the Simscape Multibody Multiphysics Library. It contains many examples for creating custom forces at joints based on other quantities.
The friction you wish to implement requires measuring the velocity of the joint, calculating a resistance torque, and applying that to the joint. The hardstop examples in the File Exchange submission mentioned above show you how to do that.
--Steve

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!