Project S2 Motion Analysis Using Solidworks Motion: Chapter Outline
Project S2 Motion Analysis Using Solidworks Motion: Chapter Outline
SolidWorksÒ Motion
Chapter Outline
S2.1 Introduction to SolidWorks Motion 398
S2.1.1 Overall Process 398
S2.1.2 User Interface 399
S2.1.3 Defining Motion Entities 403
S2.1.4 Motion Simulation 404
S2.1.5 Viewing Results 404
S2.1.6 Examples 406
S2.2 Sliding Block 406
S2.2.1 SolidWorks Parts and Assembly 407
S2.2.2 Motion Model 408
S2.3 Using SolidWorks Motion for the Sliding Block 410
S2.3.1 Defining Gravity 411
S2.3.2 Defining Initial Position 411
S2.3.3 Defining and Running the Simulation 411
S2.3.4 Displaying the Simulation Results 414
S2.3.5 Results Verification 417
S2.4 Single-Piston Engine 418
S2.4.1 SolidWorks Parts and Assembly 419
S2.4.2 Motion Model 420
S2.5 Using SolidWorks Motion for the Single-Piston Engine 420
S2.5.1 Creating a Motion Study 420
S2.5.2 Displaying Simulation Results 423
S2.5.3 Results Verification 424
Exercises 429
Motion analysis was reviewed in Chapter 3, in which both theoretical and practical aspects of
the subject were discussed. There is no need to emphasize the importance of understanding
theory and using analytical methods to solve engineering problems. However, as discussed in
Chapter 3, analytical methods can only go so far. For many design applications, such as
mechanical system analysis, which involves multiple bodies, analytical methods can only
support a small number of rigid bodiesdthat is, one or two, at best. In many cases, engineers
must rely on tools such as motion analysis software to evaluate product performance in
mechanisms with high accuracy in support of design decision making. It is critical for design
engineers to learn and be able to use software tools for solving problems that are beyond hand
calculations relying on analytical methods.
In this project, we introduce SolidWorks Motion for kinematic and dynamic analysis of
mechanical systems. We include two simple examples: a sliding block and a single-piston
engine, which should provide a good overview of the motion analysis capabilities offered by
SolidWorks Motion. You may find the example files on the book’s companion website (http://
booksite.elsevier.com/9780123984609).
Overall, the objective of this project is to enable readers to use SolidWorks Motion for basic
applications. Those who are interested in learning more may want to go over the examples
provided by Motion or review other tutorials on the subject, such as Motion Simulation and
Mechanism Design with SolidWorks Motion (available at http://www.sdcpublications.com).
Note that the lessons in this project are developed using SolidWorks 2011 SP2.0. A different
version of SolidWorks may have slightly different menu options or dialog boxes. Since
SolidWorks is fairly intuitive to use, these differences should not be too difficult to figure out.
The use of SolidWorks Motion for mechanism design and analysis consists of three main
steps: model generation (or preprocessing), analysis (or simulation), and result visualization
(or postprocessing), as illustrated in Figure S2.1. Basic entities that constitute a motion model
include bodies, joints, initial conditions, and force or driver. A body can be stationary
(ground body) or movable. Joints, such as revolute joints and cylindrical joints, are defined
between bodies to constrain the relative movement between them. In Motion, joints are
Project S2 Motion Analysis Using SolidWorksÒ Motion 399
implicitly defined by assembly mates (as in Motion 2011 and beyond). Users do not create
joints to constrain body motion directly. Instead, body motion is governed by assembly mates,
which must therefore be properly defined for the mechanism so that the motion model
captures essential characteristics and closely resembles the behavior of the physical
mechanism. In motion models, at least one degree of freedom must be free to allow the
mechanism to move. The free degrees of freedom are usually either driven by a servomotor
for kinematic analysis or by an external load (force and torque) for dynamic simulation.
The analysis capabilities in Motion employ a simulation engine, Adams/Solver, which solves
the equations of motion for the mechanism. Adams/Solver calculates the position, velocity,
and acceleration of individual moving bodies; as well as reaction forces acting on individual
moving parts at joints. Typical simulation problems, including static (equilibrium
configuration) and motion (kinematic and dynamic), are supported.
The analysis results can be visualized in various forms. You may animate motion of the
mechanism or generate graphs for more specific results, such as the reaction force of a joint in
the time domain. You may also query results at specific locations for a given time frame.
Furthermore, you may ask for a report on results that you specify, such as the acceleration of
a moving part in the time domain. You may also save the motion animation to an AVI for file
portability.
The Motion user interface is identical to that of SolidWorks, as shown in Figure S2.2.
SolidWorks users should find it is straightforward to maneuver in Motion. The main
interface is through MotionManager below the graphics area, as shown in Figure S2.2.
MotionManager creates and plays animations as well as conducts motion analysis. When an
400 Project S2
existing assembly (or part) in SolidWorks is opened, the Motion Study tab (with the default
name Motion Study 1) appears at the bottom of the graphics area. Clicking it brings up the
MotionManager window.
As shown in Figure S2.2, the user interface window of MotionManager consists of the
MotionManager tree (or Motion browser), the Motion toolbar, filters, timeline area, and so
forth. Components are mapped from the SolidWorks assembly into the MotionManager tree
automatically, including root assembly, parts, subassemblies, and mates. Each part and
subassembly entity can be expanded to show its components. Motion entities, such as spring
and force, are added to the MotionManager tree once they are created. A result branch is
added to the tree once a motion analysis is completed and result graphs are created. As with
SolidWorks, right-clicking on a node in the MotionManager tree brings up command options
that you can choose to modify or adjust the entity.
The graphics area displays the motion model you are working on. The Motion toolbar shown
in Figure S2.3 (and in more detail in Table S2.1) provides the major functions required to
create and modify motion models, including creating and running analyses and visualizing
results. The toolbar includes type of study (animation, basic motion, or motion analysis),
calculation, animation controls, playback speed options, saving options, the Animation
Wizard, key point controls, and simulation elements.
Project S2 Motion Analysis Using SolidWorksÒ Motion 401
Play from start Reset components and play simulation; use after
simulation has been calculated
Playback mode: Loop Continuous play from beginning to end then loop to
beginning and continue playing
Playback mode: Reciprocal Continuous play from beginning to end then reversedplay
from end to beginning
Auto key Click to automatically place new key when you move or
change components; click again to toggle
Continued
402 Project S2
You can use Animation to animate simple operation of assemblies, such as Rotate, Zoom In/
Out, and Explode/Collapse. You may also add motors to animate simple kinematic motion of
the assembly. You can use Basic Motion for approximating the effects of motors, springs,
collisions, and gravity on assemblies. Basic Motion takes mass into account in calculating
motion. Its computation is relatively fast, so you can use this for creating presentation-worthy
animations using physics-based simulations. Both Animation and Basic Motion are available
in the basic version of SolidWorks. In addition, you can use Motion Analysis (available with
the SolidWorks Motion add-in from SolidWorks Premium) to accurately simulate and
analyze the motion of an assembly while incorporating the effects of forces such as springs,
dampers, and friction.
Project S2 Motion Analysis Using SolidWorksÒ Motion 403
If you do not see the Motion Analysis option for study, you may have not activated the Motion
add-in module. It must be chosen from the pull-down menu Tools > Add-Ins. In the Add-Ins
window shown in Figure S2.4, click SolidWorks Motion in both boxes (Active Add-Ins and Start
Up), and then click OK. You may need to restart SolidWorks to activate the Motion module.
The area to the right of the MotionManager tree is the timeline area, which is the temporal
interface for animation. The timeline area displays the times and types of animation events in
the motion study. It is divided by vertical gridlines corresponding to the numerical markers
showing the time. The numerical markers start at 00:00:00. You may click and drag a key to
define the beginning or end time of the animation or motion simulation.
After a motion analysis is completed, you will see several horizontal bars appear in the timeline
area. They are Change bars for connecting key points. They indicate a change between key
points, which characterize the duration of animation, view orientation, and so forth.
Switching back and forth between Motion and SolidWorks is straightforward. Click the Model
tab (back to SolidWorks) and Motion Study tab (to Motion) at the bottom of the graphics area.
As mentioned before, the basic entities of a valid Motion simulation model consist of ground
part (or ground body), moving parts (or moving bodies), joints (imposed implicitly by
assembly mates in SolidWorks assembly), initial conditions (usually position and velocity of
a moving body), and forces or drivers for dynamic and kinematic analyses, respectively.
A ground part, or a ground body, represents a fixed reference in space. The first component
brought into the assembly is usually stationary and so becomes a ground part. Parts (or
In Motion, the results of the motion analysis can be realized using animations, graphs, reports,
and queries. Animations show the configuration of the mechanism in consecutive time
frames. They provide a global view of the mechanism’s behaviordfor example, the motion of
Project S2 Motion Analysis Using SolidWorksÒ Motion 405
Figure S2.5: Motion analysis capabilities in SolidWorks Motion: (a) static analysis, (b) kinematic
analysis, and (c) dynamic analysis.
the single-piston engine as shown in Figure S2.6 (a screen capture of the motion animation).
You may also export the animation to AVI for various purposes.
In addition, you may choose an assembly mate or a part to generate result graphsdfor
example, position versus time of the mass center of the piston in the engine example, shown in
Figure S2.7. These graphs give you a quantitative understanding of the characteristics of the
mechanism.
You may also query the results by moving the mouse pointer closer to the curve in a graph and
leaving it there for a short period. The results data appear next to the pointer. And you may ask
SolidWorks Motion for a report that includes a complete set of results in the form of textual
data or a Microsoft Excel spreadsheet.
In addition to the capabilities just discussed, Motion allows you to check the interference
between bodies during motion. Furthermore, the reaction forces calculated can be used to
support structural analysis using, for example, SolidWorks Simulation.
S2.1.6 Examples
The two simple examples included in this tutorial project illustrate step-by-step details of
modeling, analysis, and result visualization in Motion. We start with a very simple sliding
block in Section S2.2. The second example illustrates the steps for carrying out kinematic
analysis for a single-piston engine, in which the propeller is driven by a rotary motor at
a constant angular speed (Sections S2.4 and S2.5). Both examples are summarized in
Table S2.2.
Problem
Example FEA Model Type Things to Learn
Figure S2.8: Sliding block: (a) schematic view and (b) motion model in CAD (SolidWorks).
For this lesson, the parts and assembly have been created in SolidWorks. There are
four model files created: block.SLDPRT, ground.SLDPRT, Lesson2.SLDASM, and
Lesson2withresults.SLDASM. We start with Lesson2.SLDASM, in which the block is
assembled to the ground and no motion entities have been added. The assembly file
Lesson2withresults.SLDASM contains the complete simulation model with simulation results.
408 Project S2
Figure S2.9: Assembly mates defined in Lesson2.SLDASM: (a) coincident1, (b) coincident3, and (c)
LimitDistance1.
In the assembly models, there are three assembly mates, as shown in Figure S2.9:
Coincident1(ground<1>,block<1>)
Coincident3(ground<1>,block<1>)
LimitDistance1(ground<1>,block<1>)
The LimitDistance mate allows the block to move along the slope surface for a limited 9 in.
distance. You may drag the block in the graphics area; you should be able to move it on the
slope surface but not beyond it because the limitDistance mate does not allow this. Choose
Edit > Undo Move Component from the pull-down menu to restore the block to its previous
position.
We now take a look at the assembly mate LimitDistance1. From the SolidWorks browser,
click LimitDistance1, and choose Edit Feature , as shown in Figure S2.10. The mate is
brought back for reviewing or editing, as shown in Figure S2.11.
Note that the distance between the two faces, Face<2>@block-1 and Face<1>@ground-1
(Figure S2.9c) is 4 in. The upper and lower limits of the distance are 9 in. and 0 in.,
respectively. The length of the slope surface is 10 in.; therefore, the upper limit is set to 9 in.
so that the block stops when its front lower edge reaches the end of the slope surface (since the
block width is 1 in.). Note that LimitDistance1 is an advanced mate in SolidWorks.
The block and ground parts (or bodies) are assumed rigid. As mentioned earlier, a limit
distance mate is defined to prevent the block from sliding out of the slope surface. The block
reaches the end of the slope surface in about 0.3 sec, as shown in Figure S2.12, which is the
Project S2 Motion Analysis Using SolidWorksÒ Motion 409
Y-position of the mass center of the block. The graph shows that it bounces back when it
reaches the end; this action is due the limitDistance mate and is artificial. The Y-position of
the mass center of the block is about 0.18 in., and travels down to about 4.31 in. at 0.306 sec.
You may export the graph to an Excel file to check these numbers in SolidWorks Motion. The
total vertical travel distance is 4.49 in.
410 Project S2
Figure S2.12: Sliding block in SolidWorks Motion: (a) reaching the end of the slope surface;
(b) graph of the Y-position of the mass center of the block.
this units system, the gravity is 386 in./sec2 in the negative Y-direction of the global coordinate
system.
Click the Motion Study tab (Motion Study 1) at the bottom of the graphics area to bring up the
MotionManager window.
Bring the block to the upper end of the slope surface as its initial position. The block is
released from this position to simulate sliding without friction. We edit the mate
LimitDistance1 and enter 0 for the distance dimension.
From the SolidWorks browser, expand the Mates branch, click LimitDistance1
(ground<1>,ball<1>), and choose Edit Feature . You should see the definition of the
assembly mate in the dialog box (Figure S2.15). Enter 0.00 in. for the distance, and click the
checkmark on top to accept the change. In the graphics area, the block should move to the top
position on the slope face, as shown in Figure S2.15.
Choose Motion Analysis from the motion study selection (directly above the MotionManager
tree, as shown in Figure S2.16). Click the Motion Study Properties button from the Motion
Y
X Enter 0 for distance to
move the block to thr top
Z position
Figure S2.15: Define the initial position for the sliding block.
toolbar. In the Motion Study Properties dialog box (Figure S2.17), enter 500 for Frames per
second, and click the checkmark at the top of the box.
Zoom in to the timeline area until you can see tenth-sec marks. Drag the end time key to the
0.4-sec mark (see Figure S2.18) in the timeline area to define the simulation duration. Click
the Calculate button on the Motion toolbar to start the motion analysis. A 0.4-sec
simulation is carried out.
Project S2 Motion Analysis Using SolidWorksÒ Motion 413
After a few seconds, you should see the block start moving down along the slope surface.
Since the total simulation duration is only 0.4 sec, you may want to adjust the playback speed
to 10% to slow down the animation by choosing 0.1x from the scroll-down menu next to the
animation slider.
Next, we graph the Y-position of the block in two ways: Y-position of the mass center of
the block and then Y-distance between the front face of the block and the top end face of
the slope. Both displacement graphs should reveal a parabolic curve, as is common in
physics.
From the MotionManager, right click block<1>, and choose Create Motion Plot, as shown
in Figure S2.19. In the Results dialog box (Figure S2.20), choose Displacement/Velocity/
Acceleration, select Linear Displacement, Y Component, and then click the checkmark to
accept the graph. You should see a graph like that in Figure S2.12b. Next we define another
graph, distance, to show the same information.
Click the Results and Plots button from the Motion toolbar. In the Results dialog box
(refer to Figure S2.21), choose Displacement/Velocity/Acceleration, select Linear
Displacement, and then Y Component. Pick the two vertices, as seen in Figure S2.21. Click
the checkmark to accept the graph. A graph like that of Figure S2.22 should appear. From
the graph, the block moves along the slope surface from 0 (the distance between two
coincided faces) to about -4 in. in about 0.3 sec. The block then “bounces” back because of
the LimitDistance mate defined for the block. The graph does not seem to be correct since
we know that the block will travel 4.5 in. in the Y-direction. This is because the distance the
block travels is 9 in. and the slope is 30 deg. Therefore, the Y-distance the block travels
should be 9 sin 30 deg. ¼ 4.5 in.
To examine the results in more detail, you may export the graph data, for example, by right-
clicking the graph and choosing Export CSV. Open the spreadsheet and examine the data. As
shown in the spreadsheet exported (Figure S2.23), the time for the block to reach the lowest
position is 0.306 sec, in which the Y-distance is about 4.5 in. This is accurate.
We will carry out calculations to verify these results in the following section. Save your model
by choosing File > Save from the pull-down menu.
In this section, we verify the analysis results obtained from Motion. We assume that the block
is of a concentrated mass so that particle dynamics theory applies. In addition, we assume that
there is no air friction and no friction between the sliding faces.
It is well known that the equations of motion can be derived from Newton’s second law for the
block. By sketching a free-body diagram as shown in Figure S2.24, we have the following
force equilibrium equation:
Hence, the acceleration of the block is a ¼ 0.5g. The velocity and position of the block can
then be obtained by integrating Eq. S2.1a over time:
v ¼ at ¼ 0:5gt (S2.1b)
1
s ¼ at2 ¼ 0:25gt2 (S2.1c)
2
The Y-position of the block can be obtained as
1 1
Py ¼ at2 sin 30 ¼ gt2 (S2.2)
2 8
These equations can be implemented using, for example, Microsoft Excel for numerical
solutions. The Y-position of the block from 0 to 3.05 sec is shown in Figure S2.25. This
compares very well with that of SolidWorks Motion result (check spreadsheet results). At
t ¼ 3.05 sec, the Y-position of the block is 4.49 in., which again matches well with the
SolidWorks Motion result.
Figure S2.26: Single-piston engine: (a) CAD model and (b) schematic view of the kinematic model.
Project S2 Motion Analysis Using SolidWorksÒ Motion 419
For a four-bar linkage, the length of the crank must be less than that of the rod for the
mechanism to operate. This is commonly referred to as Grashof’s law. In this example, the
lengths of the crank and rod are 0.58 and 2.25 in., respectively, which satisfies the requirement
of Grashof’s law.
The unit system chosen for this example is IPS (in.-lbf-sec). All parts are assumed of aluminum,
2014 alloy. No friction is present between any pair of the components (parts or subassemblies).
The engine example consists of four major components: case (case_asm), propeller
(propeller_asm), connecting rod (connectingrod_asm), and piston, as shown in Figure S2.27a.
For this lesson, the parts and assemblies have been created in SolidWorks. There are 23 model
files, including 5 assemblies. Among the 5 assemblies, 3 are subassemblies mentioned
previously as part of the major components of the engine. The remaining two assembly files
are Lesson3.SLDASM, and Lesson3withresults.SLDASM. Note that the assembly file
Lesson3withresults.SLDASM contains the complete simulation model with simulation results.
You may open this file and review motion simulation results before going over this lesson.
We start with Lesson3.SLDASM, in which the engine is properly assembled with one free
degree of freedom. When the propeller, which is the crank in the standard four-bar linkage, is
driven by the rotary motor, it rotates and drives the connecting rod. The connecting rod pushes
the piston up and down within the piston sleeve.
The engine assembly consists of three subassemblies (case, propeller, and connecting rod)
and one part (piston). The case is fixed (ground body). The propeller is assembled to the case
using concentric and coincident mates, as shown in Figure S2.27b. It is free to rotate along
the X-direction. The connecting rod is assembled to the propeller (at the crankshaft) using
concentric and coincident mates. It is free to rotate relative to the propeller (at the crankshaft)
along the X-direction. Finally, the piston is assembled to the connecting rod (at the piston pin)
Figure S2.27: Single-piston engine: (a) exploded view and (b) constraints defined between bodies
(or subassemblies).
420 Project S2
using a concentric mate. It is also assembled to the engine case using another concentric mate.
This mate restricts the piston movement along the Y-direction, which in turn restricts the top
end of the connecting rod to moving vertically.
We create the kinematic analysis model by adding a rotary motor to the propeller; we use the
Motion Analysis option to simulate the motion.
Figure S2.28: Result graphs obtained from SolidWorks Motion: (a) Y-position of the piston and (b)
Y-velocity of the piston.
Project S2 Motion Analysis Using SolidWorksÒ Motion 421
Choose Motion Analysis from the motion study selection (directly above the MotionManager
tree, as shown Figure S2.30). Click the Motor button from the Motion toolbar to bring up
the Motor window (Figure S2.31). Choose Rotary Motor (default). Move the mouse pointer to
the graphics area, and pick a circular arc that defines the rotational direction of the rotary
motordfor example, the circle on the drive washer of the propeller, as shown in Figure S2.32.
A circular arrow appears indicating the rotational direction of the rotary motor.
A counter-clockwise direction is desired. You may change the direction by clicking the
Direction button directly under Component/Direction. Choose Constant speed and enter
60 rpm. Click the checkmark at the top of the dialog box to accept the motor definition.
You should see a RotaryMotor1 added to the MotionManager tree.
Click the Motion Study Properties button from the Motion toolbar to see the Motion Study
Properties dialog box. Change Frames per second to 100, and then click the checkmark to
accept the change. Calculate and animate the motion.
Click the Calculate button on the Motion toolbar to carry out a motion analysis. A default 5-
sec simulation is carried out. The propeller should make 5 turns (recall we entered 60 rpm for
the motor earlier), and a 5-sec simulation timeline should be created in the timeline area.
You may want to hide the case_asm to see how the connecting rod and piston move. Right-
click case_asm in the MotionManager tree and select Hide (Figure S2.33). The case is hidden
in the graphics area. Play the animation again. You should now see the motion of the
connecting rod and piston (Figure S2.34).
You may want to reduce the overall simulation period to just 1 sec and increase the number
of time frames to create a smoother animation. The steps are similar to those described in
Section S2.2.
Calculate and play the animation. Now the propeller should rotate only one cycle. You may
want to change the playback mode to loop and play the animation continuously.
Click the Results and Plots button from the Motion toolbar. In the Results dialog box (refer
to Figure S2.35), choose Displacement/Velocity/Acceleration, select Center of Mass Position,
424 Project S2
In this section, we verify the motion analysis results using standard kinematic analysis theory.
Note that in kinematic analysis, the position, velocity, and acceleration of given bodies,
points, or axes of joints in the mechanism are analyzed.
In kinematic analysis, forces and torques are not involved. All bodies (or links) are assumed
massless. Hence, mass properties defined for bodies do not influence the analysis results.
Project S2 Motion Analysis Using SolidWorksÒ Motion 425
Z1 þ Z2 ¼ Z3 (S2.3a)
where
Z1 ¼ Z1 cos qA þ iZ1 sin qA ¼ Z1 eiq A
Z3 ¼ Z3 since qC is always 0
The real and imaginary parts of Eq. S2.3a, corresponding to the X- and Y-components of the
vectors, can be written as
In Eqs. S2.3b and S2.3c, Z1, Z2, and qA are given. We are solving for Z3 and qB. Equations
S2.3b and S2.3c are nonlinear in terms of qB. Solving them directly for Z3 and qB is not
straightforward. Instead, we will calculate Z3 first, using trigonometric relations for the
triangle ABC shown in Figure S2.38:
Hence,
: :
Z1 cos qA qA þ Z2 cos qB qB ¼ 0 (S2.6b)
: dqA
where qA ¼ ¼ uA is the angular velocity of the rotation driver, which is a constant.
dt
B
θB
Z1
θA Z3 C
A
Configuration 1: θB < 180o
(a)
θB
B
Z1
C' θA
Z3 A
Configuration 2: θB > 180o
(b)
Figure S2.39: Two possible configurations of the mechanism.
428 Project S2
: :
Note that Eqs. S2.6a and S2.6b are linear functions of Z 3 and qB . Rewrite the equations in
matrix form:
: " : #
Z2 sin qB 1 qB Z1 sin qA q: A
: ¼ (S2.7)
Z2 cos qB 0 Z 3 Z1 cos qA qA
" : #
1 Z1: cos qA qA
¼ :
Z2 cos qB Z1 Z2 cos qB sin qA qA Z1 Z2 sin qB cos qA qA
2 : 3
Z1 cos qA qA
6 7
6 Z2 cos qB
7
6
¼6 : : 7 (S2.8)
7
4 Z1 cos qB sin qA qA sin qB cos qA qA 5
cos qB
:
: Z1 cos qA qA
qB ¼ (S2.9)
Z2 cos qB
and
: : :
In this example, Z1 ¼ 0.58, Z2 ¼ 2.25, and the initial conditions are qA(0) ¼ q and qB(0) ¼ 0.
The solutions can be implemented using a spreadsheet. The Excel spreadsheet file,
lesson3.xls, can be found on the book’s companion website (http://booksite.elsevier.com/
9780123984609). As shown in Figure S2.40, Columns A through I represent time, Z1, Z2, q_ A ,
qA, Z3, qB, Z_ 3 , and q_ B , respectively. Note that in this calculation, Z3 (0) > 0 is assumed; hence,
qB(0) < 0 (clockwise), as illustrated in Figure S2.39. This is consistent with the initial
configuration we created in the Motion model.
Project S2 Motion Analysis Using SolidWorksÒ Motion 429
Figures S2.41a and S2.41b show the graphs of data in Columns F and Hdthat is, piston
position and velocity, respectively. Comparing these figures with Figures S2.28a and S2.28b,
the simulation analysis results are verified. Note that in Figure S2.41a, the piston position
varies between 1.7 and 2.8 in.; that is, the distance the piston travels is about 1.1 in., which is
the same as that observed in Figure S2.28a.
Note that the accelerations of a given joint in the mechanism can be formulated by taking one
more derivative of Eqs. S2.6a and S2.6b with respect to time. The resulting two coupled
equations can be solved using the Excel spreadsheet.
Exercises
S2.1 Use the model files provided in Section S2.2 to create the spring-mass system shown in
Figure S2.42. The spring constant and the unstretched length (or free length) are k ¼ 20
430 Project S2
Figure S2.41: Result graphs obtained from spreadsheet calculations: (a) Y-position of the piston
(Column F of spreadsheet) and (b) Y-velocity of the piston (Column H of spreadsheet).
lbf /in. and U ¼ 3 in., respectively. The initial position of the block is 4 in. from the top of
the slope surface (use the LimitDistance1 assembly mate). You are simulating a free-
vibration problem, where the block is stretched 1 in. downward along the 30 deg. slope.
No friction is assumed between the block and the slope surface. We assume a gravity of
g ¼ 386 in./sec2 in the negative Y-direction.
(a) Carry out a motion analysis for the system, and graph the position, velocity, and accel-
eration of the block in the Y-direction.
(b) Derive equations of motion for the system, and implement the solutions of the equations
using a spreadsheet. Graph the results and compare them with those of (a). Are you getting
accurate motion simulation results from SolidWorks Motion?
(c) Calculate the natural frequency of the system and compare your calculation with that of
Motion. How do you determine the natural frequency of the system from results obtained
from Motion?
S.2.2 Open the single-piston engine assembly from Section S2.3. Use the Animation Wizard
to create the following animations. Note that Animation Wizard is very easy to use. To
Figure S2.43: Animation Wizard: (a) select Rotate model, (b) define rotation axis, and
(c) define animation time period.
access it, simply click the Animation Wizard button on the Motion toolbar. In the
Animation Wizard window (Figure S2.43), click Rotate model (default) and Next. Then
follow the steps to choose rotation axis and animation time interval, as shown in Figure
S2.43b and c, respectively, to create a rotation animation.
(a) Explode for 5 sec; start time: 0 sec.
(b) Rotate along the Y-axis for 5 sec; start time: 6 sec.
(c) Rotate along the X-axis for 5 sec; start time: 12 sec.
(d) Collapse for 5 sec; start time: 18 sec.