cyclic behavior during switching

Problem description:
I have tried multiple settings and the waveforms before the error occurs look good. What is the reason for this error and is there anything I can do about it?

Solution:
The error condition ‘Cyclic behavior during switching’ means that a switch receives an opening command and a closing command in the same time step, and so PLECS is unable to determine a conduction state. A diode, for instance, might turn on at one instant, because it measures a positive voltage, but after having turned on, the current through it is instantly negative, so it turns off again.

The problem usually arises due to numerical problems, and there is no single recipe against it. Changing the following settings may help:

The circuit parameter ‘Diode turn-on threshold’ is used to delay the natural turn-on instant of diodes and thyristors. Increasing this value (from 0 to 1e-3 or 1e-2) can reduce the chance that the post-turn-on current might be negative.
Tightening the relative tolerance of the solver (from 1e-3 to 1e-5 or 1e-6).
就是改变这俩地儿的值,diode加一个导通压降或者relative tolerance改小
When using the PLECS Blockset, switching from the default Simulink solver ‘ode45’ to a stiff solver such as ‘ode23tb’ and, where applicable, setting the ‘Solver reset method’ to ‘Robust’.

如果上述方法都不行,可能是调制方法有问题。比如我的是三电平载波层叠调制,调制波选择从1开始。
红线处改成 starts with 1

  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值