zero crossing detection cause simulation error

조회 수: 16 (최근 30일)
chen gao
chen gao 2015년 10월 21일
댓글: muhammad hafez 2019년 5월 8일
Hi, the model error information is as below when I do simulation using PLECS circuit,
"At time 0.0063829341183167269, simulation hits (1000) consecutive zero crossings. Consecutive zero crossings will slow down the simulation or cause the simulation to hang. To continue the simulation, you may 1) Try using Adaptive zero-crossing detection algorithm or 2) Disable the zero crossing of the blocks shown in the following table. "
It will be fine if I follow the suggestion 1) or 2) but I do need Zero crossing function since there are comparator circuit. Another error information occurs when I disable zero crossing,
"The circuit model contains non-sampled zero crossings. For accurate simulation results you need to enable the zero-crossing detection of the Simulink solver."

답변 (1개)

Hildo
Hildo 2015년 11월 1일
I have the exactly same problem, even changing the configurations. I know that problem occur because I am using a comparative block to generate a PWM signal. But I don't how to fix. I thought to change the solve method (now I am using ode23t) but my model is write to work in this solve because is a Stiff Problem.
  댓글 수: 1
muhammad hafez
muhammad hafez 2019년 5월 8일
does any one find solution for this problem ?

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by