Common Mistakes and How to Avoid Them

Common Mistakes and How to Avoid Them #

Learn from the most frequent errors made in Breadpad and how to avoid them. Save time and frustration by knowing what to watch out for.

Mistake #1: Forgetting Ground Connections #

The Problem #

VCC (5V) → R1 (1kΩ) → LED → (floating!)

Error: “No DC path to ground”

Why It Happens #

New users focus on the signal path and forget that current needs a return path to complete the circuit.

The Solution #

VCC (5V) → R1 (1kΩ) → LED → GND

Always ask: “Can current flow from positive to ground through my circuit?”

Prevention Tips #

  • Add ground symbol to every circuit first
  • Connect negative terminal of power supply to ground
  • Verify each component has a path to ground
  • Use Troubleshooting Guide for “No DC path” errors

Mistake #2: Using 0Ω Resistors or Perfect Shorts #

The Problem #

V1 vcc 0 DC 5
V2 vcc 0 DC 5.1    ← Two voltage sources directly connected!

Error: “Voltage source loop” or “Singular matrix”

Why It Happens #

Trying to model ideal wires or test voltage source behavior without understanding SPICE limitations.

The Solution #

V1 vcc 0 DC 5
R1 vcc node 0.001   ← Small resistance prevents convergence issues
V2 node 0 DC 5.1

Rule of Thumb: Never connect two voltage sources directly. Add ≥0.001Ω resistance.

Prevention Tips #

  • Use 0.001Ω instead of 0Ω for wire resistance
  • Add small series resistance (0.01Ω) to all voltage sources
  • Remember: No perfect components exist in real circuits

Mistake #3: Unrealistic Component Values #

The Problem #

Resistor: 0.00001Ω (essentially a short)
Capacitor: 1,000,000μF (unrealistically large)
Inductor: 0.0001pH (impossibly small)

Error: Convergence failures, incorrect results, or crashes

Why It Happens #

Typos in unit prefixes or lack of understanding of typical component ranges.

The Solution #

Typical Ranges:

  • Resistors: 1Ω to 10MΩ (common: 100Ω to 1MΩ)
  • Capacitors: 1pF to 1000μF (common: 10pF to 100μF)
  • Inductors: 1nH to 100mH (common: 1μH to 10mH)

Prevention Tips #

  • Double-check unit prefixes: k (kilo), M (mega), m (milli), μ (micro), n (nano), p (pico)
  • Compare with real components before simulating
  • See the Components reference to choose the right parts
  • Remember: m = milli, M = mega (1000x difference!)

Mistake #4: Wrong Unit Prefixes #

The Problem #

Intended: 10kΩ (10,000 ohms)
Typed: 10mΩ (0.01 ohms)  ← 1,000,000x difference!

Why It Happens #

Confusion between m (milli) and M (mega), or using wrong prefix.

The Solution #

SI Prefix Reference:

PrefixSymbolMultiplierExample
GigaG×10⁹1GHz = 1,000,000,000 Hz
MegaM, Meg×10⁶1MΩ = 1,000,000Ω
Kilok×10³1kΩ = 1,000Ω
--×10⁰1Ω = 1Ω
Millim×10⁻³1mA = 0.001A
Microμ, u×10⁻⁶1μF = 0.000001F
Nanon×10⁻⁹1nF = 0.000000001F
Picop×10⁻¹²1pF = 0.000000000001F

Prevention Tips #

  • Use ‘Meg’ for mega-ohms to avoid confusion: 1Meg not 1M
  • Remember: k = thousand, M = million, m = thousandth
  • Calculate expected voltage/current to verify values make sense
  • Use calculator to double-check: V = IR

Mistake #5: Diode and LED Orientation #

The Problem #

VCC → LED (backwards) → R → GND

Result: LED doesn’t light; no current flows; simulation shows 0V across LED

Why It Happens #

Confusing anode (positive) with cathode (negative) terminals.

The Solution #

VCC → Anode[LED]Cathode → R → GND
          (Triangle points toward cathode)

Remember: Current flows FROM anode TO cathode (with the arrow).

Prevention Tips #

  • Diode symbol arrow points to cathode
  • Anode = positive terminal (current enters)
  • Cathode = negative terminal (current exits)
  • In simulation, if diode shows ~5V across it, it’s probably backwards

Mistake #6: Floating Transistor Base #

The Problem #

        VCC
         |
         R (collector resistor)
         |
    [Transistor] ← Base is floating (not connected)
         |
        GND

Result: Transistor is always off; no current flows

Why It Happens #

Focusing on collector-emitter path and forgetting base control.

The Solution #

        VCC               VIN
         |                 |
         R                 R (base resistor)
         |                 |
    [Transistor NPN]-------+ (base connected)
         |
        GND

Rule: BJT requires base current to turn on. MOSFET requires gate voltage.

Prevention Tips #

  • Every transistor needs base/gate connection
  • Add base resistor (1kΩ-10kΩ typical for BJT)
  • For MOSFET, connect gate to control signal
  • Check operating point: VBE should be ~0.7V for NPN when on

Mistake #7: AC Analysis Without AC Source #

The Problem #

VIN in 0 DC 5           ← DC source only
.AC DEC 10 1 100k       ← AC analysis

Result: No AC response; all traces show zero

Why It Happens #

Not understanding difference between DC and AC source specifications.

The Solution #

VIN in 0 DC 2.5 AC 1    ← DC bias + AC signal
.AC DEC 10 1 100k

For AC analysis: Add AC magnitude to your source

Prevention Tips #

  • DC analysis uses DC value only
  • AC analysis uses AC value only (DC sets bias point)
  • Transient analysis uses time-varying specification (PULSE, SIN, etc.)
  • See Analysis Types for details

Mistake #8: Capacitors Blocking DC in Bias Networks #

The Problem #

VCC → C1 → R1 → Transistor Base
              ↓
             GND

Result: No DC current to bias transistor; transistor stays off

Why It Happens #

Using coupling capacitor where DC path is needed.

The Solution #

VCC → R1 → Transistor Base
      |
      C1 (bypass, not in bias path)
      ↓
     GND

Remember: Capacitors block DC! Use them for AC coupling, not DC biasing.

Prevention Tips #

  • Bias networks need DC path (resistors)
  • Capacitors for AC coupling between stages
  • Check DC operating point shows correct voltages
  • If VBE = 0V, check for capacitor blocking bias

Mistake #9: Forgetting Probe Placement #

The Problem #

Build complex circuit → Run simulation → No data appears

Why: No probes placed to measure voltages

The Solution #

  1. Before running simulation, add probes to nodes of interest
  2. In Breadpad: Tap on tie points to add voltage probes
  3. For current: Use small resistor (0.001Ω) and measure voltage across it

Prevention Tips #

  • Add probes during circuit building, not after
  • Probe every node you want to observe
  • Color-code probe traces in oscilloscope
  • Free version: 2 probes (choose wisely!)
  • Premium: Unlimited probes

Mistake #10: Wrong Analysis Type for Circuit #

The Problem #

Circuit TypeWrong AnalysisRight Analysis
Amplifier gain vs frequencyTransientAC Small-Signal
Oscillator startupAC AnalysisTransient
Op-amp slew rateAC AnalysisTransient (large signal)
Filter -3dB frequencyOperating PointAC Analysis

Why It Happens #

Not understanding what each analysis type reveals.

The Solution #

Use This Analysis For:

  • Operating Point: DC voltages and currents (bias conditions)
  • Transient: Time-domain behavior, oscillators, pulses
  • Real-time: A continuously updating live view
  • AC Small-Signal (Premium): Frequency response, filters, gain, stability
  • SPICE Shell: Custom directives (e.g. a .dc sweep) on the raw netlist

Tolerance/Monte Carlo and temperature effects are Premium features you apply to a transient run via component parameters.

Prevention Tips #

  • Start with Operating Point to verify DC bias
  • Use Transient for time-varying signals
  • Use AC for frequency response
  • See Analysis Guide for details

Mistake #11: Not Checking DC Operating Point First #

The Problem #

Build amplifier → Run AC analysis → No gain shown

Why: Transistor not biased correctly; in cutoff or saturation

The Solution #

Always follow this sequence:

  1. Build circuit
  2. Run Operating Point analysis (.OP)
  3. Verify DC voltages are correct
  4. Then run AC or Transient analysis

Prevention Tips #

  • Check transistor VCE is mid-supply (not 0V or VCC)
  • Verify VBE ≈ 0.7V for NPN when on
  • Check current levels are reasonable
  • Fix DC bias before attempting AC analysis

Mistake #12: Excessive Simulation Time Window #

The Problem #

.TRAN 1ns 10s    ← Simulating 10 seconds at 1ns resolution

Result: Simulation runs for minutes or crashes

Why It Happens #

Not considering simulation computational cost.

The Solution #

Choose appropriate window:

  • RC circuit (τ=1ms): Simulate 5-10ms (5-10 time constants)
  • Oscillator (1kHz): Simulate 5-10 cycles (5-10ms)
  • Digital pulse: Just enough to see rise/fall (microseconds)

Rule: Simulate 5-10 characteristic time periods, no more

Prevention Tips #

  • Calculate circuit time constant first
  • Start with short window, extend if needed
  • Use larger timestep for faster simulation
  • Monitor simulation progress; stop if too slow

Mistake #13: Ignoring Convergence Warnings #

The Problem #

Simulation shows warning → Ignore → Get wrong results or crash

The Solution #

Common warnings and fixes:

  • “Timestep too small”: Add resistance to ideal sources
  • “Gmin stepping failed”: Increase tolerances or add resistances
  • “Singular matrix”: Check for voltage source loops or current source series

Never ignore warnings! They indicate potential accuracy issues.

Prevention Tips #

  • Read and understand each warning
  • Check Troubleshooting Guide
  • Simplify circuit if warnings persist
  • Contact support with warning details if stuck

Mistake #14: Not Using Standard Component Values #

The Problem #

R1 = 1.23456789kΩ  (exact value from calculation)

Reality: This resistor doesn’t exist!

The Solution #

Use E12 series (10% tolerance): 10, 12, 15, 18, 22, 27, 33, 39, 47, 56, 68, 82

Use E24 series (5% tolerance): 10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82, 91

Example: Need 1.235kΩ → Use 1.2kΩ (E24) or 1.0kΩ (E12)

Prevention Tips #

  • Round to nearest standard value
  • See the Components reference to choose the right parts
  • Test with tolerance variations (Monte Carlo)
  • Remember: Real circuits use standard values!

Mistake #15: Copy-Pasting Circuits Without Understanding #

The Problem #

Find circuit online → Copy to Breadpad → Doesn’t work → Don’t know why

Why It Happens #

Not understanding component roles or SPICE model differences.

The Solution #

Always:

  1. Understand what each component does
  2. Check component values match your goals
  3. Verify SPICE models match (transistor models vary widely!)
  4. Run Operating Point to verify DC conditions
  5. Gradually modify, testing at each step

Prevention Tips #

  • Start with simple circuits, build understanding
  • Read component datasheets
  • Study working examples in Breadpad
  • Ask community for help understanding, not just solutions

Quick Checklist: Before Running Simulation #

Use this checklist every time:

  • All components connected with wires
  • At least one voltage or current source
  • Every node has DC path to ground
  • Ground symbol placed and connected
  • Component values realistic and in standard ranges
  • Unit prefixes correct (k, M, m, μ, n, p)
  • Diodes and transistors oriented correctly
  • Probes placed at nodes of interest
  • DC operating point verified first
  • Simulation time window appropriate
  • Analysis type matches circuit goal

Learning from Errors #

Good Practice:

  1. When you encounter an error, read the message carefully
  2. Look up the error in Troubleshooting Guide
  3. Understand WHY it happened, not just HOW to fix it
  4. Document the solution for future reference
  5. Test similar scenarios to deepen understanding

Remember: Every error is a learning opportunity!


See Also #


The best way to avoid mistakes is to make them once, learn from them, and never repeat them!