Simscape revolute joint torque actuation issue

Hello,
I have a simscape model with two revolute joints. Firstly, I have generated angular postions for both of those joints in order for the end effector to follow straight line. I record the torque needed to move each joit in workspace. Then I set joints to be actuated by torques. As input torque I specify torques that I have previously recorded but then I do not get wanted motion. What can I be doing wrong?
Before first run of slx file "test_1_1.m" needs to be run. nce the first simulation ends I create two variables that reprenet torque. Those are variables a1 and b1. They are made from out variable that comes from Simulink (%a1=out.torque_J1; %b1=out.torque_21;)
Best regards

2 件のコメント

Yifeng Tang
Yifeng Tang 2025 年 6 月 4 日
I have only a hypothesis here.
If I comment out the 2nd joint and arm, so it's a simple arm around the base, the recorded torque will be able to drive the single arm to very high precision and follow the original position. I suspect the two-joint system is a bit too sensitive to any integration tolerance/error and a recorded torque will cause the motion to "drift" from the original trace. Maybe similar to how a double-pendulum can be chaotic?
Ahmet
Ahmet 2025 年 6 月 21 日
Hi Yifeng Tang and thank you for taking look. I was hoping I might be doing something wrong.

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

回答 (0 件)

カテゴリ

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

製品

リリース

R2024b

質問済み:

2025 年 5 月 16 日

コメント済み:

2025 年 6 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by