When the yaw angle exceeds 90° the robot cannot maintain balance states in Simscape

5 ビュー (過去 30 日間)
Tan Shuwen is pig
Tan Shuwen is pig 2024 年 8 月 21 日
回答済み: Tan Shuwen is pig 2024 年 8 月 22 日
I used simscape to simulate,modeling and control of a wheeled biped robot. I used LQR to calculate the torque for the robot to maintain balance states. I used a lot of balls to simulate the contact between the tire and the ground. Everything is ok when the yaw angle of the robot is less than 90 degree.
  • here is yaw 0 dgree
yaw 0 degree
  • here is yaw 60 dgree
60 degree
when the yaw angle is greater than 90 degree, can't maintain balance.
  • here is yaw 90 dgree
90 degree
  • here is yaw 180 dgree
180 degree
when I change the positive and negative sign of the both hub torque at 180 degree yaw angle , everything return to normal as the same as the 0 degree.
  • here is yaw 180 dgree but change the positive and negative sign of the both hub torque
What's happaning? Is it because of the spatial contact force?
  4 件のコメント
Sam Chak
Sam Chak 2024 年 8 月 21 日
Aquatris deduced what happened based on your description, and cannot rule out that instability issue is caused by human error in the coding of rotation matrix or transformation between Euler angle and quaternion in the LQR based computed torque.
Sam Chak
Sam Chak 2024 年 8 月 21 日
One aspect that intrigues me is why the two-wheeled robot tumbled violently when there was no external torque acting on it other than the balancing torques from the wheels. One possible explanation is that an incorrect rotation sequence was used, causing the robot to experience a singularity at a yaw angle of 90° and a large torque output.
Note: Admin may regard your username of choice as a potentially disrespectful remark.

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

回答 (1 件)

Tan Shuwen is pig
Tan Shuwen is pig 2024 年 8 月 22 日
@Sam Chak @Aquatris Hi, thanks for your response. Yes, all of it is caused by singlarity at a yaw angle of 90°. I just use a stupid way to fix it,
if(yaw<-90 | yaw>90)
T = -T % T is the hub torque
end
Although there may be some instability and oscillation when yaw angle passing through 90 °, balance can be maintained.

カテゴリ

Help Center および File ExchangeApplications についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by