User Tools

Site Tools


visual3d:documentation:pipeline:model_based_data_commands:angular_momentum_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:model_based_data_commands:angular_momentum_example [2025/12/19 15:30] wikisysopvisual3d:documentation:pipeline:model_based_data_commands:angular_momentum_example [2026/06/18 21:05] (current) – Linked model-based item pages. richard
Line 1: Line 1:
-===== Angular Momentum Examples ===== +====== Angular Momentum Examples ====== 
-This page demonstrates how to compute angular momentum using sports data sets, with normalization methods based on recent biomechanics research. The approach follows principles established in studies like "How maximal whole-body and segmental angular momenta relate to fastball speeds in high school baseball pitchers,which showed that normalized angular momentum (divided by body mass × height × velocity) provides meaningful comparisons across athletes of different sizes. The pipeline computes both segmental angular momentum (with local and remote components) and model angular momentum, then projects these 3D vectors onto task-specific planes—such as the swing plane in batting or a golf swing. This projection isolates the rotational momentum that actually contributes to performance, filtering out off-axis rotation that doesn't transfer energy to the implement or ball. The examples below show how to implement these calculations in Visual3D for batting analysis, though the same principles apply to pitching, throwing, and other rotational sports movements. +This page demonstrates how to compute angular momentum using sports data sets, with normalization methods based on recent biomechanics research. The approach follows principles established in studies like "How maximal whole-body and segmental angular momenta relate to fastball speeds in high school baseball pitchers"[1] and "Changes in angular momentum during the golf swing and their association with club head speed"[2]. The following pipelines computes both segmental angular momentum (with local and remote components) and model angular momentum, then projects these 3D vectors onto the swing planes for both baseball patting and a golf swing. The examples below show how to implement these calculations in Visual3D for batting and golf analysis, though the same principles apply to pitching, throwing, and other rotational sports movements. 
-====Baseball==== + 
-This example shows how to compute the angular momentum of the model (MODEL_ANGULAR_MOMENTUM) as well as finding the angular momentum of a segment (ANGULAR_MOMENTUM) using babseball data with accounting for the swing plane.+=====Example 1: Baseball===== 
 +This example shows how to compute the angular momentum of the model (the **[[visual3d:documentation:visual3d_signal_types:link_model_based_data_type:model_angular_momentum|MODEL_ANGULAR_MOMENTUM]]** model-based item) as well as finding the angular momentum of a segment (the **[[visual3d:documentation:visual3d_signal_types:link_model_based_data_type:angular_momentum|ANGULAR_MOMENTUM]]** model-based item) using baseball data with accounting for the swing plane. 
 +|{{:visual3d:documentation:pipeline:model_based_data_commands:basbeall.png?400|}}|{{:visual3d:documentation:pipeline:model_based_data_commands:graph.jpg?500x400|}}|
  
-{{:visual3d:documentation:pipeline:model_based_data_commands:basbeall.png?400|}}\\ 
-{{:visual3d:documentation:pipeline:model_based_data_commands:graph.jpg?500|}} 
 ---- ----
  
Line 34: Line 34:
 </code> </code>
  
-The pipeline's Best_Fit_Plane calculation creates a plane based on the bat's actual path during the contact sequence (CONTACT_PLANE). This represents the true swing plane for that specific swing. This is done since this calculates only the angular momentum that is contributing to the bat speed in the actual swing direction (within the swing plane).+2. The pipeline's Best_Fit_Plane calculation creates a plane based on the bat's actual path during the contact sequence (CONTACT_PLANE). This represents the true swing plane for that specific swing. This is done since this calculates only the angular momentum that is contributing to the bat speed in the actual swing direction (within the swing plane).
  
 <code> <code>
Line 51: Line 51:
 </code> </code>
  
-The following model based items that are being computed is the angular momentum, of both segments as well as the entire model. +3. The following model based items that are being computed is the angular momentum, of both segments as well as the entire model. 
 <code> <code>
 !! Segment angular momentum: thorax angular momentum including the thorax's linear momentum relative to the body’s center of mass (COM) !! !! Segment angular momentum: thorax angular momentum including the thorax's linear momentum relative to the body’s center of mass (COM) !!
Line 126: Line 126:
 </code> </code>
  
 +4. The projected values below represent the magnitude of angular momentum aligned with the swing plane calculated in step 2 , expressed as a scalar rather then a vector.
 <code> <code>
 Evaluate_Expression Evaluate_Expression
Line 163: Line 164:
 ; ;
 </code> </code>
 +----
 +===== Example 2: Golf ====
  
-====Golf====+1. First, the Best_Fit_Plane is used to calculate the swing plane at impact. This will be used in subsequent commands to identify the angular momentum projection on the swing plane: 
 <code> <code>
 Evaluate_Expression Evaluate_Expression
Line 179: Line 182:
 ; ;
 </code> </code>
-====Segment Angular Momentum About Segment COM====+ 
 +==== Example 2a: Segment Angular Momentum About Segment COM ==== 
 +The following example show how the angular momentum of the thorax about its own center of mass can be calculated: 
 <code> <code>
 Compute_Model_Based_Data Compute_Model_Based_Data
Line 205: Line 210:
 </code> </code>
  
 +The resulting segment angular momentum about the z looked like so:
 +
 +{{:visual3d:documentation:pipeline:model_based_data_commands:thx_segment.png?600|}}
 +
 +==== Example 2b: Segment Angular Momentum Including Remote Angular Momentum ====
  
-====Segment Angular Momentum About Model COM====+This example shows how the angular momentum of the thorax can be found, like above, this time including the remote angular momentum of the segment. The remote angular momentum is defined as a segment’s linear momentum relative to the body’s center of mass. This value is then projected, using Evaluate_Expression, onto the swing plane we defined earlier:
 <code> <code>
 Compute_Model_Based_Data Compute_Model_Based_Data
Line 245: Line 255:
 </code> </code>
  
-====Whole Body Angular Momentum About Model COM====+It is important to note that when remote angular momentum is included the value is only particularly meaningful around the time of impact. The resulting projected value around the time of impact looked like so: 
 + 
 +{{:visual3d:documentation:pipeline:model_based_data_commands:remote_projection.png?600|}} 
 + 
 +==== Example 2c: Whole Body Angular Momentum About Model COM ==== 
 + 
 +The following commands show how the total angular momentum of the model can be found by summing the angular momentum of every model segment about the model COM. This value is then projected onto the swing plane using the same method as above. Model angular momentum can either include or exclude the remote angular momentum of each segment, in this example it is excluded. 
 <code> <code>
 Compute_Model_Based_Data Compute_Model_Based_Data
Line 283: Line 299:
 </code> </code>
  
 +The resulting projection of the model angular momentum on the swing plane looked like so:
 +
 +{{:visual3d:documentation:pipeline:model_based_data_commands:total_projection.png?600|}}
 +
 +A comparison of the angular momentum about the z axis for each of these examples can be seen below:
 +
 +{{:visual3d:documentation:pipeline:model_based_data_commands:golf_angular_momentum.png?600|}}
 +
 +===== References =====
 +[1] [[https://pubmed.ncbi.nlm.nih.gov/40858090/|How maximal whole-body and segmental angular momenta relate to fastball speeds in high school baseball pitchers]]\\
 +[2] [[https://www.researchgate.net/publication/337863270_Changes_in_angular_momentum_during_the_golf_swing_and_their_association_with_club_head_speed|Changes in angular momentum during the golf swing and their association with club head speed]]
visual3d/documentation/pipeline/model_based_data_commands/angular_momentum_example.1766158235.txt.gz · Last modified: by wikisysop