How to compute forces in global reference frame?

I have a model of the golf swing in simulink that outputs the forces in a local reference frame (relative to the follower block). I would like to find the forces relative to a global reference frame. What is the easiest way to do this throughout the model? Transform sensor?

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2024 年 1 月 28 日

0 投票

Presuming that you are also using some blocks from SimScape toolbox in the Simulink environment, here are some points to consider:
! Use a Simulink block called the "Coordinate Transformation" block.
Some generalized outline of the whole model building process:
  1. Define Coordinate Systems: Define the local and global reference frames. Use blocks "Local Coordinate System" and "Global Coordinate System" blocks of Simscape Foundation library.
  2. Coordinate Transformation Block: Use the "Coordinate Transformation" block to perform the transformation from the local frame to the global one.
  3. Use Sensor Blocks ("Transform Sensor" from Simscape Multibody): Force sensors in the local reference frame.
  4. Connect all blocks ...
  5. Simulate the built model
  6. Have fun :)
Don't foget converters: between Simulink and Simscape signals.

カテゴリ

ヘルプ センター および File ExchangeApplications についてさらに検索

製品

リリース

R2023a

質問済み:

2024 年 1 月 27 日

回答済み:

2024 年 1 月 28 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by