Hi,
I face a Simulink problem at the input of the integration block, which is:
Derivative input 1 of 'test_ahmed/Integrator' at time 0.003375 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
However,the input of the integration block is not infinity according the scope.
The model belongs to sliding mode control of biped robot in single support phase.
attached with the message simulink model..
Thank you!

 채택된 답변

MUHAMMED FASIL
MUHAMMED FASIL 2015년 9월 28일
편집: Walter Roberson 2015년 10월 19일

0 개 추천

Error with attached model.
  1. Use 0.000000001 or so instead of 0 in Integrator initial condition box. Try reducing or increasing number of zeroes until your model runs fine.
  2. Use a delay block in front of "division" block.
Otherwise send ur model to tpfasil2007@gmail.com

댓글 수: 3

Ibrahim Seleem
Ibrahim Seleem 2015년 10월 3일
편집: Ibrahim Seleem 2015년 10월 3일
MUHAMMED FASIL Thanks for your answer. But I tried all of those solutions but the same problem occurred. I tried yesterday to send you email, but there was a problem occurred and email didn't be sent. So I'll attach the model and fuzzy functions here in zip file.
note: I'm using Matlab2012 I hope from you to help me.
MUHAMMED FASIL
MUHAMMED FASIL 2015년 10월 19일
Dear Ibrahim,
It ran without any error in my PC. Please try disabling algebraic loop error in diagnostic settings as shown in the attachment.
I hope u have also tried with variable step also and trying with ADAPTIVE algorithm
Sofia Carvalho
Sofia Carvalho 2017년 4월 12일
I have a similiar error, I guess: https://www.mathworks.com/matlabcentral/answers/334702-solar-pv-panel-simulink-solver-error

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

제품

태그

질문:

2015년 9월 8일

댓글:

2017년 4월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by