SimMechanics | ![]() ![]() |
Configuring the Ground and Joint Blocks
Now configure the Ground blocks with the data from the following table. Grounded coordinate systems (CSs) are automatically created.
Geometry of the Four Bar Base
This table summarizes the geometry of ground points.
Property |
Value |
MAT-File Variable |
Ground_1 point (m) |
[ 0.434 0 0.04] |
gpoint_1 |
Ground_2 point (m) |
[-0.433 0 0.04] |
gpoint_2 |
The base of the mechanism has these measurements:
Configuring the Ground Blocks
To represent ground points on the immobile base, configure the Ground blocks. Use the variable names if you've loaded fourbar_data.mat
into your workspace:
[ 0.434 0 0.04 ]
or gpoint_1
in the Location field.
[-0.433 0 0.04 ]
or gpoint_2
in the Location field.
m
(meters).
Configuring the Revolute Joints
The three nongrounded bars move in the plane of your screen (x-y plane), so you need to make all the Revolute axes the z-axis (out of the screen):
[0 0 1]
in each, relative to Reference csys WORLD
. Leave these defaults.
Revolute
. Its name internal to the block is R1
.
The Body CS and base-follower joint directionality should be set up as shown in the block diagram of Figure 2-5. In the Connection parameters area, the default Joint directionality for each Revolute automatically follows the right-to-left sequence of Grounded and Body CSs:
GND@Gound_1
to CS1@Bar1
CS2@Bar1
to CS1@Bar2
CS2@Bar2
to CS1@Bar3
CS2@Bar3
to GND@Ground_2
In this Joint directionality convention:
![]() | Setting Up the Block Diagram | Configuring the Body Blocks | ![]() |