File Exchange

image thumbnail

Simscape Multibody Parts Library

version 2.6.0.0 (18.1 MB) by Steve Miller
Parameterized parts for Simscape Multibody, with gear assemblies and MATLAB code for extrusions

45 Downloads

Updated 18 Apr 2019

View License

This set of examples shows you how to create parameterized parts for Simscape Multibody and example MATLAB scripts for defining general extrusions. The parts have been used in a wide range of examples to show how these blocks enable you to rapidly model mechanisms. Within the library are a set of gear assemblies. The parameterized gear assemblies group the required blocks together and parameterize them so that frames are always positioned and oriented correctly.

Please read the README.txt file to get started.

To see how to defining bodies in Simscape Multibody, watch this video (5 min):
https://www.mathworks.com/videos/defining-rigid-bodies-68845.html

To learn more about multibody simulation with Simscape Multibody, please watch this webinar:
http://www.mathworks.com/videos/multibody-simulation-with-simmechanics-81877.html

To find other Simscape examples, search for posts with the keyword "physical modeling"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22physical+modeling%22

To learn more about MathWorks Simscape Products, go to:
https://www.mathworks.com/solutions/physical-modeling.html

Cite As

Steve Miller (2019). Simscape Multibody Parts Library (https://www.mathworks.com/matlabcentral/fileexchange/36536-simscape-multibody-parts-library), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (8)

Steve Miller

Thanks Daniel. I considered adding the number of points as an optional parameter for Extr_Data_Ring. I decided to keep the list of parameters as short as possible, and hopefully the code is clear enough for people to extend it. Now that I have seen that this is necessary for some use cases, I'll consider adding it for all Extr_Data_* scripts that include arcs. Thanks for the feedback.

Steve, I mostly use the Contact Forces Library, but I noticed that the ring extrusion script is used here. Anyway, the visualization of the ring extrusion is clocked every degree which is probably okay in many cases, but I found the need to have the visualization of rings have more refinement. I've gone in and modified the Extr_Data_Ring script to divide the arc into 1000 divisions so it works for me, but I thought I'd throw it out there as a suggestion to refine the angular spacing of rings. (BTW, I've also noticed that visualizations of solid bodies using the Simscape Multibody "Solid" block are similarly coarse.)

cattylover

Hi Steve,
I'm a bit new to Simulink, how do I get your excellent libraries to get into the standard simulink Library browser?

Thanks!

Benjamin

Updates

2.6.0.0

Added R2019a version.

2.5.0.0

Added R2018b version.

2.4.0.0

Added pulley part and extrusion script; added example Three Connected Pulleys; added example Cable-Driven XY Table with Cross Base.

2.31.0.0

Adjusted sm_lead_screw_actuator_torque.slx and sm_lead_screw_friction.slx to represent a more common use of a lead screw. No change to library or extrusion data scripts.

2.3.0.0

Added R2017b version with cone part and extrusion script, and a sphere part.

2.2.0.0

Added parameter "Relative Position (B to F)" to Rod part. Permits changing direction of rod without rewiring diagram.
Useful in symmetrical opposing mechanisms, such as crossbars on a scissor lift.

2.1.0.0

Added extrusion script for conical frustum (cone), parameterized cone part, parameterized sphere part.

2.0.0.0

Fixed broken link.

2.0.0.0

Added R17a version. Absorbed Simscape Multibody Gearset Library, updated extrusion scripts, added many examples.

1.5.0.1

Updated license

1.5.0.0

Fixed broken hyperlink in submission description.

1.5.0.0

Added version for R2016a, including a few small fixes to the extrusion scripts.

1.4.0.0

Fixed webinar link.

1.3.0.0

Updated link to video in "Description" field. No changes to files in submission.

1.2.0.0

Updated for R2013a. Added examples and extrusion scripts for gears.

1.1.0.0

Added scripts to create gears (external and internal), as well as a planetary gear and rack-and-pinion models.

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Simscape_Multibody_Parts_Lib_R18b

Simscape_Multibody_Parts_Lib_R18b/Examples/Extrusions/Basic/html

Simscape_Multibody_Parts_Lib_R18b/Examples/Extrusions/Conveyors/XTS_1

Simscape_Multibody_Parts_Lib_R18b/Examples/Extrusions/Conveyors/XTS_1/Scripts_Data

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Differential

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Simple

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Simple/html

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Water_Lift

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Water_Lift/Scripts_Data

Simscape_Multibody_Parts_Lib_R18b/Examples/Linkages

Simscape_Multibody_Parts_Lib_R18b/Examples/Linkages/html

Simscape_Multibody_Parts_Lib_R18b/Examples/Pulleys/Simple/ThreePulleys

Simscape_Multibody_Parts_Lib_R18b/Examples/Pulleys/XY_Table_Cross

Simscape_Multibody_Parts_Lib_R18b/Examples/Pulleys/XY_Table_Cross/Scripts_Data

Simscape_Multibody_Parts_Lib_R18b/Extrusion_Scripts

Simscape_Multibody_Parts_Lib_R18b/Libraries

Simscape_Multibody_Parts_Lib_R18b/Scripts_Data

Simscape_Multibody_Parts_Lib_R18b/Scripts_Data/Doc

Simscape_Multibody_Parts_Lib_R19a

Simscape_Multibody_Parts_Lib_R19a/Examples/Extrusions/Basic/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Extrusions/Conveyors/XTS_1

Simscape_Multibody_Parts_Lib_R19a/Examples/Extrusions/Conveyors/XTS_1/Scripts_Data

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Differential

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Simple

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Simple/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Water_Lift

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Water_Lift/Scripts_Data

Simscape_Multibody_Parts_Lib_R19a/Examples/Linkages

Simscape_Multibody_Parts_Lib_R19a/Examples/Linkages/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Pulleys/Simple/ThreePulleys

Simscape_Multibody_Parts_Lib_R19a/Examples/Pulleys/XY_Table_Cross

Simscape_Multibody_Parts_Lib_R19a/Examples/Pulleys/XY_Table_Cross/Scripts_Data

Simscape_Multibody_Parts_Lib_R19a/Extrusion_Scripts

Simscape_Multibody_Parts_Lib_R19a/Libraries

Simscape_Multibody_Parts_Lib_R19a/Scripts_Data

Simscape_Multibody_Parts_Lib_R19a/Scripts_Data/Doc

Simscape_Multibody_Parts_Lib_R18b/Examples/Extrusions/Basic

Simscape_Multibody_Parts_Lib_R18b/Examples/Extrusions/Conveyors/XTS_1

Simscape_Multibody_Parts_Lib_R18b/Examples/Extrusions/Conveyors/XTS_1/Libraries

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Differential

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Simple

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Water_Lift

Simscape_Multibody_Parts_Lib_R18b/Examples/Linkages

Simscape_Multibody_Parts_Lib_R18b/Examples/Parts

Simscape_Multibody_Parts_Lib_R18b/Examples/Pulleys/Simple/ThreePulleys

Simscape_Multibody_Parts_Lib_R18b/Examples/Pulleys/XY_Table_Cross

Simscape_Multibody_Parts_Lib_R18b/Libraries

Simscape_Multibody_Parts_Lib_R19a/Examples/Extrusions/Basic

Simscape_Multibody_Parts_Lib_R19a/Examples/Extrusions/Conveyors/XTS_1

Simscape_Multibody_Parts_Lib_R19a/Examples/Extrusions/Conveyors/XTS_1/Libraries

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Differential

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Simple

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Water_Lift

Simscape_Multibody_Parts_Lib_R19a/Examples/Linkages

Simscape_Multibody_Parts_Lib_R19a/Examples/Parts

Simscape_Multibody_Parts_Lib_R19a/Examples/Pulleys/Simple/ThreePulleys

Simscape_Multibody_Parts_Lib_R19a/Examples/Pulleys/XY_Table_Cross

Simscape_Multibody_Parts_Lib_R19a/Libraries

Simscape_Multibody_Parts_Lib_R18b/Examples/Extrusions/Conveyors/XTS_1/html

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Differential/html

Simscape_Multibody_Parts_Lib_R18b/Examples/Gears/Water_Lift/html

Simscape_Multibody_Parts_Lib_R18b/Examples/Pulleys/Simple/ThreePulleys/html

Simscape_Multibody_Parts_Lib_R18b/Examples/Pulleys/XY_Table_Cross/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Extrusions/Conveyors/XTS_1/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Differential/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Gears/Water_Lift/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Pulleys/Simple/ThreePulleys/html

Simscape_Multibody_Parts_Lib_R19a/Examples/Pulleys/XY_Table_Cross/html