| 1 |
.PS |
| 2 |
# Reg723.m4 |
| 3 |
# see Horowitz and Hill p 600 |
| 4 |
cct_init |
| 5 |
command "{\small\sf" |
| 6 |
|
| 7 |
# "+7.15V" |
| 8 |
R1: resistor(down_ dimen_*3/4); rlabel(,\shortstack[r]{$R_1$\\1.15k}) |
| 9 |
R2: potentiometer(down_ dimen_) with .Start at Here |
| 10 |
rlabel(,\shortstack[r]{$R_2$\\2.0k}) |
| 11 |
"$\mathstrut V_{\hbox{adj}}$" at R2.T1 below |
| 12 |
R3: resistor(down_ dimen_ from R2.End); rlabel(,\shortstack[r]{$R_3$\\4.02k}) |
| 13 |
ground |
| 14 |
|
| 15 |
line right_ dimen_*4/3 from R2.T1 |
| 16 |
A: opamp(,,,,R) with .In1 at Here |
| 17 |
|
| 18 |
line right_ dimen_*3/4 from A.Out |
| 19 |
B1: dot |
| 20 |
Q2: bi_tr(up_ dimen_) with .B at Here |
| 21 |
line right_ dimen_ from Q2.E |
| 22 |
Q1: bi_tr(up_ dimen_*3/2) with .B at Here; heatsink(at Q1.e+(dimen_/2,0),,D) |
| 23 |
"heat" ljust at last [].e+(dimen_/5,0) "sink" ljust |
| 24 |
dot(at Q1.E) |
| 25 |
resistor(down_ dimen_*3/2); llabel(,\shortstack[l]{0.25$\Omega$\\3W}) |
| 26 |
P5: dot |
| 27 |
|
| 28 |
Q3: bi_tr(up_ dimen_,R) with .B at (Q2.C.x,Q1.E.y); dot(at Q3.C) |
| 29 |
{ line to Q2.B } |
| 30 |
resistor(left_ dimen_ from Q1.E); llabel(,"100") |
| 31 |
line to Q3.B |
| 32 |
line from Q3.E to (Q3.E,P5) then to P5+(dimen_,0) |
| 33 |
Out: "\shortstack[l]{+5V\\2A}" ljust |
| 34 |
dot(at P5+(dimen_/2,0)) |
| 35 |
capacitor(down_ dimen_,C+); ground(,T) |
| 36 |
rlabel(,\shortstack[r]{10$\mu$F\\15V}) |
| 37 |
|
| 38 |
Vref: box wid boxwid/2 ht boxht/2 with .w at (A.E.x,A.n.y+dimen_/3) \ |
| 39 |
"$V_{\hbox{ref}}$" |
| 40 |
Bx: box thick 0.4 wid Q2.C.x-A.w.x+dimen_/2 rad 0.1 \ |
| 41 |
ht Vref.n.y-Q3.E.y+dimen_/3 with .sw at (A.In1.x-dimen_/7,Q3.E.y) dashed |
| 42 |
"723" at Bx.n above |
| 43 |
|
| 44 |
line from Vref.w to (Bx.w,Vref.w) |
| 45 |
{ "$V_{\hbox{ref}}$" above rjust } |
| 46 |
continue to ((R1.x+Here.x)/2,Here.y); continue to (Here,R1.start) \ |
| 47 |
then to R1.start |
| 48 |
"$+$7.15V" above ljust |
| 49 |
|
| 50 |
P6: dot(at P5-(dimen_*2/3,0)) |
| 51 |
line from Q3.C left_ dimen_/2 then down_ Q3.C.y-Bx.s.y |
| 52 |
Cp: capacitor(down_ dimen_*3/2); rlabel(,"100pF"); dot |
| 53 |
line from A.In2 left_ dimen_/2 then down_ A.In2.y-Cp.end.y then to Cp.end |
| 54 |
R4: resistor(right_ to (P6,Here)); rlabel(,"$R_4$ 1.5k"); line to P6 |
| 55 |
|
| 56 |
line from A.SE to (A.SE,Bx.s); ground |
| 57 |
"COMP" at (Cp,Bx.s) below rjust |
| 58 |
"CS" at (Q3.E,Bx.s) below ljust |
| 59 |
"CL" at (Bx.e,Q1.E) below ljust |
| 60 |
"NI" at (Bx.w,A.In1) rjust above |
| 61 |
"$V_{\hbox{out}}$" at (Bx.e,Q1.B) above ljust |
| 62 |
"INV" at (Bx.w,A.In2) rjust above |
| 63 |
|
| 64 |
line from A.NE to (A.NE.x,Bx.n.y+dimen_/2) |
| 65 |
{ "$V_{+}$" at (Here,Bx.n) above rjust } |
| 66 |
continue to (Out,Here) |
| 67 |
# {"$+V_{\hbox{in}}$ (unreg)" rjust at Here+(0,15bp__) "$+$9.5V (min)" rjust} |
| 68 |
{"\shortstack{$+V_{\hbox{in}}$ (unreg)\\$+$9.5V (min)}" below} |
| 69 |
{dot(at (Q2.C,Here)); line to Q2.C |
| 70 |
"$V_C$" at (Here,Bx.n) above rjust } |
| 71 |
dot(at (Q1.C,Here)); line to Q1.C |
| 72 |
"\shortstack[l]{$Q_1$\\TIP41}" ljust |
| 73 |
|
| 74 |
command "}%" |
| 75 |
.PE |