MotionView User's Guide

Planar Joint

Planar Joint

Previous topic Next topic Expand/collapse all hidden text  

Planar Joint

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

This section describes the Planar joint entity of MotionView and shows the various usage, creation, and editing methods.

Theory/Background

A Planar joint is a three degree-of-freedom constraint.  It constrains a plane on one body (Body 1) to remain in a plane defined on the other body (Body 2) connected by the joint. The planes are defined by the X and Y axes of the markers defining the joint.  Body 1 can rotate about Z axis and translate along the X and Y axes of the marker which is used to define the constraint.

planar_joint_diagram_mv

Planar joint construction

Joint Definition

The Planar joint is represented using Markers when exported to an MBD Solver.  The representation can be visualized as shown in the figure below:

planar_joint_marker_diagram_mv

Planar joint marker representation

The bodies that are constrained by an Planar joint are represented using two markers: Marker I and Marker J. Marker I belongs to Body 1 and Marker J belongs to Body 2.  The constraints are applied on Marker I with respect to Marker J.  Both the markers will have a common point of origin, the same as the joint’s Origin point.  The XY plane of Marker I will be constrained to remain on the XY plane of Marker J.  However, Marker I can translate anywhere on the plane and rotate about its Z axis.

Entity Data Members

The topological information required to define an Planar joint is shown in the figure below:

planar_joint_diagram2_mv

The data members of the Planar joint can be classified into the following members:

Connectivity

An Planar joint needs the following:

Body 1 and Body 2 - Specify two Bodies between which the joint is to be created.
Origin - Specify Point, which defines the location of the joint.
Orientation Method - An Planar joint needs a plane to be specified for the constraint to be imposed.  This can be done by specifying the normal to the plane or the plane itself.
Compliant Mode (Optional) - If the Allow Compliance option is selected while adding the joint to a model, the joint's compliance state can be toggled between Compliant and Non-Compliant.  If the joint is made Compliant, it no longer remains a rigid connection and the joint will then be treated as a bushing.

The joint can be modeled as a Single entity or as a Pair entity.

Properties

There are no editable properties for an Planar joint.

Creating and Editing Joints

To learn how to add a Planar joint to a model, please see the Joints topic.

hmtoggle_plus1To create/add a Planar joint to a model:
1.Once an Planar joint has been added to the model using any of the "entity" creation methods, the panel for the joint will automatically be displayed in the panel area (see the panel examples below):

planar_joint_panel_conn_tab_mv

Joints Panel (Planar Joint) – Connectivity Tab - Single Entity

planar_joint_panel_conn_tab_pair_mv

Joints Panel (Planar Joint) – Connectivity Tab - Pair Entity

2.The joint definition needs two bodies which are connected by the joint.  Select Body 1 by picking the body from the graphics area, or double click the Body 1 collector to open to the model tree (from which the desired body can be selected).
3.Similarly, Body 2 from the graphics area by clicking on the desired body (or use the collector and model tree method).
4.Select the Origin Point from the Project Browser, or the graphics area, to specify the point of origin for the joint.
5.The constraining plane of the joint can be either by the normal to the plane or the plane itself.  Use the drop-down menu located on the right side of the panel to select either Normal or Planar:
-If Normal is used, a Vector or Point which points in the normal direction of the constraining plane needs to be specified.

inplane_joint_normal_plane_mv_ug

OR

-If Planar is used, the plane of the constraint needs to be specified using a combination of Vectors and Points (using the drop-down menu menus and collectors):

inplane_joint_inplane_plane_mv_ug

Global axes can be used for vectors by clicking on the desired axis (X, Y, or Z) in the graphics area (or by browsing through the model tree).

alignment_axis_vector_example_mv

6.When defining a Pair Planar joint, use pair entities for Body 1, Body 2, Origin, etc.

Note - The same steps as shown above can also be used to define Pair Planar joint entities.

hmtoggle_plus1To edit or change the definition of a Joint entity:
1.Left click the Joints panel icon entityJoints-24 on the Constraint toolbar.

The Project Browser will filter the entities and display only the joints in the model.

2.Select the desired joint in the Project Browser.

The corresponding panel is automatically displayed.

3.From the Connectivity tab, use the Joint type drop-down menu to change the joint type, or use the collectors to change the bodies and origins/axes points of the joint.

planar_joint_drop_down_menu_mv_ug

Joints panel - Connectivity tab - joint type drop-down menu

Planar Joint in MDL and XML Formats

The model containing the Planar joint can be saved in MDL format from MotionView and exported in the MotionSolve XML format.

hmtoggle_plus1Planar Joint in MDL (Model Definition Language)

The Planar joint can be of the following types:

1.Non-Compliant - Single and Pair
2.Compliant – Single and Pair

These types of entities can be added to the model using MDL Statements shown below:

Syntax:

*PlanarJoint(joint_name, "joint_label", body_1,

                                      body_2,

                                      origin,

                                      NORMAL,

                                      POINT|VECTOR,

                                      point|vector),

                                      [ALLOW_COMPLIANCE]

To understand the complete syntax of the MDL statement please refer to the *PlanarJoint() - Planar joint (normal) topic.

Syntax:

*PlanarJoint(joint_name, "joint_label",  body_1,

                                   body_2,

                                   origin,

                                   INPLANE,

                                   POINT|VECTOR,

                                   point_1|vector_1,

                                   POINT|VECTOR,

                                   point_2|vector_2)

                                   [ALLOW_COMPLIANCE]

To understand the complete syntax of the MDL statement please refer to the *PlanarJoint() - Planar joint (plane) topic.

Syntax:

*PlanarJointPair(joint_name, "joint_label", body_1,

                                      body_2,

                                      origin,

                                      NORMAL,

                                      POINT|VECTOR,

                                      point|vector),

                                      [ALLOW_COMPLIANCE]

To understand the complete syntax of the MDL statement please refer to the *PlanarJointPair() - Planar joints (normal) topic.

Syntax:

*PlanarJointPair(joint_name, "joint_label", body_1,

                                        body_2,

                                        origin,

                                        INPLANE,

                                        POINT|VECTOR,

                                        point_1|vector_1,

                                        POINT|VECTOR,

                                        point_2|vector_2),

                                        [ALLOW_COMPLIANCE]

To understand the complete syntax of the MDL statement please refer to the *PlanarJointPair() - Planar joints (plane) topic.

To learn how to create a complete model using MDL Statements please refer to tutorial MV-1060: Introduction to MDL.

hmtoggle_plus1Planar Joint in XML Format

The Planar joint when exported to the MotionSolve XML format is defined as a Constraint_Joint statement.

Syntax:

<Constraint_Joint

id  = "integer"

label = "Name of Joint"

type  =  "JOINT TYPE"

i_marker_id =  "integer"

j_marker_id = "integer"

/>

In case of the Planar joint the model statement will be as shown below:

<Constraint_Joint

  id                  = "301001"

  label               = "Planar Joint"

  type                = "Planar"

  i_marker_id         = "30103050"

  j_marker_id         = "30101050"

/>

In the above XML Model statement the i_marker_id and j_marker_id represent the I and J markers of the joint which belong to Body 1 and Body 2 respectively.  To understand the complete syntax of the Constraint_Joint XML model statement, please refer to the MotionSolve Reference Guide Page for Constraint_Joint.

Creating and Editing an Planar Joint using the Tcl Command Layer

In MotionView, the Tcl command layer can be used to add any MDL entities to the model.  There are two Tcl commands that can be used to add an entity:

hmtoggle_arrow1InterpretEntity

Syntax:

mdlmodel_handle InterpretEntity new_handle keyword varname label

In case of the Planar joint the statement will look as shown below:

mdlmodel_handle InterpretEntity PlanarJt_handle PlanarJoint j_Planar "\"Planar Joint\"" b_1 B_Ground p_ori "NORMAL" "VECTOR" "V_Global_Z" "ALLOW_COMPLIANCE";

hmtoggle_arrow1InterpretSet

*This command is not applicable for Planar joint entities.

The InterpretEntity command  is used to add entities to the model and the InterpretSet command is used to set the entity properties (which is not applicable for this type of joint).  Extended definitions for InterpretEntity and InterpretSet can be found in the HyperWorks Desktop Reference Guide.

Note - When using the InterpretEntity and InterpretSet commands, it is important to also use the Evaluate command in order for the changes to take effect immediately.

To learn how to create a complete model using Tcl commands, please refer to tutorial MV-1040: Model Building Using Tcl.

Example Model

The example file below shows a Planar joint connecting two bodies:

hmtoggle_plus1PlanarJoint.mdl

*BeginMDL( the_model, "Model", "12.0hwdesktop.110" )

 *StandardInclude(FILE)

 *Point( p_0, "Single Joint Origin" )

 *PointPair( p_1, "Pair Joint Origin" )

 *Body( b_0, "Single Body 1", p_0, , , ,  )

 *BodyPair( b_1, "Pair Body 1", p_1, , , ,  )

//Planar joint definition

 *PlanarJoint( j_Planarjsingle, "Planar Joint Single", b_0, B_Ground, p_0, INPLANE, VECTOR, V_Global_X, VECTOR, V_Global_Y )

//Planar joint pair definition

 *PlanarJointPair( j_Planarjpair, "Planar Joint pair", b_1, B_Ground, p_1, NORMAL, VECTOR, V_Global_Z )

 *SetPoint( p_1,  LEFT, , -100 )

*EndMDL()

See Also:

Joints Panel

Adding and Removing Entities

*PlanarJoint() - Planar joint (normal) (MDL Model Statement)

*PlanarJoint() - Planar joint (plane) (MDL Model Statement)

*PlanarJointPair() - Planar joints (normal) (MDL Model Statement)

*PlanarJointPair() - Planar joints (plane (MDL Model Statement)

Constraint_Joint (XML Command)

InterpretEntity (Tcl Command)

InterpretSet (Tcl Command)