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

3 次查看(过去 30 天)
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.

回答(1 个)

Steve Miller
Steve Miller 2022-11-20
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

类别

Help CenterFile Exchange 中查找有关 Multibody Dynamics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by