MATLAB Answers

Controlling motion of a solid

1 view (last 30 days)
Travis Dopp
Travis Dopp on 8 May 2015
Answered: Steve Miller on 24 Jun 2021
I am trying to design something in SimMechanics and am having an issue controlling the motion of a solid. I have a pendulum in the "Pendulum" group below that oscillates back and forth according to a force supplied in that subgroup. I am trying to add an impeller that spins only about its own center. While it is spinning, it also oscillates back and forth about the pendulum's revolute joint. I had it in place how I wanted but then I changed something and (due to being new at all of this) do not know how to make it right again. Can anyone please help? I just want the impeller to spin at one fixed location. Thank you!

Answers (1)

Steve Miller
Steve Miller on 24 Jun 2021
Hi Travis,
It looks close! If you apply a torque to the cylindrical joint, you can get it to spin, and for the oscillations you can apply a force along the z-axis of the cylindrical joint. Both of those excitations can be applied directly at the Cylindrical Joint if you set the Actuation, Force and Actuation, Torque settings to "Provided by Input".
--Steve

Community Treasure Hunt

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

Start Hunting!