Introduction to LTspice
LTspice is a free SPICE circuit simulation tool provided by Analog Devices (ADI). It combines schematic capture, circuit simulation, and waveform analysis, making it useful for analog circuit design, power supply development, and electronic circuit verification. Engineers can use LTspice to analyze circuit behavior, observe voltage and current waveforms, and evaluate electrical parameters before building physical hardware.
This introductory LTspice series is based on the ADI technical article LTspice: Measuring the Average and RMS Values of a Trace. Its key concepts have been organized into five short, standalone FAQs to help beginners understand how to measure waveform average and RMS values in LTspice.
How Do You Interpret SINE Parameters in LTspice?
Question: In LTspice, what do the three numbers in the voltage source setting SINE(3 4 1k) mean? Why does the waveform swing from −1 V to +7 V?
Answer: The example uses a sine-wave voltage source to drive a 50 Ω resistive load. The parameters are, in order:
3: The DC offset is 3 V.4: The sine-wave amplitude (peak value) is 4 V, not the peak-to-peak value.1k: The signal frequency is 1 kHz, corresponding to a 1 ms period.
The output voltage can therefore be expressed as:
V(out) = 3 + 4 × sin(2π × 1000t)
The maximum voltage is 3 + 4 = +7 V, and the minimum voltage is 3 − 4 = −1 V. The peak-to-peak voltage is 8 V.
Figure 1 : Example circuit and output waveform. The load is 50 Ω, and the signal has a 3 V DC offset and a 4 V sine-wave peak amplitude. (Image source: ADI.)
Key Takeaway: When examining a sine wave with a DC offset, do not confuse its amplitude, peak-to-peak value, and DC offset.
Related Articles :
- LTspice Waveform Measurements: Average and RMS Values
- What Is the Difference Between Average and RMS in LTspice? Why Are the Results 3 V and 4.123 V?
- How to Check Average and RMS in LTspice with Ctrl+Click?
- How to Use .MEAS to Calculate Average Voltage, RMS Voltage, Current, and Power in LTspice?
- How to Use .STEP and .MEAS to Compare RMS Values at Different DC Offsets in LTspice?
Related ADI References:
- ADI, LTspice: Measuring the Average and RMS Values of a Trace
- LTspice Official Website and Download
- ADI: LTspice: Computing the Average or RMS Value of a Trace
