BME254L - Spring 2026
Duke University
January 8, 2026
Simulation Program with Integrated Circuit Emphasis (SPICE)
Model and analyze the behavior of electronic circuits before they are physically constructed.
Input schematic representations of circuits (e.g., resistors, capacitors, transistors, diodes, etc.)
Simulate circuit performance by computing current, voltage, and power, across these components under different conditions.
Reduce design costs.
Breadboards / thru-hole prototyping is not realistic for complex circuits.
Most components are now surface mount.
Model \(\rightarrow\) Breakout Boards \(\rightarrow\) PCB
SPICE components are defined by their mathematical models.
Non-SPICE components are defined by their physical characteristics.
KiCad has a library of SPICE models for common components.
SPICE models are not always available for all components, but can be downloaded and added to some libraries.
SPICE models can be edited / created for custom components.
We usually want to simulate as simple of a circuit as possible.
We can limit the scope of the simulation by excluding components from the braoder schematic from the sub-circuit that we want to simulate:
Drag select all of the components you want to exclude to highlight them.
Right Click: Attributes -> Exclude from Simulation
Repeat this for other sheets / circuits in the schematic.
In the Simulation window, Confirm that your SPICE Netlist reflets what you actually want to simulate.
The SPICE model can be set in the component properties.
The component must have a SPICE model to be included in the simulation.
Only certain components allow certain simulation parameters to be varied (e.g., resistors vs. potentiometers).
AC Sweep: frequency analysis
DC Sweep: sweep voltage, current, resistance, capacitance
Operating Point: analysis at a specific point in time
Transient: time-domain analysis
Simulations are Run (Blue Arrow in Simulation window).
Probes can be added by parameter and component name or interactively.
Choose a New Analysis and what components you want to sweep.
0 as they can cause numerical instability!After you hit Ok, choose the parameters from the right side of the window that you would like to plot.
If you change your schematic, be sure to re-Run the simulation.
All open analysis tabs must be valid for the running simulation to be successful!