There is a bug in the Spice model for UC1825
https://www.ti.com/lit/zip/slum654
and
https://www.ti.com/lit/zip/slum673
Line 43: The polarity of V4 is wrong. Corrected line:
V4 22 RAMP 1.25
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
There is a bug in the Spice model for UC1825
https://www.ti.com/lit/zip/slum654
and
https://www.ti.com/lit/zip/slum673
Line 43: The polarity of V4 is wrong. Corrected line:
V4 22 RAMP 1.25
If you intend to repair the model, you might also consider changing line 159 from
.SUBCKT DPST_SWITCH_0 CTRL IN OUT PARAMS : VTHRESH = 0.5
to
.SUBCKT DPST_SWITCH_0 CTRL IN OUT PARAMS: VTHRESH = 0.5
(no space after PARAMS, thus becoming compatible to ngspice)