On Wed, 05 Mar 2014 12:14:35 -0800, Fred Abse wrote:
> Run the simulation with the supplied plot file in place, and the answer
> will magically appear ;-)
Just noticed:
There's a mistake in the plot file, with respect to the output VSWR.
"(1+S22(v2))/(1-S22(v2))"
should be:
"(1+mag(S22(v2)))/(1-mag(S22(v2)))"
Sorry,my bad. I should have noticed, if I'd been awake!
Amended .plt file:
[AC Analysis]
{
Npanes: 4
{
traces: 1 {3,0,"(1+mag(S22(v2)))/(1-mag(S22(v2)))"}
X: ('G',2,10000,0,1e+009)
Y[0]: (' ',2,0.96,0.08,1.84)
Y[1]: ('m',0,-0.001,0.0002,0.001)
Log: 1 0 0
GridStyle: 1
PltMag: 1
Text: "" 1 (311018.192820938,1.90984126984127) ;Output VSWR 50 ohm
},
{
traces: 1 {5,0,"1/RE(Yin(v2))"}
X: ('G',2,10000,0,1e+009)
Y[0]: ('_',1,1000,0,1e+009)
Y[1]: ('m',1,-0.001,0.0002,0.001)
Log: 1 1 0
GridStyle: 1
PltMag: 1
Text: "" 1 (331739.531535957,2053525026.45715) ;Parallel input resistance
},
{
traces: 1 {2,0,"IM((Yin(v2)))/2/pi/freq"}
X: ('G',2,10000,0,1e+009)
Y[0]: ('f',0,2.28e-013,3e-015,2.64e-013)
Y[1]: ('m',1,-0.001,0.0002,0.001)
Log: 1 1 0
GridStyle: 1
PltMag: 1
Text: "" 1 (337484.183978161,2.66207094420198e-013) ;Parallel input capacitance
},
{
traces: 1 {524292,0,"V(out)"}
X: ('G',2,10000,0,1e+009)
Y[0]: (' ',0,0.0794328234724281,2,1)
Y[1]: (' ',0,-240,30,90)
Log: 1 2 0
GridStyle: 1
PltMag: 1
PltPhi: 1 0
Text: "" 1 (341818.444827778,1.14101582205948) ;Gain
}
}
--
"Design is the reverse of analysis"
(R.D. Middlebrook)