Questions about Revolute Joint in Simscape Multi Body.

I have question regarding the revolute joint in simscape multibody .
  1. What are the the input units when inputing position? (my guess is rads)
  2. What is the units for the output?
  3. How can I set an initial positon for my simulation that is independent of a controller? I have tried editing "State Targets/ Specify Position Target" with no luck.

回答 (2 件)

Amanpreetsingh Arora
Amanpreetsingh Arora 2021 年 2 月 1 日

0 投票

Following are the answers to your queries on Revolute Joint block:
1. What are the the input units when inputing position?
The input unit is inherited from the input physical signal itself. If there is no unit, radians is assumed.
2. What is the units for the output?
Radians by default. However, it can be converted to other units using "PS-Simulink Converter".
3. How can I set an initial positon for my simulation that is independent of a controller?
"State Targets/ Specify Position Target" is the correct parameter for this purpose. Can you share your model where modifying this parameter does not work? There might be some other part of your model that is enforcing an initial condition on the joint. Did you try setting "State Targets/ Specify Position Target/Priority" to "High (desired)"?

3 件のコメント

fmo2641
fmo2641 2021 年 2 月 2 日
I shared two simulink files, my more complex simulation("PT_TF_Sim_RL2") and a simpler simulation ("simple"). "Master.m" should initialize everything to run the complex simulation.
I was able to succesfully use "State Targets/ Specify Position Target" in the simple simulation to set the initial conditions. But when it comes to my more complex simulation it seems to initialize at 0 eventhough there is a non-zero input in "State Targets/ Specify Position Target".
I have also tried with a high priority.
I imported my model from a CAD file using smimport , I am not sure if that caused a problem. I also think that the model data file might contain reduncancies.
Amanpreetsingh Arora
Amanpreetsingh Arora 2021 年 2 月 3 日
In case of model "PT_TF_Sim_RL2", you are providing a motion input to the joints and therefore during simulation it is obtaining the initial condition from the input profile. You can check in Mechanics Explorer that values from "State Targets" are used only when the diagram is updated (using Ctrl-D) but during simulation the values are obtained from the input profile.
In this case, you will have to specify the initial condition at the motion input using the "IC" block. Refer to the following documentation for information on "IC" block.
fmo2641
fmo2641 2021 年 2 月 10 日
Will using IC allow me to remove the conditions remove state targets ?

サインインしてコメントする。

Mario Castro
Mario Castro 2022 年 9 月 21 日

0 投票

When using a torque input, which are the units the Revolute Joint expect the signal to be? N*m?

カテゴリ

製品

リリース

R2020b

質問済み:

2021 年 1 月 29 日

回答済み:

2022 年 9 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by