ADAMS Labs: Cam


Introduction:

This ADAMS Lab will introduce you to the following skills:


Problem:

The cam mechanism that will be created, ananlyzed, animated, and ploted in this lab is shown here.

Schematic of the Cam Mechanism: The model contains 3 parts (including ground), 1 revolute joint, 1 translational joint, 1 motion, and several markers.


Procedure:

1.1. Starting ADAMS.

  1. From the ADAMS product menu, select ADAMS.
    The Run ADAMS dialog box appears.
  2. Select OK.
    The Welcome to ADAMS dialog box appears as shown in Figure 1.
  3. Under the heading "How would you like to proceed", select Create a new model.
    Verifty that the Gravity text field is set to Earth Normal (-Global Y).
    Verify that the Units text field is set to MMKS - mm,kg,N,s,deg.
    Select OK.

Figure 1. Welcome to ADAMS.

1.2. Setting up the modeling environment.

  1. The grid spacing needs to be reset to a higher resolution for this model.
    Go to the Settings pull-down menu at the top of the ADAMS window and select Working Grid...
  2. In the Spacing text fields, enter 10mm under both X and Y.
    Click OK. The spacing between grid points is now set to 10mm.
  3. Click on the Select icon.
    The View Control panel appears in the Toolbox.
  4. Click on the Dynamic Zoom icon.
    Now click and hold with the left mouse button anywhere inside the Modeling window. Move the mouse up to zoom in and move it down to zoom out.

1.3. Making the cam part.

  1. Click on the parts palette in the Toolbox with the right mouse button.
    The button stack for parts appears.
  2. Click on the Spline icon with the left mouse button.
  3. In the lower part of the Toolbox, verify the text field is set to New Part.
    Click in the box next to the word Closed to select a closed spline.
  4. Now, click with the left mouse button on each of the 13 points in the table below.

Points

1

2

3

4

5

6

7

8

9

10

11

12

13

X

0

-50

-70

-80

-70

-50

0

50

70

80

70

50

0

Y

0

-30

-70

-120

-160

-180

-190

-180

-160

-120

-70

-30

0

Z

0

0

0

0

0

0

0

0

0

0

0

0

0

Note that the first point and the last point have the same coordinates to create a closed spline.

After the 13 points are selected, click the right mouse button to create the closed spline. An alert box will appear warning you that the part has no mass. Close the box.
The complete cam part is created, as illustrated in Figure X.
If your part's geometry does not match the illustration, it can be fixed by clicking and dragging any of the "hot points" (rectangular boxes) to its proper location.

Figure X. Closed spline.

1.4. Creating a revolute joint.

  1. Click on the Joint icon in the Toolbox and select the Joint:Revolute icon from the joints button stack.
  2. Verify that the Construction text fields read 1 Location and Normal to Grid.
  3. Position the cursor over the grid point (0,-130,0) and click once with the left mouse button.
  4. A joint between the cam part and the ground is created at that location, as illustrated in Figure X.

Figure X. Revolute joint

1.5. Creating the follower part.

The follower part is comprised of two geometric elements: and open spline and a box.

Creating the open spline element.

  1. Select the Spline icon
  2. In the lower part of the Toolbox, verify the choice Closed is not selected, since an open spline is to be created.
  3. Now, click with the left mouse button on each of the 11 points in the table below.

Points

1

2

3

4

5

6

7

8

9

10

11

X

-250

-200

-150

-100

-50

0

50

100

150

200

250

Y

50

40

40

30

10

0

10

30

40

40

50

Z

0

0

0

0

0

0

0

0

0

0

0

After the 11 points are selected, click once with the right mouse button to create the open spline. An alert box will appear warning you that the part has no volume. Close the box.
The open spline is created as shown in Figure X. Again, "hot points" may be used to modify the spline geometry.

Figure X. Open spline.

Creating the box element.

  1. Select the Rigid Body: Box tool from the parts button stack.
  2. In the New Part pull-down menu, select Add to Part.
  3. Click on the open spline in the ADAMS window to select the part to add to.
  4. Now define the corners of the box.
    Position the cursor at the left end of the open spline (-250,50,0).
  5. Click and drag upward and to the right until the upper right corner of the box is at the coordinates (250,180,0).
    Release the mouse button.
    The box element is created, as illustrated in Figure X.

Figure X. Box element.

1.6. Adding a Translational Joint.

Now create a translational joint between the follower part and the ground part with the axis of translation aligned in the global y direction.

  1. Click on the Joint icon in the Toolbox with the right mouse button.
    The joints button stack appears.
  2. Select the Joint:Translational icon.
  3. Verify that the Construction text fields are set to 1 Location and Pick Feature.
  4. Position the cursor over the grid point (0,160,0) and click once with the left mouse button.
    This is where the joint will be located.
  5. Now, move the cursor upalong the Y axis away from the origin until an arrow pointing straight up appears.
    Make sure the arrow is parallel to the Y axis. This arrow determines the direction of the translational joint.
    Click the left mouse button.
  6. A joint between the follower part and the ground is created, as illustrated in Figure X.

Figure X. Translational joint.

1.7. Adding a Curve-Curve Constraint.

  1. Click on the Joint icon in the Toolbox and select the Cam (curve-on-curve) contact icon from the joints button stack.
  2. Click on the cam part, and then click on the spline part of the follower part.
    A curve-on-curve contact constraint is created as shown in Figure X.

Figure X. Curve-curve contact.

1.8. Creating a Motion Constraint.

All of the parts have now been created and the constraints added. The next step is to add a rotational motion driver to the revolute joint that specifies a constant cam rotation of one revolution per second.

  1. Select the Rotational Joint Motion icon from the Toolbox.
  2. In the Speed text field, which now appears, enter 360d to set the motion displacement to be 360 degrees per second.
  3. Click on the revolute joint in the cam part with the left mouse button.
    A large motion arrow appears around the revolute joint in the cam part, as shown in Figure X.

Figure X. Rotational Joint Motion.

1.9. Verify the model.

The model verification step is one way to find errors in the model definition. ADAMS checks for error conditions such as misaligned joints, unconstrained parts, or massless parts in dynamic systems, and alerts you to other possible problems in the model.

  1. In the lower right corner of the modeling window, click on the Information icon with the right mouse button.
    The information palette appears.
  2. Click on the Verification icon.
    The Info Window appears, as shown in Figure X.
  3. After seeing that the model has verified successfully, click on the Close button in the upper right corner to close the Information Window.

Figure X. Verify model.

The completed model should appear similar to the picture below:

 

(There is no cmd file available for this problem.)

Model building is now complete.


Set up and run a simulation.

1.10. Setting measures.

  1. Select the follower part by clicking on it in the ADAMS Modeling window with the left mouse button .
    The part becomes highlighted.
  2. On the Build menu at the top of the Modeling window, point to Measure, then to Selected Object, and select New.
    The Part Measure dialog box appears.
  3. Select CM Position for the Characteristic text field and select Y for the Component entry to to measure the displacement in the Y direction.
  4. Click Apply.
    A graph window appears. This is where data will be displayed.
  5. Now repeat this procedure, except select CM Velocity for Characteristic.
  6. Repeat this procedure once more for CM Acceleration.
    A new graph window will appear for each new measure.
  7. After the three graph windows are created, click Cancel to close the Part Measure dialog box.

1.11. Running the simulation.

  1. Click on the Simulation icon in the Toolbox. For End Time, enter 1 and for Steps, enter 50.
  2. Click on the Play icon.
    You should see the cam rotate about the pivot and the follower slide along its translational joint.
    Corresponding data should be plotted on each graph.
  3. When the simulation ends, click on the Rewind icon.

1.12. Plotting results.

  1. In each of the graph windows, a plot corresponding to each of the measures set earlier appears.
  2. To get a closer look at a plot, click on a blank area inside the small plot window with the right mouse button and follow the pull right menu. Select Transfer to Full Plot.
    The ADAMS Plot Window will open, replacing the modeling window. To return to the modeling window, go to the File pull-down menu and select Return to Modeling.

1.13. Saving your Modeling Session.

  1. Under the File pull-down menu, select Save Database As...
    The Save Database As dialog box appears as shown in Figure X.
  2. In the text field next to File Name, enter the name you wish to give this model, for example, cam.
  3. Select OK.
    An ADAMS Binary File is created.

Figure X. Save Database As...

1.14. Exiting ADAMS.

  1. Select Exit from the File pull-down menu in the main ADAMS Modeling window.

Congratulations, you have completed ADAMS Lab: Cam.


Did it work?