Simulation in SolidWorks

    Lever

  1. Make a new part on the Front plane.
  2. Sketch a 3 inch slot-shaped lever with a 1/8 inch radius with 1/8 inch holes in the middle and at the ends.
  3. Extrude to a depth of 1/8 inch.
  4. Save the part as Lever.SLDPRT.

    Backing Plate

  5. Make a new part on the Front plane.
  6. Sketch a 6 inch by 6 inch rectangle.
  7. Inside the rectangle, draw a horizontal construction line and dimension it to 1.4 inches.
  8. Extending upward from the right endpoint, draw a vertical construction line and dimension it to 1.8 inches.
  9. Draw 1/8 inch diameter circles at the left endpoint of the horizontal line and the top endpoint of the vertical line.
  10. Extrude to a depth of 1/8 inch.
  11. Save the part as BackingPlate.SLDPRT.

    Lever Assembly

  12. Make a new assembly.
  13. Insert the backing plate.
  14. Insert two levers and mate their center holes to the holes in the backing plate, using Coincident mates.
  15. Each lever should rotate freely.
  16. Verify that moving one lever has no effect on the other; it passes right through it.
  17. Rotate the left lever so that it is vertical, and the right lever to a 45 degree angle (running up and to the right).
  18. Save the assembly as Motion.SLDASM.

    Simulation Mode: Adding a Motor

  19. Go to the SOLIDWORKS Add-Ins tab.
  20. Turn on SOLIDWORKS Motion.
  21. Go to the Motion Study 1 tab (see the bottom of the window).
  22. Add a motor to the simulation, using the inner face of the left lever's center hole.
  23. Set the rotation speed to 4 rpm.
  24. Add a Solid Body Contact between the two levers.
  25. Change the mode from Animation to Motion Analysis.
  26. Click on the Calculate button and observe the motion.
  27. Click on the Play button and observe the motion.

    Adding a Damper

  28. Add a damper to the simulation.
  29. Set the damper type to Torsional Damper.
  30. Set the Damper Parameter to the second lever.
  31. Set the Damping Constant to 0.00001 lbf-in/(deg/s).
  32. Press the Calculate button and observe the motion.

    Adding a Weight

  33. Switch back to the Model tab (bottom of window).
  34. Make a new part on the Front plane.
  35. Sketch a circle centered on the origin with a 1/8 inch diameter.
  36. Sketch a second circle centered on the origina with a diameter of 0.35 inches.
  37. Extrude to a depth of 1/4 inch.
  38. In the feature manager tree, right click on Material and select Brass.
  39. Save the part as Weight.SLDPRT.
  40. Switch back to the assembly by pressing Control-Tab.
  41. Insert the weight into the assembly and mate it to the bottom hole in the right lever.
  42. The right lever should still be at a 45 degree angle.
  43. Switch back to the Motion Study 1 tab.
  44. Press the Calculate button and observe the motion. The weight doesn't have much effect.

    Gravity

  45. Add gravity to the simulation.
  46. Set gravity to align with the Y axis.
  47. Press the Calculate button and observe the motion.
  48. Press the Play button to see a real-time playback.

  49. Increase the simulation duration to 12 seconds by dragging right the keypoints (diamond shapes) for the simulation and the motor.
  50. Press the Calculate button and observe the motion.

    Changing the Starting Configuration

  51. Grab the time index and slide it all the way to the left.
  52. Turn on auto-keyframe.
  53. Now you can change the initial configuration by clicking and dragging parts in the graphics window.
  54. Press the Calculate button to calculate a new motion sequence.

    Changing the Initial Camera View

  55. If you want to change the view of the model used for the simulation, first slide the time index back to 0.
  56. Adjust the model view as you like.
  57. In the feature manager tree, find the "Orientation and Camera View" line, near the top.
  58. Right click on the diamond for that line, and choose "Replace Key".

    Zooming, Panning, or Rotating the Camera During the Simulation

  59. Drag the time index to 0 and set the initial camera view using the procedure above.
  60. Drag the time index to a new time at the end of the desired camera motion.
  61. Right click on that position in the "Orientation and Camera View" row and select "Place Key".

    Complex Bodies

  62. Start a new part on the Front plane.
  63. Sketch a blob shape using the spline tool.
  64. Put a 1/8 inch diameter hole in the center of the blob.
  65. Extrude to a depth of 1/8 inch.
  66. Save the part as Blob.SLDPRT.
  67. Go back to the assembly.
  68. Suppress the leftmost lever.
  69. Insert the blob and mate it to the left hole in the backing plate.
  70. Add a solid body contact between the blob and the right lever.
  71. Add a motor to rotate the blob.
  72. Press the Calculate button and observe the motion.
  73. You may need to increase the horizontal distance between backing plate holes from 1.4 inches to 1.9 inches to prevent the lever from jamming inside the blob.

Dave Touretzky
Last modified: Mon Mar 27 18:03:09 EDT 2017