Skip to content

Commit 97cbb29

Browse files
committed
Initial commit R2018b
1 parent d589c6d commit 97cbb29

File tree

72 files changed

+21
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+21
-19
lines changed

Examples/CAD/01_Lift_Table/html/html/sm_lift_table_CAD.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!--
77
This HTML was auto-generated from MATLAB code.
88
To make changes, update the MATLAB code and republish this document.
9-
--><title>Adding Actuators to CAD Model of a Lift Table</title><meta name="generator" content="MATLAB 9.4"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2018-02-10"><meta name="DC.source" content="sm_lift_table_CAD.m"><style type="text/css">
9+
--><title>Adding Actuators to CAD Model of a Lift Table</title><meta name="generator" content="MATLAB 9.5"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2018-08-27"><meta name="DC.source" content="sm_lift_table_CAD.m"><style type="text/css">
1010
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
1111

1212
html { min-height:100%; margin-bottom:1px; }
@@ -66,7 +66,7 @@
6666

6767

6868

69-
</style></head><body><div class="content"><h1>Adding Actuators to CAD Model of a Lift Table</h1><!--introduction--><p>This example shows how to extend CAD models with physical effects in Simscape Multibody. A CAD model of a lift table is imported into Simscape. Simulations are used to determine the amount of force or torque an actuator would need to provide to lift the table. Simscape models of a hydraulic cylinder and an electric lead screw are added to the model to see how the system behaves.</p><p>Simscape enables you to determine high-level actuator requirements, such as the amount of force, torque, or power an actuator must provide. Different actuation technologies can be connected to the 3-D mechanical model to see which actuators would be an option in the final design</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">CAD Model of Lift Table</a></li><li><a href="#3">Lift Table Model Imported from CAD</a></li><li><a href="#6">Lift Table Model With No Actuation</a></li><li><a href="#7">Hydraulic Actuator: Determine Required Force</a></li><li><a href="#9">Hydraulic Actuator: Test Design</a></li><li><a href="#11">Electric Actuator: Determine Required Torque</a></li><li><a href="#13">Electric Actuator: Test Design</a></li></ul></div><h2 id="1">CAD Model of Lift Table</h2><p>The mechanical design of the lift table was created in Onshape <a href="matlab:sm_lift_table_viewOnshape('sm_lift_table');">View Assembly in Onshape</a></p><p><b>Screenshot of CAD Assembly in Onshape</b></p><p><img vspace="5" hspace="5" src="sm_lift_table_Onshape_Assembly.png" alt=""> </p><h2 id="3">Lift Table Model Imported from CAD</h2><p>CAD models can be imported from various CAD environments. For Onshape models, use the command smexportonshape(). The model below shows what the raw imported model looks like.</p><p><a href="matlab:open_system('sm_lift_table_0_import');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_01.png" alt=""> <p><b>Screenshot of Simscape Multibody Model</b></p><p><img vspace="5" hspace="5" src="sm_lift_table_mechanicsExplorer.png" alt=""> </p><h2 id="6">Lift Table Model With No Actuation</h2><p>Once imported, you can group parts and joints within subsystems to make the the block diagram easier to read. Here, we can see the prismatic joint representing the degree of freedom that we need to actuate.</p><p><a href="matlab:open_system('sm_lift_table_1_arch');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_02.png" alt=""> <h2 id="7">Hydraulic Actuator: Determine Required Force</h2><p>To determine the force that is required to lift the table, we can prescribe the motion of the prismatic joint and the simulation will calculate how much force is needed to produce that motion.</p><p><a href="matlab:open_system('sm_lift_table_f1_actf');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_03.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_04.png" alt=""> <h2 id="9">Hydraulic Actuator: Test Design</h2><p>A hydraulic actuator is connected to our mechanical model. The input signal to the valve adjusts the spool position which controls flow to and from the hydraulic actuator. The actuator extends and contracts to raise and lower the table. This model allows us to determine the size of the hydraulic cylinder and the required pressures and flow rates in our system.</p><p><a href="matlab:open_system('sm_lift_table_f2_hydr');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_05.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_06.png" alt=""> <h2 id="11">Electric Actuator: Determine Required Torque</h2><p>A leadscrew driven by an electric motor is a second method of actuation considered for our design. Replacing the prismatic joint with a lead screw and a revolute joint gives us an additional degree of freedom. We specify the rate of extension for the leadscrew, and measure the required torque to produce that motion at the revolute joint that was added. With this information, we can determine the size of our motor.</p><p><a href="matlab:open_system('sm_lift_table_t1_actt');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_07.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_08.png" alt=""> <h2 id="13">Electric Actuator: Test Design</h2><p>An electromechanical actuator is connected to our mechanical model. The electric motor spins the screw forward and backward to extend and contract the actuator which raises and lowers the lift table. Hard stops have been added to limit the extension of our actuator. This model allows us to select gear ratios and determine the power requirements of our motor.</p><p><a href="matlab:open_system('sm_lift_table_t2_elec');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_09.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_10.png" alt=""> <p class="footer">Copyright 2016-2018 The MathWorks, Inc.<br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2018a</a><br></p></div><!--
69+
</style></head><body><div class="content"><h1>Adding Actuators to CAD Model of a Lift Table</h1><!--introduction--><p>This example shows how to extend CAD models with physical effects in Simscape Multibody. A CAD model of a lift table is imported into Simscape. Simulations are used to determine the amount of force or torque an actuator would need to provide to lift the table. Simscape models of a hydraulic cylinder and an electric lead screw are added to the model to see how the system behaves.</p><p>Simscape enables you to determine high-level actuator requirements, such as the amount of force, torque, or power an actuator must provide. Different actuation technologies can be connected to the 3-D mechanical model to see which actuators would be an option in the final design</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">CAD Model of Lift Table</a></li><li><a href="#3">Lift Table Model Imported from CAD</a></li><li><a href="#6">Lift Table Model With No Actuation</a></li><li><a href="#7">Hydraulic Actuator: Determine Required Force</a></li><li><a href="#9">Hydraulic Actuator: Test Design</a></li><li><a href="#11">Electric Actuator: Determine Required Torque</a></li><li><a href="#13">Electric Actuator: Test Design</a></li></ul></div><h2 id="1">CAD Model of Lift Table</h2><p>The mechanical design of the lift table was created in Onshape <a href="matlab:sm_lift_table_viewOnshape('sm_lift_table');">View Assembly in Onshape</a></p><p><b>Screenshot of CAD Assembly in Onshape</b></p><p><img vspace="5" hspace="5" src="sm_lift_table_Onshape_Assembly.png" alt=""> </p><h2 id="3">Lift Table Model Imported from CAD</h2><p>CAD models can be imported from various CAD environments. For Onshape models, use the command smexportonshape(). The model below shows what the raw imported model looks like.</p><p><a href="matlab:open_system('sm_lift_table_0_import');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_01.png" alt=""> <p><b>Screenshot of Simscape Multibody Model</b></p><p><img vspace="5" hspace="5" src="sm_lift_table_mechanicsExplorer.png" alt=""> </p><h2 id="6">Lift Table Model With No Actuation</h2><p>Once imported, you can group parts and joints within subsystems to make the the block diagram easier to read. Here, we can see the prismatic joint representing the degree of freedom that we need to actuate.</p><p><a href="matlab:open_system('sm_lift_table_1_arch');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_02.png" alt=""> <h2 id="7">Hydraulic Actuator: Determine Required Force</h2><p>To determine the force that is required to lift the table, we can prescribe the motion of the prismatic joint and the simulation will calculate how much force is needed to produce that motion.</p><p><a href="matlab:open_system('sm_lift_table_f1_actf');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_03.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_04.png" alt=""> <h2 id="9">Hydraulic Actuator: Test Design</h2><p>A hydraulic actuator is connected to our mechanical model. The input signal to the valve adjusts the spool position which controls flow to and from the hydraulic actuator. The actuator extends and contracts to raise and lower the table. This model allows us to determine the size of the hydraulic cylinder and the required pressures and flow rates in our system.</p><p><a href="matlab:open_system('sm_lift_table_f2_hydr');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_05.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_06.png" alt=""> <h2 id="11">Electric Actuator: Determine Required Torque</h2><p>A leadscrew driven by an electric motor is a second method of actuation considered for our design. Replacing the prismatic joint with a lead screw and a revolute joint gives us an additional degree of freedom. We specify the rate of extension for the leadscrew, and measure the required torque to produce that motion at the revolute joint that was added. With this information, we can determine the size of our motor.</p><p><a href="matlab:open_system('sm_lift_table_t1_actt');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_07.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_08.png" alt=""> <h2 id="13">Electric Actuator: Test Design</h2><p>An electromechanical actuator is connected to our mechanical model. The electric motor spins the screw forward and backward to extend and contract the actuator which raises and lowers the lift table. Hard stops have been added to limit the extension of our actuator. This model allows us to select gear ratios and determine the power requirements of our motor.</p><p><a href="matlab:open_system('sm_lift_table_t2_elec');">Open Model</a></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_09.png" alt=""> <p><b>Simulation Results from Simscape Logging</b></p><img vspace="5" hspace="5" src="sm_lift_table_CAD_10.png" alt=""> <p class="footer">Copyright 2016-2018 The MathWorks, Inc.<br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2018b</a><br></p></div><!--
7070
##### SOURCE BEGIN #####
7171
%% Adding Actuators to CAD Model of a Lift Table
7272
%
-36 Bytes
Loading
-18.1 KB
Loading
-5.8 KB
Loading
-8.41 KB
Loading
1.24 KB
Loading
-7.33 KB
Loading
229 Bytes
Loading
-10.8 KB
Loading
1019 Bytes
Loading

0 commit comments

Comments
 (0)