Reading results: oscilloscope, math waveforms and spectrum
Zooming, panes and cursors on the oscilloscope, math expressions for efficiency, ripple and energy, spectrum and THD, CSV export and the detached window.
The oscilloscope
Zoom into any edge, stack panes, and measure with cursors.
Cursors, panes and statistics
Cursors adds C1 and C2: read Δt, 1/Δt and each trace's values and difference. + Pane stacks another plot; click a trace's P1/P2 badge to move it between panes. Hover a trace name for its RMS, peak-to-peak and average over the visible window.
Math waveforms
Compute new traces from any simulated signal: efficiency, ripple, energy, averages.
Writing an expression
Math opens the expression editor. Use any signal, probed or not: V(OUT), I(L1), P(M1), Ploss(D1). Converter circuits also get Pin, Pout, Vin, Vout, Iin and Iout.
Efficiency in %, averaged over one 800 kHz switching period.
Functions
In depthAll operators and functions
| Calculus | avg(x [, T]) rms(x [, T]) d/dt(x) integ(x) smooth(x [, N]) |
| Arithmetic | + − * / ^ % cond ? a : b < > == != && || ! |
| Math | abs sqrt cbrt pow hypot exp ln log10 log2 min max clamp sign floor ceil round trunc |
| Trigonometry | sin cos tan asin acos atan atan2 sinh cosh tanh |
| Signals | V() I() P() Ploss() Pin Pout Vin Vout Iin Iout |
| Constants | t pi e and SI suffixes p n u m k M meg |
avg and rms with a period T give a sliding window (one switching cycle); without it, the running value from the start.
Spectrum, export & windows
Frequency content and distortion, data export, and a second monitor.
Spectrum and THD
FFT shows a trace's spectrum in dB and its total harmonic distortion. It analyses the second half of the run by default, past the start-up; change the window to analyse another part.
CSV export and detached window
CSV saves every trace for a spreadsheet or Python. Detach moves the oscilloscope to its own window, for a second monitor; close it to bring it back. Ctrl+P prints the schematic on page 1 and a large plot on page 2.