| 1 |
.PS |
| 2 |
# ex11.m4 |
| 3 |
cct_init |
| 4 |
|
| 5 |
"sp_{audio}" ljust |
| 6 |
{ arrow down_ elen_/4} |
| 7 |
resistor(down_ 2*elen_) ; llabel(R_{17}) |
| 8 |
G: ground |
| 9 |
capacitor(right_ dimen_ from last [].c) ; rlabel(,C_{19}) |
| 10 |
{arrow <- right_ arrowht from last line.start} |
| 11 |
{ resistor(down_ to (Here,G)); rlabel(,R_{19}) } |
| 12 |
{R18: resistor(up_ elen_*1.2); llabel(,R_{18}) } |
| 13 |
|
| 14 |
line right_ elen_/4 ; up_ |
| 15 |
Q4: bi_tr(,,,E) with .B at Here; llabel(,,Q_4) |
| 16 |
resistor(down_ from Q4.E to (Q4.E,G)); rlabel(,R_{21}) |
| 17 |
resistor(up_ from Q4.C to (Q4.C,R18.end)); llabel(,R_{20}) |
| 18 |
line up_ elen_/4; dot; "$V_{CC}$" ljust |
| 19 |
|
| 20 |
T1: Q4.C+(0,elen_/8) |
| 21 |
|
| 22 |
capacitor(right_ dimen_ from T1); llabel(,C_{20}) |
| 23 |
{ capacitor(down_ 0.5*(Here.y-G.y)); rlabel(,C_{21}) |
| 24 |
resistor(right_ elen_); llabel(,R_{23}) |
| 25 |
arrow <- from last [] to (last [],G) |
| 26 |
} |
| 27 |
resistor(right_ elen_); llabel(,R_{22}) |
| 28 |
{ resistor(down_ 0.5*(Here.y-G.y)); llabel(,R_{24}) |
| 29 |
capacitor(down_ to (Here,G)); llabel(,C_{22}) } |
| 30 |
|
| 31 |
capacitor(right_ dimen_); llabel(,C_{23}) |
| 32 |
{ capacitor(down_ to (Here,G)); rlabel(,C_{24}) } |
| 33 |
line right_ elen_/2 |
| 34 |
Q5I: Here |
| 35 |
line right_ elen_/4 ; up_ |
| 36 |
Q5: bi_tr(,,,E) with .B at Here; rlabel(,Q_5) |
| 37 |
R27: resistor(down_ dimen_ from Q5.E); rlabel(,R_{27}) |
| 38 |
line to (Here,G) |
| 39 |
resistor(from Q5I down_ Q5I.y-R27.end.y-elen_/12); rlabel(,R_{25}) |
| 40 |
{ capacitor(to (Here,G)); llabel(,C_{25}) } |
| 41 |
|
| 42 |
crossover(to (R27,Here)+(hoprad_,0),,R27) |
| 43 |
R28: resistor(right_ elen_-hoprad_); llabel(,R_{28}) |
| 44 |
resistor(down_ to (Here,G)); rlabel(,R_{30}) |
| 45 |
line to G |
| 46 |
|
| 47 |
resistor(up_ from Q5.C to (Q5.C,R18.end)); llabel(,R_{26}) |
| 48 |
line to R18.end |
| 49 |
|
| 50 |
up_ |
| 51 |
Q6: bi_tr(,,,E) with .E at (R28.end.x,Q5.E.y+(T1.y-Q4.B.y)); llabel(,,Q_6) |
| 52 |
|
| 53 |
line from Q6.B to (Q5.C,Q6.B) |
| 54 |
resistor(down_ from Q6.E to R28.end); rlabel(,R_{29}) |
| 55 |
|
| 56 |
line right_ dimen_*3/4 from Q6.C |
| 57 |
|
| 58 |
{ R31: resistor(down_ elen_); circle diam dimen_*0.8 with .c at last line.c |
| 59 |
"$R_{31}$" below at last circle.sw |
| 60 |
"$V$" below at last line.c+(dimen_/4,0) } |
| 61 |
line right_ dimen_ |
| 62 |
{ capacitor(down_ elen_); rlabel(,,C_{26}) |
| 63 |
line down_ elen_/4; dot; "sp_$V_{SS}$" ljust } |
| 64 |
line right_ dimen_/2 |
| 65 |
T6: transformer(down_ elen_) with .P1 at Here |
| 66 |
line from T6.P2 to R31.end |
| 67 |
{"$T_6$" at T6.n above } |
| 68 |
line right_ elen_/3 from T6.S1 |
| 69 |
inductor(down_ elen_,W) |
| 70 |
line to T6.S2 |
| 71 |
|
| 72 |
speaker(R) with .Box.w at last [].e+(dimen_/8,0) |
| 73 |
|
| 74 |
.PE |