Help with Simscape Multibody

2 views (last 30 days)
Leeann Newton
Leeann Newton on 14 Sep 2020
Answered: J Chen on 21 Sep 2020
I'm trying to create a simulation representing the 4 DOF for a robotic arm. My issue is in the "M3 and L3" block of my attached file. The link is using a revolute joint and I can't get it to move how I need it to. I know the direction the Z axis should be in to for the joint to move how I'd like it to but when I rotate the axis, the joint no longer works. I based my simulation off of the pendulum example provided by the Simscape Multibody tutorial videos ( https://www.youtube.com/watch?v=lItmRlH4iBw&t=448s )
The image shows how the link is currently moving and how I need it to move. I've also attached my Simscape Multibody file.

Accepted Answer

J Chen
J Chen on 21 Sep 2020
The z-axis of the revolute joint needs to align with the desired roration axis. Use the Rigid Transform block in the Simscape/Multibody/Frames and Transformation to rotate the revolute joint. You may need a Rigid Transform block at each joint of the revolute joint.

More Answers (0)

Categories

Find more on Applications in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!