You are on page 1of 10

Department of Mechatronics Engineering

Air University

Lab # 14
Objective:
Simulate a model of four bar mechanism using Sim Mechanics libraries.

Lab Exercise:
To build a four bar mechanism in simmechanics, open matlab, simmechanics library and a
new blank model. After this start drag and place the following components of the four bar
mechanism into the opened new blank model:

Machine Environment
Two Grounds
Three Revolute Joints
Three Bodies
Two Joint Sensors
MUX
Scope

Arrange these dragged components of the four bar mechanism as shown below:

After doing so, configure each block as explained below

Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

Configuring the Machine Environment Block

Configuring the Ground Block attached to Machine Environment

Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

Configuring the Revolute Joint Block

Configuring the Body Block

Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

CG orientation [0 0 60] from World in Euler X-Y-Z

Configuring Revolute Joint 1 Block

Configuring the Body 1 Block

Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

CG orientation [0 0 29.5] from World in Euler X-Y-Z

Configuring the Revolute Joint 2 Block

Configuring the Body 2 Block


Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

CG orientation [0 0 83.1] from World in Euler X-Y-Z

Configuring the Revolute Joint 3 Block

Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

Configuring the Ground 1 Block

Configuring the Joint Sensor Block

Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

Configuring the Joint Sensor 2 Block

Simulation Settings

Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

Setting the appropriate parameters to run the simulation

Then close this dialog box and press the play button to analyze and record the results

Machine Model of Four Bar Mechanism

Body 2
Advance Robotics

Spring 2016

Department of Mechatronics Engineering

Air University

Body 3

Body 1

CG1, CG2, CG3

Advance Robotics

Spring 2016

You might also like