Derivative input is Inf

5 visualizaciones (últimos 30 días)
Ibrahim Seleem
Ibrahim Seleem el 8 de Sept. de 2015
Comentada: Sofia Carvalho el 12 de Abr. de 2017
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!

Respuesta aceptada

MUHAMMED FASIL
MUHAMMED FASIL el 28 de Sept. de 2015
Editada: Walter Roberson el 19 de Oct. de 2015
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 comentarios
MUHAMMED FASIL
MUHAMMED FASIL el 19 de Oct. de 2015
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 el 12 de Abr. de 2017
I have a similiar error, I guess: https://www.mathworks.com/matlabcentral/answers/334702-solar-pv-panel-simulink-solver-error

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by