Simscape Rotational Friction – Instability Issue in Joint Simulation

조회 수: 7 (최근 30일)
donghoo
donghoo 2025년 7월 14일
댓글: Umar 2025년 8월 17일
Hello,
I am trying to simulate joint friction in a robot using the Rotational Friction block in Simscape. I have measured the torque-velocity relationship from an actual robot joint, as shown in the plot below.
Based on this data, I estimated the friction parameters as follows:
  • Breakaway friction torque: 20 Nm
  • Coulomb friction torque: 10 Nm
  • Breakaway friction velocity: 0.1 rad/s
  • Viscous friction coefficient: 50 Nm·s/rad
I applied these values in the Rotational Friction block and connected it to each joint as shown in the Simscape model below.
The solver is configured to fixed-step with automatic solver selection, and the step size is set to 0.001 s (1 kHz). However, I am encountering unstable or diverging behavior during simulation.
I would appreciate it if you could help me understand:
  • Why this divergence is happening
  • Whether there are any best practices or recommended solver settings when using the Rotational Friction block in this context
Thank you in advance for your support.
  댓글 수: 2
Yifeng Tang
Yifeng Tang 2025년 7월 31일
It'll be easier if you could attached the model that exhibit such behavior. it's different to diagnose from a snapshot, without seeing what's in the model, the parameters, and solver settings.
Umar
Umar 2025년 8월 17일

Hi @ donghoo,

I do agree with @Yifeng Tang’s comments, however, the only advice I can give is that the instability is probably related to the discontinuous nature of Coulomb friction. Even without Matlab Simulink access, here are some general approaches that often help:

1. Solver settings: Try ode15s or ode23s (stiff solvers) instead of fixed-step

2. Regularization: Most friction blocks have options to smooth the velocity discontinuity

3. Initial conditions: Make sure your initial joint velocities aren't exactly zero

4. Step size: 0.001s might be too large for the friction dynamics - try reducing it

Please bear in mind that the key is avoiding the mathematical discontinuity at zero velocity that causes numerical issues. Hope this helps.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Brakes and Detents에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by