James W. Kamman, Ph.D.
Associate Professor Emeritus
Mechanical & Aerospace Engineering
Western Michigan University
Home Up Course Notes Homework Tests SimMechanics

ME 4590 Dynamics of Machinery: SimMechanics Examples

The following are links to the sample MATLAB/SimMechanics files discussed in class.

SimMechanics Modeling Notes

  1. Vertical Spring-Mass-Damper

  2. Single Bar Pendulum with Initial Conditions

  3. Spring-Mass-Damper with Base Input

  4. Single Bar Pendulum with Base Motion
    Single Bar Pendulum with Base Motion (M-file)

  5. Double Pendulum with Initial Conditions

  6. Spring-Mass-Damper with PID Position Control

  7. Spring-Mass-Damper with Attached Pendulum

  8. Four-Bar Parallelogram with Base Motion (using Global Coordinates)

  9. Four-Bar Parallelogram with Base Motion (using Local Coordinates)

  10. Vertical Spring-Mass-Damper: M-file
    Vertical Spring-Mass-Damper Model (required M-file)

  11. Crank-Follower Mechanism: M-file
    Crank-Follower Model

  12. Crank-Follower Mechanism M-file: Inverse Dynamic Analysis
    Crank-Follower Model for Inverse Dynamic Analysis

    Crank-Follower Mechanism M-file: Forward Dynamic Analysis (no flywheel)
    Crank-Follower Mechanism: Forward Dynamic Analysis (no flywheel)

    Crank-Follower Mechanism M-file: Forward Dynamic Analysis (with flywheel)
    Crank-Follower Mechanism: Forward Dynamic Analysis (with flywheel)