Multibody Dynamics Component
ForcesMergeMB

Description:

Coordinate System:

The coordinate system is right hand rule. X cross Y gives Z and Roll is right hand rule about X, Pitch is right hand rule about Y, and Yaw is right hand rule about Z.

Vector Storage:

All linear three vectors (LinPos, LinVel) store their values as [X, Y, Z].
All angular three vectors (AngVel) store their values as [Roll, Pitch, Yaw].
The transformation matrix TM is stored:

Pre-multiplying a local vector by the TM will generate the vector in global coordinates.

Multibody Dynamics, Link Numbers and 60 and 20 Length Vectors:

Please refer to Multibody Dynamics and 60 Length Vectors for information on 60
length vectors.

Methodology:

The forces merge takes the input position, velocity, and acceleration from Side 3 and directly outputs it to Side 1, Side 2, and Side 4. It also propagates the Link Numbers from Side 3 to Side 1, 2, and 4.

The joint also takes the internal forces and moments from Side 1, Side 2, and Side 3 and sums them and outputs them on Side 4.

It only sums the internal forces up to the number of links in LinkNumber3, since the mass matrix is symmetric.

Specifically:

for(i=0; i<=LinkNumber3[0]*3; i++){

Force3[i]=Force1[i]+Force2[i]+Force4[i];
Moment3[i]=Moment1[i]+Moment2[i]+Moment4[i];

}

 

Side 1: Inputs:

SimRealVar Force1[60] - Global Force (N)
SimRealVar Moment1[60] - Global Moment (Nm)

Outputs:

SimRealVar LinAccel1[60] - Global Linear Acceleration (m/s/s)
SimRealVar LinVel1[3] - Global Linear Velocity (m/s)
SimRealVar LinPos1[3] - Global Linear Position (m)
SimRealVar AngAccel1[60] - Global Angular Acceleration (rad/s/s)
SimRealVar AngVel1[3] - Global Angular Velocity (rad/s)
SimRealVar TM1[9] - Transformation Matrix (ND)
SimRealVar LinkNumber1[20] - Link Number Output (ND)
 

Side 2: Inputs:

SimRealVar Force2[60] - Global Force (N)
SimRealVar Moment2[60] - Global Moment (Nm)

Outputs:

SimRealVar LinAccel2[60] - Global Linear Acceleration (m/s/s)
SimRealVar LinVel2[3] - Global Linear Velocity (m/s)
SimRealVar LinPos2[3] - Global Linear Position (m)
SimRealVar AngAccel2[60] - Global Angular Acceleration (rad/s/s)
SimRealVar AngVel2[3] - Global Angular Velocity (rad/s)
SimRealVar TM2[9] - Transformation Matrix (ND)
SimRealVar LinkNumber2[20] - Link Number Output (ND)
 

Side 3: Inputs:

SimRealVar LinAccel3[60] - Global Linear Acceleration (m/s/s)
SimRealVar LinVel3[3] - Global Linear Velocity (m/s)
SimRealVar LinPos3[3] - Global Linear Position (m)
SimRealVar AngAccel3[60] - Global Angular Acceleration (rad/s/s)
SimRealVar AngVel3[3] - Global Angular Velocity (rad/s)
SimRealVar TM3[9] - Transformation Matrix (ND)
SimRealVar LinkNumber3[20] - Link Number Output (ND)

Outputs:

SimRealVar Force3[60] - Global Force (N)
SimRealVar Moment3[60] - Global Moment (Nm)
 

Side4: Inputs:

SimRealVar Force4[60] - Global Force (N)
SimRealVar Moment4[60] - Global Moment (Nm)

Outputs:

SimRealVar LinAccel4[60] - Global Linear Acceleration (m/s/s)
SimRealVar LinVel4[3] - Global Linear Velocity (m/s)
SimRealVar LinPos4[3] - Global Linear Position (m)
SimRealVar AngAccel4[60] - Global Angular Acceleration (rad/s/s)
SimRealVar AngVel4[3] - Global Angular Velocity (rad/s)
SimRealVar TM4[9] - Transformation Matrix (ND)
SimRealVar LinkNumber4[20] - Link Number Output (ND)
 

States: None
 
Dimensions: None
 
 

return to component list

Home  |  Products & Services  |  Support Downloads & Demos  |  Documents  |  News & Events  |  About Us  |   Contact

Realtime Technologies, Inc.
© Copyright 2004-2010 Realtime Technologies Inc. All rights reserved.

Realtime Technologies Inc. (RTI) specializes in real time multibody vehicle dynamics, and graphical simulation and modeling.  We offer simulation software applications, consulting, custom engineering, software, and hardware development.  Realtime Technologies’ customer base includes international, government and private entities.  RTI was founded in 1998.