LTspice Virtual Electronics Laboratory Manual

Software: LTspice
Platform: Windows PC
Purpose: Learning circuit simulation and oscilloscope waveform analysis

1. Introduction

LTspice is a powerful circuit simulation program developed by Analog Devices. It allows students and engineers to design and test electronic circuits without building physical hardware.

Using LTspice you can:

2. System Requirements

ComponentRequirement
Operating SystemWindows 10 or newer
ProcessorIntel or AMD CPU
RAM4 GB minimum
Storage500 MB free disk space
Display1280 × 768 resolution

3. Installing LTspice

Step 1 — Download

  1. Open your web browser.
  2. Visit the official Analog Devices website.
  3. Locate the LTspice download page.
  4. Download the Windows installer.

The downloaded installer will look like:

LTspice64.exe

Step 2 — Run Installer

  1. Double-click the installer file.
  2. Click Yes if Windows asks for permission.
  3. Accept the license agreement.

Step 3 — Choose Installation Path

Recommended location:

C:\Users\YourName\AppData\Local\Programs\ADI\LTspice
Installing under your user account avoids administrator permission issues.

Step 4 — Finish Installation

Click Install and wait for completion.

4. Updating LTspice

To update the software:

  1. Open LTspice.
  2. Select Help → Check for Updates.
  3. Download and install available updates.

5. LTspice Interface Overview

ToolShortcutDescription
Component ToolF2Add circuit components
Wire ToolF3Connect components
Resistor ToolRInsert resistor
Ground ToolGAdd ground reference
Run SimulationRunning Man IconStart simulation
Every LTspice circuit must contain a ground node or the simulation will fail.

6. Creating Your First Circuit

Step 1 — New Schematic

Select:

File → New Schematic

Step 2 — Add Voltage Source

Press F2 and search for:

voltage

Place the component on the schematic.

Step 3 — Add Resistor

Press the key:

R

Place the resistor next to the voltage source.

Step 4 — Add Ground

Press:

G

Place the ground at the bottom of the circuit.

7. Configuring the Signal Source

Right-click the voltage source and choose Advanced.

Select:

SINE
ParameterValue
Offset0 V
Amplitude5 V
Frequency1000 Hz

This produces a sine wave:

$$V(t) = 5 \sin(2\pi \cdot 1000t)$$

8. Adding Simulation Command

Click:

Simulate → Edit Simulation Cmd

Select Transient Analysis.

Set:

Stop Time = 5ms

The command placed in the schematic will be:

.tran 5ms

9. Running the Simulation

  1. Click the Run button.
  2. The waveform viewer window will open.

10. Viewing Waveforms (Virtual Oscilloscope)

Move the cursor over the circuit node.

The cursor changes into a probe icon.

Click the node to display the waveform.

The graph displays:

11. Experiment: RC Low-Pass Filter

Add a capacitor to create an RC filter.

ComponentValue
Resistor1 kΩ
Capacitor0.1 µF

The cutoff frequency is:

$$f_c = \frac{1}{2\pi RC}$$

Substituting values:

$$f_c \approx 1591 \text{ Hz}$$

Observe how the signal amplitude decreases at higher frequencies.

12. Troubleshooting

ProblemCauseSolution
Simulation failsNo ground nodeAdd ground symbol
No waveform displayedNode not selectedClick node with probe
Flat signalIncorrect source settingsCheck voltage parameters

13. Conclusion

LTspice provides a powerful environment for learning electronics through circuit simulation. By observing waveforms and analyzing circuit behavior, students gain practical understanding without requiring physical laboratory equipment.


References