필터 지우기
필터 지우기

Simulink Problem: Derivative input is Inf

조회 수: 10 (최근 30일)
Fan
Fan 2013년 5월 9일
답변: Brahim MOUDOUD 2019년 10월 7일
Hi,
I face a Simulink problem at the input of the integration block, which is:
Derivative input 1 of 'diode4_1_test/Integrator' at time 0.00050002112037682831 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. I also tried to put saturation block at the input, but the problem also exists.
Thank you!
  댓글 수: 1
Jordan Monthei
Jordan Monthei 2013년 5월 9일
It would be helpful to see what sort of system you are trying to run as well as what is seen on the scope to have a better understanding of your problem.

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

채택된 답변

Guy Rouleau
Guy Rouleau 2013년 5월 9일
Use the Simulink debugger to identify where the Inf or NaN originates. There is a "NaN" breakpoint.

추가 답변 (1개)

Brahim MOUDOUD
Brahim MOUDOUD 2019년 10월 7일
Hi,
I had the same problem for the integrator
Derivative of state '1' in block '..../integrator' at time 4.4501477170144018E-309 is not finite. The simulation will be stopped. 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)
Thank you .

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by