Hey there, I need some help with this error. Would anyone be willing to provide guidance?

조회 수: 2 (최근 30일)
How do I reduce the fixed step size or tighten the error tolerances?

채택된 답변

Sam Chak
Sam Chak 2023년 10월 9일
For a fixed-step solver, you can modify the settings in the Solver tab of the Configuration Parameters dialog box (see image below). However, when it indicates that the derivative of the state at a certain time is not finite, the issue may be caused by a singularity in the solution. Singularities typically occur when the model contains division-by-zero terms.
If this is under the direct control of a model designer, you can alter the mathematical expression that leads to the zero in the denominator. If the model is constructed in accordance with the governing laws of physics, where you cannot alter the mathematical principles (e.g., black holes or kinematic singularities of robot arms), then you can attempt a coordinate transformation or apply an externally-manipulated input signal to the system to actively avoid the singularity.
  댓글 수: 3
Danikha Shyken
Danikha Shyken 2023년 10월 17일
How can I confirm that this is the case, and what steps should I take to resolve it?: If this is under the direct control of a model designer, you can alter the mathematical expression that leads to the zero in the denominator. If the model is constructed in accordance with the governing laws of physics, where you cannot alter the mathematical principles (e.g., black holes or kinematic singularities of robot arms), then you can attempt a coordinate transformation or apply an externally-manipulated input signal to the system to actively avoid the singularity.
Sam Chak
Sam Chak 2023년 10월 17일
I suggest that you show what's under the state-space block mask so that we can analyze the dynamics.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by