visual3d:documentation:kinematics_and_kinetics:inverse_kinematics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
visual3d:documentation:kinematics_and_kinetics:inverse_kinematics [2024/10/25 16:19] – wikisysop | visual3d:documentation:kinematics_and_kinetics:inverse_kinematics [2025/04/02 11:03] (current) – Cleaned up page, fixed broken image links. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Inverse Kinematics ====== | ====== Inverse Kinematics ====== | ||
- | Visual3D models are based on a linked set of rigid segments. Traditional Visual3D models | + | Inverse kinematics |
- | An alternative to the 6 DOF solution is to define joints (e.g. explicitly state which segments are connected by a joint) and to specify the properties of all joints. | + | Because the targets used to track the segments are often subject to measurement error and soft tissue artifact, motion about some of a joint' |
- | The difference between the traditional Visual3d 6 degree | + | ===== Theory |
- | Inverse kinematics is the process | + | Traditionally in Visual3D |
- | An Inverse Kinematics solution is dependent on the choice of hierarchical model because the task is to identify an articulated figure consisting of a set of rigid segments connected with joints. Varying angles of the joints yields an indefinite number of configurations, | + | Photogrammetric procedures for obtaining measurements of six degree-of-freedom (DOF) segmental motion require that a system of three or more non-collinear |
- | + | ||
- | + | ||
- | ==== Global Optimization ==== | + | |
- | + | ||
- | In Visual3D the Inverse Kinematics problem is solved as a [[Visual3D: | + | |
- | + | ||
- | ==== Defining the IK Constraints ==== | + | |
- | + | ||
- | IK chains are created in Visual3D using the [[Inverse_Kinematics: | + | |
- | + | ||
- | + | ||
- | ==== Theory ==== | + | |
- | + | ||
- | Traditionally in Visual3d the motion of segments are fully described by six degrees of freedom (three rotational parameters and three translational parameters); | + | |
- | + | ||
- | Photogrammetric procedures for obtaining measurements of six degree-of-freedom (DOF) segmental motion require that a system of three or more noncolinear | + | |
Measurement of the position and orientation of a local segment coordinate system (SCS) with respect to the laboratory coordinate system (LCS) can be used to completely describe the segment' | Measurement of the position and orientation of a local segment coordinate system (SCS) with respect to the laboratory coordinate system (LCS) can be used to completely describe the segment' | ||
- | [[File: | + | {{:ik1.gif}} |
where m is equal to the number of targets on the segment ( m > 2). (This solution is adapted from the solution outlined by Spoor & Veldpaus in the Journal of Biomechanics, | where m is equal to the number of targets on the segment ( m > 2). (This solution is adapted from the solution outlined by Spoor & Veldpaus in the Journal of Biomechanics, | ||
- | However, because the targets used to track the segments are often subject to measurement error and soft tissue artifact, the measured motion about some of the degrees of freedom maybe much larger than the motion that would be realistically possible. Lu and O’Connor (1999) described a global optimization process which applies physically realistic joint constraints to the model to minimize the effect of the soft tissue and measurement error. | + | However, because the targets used to track the segments are often subject to measurement error and soft tissue artifact, the measured motion about some of the degrees of freedom maybe much larger than the motion that would be realistically possible. Lu and O’Connor (1999) described a global optimization process which applies physically realistic joint constraints to the model to minimize the effect of the soft tissue and measurement error. |
Mathematically Van Den Bogert and Su (2008) described this approach which specifies the configuration of the total body based on a set coordinates q. In this case T and O of equation 1 become a function of all the generalized coordinates: | Mathematically Van Den Bogert and Su (2008) described this approach which specifies the configuration of the total body based on a set coordinates q. In this case T and O of equation 1 become a function of all the generalized coordinates: | ||
- | [[File: | + | {{:ik2.GIF}} |
and the expression that is minimized becomes: | and the expression that is minimized becomes: | ||
- | [[File: | + | {{:ik3.GIF}} |
where now mt is the total number of targets on all the segments in the Inverse Kinematics chain. | where now mt is the total number of targets on all the segments in the Inverse Kinematics chain. | ||
- | ==== Segment Weight | + | ===== Inverse Kinematics as a Global Optimization Problem ===== |
- | When creating an IK chain the user may want to make sure that certain segments follow the tracking targets with a higher degree of accuracy then other segments. For example, the user may want to assure that the distance between the foot (RFT or LFT) and the floor (or force platform if available) remains similar to the values that would be obtained using the tradition | + | In Visual3D the Inverse Kinematics problem is solved as a [[Visual3D: |
- | [[File: | + | ==== Defining IK Constraints ==== |
- | where n is the number | + | IK chains are created in Visual3D using the [[Inverse_Kinematics: |
- | ==== Boundary Conditions | + | ==== Segment Weight |
- | This functionality is new and has limited documentation. | + | When creating an IK chain the user may want to make sure that certain segments follow the tracking targets with a higher degree of accuracy then other segments. For example, the user may want to assure that the distance between the foot (RFT or LFT) and the floor (or force platform if available) remains similar to the values that would be obtained using the tradition Visual3D 6 DoF method. To help with this situation Visual3D lets the user add a [[Visual3D: |
- | Here is some preliminary information. | + | {{:ik4.GIF}} |
- | To use the LBFGSB optimizer you first have to setup a traditional [[Inverse_Kinematics: | + | where: |
+ | - n is the number of segments in the IK chain; | ||
+ | - k_n Is the weight factor for the mobilizers associated with the segment; and | ||
+ | - m is the number of targets used to track that segment. | ||
- | Next: | + | ==== Boundary Conditions ==== |
- | | + | To use the LBFGSB optimizer you first have to setup a traditional IK model, then: |
+ | | ||
- Select the segment for which you want to add boundary conditions in the IK Segment List Box. (Not you can only add boundary conditions for degrees of freedom where the mobilizer is checked, If the mobilizer is not check that component of the joint is fixed and not part of the IK solution,) | - Select the segment for which you want to add boundary conditions in the IK Segment List Box. (Not you can only add boundary conditions for degrees of freedom where the mobilizer is checked, If the mobilizer is not check that component of the joint is fixed and not part of the IK solution,) | ||
- Select the " | - Select the " | ||
- Change the Low and High Range boundary condition for the degree of freedom(s) of interest. | - Change the Low and High Range boundary condition for the degree of freedom(s) of interest. | ||
- Click OK to accept the changes and close the Dialog. | - Click OK to accept the changes and close the Dialog. | ||
- | - Build (or Recalc) the Model. | + | - Build (or [[visual3d: |
- | This will now solve the Inverse Kinematic | + | This will now solve the IK problem within the limits of any boundary conditions you specify. |
+ | |||
+ | ===== Comparing 6DOF and Inverse Kinematics ===== | ||
+ | |||
+ | Visual3D models are based on a linked set of rigid segments. Traditional Visual3D models (6DOF) assumed that segments were implicitly linked by the motion capture data (e.g. segments didn't come apart because the subject didn't come apart) and the joints were modeled with 6 degrees of freedom (e.g. all segments were treated as if they were independent). The mapping of motion capture markers to 6 DOF segments is a matter of tracking a set of markers that are linked rigidly to the segment. This least squares solution requires [[Visual3D: | ||
+ | |||
+ | The difference between the traditional Visual3D 6DOF model and the IK model is that the latter allows constraints to be added between segments that restrict the relative motion between the segments. This is accomplished by creating one or more IK chains. An Inverse Kinematics solution is dependent on the choice of hierarchical model (the specified IK chains) because the task is to identify an articulated figure consisting of a set of rigid segments connected with joints. Varying angles of the joints yields an indefinite number of configurations, | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | Certain common scenarios occur when building Visual3D models where we recommend considering an IK model. | ||
==== Kinematic Foot ==== | ==== Kinematic Foot ==== | ||
Line 79: | Line 77: | ||
The [[Visual3D: | The [[Visual3D: | ||
- | |||
- | |||
visual3d/documentation/kinematics_and_kinetics/inverse_kinematics.txt · Last modified: 2025/04/02 11:03 by wikisysop