SimMechanics    

Configuring the Body Dialog

Take the steps to configuring a Body block dialog box in several stages.

Figure 2-2: Equivalent Ellipsoid of Simple Pendulum with Coordinate Systems

Adding the Body Block.   To start working with the Body block:

  1. Open the Bodies library in the SimMechanics library.
  2. Drag and drop a Body block into your model window.
  3. Open the Body block dialog box. Note the two main areas you need to configure:



Configuring the Body's Mass Properties.   Now enter the body's mass and inertia tensor:

  1. Use the data from the table Body Data for the Simple Pendulum.
  1. In the Mass field, enter 2490 and change the units to g (grams).

  1. In the Inertia tensor field, enter [1.25e-4 0 0; 0 0.208 0; 0 0 0.208] and leave the default units as kg-m2.

Configuring Body Coordinate Systems (Position).   Configure the translational position of the body and its Body CS origins in space:

  1. Use the data from table Body Data for the Simple Pendulum, and work on the Position pane. Vectors are assumed translated from the World origin and oriented to the World axes.
  2. Note the three default CSs in the Body dialog box. The CS at the CG is necessary for any Body, and you will connect CS1 to the Ground with a Joint shortly.
  1. Delete CS2 by selecting its line in the Body CS list and clicking the Delete button in the Body CS controls.

    You have two already existing CSs not on this Body that you can use to specify the positions of the Body CS origins that are on this Body:

  1. Specify the CG and CS1 origins relative to World:
    1. In the pull-down menu under Translated from origin of, choose World for both CSs: CG and CS1.
    2. Under Origin position vector, specify the position of the origin of each CS, translated from the World origin:
  2. Select a CS relative to whose coordinate axes the components of the vectors in the last step are measured. You choose these CS axes in the Components in axes of menu. Select World for both CSs. Leave the units as m (meters).

Configuring Body Coordinate Systems (Orientation).   Configure the rotational orientation of the body and its Body CS axes in space:

  1. Work on the Orientation pane. The default orientation for all CS axes is parallel to World. The sign of all rotations is determined by the right-hand rule.
  1. Notice in Figure 2-2 that the CS1 and CG axes are oriented parallel to the World axes, so the CS1 and CG axes need no rotation.

  1. For both CSs, set the Relative to coordinate system menu to World.
  2. For CG and CS1, leave the Orientation vector at default [0 0 0] and the Specified using convention at default Euler X-Y-Z. Close the Body dialog.

  Configuring a Body Block Configuring a Joint Block