Electronics circuit diode simulation

1 view (last 30 days)
Hi all,
I am setting up a very simple circuit with a 200Vac power supply and a diode. I connect the diode immediately to the voltage source without a resistor - as expected the diode should burn out due to high circuit current passing through it. However, the simulink model does not give any error. If I need to make more complicated circuit designs then how can I know if I have an error in my circuits? Is there a way for simulink to flag up circuit errors?
Attached is the simple model I work on.
Thank you

Accepted Answer

David John
David John on 7 Nov 2018
The main mechanism that we have for flagging components going outside of a certain operating limit is by using the passive components from Simscape Electrical (resistor, capacitor and inductor), where you have an Operating Limits tab that allows you to throw warnings or errors if the component goes outside of your prescribed limits.
In your test model, the voltage sensor provides an open circuit, so no current flows through the diode anyway. If you had a complete circuit with the voltage sensor connected across an exponential diode, you would see convergence issues due to the exponential term getting large. For a model involving a sufficiently high series resistance (such as in the piecewise linear Foundation resistor), the model is basically a two-state resistor that can handle any voltage across it.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!