Freewheeling diode causing error in Full-Bridge Inverter model
3 ビュー (過去 30 日間)
古いコメントを表示
Hi, please see the attached Simulink model. Its a simple full-bridge inverter producing quasi-square alternating voltage at the load (resistor). The freewheeling diode, although it is standard in the design, is causing some numerical issue during simulation. The error stated is: "Derivative of state 'full_bridge.Diode.c1.vc' in block 'full_bridge/Diode' at time 0.000255 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)".
I suspect the junction capacitance values of the diode is spiking at simulation initiation. Not sure why. Is there any obvious mistake that I am making?
0 件のコメント
回答 (1 件)
Sabin
2025 年 1 月 15 日
This model appears to be stiff and poses challenges to the solver. Running the model in fixed-step global solver is not the best way to simulate this model. If you want to simulate the model in fixed step it is better to enable Simscape local solver in the Solver Configuration block. Alternatively, you can run the model in continuous time variable step. Changing the parameterization may also help, for example by setting the diode junction capacitance to 0.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Electromechanical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!