Ex. 1 – Kinematic Analysis

First example is a Peaucellier Lipkin mechanism.  This script will:

  1. Create the mechanism and plot the initial configuration.
  2. Simulate the mechanism

You can download the MATLAB script from here.

Ex. 2 – Kinematic Analysis

First example is a Six Bar Mechanism.  This script will:

  1. Create the mechanism and plot the initial configuration.
  2. Simulate the crank for 360 degrees. 
  3. Drive the slider until the motion is not possible.

You can download the MATLAB script from here.

Ex. 3 – Kinematic Analysis

This is a flapping wing mechanism and this script will:

  1. Create the mechanism (set the slider angle and rigidly connect two links) and plot the initial configuration. 
  2. Simulate the crank 360 degrees and plot the coupler.

You can download the MATLAB script from here.

Ex. 4 – Load Analysis

This is a simple parallel guiding mechanism. This script will:

  1. Create the mechanism (add four torsion springs  and a force). 
  2. Simulate the analysis in 10 steps.

You can download the MATLAB script from here.

Ex. 5 – Load Analysis

This is a parallel guiding mechanism. This script will:

  1. Create the mechanism (convert four links to compliant members and add two forces). 
  2. The compliant members are represented with BCM model.
  3. Analyze the mechanism in 10 steps.

You can download the MATLAB script from here.

Ex. 6 – Distance Analysis

This is a four bar mechanism. This script will:

  1. Create the mechanism (convert a link to compliant and add a moment). 
  2. The compliant link is represented with a PRB model.
  3. Add a target rotation and perform distance analysis.
  4. Update the moment magnitude with the value from last step.
  5. Analyze the mechanism in 10 steps.

You can download the MATLAB script from here.

Ex. 7 – Distance Analysis

This is a guiding mechanism. This script will:

  1. Create the mechanism (convert 8 links to compliant ). 
  2. Add a target node displacement and perform distance analysis
  3. Update the force magnitude with the value from last step.
  4. Analyze the mechanism in 10 steps.

You can download the MATLAB script from here.

Ex. 8 – Energy Analysis

This is a Compliant Four Bar Mechanism. This script will:

  1. Create the mechanism (convert 2 links to compliant). 
  2. Add a target link rotation.
  3. Plot the change of internal energy and driving torque with respect to distance.
  4. Simulate the mechanism in 100 steps.

You can download the MATLAB script from here.

Ex. 9 – Energy Analysis

This is a Constant Force Mechanism. This script will:

  1. Create the mechanism (add three torsion springs and add the slider angle). 
  2. Add a slider displacement.
  3. Plot the change of internal energy and driving force with respect to distance.
  4. Simulate the mechanism in 100 steps.

You can download the MATLAB script from here.