simple pendulum with reaction force in SimMechanics

2 views (last 30 days)
In(-1,0.5,0) ,there is a Revolute joint connect with the body on cs1.
In(0,0,0), there is a Bushing joint connect with the body on cs2.
Now,i let the Revolute joint have a initial condition about 45(deg).
And the link is falling down.
IF the cs2 touch the (0,0,0) then there is a reaction force let the link to rebound.
Now,i give a joint actuator to Revolute joint.
let it form 45~-180(deg),it still have the reaction force,but the link doesn't rebound.
The link still work form 45~-180(deg).
How can i do to let the link rebound?
here is my file

Answers (1)

Steve Miller
Steve Miller on 24 Nov 2021
There are a few ways to model this system.
  1. The Spatial Contact Force block will let you model contact between different objects, such as a pendulum and a wall or floor.
  2. You can specify limits in Simscape Multibody joints where a spring and damper force is activated when a joint displacement reaches that limit. As an example, see the documentation page for the Revolute Joint.
--Steve

Community Treasure Hunt

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

Start Hunting!