residual norm and unconverged equation error
Ältere Kommentare anzeigen
hi. i use a simulink and simscape model to buildd an aplifier for audio use. class d.
when i start simulation I get this error:
_Steady state solve failed to converge. ...Nonlinear solver: failed to converge, residual norm too large. ......Here is the set of components with unconverged equations:
'mosfet_driver/N-Channel MOSFET' 'mosfet_driver/gate driver 2/NPN Bipolar Transistor'_
the strange about this error is that i did not change actually anything on my model since the previous time, that the simulation worked! so strange and wuote annoying I'd say. I suppose it is some kind of numerical linear algebra error inside the simulink computation engine.. but i cannot tell what the problem exactly is! so any help!?
thanx. andreas
Antworten (3)
Guy Rouleau
am 29 Okt. 2012
2 Stimmen
Here are a few tips to make your model more robust to this error:
- Try increasing the Consistency tolerance in the Solver Configuration block. The default is 1e-9. Try something like 1e-6.
- Some components in your circuit probably have parameters like snubbers or "Open resistance" or "Closed Conductance". Those are there for numerical reasons. Making them less ideal should help.
PENG SHI
am 21 Dez. 2018
0 Stimmen
I have encountered this problem as well. It is resolved by reducing min time step in my case.
Vernarda Dipchan
am 3 Jun. 2025
0 Stimmen
I was experiencing the same problem, the solution was to switch the Electrical ideal MOSFETs (Electrical/Semiconductors&Csnverters) to Electrical N-Channel MOSFETs.
Kategorien
Mehr zu Simscape Electrical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!