| 1 |
.PS |
| 2 |
# `PushPull.m4' |
| 3 |
cct_init |
| 4 |
iflatex(`ifpsfrag(,`latexcommand({\sf)') ') |
| 5 |
|
| 6 |
linewid = 1.2*linewid |
| 7 |
|
| 8 |
# Transformer as for Mixer.m4 |
| 9 |
define(`Xform21', |
| 10 |
`[ L1: inductor(to rvec_(dimen_*0.5,0),,,M) |
| 11 |
Core1E: M4Core1.end; Core2E: M4Core2.end |
| 12 |
D: (0.5 between M4Core1 and M4Core2) - L1 |
| 13 |
T: line to rvec_(dimen_/3,0); { dot(at T.c) } |
| 14 |
L2: inductor(to rvec_(L1.len,0),,,M) |
| 15 |
line from M4Core1.start to Core1E |
| 16 |
line from M4Core2.start to Core2E |
| 17 |
L3: inductor(to rvec_(-L1.len,0) with .c at T+(D.x*2,D.y*2),) ]') |
| 18 |
|
| 19 |
del = dimen_/3 |
| 20 |
up_ |
| 21 |
T1: Xform21 |
| 22 |
line left_ del from T1.L3.end; corner; ground(,,F) |
| 23 |
line left_ 2*del from T1.L3.start |
| 24 |
In: dot(,,1); { "\small RF" wid 12bp__ at In.n above } |
| 25 |
up_ |
| 26 |
Q1: mosfet(,,dBSDFQM1,E) with .G0 at T1.T+(2*dimen_+del/2,dimen_) |
| 27 |
{ "\small 3N200" at last [].n above } |
| 28 |
line from T1.L2.end to (T1.L2.end,Q1.G0) then to Q1.G0 |
| 29 |
Q2: mosfet(,,dBSDFQM1,E) with .G0 at (Q1.G0.x,T1.T.y-dimen_) |
| 30 |
{ "\small 3N200" at last [].n above } |
| 31 |
line from T1.L1.start to (T1.L1.start,Q2.G0) then to Q2.G0 |
| 32 |
|
| 33 |
resistor(right_ dimen_ from T1.T); llabel(,\SI{330}{\Omega}); Tx:dot |
| 34 |
{ line right_ del*3/2; corner; ground(,,F) } |
| 35 |
dot(at (Tx,Q1.G0)) |
| 36 |
capacitor(down_ to Tx,C); llabel(\SI{5.6}{pF}) |
| 37 |
dot(at (Tx,Q2.G0)) |
| 38 |
capacitor(up_ to Tx,C); rlabel(\SI{5.6}{pF}) |
| 39 |
|
| 40 |
for_(1,2,1, |
| 41 |
`dot(at Q`'m4x.S+(dimen_+del/2,0)) |
| 42 |
{ resistor(down_ dimen_); G1:Here; { "$120$" at last [].nw rjust } |
| 43 |
rlabel(,\Omega\;); dot; ground(,,F) } |
| 44 |
line from Q`'m4x.S to (Here.x+dimen_*3/4,Q`'m4x.S.y); corner |
| 45 |
capacitor(down_ to (Here,G1),C); rlabel(\raisebox{2pt}{\num{1000}},\si{pF}); |
| 46 |
corner |
| 47 |
line left_ 2*dimen_*3/4; corner |
| 48 |
TG: dot(at (Here,Q`'m4x.S)) |
| 49 |
capacitor(down_ to (Here,G1),C); rlabel(,,\SI{0.01}{\micro F}) |
| 50 |
') |
| 51 |
|
| 52 |
R: dot(at (Here.x+dimen_*2,(Q1.D.y+Q2.D.y)/2)) |
| 53 |
dot(at (R,Q1.D)); capacitor(down_ to R,C); llabel(\SI{20}{pF}) |
| 54 |
dot(at (R,Q2.D)); capacitor(up_ to R,C); llabel(\SI{20}{pF}) |
| 55 |
line right_ del*3/2 from R then down_ R.y-(Q1.S.y-dimen_); ground(,,F) |
| 56 |
|
| 57 |
Vc: dot(at (R+(dimen_,0),Q1.ne),,1); { "$+V_{\hbox{c}}$" rjust at Vc.w } |
| 58 |
dot(at (Vc,R)) |
| 59 |
inductor(right_ dimen_,); llabel(,\SI{1}{\micro\henry}) |
| 60 |
down_ |
| 61 |
T2: Xform21 with .T at Here |
| 62 |
arrow from T2.L2 to T2.L3 chop -dimen_/4 |
| 63 |
line right_ del from T2.L3.start; corner |
| 64 |
capacitor(down_ dimen_,C); llabel(\SI{1000}{pF}); ground(,T,F) |
| 65 |
line right_ 2*del from T2.L3.end |
| 66 |
Out: dot(,,1); { "\small IF" wid 12bp__ at Out.n above }; move right_ 0.3 |
| 67 |
|
| 68 |
line from T2.L1.start to (T2.L1,Q1.D) then to Q1.D |
| 69 |
line from T2.L2.end to (T2.L2.end,Q2.D) then to Q2.D |
| 70 |
|
| 71 |
line from Vc to (Vc,Q2.S) chop dotrad_/2 chop 0; dot |
| 72 |
{ line right_ del*2; corner |
| 73 |
capacitor(down_ dimen_,C); llabel(,,\SI{1000}{pF}); ground(,,F) } |
| 74 |
reversed(`inductor',down_ dimen_,); rlabel(,\SI{1}{\micro\henry}) |
| 75 |
line down_ dimen_/2 |
| 76 |
|
| 77 |
TL: dot(at (Q1.G1.x-del/2,Here.y)) |
| 78 |
up_ |
| 79 |
Q3: bi_tr(,R,,E) with .C at (TG.x,TL.y-dimen_*2/3) |
| 80 |
resistor(right_ from TL to (Q3.C,TL)); llabel(,\SI{82}{\kilo\Omega}) |
| 81 |
line to (Vc,Here); dot |
| 82 |
resistor(down_ to (Here,Q3.B)); rlabel(,\SI{8.2}{\kilo\Omega}); dot |
| 83 |
dot(at Q3.B+(del,0)) |
| 84 |
line up_ (TL.y+Q3.C.y)/2 - Here.y+del/4 then left_ Here.x-TL.x |
| 85 |
reversed(`capacitor',left_ dimen_,C); llabel(,\SI{1500}{pF}) |
| 86 |
Osc: dot(,,1); { "\small Osc" above at Osc.n } |
| 87 |
|
| 88 |
line from Q3.B to (Vc,Q3.B) |
| 89 |
line from Q3.C to (Q3.C,TL); dot |
| 90 |
dot(at Q3.C+(0,del/2)) |
| 91 |
capacitor(left_ to (TL,Here),C); llabel(,\SI{1500}{pF}); dot |
| 92 |
line down_ del/2 from Q3.E; dot |
| 93 |
{ resistor(down_ dimen_*3/4); rlabel(,\SI{820}{\Omega}) |
| 94 |
G: Here; ground(,T,F) } |
| 95 |
line right_ dimen_; corner |
| 96 |
capacitor(down_ to (Here,G),C); llabel(,\SI{1000}{pF}) |
| 97 |
ground(,T,F) |
| 98 |
ground(at (TL,G),T,F) |
| 99 |
resistor(up_ dimen_); llabel(,\SI{12}{\kilo\Omega}) |
| 100 |
line to (Here,Q1.G1) then to Q1.G1 |
| 101 |
line from Q2.G1 to (TL,Q2.G1); dot |
| 102 |
|
| 103 |
ground(at (Vc,G),T,F) |
| 104 |
resistor(up_ dimen_); rlabel(,\SI{5.6}{\kilo\Omega}); line to (Here,Q3.B) |
| 105 |
|
| 106 |
iflatex(`ifpsfrag(,`latexcommand(})')') |
| 107 |
.PE |