WOLFRAM SYSTEM MODELER

CamShapes

Model exploring three different cam shapes.

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.MechanicalEngineering.CamFollower.CamShapes"]
Out[1]:=

Information

 

Cam Follower

 

Introduction

This model shows three different cam designs that have been generated using the Wolfram Language.

In order to get the full experience of this example, you need the following:

 

These pages show an overview of the example. For the full example, open the accompanying notebook CamFollower.nb.

 

Dynamics

The follower is modeled as a spring that is attached to a fixed point in one end and that is being pressed against the cam in the other. The cam translates the roterary motation that is being supplied by the rotator to a translational movement that acts on the follower.

 

Simulation

To simulate the model, perform this step:

  • Click the Simulate button in the top toolbar simulate.

Plot the results

Explore how the follower position changes over time by plotting the variables roundCam.follower.flange_a.s, pointyCam.follower.flange_a.s and harmonicCam.follower.flange_a.s

These variables are shown in the default plot of the model:

plot

Add more plots

Cam designers wants to minimize the jerk (the derivative of the acceleration), in order to minimize the stress and wear on the cam. Plot the jerking movement and compare it to the follower position. To add a graph of the jerking movement, follow these steps:

  • Click the New Subplot button in the top toolbar addplot.
  • From the Stored Plots list, drag the plot Cam Jerk into the new, empty subplot.

You should see something like the graph below.

dblplot

 

Components (3)

harmonicCam

Type: CamHarmonicFollower

Description: Harmonic cam shape. Created from the Wolfram Language.

pointyCam

Type: CamPointyFollower

Description: Pointy cam shape. Created from the Wolfram Language.

roundCam

Type: CamRoundFollower

Description: Round cam shape. Created from the Wolfram Language.