Good free simulator for dc sweep

by Patricia Ferreira   Last Updated October 20, 2019 02:25 AM - source

I need to do a DC sweep of a circuit involving a NMOS, but my version of Multisim doesn't have that option. Which free simulator would you recommend for a DC sweep?

Answers 1

I highly recommend LTSpice. While not open source, it is freeware, and has very up-to-date models for things like NMOS transistors, and for many simulations is the fastest SPICE implementation out there. Be sure to adjust the number of cores to suit your system, and make sure it is generating object code - this makes it very fast.

Performing a DC sweep in LTSpice is fairly straightforward SPICE:

.dc <SourceName> <Vstart> <Vstop> <Vincrement>

where SourceName is the voltage or current source you wish to step, the rest should be fairly self-explanatory.

If you wanted to see the default curves for BSIM3v3.2.4's NMOS model for example, it would be as simple as:

M1 2 1 0 0 nbsim
Vgs 1 0 3.5
Vds 2 0 3.5
.dc Vds 3.5 0 -0.05 Vgs 0 3.5 0.5
.model nbsim NMOS Level=8
.save I(Vds)

Note that in this example, both Vds and Vgs are being swept. The syntax to step multiple sources is simply repeating the SourceName, Vstart, Vstop, and Vincrimenet arguments for each additional source.

October 20, 2019 02:13 AM

Related Questions

Voltage sweep circuit for non-linear voltage source

Updated September 16, 2019 15:25 PM

dc sweep convergence issue for cmos inverter

Updated January 13, 2019 10:25 AM