Commands for the RF suite

This commit is contained in:
Holger Vogt 2026-07-30 16:31:02 +02:00
parent 67b260661c
commit f6eee4b974
1 changed files with 56 additions and 0 deletions

View File

@ -4,3 +4,59 @@ some have been slightly modified, compatibility with VS 2022 is achieved.
PSS and HB have been tested on a few examples. Documentaion and further testing are due, as well as finally adding
suitable commit messages.
Commands available:
Writing two-port or multi(N)-port S parameters
spar_write() (2-port) or spar_write_np() (N-port)
Periodic steady state (PSS)
pss <Fguess> <StabTime> <OscNoB> <Points> <Harmonics> <Sc_iter> <Steady_Coeff>
Periodic AC (PAC)
pac <Fguess> <StabTime> <OscNoB> <Points> <Harmonics> <Sc_iter> <Steady_Coeff> <DEC/OCT/LIN> <Npoints> <fstart> <fstop>
PNOISE
pnoise <Fguess> <StabTime> <OscNoB> <Points> <Harmonics> <Sc_iter> <Steady_Coeff> <Outnode> <InSrc> <DEC/OCT/LIN> <Npoints> <fstart> <fstop>
Periodic transfer function (PXF)
pxf <Fguess> <StabTime> <OscNoB> <Points> <Harmonics> <Sc_iter> <Steady_Coeff> <Outnode> <InSrc> <DEC/OCT/LIN> <Npoints> <fstart> <fstop> [max sideband]
Cyclostationary noise
pnoise <Fguess> <StabTime> <OscNoB> <Points> <Harmonics> <Sc_iter> <Steady_Coeff> <Outnode> <InSrc> <DEC/OCT/LIN> <Npoints> <fstart> <fstop> cyclo
Periodic S parameters
psp <Fguess> <StabTime> <OscNoB> <Points> <Harmonics> <Sc_iter> <Steady_Coeff> <Outnode> <InSrc> <DEC/OCT/LIN> <Npoints> <fstart> <fstop> [max sideband]
Quasi-periodic two-tone steady state (QPSS)
qpss <expr> <f1> <f2> [periods] [max order]
| e.g. V(out)
Harmonic Balance (HB)
hb <Fguess> <Harmonics> [points] [maxiter]
Two-tone HB (frequency domain QPSS)
qpss <expr> <f1> <f2> hb <k1> <k2>
Two-tone small-signal QPAC (quasi periodic AC)
qpss <expr> <f1> <f2> hb <k1> <k2>
qpac <f_in>
Two-tone small-signal Qnoise (quasi periodic noise)
qpss <expr> <f1> <f2> hb <k1> <k2>
qnoise <output node> <f_in>
Cyclo stationary QPNOISE
qnoise <output node> <f_in> cyclo
Oscillator phase noise (autonomous HB plus phase noise)
hbosc <oscnob> <k>
Two-tone small-signal quasi-periodic transfer function QPXF
qpss <expr> <f1> <f2> hb <k1> <k2>
qpxf <output node> <f_in>
QPAC, QPnoise, and QPXF may be swept over frequency instead of fixed f_in, e.g.
replace 'qpxf <output node> <f_in>' by 'qpxf <output node> <dec/oct/lin> <Npo> <fstart> <fstop>'